:root{
    --bg:#ffffff;
    --text:#111827;
    --muted:#6b7280;
    --border:#e5e7eb;
    --hover:#f3f4f6;
    --shadow:0 14px 30px rgba(0,0,0,.12);
    --radius:12px;
  }
  
  *{ box-sizing:border-box; }
  body{
    margin:0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    color:var(--text);
    background:var(--bg);
  }
  
  /* ===== NAVBAR LAYOUT ===== */
  .navbar{
    position: sticky;
    top: 0;
    z-index: 50;
    background: white;
    border-bottom: 1px solid var(--border);
  }

  .navbar{
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
  }
  
  .navbar__inner{
    width:100%;
    height:80px;
    padding: 0 20px;
  
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  
    flex-wrap: nowrap;
  }
  
  .nav-left{
    display:flex;
    align-items:center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
  }
  
  .nav-desktop-left{
    display:flex;
    align-items:center;
    gap: 12px;
  }
  
  .nav-right{
    display:flex;
    align-items:center;
    gap: 10px;
    white-space: nowrap;
    flex: 0 0 auto;
  }
  
  .logo{
    font-weight: 800;
    letter-spacing: .2px;
    text-decoration:none;
    color:var(--text);
    font-size: 18px;
    padding: 8px 10px;
    border-radius: 10px;
  }
  .logo:hover{ background: var(--hover); }

  /* ===== Brand (logo + name) ===== */
  /* .brand{
    height: 64px;                 
    display:flex;
    align-items:center;
    padding: 0 8px;
    overflow:hidden;
  }

  .brand img{
  height: 300px;
  width: auto;
  display:block;
  position: relative;
  top: 7px;          
} */

/* ===== Brand (desktop big logo asset, mobile swap) ===== */
.brand{
    height:80px;
    width: 240px;              /* reserves space so it won't push others */
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
  }
  
  /* Both logos are taken OUT of layout flow */
  .brand img{
    position:absolute;
    left:0;
    top:50%;
    transform: translateY(-50%);
    width:auto;
    display:block;
  }
  
  /* Desktop logo: keep "300px" asset size but doesn't affect layout */
  .brand .logo-desktop{
    height:260px;
    /* fine-tune vertical alignment if needed */
    transform: translateY(-50%) translateY(6px);
  }
  
  /* Mobile icon hidden by default */
  .brand .logo-mobile{
    display:none;
  }
  
  /* Mobile: swap to icon */
  /* @media (max-width: 820px){
    .brand{
      width: 48px;              
    }
    .brand .logo-desktop{
      display:none;
    }
    .brand .logo-mobile{
        display:block;
      
        max-height:52px;     
        width:auto;
      
        position:absolute;
        left:0;
        top:50%;
        transform:translateY(-50%);
      }
  } */
  
  .nav-link{
    display:inline-flex;
    align-items:center;
    gap: 6px;
    text-decoration:none;
    color:var(--text);
    font-weight: 650;
    padding: 8px 10px;
    border-radius: 10px;
    cursor:pointer;
    white-space: nowrap;
  }
  .nav-link:hover{ background: var(--hover); }
  
  .nav-btn{
    border:0;
    background:transparent;
    font: inherit;
  }
  
  /* Search / cart */
  .search-form{ margin:0; }

  .search{
    width: 240px;              /* default desktop */
    max-width: 360px;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    outline: none;
  }
  
  .search:focus{ border-color: #cbd5e1; }
  
  .cart{
    text-decoration:none;
    color: var(--text);
    font-weight: 750;
    padding: 8px 10px;
    border-radius: 10px;
  }
  .cart:hover{ background: var(--hover); }
  
  /* ===== DESKTOP DROPDOWNS (Products / Collections) ===== */
  .dropdown{
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
  }
  
  /* Invisible bridge ONLY under trigger width to prevent hover-gap */
  .dropdown::after{
    content:"";
    position:absolute;
    left:0;
    top:100%;
    width:100%;
    height:34px;
  }
  
  .dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    margin-top:0;
    width:260px;
    background:#fff;
    border:1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding:8px;
    z-index:9999;
    
    /* ✅ THE FIX: Replaced 'display: none' with smooth animatable properties */
    display: block; 
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px); /* Starts slightly pushed up */
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s;
  }
  
  /* ✅ When the JS adds .is-open, smoothly fade and slide down */
  .dropdown.is-open > .dropdown-menu{ 
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Slides down into its final position */
  }
  
  .dropdown-menu a{
    display:block;
    padding:10px 10px;
    border-radius:10px;
    text-decoration:none;
    color: var(--text);
    font-weight:600;
  }
  .dropdown-menu a:hover{ background: var(--hover); }
  
  /* @media (hover:hover) and (pointer:fine){
    .dropdown:hover > .dropdown-menu{ display:block; }
  } */
  .dropdown.is-open > .dropdown-menu{ display:block; }
  
  /* ===== BURGER BUTTON ===== */
  .nav-menu-btn{
    display:none; /* shown on small screens */
    border:1px solid var(--border);
    background:#fff;
    border-radius:10px;
    padding:8px 10px;
    cursor:pointer;
  }
  
  /* ===== MOBILE DRAWER ===== */
  .nav-drawer{
    display:none;
    border-top:1px solid var(--border);
    background:#fff;
  }
  
  .nav-drawer.is-open{ display:block; }
  
  /* Never show drawer on desktop even if JS forgets */
  @media (min-width: 981px){
    .nav-drawer{ display:none !important; }
  }
  
  .nav-drawer__inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 16px 14px;
  }
  
  /* Drawer top-level items: Products / Sale / Collections */
  .drawer-item{
    border-top: 1px solid var(--border);
  }
  
  .drawer-link{
    width: 100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
    padding: 12px 0;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  
  .drawer-link--plain{
    display:block;
    font-weight: 800;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    color: var(--text);
    text-decoration:none;
  }
  
  /* Submenu hidden by default */
  .drawer-submenu{
    display:none;
    padding: 2px 0 10px 0;
  }
  
  .drawer-submenu a{
    display:block;
    padding: 10px 0;
    text-decoration:none;
    color: var(--text);
    font-weight: 650;
  }
  
  /* Hover (mouse) opens in drawer */
  @media (hover:hover) and (pointer:fine){
    .drawer-dropdown:hover > .drawer-submenu{ display:block; }
  }
  
  /* Tap (touch) opens via JS */
  .drawer-dropdown.is-open > .drawer-submenu{ display:block; }
  
  /* ===== RESPONSIVE ===== */
  @media (max-width: 980px){
    .search{ width: 180px; }
  }
  
  /* @media (max-width: 820px){
    .nav-desktop-left{ display:none; }     
    .nav-menu-btn{ display:inline-flex; }  
    .search{ width: 170px; }              
  } */

  @media (max-width: 980px){
    .nav-desktop-left{ display:none; }
    .nav-menu-btn{ display:inline-flex; }
  
    /* make nav-right take remaining space */
    .nav-right{
      flex: 1 1 auto;
      min-width: 0;
    }
  
    /* make the search form grow */
    .search-form{
      flex: 1 1 auto;
      min-width: 0;
    }
  
    /* input fills the available space */
    .search{
      width: 100%;
      max-width: none;
    }
  }

  @media (max-width: 520px){
    .search{
      width: 100%;
    }
    .search-form{
      flex: 1 1 140px;     /* search can shrink, but not to 0 */
    }
  }
  

  @media (max-width: 980px){
    .brand{
      width: 52px !important;     /* force override */
      padding: 0 !important;
      margin: 0 !important;
    }
  
    .brand .logo-desktop{ display:none !important; }
  
    .brand .logo-mobile{
      display:block !important;
      height:52px;                /* use height, not max-height */
      width:auto;
      position:absolute;
      left:0;
      top:50%;
      transform: translateY(-50%);
    }
  
    /* tighten gaps so search can move closer */
    .navbar__inner{ gap: 8px; }
    .nav-left{ gap: 8px; }
  }

  @media (max-width: 980px){

    /* IMPORTANT: remove the forced big gap */
    .navbar__inner{
      justify-content: flex-start;   /* was space-between */
    }
  
    /* Left side only takes what it needs */
    .nav-left{
      flex: 0 0 auto;
    }
  
    /* Right side fills the remaining space */
    .nav-right{
      flex: 1 1 auto;
      min-width: 0;
      margin-left: 8px;             /* small controlled gap */
    }
  
    /* Search grows to fill space */
    .search-form{
      flex: 1 1 auto;
      min-width: 0;
    }
  
    .search{
      width: 100%;
      max-width: none;
    }
  
    /* (keep your icon width override) */
    .brand{
      width: 52px !important;
      padding: 0 !important;
    }
  }

  /* Page spacing */
  main{
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 16px;
  }

  /* ===== HERO SLIDER ===== */
/* .hero-slider{
    max-width: 1200px;
    margin: 18px auto 0;
    padding: 0 16px;
  } */
  
  /* ===== HERO SLIDER (smooth fade) ===== */
.hero-slider{
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .hero-slider__viewport{
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 0;
    background: #fff;
  }
  
  /* this defines the hero height */
  .hero-slider__track{
    position: relative;
    height: 90vh;
    min-height: 520px;
  }
  
  /* stack slides + fade */
  .hero-slide{
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 700ms ease;  /* smooth fade */
    text-decoration: none;
    color: #fff;
  }
  
  .hero-slide.is-active{
    opacity: 1;
    pointer-events: auto;
  }
  
  .hero-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* optional: tiny premium zoom */
  .hero-slide img{
    transform: scale(1.03);
    transition: transform 1200ms ease;
  }
  .hero-slide.is-active img{
    transform: scale(1);
  }
  
  .hero-slide__overlay{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 18px;
    background: linear-gradient(to top, rgba(0,0,0,.58), rgba(0,0,0,0));
  }
  
  .hero-slide__kicker{
    font-weight: 850;
    opacity: .95;
    margin-bottom: 6px;
  }
  
  .hero-slide__title{
    font-size: 30px;
    font-weight: 950;
    margin-bottom: 8px;
  }
  
  .hero-slide__cta{
    font-weight: 850;
    opacity: .95;
  }
  
  /* arrows */
  /* .hero-slider__btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(0,0,0,.35);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    z-index: 3;
  } */

  .hero-slider__btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
  
    width:44px;
    height:44px;
    border-radius:50%;
  
    display:flex;
    align-items:center;
    justify-content:center;
  
    border:1px solid rgba(255,255,255,.35);
    background:rgba(0,0,0,.35);
    color:#fff;
  
    font-size:24px;
    line-height:1;        /* ⭐ IMPORTANT */
    padding:0;            /* remove default button padding */
  
    cursor:pointer;
  }

  
  
  .hero-slider__btn:hover{ background: rgba(0,0,0,.5); }
  .hero-slider__btn--prev{ left: 16px; }
  .hero-slider__btn--next{ right: 16px; }

  .hero-slider__btn{
    backdrop-filter: blur(6px);
    background: rgba(0,0,0,.25);
  }

  .hero-slider__btn span{
    display:block;
    transform:translateY(-1px);
  }
  
  /* dots (overlay on image so no gap below hero) */
  .hero-slider__dots{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
  }
  
  .dot{
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,.45);
    cursor: pointer;
  }
  
  .dot.is-active{ background: #fff; }

  /* ===== HERO INTRO TEXT ===== */
.hero-intro{
    position:absolute;
    top:80px;
    left:40px;
    z-index:3;
    color:white;
    max-width:520px;
  }
  
  .hero-intro__kicker{
    font-size:14px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    opacity:.9;
    margin-bottom:10px;
  }
  
  .hero-intro__title{
    font-size:48px;
    font-weight:900;
    line-height:1.1;
    margin:0;
  }

  .hero-slide::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
      to right,
      rgba(0,0,0,.45),
      rgba(0,0,0,.15),
      transparent 55%
    );
    z-index:1;
  }
  
  /* .hero-intro{
    z-index:2;
  } */

  .hero-slide::before{
    pointer-events: none;
  }
  
  .hero-slider__btn{
    z-index: 5;
  }
  
  .hero-intro{
    z-index: 4;
  }
  
  /* responsive: change TRACK height (not slide) */
  @media (max-width: 980px){
    .hero-slider__track{
      height: 55vh;
      min-height: 380px;
    }
    .hero-slide__title{ font-size: 26px; }
  }
  
  @media (max-width: 520px){
    .hero-slider__track{
      height: 45vh;
      min-height: 300px;
    }
    .hero-slide__title{ font-size: 22px; }
  }

  @media (max-width:980px){
    .hero-intro{
      top:28px;
      left:20px;
    }
  
    .hero-intro__title{
      font-size:34px;
    }
  }
  
  @media (max-width:520px){
    .hero-intro__title{
      font-size:26px;
    }
  }


  /* ===== SALE PAGE / PRODUCT GRID ===== */
.page{
    max-width:1200px;
    margin:0 auto;
    padding: 28px 16px 40px;
  }
  
  .page__head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    margin-bottom:18px;
  }
  
  .page__title{
    font-size:34px;
    font-weight:900;
    margin:0;
  }
  
  .page__sub{
    margin:0;
    color: var(--muted);
    font-weight:600;
  }
  
  .grid{
    display:grid;
    /* ✅ Changed from 4 to 3 columns to make cards much bigger */
    grid-template-columns: repeat(3, 1fr); 
    /* ✅ Increased the gap slightly so the bigger cards have room to breathe */
    gap: 24px; 
  }
  
  /* Responsive breakpoints adjusted for the new 3-column layout */
  @media (max-width: 980px){
    .grid{ grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px){
    .grid{ grid-template-columns: 1fr; }
  }
  
  .card{
    border:1px solid var(--border);
    border-radius: 16px;
    overflow:hidden;
    background:#fff;
    transition: transform 180ms ease, box-shadow 180ms ease;
  }
  
  .card:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0,0,0,.08);
  }
  
  .card__media{
    display:block;
    aspect-ratio: 4 / 3;
    background:#f3f4f6;
  }
  
  .card__media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }
  
  .card__placeholder{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    color: var(--muted);
    font-weight:700;
  }
  
  .card__body{
    padding:12px 12px 14px;
  }
  
  .card__meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:8px;
  }
  
  .card__cat{
    color: var(--muted);
    font-weight:700;
    font-size: 13px;
  }
  
  .badge{
    display:inline-flex;
    align-items:center;
    padding: 4px 8px;
    border-radius:999px;
    background:#111827;
    color:#fff;
    font-weight:800;
    font-size:12px;
  }
  
  .card__title{
    margin:0 0 6px;
    font-weight:900;
    font-size:16px;
  }
  
  .card__price{
    font-weight:900;
    font-size:16px;
  }
  
  .card__note{
    margin-top:6px;
    color: var(--muted);
    font-weight:650;
    font-size:13px;
  }


  /* ===== PRODUCT DETAIL (PDP) ===== */
.pdp{
    max-width:1200px;
    margin:0 auto;
    padding: 22px 16px 44px;
  }
  
  .pdp__top{
    display:grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 26px;
    align-items:start;
  }
  
  @media (max-width: 980px){
    .pdp__top{ grid-template-columns: 1fr; }
  }
  
  /* Gallery */
  .pdp__main{
    width:100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow:hidden;
    background:#f3f4f6;
  }
  
  .pdp__main-img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    cursor: default; /* ✅ no “hand” */
  }
  
  .pdp__noimg{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    color: var(--muted);
    font-weight:800;
  }
  
  .pdp__thumbs{
    display:flex;
    gap:10px;
    margin-top:12px;
    overflow:auto;
    padding-bottom:4px;
  }
  
  .pdp__thumb{
    border:1px solid var(--border);
    background:#fff;
    border-radius: 12px;
    padding:0;
    cursor:pointer;
    width:74px;
    height:56px;
    flex: 0 0 auto;
    overflow:hidden;
  }
  
  .pdp__thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }
  
  .pdp__thumb.is-active{
    border-color:#111827;
  }
  
  /* Info */
  .pdp__cat{
    color: var(--muted);
    font-weight:800;
    font-size:13px;
    margin-bottom:6px;
  }
  
  .pdp__title{
    margin:0 0 10px;
    font-size:34px;
    font-weight:950;
    line-height:1.1;
  }
  
  .pdp__price-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
  }
  
  .pdp__price{
    font-size:22px;
    font-weight:950;
  }
  
  .pdp__badge{
    display:inline-flex;
    align-items:center;
    padding: 4px 10px;
    border-radius: 999px;
    background:#111827;
    color:#fff;
    font-weight:900;
    font-size:12px;
  }
  
  .pdp__meta{
    margin: 10px 0 14px;
    color:#111827;
    font-weight:650;
  }
  
  .pdp__buy{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top: 10px;
  }
  
  .pdp__qty{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:800;
  }
  
  .pdp__qty input{
    width:78px;
    padding:10px 10px;
    border:1px solid var(--border);
    border-radius: 12px;
    outline:none;
  }
  
  .pdp__add {
    flex: 1;
    padding: 12px 14px;
    border-radius: 14px;
    border: 0;
    background: #111827;
    color: #fff;
    font-weight: 950;
    cursor: pointer;
    transition: all 0.2s ease; /* Enables smooth animations */
  }
  
  /* Lift and shadow on hover */
  .pdp__add:hover {
    background: #1f2937; 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  
  /* "Squish" down when clicked */
  .pdp__add:active {
    transform: scale(0.96);
    box-shadow: none;
  }

  /* Optional loading state */
  .pdp__add.is-loading {
    opacity: 0.7;
    pointer-events: none; /* Prevents double-clicking */
  }
  
  .pdp__note{
    margin-top:10px;
    color: var(--muted);
    font-weight:650;
    font-size:13px;
  }
  
  /* Tabs */
  /* ===== PDP ACCORDION ===== */

.pdp__accordion{
    margin-top:22px;
    width:100%;
  }
  
  .pdp__acc-item{
    border-top:1px solid var(--border);
  }
  
  .pdp__acc-btn{
    width:100%;
    padding:16px 0;
    background:none;
    border:0;
    cursor:pointer;
  
    font-size:16px;
    font-weight:900;
    text-align:left;
  
    display:flex;
    justify-content:space-between;
    align-items:center;
  }
  
  /* optional arrow */
  .pdp__acc-btn::after{
    content:"+";
    font-size:20px;
    transition:.25s;
  }
  
  .pdp__acc-btn.is-open::after{
    content:"−";
  }
  
  /* panel animation */
  /* .pdp__acc-panel{
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
  }
  
  .pdp__acc-panel.is-open{
    max-height:600px; 
    padding-bottom:16px;
  } */
  
  /* panel: smooth open/close without max-height guessing */
.pdp__acc-panel{
    display: grid;
    grid-template-rows: 0fr;             /* collapsed */
    transition: grid-template-rows .35s ease;
  }
  
  .pdp__acc-panel.is-open{
    grid-template-rows: 1fr;             /* expanded */
  }
  
  /* inner content actually holds height */
  .pdp__acc-content{
    overflow: hidden;                     /* important */
    padding: 0 0 0 0;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .25s ease, transform .25s ease, padding .25s ease;
  }
  
  .pdp__acc-panel.is-open .pdp__acc-content{
    opacity: 1;
    transform: translateY(0);
    padding: 0 0 16px 0;                  /* spacing ONLY when open */
  }
  
  .pdp__panel{
    display:none;
    margin-top:14px;
    width: 100%;
  }
  
  .pdp__panel.is-active{
    display:block;
  }
  
  .pdp__desc{
    margin:0;
    font-weight:650;
    line-height:1.6;
  }

    /* RIGHT COLUMN: make children stretch to full width */
    .pdp__info{
        display:flex;
        flex-direction:column;
        align-items: stretch;   /* ⭐ key: NOT flex-start */
    }
  
  /* Tabs should be full width */
  .pdp__tabs,
  .pdp__tabs--right{
    width: 100%;
  }
  
  .muted{ color: var(--muted); }
  
  /* Specs grid */
  .specs{
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  
  @media (max-width: 520px){
    .specs{ grid-template-columns: 1fr; }
  }
  
  .spec{
    border:1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap: 10px;
  }

  /* Tabs when placed inside the right column */
.pdp__tabs--right{
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  
  .spec span{ color: var(--muted); font-weight:800; }
  .spec strong{ font-weight:950; }



/* ===== REVIEWS ===== */

.reviews{
    margin-top:40px;
  }
  
  .reviews__header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:18px;
  }
  
  .reviews__title{
    font-size:24px;
    font-weight:900;
    margin:0;
  }
  
  .reviews__count{
    color:var(--muted);
    font-weight:700;
  }
  
  .reviews__list{
    display:flex;
    flex-direction:column;
    gap:18px;
  }
  
  .review{
    border:1px solid var(--border);
    border-radius:16px;
    padding:18px;
    background:#fff;
  }
  
  .review__top{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:6px;
  }
  
  .review__stars{
    display:flex;
    gap:2px;
    font-size:16px;
  }
  
  .star{
    color:#d1d5db;
  }
  
  .star.is-filled{
    color:#f59e0b;
  }
  
  .review__badge{
    font-size:12px;
    font-weight:800;
    padding:3px 8px;
    border-radius:999px;
    background:#111827;
    color:#fff;
  }
  
  .review__meta{
    color:var(--muted);
    font-size:13px;
    font-weight:700;
    margin-bottom:8px;
  }
  
  .review__title{
    margin:6px 0;
    font-size:16px;
    font-weight:900;
  }
  
  .review__body{
    line-height:1.6;
    font-weight:600;
  }
  
  .reviews__empty{
    padding:30px;
    border:1px dashed var(--border);
    border-radius:14px;
    text-align:center;
    color:var(--muted);
  }




  .auth{
    max-width: 720px;
    margin: 40px auto;
    padding: 0 16px;
  }
  
  .auth__card{
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
  }
  
  .auth__title{
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 22px;
  }
  
  .auth__sub{
    color: var(--muted);
    margin-top: -12px;
    margin-bottom: 18px;
  }
  
  .auth__form{
    text-align: left;
  }
  
  .auth__label{
    display:block;
    font-weight: 700;
    margin: 12px 0 8px;
  }
  
  .auth input{
    width:100%;
    padding: 16px 14px;
    border: 2px solid #1d4ed8; /* matches screenshot focus style */
    border-radius: 0;
    outline: none;
    font-size: 16px;
  }
  
  .auth__btn{
    width:100%;
    margin-top: 18px;
    padding: 16px 14px;
    background: #1f1f22;
    color: #fff;
    border: 0;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
  }
  
  .auth__btn--ghost{
    background: #fff;
    color: #111;
    border: 1px solid var(--border);
  }
  
  .auth__or{
    margin: 18px 0;
    position: relative;
    text-align: center;
    color: var(--muted);
  }
  
  .auth__or span{
    background:#fff;
    padding: 0 10px;
    position: relative;
    z-index: 1;
  }
  
  .auth__or::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:50%;
    height:1px;
    background: var(--border);
  }
  
  .auth__fineprint{
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
  }
  
  .auth__fineprint a{
    color: inherit;
  }
  
  .auth__error{
    color: #b91c1c;
    font-weight: 600;
    margin-top: 8px;
  }

  /* screen-reader only */
.sr-only{
    position:absolute;
    width:1px;height:1px;
    padding:0;margin:-1px;
    overflow:hidden;clip:rect(0,0,0,0);
    white-space:nowrap;border:0;
  }
  
  /* account button */
  .account-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    padding:0;
  }
  
  .account-icon{
    font-size:18px;
    line-height:1;
  }
  
  /* account menu styling (reuses your dropdown-menu base) */
  .account-menu{
    right:0;
    left:auto;          /* open aligned to right */
    width: 220px;
  }
  
  .menu-divider{
    height:1px;
    background: var(--border);
    margin: 6px 6px;
  }
  
  .account-menu .danger{
    color:#b91c1c;
  }
  .account-menu .danger:hover{
    background:#fee2e2;
  }

  /* Account dropdown alignment fix */
/* Account dropdown alignment fix */
/* Account dropdown alignment fix */
.account-dropdown {
    position: relative;
  }
  
  .account-menu {
    /* Put it back in the middle */
    left: 50%;
    right: auto;
    
    /* COMBINED: Center it horizontally (-50%) AND push it up 10px for the start of the animation */
    transform: translate(-50%, -10px); 
  }
  
  /* COMBINED: When it opens, keep it centered horizontally (-50%) and slide it down to 0 */
  .account-dropdown.is-open > .account-menu {
    transform: translate(-50%, 0);
  }
  /* Desktop hover opens (same as your other dropdowns) */
  /* @media (hover:hover) and (pointer:fine){
    .account-dropdown:hover > .account-menu{
      display:block;
    }
  } */


  /* ===== ACCOUNT DASHBOARD ===== */
.account{
    width:100%;
    margin: 0;
    padding: 22px 16px 44px;
  }
  
  .account__shell{
    max-width:1200px;
    margin:0 auto;
    display:grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
    align-items:start;
  }
  
  .account__sidebar{
    border:1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    background:#fff;
  }
  
  .account__profile{
    padding: 8px 8px 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
  }
  
  .account__hello{
    font-weight: 950;
    font-size: 18px;
    margin-bottom: 4px;
  }
  
  .account__email{
    color: var(--muted);
    font-weight: 650;
    font-size: 13px;
  }
  
  .account__nav{ display:flex; flex-direction:column; gap: 6px; }
  
  .account__link{
    display:flex;
    align-items:center;
    padding: 10px 10px;
    border-radius: 12px;
    text-decoration:none;
    color: var(--text);
    font-weight: 850;
  }
  
  .account__link:hover{ background: var(--hover); }
  .account__link.is-active{ background: var(--hover); border:1px solid var(--border); }
  
  .account__divider{
    height: 1px;
    background: var(--border);
    margin: 6px 0;
  }
  
  .account__link--danger{ color:#b42318; }
  
  .account__main{ min-width:0; }
  
  .cardx{
    border:1px solid var(--border);
    border-radius: 16px;
    background:#fff;
    padding: 16px;
  }
  
  .cardx__title{
    margin:0 0 14px;
    font-size: 22px;
    font-weight: 950;
  }
  
  .cardx__row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
  }
  
  .cardx__grid{
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
  }
  
  .cardx__item{
    border:1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
  }
  
  .cardx__label{ color: var(--muted); font-weight: 800; font-size: 12px; margin-bottom: 4px; }
  .cardx__value{ font-weight: 950; }
  
  .cardx__actions{ display:flex; gap: 10px; flex-wrap:wrap; }
  
  .btnx{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding: 10px 14px;
    border-radius: 12px;
    background:#111827;
    color:#fff;
    font-weight: 950;
    text-decoration:none;
    border:0;
    cursor:pointer;
  }
  
  .btnx--ghost{
    background:#fff;
    color: var(--text);
    border:1px solid var(--border);
  }
  
  .tablex{
    display:grid;
    gap: 8px;
  }
  
  .tablex__head, .tablex__row{
    display:grid;
    grid-template-columns: 1.1fr 1fr 1fr 0.8fr;
    gap: 10px;
    align-items:center;
  }
  
  .tablex__head{
    color: var(--muted);
    font-weight: 900;
    font-size: 12px;
    padding: 6px 2px;
  }
  
  .tablex__row{
    border:1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 750;
  }
  
  .addrgrid{
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  
  .addr{
    border:1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
  }
  
  .addr__name{ font-weight: 950; margin-bottom: 6px; }
  .addr__line{ font-weight: 650; color: var(--text); }
  .addr__actions{ display:flex; gap: 8px; margin-top: 10px; }
  
  .setting{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    border:1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 10px;
  }
  .setting__title{ font-weight: 950; }
  .setting__sub{ font-weight: 650; margin-top: 2px; }
  
  .account__help{
    margin-top: 12px;
    font-weight: 650;
    font-size: 13px;
  }
  
  .linkx{ color: inherit; }
  
  @media (max-width: 980px){
    .account__shell{ grid-template-columns: 1fr; }
    .addrgrid{ grid-template-columns: 1fr; }
    .cardx__grid{ grid-template-columns: 1fr; }
  }


  /* ===== SHOPPING CART ===== */
.cart-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
  }
  
  .cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
  }
  
  .cart-item__main {
    flex: 1;
  }
  
  .cart-item__title {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 4px;
  }
  
  .cart-item__price {
    color: var(--muted);
    font-weight: 750;
    font-size: 14px;
  }
  
  .cart-item__meta {
    display: flex;
    align-items: center;
    gap: 32px;
    font-weight: 850;
    font-size: 16px;
  }
  
  .cart-item__qty {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .cart-item__qty span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
  }
  
  .cart-item__remove .btnx {
    color: #b91c1c; /* Danger red */
    border-color: #fca5a5;
    background: #fef2f2;
  }
  
  .cart-item__remove .btnx:hover {
    background: #fee2e2;
    border-color: #f87171;
  }

  .cart-item__main {
    flex: 1;
    display: flex;       /* Added to put image and text side-by-side */
    align-items: center; /* Vertically center them */
    gap: 16px;           /* Space between image and text */
  }
  
  .cart-item__image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid var(--border);
  }
  
  .cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .cart-item__no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
  }

  .cart-item__image:hover {
    opacity: 0.85;
    transition: opacity 0.2s ease;
  }

  .cart-qty-input {
    width: 64px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-weight: 800;
    outline: none;
    text-align: center;
    font-size: 14px;
  }
  
  .cart-qty-input:focus {
    border-color: #111827;
  }
  
  .cart-qty-btn {
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 10px;
  }
  
  /* Responsive Cart */
  @media (max-width: 768px) {
    .cart-item {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .cart-item__meta {
      width: 100%;
      justify-content: space-between;
      padding-top: 14px;
      border-top: 1px solid var(--border);
      margin-top: 4px;
    }
  }


  /* ===== FULL-WIDTH MEGAMENU ===== */
.dropdown-menu.megamenu {
    position: fixed;       /* Breaks out of the tight dropdown box */
    top: 80px;             /* Sits exactly flush under your 80px navbar */
    left: 0;
    width: 100vw;          /* Forces it to span the entire screen */
    padding: 34px 0;       /* Adds breathing room on top and bottom */
    margin-top: 0;         /* Removes the old dropdown gap */
    border-radius: 0 0 24px 24px; /* Softly rounds only the bottom corners */
    border: none;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px rgba(0,0,0,0.06); /* Beautiful, soft drop shadow */
  }
  
  /* This keeps the images centered so they don't stretch forever on massive monitors */
  .megamenu__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .megamenu__grid {
    display: grid;
    /* Automatically adjusts the columns based on how many categories you have */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
  }
  
  .megamenu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 850;
    font-size: 14px;
    transition: transform 0.2s ease;
  }
  
  .megamenu-item:hover {
    transform: translateY(-3px);
    color: #111827;
  }
  
  .megamenu-item img,
  .megamenu-item .no-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: #f3f4f6;
    border: 1px solid var(--border);
    transition: box-shadow 0.2s ease;
  }
  
  .megamenu-item:hover img {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  .megamenu-item .no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 700;
    font-size: 12px;
  }

  .megamenu__footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
  }
  
  .megamenu__all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 850;
    color: #111827;
    text-decoration: none;
    transition: opacity 0.2s ease;
  }
  
  .megamenu__all-link:hover {
    opacity: 0.7;
  }
  
  /* Adds a nice little arrow to the link */
  .megamenu__all-link::after {
    content: "→";
    font-size: 18px;
    transition: transform 0.2s ease;
  }
  
  .megamenu__all-link:hover::after {
    transform: translateX(4px);
  }


  /* ===== FOOTER ===== */
.footer {
    margin-top: 0px;
    border-top: 1px solid var(--border);
    background: #fafafa; /* Subtle off-white to ground the page */
    padding: 70px 20px 30px;
  }
  
  .footer__inner {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer__grid {
    display: grid;
    /* Gives the Brand column a bit more room, tightens up the links */
    grid-template-columns: 2.5fr 1fr 1fr 1fr; 
    gap: 30px;
    margin-bottom: 60px;
  }
  
  .footer__brand {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin: 0 0 16px;
    color: #111827;
  }
  
  .footer__desc {
    color: var(--muted);
    font-weight: 500; /* Lighter, more elegant weight */
    line-height: 1.6;
    font-size: 14px;
    max-width: 300px;
  }
  
  .footer__title {
    font-size: 15px; /* Bumped up from 12px so it stands out */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em; 
    margin: 0; /* REMOVED the extra bottom margin causing the huge gap */
    color: #111827;
  }
  
  .footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px; /* This safely controls the gap between the title and the links, and between the links themselves */
  }
  
  .footer__col a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500; /* Lighter font weight so it isn't chunky */
    font-size: 14px;
    transition: color 0.2s ease;
  }
  
  .footer__col a:hover {
    color: #111827; /* Darkens cleanly on hover without moving */
  }
  
  .footer__bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
  }
  
  /* Responsive Layout */
  @media (max-width: 980px) {
    .footer__grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
    }
  }
  
  @media (max-width: 520px) {
    .footer__grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .footer__bottom {
      flex-direction: column;
      text-align: center;
      gap: 12px;
    }
  }


  /* Checkout Radio Styling */
input[type="radio"]:checked + div, 
label:has(input[type="radio"]:checked) {
    border-color: var(--text) !important;
    background-color: #fff;
    box-shadow: 0 0 0 1px var(--text);
}


/* ===== NEW MODULAR PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Matching your updated category grid */
    gap: 24px;
    margin-top: 32px;
}

.product-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-card__image-wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 14px;
}

.product-card__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card__info {
    padding: 4px 2px;
}

.product-card__material {
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-card__name {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.product-card__price {
    font-size: 17px;
    font-weight: 950;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive adjustments */
@media (max-width: 980px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .product-grid { grid-template-columns: 1fr; }
}


/* Container handles the layout and the bottom border */
.search-container {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #d1d5db; /* Thin light grey border */
    padding-bottom: 8px;
    width: 280px; /* Adjust as needed for your navbar spacing */
    transition: border-color 0.2s ease;
  }
  
  /* Darker border when typing */
  .search-container:focus-within {
    border-color: #111827;
  }
  
  /* Minimalist Icon */
  .search-icon {
    color: #111827;
    display: flex;
    align-items: center;
  }
  
  /* Input field resets */
  .search-input {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 18px; /* Matching the larger text in your screenshot */
    color: #6b7280; /* Muted grey for placeholder */
    width: 100%;
    font-family: inherit;
  }
  
  /* Style the actual text typed by user */
  .search-input:focus {
    color: #111827;
  }

  /* ✅ Reset the button to be invisible but clickable */
.search-icon-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: #111827; /* Matching the icon color from your screenshot */
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
  }
  
  .search-icon-btn:hover {
    opacity: 0.7; /* Gives a subtle hint it's clickable */
  }
  
  /* Ensure the container still has the bottom border */
  .search-container {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #d1d5db;
    padding-bottom: 8px;
    width: 280px;
  }
  
  /* Responsive: ensure it doesn't break on small screens */
  @media (max-width: 980px) {
    .search-container {
      width: 100%;
      margin: 10px 0;
    }
  }

  /* ✅ Professional Grid Alignment */
.tablex__head, .tablex__row {
    display: grid;
    /* Order# | Date | Status | Items (flexible) | Total */
    grid-template-columns: 140px 120px 110px 1fr 100px;
    gap: 24px;
    align-items: center; /* Centers items vertically */
}

.tablex__head {
    padding: 0 16px 12px;
    border-bottom: 2px solid var(--border);
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 900;
}

.tablex__row {
    padding: 24px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

.tablex__row:hover {
    background: #fafafa; /* Subtle lift on hover */
}

/* Status Badge Styling */
.badge--delivered {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 12px;
}

/* ✅ Refined Mobile Orders */
@media (max-width: 820px) {
    .tablex__head {
        display: none;
    }

    .tablex__row {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0; /* Removing padding to let the price bar span full width */
        overflow: hidden;
        border: 1px solid var(--border);
        border-radius: 16px;
        margin-bottom: 20px;
    }

    /* Order Header Area */
    .tablex__row > div:first-child {
        padding: 16px 16px 0;
        font-size: 16px;
        width: 100%;
    }

    /* Date and Status spacing */
    .tablex__row > div:nth-child(2),
    .tablex__row > div:nth-child(3) {
        padding: 0 16px;
    }

    /* Items Container */
    .tablex__row > div:nth-child(4) {
        padding: 0 16px 16px;
        width: 100%;
    }

    /* ✅ Move Price to the bottom */
    .tablex__row > div:last-child {
        order: 5; /* Forces it to the bottom */
        text-align: right !important;
        background: #f9fafb; /* Light grey background footer */
        padding: 12px 16px;
        font-size: 16px !important;
        border-top: 1px solid var(--border);
        width: 100%;
    }
}

/* ✅ Refined Mobile Order Header */
@media (max-width: 820px) {
    /* Style the first div (Order ID container) as a header bar */
    .tablex__row > div:first-child {
        background: #f3f4f6; /* Subtle grey header bar */
        padding: 12px 16px !important;
        margin-bottom: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--border);
    }

    /* Target the text inside the header */
    .tablex__row > div:first-child span.order-label {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--muted);
        font-weight: 800;
    }

    .tablex__row > div:first-child span.order-id {
        font-size: 14px;
        font-weight: 900;
        color: var(--text);
        font-family: monospace; /* Gives it a "ticket/receipt" feel */
    }
}


/* =========================================
   FILTER SIDEBAR & OVERLAY
   ========================================= */

/* 1. The Full-Screen Dark Overlay */
.filter-overlay {
    position: fixed;
    top: 0;
    left: -100%; /* Hidden off-screen to the right */
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999; /* Ensures it sits over the navbar */
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-overlay.active {
    left: 0;
}

/* 2. The White Side Panel */
.filter-sidebar {
    position: absolute;
    left: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
}

.filter-sidebar form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 3. Header */
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text);
    padding: 0;
}

/* 4. Scrollable Middle Section */
.filter-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 0 30px;
}

.filter-group {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group h4 {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

/* 5. Custom Radio/Checkbox Circles */
.custom-radio {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 36px;
    margin-bottom: 16px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    user-select: none;
}

.custom-radio:last-child {
    margin-bottom: 0;
}

.custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* The empty circle */
.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 24px;
    width: 24px;
    border: 1px solid var(--text);
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.2s ease;
}

/* The filled state (thick border) */
.custom-radio input:checked ~ .checkmark {
    border-width: 6px;
    border-color: #2b3648; /* Dark navy */
}

/* Fabric Color Squares */
.color-swatch {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border-radius: 2px;
}

/* 6. Footer Pill Buttons */
.filter-actions {
    padding: 24px 30px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 16px;
    background: #fff;
}

.filter-actions a, .filter-actions button {
    flex: 1;
    text-align: center;
    padding: 16px 0;
    border-radius: 999px; /* Pill shape */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-clear {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--text);
}

.btn-clear:hover {
    background: #f9fafb;
}

.btn-done {
    background: #2b3648;
    color: #fff;
    border: 1px solid #2b3648;
}

.btn-done:hover {
    background: #1a2333;
}


/* =========================================
   LUXURY / PROFESSIONAL THEME UPGRADE
   Paste at the very bottom of site.css
   ========================================= */

   :root{
    --bg: #f8f7f4;
    --surface: rgba(255,255,255,0.82);
    --surface-strong: #ffffff;
    --text: #161616;
    --muted: #6f6a63;
    --border: rgba(22,22,22,0.08);
    --border-strong: rgba(22,22,22,0.14);
    --hover: rgba(22,22,22,0.04);
  
    --brand: #1c1b19;
    --brand-soft: #bfa37a;
    --brand-soft-2: #d8c2a3;
  
    --shadow-sm: 0 8px 24px rgba(0,0,0,0.06);
    --shadow-md: 0 16px 40px rgba(0,0,0,0.10);
    --shadow-lg: 0 24px 60px rgba(0,0,0,0.14);
  
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
  
    --container: 1280px;
  }
  
  /* Global polish */
  html{
    scroll-behavior: smooth;
  }
  
  body{
    background:
      radial-gradient(circle at top left, rgba(191,163,122,0.10), transparent 28%),
      radial-gradient(circle at top right, rgba(216,194,163,0.10), transparent 26%),
      linear-gradient(to bottom, #fbfaf7 0%, #f6f4ef 100%);
    color: var(--text);
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  
  img{
    display: block;
  }
  
  main,
  .page,
  .pdp,
  .account,
  .footer__inner,
  .navbar__inner,
  .nav-drawer__inner{
    width: min(100%, var(--container));
  }
  
  /* Fancy selection */
  ::selection{
    background: rgba(191,163,122,0.26);
    color: #111;
  }
  
  /* =========================================
     NAVBAR
     ========================================= */
  
  .navbar{
    background: rgba(255,255,255);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(22,22,22,0.06);
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  }
  
  .navbar__inner{
    height: 84px;
  }
  
  .logo,
  .nav-link,
  .cart,
  .account-btn{
    transition:
      background 0.25s ease,
      color 0.25s ease,
      transform 0.25s ease,
      box-shadow 0.25s ease;
  }
  
  .logo{
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 0.02em;
  }
  
  .nav-link,
  .cart{
    font-weight: 750;
    border-radius: 999px;
    padding: 10px 14px;
  }
  
  .nav-link:hover,
  .cart:hover,
  .logo:hover,
  .account-btn:hover{
    background: rgba(22,22,22,0.05);
    transform: translateY(-1px);
  }
  
  /* Search */
  .search-container{
    border-bottom: 1px solid rgba(22,22,22,0.14);
    padding-bottom: 10px;
    transition: border-color .25s ease, transform .25s ease;
  }
  
  .search-container:focus-within{
    border-color: var(--brand-soft);
    transform: translateY(-1px);
  }
  
  .search-input{
    font-size: 16px;
    color: var(--text);
  }
  
  .search-input::placeholder{
    color: #8b857d;
  }
  
  /* Dropdowns */
  .dropdown-menu,
  .account-menu{
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(22,22,22,0.08);
    border-radius: 20px;
    box-shadow: 0 28px 70px rgba(0,0,0,0.14);
  }
  
  .dropdown-menu a,
  .account-menu a{
    border-radius: 14px;
    transition: background .22s ease, transform .22s ease, color .22s ease;
  }
  
  .dropdown-menu a:hover,
  .account-menu a:hover{
    background: rgba(191,163,122,0.12);
    transform: translateX(2px);
  }
  
  /* Megamenu */
  .dropdown-menu.megamenu{
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(22,22,22,0.08);
    box-shadow: 0 28px 70px rgba(0,0,0,0.12);
    border-radius: 0 0 32px 32px;
  }
  
  .megamenu-item img,
  .megamenu-item .no-img{
    border-radius: 18px;
    border: 1px solid rgba(22,22,22,0.06);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  }
  
  .megamenu-item:hover img,
  .megamenu-item:hover .no-img{
    transform: translateY(-4px);
    box-shadow: 0 20px 36px rgba(0,0,0,0.10);
    border-color: rgba(191,163,122,0.50);
  }
  
  /* =========================================
     HERO
     ========================================= */
  
  .hero-slider__viewport{
    box-shadow: 0 30px 80px rgba(0,0,0,0.10);
  }
  
  .hero-slider__track{
    min-height: 620px;
  }
  
  .hero-slide::before{
    background:
      linear-gradient(to right, rgba(0,0,0,.58), rgba(0,0,0,.22), transparent 62%),
      linear-gradient(to top, rgba(0,0,0,.20), transparent 45%);
  }
  
  .hero-intro{
    top: 110px;
    left: 64px;
    max-width: 640px;
  }
  
  .hero-intro__kicker{
    font-size: 12px;
    letter-spacing: .18em;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255,255,255,0.86);
  }
  
  .hero-intro__title{
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-shadow: 0 10px 32px rgba(0,0,0,0.22);
  }
  
  .hero-slide__overlay{
    padding: 28px 26px;
    background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0));
  }
  
  .hero-slide__title{
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.03em;
  }
  
  .hero-slide__cta,
  .hero-slide__kicker{
    font-weight: 700;
  }
  
  .hero-slider__btn{
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
  }
  
  .hero-slider__btn:hover{
    transform: translateY(-50%) scale(1.05);
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.45);
  }
  
  .dot{
    width: 9px;
    height: 9px;
    background: rgba(255,255,255,0.35);
    transition: transform .22s ease, background .22s ease;
  }
  
  .dot.is-active{
    background: #fff;
    transform: scale(1.18);
  }
  
  /* =========================================
     PAGE TITLES
     ========================================= */
  
  .page__title,
  .pdp__title,
  .cardx__title,
  .reviews__title,
  .auth__title{
    letter-spacing: -0.035em;
  }
  
  .page__title{
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 950;
  }
  
  .page__sub{
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
  }
  
  /* =========================================
     CARDS / PRODUCT GRID
     ========================================= */
  
  .card,
  .product-card,
  .cardx,
  .review,
  .account__sidebar,
  .auth__card,
  .pdp__main,
  .spec,
  .addr,
  .setting,
  .tablex__row,
  .cart-item{
    background: rgba(255,255,255,0.84);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(22,22,22,0.07);
    box-shadow: 0 18px 50px rgba(0,0,0,0.05);
  }
  
  .card,
  .product-card{
    border-radius: 22px;
    overflow: hidden;
  }
  
  .card:hover,
  .product-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(0,0,0,0.10);
  }
  
  .card__media,
  .product-card__image-wrapper{
    border-radius: 20px;
    overflow: hidden;
  }
  
  .card__media img,
  .product-card__image-wrapper img{
    transition: transform .6s ease;
  }
  
  .card:hover .card__media img,
  .product-card:hover .product-card__image-wrapper img{
    transform: scale(1.04);
  }
  
  .card__body,
  .product-card__info{
    padding-bottom: 18px;
  }
  
  .card__title,
  .product-card__name{
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.025em;
  }
  
  .card__price,
  .product-card__price,
  .pdp__price{
    font-weight: 950;
    letter-spacing: -0.02em;
  }
  
  .card__cat,
  .product-card__material,
  .pdp__cat{
    color: var(--muted);
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  
  .badge,
  .pdp__badge,
  .review__badge{
    background: linear-gradient(135deg, #1c1b19 0%, #3a342d 100%);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  }
  
  /* =========================================
     PDP
     ========================================= */
  
  .pdp__top{
    gap: 36px;
  }
  
  .pdp__main{
    border-radius: 28px;
    overflow: hidden;
  }
  
  .pdp__main-img{
    transition: transform .7s ease;
  }
  
  .pdp__main:hover .pdp__main-img{
    transform: scale(1.03);
  }
  
  .pdp__thumb{
    border-radius: 16px;
    border: 1px solid rgba(22,22,22,0.08);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  }
  
  .pdp__thumb:hover{
    transform: translateY(-2px);
    border-color: rgba(191,163,122,0.56);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }
  
  .pdp__thumb.is-active{
    border-color: var(--brand-soft);
    box-shadow: 0 0 0 3px rgba(191,163,122,0.18);
  }
  
  .pdp__title{
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 950;
  }
  
  .pdp__meta,
  .pdp__desc,
  .review__body{
    line-height: 1.75;
  }
  
  .pdp__qty input,
  .cart-qty-input,
  .auth input{
    border-radius: 16px;
    border: 1px solid rgba(22,22,22,0.10);
    background: rgba(255,255,255,0.88);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
  }
  
  .pdp__qty input:focus,
  .cart-qty-input:focus,
  .auth input:focus{
    border-color: rgba(191,163,122,0.85);
    box-shadow: 0 0 0 4px rgba(191,163,122,0.14);
  }
  
  .pdp__add,
  .btnx,
  .auth__btn{
    background: linear-gradient(135deg, #171614 0%, #2b2722 100%);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 16px 30px rgba(0,0,0,0.16);
    transition:
      transform .25s ease,
      box-shadow .25s ease,
      opacity .25s ease,
      background .25s ease;
  }
  
  .pdp__add:hover,
  .btnx:hover,
  .auth__btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 22px 40px rgba(0,0,0,0.20);
  }
  
  .pdp__add:active,
  .btnx:active,
  .auth__btn:active{
    transform: translateY(0) scale(0.98);
  }
  
  .btnx--ghost,
  .auth__btn--ghost{
    background: rgba(255,255,255,0.78);
    color: var(--text);
    border: 1px solid rgba(22,22,22,0.10);
    box-shadow: none;
  }
  
  .btnx--ghost:hover,
  .auth__btn--ghost:hover{
    background: rgba(191,163,122,0.10);
  }
  
  /* Accordion */
  .pdp__acc-item{
    border-top: 1px solid rgba(22,22,22,0.08);
  }
  
  .pdp__acc-btn{
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.01em;
  }
  
  .pdp__acc-btn::after{
    color: var(--brand-soft);
    font-weight: 400;
  }
  
  /* Specs */
  .spec{
    border-radius: 18px;
    padding: 16px 18px;
  }
  
  .spec span{
    color: var(--muted);
    font-weight: 700;
    letter-spacing: .02em;
  }
  
  .spec strong{
    font-weight: 900;
  }
  
  /* =========================================
     REVIEWS / ACCOUNT / TABLES / CART
     ========================================= */
  
  .review,
  .cardx,
  .account__sidebar,
  .cart-item,
  .tablex__row{
    border-radius: 22px;
  }
  
  .review__title{
    font-size: 18px;
    font-weight: 900;
  }
  
  .account__hello{
    font-size: 22px;
    letter-spacing: -0.03em;
  }
  
  .account__link{
    border-radius: 14px;
    transition: background .22s ease, transform .22s ease;
  }
  
  .account__link:hover{
    background: rgba(191,163,122,0.10);
    transform: translateX(2px);
  }
  
  .account__link.is-active{
    background: rgba(191,163,122,0.14);
    border: 1px solid rgba(191,163,122,0.26);
  }
  
  .tablex__head{
    border-bottom: 1px solid rgba(22,22,22,0.08);
  }
  
  .tablex__row{
    border: 1px solid rgba(22,22,22,0.06);
  }
  
  .tablex__row:hover{
    background: rgba(255,255,255,0.95);
  }
  
  .badge--delivered{
    background: rgba(36, 104, 68, 0.10);
    color: #22543d;
    border: 1px solid rgba(36,104,68,0.14);
    border-radius: 999px;
  }
  
  .cart-item__image{
    border-radius: 16px;
  }
  
  /* =========================================
     AUTH
     ========================================= */
  
  .auth{
    padding-top: 30px;
  }
  
  .auth__card{
    padding: 34px;
    border-radius: 28px;
  }
  
  .auth__title{
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 950;
  }
  
  .auth__label{
    font-size: 14px;
    letter-spacing: .02em;
  }
  
  .auth input{
    border-radius: 16px;
    padding: 17px 16px;
    border: 1px solid rgba(22,22,22,0.10);
  }
  
  /* =========================================
     FILTER SIDEBAR
     ========================================= */
  
  .filter-overlay{
    background: rgba(0,0,0,0.42);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  
  .filter-sidebar{
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 0 80px rgba(0,0,0,0.18);
    transform: translateX(-10);
    
  }
  
  .filter-header{
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  
  .filter-group h4{
    font-weight: 900;
    letter-spacing: -0.02em;
  }
  
  .checkmark{
    border: 1px solid rgba(22,22,22,0.5);
  }
  
  .custom-radio input:checked ~ .checkmark{
    border-color: var(--brand-soft);
  }
  
  .btn-clear,
  .btn-done{
    border-radius: 999px;
    font-weight: 800;
  }
  
  .btn-done{
    background: linear-gradient(135deg, #171614 0%, #2b2722 100%);
    border-color: transparent;
  }
  
  /* =========================================
     FOOTER
     ========================================= */
  
  .footer{
    background:
      linear-gradient(to bottom, #f5f2eb 0%, #f1ede5 100%);
    border-top: 1px solid rgba(22,22,22,0.06);
    padding-top: 90px;
  }
  
  .footer__brand{
    font-size: 26px;
    letter-spacing: -0.03em;
    font-weight: 950;
  }
  
  .footer__desc{
    color: #6f6a63;
    line-height: 1.8;
    max-width: 360px;
  }
  
  .footer__title{
    font-size: 13px;
    letter-spacing: .14em;
    color: #4f4942;
  }
  
  .footer__col a{
    transition: color .22s ease, transform .22s ease;
  }
  
  .footer__col a:hover{
    color: var(--text);
    transform: translateX(2px);
  }
  
  .footer__bottom{
    color: #7a746d;
  }
  
  /* =========================================
     MICRO-INTERACTIONS
     ========================================= */
  
  a,
  button,
  input,
  textarea,
  select{
    transition:
      color .22s ease,
      background .22s ease,
      border-color .22s ease,
      box-shadow .22s ease,
      transform .22s ease,
      opacity .22s ease;
  }
  
  button{
    font: inherit;
  }
  
  @media (max-width: 980px){
    .hero-intro{
      left: 24px;
      top: 42px;
      max-width: 92%;
    }
  
    .hero-slider__track{
      min-height: 460px;
      height: 62vh;
    }
  
    .page,
    .pdp,
    .account,
    main{
      padding-left: 18px;
      padding-right: 18px;
    }
  }
  
  @media (max-width: 520px){
    .hero-slider__track{
      min-height: 360px;
      height: 52vh;
    }
  
    .hero-slide__title{
      font-size: 24px;
    }
  
    .auth__card{
      padding: 22px;
    }
  
    .card,
    .product-card,
    .review,
    .cart-item,
    .cardx{
      border-radius: 18px;
    }
  }

  /* Fix navbar so search + cart go fully to the right */
.navbar__inner{
    width: 100% !important;
    max-width: none !important;
  }
  
  .nav-right{
    margin-left: auto;
  }


  /* Custom Sort Wrapper */
.custom-sort {
    position: relative;
    display: inline-block;
}

/* The Trigger Button */
.sort-dropdown-btn {
    padding: 10px 40px 10px 20px;
    border: 1px solid rgba(22, 22, 22, 0.14);
    border-radius: 999px;
    background-color: transparent;
    backdrop-filter: blur(10px);
    
    /* Custom SVG Arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    outline: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

.sort-dropdown-btn:hover {
    border-color: var(--brand-soft);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}



/* The Dropdown Menu Popup */
.custom-sort-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 200px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(22,22,22,0.08);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
    padding: 8px;
    z-index: 100;

    left: -10%;
    transform: translateX(-50%);
    
    /* Hidden by default with smooth animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.custom-sort-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Individual Menu Options */
.custom-sort-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.custom-sort-menu button:hover {
    background: rgba(191,163,122,0.12); /* Luxury hover tint */
}

/* Highlight the active sort option */
.custom-sort-menu button.is-active {
    background: rgba(191,163,122,0.08);
    color: var(--brand-soft); 
    font-weight: 800;
}

#filterBtn:hover {
    border-color: var(--brand-soft);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transform: translateY(-1px);
    background: rgba(191,163,122,0.12);
}


/* Smooth filter open/close animation */
.filter-overlay{
    left: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.35s ease,
      visibility 0.35s ease;
  }
  
  .filter-overlay.active{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .filter-sidebar{
    transform: translateX(-32px);
    opacity: 0;
    transition:
      transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.28s ease;
  }
  
  .filter-overlay.active .filter-sidebar{
    transform: translateX(0);
    opacity: 1;
  }

  /* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999; /* Ensures it sits above your navbar and modals */
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none; /* Lets clicks pass through to the page below */
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(22, 22, 22, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    padding: 14px 28px;
    border-radius: 999px; /* Smooth pill shape */
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transition: opacity 0.4s ease;
}

/* Django's built-in tag for messages.error */
.toast--error {
    color: #b91c1c; /* Deep red text */
    border: 1px solid rgba(185, 28, 28, 0.2);
    background: rgba(254, 242, 242, 0.95); /* Slight red tint */
}

/* Django's built-in tag for messages.success */
.toast--success {
    color: #15803d; /* Deep green text */
    border: 1px solid rgba(21, 128, 61, 0.2);
    background: rgba(240, 253, 244, 0.95); /* Slight green tint */
}

/* The smooth drop-down animation */
@keyframes slideDown {
    from { 
        transform: translateY(-20px); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

