/*
Theme Name: APC Theme
Theme URI: https://australianpeptideclinic.com
Description: Lightweight, high-performance custom theme for Australian Peptide Clinic. Zero page-builder dependency.
Author: APC Dev
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apc-theme
*/

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
    /* ==========================================================================
       MODERN COMPLIANT COLOUR PALETTE
       WCAG 2.1 AA / AAA Compliant Contrast Hierarchy
       ========================================================================== */

    /* Core Canvas & Surfaces */
    --canvas: #FFFFFF;
    --surface-subtle: #F8FAFC;
    --surface-card: #FFFFFF;
    --surface-muted: #F1F5F9;

    /* Typography & Contrast Neutrals (Tested vs #FFFFFF) */
    --text-primary: #0B111D;
    --text-secondary: #334155;
    --text-muted: #64748B;
    --text-faint: #94A3B8;

    /* Modern Brand Accent System (#be9625) */
    --gold-primary: #be9625;
    --gold-hover: #a6821d;
    --gold-accessible: #8f6f16;
    --gold-light: #dfbe58;
    --gold-lighter: #f5e9c4;
    --gold-surface: #FAF6EC;
    --gold-surface-hover: #F5EEDC;
    --gold-border: #E8DCB8;
    --gold-glow: rgba(190, 150, 37, 0.22);
    --gold-gradient: linear-gradient(135deg, #8f6f16 0%, #be9625 50%, #70550c 100%);

    /* High-contrast Buttons (Guaranteed > 6:1 contrast) */
    --btn-gold-bg: #be9625;
    --btn-gold-text: #FFFFFF;
    --btn-gold-hover-bg: #a6821d;
    --btn-gold-hover-text: #FFFFFF;

    /* Dark Mode Surfaces (Stats Bar, CTA, Footer, Announcement) */
    --dark-bg: #0B111D;
    --dark-surface: #111A2C;
    --dark-border: rgba(255, 255, 255, 0.09);
    --dark-text-primary: #FFFFFF;
    --dark-text-secondary: #CBD5E1;
    --dark-text-muted: #94A3B8;
    --dark-gold: #be9625;

    /* Status & Clinical Assurance */
    --success: #059669;
    --success-surface: #ECFDF5;
    --success-border: #A7F3D0;
    --trust-blue: #be9625;
    --trust-surface: #FAF6EC;

    /* Borders & Dividers */
    --border-subtle: #E2E8F0;
    --border-strong: #CBD5E1;

    /* Compatibility Aliases for Site-Wide Propagation */
    --gold: var(--gold-primary);
    --gold-50: var(--gold-surface);
    --white: var(--canvas);
    --off-white: var(--surface-subtle);
    --cream: var(--surface-subtle);
    --border: var(--border-subtle);
    --border-light: var(--border-subtle);
    --text-dark: var(--text-primary);
    --text: var(--text-secondary);
    --text-light: var(--text-secondary);
    --dark: var(--dark-bg);
    --stats-bg: var(--dark-bg);
    --stats-bg-alt: var(--dark-surface);

    /* Radii */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Coherent Multi-Layer Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(11, 17, 29, 0.04);
    --shadow-sm: 0 1px 3px 0 rgba(11, 17, 29, 0.06), 0 1px 2px -1px rgba(11, 17, 29, 0.04);
    --shadow: 0 4px 10px -2px rgba(11, 17, 29, 0.06), 0 2px 4px -2px rgba(11, 17, 29, 0.04);
    --shadow-md: 0 6px 16px -4px rgba(11, 17, 29, 0.08), 0 2px 6px -2px rgba(11, 17, 29, 0.04);
    --shadow-lg: 0 14px 28px -6px rgba(11, 17, 29, 0.09), 0 6px 12px -4px rgba(11, 17, 29, 0.04);
    --shadow-xl: 0 24px 44px -8px rgba(11, 17, 29, 0.12), 0 10px 18px -4px rgba(11, 17, 29, 0.05);
    --shadow-gold: 0 8px 24px -4px rgba(190, 150, 37, 0.28);

    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    --container: 1200px;
    --container-wide: 1400px;
    --header-height: 72px;

    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: var(--font);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.text-gold { color: var(--gold); }
.text-muted { color: var(--text-light); }
.text-center { text-align: center; }

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gold-50);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    border: 1px solid var(--gold-lighter);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.7;
}

.section-subtitle.centered { margin-inline: auto; }

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

.container,
.container--wide {
    width: 100%;
    margin-inline: auto;
    padding-inline: 20px;
}

.container { max-width: var(--container); }
.container--wide { max-width: var(--container-wide); }

.section {
    padding: 80px 0;
}

.section--alt {
    background: #FFFFFF;
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1.2;
    text-decoration: none;
}

.btn--primary {
    background: var(--btn-gold-bg);
    color: var(--btn-gold-text);
    border-color: var(--btn-gold-bg);
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 2px rgba(11, 17, 29, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn--primary:hover {
    background: var(--btn-gold-hover-bg);
    color: var(--btn-gold-hover-text);
    border-color: var(--btn-gold-hover-bg);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn--outline {
    background: var(--canvas);
    color: var(--text-primary);
    border-color: var(--border-strong);
    font-weight: 600;
    box-shadow: var(--shadow-xs);
}

.btn--outline:hover {
    border-color: var(--gold-accessible);
    color: var(--gold-accessible);
    background: var(--gold-surface);
    transform: translateY(-2px);
}

.btn--dark {
    background: var(--dark-bg);
    color: var(--dark-text-primary);
    border-color: var(--dark-bg);
    font-weight: 600;
}

.btn--dark:hover {
    background: var(--dark-surface);
    border-color: var(--dark-surface);
    color: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--full { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 0.82rem; }
.btn--lg { padding: 16px 36px; font-size: 0.98rem; }

.btn svg {
    width: 17px;
    height: 17px;
    transition: transform var(--transition);
    flex-shrink: 0;
}

.btn svg,
.btn:hover svg,
.btn-pill-dark svg,
.btn-pill-dark:hover svg,
.btn-pill-dark:hover .btn-pill-icon,
.btn-pill-outline svg,
.btn-pill-outline:hover svg,
.categories-pill-link svg,
.categories-pill-link:hover svg,
.popular-favorites-pill-link svg,
.popular-favorites-pill-link:hover svg,
.bundles-pill-link svg,
.bundles-pill-link:hover svg,
.category-card-action-btn svg,
.category-card:hover .category-card-action-btn svg,
.popular-card-plus-btn svg,
.popular-product-card:hover .popular-card-plus-btn svg {
    transform: none !important;
}

/* ==========================================================================
   6. ANNOUNCEMENT BAR
   ========================================================================== */

.announcement-bar {
    background: var(--dark-bg);
    color: var(--dark-text-primary);
    border-bottom: 1px solid var(--dark-border);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    overflow: hidden;
    position: relative;
    z-index: 1001;
    height: 36px;
    display: flex;
    align-items: center;
}

.announcement-track {
    display: flex;
    width: max-content;
    animation: infinite-ticker 28s linear infinite;
    will-change: transform;
}

.announcement-track:hover { animation-play-state: paused; }

.announcement-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.announcement-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 28px;
    white-space: nowrap;
}

.announcement-item svg {
    width: 13px;
    height: 13px;
    color: var(--gold-primary);
    fill: currentColor;
    flex-shrink: 0;
}

@keyframes infinite-ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   7. FLOATING PILL SITE HEADER & NAVIGATION
   ========================================================================== */

.site-header-wrap {
    position: sticky;
    top: 18px;
    margin-top: 18px;
    margin-bottom: -94px;
    z-index: 1000;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 24px;
    pointer-events: none;
    transition: top var(--transition);
}

.site-header--pill {
    pointer-events: auto;
    width: 100%;
    max-width: 1440px;
    background: rgba(11, 17, 29, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04);
    padding: 4px 28px 4px 24px;
    transition: all var(--transition);
}

.site-header--pill.scrolled {
    background: rgba(11, 17, 29, 0.98);
    box-shadow: 0 20px 40px -4px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(190, 150, 37, 0.25);
    border-color: rgba(190, 150, 37, 0.3);
}

.header-pill-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    flex-shrink: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.site-logo img {
    height: 56px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
    transition: transform var(--transition);
}

.site-logo .site-logo-mobile {
    display: none !important;
}

.site-logo .site-logo-desktop {
    display: block;
}

.site-logo:hover img {
    transform: scale(1.02) translateZ(0);
}

.site-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.header-pill-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.header-pill-nav .nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-pill-nav .nav-menu > li {
    position: relative;
}

.header-pill-nav .nav-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.header-pill-nav .nav-menu > li > a:hover,
.header-pill-nav .nav-menu > li:hover > a {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

.header-pill-nav .nav-menu > li.current-menu-item > a {
    color: var(--dark-gold);
    background: rgba(190, 150, 37, 0.16);
}

.header-pill-nav .dropdown-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
    opacity: 0.75;
}

.header-pill-nav .menu-item-has-children:hover .dropdown-chevron {
    transform: rotate(180deg);
    color: var(--dark-gold);
}

.header-pill-nav .menu-item-has-children::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
}

.header-pill-nav .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 230px;
    background: #0E1626;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 20px 48px -4px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1002;
    list-style: none;
    margin: 0;
}

.header-pill-nav .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.header-pill-nav .sub-menu li {
    list-style: none;
}

.header-pill-nav .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    text-decoration: none;
    transition: color 0.18s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.header-pill-nav .sub-menu a:hover {
    color: var(--gold-accessible);
    background: transparent;
    transform: none;
}

.header-pill-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.header-pill-actions .header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-fast);
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.header-pill-actions .header-icon:hover {
    background: rgba(190, 150, 37, 0.18);
    border-color: rgba(190, 150, 37, 0.4);
    color: var(--dark-gold);
    transform: translateY(-1px);
}

.header-pill-actions .header-icon svg {
    width: 19px;
    height: 19px;
}

.header-pill-actions .cart-count {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    background: var(--dark-gold);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: opacity var(--transition-fast);
    flex-shrink: 0;
}

.mobile-toggle:hover {
    background: transparent;
    opacity: 0.8;
}

.mobile-toggle span {
    display: block;
    width: 17px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ==========================================================================
   8. MOBILE MENU DRAWER & SEARCH OVERLAY
   ========================================================================== */

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1100;
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #0B111D;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1101;
    transform: translateX(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    overflow-y: auto;
    padding: 24px;
    box-shadow: none;
}

.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.6);
}

.mobile-menu-header {
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header .site-logo {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

.mobile-menu-header .site-logo img {
    height: 64px;
    width: auto;
    max-width: 220px;
    display: block;
    margin: 0 auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
}

.mobile-menu-close {
    grid-column: 3;
    justify-self: end;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all var(--transition);
}

.mobile-menu-close:hover {
    background: rgba(190, 150, 37, 0.15);
    color: var(--dark-gold);
}

.mobile-menu-close svg {
    width: 20px;
    height: 20px;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-list > li > a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s;
}

.mobile-nav-list > li > a:hover {
    color: var(--dark-gold);
}

.mobile-sub-menu {
    list-style: none;
    margin: 6px 0 12px 14px;
    padding: 0 0 0 12px;
    border-left: 2px solid rgba(190, 150, 37, 0.3);
}

.mobile-sub-menu li a {
    display: block;
    padding: 8px 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-sub-menu li a:hover {
    color: var(--gold-accessible);
}

/* Search Overlay / Command Palette */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 54px 24px 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.search-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.search-overlay-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 20, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.search-overlay-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 680px;
    transform: translateY(-12px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-overlay.active .search-overlay-inner {
    transform: translateY(0) scale(1);
}

.search-modal-card {
    background: rgba(11, 17, 29, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 24px 64px -8px rgba(0, 0, 0, 0.85);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: transparent;
}

.search-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-right: 12px;
}

.search-input-icon svg {
    width: 22px;
    height: 22px;
}

.search-form-live {
    flex: 1;
    display: flex;
    align-items: center;
}

.search-input-wrapper input[type="search"],
.search-input-wrapper input[type="search"]:focus,
.search-input-wrapper input[type="search"]:hover,
.search-input-wrapper input[type="search"]:active {
    width: 100%;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    color: #FFFFFF !important;
    font-size: 1.12rem;
    font-weight: 500;
    padding: 12px 4px;
    font-family: inherit;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.search-input-wrapper input[type="search"]::-webkit-search-decoration,
.search-input-wrapper input[type="search"]::-webkit-search-cancel-button,
.search-input-wrapper input[type="search"]::-webkit-search-results-button,
.search-input-wrapper input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    display: none;
}

.search-input-wrapper input[type="search"]:-webkit-autofill,
.search-input-wrapper input[type="search"]:-webkit-autofill:hover,
.search-input-wrapper input[type="search"]:-webkit-autofill:focus {
    -webkit-text-fill-color: #FFFFFF !important;
    -webkit-box-shadow: 0 0 0px 1000px #0B111D inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.search-input-wrapper input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

/* Spinner */
.search-spinner {
    display: none;
    background: transparent;
    border: none;
    padding: 0;
    color: var(--dark-gold);
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
    animation: apcSearchSpin 0.7s linear infinite;
}

.search-spinner.active {
    display: flex;
}

.search-spinner svg {
    width: 20px;
    height: 20px;
}

@keyframes apcSearchSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.search-overlay-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    padding: 0;
}

.search-overlay-close:hover {
    background: rgba(190, 150, 37, 0.18);
    color: var(--dark-gold);
    border-color: rgba(190, 150, 37, 0.4);
}

.search-overlay-close svg {
    width: 17px;
    height: 17px;
}


/* Results Dropdown */
.search-results-container {
    max-height: 440px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.search-results-container:empty {
    display: none;
}

.search-results-container:not(:empty) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.search-results-list {
    list-style: none;
    margin: 0;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-result-item a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.18s ease;
    background: transparent;
}

.search-result-item a:hover,
.search-result-item a:focus {
    background: rgba(190, 150, 37, 0.1);
    transform: translateX(3px);
}

.search-result-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
    background: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3px;
    box-sizing: border-box;
    flex-shrink: 0;
    display: block;
}

.search-result-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.search-result-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
}

.search-result-category {
    display: none !important;
}

.search-result-badge {
    background: rgba(190, 150, 37, 0.15);
    color: var(--dark-gold);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.search-result-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dark-gold);
    white-space: nowrap;
    text-align: right;
    flex-shrink: 0;
}

.search-result-price del {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    margin-right: 4px;
}

.search-result-price ins {
    text-decoration: none;
}

.search-view-all-wrap {
    padding: 12px 16px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    background: rgba(14, 22, 38, 0.5);
}

.search-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--dark-gold);
    text-decoration: none;
    transition: all 0.2s ease;
}

.search-view-all-btn:hover {
    color: #FFFFFF;
    transform: translateX(3px);
}

.search-no-results {
    padding: 36px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
}

.search-no-results strong {
    color: #FFFFFF;
}

@media (max-width: 1024px) {
    .search-overlay {
        padding: 14px 16px 32px;
    }
}

@media (max-width: 640px) {
    .search-overlay {
        padding: 14px 12px 24px;
    }
    .search-modal-card {
        border-radius: 16px;
    }
    .search-input-wrapper {
        padding: 6px 12px;
    }
    .search-input-wrapper input[type="search"] {
        font-size: 0.98rem;
        padding: 10px 2px;
    }
    .search-overlay-close {
        width: 32px;
        height: 32px;
    }
}

/* ==========================================================================
   9. PROMO BANNER
   ========================================================================== */

.promo-banner {
    text-align: center;
    padding: 10px 20px;
    background: var(--gold-50);
    border-bottom: 1px solid var(--gold-lighter);
}

.promo-banner p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-hover);
    margin: 0;
}

.promo-banner span {
    background: var(--gold);
    color: var(--white);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    margin-left: 8px;
    font-weight: 700;
}

/* ==========================================================================
   10. EDITORIAL HERO SECTION (MODERN LUXURY CLINICAL)
   ========================================================================== */

.hero--editorial {
    position: relative;
    min-height: calc(100vh - 36px);
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 65% 55% at 78% 45%, rgba(190, 150, 37, 0.08) 0%, rgba(190, 150, 37, 0.02) 45%, transparent 70%),
        radial-gradient(circle 800px at 50% 100%, rgba(241, 245, 249, 0.6) 0%, transparent 70%),
        linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 38%, #F1F5F9 100%);
}

.hero--editorial::before {
    content: '';
    position: absolute;
    top: -140px;
    right: -100px;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(190, 150, 37, 0.07) 0%, rgba(11, 17, 29, 0.025) 45%, transparent 70%);
    pointer-events: none;
}

.hero--editorial::after {
    display: none;
}

.hero-editorial-container {
    max-width: 1400px;
    width: 100%;
    margin-inline: auto;
    padding-inline: 28px;
}

.hero-editorial-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    min-height: auto;
}

.hero-editorial-content {
    z-index: 2;
    flex: 0 1 560px;
    max-width: 560px;
}

.hero-editorial-title {
    font-family: var(--font);
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--dark-bg);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-editorial-title .accent-gold {
    color: var(--gold-primary);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    font-style: normal;
    font-weight: 800;
}

.hero-ctas-pill-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.btn-pill-dark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--dark-bg);
    color: var(--gold-primary);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(11, 17, 29, 0.22);
    transition: all var(--transition);
    border: 1.5px solid rgba(190, 150, 37, 0.4);
}

.btn-pill-dark:hover {
    background: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(190, 150, 37, 0.35);
    border-color: var(--gold-primary);
    color: var(--dark-bg);
}

.btn-pill-dark .btn-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transition: color var(--transition);
}

.btn-pill-dark:hover .btn-pill-icon {
    transform: none;
    color: var(--dark-bg);
}

.btn-pill-dark .btn-pill-icon svg {
    width: 16px;
    height: 16px;
    transition: none;
}

.btn-pill-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--dark-bg);
    padding: 12px 22px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid var(--border-strong);
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1;
}

.btn-pill-outline:hover {
    border-color: var(--gold-accessible);
    color: var(--gold-accessible);
    background: var(--gold-surface);
    transform: translateY(-2px);
}

.btn-pill-outline .btn-pill-icon-subtle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.btn-pill-outline .btn-pill-icon-subtle svg {
    width: 15px;
    height: 15px;
    display: block;
}

.hero-description-editorial {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.68;
    max-width: 500px;
    margin-top: 30px;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease 0.25s both;
}

.hero-feature-tags {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-feature-tag .feature-tag-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dark-bg);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(190, 150, 37, 0.35);
    box-shadow: 0 4px 10px rgba(11, 17, 29, 0.12);
    flex-shrink: 0;
}

.hero-feature-tag .feature-tag-icon svg {
    width: 15px;
    height: 15px;
}

.hero-feature-tag .feature-tag-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--dark-bg);
    white-space: nowrap;
}

.hero-editorial-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.2s both;
    flex: 0 1 640px;
    max-width: 640px;
    width: 100%;
}

.hero-visual-seamless,
.hero-visual-card {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
}

.hero-editorial-img {
    width: 100%;
    height: auto;
    max-height: min(640px, calc(100vh - 180px));
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 20px 45px rgba(11, 17, 29, 0.08));
}

/* ==========================================================================
   11. STATS SECTION
   ========================================================================== */

.stats {
    background: #101621;
    padding: 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
    width: 100%;
}

.stats::before {
    display: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    z-index: 1;
    width: 100%;
    margin-inline: auto;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 44px 20px;
    position: relative;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: var(--dark-border);
}

.stat-number {
    font-size: clamp(2.1rem, 4vw, 2.85rem);
    font-weight: 800;
    color: var(--dark-gold);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--dark-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   12. SECTION HEADERS
   ========================================================================== */

.section-header {
    margin-bottom: 48px;
}

.section-header.centered {
    text-align: center;
}

.section-header h2 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-header .section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-accessible);
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 20px;
    transition: gap var(--transition);
}

.section-header .section-link:hover { gap: 10px; color: var(--gold-hover); }
.section-header .section-link svg { width: 18px; height: 18px; }

/* ==========================================================================
   13. CATEGORIES SECTION (SHOP OUR RANGE - APC CLINICAL DESIGN)
   ========================================================================== */

.categories-section {
    padding: 72px 0 60px;
    background: #FFFFFF;
}

.categories-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
    padding-bottom: 0;
}

.categories-title {
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--dark-bg);
    text-transform: uppercase;
    margin: 0;
}

.categories-pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--dark-bg);
    padding: 12px 22px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid var(--border-strong);
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1;
}

.categories-pill-link:hover {
    border-color: var(--gold-accessible);
    color: var(--gold-accessible);
    background: var(--gold-surface);
    transform: translateY(-2px);
}

.categories-pill-link svg {
    width: 15px;
    height: 15px;
    display: block;
}

.categories-pill-link:hover svg {
    transform: none;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform var(--transition);
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.category-card-visual-wrap {
    position: relative;
    aspect-ratio: 1;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xs);
}

.category-card:hover .category-card-visual-wrap {
    transform: translateY(-3px);
    border-color: var(--gold-border);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--gold-border);
}

.category-card-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto;
    background: #F8FAFC;
    border: 1.5px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(11, 17, 29, 0.04);
}

.category-card-icon svg {
    width: 40px;
    height: 40px;
    color: var(--dark-bg);
    transition: all 0.35s ease;
}

.category-card:hover .category-card-icon {
    transform: scale(1.04);
}

.category-card:hover .category-card-icon svg {
    color: var(--dark-bg);
}

.category-card-info {
    display: flex;
    flex-direction: column;
    padding: 0 4px;
}

.category-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.35;
    transition: color var(--transition-fast);
}

.category-card:hover .category-card-title {
    color: var(--text-primary);
}

.category-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.category-card-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.4;
}

.category-card-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--dark-bg);
    color: var(--gold-primary);
    border: 1px solid rgba(190, 150, 37, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
    box-shadow: 0 2px 6px rgba(11, 17, 29, 0.18);
}

.category-card-action-btn svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    display: block;
}

.category-card-action-btn:hover {
    background: var(--gold-primary);
    color: var(--dark-bg);
    border-color: var(--gold-primary);
    transform: none;
    box-shadow: 0 4px 10px rgba(190, 150, 37, 0.35);
}

.category-card:hover .category-card-action-btn svg,
.category-card-action-btn:hover svg {
    transform: none;
}

/* ==========================================================================
   13.5 MOST POPULAR / RESEARCHER FAVORITES (APC LUXURY CLINICAL DESIGN)
   ========================================================================== */

.popular-favorites-section {
    padding: 72px 0 60px;
    background: #FFFFFF;
}

.popular-favorites-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
    padding-bottom: 0;
}

.popular-favorites-title {
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--dark-bg);
    text-transform: uppercase;
    margin: 0;
}

.popular-favorites-pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--dark-bg);
    padding: 12px 22px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid var(--border-strong);
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1;
}

.popular-favorites-pill-link:hover {
    border-color: var(--gold-accessible);
    color: var(--gold-accessible);
    background: var(--gold-surface);
    transform: translateY(-2px);
}

.popular-favorites-pill-link svg {
    width: 15px;
    height: 15px;
    display: block;
}

.popular-favorites-pill-link:hover svg {
    transform: none;
}

.popular-favorites-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.popular-product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform var(--transition);
}

.popular-card-image-wrap {
    position: relative;
    aspect-ratio: 1;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xs);
}

.popular-product-card:hover .popular-card-image-wrap {
    transform: translateY(-3px);
    border-color: var(--gold-border);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--gold-border);
}

.popular-card-image-wrap img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.popular-product-card:hover .popular-card-image-wrap img {
    transform: scale(1.04);
}

.popular-card-sale-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--btn-gold-bg);
    color: var(--btn-gold-text);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(11, 17, 29, 0.12);
}

.popular-card-info {
    display: flex;
    flex-direction: column;
    padding: 0 4px;
}

.popular-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.35;
    min-height: 2.3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.popular-card-title a:hover {
    color: var(--gold-accessible);
}

.popular-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.popular-card-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.popular-card-price-current {
    font-weight: 800;
    color: var(--text-primary);
}

.popular-card-price-range {
    font-weight: 800;
    color: var(--text-primary);
    font-size: 1rem;
}

.popular-card-price-original {
    font-size: 0.84rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
}

.popular-card-plus-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--dark-bg);
    color: var(--gold-primary);
    border: 1px solid rgba(190, 150, 37, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(11, 17, 29, 0.18);
}

.popular-card-plus-btn svg {
    width: 15px;
    height: 15px;
    display: block;
    fill: currentColor;
}

.popular-card-plus-btn:hover {
    background: var(--gold-primary);
    color: var(--dark-bg);
    border-color: var(--gold-primary);
    transform: none;
    box-shadow: 0 4px 10px rgba(190, 150, 37, 0.35);
}

.popular-product-card:hover .popular-card-plus-btn svg,
.popular-card-plus-btn:hover svg {
    transform: none;
}

/* ==========================================================================
   14. PRODUCT CARDS
   ========================================================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--canvas);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--gold-border);
    border-color: var(--gold-border);
}

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    box-shadow: var(--shadow-xs);
}

.product-card-badge--sale {
    background: var(--btn-gold-bg);
    color: var(--btn-gold-text);
}

.product-card-badge--new {
    background: var(--success);
    color: var(--canvas);
}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    background: #FFFFFF;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-subtle);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 24px;
    box-sizing: border-box;
    transition: transform var(--transition);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

.product-card-title a { color: inherit; }
.product-card-title a:hover { color: var(--gold-accessible); }

.product-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.product-card-stars {
    display: flex;
    gap: 2px;
    color: var(--gold-primary);
}

.product-card-stars svg { width: 14px; height: 14px; }

.product-card-rating-count {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.product-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}

.product-card-price .current {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--text-primary);
}

.product-card-price .original {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-card-cta {
    margin-top: auto;
}

.product-card-cta .btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.84rem;
    border-radius: var(--radius-sm);
}

/* WooCommerce product card overrides */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }

.woocommerce ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--canvas);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-xs);
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--gold-border);
    border-color: var(--gold-border);
}

.woocommerce ul.products li.product a img {
    margin: 0 !important;
    border-radius: 0;
    background: var(--surface-subtle);
    padding: 20px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.96rem !important;
    font-weight: 700;
    padding: 14px 18px 4px !important;
    color: var(--text-primary);
}

.woocommerce ul.products li.product .price {
    padding: 0 18px 14px;
    color: var(--text-primary) !important;
    font-size: 1.05rem;
    font-weight: 700;
}

.woocommerce ul.products li.product .price del {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 400;
}

.woocommerce ul.products li.product .price ins {
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
    margin: 0 18px 18px !important;
    width: calc(100% - 36px);
    text-align: center;
    background: var(--btn-gold-bg) !important;
    color: var(--btn-gold-text) !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 16px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition) !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
    background: var(--btn-gold-hover-bg) !important;
    color: var(--btn-gold-hover-text) !important;
    box-shadow: var(--shadow-gold) !important;
}

.woocommerce ul.products li.product .star-rating {
    margin: 4px 18px 0 !important;
    color: var(--gold-primary);
}

.woocommerce ul.products li.product .onsale {
    position: absolute;
    top: 12px;
    left: 12px;
    right: auto;
    background: var(--btn-gold-bg) !important;
    color: var(--btn-gold-text) !important;
    border-radius: var(--radius-full);
    padding: 5px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4;
    min-height: auto;
    min-width: auto;
    box-shadow: var(--shadow-xs);
}

/* ==========================================================================
   15. BUNDLES SECTION (STACK UP. SAVE BIG. - APC CLINICAL DESIGN)
   ========================================================================== */

.bundles-section {
    padding: 72px 0 60px;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
    border: none;
}

.bundles-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
    padding-bottom: 0;
}

.bundles-title {
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--dark-bg);
    text-transform: uppercase;
    margin: 0;
}

.bundles-pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--dark-bg);
    padding: 12px 22px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid var(--border-strong);
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1;
}

.bundles-pill-link:hover {
    border-color: var(--gold-accessible);
    color: var(--gold-accessible);
    background: var(--gold-surface);
    transform: translateY(-2px);
}

.bundles-pill-link svg {
    width: 15px;
    height: 15px;
    display: block;
}

.bundles-pill-link:hover svg {
    transform: none;
}

.bundles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ==========================================================================
   16. WHY CHOOSE US SECTION
   ========================================================================== */

.why-us {
    padding: 80px 0 96px;
    background: var(--canvas);
}

.why-us-header {
    text-align: center;
    margin-bottom: 40px;
}

.why-us-title {
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--dark-bg);
    text-transform: uppercase;
    margin: 0 0 10px;
}

.why-us-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

.comparison-table {
    max-width: 780px;
    margin: 0 auto;
    background: var(--canvas);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(11, 17, 29, 0.06), 0 1px 3px 0 rgba(11, 17, 29, 0.04);
    border: 1px solid var(--border-subtle);
}

.comparison-head {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    background: var(--surface-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-head-cell {
    padding: 20px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.comparison-head-cell:first-child { 
    text-align: left; 
    align-items: flex-start;
}

.comparison-head-cell:nth-child(2) {
    background: var(--gold-surface);
    border-top: 3px solid var(--gold-primary);
}

.comparison-head-label {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
}

.comparison-head-label.comparison-head-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-bottom: 4px;
}

.comparison-logo-img {
    max-height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: contrast(1.15) brightness(0.95);
}

.comparison-logo-fallback {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gold-accessible);
}

.comparison-head-cell:nth-child(2) .comparison-head-label {
    color: var(--gold-accessible);
}

.comparison-head-sub {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    border-bottom: 1px solid var(--border-subtle);
    transition: background var(--transition-fast);
}

.comparison-row:hover {
    background: rgba(248, 250, 252, 0.7);
}

.comparison-row:last-child { border-bottom: none; }

.comparison-cell {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    font-size: 0.92rem;
}

.comparison-cell:not(:first-child) {
    justify-content: center;
    text-align: center;
}

.comparison-cell:nth-child(2) {
    background: rgba(190, 150, 37, 0.04);
}

.comparison-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold-surface);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold-accessible);
    transition: background var(--transition-fast);
}

.comparison-feature-icon svg { 
    width: 19px; 
    height: 19px; 
}

.comparison-row:hover .comparison-feature-icon {
    transform: none;
    background: var(--gold-surface-hover);
}

.comparison-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-check--yes {
    background: var(--success-surface);
    color: var(--success);
    border: 1px solid var(--success-border);
}

.comparison-check--no {
    background: var(--surface-muted);
    color: var(--text-faint);
}

.comparison-check svg { width: 16px; height: 16px; }

.comparison-text {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.comparison-text--muted {
    color: var(--text-muted);
    font-weight: 500;
}

.comparison-footer {
    padding: 16px 20px;
    text-align: center;
    background: var(--surface-subtle);
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   17. CTA SECTION
   ========================================================================== */

.cta-section {
    background: var(--dark-bg);
    padding: 88px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--dark-border);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 680px;
    height: 680px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(190, 150, 37, 0.15) 0%, transparent 65%);
    pointer-events: none;
}

.cta-section h2 {
    color: var(--dark-text-primary);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    position: relative;
}

.cta-section p {
    color: var(--dark-text-secondary);
    font-size: 1.08rem;
    max-width: 520px;
    margin: 0 auto 36px;
    position: relative;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.cta-section .btn--primary {
    background: var(--btn-gold-bg);
    border-color: var(--btn-gold-bg);
    color: var(--btn-gold-text);
    font-weight: 700;
}

.cta-section .btn--primary:hover {
    background: var(--btn-gold-hover-bg);
    color: var(--btn-gold-hover-text);
    box-shadow: var(--shadow-gold);
}

.cta-section .btn--outline {
    color: var(--dark-text-primary);
    border-color: rgba(255, 255, 255, 0.25);
    background: transparent;
}

.cta-section .btn--outline:hover {
    border-color: var(--dark-text-primary);
    background: rgba(255, 255, 255, 0.08);
    color: var(--dark-text-primary);
}

/* ==========================================================================
   18. FOOTER
   ========================================================================== */

.site-footer {
    background: radial-gradient(circle at 80% 20%, rgba(212, 168, 67, 0.04) 0%, transparent 60%), #080D16;
    color: var(--dark-text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
    position: relative;
}

/* Footer Engagement & Columns (VIP & Telegram Help) */
.footer-vip-box,
.footer-help-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-vip-box {
    border-top: 2px solid rgba(212, 168, 67, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.footer-help-box {
    border-top: 2px solid rgba(34, 158, 217, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.footer-vip-box:hover {
    border-color: rgba(212, 168, 67, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 16px rgba(212, 168, 67, 0.12);
    transform: translateY(-2px);
}

.footer-help-box:hover {
    border-color: rgba(34, 158, 217, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 16px rgba(34, 158, 217, 0.15);
    transform: translateY(-2px);
}

.footer-vip-badge,
.footer-help-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-accessible);
    margin-bottom: 4px;
}

.footer-vip-badge svg {
    width: 11px;
    height: 11px;
    color: var(--gold-primary);
}

.footer-help-badge {
    color: #38bdf8;
}

.footer-live-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.85);
    display: inline-block;
    animation: pulseStatus 2s infinite ease-in-out;
}

@keyframes pulseStatus {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

.footer-vip-title,
.footer-help-title {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 3px;
    line-height: 1.2;
}

.footer-vip-desc,
.footer-help-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 10px;
}

.footer-vip-form {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: auto;
}

.footer-vip-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.footer-vip-input-wrap svg {
    position: absolute;
    left: 10px;
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    transition: color 0.2s ease;
}

.footer-vip-input-wrap input {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 7px 10px 7px 30px;
    color: #ffffff;
    font-size: 0.78rem;
    font-family: inherit;
    outline: none;
    transition: all 0.25s ease;
}

.footer-vip-input-wrap input:focus {
    border-color: var(--gold-accessible);
    background: rgba(0, 0, 0, 0.55);
    box-shadow: 0 0 0 2px rgba(212, 168, 67, 0.15);
}

.footer-vip-input-wrap input:focus + svg,
.footer-vip-input-wrap:focus-within svg {
    color: var(--gold-accessible);
}

.footer-vip-input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.footer-vip-btn {
    background: linear-gradient(135deg, #d4a843 0%, #b88a28 100%);
    color: #0b111d;
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(212, 168, 67, 0.2);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-vip-btn:hover {
    background: linear-gradient(135deg, #e4be5c 0%, #c49630 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 168, 67, 0.35);
}

.footer-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #229ED9 0%, #177fb3 100%);
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(34, 158, 217, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-help-btn:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #1e8dc2 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(34, 158, 217, 0.4);
    color: #ffffff;
}

.footer-telegram-icon {
    display: inline-flex;
    align-items: center;
}

.footer-telegram-icon svg {
    width: 15px;
    height: 15px;
}

.footer-btn-arrow svg {
    width: 13px;
    height: 13px;
    display: block;
    transition: transform 0.2s ease;
}

.footer-help-btn:hover .footer-btn-arrow svg {
    transform: translateX(3px);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 22px;
    text-decoration: none;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.footer-logo:hover {
    opacity: 0.9;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    display: block;
    object-fit: contain;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 1.3fr;
    gap: 56px;
    max-width: var(--container);
    margin-inline: auto;
    padding: 68px 24px 54px;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-engage-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--gold-accessible);
    border-radius: 2px;
}

.footer-about p {
    font-size: 0.86rem;
    line-height: 1.75;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px 18px;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--dark-border);
    color: var(--dark-text-secondary);
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    background: var(--btn-gold-bg);
    border-color: var(--btn-gold-bg);
    color: var(--btn-gold-text);
    transform: translateY(-2px);
}

.footer-social-link svg { width: 18px; height: 18px; }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { 
    margin-bottom: 12px; 
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    position: relative;
    padding: 2px 0;
}

.footer-links a:hover {
    color: #e4be5c;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.25);
    max-width: 100%;
    margin-inline: auto;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    text-align: center;
}

.footer-payments {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-payment-icon {
    width: 44px;
    height: 28px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--dark-text-secondary);
    letter-spacing: 0.02em;
}


/* ==========================================================================
   20. WOOCOMMERCE GENERAL OVERRIDES
   ========================================================================== */

.woocommerce .woocommerce-breadcrumb {
    padding: 16px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.woocommerce .woocommerce-breadcrumb a { color: var(--gold); }

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    margin-bottom: 24px !important;
}

.woocommerce .woocommerce-ordering select {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.88rem;
}

.woocommerce nav.woocommerce-pagination {
    margin-top: 40px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    border-radius: var(--radius) !important;
    border-color: var(--border) !important;
    color: var(--text);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--white);
}

.woocommerce div.product div.images {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.woocommerce div.product .product_title {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.woocommerce div.product p.price {
    font-size: 1.5rem !important;
    color: var(--text-dark);
}

.woocommerce div.product .single_add_to_cart_button {
    background: var(--gold) !important;
    border-radius: var(--radius) !important;
    padding: 14px 40px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all var(--transition) !important;
}

.woocommerce div.product .single_add_to_cart_button:hover {
    background: var(--gold-hover) !important;
    box-shadow: var(--shadow-gold) !important;
}

.woocommerce div.product .woocommerce-tabs {
    margin-top: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-weight: 600;
    color: var(--text-light);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--gold);
}

.woocommerce .cart_totals {
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border-subtle) !important;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce div.product .single_add_to_cart_button {
    background: var(--btn-gold-bg) !important;
    color: var(--btn-gold-text) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    padding: 12px 28px !important;
    border: none !important;
    box-shadow: var(--shadow-xs) !important;
    transition: all var(--transition) !important;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce div.product .single_add_to_cart_button:hover {
    background: var(--btn-gold-hover-bg) !important;
    color: var(--btn-gold-hover-text) !important;
    box-shadow: var(--shadow-gold) !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   21. ANIMATIONS
   ========================================================================== */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   22. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .header-pill-nav { display: none; }
    .header-icon--desktop,
    .header-pill-actions .header-icon--desktop {
        display: none !important;
    }
    .site-header-wrap {
        padding: 0 16px;
        top: 14px;
        margin-top: 14px;
        margin-bottom: -72px;
    }
    .site-header--pill {
        padding: 10px 20px;
        max-width: 100%;
    }
    .header-pill-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        width: 100%;
    }
    .mobile-toggle {
        display: flex;
        justify-self: start;
        width: 42px;
        height: 42px;
    }
    .site-logo {
        display: flex;
        justify-content: center;
        justify-self: center;
        text-align: center;
        margin: 0 auto;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    .site-logo .site-logo-desktop {
        display: none !important;
    }
    .site-logo .site-logo-mobile {
        display: block !important;
    }
    .site-logo img {
        height: 60px;
        width: auto;
        max-width: 240px;
        margin: 0 auto;
        display: block;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        image-rendering: -webkit-optimize-contrast;
    }
    .header-pill-actions {
        display: flex;
        justify-self: end;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
    }
    .header-pill-actions .header-icon {
        width: 42px;
        height: 42px;
    }

    .hero--editorial {
        min-height: auto;
        padding: 96px 0 44px;
    }
    .hero-editorial-container { padding-inline: 20px; }
    .hero-editorial-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        text-align: center;
        min-height: auto;
    }
    .hero-editorial-content {
        display: contents;
    }
    .hero-editorial-title {
        order: 1;
        font-size: clamp(2.2rem, 5.2vw, 3.2rem);
        text-align: center;
        margin-bottom: 20px;
        max-width: 640px;
    }
    .hero-editorial-visual {
        order: 2;
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 0 !important;
        width: 100%;
        max-width: 380px;
        margin: 0 auto 24px;
    }
    .hero-visual-seamless {
        height: auto !important;
        min-height: 0 !important;
        max-width: 360px;
        margin-inline: auto;
    }
    .hero-editorial-img {
        height: auto !important;
        max-height: 280px;
    }
    .hero-ctas-pill-group {
        order: 3;
        justify-content: center;
        gap: 14px;
        margin-bottom: 24px;
        max-width: 640px;
    }
    .hero-description-editorial {
        order: 4;
        text-align: center;
        margin-inline: auto;
        font-size: 1.02rem;
        line-height: 1.6;
        max-width: 540px;
        margin-top: 0;
        margin-bottom: 26px;
    }
    .hero-feature-tags {
        order: 5;
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(3)::before { display: none; }

    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .popular-favorites-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .bundles-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }

    .comparison-table { max-width: 100%; }

    .footer-main { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }

    .header-icon--desktop,
    .header-pill-actions .header-icon--desktop {
        display: none !important;
    }
    .site-header-wrap {
        padding: 0 12px;
        top: 12px;
        margin-top: 12px;
        margin-bottom: -64px;
    }
    .site-header--pill {
        padding: 10px 18px;
    }
    .header-pill-inner {
        grid-template-columns: 1fr auto 1fr;
        gap: 10px;
    }
    .mobile-toggle {
        width: 42px;
        height: 42px;
    }
    .site-logo img {
        height: 56px;
        max-width: 220px;
    }
    .header-pill-actions .header-icon {
        width: 40px;
        height: 40px;
    }

    .hero--editorial { padding: 90px 0 40px; }
    .hero-editorial-container { padding-inline: 16px; }
    .hero-editorial-title {
        font-size: clamp(1.95rem, 6.5vw, 2.5rem);
        margin-bottom: 20px;
        line-height: 1.18;
    }
    .hero-editorial-visual {
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-width: 320px;
        margin: 0 auto 24px;
    }
    .hero-visual-seamless {
        height: auto !important;
        min-height: 0 !important;
        max-width: 300px;
    }
    .hero-editorial-img {
        height: auto !important;
        max-height: 240px;
    }
    .hero-ctas-pill-group {
        margin-bottom: 22px;
    }
    .hero-description-editorial {
        margin-bottom: 24px;
    }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { padding: 22px 14px; }
    .stat-number { font-size: 1.85rem; margin-bottom: 4px; }
    .stat-label { font-size: 0.72rem; letter-spacing: 0.08em; }

    .bundles-header { flex-direction: column; gap: 16px; }

    .footer-main { grid-template-columns: 1fr; gap: 32px; }

    .footer-bottom { flex-direction: column; text-align: center; }

    .cta-section { padding: 60px 0; }
}

@media (max-width: 480px) {
    .section { padding: 48px 0; }

    .site-header-wrap {
        padding: 0 10px;
        top: 10px;
        margin-top: 10px;
        margin-bottom: -56px;
    }
    .site-header--pill {
        padding: 9px 16px;
    }
    .header-pill-inner {
        grid-template-columns: 1fr auto 1fr;
        gap: 8px;
    }
    .mobile-toggle {
        width: 40px;
        height: 40px;
    }
    .site-logo img {
        height: 50px;
        max-width: 200px;
    }
    .header-pill-actions .header-icon {
        width: 38px;
        height: 38px;
    }

    .hero--editorial { padding: 76px 0 32px; }
    .hero-editorial-container { padding-inline: 16px; }
    .hero-kicker { margin-bottom: 12px; }
    .hero-kicker .kicker-text { font-size: 0.72rem; letter-spacing: 0.1em; }
    .hero-editorial-title {
        font-size: 1.85rem;
        line-height: 1.15;
        margin-bottom: 16px;
    }
    .hero-editorial-visual {
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 auto 20px;
        max-width: 260px;
        width: 100%;
    }
    .hero-visual-seamless {
        height: auto !important;
        min-height: 0 !important;
        max-width: 250px;
    }
    .hero-editorial-img {
        height: auto !important;
        max-height: 190px;
    }
    .hero-ctas-pill-group {
        flex-direction: column;
        width: 100%;
        max-width: 340px;
        margin-inline: auto;
        gap: 12px;
        margin-bottom: 22px;
    }
    .btn-pill-dark,
    .btn-pill-outline {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.88rem;
    }
    .btn-pill-dark .btn-pill-icon {
        width: 32px;
        height: 32px;
    }
    .hero-description-editorial {
        font-size: 0.94rem;
        line-height: 1.6;
        margin-top: 0;
        margin-bottom: 24px;
        padding-inline: 4px;
    }
    .hero-feature-tags {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin-inline: auto;
    }
    .hero-feature-tag {
        width: 100%;
        justify-content: flex-start;
        padding: 8px 16px;
        background: rgba(11, 17, 29, 0.03);
        border-radius: var(--radius-full);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item {
        padding: 16px 8px;
    }
    .stat-number {
        font-size: 1.45rem;
        margin-bottom: 2px;
    }
    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 0.06em;
        line-height: 1.25;
        max-width: 140px;
    }

    .stat-item + .stat-item::before { display: none; }

    .categories-section { padding: 48px 0 36px; }
    .categories-header { margin-bottom: 24px; }
    .categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .category-card-visual-wrap { margin-bottom: 10px; border-radius: 12px; padding: 12px; }
    .category-card-icon { width: 56px; height: 56px; }
    .category-card-icon svg { width: 26px; height: 26px; }
    .category-card-title { font-size: 0.78rem; margin-bottom: 4px; }
    .category-card-desc { font-size: 0.75rem; }
    .category-card-action-btn { width: 28px; height: 28px; }
    .category-card-action-btn svg { width: 12px; height: 12px; }

    .popular-favorites-section { padding: 48px 0 36px; }
    .popular-favorites-header { margin-bottom: 24px; }
    .popular-favorites-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .popular-card-image-wrap { margin-bottom: 10px; border-radius: 12px; }
    .popular-card-image-wrap img { padding: 12px; }
    .popular-card-title { font-size: 0.78rem; min-height: 2.2em; margin-bottom: 6px; }
    .popular-card-price { font-size: 0.92rem; }
    .popular-card-plus-btn { width: 28px; height: 28px; }
    .popular-card-plus-btn svg { width: 12px; height: 12px; }

    .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .bundles-section { padding: 48px 0 36px; }
    .bundles-header { margin-bottom: 24px; }
    .bundles-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

    .woocommerce ul.products { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }

    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; }

    .comparison-table { font-size: 0.85rem; }
    .comparison-cell { padding: 14px 10px; }
    .comparison-feature { gap: 8px; }
    .comparison-feature-icon { width: 30px; height: 30px; }
    .comparison-feature-icon svg { width: 16px; height: 16px; }
    .comparison-logo-img { max-height: 24px; max-width: 100px; }

    .btn { padding: 12px 24px; font-size: 0.88rem; }
    .btn--lg { padding: 14px 28px; }
}

/* ==========================================================================
   22.5 SINGLE PRODUCT TEMPLATE (APC CLINICAL LUXURY DESIGN)
   ========================================================================== */

/* Non-home pages header spacing (adds exact 36px gap under the navbar) */
body:not(.home) .site-header-wrap {
    margin-bottom: 36px;
}

@media (max-width: 1024px) {
    body:not(.home) .site-header-wrap {
        margin-bottom: 24px;
    }
}

/* Page template spacing & title */
body:not(.home) .site-main > .section:first-child,
.page .site-main > .section:first-child {
    padding-top: 0;
}

.page .site-main .page-title,
.page .site-main h1:first-child {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-dark);
}

.page-all-compounds .container,
.page-id-64 .container,
.page:has(.apc-catalog-wrapper) .container,
.page-id-7297 .container,
.page-lab-results .container,
.page:has(.coa-library-wrapper) .container {
    max-width: var(--container-wide) !important;
}

.page-all-compounds .page-title,
.page-id-64 .page-title,
.page:has(.apc-catalog-wrapper) .page-title,
.page-id-7297 .page-title,
.page-lab-results .page-title,
.page:has(.coa-library-wrapper) .page-title,
.page-terms-of-service .page-title,
.page-id-1907 .page-title,
.page-contact .page-title,
.page-template-page-contact .page-title,
.apc-contact-page .page-title {
    text-align: center !important;
    padding-left: 0 !important;
    margin-inline: auto !important;
}

@media (max-width: 580px) {
    .page-all-compounds .page-title,
    .page-id-64 .page-title,
    .page:has(.apc-catalog-wrapper) .page-title,
    .page-id-7297 .page-title,
    .page-lab-results .page-title,
    .page:has(.coa-library-wrapper) .page-title,
    .page-terms-of-service .page-title,
    .page-id-1907 .page-title {
        padding-left: 0 !important;
    }
}

/* Hide redundant duplicate heading in page content */
.page-id-64 .entry-content > h2:first-of-type,
.page-all-compounds .entry-content > h2:first-of-type,
.page-id-7297 .entry-content > h2:first-of-type,
.page-lab-results .entry-content > h2:first-of-type,
.page:has(.coa-library-wrapper) .entry-content > h2:first-of-type,
.page-id-7297 .entry-content > h3:first-of-type,
.page-lab-results .entry-content > h3:first-of-type,
.page:has(.coa-library-wrapper) .entry-content > h3:first-of-type,
.page:has(.sky-cp-dashboard) .page-title,
.page:has(#loginform) .page-title,
.page-affiliate-dashboard .page-title {
    display: none !important;
}

/* Align catalog sidebar header divider with products toolbar divider */
.apc-catalog-wrapper .apc-sidebar-inner {
    padding-top: 0 !important;
}

.apc-catalog-wrapper .apc-sidebar-header,
.apc-catalog-wrapper .apc-catalog-header {
    min-height: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    box-sizing: border-box !important;
}

.apc-catalog-wrapper .apc-filters-title {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

.apc-catalog-wrapper .apc-counter {
    display: inline-block !important;
    font-size: 14px !important;
    color: #475569 !important;
    line-height: normal !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

.apc-catalog-wrapper .apc-counter strong,
.apc-catalog-wrapper #apc-current-count {
    color: #0f172a !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.apc-catalog-wrapper #apc-total-count {
    margin: 0 !important;
    padding: 0 !important;
}

.apc-catalog-wrapper .apc-buy-btn,
.apc-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 24px;
    background: var(--dark-bg, #0B111D);
    color: var(--gold-primary, #be9625);
    border: 1.5px solid rgba(190, 150, 37, 0.4);
    border-radius: var(--radius-full, 9999px);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(11, 17, 29, 0.22);
    transition: all var(--transition, 0.25s cubic-bezier(0.4, 0, 0.2, 1));
    position: relative;
    user-select: none;
    text-decoration: none;
    line-height: 1.2;
    margin-top: auto;
}

.apc-catalog-wrapper .apc-buy-btn:hover,
.apc-buy-btn:hover {
    background: var(--gold-primary, #be9625);
    color: var(--dark-bg, #0B111D);
    border-color: var(--gold-primary, #be9625);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(190, 150, 37, 0.35);
}

.apc-catalog-wrapper .apc-buy-btn:active,
.apc-buy-btn:active {
    transform: translateY(0);
}

/* APC Catalog Load More Pagination */
.apc-load-more-wrap {
    margin-top: 40px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.apc-load-more-progress-track {
    width: 100%;
    max-width: 260px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 12px;
}

.apc-load-more-progress-bar {
    height: 100%;
    width: 11.4%;
    background: linear-gradient(90deg, #bfa939, #d4af37);
    border-radius: 9999px;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.apc-load-more-status {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted, #64748b);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.apc-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 28px;
    background: var(--dark-bg);
    color: var(--gold-primary);
    border: 1.5px solid rgba(190, 150, 37, 0.4);
    border-radius: var(--radius-full);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(11, 17, 29, 0.22);
    transition: all var(--transition);
    position: relative;
    user-select: none;
}

.apc-load-more-btn:hover {
    background: var(--gold-primary);
    color: var(--dark-bg);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(190, 150, 37, 0.35);
}

.apc-load-more-btn:active {
    transform: translateY(0);
}

.apc-load-more-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    transition: transform 0.2s ease, color var(--transition);
}

.apc-load-more-btn:hover .apc-load-more-btn-icon {
    transform: translateY(2px);
    color: var(--dark-bg);
}

.apc-load-more-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(190, 150, 37, 0.4);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: apcSpin 0.6s linear infinite;
}

.apc-load-more-btn:hover .apc-load-more-spinner {
    border-color: rgba(11, 17, 29, 0.3);
    border-top-color: var(--dark-bg);
}

.apc-load-more-btn.is-loading .apc-load-more-btn-icon {
    display: none;
}

.apc-load-more-btn.is-loading .apc-load-more-spinner {
    display: inline-block;
}

@keyframes apcSpin {
    to { transform: rotate(360deg); }
}

.apc-card-fade-in {
    animation: apcCardFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes apcCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.apc-single-product-page {
    background: #FFFFFF;
    padding-top: 0;
    min-height: 80vh;
}

.apc-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
}

.apc-breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.apc-breadcrumbs a:hover {
    color: var(--gold-accessible);
}

.apc-breadcrumb-sep {
    color: var(--border-strong);
    font-size: 0.75rem;
}

.apc-breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
}

.apc-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    gap: 40px;
    margin-bottom: 36px;
    align-items: stretch;
}

/* LEFT COLUMN: Gallery & Trust */
.apc-product-visual-col {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.apc-product-gallery-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    margin-bottom: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 280px;
}

.apc-product-badge-sale {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold-primary);
    color: #0b132b;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(11, 17, 29, 0.08);
}

.apc-product-main-image {
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 220px;
    max-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
}

.apc-product-main-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.apc-product-gallery-card:hover .apc-product-main-image img {
    transform: scale(1.02);
}

.apc-product-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-top: 12px;
    flex-shrink: 0;
}

.apc-thumb-btn {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 1.5px solid var(--border-subtle);
    padding: 3px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.apc-thumb-btn img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.apc-thumb-btn:hover,
.apc-thumb-btn.active {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 1px var(--gold-primary);
}

.apc-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 8px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.apc-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.apc-trust-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--dark-bg);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.apc-trust-icon svg {
    width: 14px;
    height: 14px;
}

.apc-trust-text {
    display: flex;
    flex-direction: column;
}

.apc-trust-text strong {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.apc-trust-text span {
    font-size: 0.62rem;
    color: var(--text-muted);
    line-height: 1.2;
}

/* RIGHT COLUMN: Details & Actions */
.apc-product-meta-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.apc-live-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #047857;
    background: rgba(16, 185, 129, 0.08);
    padding: 3px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.stock-pulse {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: apcPulse 2s infinite;
}

.apc-title-coa-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.apc-title-coa-row .apc-single-product-title {
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 800;
    color: var(--dark-bg);
    line-height: 1.18;
    margin: 0;
    letter-spacing: -0.01em;
    flex: 1;
}

.apc-coa-badge.btn-pill-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--dark-bg);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid var(--border-strong);
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.apc-coa-badge.btn-pill-outline:hover {
    border-color: var(--gold-accessible);
    color: var(--gold-accessible);
    background: var(--gold-surface);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(190, 150, 37, 0.15);
}

.apc-coa-badge .btn-pill-icon-subtle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.apc-coa-badge .btn-pill-icon-subtle svg {
    width: 15px;
    height: 15px;
    display: block;
}

.coa-buttons-wrapper {
    display: none !important;
}

@media (max-width: 640px) {
    .apc-title-coa-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Price */
.apc-product-price-wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 54px;
    gap: 2px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
    box-sizing: border-box;
}

.apc-product-price {
    font-size: 1.65rem;
    font-weight: 800;
    color: #be9726;
    line-height: 1.15;
    min-height: 28px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.apc-product-price ins,
.apc-price-ins {
    text-decoration: none;
    color: #be9726;
    font-weight: 800;
}

.apc-product-price .amount {
    color: #be9726;
}

.apc-product-price del,
.apc-price-del {
    font-size: 1.15rem;
    color: #8892b0;
    font-weight: 500;
    text-decoration: line-through;
    opacity: 0.75;
}

.apc-member-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(190, 151, 38, 0.12);
    border: 1px solid rgba(190, 151, 38, 0.35);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #be9726;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    vertical-align: middle;
}

.apc-member-price-callout {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 2px;
    padding: 6px 12px;
    background: rgba(190, 151, 38, 0.06);
    border: 1px dashed rgba(190, 151, 38, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.3;
}

.apc-member-callout-pill {
    font-weight: 700;
    color: #be9726;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    background: rgba(190, 151, 38, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
}

.apc-member-callout-val {
    font-weight: 800;
    color: #be9726;
    font-size: 1rem;
}

.apc-member-callout-save {
    font-weight: 600;
    color: #10b981;
    font-size: 0.82rem;
}

.apc-member-callout-link {
    font-size: 0.78rem;
    color: #94a3b8;
}

.apc-member-callout-link a {
    color: #be9726;
    text-decoration: underline;
    font-weight: 600;
}

.product-card-price--member {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.product-card-del {
    font-size: 0.88em;
    color: #8892b0;
    text-decoration: line-through;
    opacity: 0.75;
}

.product-card-ins {
    font-weight: 700;
    color: #be9726;
    text-decoration: none;
}

.product-card-member-pill {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 1px 6px;
    background: rgba(190, 151, 38, 0.12);
    border: 1px solid rgba(190, 151, 38, 0.3);
    color: #be9726;
    border-radius: 999px;
    text-transform: uppercase;
}

.product-card-member-preview {
    font-size: 0.82rem;
    color: #be9726;
    margin-top: 3px;
    font-weight: 600;
}

.apc-cart-del-price {
    font-size: 0.85em;
    color: #8892b0;
    text-decoration: line-through;
    opacity: 0.75;
    margin-right: 4px;
}

.apc-cart-ins-price {
    color: #be9726;
    font-weight: 700;
    text-decoration: none;
}

.apc-member-cart-tag {
    display: inline-block;
    padding: 2px 7px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #be9726;
    background: rgba(190, 151, 38, 0.12);
    border: 1px solid rgba(190, 151, 38, 0.3);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 3px;
}

dt.variation-Pricing,
.variation dt.variation-Pricing,
dl.variation dt.variation-Pricing,
dt.variation-tag-only,
.variation dt.variation-tag-only {
    display: none !important;
}

dd.variation-Pricing,
.variation dd.variation-Pricing,
dl.variation dd.variation-Pricing,
dd.variation-tag-only,
.variation dd.variation-tag-only {
    margin-inline-start: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.apc-tax-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.2;
    min-height: 14px;
    display: block;
    margin: 0;
    padding: 0;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.apc-tax-note.apc-tax-note-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.apc-price-prompt {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    background: var(--surface-subtle);
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px dashed var(--border-strong);
    line-height: 1.2;
}

.apc-bundle-pending .tier-bottom .tier-unit-price,
.apc-bundle-pending .tier-bottom .tier-total-price {
    color: var(--text-muted);
    font-style: italic;
    font-weight: 500;
}

.single_variation_wrap .woocommerce-variation,
.single_variation_wrap .woocommerce-variation-price,
.single_variation_wrap .woocommerce-variation-availability,
.apc-add-to-cart-container .woocommerce-variation-availability,
.apc-add-to-cart-container .stock,
.apc-single-product-wrap .stock {
    display: none !important;
}

/* MODERN VARIATION SWATCHES */
.apc-swatches-group {
    margin-bottom: 12px;
}

.apc-swatch-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.apc-swatch-label {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dark-bg);
}

.apc-swatch-selected-val {
    display: none !important;
}

.apc-swatches-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.apc-swatch-pill {
    padding: 7px 16px;
    border: 1.5px solid var(--border-subtle);
    border-radius: 9999px;
    background: #FFFFFF;
    color: var(--dark-bg);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.apc-swatch-pill:hover {
    border-color: var(--gold-accessible);
    color: var(--gold-accessible);
    transform: translateY(-1px);
}

.apc-swatch-pill.active {
    border-color: var(--dark-bg);
    background: var(--dark-bg);
    color: #FFFFFF;
    box-shadow: 0 3px 8px rgba(11, 17, 29, 0.18);
}

/* Hide standard table.variations when swatches are active */
.apc-has-swatches table.variations {
    display: none !important;
}

/* BUNDLE & SAVE TIER SELECTOR */
.apc-bundle-save-box {
    background: #FFFFFF;
    border: 1.5px solid var(--border-subtle);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.apc-bundle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.apc-bundle-title-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.apc-bundle-svg {
    width: 15px;
    height: 15px;
    color: var(--gold-accessible);
}

.apc-bundle-title {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--dark-bg);
    margin: 0;
    text-transform: uppercase;
}

.apc-bundle-subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.apc-bundle-tiers {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.apc-bundle-tier {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border: 1.5px solid var(--border-subtle);
    border-radius: 8px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
    min-height: 48px;
    box-sizing: border-box;
}

.apc-bundle-tier:hover {
    border-color: var(--gold-accessible);
    background: #FAF9F5;
}

.apc-bundle-tier.active {
    border-color: var(--dark-bg);
    background: #F8FAFC;
    box-shadow: 0 0 0 1px var(--dark-bg);
}

.tier-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.18s;
    position: relative;
    box-sizing: border-box;
}

.apc-bundle-tier.active .tier-radio {
    border-color: var(--dark-bg);
}

.apc-bundle-tier.active .tier-radio::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dark-bg);
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.tier-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1px;
}

.tier-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tier-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.apc-bundle-promo-tag {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 2px 7px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.tier-badges-wrap {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tier-pill-free {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 1px 4px rgba(16, 185, 129, 0.3);
    animation: apcFreePulse 2.4s infinite ease-in-out;
}

@keyframes apcFreePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.88; transform: scale(0.96); }
}

.tier-free-note {
    color: #059669;
    font-weight: 700;
    font-size: 0.72rem;
    margin-left: 2px;
}

.tier-badge-pill {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tier-pill-standard {
    background: var(--surface-muted);
    color: var(--text-muted);
}

.tier-pill-save {
    background: rgba(190, 150, 37, 0.12);
    color: #8f6f16;
}

.tier-pill-best {
    background: var(--dark-bg);
    color: var(--gold-primary);
}

.tier-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.76rem;
    color: var(--text-secondary);
}

.tier-unit-price {
    font-weight: 600;
    color: var(--dark-bg);
}

.tier-total-price {
    font-weight: 500;
    color: var(--text-muted);
}

.tier-save-amt {
    font-style: normal;
    font-weight: 700;
    color: #059669;
}

.apc-product-info-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Add to Cart Container & WooCommerce Form Overrides */
.apc-add-to-cart-container {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.apc-add-to-cart-container form.cart {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 !important;
}

.apc-add-to-cart-container .variations {
    width: 100%;
    margin-bottom: 8px;
}

.apc-add-to-cart-container .variations tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}

.apc-add-to-cart-container .variations td.label {
    padding: 0 0 4px 0;
}

.apc-add-to-cart-container .variations td.label label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.apc-add-to-cart-container .variations td.value {
    padding: 0;
}

.apc-add-to-cart-container .variations select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border-subtle);
    border-radius: 9999px;
    background: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color 0.2s;
}

.apc-add-to-cart-container .variations select:focus {
    outline: none;
    border-color: var(--dark-bg);
}

.apc-add-to-cart-container .single_variation_wrap {
    margin: 0;
}

.apc-add-to-cart-container .woocommerce-variation-add-to-cart,
.apc-add-to-cart-container .apc-add-to-cart-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.apc-add-to-cart-container .quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid var(--border-subtle) !important;
    border-radius: 9999px !important;
    padding: 0 4px !important;
    background: #FFFFFF !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    height: 48px !important;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
    box-sizing: border-box !important;
}

.apc-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--dark-bg);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.15s ease, color 0.15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    padding: 0;
    line-height: 1;
}

.apc-qty-btn:hover {
    background-color: var(--surface-muted);
}

.apc-add-to-cart-container .quantity input.qty {
    width: 38px !important;
    height: 38px !important;
    border: none !important;
    text-align: center !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--dark-bg) !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

.apc-add-to-cart-container .quantity input.qty::-webkit-inner-spin-button,
.apc-add-to-cart-container .quantity input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    display: none !important;
}

.apc-add-to-cart-container .quantity input.qty:focus {
    outline: none;
}

.apc-add-to-cart-container button.single_add_to_cart_button,
.apc-add-to-cart-container .single_add_to_cart_button {
    flex: 1 1 0% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    padding: 0 24px !important;
    background: var(--gold-primary) !important;
    color: #0b132b !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    border-radius: 9999px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all var(--transition) !important;
    box-shadow: 0 4px 14px rgba(190, 150, 37, 0.28) !important;
    margin: 0 !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.apc-add-to-cart-container button.single_add_to_cart_button:hover,
.apc-add-to-cart-container .single_add_to_cart_button:hover {
    background: #a8821a !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(168, 130, 26, 0.35) !important;
}

.apc-add-to-cart-container button.single_add_to_cart_button:disabled,
.apc-add-to-cart-container button.single_add_to_cart_button.disabled,
.apc-add-to-cart-container button.single_add_to_cart_button.apc-out-of-stock,
.apc-add-to-cart-container .single_add_to_cart_button:disabled,
.apc-add-to-cart-container .single_add_to_cart_button.disabled,
.apc-add-to-cart-container .single_add_to_cart_button.apc-out-of-stock {
    background: #e2e8f0 !important;
    color: #94a3b8 !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
    opacity: 0.95 !important;
}

/* WPC Product Bundles Subitems List Layout & Divider */
.product-type-woosb .apc-product-price-wrap {
    margin-bottom: 0 !important;
    padding-bottom: 10px !important;
}

.woosb-wrap,
.woosb-wrap .woosb-products {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
}

.woosb-wrap .woosb-products .woosb-product:first-child {
    padding-top: 8px !important;
}

/* Laboratory Warning Box */
.apc-lab-use-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    margin: 0;
}

.apc-lab-use-header {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--dark-bg);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.apc-lab-use-icon {
    width: 13px;
    height: 13px;
    color: #e11d48;
    flex-shrink: 0;
}

.apc-lab-use-box p {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.35;
}

.apc-disclaimer-svg {
    width: 18px;
    height: 18px;
    color: var(--gold-accessible);
    flex-shrink: 0;
}

/* SPECIFICATIONS ACCORDIONS */
.apc-product-details-accordion {
    margin: 48px 0 36px;
    border-top: 1px solid var(--border-subtle);
}

.apc-accordion-block {
    border-bottom: 1px solid var(--border-subtle);
}

.apc-accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-bg);
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.apc-accordion-btn:hover {
    color: var(--gold-accessible);
}

.accordion-chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.apc-accordion-btn.active .accordion-chevron {
    transform: rotate(-135deg);
}

.apc-accordion-panel {
    display: none;
    padding-bottom: 24px;
}

.apc-accordion-panel.open {
    display: block;
}

.apc-panel-content {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.apc-panel-content h2, .apc-panel-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin: 16px 0 8px;
}

.apc-panel-content p {
    margin-bottom: 12px;
}

.apc-specs-section {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.apc-specs-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin: 0 0 14px;
}

/* Technical Specifications Table */
.apc-specs-table-wrap {
    overflow-x: auto;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    margin: 8px 0;
}

.apc-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.apc-specs-table tr {
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.15s ease;
}

.apc-specs-table tr:last-child {
    border-bottom: none;
}

.apc-specs-table tr:hover {
    background: rgba(11, 17, 29, 0.02);
}

.apc-specs-table th {
    width: 32%;
    padding: 14px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dark-bg);
    background: var(--surface-subtle);
    border-right: 1px solid var(--border-subtle);
    vertical-align: top;
}

.apc-specs-table td {
    padding: 14px 18px;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.5;
    vertical-align: top;
}

@media (max-width: 640px) {
    .apc-specs-table th {
        width: 40%;
        padding: 10px 12px;
        font-size: 0.75rem;
    }
    .apc-specs-table td {
        padding: 10px 12px;
        font-size: 0.82rem;
    }
}

/* IMPORTANT NOTICE BOX */
.apc-disclaimer-box {
    background: #FFFBEB;
    border: 1.5px solid #FDE68A;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 32px 0 54px;
}

.apc-disclaimer-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #92400E;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.apc-disclaimer-icon {
    font-size: 1.1rem;
}

.apc-disclaimer-box p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #78350F;
    margin-top: 8px;
}

/* PRODUCT FAQS */
.apc-product-faq-section {
    padding: 72px 0;
    background: #FFFFFF;
    border-top: 1px solid var(--border-subtle);
}

.apc-faq-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding-inline: 20px;
    box-sizing: border-box;
}

.apc-faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.apc-faq-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 9999px;
    background: var(--surface-subtle);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.apc-faq-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--dark-bg);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.apc-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.apc-faq-item {
    border: 1.5px solid var(--border-subtle);
    border-radius: 12px;
    background: #FFFFFF;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.apc-faq-item:hover {
    border-color: var(--border-strong);
}

.apc-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.apc-faq-question {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.apc-faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--surface-subtle);
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.2s;
}

.apc-faq-trigger[aria-expanded="true"] .apc-faq-icon {
    transform: rotate(45deg);
    background: var(--dark-bg);
    color: var(--gold-primary);
}

.apc-faq-answer {
    border-top: 1px solid var(--border-subtle);
}

.apc-faq-answer-inner {
    padding: 18px 24px 22px;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.apc-faq-answer-inner a {
    color: var(--gold-accessible);
    font-weight: 600;
    text-decoration: underline;
}

/* YOU MAY ALSO LIKE (RELATED SECTION) */
.apc-related-section {
    padding: 72px 0 80px;
    background: #FFFFFF;
    border-top: 1px solid var(--border-subtle);
}

/* RESPONSIVE OVERRIDES FOR SINGLE PRODUCT */
@media (max-width: 992px) {
    .apc-product-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin-bottom: 24px !important;
    }

    .apc-product-visual-col,
    .apc-product-info-col,
    .apc-title-coa-row {
        display: contents !important;
    }

    /* 1. Product Image */
    .apc-product-gallery-card {
        order: 1 !important;
        flex: none !important;
        width: 100% !important;
        min-height: auto !important;
        padding: 16px 14px 12px !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }

    .apc-product-main-image {
        min-height: 220px !important;
        max-height: 320px !important;
        height: auto !important;
    }

    .apc-product-main-image img {
        max-height: 280px !important;
    }

    /* 2. View COA Button directly below Product Image */
    .apc-coa-badge.btn-pill-outline {
        order: 2 !important;
        align-self: flex-start !important;
        margin-top: 0 !important;
        margin-bottom: 12px !important;
        padding: 7px 14px !important;
        font-size: 0.72rem !important;
    }

    /* 3. Product Title */
    .apc-single-product-title {
        order: 3 !important;
        font-size: clamp(1.45rem, 5vw, 1.8rem) !important;
        line-height: 1.2 !important;
        margin-top: 0 !important;
        margin-bottom: 8px !important;
        width: 100% !important;
    }

    /* 4. Price Section */
    .apc-product-price-wrap {
        order: 4 !important;
        width: 100% !important;
        min-height: auto !important;
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
    }

    .apc-product-price {
        font-size: 1.55rem !important;
    }

    /* 5. Size Selector, Bundle & Save, and Add to Cart Section */
    .apc-add-to-cart-container {
        order: 5 !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    .apc-bundle-save-box {
        order: 5 !important;
        width: 100% !important;
        margin-bottom: 12px !important;
    }

    .apc-swatches-group {
        margin-bottom: 12px !important;
    }

    .apc-swatch-pill {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        min-height: 42px !important;
    }

    .apc-bundle-tier {
        padding: 8px 12px !important;
        min-height: 48px !important;
    }

    .apc-add-to-cart-container .apc-add-to-cart-row,
    .apc-add-to-cart-container .woocommerce-variation-add-to-cart {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 14px !important;
    }

    .apc-add-to-cart-container .quantity {
        flex-shrink: 0 !important;
        width: auto !important;
        height: 48px !important;
        justify-content: center !important;
        padding: 0 4px !important;
    }

    .apc-add-to-cart-container button.single_add_to_cart_button,
    .apc-add-to-cart-container .single_add_to_cart_button {
        flex: 1 1 0% !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 48px !important;
    }

    /* 6. Trust Badges (HPLC, Express Post, Australian Owned) */
    .apc-trust-strip {
        order: 6 !important;
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        padding: 12px 14px !important;
        margin-top: 4px !important;
        margin-bottom: 12px !important;
        box-sizing: border-box !important;
    }

    .apc-trust-item {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .apc-trust-icon {
        width: 30px !important;
        height: 30px !important;
        border-radius: 8px !important;
    }

    .apc-trust-icon svg {
        width: 15px !important;
        height: 15px !important;
    }

    .apc-trust-text strong {
        font-size: 0.78rem !important;
        line-height: 1.25 !important;
    }

    .apc-trust-text span {
        font-size: 0.68rem !important;
        line-height: 1.25 !important;
    }

    /* 7. For Laboratory Use Only Callout */
    .apc-lab-use-box {
        order: 7 !important;
        width: 100% !important;
        border-radius: 12px !important;
        padding: 12px 14px !important;
        margin-bottom: 24px !important;
        box-sizing: border-box !important;
    }

    /* Rest of page layout refinements */
    .apc-product-details-accordion {
        margin: 28px 0 24px !important;
    }

    .apc-accordion-btn {
        padding: 16px 0 !important;
        font-size: 0.98rem !important;
    }

    .apc-disclaimer-box {
        margin-bottom: 32px !important;
        padding: 14px 16px !important;
    }

    /* FAQ Section Mobile Spacing */
    .apc-product-faq-section {
        padding: 48px 0 56px !important;
    }

    .apc-faq-container {
        padding-inline: 16px !important;
    }

    .apc-faq-header {
        margin-bottom: 24px !important;
    }

    .apc-faq-title {
        font-size: 1.45rem !important;
    }

    .apc-faq-accordion {
        gap: 10px !important;
    }

    .apc-faq-trigger {
        padding: 14px 16px !important;
        gap: 12px !important;
    }

    .apc-faq-question {
        font-size: 0.92rem !important;
    }

    .apc-faq-answer-inner {
        padding: 14px 16px 18px !important;
        font-size: 0.88rem !important;
    }
}

@media (max-width: 480px) {
    .tier-bottom {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
    }
}

/* ==========================================================================
   23. PRINT STYLES
   ========================================================================== */

@media print {
    .announcement-bar, .site-header, .site-footer,
    .mobile-menu, .mobile-menu-overlay, .search-overlay { display: none !important; }
    body { color: #000; background: #fff; }
}

/* ==========================================================================
   24. SKY CART SLIDEOUT DRAWER
   ========================================================================== */
.apc-skycart-embed .skycart-trigger {
    display: none !important;
}

.skycart-overlay {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.skycart-drawer {
    font-family: inherit;
}

/* Sky Cart Brand Accents (#be9625) */
.skycart-drawer .skycart-continue,
.skycart-drawer .skycart-shipping__text strong,
.skycart-drawer .skycart-totals__row--coupon {
    color: #be9625 !important;
}

.skycart-drawer .skycart-progress__bar,
.skycart-drawer .skycart-checkout,
.skycart-drawer .skycart-empty__btn,
.skycart-drawer .skycart-upsell__btn {
    background: #be9625 !important;
    background-color: #be9625 !important;
}

.skycart-drawer .skycart-notice--success {
    background: rgba(190, 150, 37, 0.1) !important;
    color: #a5811c !important;
}

.skycart-drawer .skycart-checkout:hover,
.skycart-drawer .skycart-empty__btn:hover,
.skycart-drawer .skycart-upsell__btn:hover {
    background: #a8821a !important;
    background-color: #a8821a !important;
}

/* Sliding Cart Item Images */
.skycart-drawer .skycart-item__image {
    width: 72px !important;
    height: 72px !important;
    flex-shrink: 0 !important;
    border: 1px solid #f1f1f1 !important;
    border-radius: 10px !important;
    background: #fff !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.skycart-drawer .skycart-item__image a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

.skycart-drawer .skycart-item__image img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    padding: 4px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    display: block !important;
}

@media (max-width: 640px) {
    .skycart-drawer .skycart-item__image {
        width: 58px !important;
        height: 58px !important;
    }
    .skycart-drawer .skycart-item__image img {
        padding: 3px !important;
    }
}

/* SkyCart Drawer Bundled Items */
.skycart-item--bundled-subitem {
    margin-left: 18px !important;
    padding-left: 12px !important;
    border-left: 2px solid #e5e7eb !important;
}

.skycart-drawer .skycart-item--bundled-subitem .skycart-item__image {
    width: 52px !important;
    height: 52px !important;
}

.skycart-item--bundled-subitem .skycart-item__name {
    font-size: 0.82rem !important;
    color: #4b5563 !important;
}

.skycart-bundle-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 3px 0 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    line-height: 1.2;
    transition: color 0.15s ease;
    margin-top: 2px;
}

.skycart-bundle-toggle-btn:hover {
    color: #111827;
}

.skycart-toggle-chevron {
    transition: transform 0.2s ease;
    display: inline-block;
}

.skycart-bundle-toggle-btn.active .skycart-toggle-chevron {
    transform: rotate(180deg);
}

.skycart-bundle-toggle-btn:not(.active) .skycart-toggle-chevron {
    transform: rotate(0deg);
}

/* Suppress redundant WooCommerce added-to-cart alert banners */
.woocommerce-message,
.woocommerce-message:has(a[href*="cart"]) {
    display: none !important;
}

@keyframes apcSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.apc-skycart-embed {
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    pointer-events: none !important;
    z-index: 99999 !important;
}

.apc-skycart-embed .skycart-root,
.skycart-root {
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    pointer-events: none !important;
    display: block !important;
}

.apc-skycart-embed .skycart-trigger,
.skycart-root > .skycart-trigger {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

.apc-skycart-embed .skycart-overlay,
.skycart-root .skycart-overlay {
    pointer-events: none !important;
}

.apc-skycart-embed .skycart-overlay.is-open,
.skycart-root .skycart-overlay.is-open {
    pointer-events: auto !important;
}

.apc-skycart-embed .skycart-drawer,
.skycart-root .skycart-drawer {
    pointer-events: auto !important;
}

/* ==========================================================================
   20. MODERN SHOPIFY-STYLE APC CHECKOUT
   ========================================================================== */

/* ==========================================================================
   19. SHOPIFY-STYLE MODERN CHECKOUT (APC LUXURY EDITION)
   ========================================================================== */

/* Full-bleed Canvas */
body.apc-checkout-page {
    background: #ffffff;
    color: #111827;
    font-family: var(--font, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Minimal Modern Header */
.apc-checkout-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.apc-checkout-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.apc-checkout-header-left {
    display: flex;
    align-items: center;
}

.apc-checkout-logo-link {
    display: inline-block;
    line-height: 1;
}

.apc-checkout-logo-img {
    max-width: 165px;
    height: auto;
    display: block;
    object-fit: contain;
}

.apc-checkout-logo-text {
    font-size: 1.28rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}

.apc-checkout-header-right {
    display: flex;
    align-items: center;
}

.apc-checkout-cart-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: #005bd3;
    transition: background 0.15s ease, color 0.15s ease;
}

.apc-checkout-cart-icon-btn:hover {
    background: #f0f7ff;
    color: #004dc0;
}

.woocommerce-order-received .apc-checkout-cart-icon-btn {
    display: none !important;
}

/* Mobile Summary Bar (Shopify pattern) */
.apc-mobile-summary-bar {
    display: none;
    background: #f6f7f9;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 20px;
}

.apc-mobile-summary-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 500;
    color: #005bd3;
    cursor: pointer;
    padding: 0;
}

.apc-mobile-toggle-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.apc-toggle-chevron {
    transition: transform 0.2s ease;
}

.apc-mobile-summary-toggle.is-open .apc-toggle-chevron {
    transform: rotate(180deg);
}

.apc-mobile-toggle-total {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

/* Modern Shopify-Style Checkout Notices & Alerts (Integrated into Left Column) */
.woocommerce-NoticeGroup-checkout {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.apc-checkout-main .woocommerce-NoticeGroup-checkout {
    margin: 0 0 24px 0 !important;
}

.woocommerce-error,
.woocommerce-NoticeGroup-checkout .woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 0 24px 0 !important;
    padding: 14px 18px 14px 46px !important;
    border-radius: 10px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    box-sizing: border-box !important;
    list-style: none !important;
    border: 1px solid #fecaca !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.06) !important;
    font-family: inherit !important;
}

.woocommerce-error,
.woocommerce-NoticeGroup-checkout .woocommerce-error {
    background: #fff5f5 !important;
    border-color: #fecaca !important;
    color: #991b1b !important;
}

.woocommerce-error li,
.woocommerce-NoticeGroup-checkout .woocommerce-error li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    color: #991b1b !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
}

.woocommerce-error::before,
.woocommerce-NoticeGroup-checkout .woocommerce-error::before {
    content: "" !important;
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 18px !important;
    height: 18px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    display: inline-block !important;
}

.woocommerce-message {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    border-left: 4px solid #10b981 !important;
    border-top: 1px solid #bbf7d0 !important;
    color: #065f46 !important;
}

.woocommerce-message li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    color: #065f46 !important;
}

.woocommerce-message::before {
    content: "" !important;
    position: absolute !important;
    left: 18px !important;
    top: 16px !important;
    width: 20px !important;
    height: 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    display: inline-block !important;
}

.woocommerce-info {
    background: #f0f9ff !important;
    border-color: #bae6fd !important;
    border-left: 4px solid #0284c7 !important;
    border-top: 1px solid #bae6fd !important;
    color: #075985 !important;
}

.woocommerce-info li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    color: #075985 !important;
}

.woocommerce-info::before {
    content: "" !important;
    position: absolute !important;
    left: 18px !important;
    top: 16px !important;
    width: 20px !important;
    height: 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    display: inline-block !important;
}

/* 2-Column Shopify Layout with Full-Bleed Right Column */
.apc-checkout-main-wrap {
    flex: 1;
    width: 100%;
    position: relative;
    overflow-x: clip;
}

.apc-checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.apc-checkout-layout {
    display: grid;
    grid-template-columns: 56% 44%;
    min-height: calc(100vh - 73px);
}

/* LEFT COLUMN: Pure White */
.apc-checkout-main {
    background: #ffffff;
    padding: 36px 48px 60px 24px;
    box-sizing: border-box;
}

/* Section Common Styling */
.apc-checkout-section {
    margin-bottom: 28px;
}

.apc-checkout-section-header,
.apc-checkout-section-header-block {
    margin-bottom: 14px;
}

.apc-checkout-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin: 0 0 4px 0;
}

.apc-section-subtitle {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Custom Checkbox (Matching All Compounds Pattern) */
.apc-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    color: #475569;
    cursor: pointer;
    margin-top: 12px;
    user-select: none;
    position: relative;
}

.apc-checkbox-label input[type="checkbox"],
.apc-shipping-protection-card input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
}

.apc-checkbox-label .apc-custom-check,
.apc-shipping-protection-card .apc-custom-check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.apc-shipping-protection-card .apc-custom-check {
    margin-top: 2px;
}

.apc-checkbox-label .apc-custom-check svg,
.apc-shipping-protection-card .apc-custom-check svg {
    width: 11px;
    height: 9px;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.15s ease;
    stroke: #ffffff;
    display: block;
}

.apc-checkbox-label input[type="checkbox"]:checked ~ .apc-custom-check,
.apc-shipping-protection-card input[type="checkbox"]:checked ~ .apc-custom-check {
    background: #0f172a;
    border-color: #0f172a;
}

.apc-checkbox-label input[type="checkbox"]:checked ~ .apc-custom-check svg,
.apc-shipping-protection-card input[type="checkbox"]:checked ~ .apc-custom-check svg {
    opacity: 1;
    transform: scale(1);
}

.apc-checkbox-label:hover .apc-custom-check,
.apc-shipping-protection-card:hover .apc-custom-check {
    border-color: #94a3b8;
}

.apc-checkbox-label input[type="checkbox"]:focus-visible ~ .apc-custom-check,
.apc-shipping-protection-card input[type="checkbox"]:focus-visible ~ .apc-custom-check {
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.15);
}

/* Fallback for standalone native checkboxes (e.g. Terms & Conditions) */
.woocommerce-checkout input[type="checkbox"]:not(.apc-checkbox-input) {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    background-color: #ffffff;
    cursor: pointer;
    margin: 0 8px 0 0;
    padding: 0;
    outline: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
}

.woocommerce-checkout input[type="checkbox"]:not(.apc-checkbox-input):hover {
    border-color: #94a3b8;
}

.woocommerce-checkout input[type="checkbox"]:not(.apc-checkbox-input):checked {
    border-color: #0f172a;
    background-color: #0f172a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px 11px;
}

.apc-billing-diff-address-wrap {
    margin-top: 14px;
}

/* Form Controls & Grids */
.apc-contact-fields-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Modern Delivery Fields Grid - 6 Columns to perfectly fit 50% (span 3) and 33.3% (span 2) */
.apc-delivery-fields-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 14px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Prevent WooCommerce default 47% width / float collapse */
.woocommerce-checkout .apc-shopify-checkout-form .form-row,
.woocommerce form .apc-delivery-fields-grid .form-row,
.woocommerce-page form .apc-delivery-fields-grid .form-row,
.apc-delivery-fields-grid .form-row,
.apc-delivery-fields-grid .form-row-first,
.apc-delivery-fields-grid .form-row-last,
.apc-delivery-fields-grid .form-row-wide {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.apc-delivery-fields-grid .form-row .woocommerce-input-wrapper {
    display: block !important;
    width: 100% !important;
    position: relative !important;
}

.apc-delivery-fields-grid .form-row input,
.apc-delivery-fields-grid .form-row select,
.apc-delivery-fields-grid .form-row .select2-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Grid Column Spans */
/* Full width rows: Country, Address 1, Address 2, Phone, Company */
.apc-delivery-fields-grid .apc-field-country,
.apc-delivery-fields-grid #shipping_country_field,
.apc-delivery-fields-grid #billing_country_field,
.apc-delivery-fields-grid .apc-field-address-1,
.apc-delivery-fields-grid #shipping_address_1_field,
.apc-delivery-fields-grid #billing_address_1_field,
.apc-delivery-fields-grid .apc-field-address-2,
.apc-delivery-fields-grid #shipping_address_2_field,
.apc-delivery-fields-grid #billing_address_2_field,
.apc-delivery-fields-grid .apc-field-phone,
.apc-delivery-fields-grid #shipping_phone_field,
.apc-delivery-fields-grid #billing_phone_field,
.apc-delivery-fields-grid .apc-field-company,
.apc-delivery-fields-grid #shipping_company_field,
.apc-delivery-fields-grid #billing_company_field,
.apc-delivery-fields-grid .form-row-wide {
    grid-column: 1 / -1 !important;
}

/* 2-column row: First Name & Last Name (50% / 50% = 3 of 6 cols each, zero dead space) */
.apc-delivery-fields-grid .apc-field-first-name,
.apc-delivery-fields-grid #shipping_first_name_field,
.apc-delivery-fields-grid #billing_first_name_field,
.apc-delivery-fields-grid .form-row-first {
    grid-column: span 3 !important;
}

.apc-delivery-fields-grid .apc-field-last-name,
.apc-delivery-fields-grid #shipping_last_name_field,
.apc-delivery-fields-grid #billing_last_name_field,
.apc-delivery-fields-grid .form-row-last {
    grid-column: span 3 !important;
}

/* 3-column row: City, State, Postal Code (33.33% each = 2 of 6 cols each, zero dead space) */
.apc-delivery-fields-grid .apc-field-suburb,
.apc-delivery-fields-grid #shipping_city_field,
.apc-delivery-fields-grid #billing_city_field {
    grid-column: span 2 !important;
}

.apc-delivery-fields-grid .apc-field-state,
.apc-delivery-fields-grid #shipping_state_field,
.apc-delivery-fields-grid #billing_state_field {
    grid-column: span 2 !important;
}

.apc-delivery-fields-grid .apc-field-postcode,
.apc-delivery-fields-grid #shipping_postcode_field,
.apc-delivery-fields-grid #billing_postcode_field {
    grid-column: span 2 !important;
}

@media (max-width: 640px) {
    .apc-delivery-fields-grid .apc-field-suburb,
    .apc-delivery-fields-grid #shipping_city_field,
    .apc-delivery-fields-grid #billing_city_field,
    .apc-delivery-fields-grid .apc-field-state,
    .apc-delivery-fields-grid #shipping_state_field,
    .apc-delivery-fields-grid #billing_state_field,
    .apc-delivery-fields-grid .apc-field-postcode,
    .apc-delivery-fields-grid #shipping_postcode_field,
    .apc-delivery-fields-grid #billing_postcode_field {
        grid-column: 1 / -1 !important;
    }
}

/* Field Container & Labels */
.apc-shopify-checkout-form .form-row label {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
    display: block !important;
}

/* Remove cluttering red asterisks from checkout labels to match clean reference design */
.woocommerce-checkout .form-row label .required,
.woocommerce-checkout abbr.required {
    display: none !important;
}

.apc-shopify-checkout-form .form-row .optional {
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.75rem;
}

/* Modern Shopify-style Inputs & Form Controls (Light Refined Outlines) */
.woocommerce-checkout .apc-shopify-checkout-form input[type="text"],
.woocommerce-checkout .apc-shopify-checkout-form input[type="email"],
.woocommerce-checkout .apc-shopify-checkout-form input[type="tel"],
.woocommerce-checkout .apc-shopify-checkout-form input[type="password"],
.woocommerce-checkout .apc-shopify-checkout-form input[type="number"],
.woocommerce-checkout .apc-shopify-checkout-form .input-text,
.woocommerce-checkout .apc-shopify-checkout-form select,
.woocommerce-checkout .apc-shopify-checkout-form textarea,
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100% !important;
    height: 44px !important;
    padding: 0 14px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    font-size: 0.875rem !important;
    font-family: inherit !important;
    outline: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.woocommerce-checkout .apc-shopify-checkout-form input::placeholder,
.woocommerce-checkout .apc-shopify-checkout-form textarea::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

.woocommerce-checkout .apc-shopify-checkout-form input:not([type="checkbox"]):not([type="radio"]):hover,
.woocommerce-checkout .apc-shopify-checkout-form select:hover,
.woocommerce-checkout .apc-shopify-checkout-form textarea:hover,
.woocommerce-checkout .select2-container--default .select2-selection--single:hover {
    border-color: #cbd5e1 !important;
}

.woocommerce-checkout .apc-shopify-checkout-form input:not([type="checkbox"]):not([type="radio"]):focus,
.woocommerce-checkout .apc-shopify-checkout-form select:focus,
.woocommerce-checkout .apc-shopify-checkout-form textarea:focus,
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
.apc-checkout-page .select2-container--default.select2-container--focus .select2-selection--single,
.apc-checkout-page .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #0f172a !important;
    outline: none !important;
    box-shadow: inset 0 0 0 1px #0f172a !important;
    background-color: #ffffff !important;
}

.woocommerce-checkout .form-row.woocommerce-invalid input.input-text,
.woocommerce-checkout .form-row.woocommerce-invalid select,
.woocommerce-checkout .form-row.woocommerce-invalid textarea,
.woocommerce-checkout .form-row.woocommerce-invalid .select2-container--default .select2-selection--single,
.woocommerce-checkout input.woocommerce-invalid,
.woocommerce-checkout select.woocommerce-invalid {
    border-color: #ef4444 !important;
    background-color: #fffaf0 !important;
}

.woocommerce-checkout .form-row.woocommerce-invalid input.input-text:focus,
.woocommerce-checkout .form-row.woocommerce-invalid select:focus,
.woocommerce-checkout .form-row.woocommerce-invalid textarea:focus,
.woocommerce-checkout .form-row.woocommerce-invalid .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-checkout input.woocommerce-invalid:focus,
.woocommerce-checkout select.woocommerce-invalid:focus {
    border-color: #dc2626 !important;
    box-shadow: inset 0 0 0 1px #dc2626, 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.woocommerce-checkout .apc-shopify-checkout-form select,
.woocommerce-checkout select,
.apc-checkout-page select {
    cursor: pointer !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E") !important;
    background-position: right 14px center !important;
    background-repeat: no-repeat !important;
    background-size: 16px 16px !important;
    padding-right: 40px !important;
    font-weight: 500 !important;
    line-height: 42px !important;
}

.woocommerce-checkout .apc-shopify-checkout-form textarea {
    height: 80px !important;
    padding: 10px 14px !important;
    line-height: 1.45 !important;
}

/* Modern Select2 / SelectWoo Styling */
.woocommerce-checkout .select2-container--default .select2-selection--single,
.apc-checkout-page .select2-container--default .select2-selection--single {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    height: 44px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    outline: none !important;
    display: flex !important;
    align-items: center !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single:hover,
.apc-checkout-page .select2-container--default .select2-selection--single:hover {
    border-color: #cbd5e1 !important;
}

.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
.apc-checkout-page .select2-container--default.select2-container--focus .select2-selection--single,
.apc-checkout-page .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #0f172a !important;
    box-shadow: inset 0 0 0 1px #0f172a !important;
    outline: none !important;
    background-color: #ffffff !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered,
.apc-checkout-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px !important;
    color: #0f172a !important;
    padding-left: 14px !important;
    padding-right: 36px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__placeholder,
.apc-checkout-page .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow,
.apc-checkout-page .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    right: 12px !important;
    width: 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 16px 16px !important;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b,
.apc-checkout-page .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none !important;
}

.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow,
.apc-checkout-page .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow {
    transform: rotate(180deg) !important;
}

/* Select2 Dropdown Floating Menu Panel */
.select2-dropdown,
.woocommerce-checkout .select2-dropdown,
.apc-checkout-page .select2-dropdown,
body.apc-checkout-page .select2-container--default .select2-dropdown {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden !important;
    margin-top: 4px !important;
    z-index: 999999 !important;
    font-family: inherit !important;
}

.select2-dropdown--above,
.woocommerce-checkout .select2-dropdown--above,
.apc-checkout-page .select2-dropdown--above,
body.apc-checkout-page .select2-container--default .select2-dropdown--above {
    margin-top: -4px !important;
    border-radius: 10px !important;
}

/* Select2 Search Box (Hidden for Delivery/Shipping Country, Enabled for Billing Country) */
.select2-container--open.apc-select2-no-search .select2-search--dropdown,
.select2-container:has(#select2-shipping_country-results) .select2-search--dropdown {
    display: none !important;
}

.select2-container--default .select2-search--dropdown,
.woocommerce-checkout .select2-search--dropdown,
.apc-checkout-page .select2-search--dropdown {
    padding: 10px 12px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.select2-search--dropdown .select2-search__field,
.select2-container--default .select2-search--dropdown .select2-search__field,
.woocommerce-checkout .select2-search--dropdown .select2-search__field,
.apc-checkout-page .select2-search--dropdown .select2-search__field,
body .select2-container .select2-search--dropdown .select2-search__field {
    width: 100% !important;
    height: 38px !important;
    padding: 0 12px 0 34px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiM5NGEzYjgiIHN0cm9rZS13aWR0aD0iMi41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxjaXJjbGUgY3g9IjExIiBjeT0iMTEiIHI9IjciLz48bGluZSB4MT0iMjEiIHkxPSIyMSIgeDI9IjE2LjUiIHkyPSIxNi41Ii8+PC9zdmc+") !important;
    background-repeat: no-repeat !important;
    background-position: 10px center !important;
    background-size: 15px 15px !important;
    font-size: 0.86rem !important;
    color: #0f172a !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.select2-search--dropdown .select2-search__field:focus,
.select2-container--default .select2-search--dropdown .select2-search__field:focus,
.woocommerce-checkout .select2-search--dropdown .select2-search__field:focus,
.apc-checkout-page .select2-search--dropdown .select2-search__field:focus,
body .select2-container .select2-search--dropdown .select2-search__field:focus {
    border-color: #0f172a !important;
    box-shadow: inset 0 0 0 1px #0f172a !important;
    outline: none !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiMwZjE3MmEiIHN0cm9rZS13aWR0aD0iMi41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxjaXJjbGUgY3g9IjExIiBjeT0iMTEiIHI9IjciLz48bGluZSB4MT0iMjEiIHkxPSIyMSIgeDI9IjE2LjUiIHkyPSIxNi41Ii8+PC9zdmc+") !important;
    background-repeat: no-repeat !important;
    background-position: 10px center !important;
    background-size: 15px 15px !important;
}

/* Select2 Results Options */
.select2-container--default .select2-results > .select2-results__options,
.woocommerce-checkout .select2-results > .select2-results__options,
.apc-checkout-page .select2-results > .select2-results__options {
    padding: 6px !important;
    max-height: 240px !important;
    overflow-y: auto !important;
}

.select2-container--default .select2-results__option,
.woocommerce-checkout .select2-results__option,
.apc-checkout-page .select2-results__option {
    padding: 9px 12px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    border-radius: 6px !important;
    margin-bottom: 2px !important;
    transition: background-color 0.12s ease, color 0.12s ease !important;
    cursor: pointer !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted,
.woocommerce-checkout .select2-results__option--highlighted[aria-selected],
.woocommerce-checkout .select2-results__option--highlighted,
.apc-checkout-page .select2-results__option--highlighted[aria-selected],
.apc-checkout-page .select2-results__option--highlighted {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

.select2-container--default .select2-results__option[aria-selected="true"],
.woocommerce-checkout .select2-results__option[aria-selected="true"],
.apc-checkout-page .select2-results__option[aria-selected="true"] {
    background-color: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 600 !important;
}

.select2-container--default .select2-results__option[aria-selected="true"].select2-results__option--highlighted,
.woocommerce-checkout .select2-results__option[aria-selected="true"].select2-results__option--highlighted,
.apc-checkout-page .select2-results__option[aria-selected="true"].select2-results__option--highlighted {
    background-color: #e2e8f0 !important;
    color: #0f172a !important;
}

/* Custom Scrollbar for Results */
.select2-container--default .select2-results > .select2-results__options::-webkit-scrollbar,
.woocommerce-checkout .select2-results > .select2-results__options::-webkit-scrollbar {
    width: 6px;
}

.select2-container--default .select2-results > .select2-results__options::-webkit-scrollbar-track,
.woocommerce-checkout .select2-results > .select2-results__options::-webkit-scrollbar-track {
    background: transparent;
}

.select2-container--default .select2-results > .select2-results__options::-webkit-scrollbar-thumb,
.woocommerce-checkout .select2-results > .select2-results__options::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

.select2-container--default .select2-results > .select2-results__options::-webkit-scrollbar-thumb:hover,
.woocommerce-checkout .select2-results > .select2-results__options::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Shipping Method Card (Modern Shopify Pattern) */
.apc-shipping-method-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #0f172a;
    border-radius: 8px;
    padding: 14px 18px;
    background: #ffffff;
    margin-top: 6px;
    box-sizing: border-box;
    width: 100%;
}

.apc-shipping-method-radio-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.apc-shipping-radio-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 5.5px solid #0f172a;
    background: #ffffff;
    display: inline-block;
    box-sizing: border-box;
    flex-shrink: 0;
}

.apc-shipping-method-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.apc-shipping-method-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}

.apc-shipping-method-subtitle {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.3;
}

.apc-shipping-method-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.apc-shipping-method-price.is-free {
    color: #16a34a;
}

.apc-shipping-notice-box,
.apc-shipping-fields-wrap,
.apc-checkout-page #sky-header-optin,
.apc-checkout-page .sky-header-optin,
.woocommerce-checkout #sky-header-optin,
.woocommerce-checkout .sky-header-optin,
.apc-checkout-page .sky-spb-top-banner,
.woocommerce-checkout .sky-spb-top-banner,
.apc-checkout-page #sky-b2g1-top-banner,
.woocommerce-checkout #sky-b2g1-top-banner,
.apc-checkout-page .announcement-bar,
.woocommerce-checkout .announcement-bar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* Payment Section (Shopify Box Style) */
.apc-payment-subtitle {
    font-size: 0.8125rem;
    color: #6b7280;
}

.woocommerce-checkout #payment,
.woocommerce-checkout-payment {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-checkout #payment .place-order {
    padding: 0 !important;
    margin: 16px 0 0 0 !important;
    border: none !important;
    background: transparent !important;
}

.woocommerce-checkout-payment ul.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.woocommerce-checkout-payment ul.wc_payment_methods li.wc_payment_method {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 16px 18px;
    margin: 0;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    cursor: pointer;
    transition: background 0.15s ease;
}

.woocommerce-checkout-payment ul.wc_payment_methods li.wc_payment_method:last-child {
    border-bottom: none;
}

.woocommerce-checkout-payment ul.wc_payment_methods li.wc_payment_method:hover,
.woocommerce-checkout-payment ul.wc_payment_methods li.wc_payment_method:has(input:checked) {
    background: #f9fafb;
}

.woocommerce-checkout-payment ul.wc_payment_methods li.wc_payment_method input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    border: 1.5px solid #d1d5db !important;
    border-radius: 50% !important;
    margin: 0 12px 0 0 !important;
    padding: 0 !important;
    outline: none !important;
    cursor: pointer !important;
    display: grid !important;
    place-content: center !important;
    background: #ffffff !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease !important;
}

.woocommerce-checkout-payment ul.wc_payment_methods li.wc_payment_method input[type="radio"]:hover {
    border-color: #9ca3af !important;
}

.woocommerce-checkout-payment ul.wc_payment_methods li.wc_payment_method input[type="radio"]:checked {
    border-color: #111827 !important;
    background: #ffffff !important;
}

.woocommerce-checkout-payment ul.wc_payment_methods li.wc_payment_method input[type="radio"]:checked::before {
    content: "" !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #111827 !important;
}

.woocommerce-checkout-payment ul.wc_payment_methods li.wc_payment_method > label {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1 !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    color: #111827 !important;
    cursor: pointer !important;
    margin: 0 !important;
    user-select: none !important;
}

.woocommerce-checkout-payment ul.wc_payment_methods li.wc_payment_method > label img {
    max-height: 22px !important;
    width: auto !important;
    margin-left: 8px !important;
}

.woocommerce-checkout-payment div.payment_box {
    width: 100% !important;
    flex-basis: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    padding: 14px 16px !important;
    margin: 14px 0 2px 0 !important;
    font-size: 0.8125rem !important;
    line-height: 1.5 !important;
    color: #4b5563 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.woocommerce-checkout-payment div.payment_box::before,
.woocommerce-checkout-payment div.payment_box:before,
.woocommerce-checkout-payment div.payment_box::after,
.woocommerce-checkout-payment div.payment_box:after {
    display: none !important;
    content: none !important;
    border: none !important;
}

.woocommerce-checkout-payment div.payment_box p {
    margin: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
}

.woocommerce-checkout-payment div.payment_box p + p {
    margin-top: 8px !important;
}

.woocommerce-privacy-policy-text {
    font-size: 0.75rem !important;
    color: #6b7280 !important;
    line-height: 1.45 !important;
    margin: 16px 0 16px 0 !important;
}

.woocommerce-privacy-policy-text a {
    color: #111827 !important;
    text-decoration: underline !important;
}

/* Card Brands Strip inside Payment Label */
.woocommerce-checkout-payment .payment_method_stripe label::after,
.woocommerce-checkout-payment .payment_method_woocommerce_payments label::after {
    content: '💳 Visa • Mastercard • AMEX';
    margin-left: auto;
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 400;
}

/* Place Order Button (Matches Coupon Apply Button #111827) */
#place_order {
    width: 100% !important;
    min-height: 52px !important;
    background: #111827 !important;
    color: #ffffff !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    border-radius: 8px !important;
    border: 1px solid #111827 !important;
    padding: 14px 24px !important;
    cursor: pointer !important;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

#place_order:hover {
    background: #1f2937 !important;
    border-color: #1f2937 !important;
    transform: none !important;
}

#place_order:active {
    background: #030712 !important;
    border-color: #030712 !important;
}

.woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 16px;
    font-size: 0.8125rem;
    color: #6b7280;
}

.woocommerce-terms-and-conditions-wrapper a {
    color: #005bd3;
    text-decoration: underline;
}

/* Microcopy Reassurance & Policy Links (Left Column Bottom) */
.apc-checkout-reassurance-wrap,
.apc-checkout-microcopy {
    display: none !important;
}

.apc-checkout-policy-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    font-size: 0.75rem;
}

.apc-checkout-policy-links a {
    color: #005bd3;
    text-decoration: none;
    transition: color 0.15s ease;
}

.apc-checkout-policy-links a:hover {
    color: #004dc0;
    text-decoration: underline;
}

.apc-policy-sep {
    color: #d1d5db;
    font-size: 0.65rem;
}

/* RIGHT COLUMN: Full-Bleed Sticky Order Summary */
.apc-checkout-sidebar {
    background: #f6f7f9;
    position: relative;
    padding: 36px 24px 60px 48px;
    box-sizing: border-box;
}

.apc-checkout-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 200vw;
    background: #f6f7f9;
    border-left: 1px solid #e5e7eb;
    z-index: 0;
    pointer-events: none;
}

.apc-checkout-sidebar > * {
    position: relative;
    z-index: 1;
}

.apc-checkout-sidebar-sticky {
    position: sticky;
    top: 88px;
}

/* Product Items List */
.apc-checkout-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.apc-checkout-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 16px;
    align-items: center;
}

.apc-checkout-item-image-wrap {
    width: 64px;
    height: 64px;
    position: relative;
    flex-shrink: 0;
}

.apc-checkout-item-image {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 3px;
    box-sizing: border-box;
}

.apc-checkout-item-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    display: block;
}

.apc-checkout-item-qty-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #4b5563;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    min-width: 21px;
    height: 21px;
    padding: 0 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    z-index: 2;
    line-height: 1;
}

.apc-checkout-item-details {
    min-width: 0;
}

.apc-checkout-item-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    line-height: 1.35;
    word-break: break-word;
}

.apc-checkout-item-details img,
.apc-checkout-item-title img,
.apc-checkout-item-title .sa-fw-checkout-product__thumbnail {
    display: none !important;
}

.apc-checkout-item-details dl.variation {
    margin: 3px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 0.75rem;
    color: #6b7280;
}

.apc-checkout-item-details dl.variation dt {
    font-weight: 500;
}

.apc-checkout-item-details dl.variation dd {
    margin: 0;
}

.apc-checkout-item-price {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
}

/* Bundled Items Nesting & Badges in Checkout */
.apc-checkout-item--bundled-subitem {
    margin-left: 18px;
    padding-left: 14px;
    border-left: 2px solid #e5e7eb;
    grid-template-columns: 50px 1fr auto;
    gap: 12px;
}

.apc-checkout-item--bundled-subitem .apc-checkout-item-image-wrap,
.apc-checkout-item--bundled-subitem .apc-checkout-item-image {
    width: 50px;
    height: 50px;
}

.apc-checkout-item--bundled-subitem .apc-checkout-item-title {
    font-size: 0.8125rem;
    color: #4b5563;
}

.apc-bundle-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 3px 0 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    line-height: 1.2;
    transition: color 0.15s ease;
}

.apc-bundle-toggle-btn:hover {
    color: #111827;
}

.apc-toggle-chevron {
    transition: transform 0.2s ease;
    display: inline-block;
}

.apc-bundle-toggle-btn.active .apc-toggle-chevron {
    transform: rotate(180deg);
}

.apc-bundle-toggle-btn:not(.active) .apc-toggle-chevron {
    transform: rotate(0deg);
}

/* Inline Coupon Box (Shopify Style) */
.apc-checkout-coupon-box {
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.apc-coupon-input-group {
    display: flex;
    gap: 10px;
}

.apc-coupon-input {
    flex: 1;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    font-size: 0.875rem;
    font-family: inherit;
    text-transform: uppercase;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.apc-coupon-input:focus {
    border-color: #005bd3;
    box-shadow: 0 0 0 1px #005bd3;
    outline: none;
}

.apc-coupon-input::placeholder {
    text-transform: none;
    color: #9ca3af;
}

.apc-coupon-btn {
    height: 44px;
    padding: 0 18px;
    background: #f3f4f6;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.apc-coupon-btn:hover {
    background: #e5e7eb;
    color: #111827;
}

.apc-coupon-btn.is-active,
.apc-coupon-input:not(:placeholder-shown) + .apc-coupon-btn {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.apc-coupon-btn.is-active:hover,
.apc-coupon-input:not(:placeholder-shown) + .apc-coupon-btn:hover {
    background: #1f2937;
    border-color: #1f2937;
}

.apc-coupon-feedback {
    margin-top: 8px;
    font-size: 0.8125rem;
    padding: 6px 10px;
    border-radius: 6px;
}

.apc-coupon-feedback.is-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.apc-coupon-feedback.is-success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* Applied Coupon Tags */
.apc-applied-coupons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding: 0;
    border-bottom: none;
}

.apc-applied-coupon-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
}

.apc-coupon-tag-code {
    font-weight: 600;
    color: #111827;
}

.apc-remove-coupon-btn {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 0 2px;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s ease;
}

.apc-remove-coupon-btn:hover {
    color: #ef4444;
}

/* Modern Shipping Protection Card (Shopify Style) */
.apc-shipping-protection-wrap {
    padding: 16px 0 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 4px;
}

.apc-shipping-protection-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    user-select: none;
    box-sizing: border-box;
    width: 100%;
}

.apc-shipping-protection-card:hover {
    border-color: #cbd5e1;
}

.apc-shipping-protection-card.is-active {
    border-color: #0f172a;
    background: #ffffff;
}

.apc-shipping-protection-card input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
}

.apc-sp-body {
    flex: 1;
    min-width: 0;
}

.apc-sp-top-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.apc-sp-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}

.apc-sp-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
}

.apc-sp-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 3px;
    line-height: 1.4;
}

.shipping-protection-row {
    display: none !important;
}

/* Totals Breakdown Table (Shopify Style) */
.apc-checkout-totals-table {
    padding: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.apc-totals-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #4b5563;
}

.apc-totals-label {
    color: #4b5563;
}

.apc-totals-value {
    font-weight: 500;
    color: #111827;
}

.apc-totals-shipping .apc-totals-value,
.apc-totals-shipping .apc-totals-value *,
.apc-totals-shipping .woocommerce-Price-amount,
.apc-totals-shipping .woocommerce-Price-amount bdi {
    font-weight: 400 !important;
    color: #111827 !important;
}

.apc-totals-shipping th,
.apc-totals-shipping .woocommerce-shipping-totals th {
    display: none !important;
}

.apc-shipping-enter-hint {
    color: #6b7280;
    font-size: 0.8125rem;
    font-weight: 400;
}

.apc-totals-discount .apc-totals-value,
.apc-totals-discount .apc-totals-label {
    color: #059669;
}

.apc-totals-grand-total {
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.apc-totals-grand-total .apc-totals-label {
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
}

.apc-totals-grand-price-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.apc-totals-currency {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 0.04em;
}

.apc-totals-grand-total .apc-totals-value {
    font-size: 1.375rem;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.02em;
}

.apc-totals-taxes-microcopy {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: right;
    margin-top: -6px;
}

/* APC Clinical Assurance Card in Sidebar */
.apc-checkout-assurance-card {
    margin-top: 28px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.apc-assurance-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.apc-assurance-badge svg {
    color: #be9625;
}

.apc-assurance-text {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.45;
    margin: 0;
}

/* Google Places Autocomplete Dropdown Styling */
.pac-container {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    margin-top: 4px;
    z-index: 999999;
}

.pac-item {
    padding: 10px 14px;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    border-top: 1px solid #f3f4f6;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover,
.pac-item-selected {
    background-color: #f0f7ff;
    color: #005bd3;
}

.pac-item-query {
    font-weight: 600;
    color: #111827;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .apc-mobile-summary-bar {
        display: block;
    }

    .apc-checkout-layout {
        display: flex;
        flex-direction: column;
    }

    .apc-checkout-sidebar {
        display: none;
        order: -1;
        padding: 24px 20px;
        background: #f6f7f9;
        border-bottom: 1px solid #e5e7eb;
    }

    .apc-checkout-sidebar::before {
        display: none;
    }

    .apc-checkout-sidebar-sticky {
        position: static;
    }

    .apc-checkout-sidebar.is-open {
        display: block;
        animation: apcSlideDown 0.25s ease-out;
    }

    .apc-checkout-main {
        padding: 28px 20px 48px;
    }

    .apc-checkout-header-inner {
        padding: 14px 20px;
    }
}

@keyframes apcSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .apc-delivery-fields-grid {
        grid-template-columns: 1fr;
    }

    .apc-delivery-fields-grid .form-row-wide,
    .apc-delivery-fields-grid .form-row-first,
    .apc-delivery-fields-grid .form-row-last,
    .apc-delivery-fields-grid .apc-field-first-name,
    .apc-delivery-fields-grid .apc-field-last-name,
    .apc-delivery-fields-grid .apc-field-suburb,
    .apc-delivery-fields-grid .apc-field-state,
    .apc-delivery-fields-grid .apc-field-postcode,
    .apc-delivery-fields-grid .apc-field-country,
    .apc-delivery-fields-grid .apc-field-address-1,
    .apc-delivery-fields-grid .apc-field-address-2,
    .apc-delivery-fields-grid .apc-field-phone {
        grid-column: span 1 !important;
    }
}

/* Billing address toggle section */
.apc-billing-address-section {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
    pointer-events: none;
}

.apc-billing-address-section.is-visible {
    max-height: 800px;
    opacity: 1;
    margin-top: 20px;
    pointer-events: auto;
}

.apc-billing-section-header {
    padding-top: 4px;
    margin-bottom: 8px;
}

.apc-checkout-subheading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.apc-billing-fields-grid {
    margin-top: 0;
}

/* Hide default WooCommerce top checkout coupon banner */
.woocommerce-form-coupon-toggle,
.woocommerce-form-coupon,
form.checkout_coupon {
    display: none !important;
}

/* Wide container for COA Library page */
.page:has(.coa-library-wrapper) .container,
.container:has(.coa-library-wrapper),
.page-id-266 .container {
    max-width: var(--container-wide) !important;
}

.apc-policy-page {
    background: #ffffff;
    padding-bottom: 70px;
}

.apc-policy-page-section {
    padding-top: 0 !important;
}

.apc-policy-page .page-title {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-dark);
    text-align: center;
}

.apc-policy-content-wrap {
    max-width: 860px;
    margin: 0 auto 40px;
}

.apc-policy-body {
    background: var(--canvas);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
    .apc-policy-body {
        padding: 28px 20px;
    }
}

.apc-policy-section {
    margin-bottom: 40px;
}

.apc-policy-section:last-child {
    margin-bottom: 0;
}

.apc-policy-heading {
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 14px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.apc-policy-submeta {
    background: var(--gold-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 28px;
}

.apc-policy-submeta p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.apc-policy-submeta a {
    color: var(--gold-accessible);
    text-decoration: none;
    font-weight: 600;
}

.apc-policy-submeta a:hover {
    text-decoration: underline;
}

.apc-policy-item {
    margin-bottom: 28px;
}

.apc-policy-item:last-child {
    margin-bottom: 0;
}

.apc-policy-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px;
    line-height: 1.4;
}

.apc-policy-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 18px 0 8px;
    line-height: 1.4;
}

.apc-policy-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 14px;
}

.apc-policy-item p:last-child {
    margin-bottom: 0;
}

.apc-policy-item ul {
    margin: 0 0 16px 20px;
    padding: 0;
}

.apc-policy-item li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 8px;
}

.apc-policy-item li:last-child {
    margin-bottom: 0;
}

.apc-policy-divider {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 44px 0;
}

.apc-policy-footer-section {
    margin-top: 36px;
    padding-top: 24px;
}

.apc-policy-contact-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px;
}

.apc-policy-footer-section p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 12px;
}

.apc-policy-footer-section a {
    color: var(--gold-accessible);
    text-decoration: none;
    font-weight: 600;
}

.apc-policy-footer-section a:hover {
    text-decoration: underline;
}

.apc-policy-copyright {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.apc-policy-final-disclaimer {
    font-size: 0.88rem;
    color: var(--text-muted);
    background: var(--surface-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-top: 18px !important;
}

/* ==========================================================================
   CONTACT PAGE STYLING
   ========================================================================== */

.apc-contact-page {
    background: #ffffff;
    padding-bottom: 70px;
}

.apc-contact-section {
    padding-top: 0 !important;
}

.apc-contact-page .page-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-dark);
    text-align: center;
}

.apc-contact-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    text-align: center;
    max-width: 680px;
    margin: 0 auto 36px;
}

.apc-contact-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 32px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* Form Card */
.apc-contact-form-card {
    background: var(--canvas);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
}

.apc-contact-card-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.apc-contact-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.apc-contact-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Form Controls */
.apc-contact-form .apc-form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.apc-contact-form .apc-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.apc-contact-form label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.apc-required {
    color: var(--gold-accessible);
    font-weight: 700;
}

.apc-optional {
    font-size: 0.76rem;
    font-weight: 400;
    color: var(--text-faint);
}

.apc-contact-form input[type="text"],
.apc-contact-form input[type="email"],
.apc-contact-form select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: var(--canvas);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.92rem;
    font-family: inherit;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    outline: none;
    box-sizing: border-box;
}

.apc-contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--canvas);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.92rem;
    font-family: inherit;
    min-height: 120px;
    line-height: 1.6;
    outline: none;
    box-sizing: border-box;
    resize: vertical;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.apc-contact-form input:hover,
.apc-contact-form select:hover,
.apc-contact-form textarea:hover {
    border-color: var(--border-strong);
}

.apc-contact-form input:focus,
.apc-contact-form select:focus,
.apc-contact-form textarea:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px var(--gold-glow);
    background: var(--canvas);
}

.apc-contact-form input::placeholder,
.apc-contact-form textarea::placeholder {
    color: var(--text-faint);
}

/* Custom select styling */
.apc-select-wrapper {
    position: relative;
    width: 100%;
}

.apc-select-wrapper select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.apc-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.apc-select-arrow svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Form Actions & Status */
.apc-form-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.apc-contact-submit-btn {
    height: 50px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.apc-contact-submit-btn .btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(190, 150, 37, 0.35);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: apcSpin 0.7s linear infinite;
}

.apc-contact-submit-btn.is-loading .btn-spinner {
    display: inline-block;
}

.apc-contact-submit-btn.is-loading {
    opacity: 0.85;
    pointer-events: none;
}

@keyframes apcSpin {
    to { transform: rotate(360deg); }
}

.apc-form-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.apc-form-security-note svg {
    width: 15px;
    height: 15px;
    color: var(--gold-accessible);
    flex-shrink: 0;
}

.apc-form-status {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.apc-form-status.is-success {
    background: var(--success-surface);
    color: #065F46;
    border: 1px solid var(--success-border);
}

.apc-form-status.is-error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Sidebar Channels */
.apc-contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.apc-channel-card {
    background: var(--canvas);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    min-height: 220px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.apc-channel-card--telegram {
    background: var(--canvas);
    border-color: var(--border-subtle);
}

.apc-channel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.apc-channel-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: #0284C7;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apc-channel-icon-wrap svg {
    width: 22px;
    height: 22px;
}

.apc-channel-icon-wrap--gold {
    background: var(--surface-muted);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.apc-channel-icon-wrap--neutral {
    background: var(--surface-muted);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    box-shadow: none;
}

.apc-channel-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E0F2FE;
    color: #0369A1;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.apc-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0EA5E9;
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7);
    animation: apcPulse 2s infinite;
}

@keyframes apcPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(14, 165, 233, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}

.apc-channel-subtext {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.apc-channel-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.apc-channel-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 16px;
}

.apc-channel-action-btn--telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    background: #0284C7;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
    margin-top: auto;
}

.apc-channel-action-btn--telegram svg {
    width: 17px;
    height: 17px;
    transition: transform var(--transition-fast);
}

.apc-channel-action-btn--telegram:hover {
    background: #0369A1;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.apc-channel-action-btn--telegram:hover svg {
    transform: translateX(3px);
}

.apc-channel-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-accessible);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    word-break: break-all;
    transition: color var(--transition-fast);
    margin-top: auto;
}

.apc-channel-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.apc-channel-link:hover {
    color: var(--gold-primary);
    text-decoration: underline;
}

.apc-channel-link:hover svg {
    transform: translateX(3px);
}

/* Operational hours table in card */
.apc-ops-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 14px;
}

.apc-ops-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.86rem;
    gap: 12px;
}

.apc-ops-label {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.apc-ops-val {
    color: var(--text-secondary);
    text-align: right;
}

/* Quick Help Box */
.apc-contact-quick-help-section {
    padding: 0 0 20px;
}

.apc-quick-help-box {
    background: var(--canvas);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow-sm);
}

.apc-quick-help-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.apc-quick-help-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.apc-quick-help-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 960px) {
    .apc-contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .apc-quick-help-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }

    .apc-quick-help-actions {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .apc-contact-hero {
        padding: 40px 0 24px;
    }

    .apc-contact-form-card {
        padding: 26px 18px;
    }

    .apc-contact-form .apc-form-row-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .apc-ops-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .apc-ops-val {
        text-align: left;
    }
}

/* ==========================================================================
   ABOUT & COMPLIANCE PAGE STYLING
   ========================================================================== */

.apc-about-compliance-page {
    background: #ffffff;
    padding-bottom: 70px;
}

.apc-about-compliance-section {
    padding-top: 0 !important;
}

.apc-about-compliance-page .page-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-dark);
    text-align: center;
}

.apc-about-compliance-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}

.apc-compliance-overview-card {
    background: var(--canvas);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 42px 40px;
    box-shadow: var(--shadow-sm);
    max-width: 1100px;
    margin: 0 auto 40px;
}

.apc-compliance-overview-header {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.apc-compliance-overview-title {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 8px 0 14px;
    letter-spacing: -0.01em;
}

.apc-compliance-overview-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.apc-compliance-overview-intro:last-child {
    margin-bottom: 0;
}

.apc-compliance-detail-box {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.95rem;
}

.apc-compliance-detail-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.apc-compliance-detail-box p {
    margin-bottom: 16px;
}

.apc-compliance-trust-points {
    background: var(--surface-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-top: 24px;
}

.apc-compliance-trust-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.apc-compliance-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.apc-compliance-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.apc-check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold-surface);
    color: var(--gold-accessible);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.apc-check-icon svg {
    width: 14px;
    height: 14px;
}

/* 4-Pillar Grid */
.apc-compliance-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.apc-compliance-card {
    min-height: auto;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.apc-compliance-card .apc-channel-header {
    justify-content: center;
    width: 100%;
}

.apc-compliance-card .apc-channel-desc {
    margin-bottom: 0;
}

/* 3-Standard Grid */
.apc-compliance-standards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.apc-standard-card {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.apc-standard-card .apc-channel-icon-wrap {
    margin-bottom: 18px;
}

.apc-standard-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.apc-standard-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    max-width: 300px;
}

@media (max-width: 1024px) {
    .apc-compliance-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .apc-compliance-standards-grid {
        grid-template-columns: 1fr;
    }

    .apc-compliance-overview-card {
        padding: 28px 20px;
    }
}

@media (max-width: 640px) {
    .apc-compliance-pillars-grid {
        grid-template-columns: 1fr;
    }

    .apc-compliance-trust-points {
        padding: 20px 16px;
    }
}

/* ==========================================================================
   21. LUXURY CUSTOM CART PAGE (MATCHING CHECKOUT & HOMEPAGE DESIGN SYSTEM)
   ========================================================================== */

.woocommerce-cart .site-main,
.apc-cart-main-site,
.apc-cart-section {
    background: #FFFFFF;
    padding: 36px 0 40px;
}

.woocommerce-cart .site-main .container {
    max-width: 1240px;
}

.woocommerce-cart .page-title,
.woocommerce-cart .entry-header {
    display: none !important;
}

.apc-cart-page-wrap {
    width: 100%;
}

/* Shipping Goal Banner (Top of Cart) */
.apc-cart-shipping-banner {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(11, 17, 29, 0.04);
}

.apc-cart-shipping-banner:has(.apc-free-shipping-unlocked) {
    padding: 14px 20px;
}

.apc-cart-shipping-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #1e293b;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.apc-cart-shipping-text:last-child,
.apc-cart-shipping-text--centered {
    margin-bottom: 0;
    justify-content: center;
    text-align: center;
}

.apc-cart-shipping-banner:has(.apc-free-shipping-unlocked) .apc-shipping-icon {
    display: none !important;
}

.apc-shipping-icon {
    width: 18px;
    height: 18px;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.apc-free-shipping-unlocked {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #059669;
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
    width: 100%;
}

.apc-free-shipping-unlocked svg {
    display: none !important;
}

.apc-cart-progress-track {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.apc-cart-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #be9625, #dfbe58);
    border-radius: 999px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2-Column Cart Layout */
.apc-cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: flex-start;
}

/* Left Column: Cart Items List */
.apc-cart-items-col {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 30px;
    box-shadow: 0 1px 3px rgba(11, 17, 29, 0.04);
}

.apc-cart-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 20px;
}

.apc-cart-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.015em;
    margin: 0;
}

.apc-cart-continue-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold-accessible);
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.apc-cart-continue-link:hover {
    color: var(--gold-hover);
    transform: translateX(2px);
}

.apc-cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Individual Cart Item Card */
.apc-cart-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 18px;
    padding-top: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    transition: opacity 0.2s ease;
}

.apc-cart-item:first-child {
    padding-top: 4px;
}

.apc-cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.apc-cart-item-image-wrap {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.apc-cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-sizing: border-box;
    overflow: hidden;
}

.apc-cart-item-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.apc-cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.apc-cart-item-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.apc-cart-item-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.apc-cart-item-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
}

.apc-cart-item-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.apc-cart-item-title a:hover {
    color: var(--gold-accessible);
}

.apc-cart-item-line-total {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.apc-free-badge {
    display: inline-block;
    padding: 3px 8px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.apc-cart-item-unit-price {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 3px;
}

.apc-each-text {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Bundled Subitems in Cart Page */
.apc-cart-item--bundled-subitem {
    margin-left: 20px;
    padding-left: 18px;
    padding-top: 14px;
    padding-bottom: 14px;
    border-left: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    background: transparent;
    border-radius: 0;
    margin-top: 0;
    margin-bottom: 0;
    grid-template-columns: 56px 1fr;
    gap: 14px;
}

.apc-cart-item--bundled-subitem:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.apc-cart-item--bundled-subitem .apc-cart-item-image-wrap,
.apc-cart-item--bundled-subitem .apc-cart-item-image {
    width: 56px;
    height: 56px;
    background: #ffffff;
    border-radius: 8px;
}

.apc-cart-item--bundled-subitem .apc-cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.apc-cart-item--bundled-subitem .apc-cart-item-title {
    font-size: 0.875rem;
    color: #475569;
}

.apc-cart-bundle-toggle {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
}

.apc-cart-bundle-toggle:hover {
    color: #0f172a;
}

/* Controls: Stepper and Remove */
.apc-cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    gap: 12px;
}

.apc-cart-qty-readonly {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
}

.apc-cart-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    height: 36px;
    overflow: hidden;
    transition: border-color 0.15s ease, opacity 0.2s ease;
}

.apc-cart-qty-stepper.is-updating {
    opacity: 0.5;
    pointer-events: none;
}

.apc-qty-btn {
    width: 32px;
    height: 34px;
    background: #f8fafc;
    border: none;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.apc-qty-btn:hover {
    background: #e2e8f0;
}

.apc-qty-input {
    width: 38px !important;
    height: 34px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    -moz-appearance: textfield !important;
}

.apc-qty-input::-webkit-outer-spin-button,
.apc-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.apc-cart-item-remove-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s ease;
    cursor: pointer;
}

.apc-cart-item-remove-link:hover {
    color: #ef4444;
}

/* Quick Add Bacteriostatic Water Card */
.apc-cart-upsell-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fafaf9;
    border: 1px dashed #d6d3d1;
    border-radius: 12px;
    padding: 14px 18px;
    margin-top: 24px;
}

.apc-cart-upsell-image {
    width: 54px;
    height: 54px;
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    flex-shrink: 0;
}

.apc-cart-upsell-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.apc-cart-upsell-info {
    flex: 1;
    min-width: 0;
}

.apc-cart-upsell-tag {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold-accessible);
    margin-bottom: 2px;
}

.apc-cart-upsell-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1c1917;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.apc-cart-upsell-price {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #44403c;
    margin-top: 1px;
}

.apc-cart-quick-add-btn {
    padding: 8px 16px;
    font-size: 0.8125rem;
    white-space: nowrap;
    border-radius: 999px;
}

/* Trust Badges Strip */
.apc-cart-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #f1f5f9;
}

.apc-cart-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.apc-trust-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gold-surface);
    color: var(--gold-accessible);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.apc-trust-icon-box svg {
    width: 18px;
    height: 18px;
}

.apc-trust-text {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    line-height: 1.25;
}

.apc-trust-text strong {
    color: #0f172a;
    font-weight: 600;
}

.apc-trust-text span {
    color: #64748b;
}

/* Right Column: Order Summary Card (Matching Checkout Look) */
.apc-cart-sidebar-col {
    position: sticky;
    top: 90px;
}

.apc-cart-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 24px;
    box-shadow: 0 1px 3px rgba(11, 17, 29, 0.04);
}

.apc-summary-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.apc-cart-coupon-box {
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 16px;
}

.apc-cart-totals-breakdown {
    padding-top: 0;
}

.apc-cart-checkout-btn-wrap {
    margin-top: 22px;
}

.apc-checkout-primary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.1);
}

.apc-checkout-primary-btn:hover {
    background: #1e293b;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.apc-checkout-primary-btn svg {
    transition: transform 0.15s ease;
}

.apc-checkout-primary-btn:hover svg {
    transform: translateX(3px);
}

.apc-cart-security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 14px;
}

.apc-cart-security-badge svg {
    color: #059669;
}

/* Cross-sells / Recommended Peptides Carousel */
.apc-cart-cross-sells-section {
    margin-top: 48px;
}

/* Empty Cart Page Styling */
.apc-cart-empty-page-wrap {
    width: 100%;
}

.apc-cart-empty-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 56px 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(11, 17, 29, 0.04);
    max-width: 720px;
    margin: 0 auto;
}

.apc-cart-empty-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gold-surface);
    color: var(--gold-accessible);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.apc-cart-empty-icon {
    width: 34px;
    height: 34px;
}

.apc-cart-empty-title {
    font-size: 1.625rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}

.apc-cart-empty-desc {
    font-size: 0.9375rem;
    color: #64748b;
    max-width: 480px;
    margin: 0 auto 28px;
    line-height: 1.5;
}

.apc-cart-empty-actions {
    display: inline-flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.apc-empty-categories-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    text-align: center;
}

.apc-empty-cart-categories {
    margin-bottom: 48px;
}

/* Responsive Breakpoints for Cart */
@media (max-width: 960px) {
    .apc-cart-layout {
        grid-template-columns: 1fr;
    }

    .apc-cart-sidebar-col {
        position: static;
    }

    .apc-cart-trust-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .apc-cart-items-col {
        padding: 20px 16px;
    }

    .apc-cart-summary-card {
        padding: 20px 16px;
    }

    .apc-cart-item {
        grid-template-columns: 64px 1fr;
        gap: 12px;
    }

    .apc-cart-item-image-wrap,
    .apc-cart-item-image {
        width: 64px;
        height: 64px;
    }

    .apc-cart-item-title-row {
        flex-direction: column;
        gap: 4px;
    }

    .apc-cart-item-line-total {
        font-size: 0.9375rem;
    }

    .apc-cart-upsell-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .apc-cart-upsell-action {
        width: 100%;
    }

    .apc-cart-upsell-action .apc-cart-quick-add-btn {
        width: 100%;
    }
}

/* ==========================================================================
   ORDER RECEIVED / THANK YOU PAGE (SHOPIFY-STYLE LAYOUT)
   ========================================================================== */

.apc-order-received-container {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #111827;
}

/* Confirmation Hero Header */
.apc-order-header-block {
    margin-bottom: 24px;
}

.apc-order-header-badge {
    display: flex;
    align-items: center;
    gap: 16px;
}

.apc-order-header-text {
    min-width: 0;
}

.apc-order-num-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 2px;
    letter-spacing: 0.02em;
}

.apc-order-thank-heading {
    font-size: 1.625rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0;
}

.apc-order-status-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.apc-order-status-icon--success {
    background: #ecfdf5;
    border: 2px solid #a7f3d0;
    color: #059669;
}

.apc-order-status-icon--failed {
    background: #fef2f2;
    border: 2px solid #fecaca;
    color: #dc2626;
}

/* Order Section Cards */
.apc-order-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 20px;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

.apc-order-status-card {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.apc-order-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin: 0 0 6px 0;
}

.apc-order-card-desc {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.apc-order-card-desc strong {
    color: #0f172a;
    font-weight: 600;
}

/* Structured Customer Information Sections */
.apc-order-customer-card-header {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.apc-order-customer-card-header .apc-order-card-title {
    margin: 0;
}

.apc-order-customer-sections {
    display: flex;
    flex-direction: column;
}

.apc-order-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
}

.apc-order-info-row--single {
    grid-template-columns: 1fr;
}

.apc-order-info-col {
    min-width: 0;
}

.apc-order-divider {
    border: none;
    border-top: 1px solid #f1f5f9;
    margin: 18px 0;
}

.apc-customer-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin: 0 0 6px 0;
}

.apc-customer-val {
    font-size: 0.9375rem;
    color: #0f172a;
    line-height: 1.5;
    word-break: break-word;
    margin: 0;
}

.apc-customer-val--secondary {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 3px;
}

.apc-customer-address {
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #0f172a;
    margin: 0;
}

/* Payment Instructions Card & Tap-to-Copy Tiles */
.apc-order-payment-card,
.apc-order-gateway-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 20px;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}

.apc-order-payment-card .apc-order-customer-card-header,
.apc-order-gateway-card .apc-order-customer-card-header {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.apc-order-payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

/* Tap to copy tiles */
.apc-copy-tile {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.18s ease;
    position: relative;
    user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.apc-copy-tile:hover {
    background: #ffffff;
    border-color: var(--gold-accessible, #8f6f16);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.apc-copy-tile:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--gold-accessible, #8f6f16);
}

.apc-copy-tile.is-copied {
    background: #f0fdf4 !important;
    border-color: #059669 !important;
}

.apc-copy-val-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
}

.apc-copy-val {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
}

.apc-copy-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 3px 7px;
    border-radius: 6px;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.apc-copy-tile:hover .apc-copy-badge {
    border-color: var(--gold-accessible, #8f6f16);
    color: var(--gold-accessible, #8f6f16);
}

.apc-copy-tile.is-copied .apc-copy-badge {
    border-color: #a7f3d0 !important;
    background: #dcfce7 !important;
    color: #059669 !important;
}

/* Fallback Gateway Output */
.apc-order-gateway-card h2,
.apc-order-gateway-card h3,
.apc-order-gateway-card .wc-bacs-bank-details-heading,
.apc-order-gateway-card .wc-bacs-bank-details-account-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin: 0 0 8px 0;
}

.apc-order-gateway-card p {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 14px 0;
}

.apc-order-gateway-card ul.bacs_details {
    list-style: none;
    padding: 0;
    margin: 14px 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.apc-order-gateway-card ul.bacs_details li {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.apc-order-gateway-card ul.bacs_details li.iban,
.apc-order-gateway-card ul.bacs_details li.bic,
.wc-bacs-bank-details li.iban,
.wc-bacs-bank-details li.bic {
    display: none !important;
}

.apc-order-gateway-card ul.bacs_details strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
    color: #0f172a;
    margin-top: 4px;
    word-break: break-all;
}

/* Failed Order Card */
.apc-order-card--failed {
    background: #fef2f2;
    border-color: #fecaca;
}

.apc-order-failed-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* Footer Action Buttons */
.apc-order-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 16px;
}

.apc-order-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff !important;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.apc-order-primary-btn:hover {
    background: var(--gold-accessible, #8f6f16);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.apc-order-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.apc-order-secondary-btn:hover {
    background: #f8fafc;
}

.apc-order-help-text {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.apc-order-help-text a {
    color: var(--gold-accessible, #8f6f16);
    font-weight: 600;
    text-decoration: none;
}

.apc-order-help-text a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for Order Received */
@media (max-width: 960px) {
    .apc-order-layout {
        grid-template-columns: 1fr;
    }

    .apc-order-info-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .apc-order-footer-actions {
        flex-direction: column-reverse;
        align-items: stretch;
        text-align: center;
    }

    .apc-order-primary-btn {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   RESEARCH NOTICE MODAL (CLEAN HOME PAGE STYLING)
   ========================================================================== */

body.apc-notice-locked {
    overflow: hidden !important;
    touch-action: none;
}

.apc-notice-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.apc-notice-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 17, 29, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: apcNoticeFadeIn 0.25s ease-out forwards;
}

.apc-notice-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 480px;
    z-index: 2;
    margin: auto;
}

.apc-notice-modal-card {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 32px 30px;
    box-shadow: 0 20px 45px -10px rgba(11, 17, 29, 0.16), 0 0 1px 1px rgba(11, 17, 29, 0.05);
    text-align: center;
    animation: apcNoticeSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.apc-notice-header {
    margin-bottom: 14px;
}

.apc-notice-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.apc-notice-body {
    margin-bottom: 24px;
}

.apc-notice-primary-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 14px;
    font-weight: 400;
}

.apc-notice-alert-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 16px;
    margin: 0 auto 16px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius-full);
    color: #B91C1C;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.apc-notice-alert-badge svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    stroke: #DC2626;
}

.apc-notice-agreement-text {
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

.apc-notice-terms-link {
    color: var(--gold-accessible);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.apc-notice-terms-link:hover {
    color: var(--gold-hover);
}

.apc-notice-actions {
    margin-top: 6px;
}

.apc-notice-btn.btn-pill-dark {
    width: 100%;
    justify-content: center;
    padding: 13px 26px;
    font-size: 0.86rem;
    cursor: pointer;
}

.apc-notice-modal-overlay.is-closing .apc-notice-modal-backdrop {
    animation: apcNoticeFadeOut 0.2s ease-in forwards;
}

.apc-notice-modal-overlay.is-closing .apc-notice-modal-card {
    animation: apcNoticeSlideDown 0.2s ease-in forwards;
}

@keyframes apcNoticeFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes apcNoticeFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes apcNoticeSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes apcNoticeSlideDown {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
}

@media (max-width: 520px) {
    .apc-notice-modal-card {
        padding: 28px 20px 24px;
        border-radius: 14px;
    }

    .apc-notice-title {
        font-size: 1.35rem;
    }

    .apc-notice-primary-text {
        font-size: 0.9rem;
    }

    .apc-notice-alert-badge {
        font-size: 0.76rem;
        padding: 6px 12px;
    }

    .apc-notice-agreement-text {
        font-size: 0.8rem;
    }

    .apc-notice-btn.btn-pill-dark {
        padding: 12px 20px;
        font-size: 0.82rem;
    }
}






/* Hide optional text for phone field */
.apc-field-phone label .optional {
    display: none !important;
}

#billing_phone_field label .optional, #shipping_phone_field label .optional { display: none !important; }

form.checkout:not(.processing) .blockUI,
form.checkout:not(.processing) .blockOverlay {
    display: none !important;
    pointer-events: none !important;
}

.apc-phone-error-msg {
    display: none;
    margin-top: 6px;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: #ef4444;
    font-weight: 500;
}

#billing_phone_field.woocommerce-invalid .apc-phone-error-msg {
    display: block;
}


