:root {
    --primary: #2C2420;
    --primary-light: #463A33;
    --primary-dark: #1A1512;
    --secondary: #756657;
    --accent: #B8788A;
    --accent-light: #D29FAA;
    --accent-dark: #94586A;
    --accent-gradient: linear-gradient(135deg, #B8788A, #94586A);
    --accent-secondary: #5C6B4A;
    --footer-bg: #2C2420;
    --success: #2F9E58;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #0d9488;
    --bg-light: #FBF6F0;
    --bg-white: #ffffff;
    --text-primary: #2C2420;
    --text-secondary: #756657;
    --text-muted: #AFA295;
    --border: #EBE0D4;
    --border-light: #F4ECE2;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
    --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,.06), 0 2px 4px -1px rgba(0,0,0,.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
    --radius: 8px;
    --radius-sm: 6px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --transition: all 0.2s ease;
    --transition-slow: all 0.3s ease;
}

* { box-sizing: border-box; }

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

body {
    font-family: var(--font-family);
    background: var(--bg-light);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main { flex: 1; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

/* =========================================
   NAVBAR
   ========================================= */
.navbar-corporate {
    background: var(--bg-white) !important;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 0;
    transition: var(--transition-slow);
}
.navbar-corporate.scrolled {
    box-shadow: var(--shadow-md);
}
.navbar-corporate .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary) !important;
    padding: 0.75rem 0;
    letter-spacing: -0.02em;
}
.navbar-corporate .navbar-brand i {
    color: var(--accent);
    margin-right: 0.5rem;
}
.navbar-corporate .navbar-brand span {
    font-weight: 300;
    color: var(--accent);
}
.navbar-corporate .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 1.25rem 1rem !important;
    transition: var(--transition);
    position: relative;
}
.navbar-corporate .nav-link:hover,
.navbar-corporate .nav-link.active {
    color: var(--accent) !important;
}
.navbar-corporate .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}
.navbar-corporate .nav-link:hover::after,
.navbar-corporate .nav-link.active::after {
    transform: scaleX(1);
}
.navbar-corporate .nav-link i {
    margin-right: 0.35rem;
    font-size: 0.85rem;
}
.navbar-corporate .dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    border-top: 2px solid var(--accent);
    margin-top: 0;
}
.navbar-corporate .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition);
}
.navbar-corporate .dropdown-item:hover {
    background: #F3E4E8;
    color: var(--accent);
}
.navbar-corporate .dropdown-item i {
    width: 1.25rem;
    margin-right: 0.5rem;
    color: var(--text-muted);
}
.navbar-corporate .dropdown-item:hover i {
    color: var(--accent);
}
.navbar-corporate .badge-nav {
    font-size: 0.65rem;
    padding: 0.2em 0.5em;
    min-width: 18px;
}
.nav-links-minimal .nav-link {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    font-weight: 600;
}
.navbar-corporate .nav-icon-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.05rem;
    padding: 0 !important;
}
.navbar-corporate .nav-icon-link:hover { background: #F3E4E8; }
.search-box-corporate {
    border: 1px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--bg-light);
    padding: 4px 4px 4px 0;
}
.search-box-corporate:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184,120,138,.1);
    background: var(--bg-white);
}
.search-box-corporate .search-icon {
    color: var(--text-muted);
    margin-left: 1rem;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.search-box-corporate input {
    border: none;
    background: transparent;
    padding: 0.4rem 0.75rem;
    font-size: 0.875rem;
    outline: none;
    color: var(--text-primary);
    min-width: 0;
    flex: 1;
}
.search-box-corporate button {
    border: none;
    background: var(--accent);
    color: #fff;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}
.search-box-corporate button:hover { background: var(--accent-dark); }
.nav-icon-link {
    position: relative;
    padding: 0.5rem !important;
    margin: 0 0.15rem;
    color: var(--text-secondary) !important;
    font-size: 1.15rem;
    transition: var(--transition);
}
.nav-icon-link:hover { color: var(--accent) !important; }
.nav-user-btn {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.35rem 0.75rem 0.35rem 0.35rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-user-btn:hover {
    border-color: var(--accent);
    background: #F3E4E8;
    color: var(--accent);
}
.nav-user-btn .avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}
.nav-auth-link {
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
    transition: var(--transition);
}
.nav-auth-link:hover { background: #F3E4E8; }

.navbar-corporate .navbar-toggler {
    border: none;
    padding: 0;
    width: 42px;
    height: 42px;
    border-radius: 50px;
    background: var(--bg-light);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: none;
}
.navbar-corporate .navbar-toggler:focus { box-shadow: none; outline: none; }
.navbar-corporate .toggler-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}
.navbar-corporate .navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-corporate .navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-corporate .navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar-nav-icons { gap: 0.25rem; }

@media (max-width: 991.98px) {
    .navbar-corporate .navbar-toggler { display: flex; }
    .navbar-corporate { padding: 0.5rem 0; }
    .navbar-corporate .nav-link {
        padding: 0.6rem 1rem !important;
        border-radius: var(--radius-sm);
    }
    .navbar-corporate .nav-link::after { display: none; }
    .navbar-corporate .nav-link:hover { background: #F3E4E8; }
    .search-box-corporate { margin: 0.5rem 0; }
    .nav-auth-link { padding: 0.5rem 1rem !important; }
    .navbar-nav-icons {
        flex-direction: row !important;
        justify-content: center;
        gap: 1.5rem;
        padding-top: 0.75rem;
        margin-top: 0.5rem;
        border-top: 1px solid var(--border);
    }
}

/* Between the navbar's collapse breakpoint (992px) and where there's genuinely enough room
   for everything (1400px), the inline nav (5 links + search + icons + auth) is wider than
   the available container - tighten padding and cap the search box so it actually fits
   instead of overflowing past the viewport edge. */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .navbar-corporate .nav-link { padding: 1.25rem 0.6rem !important; }
    .search-box-corporate { max-width: 160px; }
    .navbar-brand { font-size: 1.25rem; }
}

/* =========================================
   SITE HEADER (3-tier: announcement / main / nav)
   ========================================= */
.site-topbar {
    background: var(--primary);
    color: #fff;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.55rem 0;
}
.site-header {
    background: var(--bg-white);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

/* --- Main row: left cluster / centered logo / right cluster --- */
.header-main {
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 0;
}
.header-main-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}
.header-cluster { display: flex; align-items: center; gap: 1.35rem; }
.header-left { justify-self: start; }
.header-right { justify-self: end; }
.header-logo { justify-self: center; display: inline-flex; align-items: center; }
.header-logo img {
    max-height: 74px;
    width: auto;
    object-fit: contain;
}
.header-text-link {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}
.header-text-link:hover { color: var(--accent); }
.header-text-link.dropdown-toggle::after { margin-left: 0.35rem; vertical-align: middle; }
.header-currency {
    align-items: center;
    gap: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: default;
}
.header-currency i { font-size: 0.6rem; color: var(--text-muted); }
.header-icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}
.header-icon-btn:hover { background: #F3E4E8; color: var(--accent); }
.header-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 50px;
    background: var(--accent);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.header-badge-cart {
    top: 2px;
    right: 2px;
    background: var(--primary);
}

/* Right-cluster actions: icon + small label, consistent across Account/Wishlist/Cart */
.header-action-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    position: relative;
    min-width: 48px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}
.header-action-btn:hover { color: var(--accent); }
.header-action-btn i { font-size: 1.3rem; line-height: 1; }
.header-action-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
}
/* Cart is the primary action — larger icon */
.header-cart i { font-size: 1.7rem; }
/* Badges sit on the icon (top-right) for the stacked icon+label buttons */
.header-action-btn .header-badge {
    top: -5px;
    right: 6px;
    left: auto;
}
.header-cart .header-badge-cart {
    top: -5px;
    right: 2px;
    background: var(--accent);
}
/* Mobile: icon-only actions (labels hidden), keep them comfortably tappable */
@media (max-width: 991.98px) {
    .header-action-btn { min-width: 40px; }
    .header-action-btn .header-action-label { display: none; }
    .header-cart i { font-size: 1.5rem; }
}

.header-account-menu {
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
}
.header-account-menu .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.header-account-menu .dropdown-item i { width: 1.25rem; margin-right: 0.4rem; color: var(--text-muted); }
.header-account-menu .dropdown-item:hover { background: #F3E4E8; color: var(--accent); }

/* --- Search bar: full-width row under the header's main cluster, desktop only.
   Mobile has its own search field inside the offcanvas menu (.mobile-search) instead. --- */
.header-search-bar { display: none; }
@media (min-width: 992px) {
    .header-search-bar { display: block; margin-top: 0.85rem; }
}
.header-search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border);
    background: var(--bg-light);
    border-radius: 50px;
    padding: 0.35rem 0.5rem 0.35rem 1rem;
}
.header-search-form:focus-within { border-color: var(--accent); background: var(--bg-white); }
.header-search-form i { color: var(--text-muted); font-size: 0.9rem; }
.header-search-form input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    color: var(--text-primary);
    min-width: 0;
    padding: 0.35rem 0;
}
.header-search-form button {
    border: none;
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    padding: 0.45rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
}
.header-search-form button:hover { background: var(--accent-dark); }

/* --- Category nav row --- */
.header-nav {
    background: var(--accent);
    border-bottom: 1px solid var(--border);
}
.header-nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
        text-transform: uppercase !important;
}
.header-nav-item { position: relative; }
.header-nav-item > a {
    display: block;
    padding: 0.85rem 0.5rem;
    text-transform: uppercase !important;
    letter-spacing: 0.07em;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.header-nav-item > a:hover,
.header-nav-item > a.active { color: color: #fff; }
/* Dropdown flyout for categories that have subcategories */
.header-subnav {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 210px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-transform: uppercase !important;
    padding: 0.4rem;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1030;
}
.header-nav-item.has-children:hover .header-subnav {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.header-subnav li a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
        text-transform: uppercase !important;
    white-space: nowrap;
}
.header-subnav li a:hover { background: #F3E4E8; color: var(--accent); }
.header-nav-caret { font-size: 0.6rem; margin-left: 0.2rem; transition: transform 0.2s ease; }
.header-nav-item.has-children:hover .header-nav-caret { transform: rotate(180deg); }

/* --- Mobile hamburger toggle --- */
.header-nav-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}
.header-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--text-primary);
}

/* --- Mobile offcanvas --- */
.header-offcanvas { max-width: 320px; }
.header-offcanvas .offcanvas-title img { display: block; }
.mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.mobile-nav-list > li > a {
    display: block;
    padding: 0.7rem 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
}
.mobile-nav-list ul { list-style: none; margin: 0; padding: 0 0 0.4rem 0.9rem; }
.mobile-nav-list ul li a {
    display: block;
    padding: 0.4rem 0.25rem;
    font-size: 0.85rem;
    font-weight: 400;
       text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
}
.mobile-nav-list ul li a:hover,
.mobile-nav-list > li > a:hover { color: var(--accent); }
.mobile-nav-child > a { padding-left: 1.1rem !important; font-weight: 400 !important; color: var(--text-secondary) !important; }
.mobile-nav-child > a::before { content: "\2013"; margin-right: 0.4rem; color: var(--text-muted); }
.mobile-nav-account > li > a { border-bottom: none; }
.mobile-nav-account i { width: 1.4rem; color: var(--text-muted); }
.header-search-form.mobile-search button { padding: 0.45rem 0.9rem; }

@media (max-width: 991.98px) {
    .header-cluster { gap: 0.5rem; }
    .header-logo img { max-height: 40px; }
    .header-main { padding: 0.6rem 0; }
    .site-topbar { font-size: 0.68rem; letter-spacing: 0.06em; padding: 0.45rem 0.5rem; }
}

/* =========================================
   HERO SLIDER
   ========================================= */
/* The item's height simply follows the slide image's own natural aspect ratio (width:100%,
   height:auto) on every screen size, rather than a fixed vh box - a vh value is sized off the
   *browser window's* height, which has nothing to do with the image's own proportions, so it
   used to leave a wildly different amount of blank space below the image (or overflow past
   the box) depending on each visitor's window height/aspect ratio. object-fit:cover would
   force a fixed box to always fill without gaps, but these slides are marketing banners with
   text baked into the image, so cropping to fill a fixed height risks cutting that text off -
   letting height follow the image is what avoids both problems at once. */
.hero-slider { position: relative; }
.hero-slider .carousel-inner { height: auto; }
.hero-slider .carousel-item { position: relative; }
.hero-slider .hero-slide-link {
    position: static;
    display: block;
}
.hero-slider .slide-bg {
    position: static;
    width: 100%;
    height: auto;
    display: block;
    object-position: center;
}
.hero-slider .carousel-indicators {
    bottom: 30px;
    gap: 6px;
}
.hero-slider .carousel-indicators button {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    border: none;
    background: rgba(255,255,255,.3);
    opacity: 1;
    transition: var(--transition);
    margin: 0;
}
.hero-slider .carousel-indicators button.active {
    background: var(--accent);
    width: 48px;
}
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.1);
}
.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next { opacity: 1; }
.hero-slider .carousel-control-prev { left: 24px; }
.hero-slider .carousel-control-next { right: 24px; }
.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover { background: var(--accent); border-color: var(--accent); }

.trust-strip-section {
    position: relative;
    z-index: 3;
    margin-top: 64px;
    padding-bottom: 3rem;
}
@media (max-width: 768px) {
    .trust-strip-section { margin-top: 32px; padding-bottom: 2rem; }
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next { display: none; }
    .hero-slider .carousel-indicators { bottom: 15px; }
}

/* =========================================
   SECTION STYLES
   ========================================= */
.section-padding { padding: 5rem 0; }
.section-padding-sm { padding: 3rem 0; }
.section-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
    margin: 0.75rem auto 0;
}

/* Features */
.trust-strip-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}
.feature-box {
    text-align: center;
    padding: 1.75rem 1rem;
    height: 100%;
}
@media (min-width: 768px) {
    .trust-strip-card .col-md-3:not(:last-child) .feature-box { border-right: 1px solid var(--border-light); }
}
.feature-box .feature-icon {
    width: auto;
    height: auto;
    margin: 0 auto 0.65rem;
    font-size: 1.5rem;
    color: var(--accent);
}
.feature-box h6 { margin-bottom: 0.15rem; font-size: 0.95rem; }
.feature-box p { font-style: italic; }

/* =========================================
   PRODUCT CARDS
   ========================================= */
.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-slow);
    height: 100%;
    position: relative;
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-3px);
}
.product-card .card-img-top {
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
    background: var(--bg-light);
}
.product-card:hover .card-img-top { transform: scale(1.05); }
.product-card .card-body { padding: 1.25rem; }
.product-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.product-card .card-title a { color: var(--text-primary); transition: var(--transition); }
.product-card .card-title a:hover { color: var(--accent); }
.product-price { font-size: 1.2rem; font-weight: 700; color: var(--accent); }
.product-compare-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 0.5rem;
}
.product-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger);
    color: white;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}
.product-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    color: var(--text-muted);
}
.product-wishlist-btn:hover { color: var(--danger); border-color: var(--danger); transform: scale(1.1); }
.product-wishlist-btn.active { color: var(--danger); border-color: var(--danger); background: #fef2f2; }
.product-quick-view {
    position: absolute;
    top: 54px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(10px);
}
.product-card:hover .product-quick-view { opacity: 1; transform: translateX(0); }
.product-quick-view:hover { color: var(--accent); border-color: var(--accent); }

/* =========================================
   CATEGORY CARDS
   ========================================= */
.category-card {
    display: block;
    text-decoration: none;
    color: inherit;
}
.category-card:hover { color: inherit; }
.category-card-img {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--bg-light);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.category-card:hover .category-card-img {
    border-color: var(--accent);
    box-shadow: 0 6px 18px rgba(184,120,138,.18);
}
.category-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.category-card:hover .category-card-img img { transform: scale(1.06); }
.category-price-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--bg-white);
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}
.category-name {
    text-align: center;
    margin-top: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-primary);
}
/* Wide hero banner above the product grid on shop/category.php (admin-managed per
   category, optional - simply omitted when the category has no banner set). */
.category-banner-hero {
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.category-banner-hero img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
@media (max-width: 767px) {
    .category-banner-hero img { height: 160px; }
}
/* Category marquee: circular tiles auto-scrolling in a seamless infinite loop.
   Two identical groups sit side by side; translating the track by -50% shifts it
   exactly one group width, so the loop is invisible. Pauses on hover. */
.category-marquee {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.category-marquee-track {
    display: flex;
    width: max-content;
    animation: category-scroll 35s linear infinite;
}
.category-marquee:hover .category-marquee-track { animation-play-state: paused; }
.category-marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: flex-start;
}
.category-marquee-group .category-card {
    flex: 0 0 auto;
    width: 150px;
    margin: 0 1rem;
}
.category-marquee-group .category-name { margin-top: 0.65rem; }
@keyframes category-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
/* Mobile: drop the auto-scroll and lay the categories out as a static grid. The
   visible group becomes display:contents so its cards are the grid items; the
   duplicate second group is hidden so nothing repeats. */
@media (max-width: 767.98px) {
    .category-marquee { -webkit-mask-image: none; mask-image: none; overflow: visible; }
    .category-marquee-track {
        animation: none;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem 0.75rem;
    }
    .category-marquee-group { display: contents; }
    .category-marquee-group:nth-child(2) { display: none; }
    .category-marquee-group .category-card { width: auto; margin: 0; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 768px) {
    .category-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .category-marquee-group:nth-child(2) { display: none; }
}

/* =========================================
   BRAND STORY / WHY CHOOSE US
   ========================================= */
.story-image-wrap {
    position: relative;
    padding: 0 1.75rem 1.75rem 0;
}
.story-image-shape {
    position: absolute;
    inset: 1.75rem 0 0 1.75rem;
    background: var(--accent);
    border-radius: var(--radius-xl);
    z-index: 0;
}
.story-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}
.story-badge {
    position: absolute;
    left: 0.5rem;
    bottom: 0.5rem;
    z-index: 2;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.85rem 1.25rem;
    text-align: center;
}
.story-badge-num {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.story-badge-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-top: 0.15rem;
}
@media (max-width: 575px) {
    .story-image-wrap { padding: 0 1rem 1rem 0; }
    .story-image-shape { inset: 1rem 0 0 1rem; }
    .story-badge { padding: 0.6rem 0.9rem; }
    .story-badge-num { font-size: 1.1rem; }
}
.why-choose-eyebrow {
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}
.why-choose-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}
.why-choose-list { margin-bottom: 1.75rem; }
.why-choose-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    color: var(--text-secondary);
}
.why-choose-list li i {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.15rem;
}

/* =========================================
   PRODUCT RATING (real review data)
   ========================================= */
.product-rating { font-size: 0.8rem; color: var(--warning); margin-bottom: 0.35rem; }
.product-rating .far { color: var(--border); }
.product-rating .rating-count { color: var(--text-muted); margin-left: 0.25rem; }

/* =========================================
   BLOG TEASER (HOMEPAGE)
   ========================================= */
.blog-card-home .card-img-top { transition: transform 0.5s ease; }
.blog-card-home:hover .card-img-top { transform: scale(1.05); }
.blog-card-home { overflow: hidden; transition: var(--transition-slow); }
.blog-card-home:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-journal-tag {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
}

/* =========================================
   VIDEO SHOWCASE (HOMEPAGE)
   ========================================= */
.video-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.video-showcase-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 7;
    background: var(--primary);
    box-shadow: var(--shadow-md);
}
.video-showcase-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-mute-toggle {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.video-mute-toggle:hover { background: var(--accent); }
@media (max-width: 991px) {
    .video-showcase-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .video-showcase-grid { grid-template-columns: 1fr; gap: 1rem; }
    .video-showcase-item { aspect-ratio: 4 / 6; }
}

/* =========================================
   MARQUEE STRIP (HOMEPAGE)
   ========================================= */
.marquee-strip {
    background: #252525;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 0.85rem 0;
    position: relative;
    z-index: 2;
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.marquee-content span:not(.marquee-dot) {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color:#fff;
    padding: 0 1.25rem;
    white-space: nowrap;
}
.marquee-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (max-width: 575px) {
    .marquee-content span:not(.marquee-dot) { font-size: 0.7rem; padding: 0 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

/* =========================================
   FEATURED PRODUCTS SLIDER (HOMEPAGE)
   ========================================= */
.product-slider-wrap {
    position: relative;
}
.product-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.25rem 0.25rem 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.product-track::-webkit-scrollbar { display: none; }
.product-track .product-card-v2,
.product-track .product-card-editorial {
    scroll-snap-align: start;
    flex: 0 0 calc(25% - 1.125rem);
}
.product-slider-nav {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.product-slider-nav:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.product-slider-nav-prev { left: -22px; }
.product-slider-nav-next { right: -22px; }
@media (max-width: 991px) {
    .product-track .product-card-v2,
    .product-track .product-card-editorial { flex: 0 0 calc(50% - 0.75rem); }
}
@media (max-width: 640px) {
    .product-track .product-card-v2,
    .product-track .product-card-editorial { flex: 0 0 80%; }
    .product-slider-nav { display: none; }
}

/* =========================================
   TESTIMONIAL SLIDER (HOMEPAGE)
   ========================================= */
.testimonial-slider-wrap {
    position: relative;
}
.testimonial-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0.25rem 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card-v2 {
    scroll-snap-align: start;
    flex: 0 0 calc(33.333% - 1rem);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}
.testimonial-card-v2:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: transparent;
}
.testimonial-quote-icon { color: var(--accent); opacity: 0.3; font-size: 1.6rem; }
.testimonial-stars { margin: 0.75rem 0 1rem; }
.testimonial-stars i { color: var(--warning); font-size: 0.85rem; margin-right: 1px; }
.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.85rem; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--accent-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.testimonial-author-name { font-weight: 700; color: var(--text-primary); font-size: 0.95rem; }
.testimonial-author-role { font-size: 0.8rem; color: var(--text-muted); }
.testimonial-nav {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.testimonial-nav:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.testimonial-nav-prev { left: -22px; }
.testimonial-nav-next { right: -22px; }
@media (max-width: 991px) {
    .testimonial-card-v2 { flex: 0 0 calc(50% - 0.75rem); }
}
@media (max-width: 640px) {
    .testimonial-card-v2 { flex: 0 0 86%; padding: 1.5rem; }
    .testimonial-nav { display: none; }
}

/* =========================================
   FAQ ACCORDION (HOMEPAGE)
   ========================================= */
.faq-accordion-home {
    --bs-accordion-border-color: var(--border);
    --bs-accordion-active-color: var(--accent-dark);
    --bs-accordion-active-bg: var(--bg-light);
    --bs-accordion-btn-focus-border-color: var(--border);
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-border-radius: var(--radius-lg);
    --bs-accordion-inner-border-radius: var(--radius-lg);
}
.faq-accordion-home .accordion-item {
    border-radius: var(--radius-lg) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}
.faq-accordion-home .accordion-button {
    font-weight: 600;
    padding: 1.1rem 1.5rem;
}
.faq-accordion-home .accordion-body {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =========================================
   PRODUCT LISTING PAGE (shop/products.php)
   ========================================= */
.product-card-shop {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
}
.product-card-shop:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: transparent;
}
.product-card-shop .product-card-v2-img { margin-bottom: 0.85rem; }
.product-card-shop-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card-shop .product-price { font-size: 1.1rem; }
.product-stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--secondary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    z-index: 2;
}
.btn-out-of-stock {
    background: var(--border-light);
    color: var(--text-muted);
    cursor: not-allowed;
}
.product-card-shop.list-view {
    flex-direction: row;
    align-items: stretch;
    gap: 1.25rem;
}
.product-card-shop.list-view .product-card-v2-img,
.product-card-shop.list-view .pce-img-wrap {
    width: 160px;
    min-width: 160px;
    margin-bottom: 0;
}
.product-card-shop.list-view .product-card-shop-body { justify-content: center; }
.product-card-shop.list-view .product-card-v2-name,
.product-card-shop.list-view .pce-name { -webkit-line-clamp: 1; line-clamp: 1; }
#filter-form input[type="range"] {
    accent-color: var(--accent);
}
#filter-form .form-range::-webkit-slider-thumb { background-color: var(--accent); }
#filter-form .form-range::-moz-range-thumb { background-color: var(--accent); }
#filter-form .form-range::-webkit-slider-thumb:active { background-color: var(--accent-dark); }
#filter-form .form-range::-moz-range-thumb:active { background-color: var(--accent-dark); }
#filter-form .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}
#filter-form .form-check-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184,120,138,.15);
}
#filter-form .form-control:focus,
#filter-form .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184,120,138,.15);
}
.pagination .page-link {
    color: var(--text-primary);
    border-color: var(--border);
}
.pagination .page-link:hover {
    color: var(--accent-dark);
    background: var(--bg-light);
    border-color: var(--border);
}
.pagination .page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.pagination .page-item.disabled .page-link {
    color: var(--text-muted);
    background: var(--bg-light);
}
@media (max-width: 575px) {
    .product-card-shop.list-view { flex-direction: column; }
    .product-card-shop.list-view .product-card-v2-img,
    .product-card-shop.list-view .pce-img-wrap { width: 100%; min-width: 0; }
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    border-radius: var(--radius);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
    background: var(--accent-gradient);
    border-color: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #94586A, #6E3F4C);
    border-color: #94586A;
    color: #fff;
    box-shadow: 0 4px 12px rgba(184,120,138,.35);
}
.btn-outline-primary {
    border-color: var(--accent);
    color: var(--accent);
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(184,120,138,.25);
}
.bg-accent { background: var(--accent) !important; color: #fff !important; }
.text-accent { color: var(--accent) !important; }

.btn-accent {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
}
.btn-accent:hover {
    background: linear-gradient(135deg, #94586A, #6E3F4C);
    color: #fff;
    box-shadow: 0 4px 12px rgba(184,120,138,.35);
    transform: translateY(-2px);
}
.btn-outline-accent {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
}
.btn-outline-accent:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}
.btn-dark {
    background: var(--primary);
    border-color: var(--primary);
}
.btn-dark:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(44,36,32,.3);
}
.btn-lg { padding: 0.75rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; }
.btn-pill { border-radius: 50px; }

/* =========================================
   BREADCRUMB
   ========================================= */
.breadcrumb-corporate {
    background: transparent;
    padding: 1rem 0;
    margin-bottom: 0;
}
.breadcrumb-corporate .breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}
.breadcrumb-corporate .breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-corporate .breadcrumb-item.active {
    color: var(--accent);
    font-weight: 600;
    /* font-size: 0.85rem; */
}
.breadcrumb-corporate .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
    content: '/';
}

/* =========================================
   CARDS & SECTIONS
   ========================================= */
.card-corporate {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.card-corporate:hover {
    box-shadow: var(--shadow-md);
}
.card-corporate .card-header {
    background: transparent;
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}
.card-corporate .card-body {
    padding: 1.5rem;
}
.card-title a { color: var(--text-primary); transition: var(--transition); }
.card-title a:hover { color: var(--accent); }

/* =========================================
   FORMS
   ========================================= */
.form-control, .form-select {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: var(--transition);
    background: var(--bg-white);
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184,120,138,.1);
    outline: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-label {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}
.input-group-corporate {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.input-group-corporate:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184,120,138,.1);
}
.input-group-corporate .form-control {
    border: none;
    box-shadow: none;
}
.input-group-corporate .form-control:focus { box-shadow: none; }
.input-group-corporate .input-group-text {
    background: transparent;
    border: none;
    color: var(--text-muted);
}

/* =========================================
   TABLES
   ========================================= */
.table-corporate { margin-bottom: 0; }
.table-corporate th {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-top: none;
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 1rem;
    background: var(--bg-light);
}
.table-corporate td {
    vertical-align: middle;
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-light);
}
.table-corporate tbody tr:hover { background: var(--bg-light); }

/* =========================================
   BADGES
   ========================================= */
.badge {
    font-weight: 500;
    padding: 0.35em 0.7em;
    border-radius: 50px;
    font-size: 0.75rem;
}
.badge.bg-primary { background: #E8C9D2 !important; color: #94586A !important; }
.badge.bg-success { background: #d1fae5 !important; color: #059669 !important; }
.badge.bg-danger { background: #fee2e2 !important; color: #dc2626 !important; }
.badge.bg-warning { background: #fef3c7 !important; color: #d97706 !important; }
.badge.bg-info { background: #cffafe !important; color: #0891b2 !important; }
.badge.bg-secondary { background: #F4ECE2 !important; color: #756657 !important; }
.badge.bg-dark { background: #EBE0D4 !important; color: #2C2420 !important; }

/* =========================================
   AUTH PAGES
   ========================================= */
.auth-container {
    width: 100%;
    max-width: 460px;
    margin: 3rem auto;
}
.auth-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
}
.auth-card .auth-header {
    text-align: center;
    margin-bottom: 2rem;
}
.auth-card .auth-header .auth-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #fff;
}
.auth-card .auth-header h3 { font-weight: 700; font-size: 1.5rem; }
.auth-card .auth-header p { color: var(--text-muted); font-size: 0.9rem; }

/* =========================================
   NEWSLETTER
   ========================================= */
.newsletter-section {
    background: var(--primary);
    padding: 4rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(184,120,138,.15) 0%, transparent 60%);
}
.newsletter-section .container { position: relative; z-index: 2; }
.newsletter-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.6rem;
    color: var(--accent-light);
}

/* =========================================
   CART
   ========================================= */
.cart-table img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.qty-control button {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-light);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-control button:hover { background: var(--accent); color: #fff; }
.qty-control input {
    width: 48px;
    height: 36px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    outline: none;
    -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* =========================================
   ORDER SUMMARY CARD
   ========================================= */
.summary-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.summary-card .summary-header {
    background: var(--primary);
    color: #fff;
    padding: 1rem 1.5rem;
    font-weight: 600;
}
.summary-card .summary-body { padding: 1.5rem; }
.summary-card .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    font-size: 0.9rem;
}
.summary-card .summary-row + .summary-row {
    border-top: 1px solid var(--border-light);
}
.summary-card .summary-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    padding-top: 0.75rem;
    border-top: 2px solid var(--border);
}
.payment-method-selected {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-light);
}
.payment-method-selected > i:first-child {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}
.payment-method-option {
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.payment-method-option:has(input:checked) {
    border-color: var(--accent-dark);
    background: var(--bg-light);
}
.payment-method-option label { margin: 0; width: 100%; }
.payment-method-option i { color: var(--accent-dark); width: 20px; text-align: center; }

/* =========================================
   ORDER HISTORY
   ========================================= */
.order-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.order-card:hover { box-shadow: var(--shadow-md); }
.order-card .order-header {
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    cursor: pointer;
}
.order-card .order-body { padding: 1.5rem; display: none; }
.order-card .order-body.show { display: block; }

/* =========================================
   ADS
   ========================================= */
.sidebar-ad {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition-slow);
}
.sidebar-ad:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.sidebar-ad a { text-decoration: none; color: inherit; display: block; }
.sidebar-ad img { width: 100%; display: block; }
.sidebar-ad-caption { padding: 0.75rem; }
.sidebar-ad-caption h6 { font-weight: 600; color: var(--text-primary); font-size: 0.9rem; }
.banner-ads { display: flex; flex-direction: column; gap: 1.25rem; }
.banner-ads .banner-ad-link {
    position: relative;
    text-decoration: none;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.banner-ads .banner-ad-link:hover img { transform: scale(1.03); }
.banner-ads .banner-ad-link img {
    width: 100%;
    display: block;
    max-height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.banner-ad-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(44, 36, 32, 0) 0%, rgba(44, 36, 32, 0.78) 100%);
    color: #fff;
}
.banner-ad-caption h4 { font-weight: 700; margin-bottom: 0.25rem; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); }
.banner-ad-caption p { margin-bottom: 0.5rem; opacity: 0.9; font-size: 0.9rem; }
.banner-ad-cta {
    display: inline-block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
    background: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 50px;
}
.between-product-ad a { text-decoration: none; display: block; border-radius: var(--radius-lg); overflow: hidden; }
.between-product-ad a:hover { opacity: 0.92; }

/* =========================================
   FOOTER
   ========================================= */
.footer-corporate {
    background: var(--footer-bg);
    color: rgba(255,255,255,.85);
    border-top: 3px solid var(--accent);
}
.footer-corporate h5, .footer-corporate h6 {
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #fff;
}
.footer-corporate a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}
.footer-corporate a:hover { color: var(--accent); padding-left: 3px; }
.footer-corporate .social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: 1.1rem;
    transition: var(--transition);
    margin-right: 0.5rem;
}
.footer-corporate .social-links a:hover {
    background: var(--accent);
    color: #fff;
    padding-left: 0;
    transform: translateY(-2px);
}
.footer-corporate hr {
    border-color: rgba(255,255,255,.08);
    margin: 2rem 0;
}
.footer-corporate .footer-divider {
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-bottom: 1rem;
}
.footer-corporate .payment-icons i {
    font-size: 1.75rem;
    color: rgba(255,255,255,.4);
    margin-left: 0.5rem;
    transition: var(--transition);
}
.footer-corporate .payment-icons i:hover { color: #fff; }

/* =========================================
   SCROLL TO TOP
   ========================================= */
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(184,120,138,.35);
    z-index: 999;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(184,120,138,.45);
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(184,120,138,.45);
}

/* =========================================
   PRODUCT GALLERY & ZOOM
   ========================================= */
.product-gallery { position: sticky; top: 100px; }
.gallery-row { display: flex; gap: 16px; align-items: flex-start; }
.main-image-container {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    border: 1px solid var(--border);
    cursor: crosshair;
    overflow: hidden;
}
.main-product-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}
/* Self-contained "magnifying loupe": the lens clips an <img> copy of the
   product photo, scaled up and panned in pixels to match the cursor.
   Two things this deliberately avoids, both found broken on this page:
   1) A separate side "result" panel sized via a sibling flex item used to
      shrink .main-image-container itself (calc(100% - 466px)), which could
      go narrower than the lens in a col-lg-6 layout and leave it stuck.
   2) Using CSS background-image for the zoomed copy - some of this site's
      product JPEGs render blank as a background-image while displaying
      fine as a real <img> (confirmed via isolated test: swapping in a
      different image file worked fine as a background, so it's specific
      to how certain JPEGs decode through that code path, not a sizing or
      positioning bug) - so the zoomed copy is a real <img> instead. */
.zoom-lens {
    display: none;
    position: absolute;
    width: 180px;
    height: 180px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.zoom-lens img {
    position: absolute;
    max-width: none;
    display: block;
}
.thumbnails-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 1rem; }
.thumbnail-wrapper {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-white);
}
.thumbnail-wrapper:hover { border-color: var(--secondary); }
.thumbnail-wrapper.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184,120,138,.15);
}
.thumbnail-wrapper img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1199px) {
    .zoom-lens { display: none !important; }
    .main-image-container { cursor: default; }
}
@media (max-width: 768px) {
    .main-product-img { height: 350px; }
    .thumbnail-wrapper { width: 60px; height: 60px; }
}

/* =========================================
   PRODUCT DETAIL PAGE (shop/product.php)
   ========================================= */
.product-image-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.product-image-block {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-light);
    box-shadow: var(--shadow-md);
}
.product-image-block img {
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 767px) {
    .product-image-blocks { gap: 1rem; }
}
.variant-option {
    min-width: 70px;
    padding: 0.5rem 1.1rem;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}
.variant-option:hover:not(.active) { border-color: var(--accent); color: var(--accent-dark); }
.variant-option.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.price-discount-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 0.4rem;
}
.delivery-check-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}
.review-avatar { width: 42px; height: 42px; flex-shrink: 0; font-size: 0.95rem; }
.product-tabs-nav {
    border-bottom: 1px solid var(--border);
    gap: 0.5rem;
    flex-wrap: wrap;
}
.product-tabs-nav .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 0.25rem;
    margin-right: 1.5rem;
    border-radius: 0;
    background: transparent;
}
.product-tabs-nav .nav-link.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background: transparent;
}
.product-tabs-nav .nav-link:hover:not(.active) { color: var(--accent-dark); }
.product-tabs-content {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 2rem;
}
@media (max-width: 575px) {
    .product-tabs-nav .nav-link { margin-right: 0.75rem; font-size: 0.85rem; }
    .product-tabs-content { padding: 1.25rem; }
}

/* =========================================
   STARS
   ========================================= */
.stars { color: #f59e0b; }
.stars i { margin-right: 2px; }
.star-rating .star {
    font-size: 1.5rem;
    cursor: pointer;
    color: #d1d5db;
    transition: var(--transition);
}
.star-rating .star.active,
.star-rating .star:hover { color: #f59e0b; }

/* =========================================
   TOASTR
   ========================================= */
#toast-container > div {
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-lg) !important;
    font-family: var(--font-family) !important;
}

/* =========================================
   LOADING SPINNER
   ========================================= */
.spinner-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.spinner-overlay.show { display: flex; }
.spinner-overlay .spinner-border { width: 3rem; height: 3rem; color: var(--accent); }

/* =========================================
   UTILITIES
   ========================================= */
.text-primary-custom { color: var(--accent) !important; }
.bg-gradient-primary { background: var(--accent-gradient) !important; }
.fw-800 { font-weight: 800; }
.letter-spacing-wide { letter-spacing: 0.05em; }

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in { animation: fadeIn 0.5s ease; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-left { animation: fadeInLeft 0.5s ease; }
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .section-padding { padding: 3rem 0; }
    .section-title { font-size: 1.5rem; }
    .product-card .card-img-top { height: 200px; }
    .auth-container { margin: 2rem 1rem; }
    .auth-card { padding: 1.5rem; }
    .cart-table img { width: 50px; height: 50px; }
}

@media (max-width: 576px) {
    .section-title { font-size: 1.35rem; }
}

/* =========================================
   LIGHTBOX
   ========================================= */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99999;
    background: rgba(0,0,0,.92);
    cursor: zoom-out;
}
.lightbox-overlay.active { display: flex; align-items: center; justify-content: center; }
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    animation: lightboxFade .3s ease;
}
@keyframes lightboxFade {
    from { opacity: 0; transform: scale(.9); }
    to { opacity: 1; transform: scale(1); }
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s;
    z-index: 2;
    background: none;
    border: none;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: .6;
    transition: opacity .2s;
    padding: 20px;
    background: none;
    border: none;
    z-index: 2;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    z-index: 2;
}
/* Gallery page */
.gallery-page .container { max-width: 1320px; }
/* CMS rich-text content (page_content.content, blog_posts.content) - shared by every
   page that renders admin-edited HTML: about/faq/privacy-policy/etc. and blog/post.php.
   Previously only defined inline in blog/post.php, so every other .ck-content usage
   sitewide silently got no heading/paragraph/list/table styling at all. */
.ck-content { line-height: 1.8; }
.ck-content h1, .ck-content h2, .ck-content h3 { margin-top: 1.5rem; margin-bottom: 1rem; font-weight: 700; font-family: var(--font-display); color: var(--primary); }
.ck-content p { margin-bottom: 1rem; }
.ck-content img { cursor: zoom-in; border-radius: 6px; max-width: 100%; height: auto; margin: 1rem 0; }
.ck-content ul, .ck-content ol { margin-bottom: 1rem; }
.ck-content blockquote { border-left: 4px solid var(--accent); padding-left: 1rem; margin: 1rem 0; color: var(--text-secondary); font-style: italic; }
.ck-content table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; }
.ck-content table td, .ck-content table th { border: 1px solid var(--border); padding: 0.75rem; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.gallery-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    background: var(--light-bg);
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
    transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
/* Product-photo fallback (pages/gallery.php, when the admin hasn't curated any images via
   the Page Editor) - these link straight to the product instead of opening the lightbox, so
   the cursor and a name caption both signal "this is a product", not a decorative photo. */
.gallery-item.gallery-product-link { position: relative; cursor: pointer; }
.gallery-item-label {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.5rem .75rem .6rem;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.72) 100%);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
}
.gallery-item-placeholder {
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-bg);
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #dee2e6;
}
@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* Order status badges (shop/orders.php) - mirrors admin/assets/css/admin.css's
   .badge-* rules so customer-facing order status text isn't left unstyled. */
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-processing { background: #e0f2fe; color: #075985; }
.badge-shipped { background: #dbeafe; color: #1e40af; }
.badge-delivered { background: #d1fae5; color: #065f46; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }

/* =========================================================================
   EDITORIAL REDESIGN SYSTEM (additive)
   New typography + flatter, boutique-style components for the Shop/Auth/
   Static page redesign. Layered alongside the existing "-corporate" system
   without modifying it, so pages not yet migrated to this system are
   unaffected. See pilot pages: shop/products.php, auth/login.php,
   pages/about.php, blog/index.php.
   ========================================================================= */

:root {
    --font-display: 'Fraunces', Georgia, serif;
    --ring: rgba(184, 120, 138, .22);
}

/* --- Eyebrow label (small uppercase accent tag above a heading) --- */
.section-eyebrow {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    gap: .6rem;
}
.section-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}

/* --- Editorial headings (warm serif, used for page/section titles) --- */
.editorial-heading {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    color: var(--primary);
    letter-spacing: -.01em;
}
.editorial-heading.eh-lg { font-size: clamp(2.1rem, 1.5vw + 1.8rem, 3.25rem); }
.editorial-heading.eh-md { font-size: clamp(1.6rem, 1vw + 1.3rem, 2.1rem); }
.editorial-heading.eh-sm { font-size: clamp(1.25rem, .5vw + 1.1rem, 1.5rem); }

/* Product name display, wherever it's rendered as plain text rather than inside a
   .pce-name card (product detail title/breadcrumb, cart, checkout review). */
.product-title-case { text-transform: uppercase; }
.editorial-heading em { font-style: italic; color: var(--accent-dark); }

/* --- Flat surfaces (replace boxed/bordered .card-corporate look) --- */
.flat-card {
    background: var(--bg-white);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: none;
    padding: 2rem;
}
.flat-card-tint {
    background: var(--border-light);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: none;
    padding: 2rem;
}
@media (max-width: 576px) {
    .flat-card, .flat-card-tint { padding: 1.5rem; }
}

/* --- Flat buttons (no gradient, confident fill, generous pill padding) --- */
.btn-flat-accent {
    background: var(--accent);
    border: 1.5px solid var(--accent);
    color: #fff;
    border-radius: 50px;
    padding: .85rem 2.25rem;
    font-weight: 600;
    letter-spacing: .02em;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.btn-flat-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-flat-outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    padding: .8rem 2.15rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.btn-flat-outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* --- Auth card (editorial variant for login/register/password pages) --- */
.auth-card-editorial {
    width: 100%;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: none;
    padding: 3rem 2.75rem;
    max-width: 460px;
    margin: 0 auto;
}
.auth-card-editorial .auth-icon-editorial {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}
.auth-card-editorial .form-control,
.auth-card-editorial .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: .75rem 1rem;
    transition: var(--transition);
}
.auth-card-editorial .form-control:focus,
.auth-card-editorial .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--ring);
}
.auth-card-editorial .form-label {
    font-weight: 500;
    font-size: .85rem;
    color: var(--text-secondary);
    margin-bottom: .4rem;
}
@media (max-width: 576px) {
    .auth-card-editorial { padding: 2.25rem 1.5rem; }
}

/* --- Filter rail (flatter sidebar for shop/products.php) --- */
.filter-rail { background: transparent; border: none; box-shadow: none; padding: 0; }
.filter-rail .filter-rail-section { padding: 1.5rem 0; border-bottom: 1px solid var(--border-light); }
.filter-rail .filter-rail-section:first-child { padding-top: 0; }
.filter-rail .filter-rail-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* --- Editorial product card (flatter, larger photography, hover-revealed actions) --- */
.product-card-editorial { position: relative; }
.product-card-editorial .pce-img-wrap {
    aspect-ratio: 1 / 1.1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--border-light);
    margin-bottom: 1rem;
    position: relative;
}
.product-card-editorial .pce-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card-editorial:hover .pce-img-wrap img { transform: scale(1.04); }
.product-card-editorial .pce-tag {
    position: absolute;
    top: .75rem;
    left: .75rem;
    background: var(--primary);
    color: #fff;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .3rem .65rem;
    border-radius: 50px;
}
.product-card-editorial .pce-out-of-stock {
    position: absolute;
    inset: 0;
    background: rgba(251, 246, 240, .72);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.product-card-editorial .pce-cat { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .25rem; }
.product-card-editorial .pce-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: .35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: uppercase;
}
.product-card-editorial .pce-name a { color: inherit; }
.product-card-editorial .pce-name a:hover { color: var(--accent-dark); }
.product-card-editorial .pce-price { font-weight: 600; color: var(--accent-dark); }
.product-card-editorial .pce-compare { text-decoration: line-through; color: var(--text-muted); font-size: .85rem; margin-left: .4rem; }
.product-card-editorial .pce-actions {
    position: absolute;
    top: .75rem;
    right: .75rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    opacity: 0;
    transform: translateX(6px);
    transition: var(--transition);
}
.product-card-editorial:hover .pce-actions { opacity: 1; transform: none; }
@media (max-width: 768px) {
    .product-card-editorial .pce-actions { opacity: 1; transform: none; }
}
.product-card-editorial .pce-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    color: var(--primary);
    border: none;
}
.product-card-editorial .pce-icon-btn:hover { background: var(--accent); color: #fff; }
.product-card-editorial .pce-icon-btn.active { background: var(--accent); color: #fff; }

/* Standalone circular icon button (share links, etc.) - same look as .pce-icon-btn
   without requiring a .product-card-editorial ancestor. */
.icon-btn-editorial {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--border-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: none;
    transition: var(--transition);
}
.icon-btn-editorial:hover { background: var(--accent); color: #fff; }

/* --- Policy/static page sections (about, faq, terms, etc.) --- */
.policy-section { padding: 2.5rem 0; border-bottom: 1px solid var(--border-light); }
.policy-section:last-child { border-bottom: none; }
.policy-section:first-child { padding-top: 0; }

/* --- Editorial pagination (shared by products.php, blog/index.php, blog/category.php) --- */
.pagination-editorial .page-link { border: none; color: var(--text-secondary); background: transparent; margin: 0 .15rem; border-radius: 50px; }
.pagination-editorial .page-item.active .page-link { background: var(--primary); color: #fff; }
.pagination-editorial .page-item.disabled .page-link { color: var(--text-muted); }

/* --- Editorial blog card (blog/index.php, blog/category.php) --- */
.blog-card-editorial { display: flex; flex-direction: column; height: 100%; }
.blog-card-editorial .bce-img { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1rem; background: var(--border-light); }
.blog-card-editorial .bce-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card-editorial:hover .bce-img img { transform: scale(1.04); }
.blog-card-editorial .bce-meta { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-dark); margin-bottom: .4rem; }
.blog-card-editorial .bce-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--primary); margin-bottom: .5rem; }
.blog-card-editorial .bce-excerpt { color: var(--text-secondary); font-size: .9rem; line-height: 1.6; flex: 1; }
