
/*Aditionel Effects----------------------------------------------------------------------------------------------------------------------*/

/*Smooth Scroll*/
html {
    scroll-behavior: smooth;
}

/*Page Load Animation*/
body {
    opacity: 0;
    transition: opacity 1s ease;
}

body.loaded {
    opacity: 1;
}

/*Smooth Page Transition*/
body.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}


/*Scroll Progress Bar---------------------------------------------------------------------------------------------------------------------------------------------*/
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: #D4AF37;
    width: 0%;
    z-index: 9999;
}


/* Announcement Bar Styling --------------------------------------------------------------------------------------------------------------------------------------*/
.announcement-bar {
    background-color: #0b0b0b; 
    color: #ffffff;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    overflow: hidden;
    position: relative;
    font-family: 'Georgia', serif; 
    font-size: 12px;
    letter-spacing: 2px;
}

.slider-container {
    flex-grow: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out; 
    width: 100%;
}

.slide {
    min-width: 100%;
    text-align: center;
    text-transform: uppercase;
}

.arrow {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.arrow:hover {
    opacity: 1;
}



/* Header & Navbar Styling -------------------------------------------------------------------------------------------------------------------------------------------*/
.main-header {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 40px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}


/* Left Section */
.nav-left .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
}

.nav-left .nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.nav-left .nav-links a:hover {
    color: #d4af37;
}



/* Right Section (Icons) */
.nav-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.3s;
}

.icon-link:hover {
    opacity: 0.6;
}

.nav-right svg {
    width: 22px; 
    height: 22px;
}

/* Logo Styling */
.logo-link {
    text-decoration: none;
    color: var(--text-primary);
}

.nav-center .logo {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 6px;
    margin: 0;
    text-align: center;
    transform: translateX(-30%);
}

.logo-link:hover .logo {
    transform: translateX(-30%) scale(1.02);
}



.nav-left .nav-links a:hover::after {
    width: 100%;
}

/* Right Icons Hover */
.icon-link:hover {
    color: #D4AF37; 
}

/* ---------------- HAMBURGER ---------------- */

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.4s ease;
}



.hamburger {
    display: none; 
    cursor: pointer;
}

/* Only show on mobile */
@media (max-width: 768px) {
    .hamburger {
        position: absolute;
        left: 20px;
    }

    .nav-right {
        position: absolute;
        right: 20px;
    }

    .nav-center {
        margin: 0 auto;
    }

    .announcement-bar {
       display: none;
    }
        .nav-center .logo {
        transform: translate(-30%, -10%);
    }


}

/*-------------------------*/


.hamburger svg {
    width: 26px;
    height: 26px;
    color: var(--text-primary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.hamburger:hover svg {
    color: #d4af37;
}

/*----------Header bluer effect--------------*/
.main-header {                  
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

/* ----------------------------------------------------------- MOBILE MENU ----------------------------------------------------------- */



@media (max-width: 768px) {

    /* Hide desktop nav */
    .nav-left {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;

        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);

        flex-direction: column;
        justify-content: center;
        align-items: center;

        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.5s ease;

        z-index: 999;
    }

    /* Dark mode support */
    [data-theme="dark"] .nav-left {
        background: rgba(10, 10, 10, 0.95);
    }

    .nav-left.active {
        transform: translateY(0);
        opacity: 1;
    }

    /* Menu items */
    .nav-links {
        flex-direction: column;
        gap: 35px;
        text-align: center;
    }

    .nav-links a {
        font-size: 22px;
        letter-spacing: 2px;
    }

    /* Smooth link animation */
    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-left.active .nav-links li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Delay animation for luxury feel */
    .nav-left.active .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-left.active .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-left.active .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-left.active .nav-links li:nth-child(4) { transition-delay: 0.4s; }

    /* Navbar layout */
    .navbar {
        justify-content: space-between;
    }

    .nav-center .logo {
        font-size: 26px;
        letter-spacing: 4px;
    }

    .nav-right {
        gap: 12px;
    }

    .hamburger {
        display: flex;
        z-index: 1000;
    }
}
/* ---------------- MOBILE HEADER FIX ----------------------------------------------------------------------------------------------------- */
@media (max-width: 768px) {

    .main-header {
        padding: 15px 20px;
    }

    .navbar {
        flex-direction: column;
        gap: 10px;
    }

    .nav-left .nav-links {
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-center .logo {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .nav-right {
        gap: 15px;
    }
}

/*------------------------------------------------------ Import Google Fonts (Playfair for headline, Montserrat for subline)------------------ */
/* (fonts are loaded in includes/header.php) */


/* --- Hero Section Styling ------------------------------------------------------------------------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    width: 100%;
    height: 90vh; 
    background-image: url('../assets/hero-background.jpg'); 
    background-size: cover; 
    background-position: center;
    display: flex;
    align-items: center; 
    justify-content: center; 
    color: #ffffff;
    overflow: hidden;
}

/* Dark gradient overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2; 
    max-width: 800px;
}

/* Headline Styling */
.hero-headline {
    font-family: 'Playfair Display', serif; 
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Subline Styling */
.hero-subline {
    font-family: 'Montserrat', sans-serif; 
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

/* --- The Gold CTA Button --- */
.cta-button {
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    padding: 15px 50px;
    border: 2px solid #D4AF37; 
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #D4AF37; 
    color: #000000; 
}

/* --- The Floating Rewards Widget --- */
.rewards-widget {
    position: fixed; 
    bottom: 30px;
    right: 30px;
    background-color: #B28DFF; 
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 25px; 
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999; /* Always on top */
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

.rewards-widget:hover {
    transform: translateY(-5px); 
    background-color: #A07FFF; 
}

.rewards-widget i {
    font-size: 16px;
}

/* --- Categories Section ------------------------------------------------------------------------------------------------------------------------------------------- */
.categories-section {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.categories-grid {
    display: flex;
    gap: 20px;
}

.category-card {
    flex: 1; 
    text-decoration: none;
    color: var(--text-primary) !important;
}

/* Image Wrapper for the Zoom Effect */
.category-image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4; 
    overflow: hidden; 
    background-color: var(--card-bg);
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, opacity 0.5s ease;
    display: block;
}

/* --- Hover Effects --- */
.category-card:hover .category-image-wrapper img {
    transform: scale(1.08); 
    opacity: 0.8; 
}

.category-label {
    margin-top: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

/* Label turns Gold when image or text is hovered */
.category-card:hover .category-label {
    color: #D4AF37;
}

.category-label .arrow {
    transition: transform 0.3s ease;
}

.category-card:hover .arrow {
    transform: translateX(5px); 
}

/* --- Responsive (Mobile) --- */
@media (max-width: 768px) {
    .categories-grid {
        flex-direction: column; 
    }
    
    .categories-section {
        padding: 40px 20px;
    }
}

/*-------------------------------------------------Best sellers---------------------------------------------------------------------------*/

body {
    margin: 0;
    font-family: 'Playfair Display', serif;
    background: var(--bg-secondary);
}

/* Section */
.section {
    padding: 60px 5%;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Card */
.card {
    cursor: pointer;
}

/* Image */
.img-container {
    position: relative;
    overflow: hidden;
    height: 450px;
    background: #fff;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}


/* Hover effect */
.img-container:hover img {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Overlay */
.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-container:hover .overlay {
    opacity: 1;
}

.overlay span {
    font-size: 14px;
    letter-spacing: 2px;
}

/* Info */
.info {
    margin-top: 10px;
}

.brand {
    font-size: 12px;
    letter-spacing: 1px;
}

.name {
    font-size: 16px;
}

.price {
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 20px;
    width: 300px;
    text-align: center;
}

.modal-content img {
    width: 100%;
}

.close {
    float: right;
    cursor: pointer;
    font-size: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .img-container {
    height: 300px;
    }
}





/*-----------------------------Moving text--------------------------------------------------------------------------------------------------------*/

.scrolling-text-container {
    background-color: #fff; 
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    overflow: hidden;
    white-space: nowrap;
    padding: 20px 0;
    display: flex;
}

.scrolling-text-inner {
    display: flex;
    animation: scroll-left 30s linear infinite; 
}

.scrolling-text-inner span {
    font-family: 'Playfair Display', serif; 
    font-size: 18px;
    font-weight: 400;
    color: #000;
    padding-right: 50px; 
    letter-spacing: 1px;
}

/* The Animation Logic */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); 
    }
}

/* Optional: Pause on hover so people can read a specific part */
.scrolling-text-container:hover .scrolling-text-inner {
    animation-play-state: paused;
    cursor: default;
}

/*---------------------------------------------Barand story section----------------------------------------------------------------------------------------------*/

/* --- Brand Story Section --- */
.brand-story-section {
    padding: 60px 20px;
    
    /* Background Image Effect */
    background-image: url('../assets/store-bg.jpg'); 
    background-attachment: fixed; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Dark overlay to make the white box pop */
.brand-story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

/* The White Text Box */
.story-card {
    position: relative;
    z-index: 2;
    background-color: #ffffff;

    padding: 60px 40px; 
    max-width: 800px;   
    width: 90%;        
    
    margin: 0 auto;     
    
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.story-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    letter-spacing: 4px;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #000;
}

.story-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.story-footer {
    font-weight: 600;
    margin-top: 30px;
}

/* --- Responsive (Mobile) --- */
@media (max-width: 768px) {
    .brand-story-section {
        background-attachment: scroll; 
        min-height: auto;
    }

    .story-card {
        
        padding: 40px 20px;
        width: 100%; 
        max-width: 100%;
    }
    
    .story-title {
        font-size: 24px;
        
    }
    
    .story-text p {
        font-size: 14px;
    }
}




/* --- Footer Styling ----------------------------------------------------------------------------------------------------------------------------- */
.main-footer {
    background: #0b0b0b;
    color: white;
    padding: 100px 80px 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.main-footer::before {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #D4AF37;
    margin: 0 auto 30px;
}

/* TOP */
.footer-top {
    text-align: center;
    margin-bottom: 30px;
}

.footer-top h2 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 10px;
    font-size: 40px;
    margin-bottom: 10px;
}

.footer-top p {
    font-size: 13px;
    opacity: 0.6;
}

/* TRUST */
.footer-trust {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 30px;
    font-size: 12px;
    opacity: 0.7;
}

/* GRID */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto 60px;
    gap: 60px;
}

.footer-grid div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-grid h4 {
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-grid a {
    font-size: 14px;
    text-decoration: none;
    color: white;
    opacity: 0.6;
    transition: 0.3s;
    position: relative;
}

.footer-grid a:hover {
    opacity: 1;
    color: #D4AF37;
}

/* PAYMENTS */
.footer-payments {
    text-align: center;
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 30px;
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    font-size: 11px;
    opacity: 0.4;
}


.footer-grid a {
    font-size: 14px;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: white;
    opacity: 0.65;
    transition: all 0.3s ease;
    position: relative;
}

.footer-grid a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    transition: 0.4s ease;
}

.footer-grid a:hover {
    opacity: 1;
}

.footer-grid a:hover::after {
    width: 100%;
}



.footer-divider {
    width: 85%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    margin: 40px auto 60px;
}


.footer-grid > div {
    position: relative;
}

.footer-grid > div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -30px;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgba(255,255,255,0.08);
}

.main-footer {
    opacity: 0;
    transform: translateY(30px);
    animation: footerFade 1s ease forwards;
}

.footer-grid div {
    gap: 12px;
}

.main-footer::before {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background: #D4AF37;
    margin: 0 auto 40px;
}

.footer-trust span,
.footer-trust div {
    transition: 0.3s;
}

.footer-trust span:hover,
.footer-trust div:hover {
    opacity: 1;
}

.main-footer {
    opacity: 0;
    transform: translateY(40px);
    animation: footerFade 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}



@keyframes footerFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */
@media (max-width: 768px) {

.footer-trust {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 20px;
}

}
/*--------------------Initial state of elements---------------------------------------------------------------------------------------------*/
/* Initial state of elements */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

/* Active state when scrolled into view */
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggering effect for the product grid cards */
.grid .card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.grid.reveal-visible .card {
    opacity: 1;
    transform: translateY(0);
}

/* Delay each card so they pop up one by one */
.grid.reveal-visible .card:nth-child(1) { transition-delay: 0.1s; }
.grid.reveal-visible .card:nth-child(2) { transition-delay: 0.2s; }
.grid.reveal-visible .card:nth-child(3) { transition-delay: 0.3s; }
.grid.reveal-visible .card:nth-child(4) { transition-delay: 0.4s; }

/*---------------------------------------Dark mode-------------------------------------------------------------------------------------------*/

:root {
    /* Light Mode (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --text-primary: #000000;
    --text-secondary: #555555;
    --border-color: #f0f0f0;
    --card-bg: #ffffff;
    --transition-speed: 0.5s;
}

[data-theme="dark"] {
    /* Dark Mode */
    --bg-primary: #0b0b0b;
    --bg-secondary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #333333;
    --card-bg: #151515;
}

/* Apply variables to the body */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

/*login-----------------------------------------------------------------------------------------------------------------------------------*/
/* AUTH MODAL */
.auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;

  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);

  z-index: 9999;
}

.auth-modal {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
}

.auth-container {
  width: 380px;
  padding: 35px;
  border-radius: 20px;

  /* GLASS EFFECT */
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);

  border: 1px solid rgba(255,255,255,0.1);

  color: white;
  text-align: center;

  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

/* CLOSE */
.auth-close {
  position: absolute;
  top: 20px;
  right: 25px;
  cursor: pointer;
}

/* TABS */
.auth-tabs {
  display: flex;
  margin-bottom: 20px;
}

.auth-tabs .tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.auth-tabs .tab {
  color: rgba(255,255,255,0.6);
}

.auth-tabs .active {
  color: white;
  border-bottom: 2px solid #D4AF37;
}

.auth-tabs .active {
  border-bottom: 2px solid black;
  font-weight: bold;
}

/* FORMS */
.auth-form {
  display: none;
  flex-direction: column;
}

.auth-form.active {
  display: flex;
}

.auth-form input {
  margin: 8px 0;
  padding: 12px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);

  color: white;
  outline: none;
}

.auth-form input::placeholder {
  color: rgba(255,255,255,0.6);
}

.auth-form button {
  margin-top: 10px;
  padding: 12px;
  background: black;
  color: white;
  border: none;
  cursor: pointer;
}

.auth-form button {
  margin-top: 12px;
  padding: 12px;

  background: #D4AF37; 
  color: black;

  border: none;
  cursor: pointer;

  transition: 0.3s;
}

.auth-form button:hover {
  background: white;
}

.auth-error {
  color: red;
  font-size: 12px;
  margin-top: 5px;
}


/*------------------Men's page------------------------------------------------------------------------------------------------------------------------------*/

/*----------------Quick view-----------------------------------------------------------*/


.qv-overlay,
#qvOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 9998;
}

.qv-overlay.active,
#qvOverlay.active {
    opacity: 1;
    pointer-events: all;
}

.quick-view,
#quickView {
    position: fixed;
    top: 0;
    right: 0;
    width: 900px;
    max-width: 100%;
    height: 100vh;

    background: rgba(245, 245, 245, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    color: #000;
    z-index: 9999;

    transform: translateX(100%);
    transition: transform 0.45s ease;

    display: flex;
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.quick-view.active,
#quickView.active {
    transform: translateX(0);
}

.quick-container {
    width: 100%;
    height: 100%;
    display: flex;
}

/* LEFT IMAGE AREA */
.qv-images {
    width: 52%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 35px 20px;
    overflow-y: auto;
}

.qv-gallery,
#qv-gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.qv-gallery img,
#qv-gallery img {
    width: 285px;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: zoom-in;
}

.qv-gallery img:hover,
#qv-gallery img:hover {
    transform: scale(1.06);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
    z-index: 2;
}

/* RIGHT INFO AREA */
.qv-info {
    width: 48%;
    height: 100%;
    padding: 60px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #000;
}

.qv-info h2,
#qv-name {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #000;
    font-family: Georgia, serif;
}

.qv-info p,
#qv-price {
    color: #000;
    font-size: 16px;
}

#qv-price {
    margin-bottom: 35px;
}

.qv-color,
.qv-size {
    margin-bottom: 25px;
}

#qv-color-label,
.qv-size p {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #000;
}

/* COLORS */
.color-options {
    display: flex;
    gap: 12px;
    margin: 10px 0 0;
}

.color-options span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: 0.25s ease;
}

.color-options span.active {
    border: 2px solid #000;
    transform: scale(1.12);
}

/* SIZE */
.sizes {
    display: flex;
    gap: 12px;
    margin: 10px 0 0;
}

.sizes span,
.size {
    min-width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    color: #000;
    background: transparent;
    font-size: 14px;
    transition: 0.25s ease;
}

.sizes span.active,
.size.active {
    border: 2px solid #000;
}

/* QTY */
.qv-qty {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0 28px;
    color: #000;
}

.qv-qty button {
    width: 22px;
    height: 22px;
    border: none;
    background: #f2f2f2;
    color: #000;
    cursor: pointer;
    font-weight: 700;
    border-radius: 4px;
}

.qv-qty span {
    color: #000;
    font-size: 14px;
}

/* ADD TO CART */
.qv-add {
    width: 100%;
    padding: 16px;
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

.qv-add:hover {
    background: #222 !important;
}

/* CLOSE */
.close-qv {
    position: absolute;
    top: 25px;
    right: 28px;
    font-size: 24px;
    cursor: pointer;
    color: #000;
    z-index: 10000;
}

/* MOBILE */
@media (max-width: 768px) {
    .quick-view,
    #quickView {
        width: 100%;
    }

    .quick-container {
        flex-direction: column;
        overflow-y: auto;
    }

    .qv-images,
    .qv-info {
        width: 100%;
        height: auto;
    }

    .qv-gallery img,
    #qv-gallery img {
        width: 260px;
    }

    .qv-info {
        padding: 35px 25px;
    }
}

/* QUICK VIEW COLORS */
#qv-colors {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

#qv-colors span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: block;
    border: 2px solid transparent;
    transition: 0.3s ease;
}

/* active color */
#qv-colors span.active {
    border-color: #D4AF37;
    transform: scale(1.1);
}

/* hover */
#qv-colors span:hover {
    transform: scale(1.08);
}

#qv-colors span[data-color="Black"] {
    border: 1px solid #555;
}



/*Mens heedder---------------------------*/
.mens-top {
    padding: 60px 20px 30px;
    text-align: center;
}

.mens-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.mens-header p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    border-bottom: 1px solid transparent;
}

.filter-btn {
    color: var(--text-secondary);
    transition: 0.3s;
}

.filter-btn.active {
    border-bottom: 2px solid var(--text-primary);
    color: var(--text-primary);
}

.filter-btn:hover {
    color: var(--text-primary);
}




/*Spacing upgrade*/
.grid {
    gap: 30px;
    padding: 20px;
}


/*Improve Grid on Mobile*/
@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 10px;
    }
}

/*Improve Card Touch Feel*/
@media (max-width: 768px) {
    .card {
        border-radius: 6px;
        overflow: hidden;
    }

    .quick-btn {
        font-size: 12px;
        padding: 6px;
    }
}

/*Improve Header Section*/
@media (max-width: 768px) {
    .mens-header h1 {
        font-size: 24px;
    }

    .mens-header p {
        font-size: 13px;
    }
}

/*Make filters sticky on mobile*/
@media (max-width: 768px) {
    .filters {
        position: sticky;
        top: 60px;
        background: var(--bg-primary);
        z-index: 10;
    }
}

#qv-colors {
    display: flex !important;
    gap: 14px;
    margin-top: 12px;
}

#qv-colors span {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50%;
    display: block !important;
    border: 2px solid rgba(255,255,255,0.25);
    cursor: pointer;
    flex-shrink: 0;
}

/* -----------------------------------------------------------------------------------CART PAGE ------------------------------------------------------------------- */

.cart-page {
    display: flex;
    gap: 40px;
    padding: 60px 5%;
}

/* LEFT SIDE */
.cart-items {
    flex: 2;
}

/* ITEM */
.cart-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.cart-item img {
    width: 100px;
    height: 130px;
    object-fit: cover;
}

/* DETAILS */
.cart-details h3 {
    margin: 0;
}

.cart-details p {
    margin: 5px 0;
    color: var(--text-secondary);
}

/* QTY */
.cart-qty {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.cart-qty button {
    padding: 5px 10px;
    cursor: pointer;
}

/* REMOVE */
.remove-btn {
    margin-top: 10px;
    background: none;
    border: none;
    color: red;
    cursor: pointer;
}

/* RIGHT SIDE */
.cart-summary {
    flex: 1;
    border: 1px solid var(--border-color);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
    .cart-page {
        flex-direction: column;
    }
}


/*Add Cart Counter------*/
.cart-icon {
    position: relative;
}

#cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: red;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
}



/* Slide cart------------------------------------ */


.cart-drawer {
    position: fixed;
    right: 0;
    top: 0;
    width: 350px;
    height: 100%;

    /* 🔥 GLASS EFFECT */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-left: 1px solid rgba(255,255,255,0.15);

    color: var(--text-primary);
    z-index: 1001;

    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);

    display: flex;
    flex-direction: column;
}

/* Active */
.cart-drawer.active {
    transform: translateX(0);
}

.cart-drawer.active {
    transform: translateX(0);
}

/* Overlay */
#cartOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.4);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

#cartOverlay.active {
    opacity: 1;
    pointer-events: all;
}


.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h2 {
    font-size: 18px;
    letter-spacing: 1px;
}


#cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item.premium {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.cart-item img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
}

/* text */
.cart-info {
    flex: 1;
}

.cart-info .name {
    font-size: 14px;
    color: var(--text-primary);
}

.cart-info .price {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ================= CONTROLS ================= */
.cart-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.cart-controls button {
    width: 26px;
    height: 26px;

    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);

    cursor: pointer;
    transition: 0.2s;
}

.cart-controls button:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}


.remove {
    position: absolute;
    right: 0;
    top: 15px;

    background: none;
    border: none;

    cursor: pointer;
    opacity: 0.5;
    color: var(--text-secondary);

    transition: 0.2s;
}

.remove:hover {
    opacity: 1;
    color: red;
}


.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-footer button {
    width: 100%;
    padding: 12px;

    background: var(--text-primary);
    color: var(--bg-primary);

    border: none;
    cursor: pointer;

    transition: 0.3s;
}

.cart-footer button:hover {
    opacity: 0.8;
}


#cart-items p {
    color: var(--text-secondary);
    text-align: center;
}


#cart-items::-webkit-scrollbar {
    width: 6px;
}

#cart-items::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

#cartOverlay {
    background: rgba(0,0,0,0.5);
}

.cart-drawer::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;

    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );
}

.cart-drawer {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
/*Dark mode glass*/

[data-theme="dark"] .cart-drawer {
    background: rgba(10, 10, 10, 0.55);   
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-left: 1px solid rgba(255,255,255,0.08);
}

/* text clarity */
[data-theme="dark"] .cart-info .name {
    color: var(--text-primary);
}

[data-theme="dark"] .cart-info .price {
    color: var(--text-secondary);
}

/* buttons */
[data-theme="dark"] .cart-controls button {
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
}

[data-theme="dark"] .cart-controls button:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* footer button */
[data-theme="dark"] .cart-footer button {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* remove icon */
[data-theme="dark"] .remove {
    color: var(--text-secondary);
}

.remove {
    position: absolute;
    right: 0;
    top: 15px;

    background: none;
    border: none;

    cursor: pointer;
    user-select: none;

    font-size: 16px;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0.5;
    transition: 0.2s;
}

.remove:hover {
    opacity: 1;
    transform: scale(1.1); 
}

/*  CART CLOSE BUTTON */

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-close {
    background: none;
    border: none;

    cursor: pointer;
    user-select: none;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;
    border-radius: 50%;

    transition: 0.3s;
}

/* hover effect */
.cart-close:hover {
    background: rgba(0,0,0,0.08);
}

/* dark mode hover */
[data-theme="dark"] .cart-close:hover {
    background: rgba(255,255,255,0.08);
}

/* prevent svg blocking click */
.cart-close svg {
    pointer-events: none;
}




/* subtle light reflection */
.cart-drawer::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.15) 0%,
        rgba(255,255,255,0.05) 30%,
        transparent 60%
    );

    pointer-events: none;
}

/* dark mode reflection tweak */
[data-theme="dark"] .cart-drawer::after {
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.05),
        transparent 60%
    );
}

.cart-drawer {
    box-shadow: 
        -10px 0 40px rgba(0,0,0,0.25),  
        inset 1px 0 0 rgba(255,255,255,0.08); 
}

.cart-drawer {
    transform: translateX(100%) scale(0.98);
}

.cart-drawer.active {
    transform: translateX(0) scale(1);
}

#cartOverlay {
    backdrop-filter: blur(8px) saturate(120%);
}

.cart-drawer {
    overflow: visible;
}



[data-theme="dark"] .cart-close svg {
    stroke: #ffffff; 
}

.cart-close {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(255,255,255,0.1);

    cursor: pointer;
    transition: 0.3s;
}

[data-theme="dark"] .cart-close {
    background: rgba(255,255,255,0.08);
}
/*--------------------Check it out---------------------------------------------------------------------------------------------------------------*/


#checkoutDrawer {
    position: fixed;
    top: 0;
    width: 400px;
    max-width: 100%;
    height: 100%;

    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);

    z-index: 9999;

    display: flex;
    flex-direction: column;

}


/* FORM */
.checkout-form {
    padding: 15px;
}

.checkout-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;

    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

/* PAYMENT */
.payment-methods {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-trust {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 10px;
    text-align: center;
}

.drawer-footer button {
    background: #D4AF37;
    color: black;
    font-weight: 600;
}

.cart-drawer {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
}

.drawer-header,
.drawer-footer {
    flex-shrink: 0;
}

.drawer-header,
.drawer-footer {
    flex-shrink: 0;
}

#checkoutDrawer {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

#checkoutDrawer {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.drawer-header,
.drawer-footer {
    flex-shrink: 0;
}



.checkout-summary {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* rows */
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    opacity: 0.8;
}

/* FREE highlight */
.free {
    color: #4CAF50;
    font-weight: 600;
}

/* note */
.free-note {
    font-size: 12px;
    opacity: 0.5;
}

/* divider */
.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 10px 0;
}

/* TOTAL */
.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
}

/* BUTTON */
.place-order-btn {
    margin-top: 15px;
    padding: 15px;

    background: linear-gradient(135deg, #D4AF37, #f5d76e);
    color: black;
    border: none;

    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;

    transition: 0.3s;
}

.place-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212,175,55,0.3);
}

/* TRUST */
.checkout-trust {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;

    font-size: 12px;
    opacity: 0.6;
}


.place-order-btn {
    position: relative;
    overflow: hidden;
}

.place-order-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.place-order-btn:hover::after {
    left: 100%;
}


/* OVERLAY (background) */
#cartOverlay {
    z-index: 1000;
}

/* CART */
#cartDrawer {
    z-index: 1100;
}

/* CHECKOUT (top layer) */
#checkoutDrawer {
    z-index: 1200;
}

/* QUICK VIEW (optional lower than checkout) */
.quick-view {
    z-index: 1150;
}

#checkoutDrawer {
    position: fixed;
    right: 0;
    top: 0;
}


/* BACKGROUND OVERLAY */
#cartOverlay {
    z-index: 1000;
}

/* QUICK VIEW */
.quick-view {
    z-index: 1100;
}

/* CHECKOUT (TOP) */
#checkoutDrawer {
    z-index: 1200;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 20px;
}

/* CLOSE BUTTON */
.drawer-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-primary);

    transition: 0.3s;
}

.drawer-close:hover {
    color: #D4AF37;
    transform: rotate(90deg);
}

.drawer-close {
    width: 35px;
    height: 35px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.08);
}

.drawer-close:hover {
    background: rgba(255,255,255,0.2);
}

/* overlay */
#qvOverlay {
    z-index: 1000;
}

/* quick view MUST be higher */
#quickView {
    z-index: 2000;
    position: fixed; 
}


.user-info span {
    transition: color 0.3s ease;
}
.user-info a:hover i {
    color: #fff !important;
}


/* =====================================================================
   ZIVORA v2 — ADDITIONS & FIXES (everything below is new)
   ===================================================================== */

[hidden] { display: none !important; }

/* ---------- Header buttons ---------- */
button.icon-link {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font: inherit;
}
button.hamburger {
    background: none;
    border: none;
    padding: 0;
    color: var(--text-primary);
}
.nav-left .nav-links a.active { color: #D4AF37; }

.user-info { display: flex; align-items: center; gap: 10px; }
.user-greeting,
.admin-link {
    color: #D4AF37 !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
}
.user-info .icon-link svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
    .user-greeting { display: none; }
}

/* ---------- Cart count badge ---------- */
.cart-icon { position: relative; display: inline-flex; }
#cart-count {
    background: #D4AF37;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    line-height: 16px;
    text-align: center;
    border-radius: 10px;
    box-sizing: border-box;
    top: -6px;
    right: -9px;
}
#cart-count[data-count="0"] { display: none; }

/* ---------- Product cards ---------- */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}
.section-head h2 { margin-bottom: 0; }
.view-all {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
}
.view-all:hover { color: #D4AF37; }

.card:focus-visible { outline: 2px solid #D4AF37; outline-offset: 4px; }
.card .info p { margin: 4px 0; }
.card .info .brand { color: var(--text-secondary); font-family: 'Montserrat', sans-serif; font-size: 10px; letter-spacing: 2px; }
.card .info .name { color: var(--text-primary); }
.card .info .price { color: var(--text-primary); font-family: 'Montserrat', sans-serif; }

.badge-soldout {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #000;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    padding: 5px 10px;
}
.card.sold-out .img-container img { opacity: 0.55; filter: grayscale(0.4); }

/* Phones have no hover, so always show "QUICK VIEW" */
@media (hover: none) {
    .overlay { opacity: 1; }
}

.shop-empty {
    text-align: center;
    padding: 60px 20px;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* ---------- Quick view ---------- */
.quick-view,
#quickView { background: rgba(250, 250, 250, 0.92); }

.close-qv { background: none; border: none; font-size: 28px; line-height: 1; }

#qv-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin: -15px 0 20px;
    white-space: pre-line;
}
#qv-stock {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    margin: -10px 0 20px;
}
#qv-stock.low { color: #c0392b; font-weight: 600; }
#qv-desc:empty,
#qv-stock:empty { display: none; }

.sizes .size {
    font-family: 'Montserrat', sans-serif;
    padding: 0 10px;
}
.sizes .size:hover { border-color: #000; }

#qv-colors button {
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: 0.25s ease;
}
#qv-colors button:hover { transform: scale(1.08); }
#qv-colors button.active {
    border-color: #D4AF37;
    transform: scale(1.12);
    box-shadow: inset 0 0 0 2px #fff;
}

.qv-qty button { width: 30px; height: 30px; }
.qv-add:disabled { opacity: 0.5; cursor: not-allowed; }
.qv-error {
    color: #c0392b !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px !important;
    margin-top: 12px;
}

[data-theme="dark"] .quick-view,
[data-theme="dark"] #quickView { background: rgba(14, 14, 14, 0.92); }
[data-theme="dark"] .qv-info,
[data-theme="dark"] .qv-info h2,
[data-theme="dark"] #qv-name,
[data-theme="dark"] #qv-price,
[data-theme="dark"] #qv-desc,
[data-theme="dark"] #qv-color-label,
[data-theme="dark"] .qv-size p,
[data-theme="dark"] .qv-qty,
[data-theme="dark"] .qv-qty span,
[data-theme="dark"] .close-qv,
[data-theme="dark"] .sizes .size { color: #f0ead8; }
[data-theme="dark"] .sizes .size { border-color: rgba(255, 255, 255, 0.3); }
[data-theme="dark"] .sizes .size.active { border-color: #D4AF37; }
[data-theme="dark"] .qv-qty button { background: #2a2a2a; color: #fff; }
[data-theme="dark"] .qv-add { background: #D4AF37 !important; color: #000 !important; border-color: #D4AF37 !important; }

/* ---------- Cart & checkout drawers ---------- */
.cart-drawer { max-width: 100%; background: rgba(255, 255, 255, 0.92); }
.cart-info p { margin: 3px 0; }
.cart-meta { font-size: 12px; opacity: 0.75; }
.cart-empty { padding: 40px 0; }
.cart-footer button:disabled { opacity: 0.4; cursor: not-allowed; }
.cart-header h2,
.drawer-header h2 { font-family: 'Playfair Display', serif; font-weight: 400; margin: 0; }

#checkoutOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 1150;
}
#checkoutOverlay.active { opacity: 1; pointer-events: all; }

#checkoutDrawer { background: rgba(255, 255, 255, 0.95); }
[data-theme="dark"] #checkoutDrawer { background: rgba(12, 12, 12, 0.92); }

.checkout-form input {
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}
.checkout-form input:focus { outline: none; border-color: #D4AF37; }
.payment-methods label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
}
.checkout-hint {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    opacity: 0.6;
    margin: 10px 0 0;
}
#checkout-items { padding: 0 15px; }
.checkout-summary { font-family: 'Montserrat', sans-serif; }
.checkout-error {
    color: #c0392b;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}
.checkout-error:empty { display: none; }
.place-order-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

#checkout-success {
    padding: 50px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    font-family: 'Montserrat', sans-serif;
}
.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#checkout-success h3 { font-family: 'Playfair Display', serif; font-size: 26px; margin: 0; }
#checkout-success p { font-size: 14px; line-height: 1.6; opacity: 0.85; margin: 0; }
.wa-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 15px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s;
}
.wa-btn:hover { background: #1ebe5a; }
.continue-btn {
    width: 100%;
    padding: 12px;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
}

/* ---------- Login / sign up ---------- */
.auth-modal.open { display: flex; }
.auth-container {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    overflow-y: auto;
    box-sizing: border-box;
}
.auth-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    line-height: 1;
}
.auth-tabs .tab { font-family: 'Montserrat', sans-serif; font-size: 14px; letter-spacing: 1px; }
.auth-tabs .tab.active { color: #fff; border-bottom: 2px solid #D4AF37; }
.auth-form h2 { font-family: 'Playfair Display', serif; font-weight: 400; margin: 0 0 10px; }
.auth-form input { font-family: 'Montserrat', sans-serif; font-size: 13px; }
.auth-form input:focus { border-color: #D4AF37; }
.auth-form button { font-family: 'Montserrat', sans-serif; letter-spacing: 1px; }
.auth-form button:disabled { opacity: 0.6; cursor: wait; }
.auth-error { color: #ff8a80; font-family: 'Montserrat', sans-serif; line-height: 1.5; }
.auth-error:empty { display: none; }

/* ---------- Footer (4 columns, mobile friendly) ---------- */
.footer-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-grid > div:not(:last-child)::after { right: -20px; }
.footer-payments p,
.footer-bottom p { margin: 0; }

@media (max-width: 900px) {
    .main-footer { padding: 70px 30px 30px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
    .footer-grid > div::after { display: none; }
}
@media (max-width: 768px) {
    .footer-trust { flex-wrap: wrap; gap: 12px 24px; }
    .footer-top h2 { font-size: 30px; letter-spacing: 6px; }
}
@media (max-width: 420px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Policies page ---------- */
.policy-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    font-family: 'Montserrat', sans-serif;
}
.policy-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 3px;
    text-align: center;
}
.policy-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    margin: 20px 0 40px;
}
.policy-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.policy-nav a:hover { color: #D4AF37; }
.policy-page section {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    scroll-margin-top: 120px;
}
.policy-page h2 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 400; margin: 0 0 14px; }
.policy-page p { line-height: 1.8; color: var(--text-secondary); font-size: 15px; }
.policy-page a { color: #D4AF37; }
.policy-updated { font-size: 12px; opacity: 0.6; text-align: center; margin-top: 30px; }

/* ---------- Dark mode fixes for parts that were always white ---------- */
[data-theme="dark"] .scrolling-text-container {
    background-color: var(--bg-secondary);
    border-top-color: var(--border-color);
    border-bottom-color: var(--border-color);
}
[data-theme="dark"] .scrolling-text-inner span { color: var(--text-primary); }
[data-theme="dark"] .story-card { background-color: #0f0f0f; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); }
[data-theme="dark"] .story-title { color: #f0ead8; }
[data-theme="dark"] .story-text p { color: #aaa098; }
[data-theme="dark"] .section h2,
[data-theme="dark"] .section-title,
[data-theme="dark"] .mens-header h1 { color: var(--text-primary); }
[data-theme="dark"] .img-container { background: var(--card-bg); }

/* ---------- Search box ---------- */
/* ══════════════════════════════════════════════════════════════
   SEARCH MODAL
   ══════════════════════════════════════════════════════════════ */

.search-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99999;
}

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

/* The white/glass search box */
.search-box {
    width: 620px;
    max-width: 92vw;
    background: rgba(18, 18, 18, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: searchSlideIn 0.2s ease;
}

@keyframes searchSlideIn {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Input row */
.search-input-row {
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 12px;
}

.search-input-row svg {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.4);
}

.search-input-row input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    color: #ffffff;
    padding: 20px 0;
    letter-spacing: 0.3px;
}

.search-input-row input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.search-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    font-size: 24px;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
    transition: color 0.2s;
    flex-shrink: 0;
}

.search-close-btn:hover { color: #ffffff; }

/* Results container */
.search-results {
    max-height: 340px;
    overflow-y: auto;
    padding: 8px 0;
}

.search-results::-webkit-scrollbar { width: 4px; }
.search-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
}

/* Each result row */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 18px;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    color: inherit;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.search-result-img {
    width: 48px;
    height: 62px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    background: #222;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.3px;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-category {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.38);
    letter-spacing: 1.5px;
    margin: 0;
}

.search-result-price {
    font-size: 13px;
    color: #D4AF37;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Empty / hint text */
.search-hint,
.search-empty {
    padding: 24px 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    letter-spacing: 0.3px;
    margin: 0;
}

/* Footer bar */
.search-footer {
    display: flex;
    justify-content: space-between;
    padding: 9px 18px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.3px;
}

.search-footer kbd {
    display: inline-block;
    padding: 1px 5px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 3px;
    font-family: monospace;
    font-size: 10px;
}
.search-input-row input::-webkit-search-cancel-button { display: none; }
.search-result-item { box-sizing: border-box; }

/* anchor links land below the sticky header */
.categories-section,
[id] { scroll-margin-top: 110px; }

/* closed drawers: no shadow peeking in from the right edge, and not focusable */
.cart-drawer:not(.active),
.quick-view:not(.active) {
    box-shadow: none;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.5s;
}
.cart-drawer.active,
.quick-view.active {
    visibility: visible;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =====================================================================
   ZIVORA v3 — sale prices, reviews, discount codes, account pages
   ===================================================================== */

/* ---------- Sale prices ---------- */
.old-price {
    text-decoration: line-through;
    opacity: 0.55;
    margin-right: 6px;
    font-size: 0.9em;
}
.sale-price { color: #c0392b; font-weight: 600; }
.card .info .price .old-price { color: var(--text-secondary); }
.badge-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #c0392b;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    padding: 5px 10px;
}

/* ---------- Star ratings ---------- */
.card-rating {
    color: #D4AF37;
    font-size: 13px;
    letter-spacing: 1px;
}
.card-rating span { color: var(--text-secondary); font-family: 'Montserrat', sans-serif; font-size: 11px; letter-spacing: 0; }

/* ---------- Reviews in quick view ---------- */
.qv-reviews {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    font-family: 'Montserrat', sans-serif;
    color: #000;
}
.qv-reviews h3 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 20px; margin: 0 0 15px; }
#qv-review-summary { color: #b8902a; font-family: 'Montserrat', sans-serif; font-size: 13px; margin-left: 8px; }
.review { padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.review-head { margin: 0 0 6px; font-size: 13px; }
.review-stars { color: #b8902a; letter-spacing: 1px; }
.review-date { color: #888; font-size: 11px; margin-left: 6px; }
.review-text { margin: 0; font-size: 13px; line-height: 1.6; white-space: pre-line; }
.review-empty { font-size: 13px; opacity: 0.6; }

.review-form { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.review-form-title { font-size: 13px; font-weight: 600; margin: 0; }
.star-input { display: flex; gap: 4px; }
.star-input button {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #b8902a;
    cursor: pointer;
    padding: 0 2px;
}
.review-form textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: transparent;
    color: inherit;
    resize: vertical;
}
.review-form button[type="submit"] {
    align-self: flex-start;
    padding: 10px 22px;
    background: transparent;
    border: 1px solid #000;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
}
.review-form button[type="submit"]:disabled { opacity: 0.5; }
.review-msg { font-size: 13px; margin: 0; }
.review-msg.success { color: #2e7d32; }
.review-msg.error { color: #c0392b; }
.review-login { font-size: 13px; }

.auth-link {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 12px 0 0 !important;
    color: #D4AF37 !important;
    text-decoration: underline;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}
.review-login .auth-link { margin: 0 !important; color: #b8902a !important; }

[data-theme="dark"] .qv-reviews { color: #f0ead8; border-top-color: rgba(255, 255, 255, 0.12); }
[data-theme="dark"] .review { border-bottom-color: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .review-form textarea { border-color: rgba(255, 255, 255, 0.25); }
[data-theme="dark"] .review-form button[type="submit"] { border-color: #D4AF37; color: #D4AF37; }
[data-theme="dark"] .qv-reviews h3 { color: #f0ead8; }

/* ---------- Forgot password ---------- */
.auth-note { font-family: 'Montserrat', sans-serif; font-size: 13px; opacity: 0.75; line-height: 1.5; margin: 0 0 8px; }
.auth-success { color: #9be0a8; font-family: 'Montserrat', sans-serif; font-size: 13px; line-height: 1.5; }
.auth-success:empty { display: none; }
.auth-success a { color: #D4AF37; }

/* ---------- Discount code at checkout ---------- */
.coupon-row { display: flex; gap: 8px; margin-top: 15px; }
.coupon-row input { margin-bottom: 0 !important; text-transform: uppercase; }
.coupon-row button {
    padding: 0 18px;
    background: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
}
.coupon-row button:disabled { opacity: 0.5; }
.coupon-msg { font-family: 'Montserrat', sans-serif; font-size: 12px; margin: 6px 0 0; }
.coupon-msg:empty { display: none; }
.coupon-msg.ok { color: #2e7d32; }
.coupon-msg.bad { color: #c0392b; }
.discount-row { color: #2e7d32; opacity: 1; }

/* ---------- Account pages (My Orders, Reset Password) ---------- */
.account-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 24px 90px;
    font-family: 'Montserrat', sans-serif;
    min-height: 50vh;
}
.account-page.narrow { max-width: 440px; }
.account-page h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 34px;
    letter-spacing: 3px;
    text-align: center;
    margin: 0 0 35px;
}
.account-msg { text-align: center; color: var(--text-secondary); line-height: 1.7; }
.account-msg.success { color: #2e7d32; }
.account-msg.error { color: #c0392b; text-align: left; }
.account-btn {
    display: block;
    width: fit-content;
    margin: 25px auto 0;
    padding: 14px 40px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
}
.account-form { display: flex; flex-direction: column; gap: 8px; }
.account-form label { font-size: 12px; letter-spacing: 1px; color: var(--text-secondary); margin-top: 8px; }
.account-form input {
    padding: 13px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
}
.account-form input:focus { outline: none; border-color: #D4AF37; }
.account-form .account-btn { width: 100%; }

.order-card {
    border: 1px solid var(--border-color);
    padding: 24px;
    margin-bottom: 22px;
    background: var(--card-bg);
}
.order-card header { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.order-card h2 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 22px; margin: 0; }
.order-date { font-size: 12px; color: var(--text-secondary); margin: 4px 0 0; }
.order-status {
    font-size: 10px;
    letter-spacing: 2px;
    padding: 5px 10px;
    border: 1px solid;
    text-transform: uppercase;
    white-space: nowrap;
}
.order-status.status-pending   { color: #b8902a; }
.order-status.status-confirmed { color: #3b6cb7; }
.order-status.status-shipped   { color: #7b4fa0; }
.order-status.status-delivered { color: #2e7d32; }
.order-status.status-cancelled { color: #c0392b; }
.order-help { font-size: 13px; color: var(--text-secondary); margin: 12px 0 16px; }
.order-lines { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border-color); }
.order-lines li {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}
.order-lines small { display: block; color: var(--text-secondary); font-size: 12px; margin-top: 2px; }
.order-sum { margin-top: 12px; font-size: 14px; }
.order-sum p { display: flex; justify-content: space-between; margin: 6px 0; color: var(--text-secondary); }
.order-sum .total { color: var(--text-primary); font-weight: 600; font-size: 16px; }
.order-help-link { display: inline-block; margin-top: 14px; font-size: 13px; color: #b8902a; text-decoration: none; }
.order-help-link:hover { text-decoration: underline; }

/* payment radios were stretched to full width by ".checkout-form input" */
.checkout-form .payment-methods input[type="radio"] {
    width: auto;
    margin: 0;
    padding: 0;
    accent-color: #D4AF37;
}
.payment-methods label { justify-content: flex-start; }

/* =====================================================================
   FIX: quick view details column scrolls on desktop (reviews + submit
   button were cut off because the column had a fixed height, no scroll,
   and its content was centred vertically)
   ===================================================================== */
@media (min-width: 769px) {
    .qv-info {
        overflow-y: auto;
        justify-content: flex-start;
        padding-top: 70px;
        padding-bottom: 60px;
        overscroll-behavior: contain;
        box-sizing: border-box;   /* padding inside the 100% height, not added to it */
    }
    .qv-images { box-sizing: border-box; }
    .qv-info::-webkit-scrollbar { width: 6px; }
    .qv-info::-webkit-scrollbar-thumb { background: rgba(128, 128, 128, 0.35); border-radius: 3px; }
}

/* Reviews text was too faint in dark mode */
[data-theme="dark"] .review-empty,
[data-theme="dark"] .review-form-title,
[data-theme="dark"] .review-login,
[data-theme="dark"] .review-text { color: #f0ead8; }
[data-theme="dark"] .review-empty { opacity: 0.6; }
[data-theme="dark"] .review-date { color: #9a9080; }
[data-theme="dark"] .review-form textarea::placeholder { color: rgba(240, 234, 216, 0.45); }

/* =====================================================================
   EMAIL VERIFICATION + MY ACCOUNT
   ===================================================================== */
.code-input {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 26px !important;
    letter-spacing: 12px;
    text-align: center;
    padding: 14px !important;
}
.auth-note.small { font-size: 11px; margin-top: 14px; opacity: 0.6; }
.auth-link.inline { margin: 0 !important; font-size: 11px; }
#verify-resend:disabled { opacity: 0.5; cursor: default; text-decoration: none; }

.email-hint {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    margin: -2px 0 6px;
    text-align: left;
    color: #e0c070;
}
.email-hint button {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #D4AF37 !important;
    text-decoration: underline;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.account-form .email-hint { color: #b8902a; margin: 0; }

.user-greeting { text-decoration: none; }
.user-greeting:hover { text-decoration: underline; }

.account-tabs {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: -10px 0 35px;
    border-bottom: 1px solid var(--border-color);
}
.account-tabs a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    padding: 0 0 12px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.account-tabs a.active { color: var(--text-primary); border-bottom-color: #D4AF37; }
.account-tabs a:hover { color: var(--text-primary); }

.account-card {
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    padding: 26px;
    margin-bottom: 22px;
}
.account-card h2 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 22px; margin: 0 0 6px; }
.account-note { font-size: 13px; color: var(--text-secondary); margin: 0 0 14px; line-height: 1.6; }
.verified-tag { color: #2e7d32; font-size: 10px; letter-spacing: 1.5px; margin-left: 6px; white-space: nowrap; }
.account-card .account-form .account-btn { width: auto; margin: 12px 0 0; align-self: flex-start; }
.account-card .account-msg { text-align: left; margin: 6px 0 0; font-size: 13px; }
.account-card .account-msg:empty { display: none; }
.account-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    text-decoration: underline;
    cursor: pointer;
    align-self: flex-start;
    font: inherit;
    font-size: 12px;
    margin-top: 8px;
}
.account-form .code-input { max-width: 260px; }
.account-btn:disabled { opacity: 0.5; cursor: wait; }

/* ---------- Product photos in My Orders ---------- */
.order-lines li {
    grid-template-columns: 56px 1fr auto auto;
    align-items: center;
}
.order-thumb {
    display: block;
    width: 56px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-secondary)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='1.5'%3E%3Cpath d='M20.38 3.46 16 2a4 4 0 0 1-8 0L3.62 3.46a2 2 0 0 0-1.34 2.23l.58 3.47a1 1 0 0 0 .99.84H6v10c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V10h2.15a1 1 0 0 0 .99-.84l.58-3.47a2 2 0 0 0-1.34-2.23z'/%3E%3C/svg%3E")
        center / 22px no-repeat;
    border: 1px solid var(--border-color);
}
.order-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.order-thumb:hover img { opacity: 0.85; }
.order-item-name { color: var(--text-primary); text-decoration: none; }
.order-item-name:hover { color: #D4AF37; }

@media (max-width: 480px) {
    .order-lines li { grid-template-columns: 48px 1fr auto; gap: 4px 12px; }
    .order-thumb { width: 48px; height: 62px; grid-row: span 2; }
    .order-lines li > span:last-child { grid-column: 3; }
}

/* FIX: mobile quick view — photos were squashed and "Add to cart" stuck out on the right */
@media (max-width: 768px) {
    .qv-images,
    .qv-info {
        flex-shrink: 0;
        overflow: visible;
        box-sizing: border-box;
    }
    .qv-images { padding: 60px 16px 10px; }
    .qv-gallery img,
    #qv-gallery img {
        width: 100%;
        max-width: 360px;
        margin: 0 auto 8px;
    }
    .close-qv {
        position: fixed;
        top: 14px;
        right: 16px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.85);
        color: #000;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    [data-theme="dark"] .close-qv { background: rgba(20, 20, 20, 0.85); color: #fff; }
}

/* FIX: reviewer name was black in dark mode */
[data-theme="dark"] .review-head,
[data-theme="dark"] .review-head b { color: #f0ead8; }
[data-theme="dark"] .qv-info p { color: #f0ead8; }
[data-theme="dark"] #qv-stock.low { color: #ff8a80; }