/* ============================================================
   RED DOT COSMETICS — Main Stylesheet
   ============================================================ */

/* ---- Variables ---- */
:root {
    --dark:      #1a1a1a;
    --white:     #ffffff;
    --red:       #e04040;
    --red-hover: #c53030;
    --overlay:   rgba(0, 0, 0, 0.22);
    --font-logo: 'Cinzel', serif;
    --font-main: 'Montserrat', sans-serif;
    --font-hero: 'Playfair Display', serif;
    --header-h:  68px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--dark); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { background: none; border: none; cursor: pointer; }


/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1800;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}


/* ============================================================
   MOBILE MENU DRAWER
   ============================================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1900;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { transform: translateX(0); }

/* Drawer top bar — three equal zones, no absolute positioning */
.mobile-menu-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 14px;
    background: var(--dark);
    min-height: 54px;
    gap: 8px;
}

.mobile-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}
.mobile-social-icons a {
    color: #ccc;
    font-size: 12px;
    transition: color 0.2s;
    line-height: 1;
    padding: 4px;
}
.mobile-social-icons a:hover { color: var(--red); }

.mobile-menu-logo {
    text-align: center;
    color: var(--white);
    font-family: var(--font-logo);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    line-height: 1.25;
    white-space: nowrap;
}
.mobile-menu-logo span {
    display: block;
    font-family: var(--font-main);
    font-size: 7px;
    font-weight: 400;
    letter-spacing: 4px;
    margin-top: 1px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #ccc;
    font-size: 17px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    line-height: 1;
}
.mobile-menu-close:hover { color: var(--white); }

/* Drawer search */
.mobile-search {
    display: flex;
    align-items: center;
    margin: 14px 16px 4px;
    border: 1px solid #ddd;
}
.mobile-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 9px 14px;
    font-size: 12px;
    font-family: var(--font-main);
    color: #555;
    background: transparent;
}
.mobile-search button {
    background: none;
    border: none;
    padding: 9px 12px;
    color: #aaa;
    cursor: pointer;
    font-size: 13px;
}
.mobile-search button:hover { color: var(--dark); }

/* Drawer nav links */
.mobile-nav-links { padding: 8px 0 30px; }
.mobile-nav-links > li { border-bottom: 1px solid #efefef; }

.mobile-nav-links > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.8px;
    color: var(--dark);
    transition: color 0.2s;
}
.mobile-nav-links > li > a:hover { color: var(--red); }
.mobile-nav-links > li > a i {
    font-size: 10px;
    transition: transform 0.25s;
    color: #aaa;
}
.has-dropdown.open > a i { transform: rotate(180deg); }

.mobile-nav-account a {
    color: var(--red) !important;
    font-weight: 700 !important;
}

/* Drawer submenu */
.mobile-submenu {
    display: none;
    background: #f8f8f8;
    border-top: 1px solid #efefef;
}
.mobile-submenu.open { display: block; }
.mobile-submenu li a {
    display: block;
    padding: 11px 20px 11px 34px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    color: #555;
    transition: color 0.2s;
}
.mobile-submenu li a:hover { color: var(--red); }


/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.96);
    z-index: 2200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.search-overlay.open {
    opacity: 1;
    visibility: visible;
}
.search-overlay-inner {
    position: relative;
    width: 100%;
    max-width: 700px;
    padding: 0 24px;
}
.search-form {
    display: flex;
    align-items: center;
    border-bottom: 1.5px solid rgba(255,255,255,0.25);
    padding-bottom: 14px;
}
.search-form-icon {
    color: rgba(255,255,255,0.4);
    font-size: 17px;
    margin-right: 16px;
    flex-shrink: 0;
}
.search-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-main);
    font-size: clamp(16px, 3vw, 22px);
    font-weight: 300;
    letter-spacing: 0.5px;
    caret-color: var(--red);
}
.search-form input::placeholder {
    color: rgba(255,255,255,0.3);
}
.search-form-submit {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 17px;
    cursor: pointer;
    padding: 0 0 0 16px;
    transition: color 0.2s;
    flex-shrink: 0;
}
.search-form-submit:hover { color: var(--red); }
.search-close {
    position: absolute;
    top: -56px;
    right: 24px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.55);
    font-size: 22px;
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px;
}
.search-close:hover { color: #fff; }


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--dark);
    height: var(--header-h);
    padding: 0 30px;
    transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 3px 20px rgba(0, 0, 0, 0.6); }

.header-inner {
    max-width: 1380px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ---- Desktop nav (left + right) ---- */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
}
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }

.desktop-nav > a {
    color: var(--white);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s;
}
.desktop-nav > a:hover { color: var(--red); }

/* Dropdown (desktop) — JS-driven .is-open class, no CSS :hover gap bug */
/* align-self: stretch makes it fill the full 68px header height so the mouse
   never leaves the element when traveling down from toggle to menu */
.nav-dropdown {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
}
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--white);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap;
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-main);
}
.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle { color: var(--red); }
.nav-dropdown-toggle i {
    font-size: 9px;
    transition: transform 0.25s;
}
.nav-dropdown.is-open .nav-dropdown-toggle i { transform: rotate(180deg); }

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    padding-top: 8px; /* bridging gap — mouse travels over this invisible area */
    left: 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    transform: translateY(-6px);
}
.nav-dropdown-menu-inner {
    background: var(--dark);
    border-top: 2px solid var(--red);
    padding: 4px 0;
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
    list-style: none;
}
.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}
.nav-dropdown-menu-inner li a {
    display: block;
    padding: 10px 18px;
    color: #ccc;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.nav-dropdown-menu-inner li a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
}

/* Search button (header) */
.header-search-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 15px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    line-height: 1;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.header-search-btn:hover { color: var(--red); }

/* Cart icon (header) — always an <a> link to /cart.php */
.header-cart {
    color: var(--white);
    font-size: 18px;
    transition: color 0.2s;
    padding: 4px;
    line-height: 1;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.header-cart:hover { color: var(--red); }

/* Login / Register button */
.btn-login {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    color: var(--white);
    padding: 7px 16px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-login:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

/* ---- Center logo ---- */
.site-logo {
    flex-shrink: 0;
    margin: 0 28px;
    text-align: center;
}
.site-logo a {
    display: block;
    color: var(--white);
    font-family: var(--font-logo);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 4px;
    line-height: 1.1;
    transition: opacity 0.2s;
}
.site-logo a:hover { opacity: 0.85; }
.site-logo a span {
    display: block;
    font-family: var(--font-main);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 5px;
    margin-top: 2px;
}

/* ---- Mobile controls (hidden on desktop) ---- */
.mobile-controls { display: none; }

.hamburger-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    padding: 6px;
    transition: color 0.2s;
    line-height: 1;
}
.hamburger-btn:hover { color: var(--red); }

.mobile-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.mobile-logo a {
    display: block;
    text-align: center;
    color: var(--white);
    font-family: var(--font-logo);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.15;
}
.mobile-logo a span {
    display: block;
    font-family: var(--font-main);
    font-size: 7px;
    font-weight: 400;
    letter-spacing: 4px;
    margin-top: 1px;
}

.mobile-cart-btn {
    font-size: 18px;
    color: var(--white);
    padding: 4px;
    transition: color 0.2s;
    line-height: 1;
    display: flex;
    align-items: center;
}
.mobile-cart-btn:hover { color: var(--red); }


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    height: 86vh;
    min-height: 480px;
    margin-top: var(--header-h);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-color: #3d2418;
    transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.03); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 20px 30px;
}

.hero-text {
    font-family: var(--font-hero);
    font-style: italic;
    font-size: clamp(22px, 3.5vw, 46px);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 28px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.btn-read-story {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 13px 32px;
    border-radius: 40px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    transition: background 0.25s, transform 0.25s;
}
.btn-read-story:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
}


/* ============================================================
   CATEGORIES SECTION
   ============================================================ */
.categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.category-card {
    position: relative;
    height: 390px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.55s ease;
}

.category-card:nth-child(1) .category-bg { background-color: #6e5a4e; }
.category-card:nth-child(2) .category-bg { background-color: #a89080; }
.category-card:nth-child(3) .category-bg { background-color: #d4c8c0; }
.category-card:nth-child(4) .category-bg { background-color: #c0a888; }

.category-card:hover .category-bg { transform: scale(1.06); }

.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    transition: background 0.3s;
}
.category-card:hover .category-overlay { background: rgba(0, 0, 0, 0.38); }

.category-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 48px;
    color: var(--white);
    text-align: center;
}

.category-info h3 {
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.btn-shop {
    display: inline-block;
    background: var(--white);
    color: var(--dark);
    padding: 9px 26px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid var(--white);
    transition: background 0.25s, color 0.25s;
}
.btn-shop:hover {
    background: transparent;
    color: var(--white);
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    padding: 48px 20px 36px;
    text-align: center;
    background: var(--white);
    border-top: 1px solid #ebebeb;
}

.footer-nav-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    text-align: left;
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid #ebebeb;
}
.footer-nav-col { min-width: 120px; }
.footer-nav-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 12px;
}
.footer-nav-col ul { list-style: none; padding: 0; margin: 0; }
.footer-nav-col ul li { margin-bottom: 8px; }
.footer-nav-col ul li a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: color .18s;
}
.footer-nav-col ul li a:hover { color: var(--red); }
@media (max-width: 600px) {
    .footer-nav-grid { gap: 28px; }
    .footer-nav-col { min-width: calc(50% - 14px); }
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 22px;
}
.footer-social a {
    width: 34px;
    height: 34px;
    border: 1.5px solid #aaa;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 13px;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.footer-social a:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

.footer-copyright {
    font-size: 11.5px;
    color: #888;
    letter-spacing: 0.3px;
    margin-bottom: 7px;
}

.footer-links {
    font-size: 11.5px;
    color: #888;
    letter-spacing: 0.3px;
}
.footer-links a {
    color: var(--red);
    text-decoration: underline;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--red-hover); }


/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
@keyframes wa-float {
    0%, 100% { transform: translateY(0);    }
    50%       { transform: translateY(-8px); }
}

@keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);   }
    100% { box-shadow: 0 0 0 0   rgba(37, 211, 102, 0);    }
}

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 54px;
    height: 54px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 800;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    animation: wa-float 3s ease-in-out infinite,
               wa-pulse 2.5s ease-out infinite;
    transition: background 0.25s, transform 0.25s;
}
.whatsapp-float:hover {
    background: #20bd5a;
    animation: none;
    transform: scale(1.12);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}


/* ============================================================
   SHOP / COLLECTION PAGES
   ============================================================ */

.shop-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 28px 80px;
}

.shop-page > h1 {
    font-family: var(--font-logo);
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--dark);
    margin-bottom: 32px;
}

/* Category filter tabs */
.shop-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 44px;
}

.shop-cat-btn {
    display: inline-block;
    padding: 7px 20px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    border: 1.5px solid #ddd;
    color: #777;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    font-family: var(--font-main);
}
.shop-cat-btn:hover,
.shop-cat-btn.active {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

/* Product grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

/* Product card */
.product-card {
    background: var(--white);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}
.product-card:hover {
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.10);
    transform: translateY(-4px);
}

.product-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-img { transform: scale(1.04); }

.product-card-img-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 42px;
}

.product-card-body {
    padding: 18px 18px 20px;
}

.product-card-cat {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 6px;
    font-family: var(--font-main);
}

.product-card-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.45;
    margin-bottom: 10px;
    transition: color 0.2s;
    font-family: var(--font-main);
}
.product-card-name:hover { color: var(--red); }

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

.price-reg {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    font-family: var(--font-main);
}

.price-sale {
    font-size: 15px;
    font-weight: 700;
    color: var(--red);
    font-family: var(--font-main);
}

.price-orig {
    font-size: 13px;
    color: #bbb;
    text-decoration: line-through;
    font-family: var(--font-main);
}

/* Add to Cart button */
.btn-cart {
    display: block;
    width: 100%;
    padding: 11px 0;
    background: var(--dark);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    border: 2px solid var(--dark);
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
    font-family: var(--font-main);
}
.btn-cart:hover {
    background: transparent;
    color: var(--dark);
}

/* "Choose Options" — outlined red variant for products that require variant selection */
.btn-cart-options {
    display: block;
    width: 100%;
    padding: 11px 0;
    background: transparent;
    color: var(--red);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    border: 2px solid var(--red);
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
    font-family: var(--font-main);
    text-align: center;
}
.btn-cart-options:hover {
    background: var(--red);
    color: var(--white);
}

/* Secondary / outline button */
.btn-secondary {
    display: inline-block;
    padding: 11px 30px;
    background: transparent;
    color: var(--dark);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    border: 2px solid var(--dark);
    transition: background 0.25s, color 0.25s;
    font-family: var(--font-main);
}
.btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
}


/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .site-header { padding: 0 20px; }
    .desktop-nav { gap: 16px; }
    .desktop-nav > a,
    .nav-dropdown-toggle { font-size: 10px; }
    .site-logo { margin: 0 18px; }
    .site-logo a { font-size: 18px; }
    .btn-login { padding: 6px 12px; font-size: 9px; }
}


/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {

    /* Shop grid — 2 columns on mobile */
    .shop-page { padding: 36px 16px 60px; }
    .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .product-card-body { padding: 12px 12px 16px; }
    .product-card-name { font-size: 13px; }
    .btn-cart { padding: 10px 0; font-size: 9.5px; }

    /* Show mobile controls, hide desktop nav/logo */
    .desktop-nav,
    .site-logo { display: none; }
    .mobile-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        position: relative;
    }
    .site-header { padding: 0 16px; }

    /* Show mobile menu overlay layer */
    .mobile-menu-overlay { display: block; }

    /* Hero */
    .hero {
        height: 62vh;
        min-height: 320px;
    }
    .hero-text { font-size: clamp(18px, 5vw, 28px); }
    .btn-read-story { padding: 11px 26px; font-size: 9.5px; }

    /* Categories — single column on mobile */
    .categories { grid-template-columns: 1fr; }
    .category-card { height: 300px; }

}


/* ============================================================
   PRIMARY BUTTON
   ============================================================ */
.btn-primary {
    display: inline-block;
    padding: 13px 32px;
    background: var(--dark);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    border: 2px solid var(--dark);
    transition: background 0.25s, color 0.25s;
    font-family: var(--font-main);
    cursor: pointer;
}
.btn-primary:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}


/* ============================================================
   FORM FIELDS (used in checkout + search)
   ============================================================ */
.form-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 6px;
    font-family: var(--font-main);
}
.form-input {
    width: 100%;
    border: 1.5px solid #d4d4d4;
    border-radius: 0;
    padding: 11px 14px;
    font-size: 14px;
    font-family: var(--font-main);
    color: var(--dark);
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
}
.form-input:focus { border-color: var(--dark); }

/* Checkout payment option cards */
.pay-option {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1.5px solid #ddd;
    padding: 16px 18px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}
.pay-option input[type="radio"] { accent-color: var(--dark); }
.pay-option.selected { border-color: var(--dark); }
.pay-option:hover { border-color: #888; }


/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-page {
    max-width: 1080px;
    margin: var(--header-h) auto 0;
    padding: 60px 28px 80px;
}

/* Blog listing page */
.blog-banner {
    background: var(--dark);
    text-align: center;
    padding: 52px 24px 44px;
    margin-top: var(--header-h);
}
.blog-banner-title {
    font-family: var(--font-logo);
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 600;
    letter-spacing: .22em;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.blog-banner-line {
    display: block;
    width: 48px;
    height: 1px;
    background: var(--red);
    margin: 0 auto 14px;
}
.blog-banner-sub {
    font-size: 11px;
    letter-spacing: .18em;
    color: #888;
    text-transform: uppercase;
    font-family: var(--font-main);
}
.blog-cat-bar {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.blog-cat-bar::-webkit-scrollbar { display: none; }
.blog-cat-inner {
    display: flex;
    justify-content: center;
    min-width: max-content;
    margin: 0 auto;
    padding: 0 16px;
}
.blog-cat-link {
    display: inline-block;
    padding: 14px 22px;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--font-main);
    color: #888;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
}
.blog-cat-link:hover { color: var(--dark); }
.blog-cat-link.active { color: var(--dark); border-bottom-color: var(--red); }
.blog-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 52px 24px 80px;
}
.blog-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    padding-bottom: 44px;
    margin-bottom: 44px;
    border-bottom: 1px solid #ebebeb;
}
.blog-row:last-child { border-bottom: none; margin-bottom: 0; }
.blog-card { display: block; text-decoration: none; color: inherit; }
.blog-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
    margin-bottom: 16px;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img-ph {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card-cat {
    font-size: 9.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 700;
    font-family: var(--font-main);
    margin-bottom: 7px;
}
.blog-card-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--dark);
    line-height: 1.5;
    margin-bottom: 8px;
    font-family: var(--font-main);
    transition: color .2s;
}
.blog-card:hover .blog-card-title { color: var(--red); }
.blog-card-excerpt {
    font-size: 12px;
    color: #888;
    line-height: 1.65;
    font-family: var(--font-main);
}
.blog-empty {
    text-align: center;
    padding: 80px 24px;
    color: #aaa;
    font-family: var(--font-main);
    font-size: 13px;
    letter-spacing: .08em;
}

/* Blog post page */
.post-wrap { margin-top: var(--header-h); }
.post-header {
    max-width: 700px;
    margin: 0 auto;
    padding: 52px 24px 36px;
    text-align: center;
}
.post-meta {
    font-size: 10.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #bbb;
    margin-bottom: 18px;
    font-family: var(--font-main);
}
.post-meta span { color: var(--red); margin-right: 8px; }
.post-title {
    font-family: var(--font-logo);
    font-size: clamp(20px, 3.5vw, 30px);
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.post-excerpt-lead {
    font-size: 14px;
    color: #777;
    line-height: 1.75;
    font-family: var(--font-main);
}
.post-divider {
    width: 48px;
    height: 1px;
    background: var(--red);
    margin: 24px auto;
}
.post-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 52px;
    align-items: flex-start;
}
.post-featured-img { width: 100%; height: auto; display: block; margin-bottom: 20px; }
.post-author-credit {
    font-size: 11px;
    color: #bbb;
    font-style: italic;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid #ebebeb;
    font-family: var(--font-main);
}
.post-content {
    font-family: var(--font-main);
    font-size: 14.5px;
    line-height: 1.9;
    color: #333;
}
.post-content h1, .post-content h2, .post-content h3 {
    font-family: var(--font-logo);
    letter-spacing: .04em;
    color: var(--dark);
    margin: 32px 0 12px;
}
.post-content h1 { font-size: 20px; }
.post-content h2 { font-size: 17px; }
.post-content h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.post-content p { margin-bottom: 20px; }
.post-content img { max-width: 100%; height: auto; display: block; margin: 28px auto; }
.post-content blockquote {
    border-left: 3px solid var(--red);
    padding: 4px 0 4px 20px;
    margin: 28px 0;
    font-style: italic;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}
.post-content a { color: var(--red); text-decoration: underline; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 6px; }
.post-content strong { font-weight: 700; }
.post-sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar-head {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--dark);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--dark);
    margin-bottom: 20px;
    font-family: var(--font-main);
}
.sidebar-card {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 28px;
}
.sidebar-card:last-child { margin-bottom: 0; }
.sidebar-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #f0f0f0;
    margin-bottom: 10px;
}
.sidebar-card-img-ph {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.sidebar-card-title {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 4px;
    font-family: var(--font-main);
    transition: color .2s;
}
.sidebar-card:hover .sidebar-card-title { color: var(--red); }
.sidebar-card-excerpt {
    font-size: 11px;
    color: #aaa;
    line-height: 1.5;
    font-family: var(--font-main);
}
.post-back { text-align: center; padding: 0 0 60px; }
.post-back a {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid var(--dark);
    padding-bottom: 2px;
    font-family: var(--font-main);
    transition: color .2s, border-color .2s;
}
.post-back a:hover { color: var(--red); border-bottom-color: var(--red); }

/* ============================================================
   CMS PAGES (Terms, Privacy, About, Contact, custom pages)
   ============================================================ */
.cms-hero {
    background: var(--dark);
    color: #fff;
    padding: 56px 28px 44px;
    text-align: center;
    margin-top: var(--header-h);
}
.cms-hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 600;
    letter-spacing: .06em;
    margin: 0;
}
.cms-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 28px 100px;
    font-family: 'Montserrat', sans-serif;
}
.cms-body h1 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .04em;
    color: #1a1a1a;
    margin: 40px 0 14px;
}
.cms-body h2 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 36px 0 12px;
    letter-spacing: .03em;
}
.cms-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin: 18px 0 6px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.cms-body p {
    font-size: 13.5px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 12px;
}
.cms-body ul, .cms-body ol {
    padding-left: 22px;
    margin-bottom: 14px;
}
.cms-body li {
    font-size: 13.5px;
    color: #555;
    line-height: 1.85;
    margin-bottom: 4px;
}
.cms-body a { color: var(--red); }
.cms-body a:hover { color: var(--red-hover); }
.cms-body blockquote {
    border-left: 3px solid var(--red);
    padding: 12px 20px;
    background: #f9f8f7;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}
.cms-body strong { color: #1a1a1a; }
.cms-wa-cta {
    text-align: center;
    padding: 48px 24px;
    background: #f9f8f7;
    border-top: 1px solid #ebebeb;
}
.cms-wa-cta p { font-size: 14px; color: #666; margin-bottom: 20px; }
.cms-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 14px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
    transition: background .2s;
}
.cms-wa-btn:hover { background: #1da851; color: #fff; }

/* ============================================================
   RESPONSIVE — MOBILE ADJUSTMENTS (≤768px cont.)
   ============================================================ */
@media (max-width: 900px) {
    .blog-row { grid-template-columns: 1fr 1fr; gap: 28px; }
    .post-layout { grid-template-columns: 1fr; gap: 48px; }
    .post-sidebar { position: static; }
}
@media (max-width: 768px) {
    .cms-hero  { padding: 36px 16px 30px; }
    .cms-body  { padding: 36px 16px 72px; }
    .blog-page { padding: 36px 16px 60px; }
    .blog-banner { padding: 40px 24px 36px; }
    .blog-grid { padding: 36px 16px 60px; }
    .post-header { padding: 36px 24px 28px; }
    .post-title { font-size: 20px; }
}
@media (max-width: 560px) {
    .blog-row { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
    .hero { height: 55vh; }
    .hero-text { font-size: 19px; }
    .btn-read-story { padding: 10px 22px; font-size: 9px; }
    .category-card { height: 260px; }
    .whatsapp-float { width: 48px; height: 48px; font-size: 24px; bottom: 20px; right: 16px; }
    .shop-grid { gap: 12px; }
    .product-card-img-placeholder { font-size: 32px; }
    .search-posts-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-page {
    max-width: 1080px;
    margin: var(--header-h) auto 0;
    padding: 48px 24px 80px;
}
.search-page-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ebebeb;
}
.search-page-header h1 {
    font-family: var(--font-logo);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--dark);
    margin-bottom: 6px;
    text-transform: uppercase;
}
.search-page-header p {
    font-size: 13px;
    color: #aaa;
    letter-spacing: .02em;
}
.search-bar-inline {
    display: flex;
    align-items: center;
    max-width: 560px;
    border: 1.5px solid #ddd;
    margin-top: 20px;
    transition: border-color .2s;
}
.search-bar-inline:focus-within { border-color: var(--dark); }
.search-bar-inline input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-family: var(--font-main);
    font-size: 13px;
    color: var(--dark);
    background: transparent;
}
.search-bar-inline button {
    padding: 12px 18px;
    background: var(--dark);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background .2s;
}
.search-bar-inline button:hover { background: var(--red); }
.search-section-title {
    font-family: var(--font-main);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--dark);
}
.search-empty {
    padding: 60px 0;
    text-align: center;
    color: #bbb;
    font-size: 14px;
}
.search-empty strong {
    display: block;
    font-family: var(--font-logo);
    font-size: 18px;
    letter-spacing: .06em;
    color: var(--dark);
    margin-bottom: 8px;
}
.search-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 56px;
}
.search-post-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.search-post-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #f0f0f0;
    margin-bottom: 12px;
}
.search-post-card-img-ph {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #444;
    font-size: 28px;
}
.search-post-cat {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 6px;
}
.search-post-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--dark);
    line-height: 1.4;
    text-transform: uppercase;
    margin-bottom: 6px;
    transition: color .2s;
}
.search-post-card:hover .search-post-title { color: var(--red); }
.search-post-excerpt {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .search-posts-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}


/* ============================================================
   PRODUCT DETAIL PAGE (PDP)
   ============================================================ */
.pdp-outer { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.pdp-breadcrumb {
    padding: 28px 0 0;
    font-size: 11px;
    letter-spacing: .08em;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.pdp-breadcrumb a { color: #999; text-decoration: none; transition: color .15s; }
.pdp-breadcrumb a:hover { color: var(--red); }
.pdp-breadcrumb-sep { color: #ddd; margin: 0 4px; }
.pdp-wrap { display: flex; gap: 0; padding: 32px 0 80px; }

/* Gallery */
.pdp-images { flex: 0 0 54%; position: sticky; top: 80px; align-self: flex-start; padding-right: 56px; }
.pdp-gallery-inner { display: flex; gap: 12px; }
.pdp-thumbstrip { display: flex; flex-direction: column; gap: 8px; width: 76px; flex-shrink: 0; }
.pdp-thumb {
    width: 76px; height: 94px;
    border: 1.5px solid #e8e8e8;
    cursor: pointer; overflow: hidden;
    transition: border-color .2s;
    background: #f7f6f4; flex-shrink: 0;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb.active, .pdp-thumb:hover { border-color: #111; }
.pdp-main-wrap { flex: 1; position: relative; overflow: hidden; background: #f7f6f4; }
.pdp-main-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: opacity .3s; }
.pdp-main-placeholder {
    width: 100%; aspect-ratio: 4 / 5;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 14px;
    background: linear-gradient(145deg, #f7f6f4 0%, #ede8e2 100%);
}
.pdp-main-placeholder i { font-size: 3rem; color: #d8d0c8; }
.pdp-main-placeholder span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #c0b8b0; }
.pdp-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.92); border: 1px solid #e0e0e0;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 17px; color: #111;
    transition: all .2s; z-index: 2; padding: 0;
}
.pdp-arrow:hover { background: #111; color: #fff; border-color: #111; }
.pdp-arrow-prev { left: 14px; }
.pdp-arrow-next { right: 14px; }

/* Info panel */
.pdp-info { flex: 1; min-width: 0; padding-left: 4px; }
.pdp-cat-tag {
    display: inline-block; font-size: 10px; letter-spacing: .22em;
    text-transform: uppercase; color: #999; margin-bottom: 14px;
    text-decoration: none; transition: color .15s;
}
.pdp-cat-tag:hover { color: var(--red); }
.pdp-name {
    font-family: var(--font-logo);
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 600; letter-spacing: .03em;
    line-height: 1.22; color: #111; margin-bottom: 18px;
}
.pdp-price-wrap { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pdp-price-main { font-size: 30px; font-weight: 800; color: #111; letter-spacing: -.02em; font-family: var(--font-main); }
.pdp-price-sale { font-size: 30px; font-weight: 800; color: var(--red); letter-spacing: -.02em; font-family: var(--font-main); }
.pdp-price-orig { font-size: 18px; color: #bbb; text-decoration: line-through; font-family: var(--font-main); }
.pdp-price-save { font-size: 10px; font-weight: 700; background: var(--red); color: #fff; padding: 5px 12px; letter-spacing: .1em; text-transform: uppercase; align-self: center; }
.pdp-rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.pdp-rating-link { font-size: 12px; color: #999; cursor: pointer; transition: color .15s; text-decoration: none; }
.pdp-rating-link:hover { color: #111; text-decoration: underline; }
.pdp-divider { border: none; border-top: 1px solid #ebebeb; margin: 22px 0; }

/* SKU + Delivery */
.pdp-sku { font-size: 11px; letter-spacing: .1em; color: #bbb; margin-bottom: 16px; text-transform: uppercase; }
.pdp-delivery-box { display: flex; align-items: flex-start; gap: 13px; background: #f7f6f4; padding: 16px 18px; border-left: 3px solid var(--red); }
.pdp-delivery-icon { color: var(--red); font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.pdp-delivery-text { font-size: 12px; line-height: 1.75; }
.pdp-delivery-range { font-weight: 700; color: #111; font-size: 13px; }
.pdp-delivery-countdown { color: #777; font-size: 11px; }
.pdp-delivery-date { color: var(--red); font-weight: 600; }

/* Options */
.pdp-option-section { margin-bottom: 20px; }
.pdp-opt-label { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #777; margin-bottom: 11px; }
.pdp-opt-label em { font-style: normal; font-weight: 500; color: #111; letter-spacing: 0; text-transform: none; font-size: 12px; margin-left: 4px; }
.pdp-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-swatch {
    width: 30px; height: 30px; border-radius: 50%;
    cursor: pointer; padding: 0; border: none;
    box-shadow: 0 0 0 1.5px #ddd;
    outline: 3px solid transparent; outline-offset: 2px;
    transition: outline-color .15s, box-shadow .15s;
}
.pdp-swatch.active { outline-color: #111; box-shadow: 0 0 0 1.5px #888; }
.pdp-swatch:hover { outline-color: #888; }
.pdp-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.pdp-size-btn {
    min-width: 56px; padding: 9px 13px;
    border: 1.5px solid #ddd; background: #fff;
    font-family: var(--font-main); font-size: 12px; font-weight: 600;
    cursor: pointer; transition: all .18s; color: #111; letter-spacing: .02em;
}
.pdp-size-btn:hover:not(:disabled) { border-color: #111; background: #f7f7f7; }
.pdp-size-btn.active { background: #111; color: #fff; border-color: #111; }
.pdp-size-btn:disabled { color: #ccc; border-color: #efefef; cursor: not-allowed; text-decoration: line-through; }

/* Quantity */
.pdp-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.pdp-qty-wrap { display: inline-flex; align-items: center; border: 1.5px solid #ddd; }
.pdp-qty-btn {
    width: 40px; height: 40px; background: none; border: none;
    font-size: 20px; cursor: pointer; color: #111;
    transition: background .15s;
    display: flex; align-items: center; justify-content: center; line-height: 1;
}
.pdp-qty-btn:hover { background: #f0f0f0; }
.pdp-qty-val {
    width: 50px; height: 40px;
    border: none; border-left: 1.5px solid #ddd; border-right: 1.5px solid #ddd;
    text-align: center; font-size: 14px; font-weight: 700;
    font-family: var(--font-main); outline: none; background: transparent; color: #111;
}
.pdp-stock-ok { font-size: 12px; font-weight: 600; color: #15803d; display: flex; align-items: center; gap: 6px; }
.pdp-stock-ok i { font-size: 11px; }
.pdp-stock-out { font-size: 12px; font-weight: 600; color: #cc0000; }

/* CTA */
.pdp-cta-row { display: flex; gap: 10px; align-items: stretch; margin-bottom: 16px; }
.pdp-add-btn {
    flex: 1; background: #111; color: #fff;
    border: 2px solid #111; cursor: pointer;
    font-family: var(--font-main); font-size: 12px; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase;
    padding: 18px 24px; transition: all .25s;
}
.pdp-add-btn:hover:not(:disabled) { background: var(--red); border-color: var(--red); }
.pdp-add-btn:disabled { opacity: .45; cursor: not-allowed; }
.pdp-wish-btn {
    width: 58px; border: 2px solid #ddd; background: #fff;
    cursor: pointer; font-size: 20px; color: #ccc;
    transition: all .2s;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pdp-wish-btn:hover, .pdp-wish-btn.wl-active { color: var(--red); border-color: var(--red); }

/* Trust badges */
.pdp-trust-row { display: flex; border: 1px solid #ebebeb; margin-bottom: 20px; }
.pdp-trust-item {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 5px; padding: 12px 8px;
    font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
    color: #888; text-align: center; border-right: 1px solid #ebebeb;
}
.pdp-trust-item:last-child { border-right: none; }
.pdp-trust-item i { font-size: 16px; color: #bbb; }

/* Share */
.pdp-share-row {
    display: flex; align-items: center; gap: 14px;
    font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
    color: #bbb; margin-bottom: 26px;
}
.pdp-share-row a { color: #999; font-size: 15px; transition: color .15s; text-decoration: none; }
.pdp-share-row a:hover { color: var(--red); }

/* Accordions */
.pdp-acc-wrap { border-top: 1px solid #ebebeb; }
.pdp-accordion { border-bottom: 1px solid #ebebeb; }
.pdp-acc-trigger {
    width: 100%; display: flex; justify-content: space-between;
    align-items: center; padding: 17px 0;
    background: none; border: none; cursor: pointer;
    font-family: var(--font-main); font-size: 11px; font-weight: 700;
    letter-spacing: .15em; text-transform: uppercase; color: #111; outline: none;
}
.pdp-acc-trigger:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.pdp-acc-chevron { font-size: 11px; color: #bbb; transition: transform .25s; flex-shrink: 0; }
.pdp-acc-trigger.open .pdp-acc-chevron { transform: rotate(180deg); }
.pdp-acc-body { display: none; padding-bottom: 22px; font-size: 13px; color: #555; line-height: 1.85; }
.pdp-acc-body.open { display: block; }
.pdp-acc-body p + p { margin-top: 8px; }

/* Added to cart banner */
.pdp-added-banner {
    background: #f0fdf4; border: 1px solid #86efac;
    color: #166534; padding: 14px 18px; margin-bottom: 24px;
    font-size: 13px; display: flex; align-items: center; gap: 10px;
}

/* Reviews */
.pdp-reviews-section { max-width: 1240px; margin: 0 auto; padding: 64px 32px 80px; border-top: 1px solid #ebebeb; }
.pdp-reviews-header { display: flex; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.pdp-reviews-title { font-family: var(--font-logo); font-size: 22px; font-weight: 600; letter-spacing: .05em; color: #111; margin-bottom: 0; }
.pdp-reviews-meta { display: flex; align-items: center; gap: 12px; }
.pdp-review-avg { font-size: 32px; font-weight: 800; color: #111; font-family: var(--font-main); line-height: 1; }
.pdp-review-card { padding: 26px 0; border-bottom: 1px solid #f2f2f2; }
.pdp-review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.pdp-review-name { font-weight: 700; font-size: 13px; color: #111; }
.pdp-review-date { font-size: 11px; color: #ccc; margin-left: auto; }
.pdp-review-text { font-size: 13px; color: #555; line-height: 1.8; }
.pdp-review-form { margin-top: 52px; padding: 36px; background: #f7f6f4; border-left: 3px solid var(--red); }
.pdp-review-form h3 { font-family: var(--font-logo); font-size: 18px; font-weight: 600; letter-spacing: .04em; margin-bottom: 24px; color: #111; }
.pdp-star-picker { display: flex; gap: 4px; margin-bottom: 20px; }
.pdp-star-pick { font-size: 28px; color: #ddd; cursor: pointer; background: none; border: none; padding: 0 2px; transition: color .1s; line-height: 1; }
.pdp-star-pick.lit { color: #C0973A; }

/* Mobile sticky bar */
.pdp-mobile-sticky { display: none; }

/* PDP Responsive */
@media (max-width: 900px) {
    .pdp-outer { padding: 0 16px; }
    .pdp-wrap { flex-direction: column; padding: 0 0 60px; }
    .pdp-images { position: static; padding-right: 0; flex: none; }
    .pdp-gallery-inner { flex-direction: column; }
    .pdp-thumbstrip {
        flex-direction: row; width: 100%;
        overflow-x: auto; scrollbar-width: none; margin-top: 10px;
    }
    .pdp-thumbstrip::-webkit-scrollbar { display: none; }
    .pdp-thumb { width: 64px; height: 78px; }
    .pdp-info { padding-left: 0; padding-top: 24px; }
    .pdp-breadcrumb { padding: 20px 0 0; }
    .pdp-trust-row { display: none; }
    .pdp-reviews-section { padding: 40px 16px 60px; }
    .pdp-main-img, .pdp-main-placeholder { aspect-ratio: 3 / 4; }
    .pdp-mobile-sticky {
        display: flex; position: fixed; bottom: 0; left: 0; right: 0;
        z-index: 200; background: #fff; border-top: 1px solid #ebebeb;
        padding: 12px 16px; gap: 10px; align-items: center;
        transform: translateY(100%); transition: transform .3s ease;
    }
    .pdp-mobile-sticky.pdp-sticky-visible { transform: translateY(0); }
    .pdp-sticky-info { flex: 1; min-width: 0; }
    .pdp-sticky-name { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #111; }
    .pdp-sticky-price { display: block; font-size: 15px; font-weight: 800; color: #111; font-family: var(--font-main); }
    .pdp-sticky-btn {
        background: #111; color: #fff; border: none; cursor: pointer;
        font-family: var(--font-main); font-size: 11px; font-weight: 700;
        letter-spacing: .16em; text-transform: uppercase;
        padding: 14px 20px; white-space: nowrap; transition: background .2s; flex-shrink: 0;
    }
    .pdp-sticky-btn:hover { background: var(--red); }
}
@media (max-width: 500px) {
    .pdp-cta-row { flex-direction: column; }
    .pdp-wish-btn { width: 100%; height: 52px; }
}
