body {
    font-family: 'Montserrat', sans-serif;
    background: #f6eeee;
}

/* Utility */
.container {
    width: 95%;
    margin: auto;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--topbar-bg);
  font-size: 14px;
  padding: 8px 0;
  color: var(--white);
}

.top-bar .gold-rate {
  color: var(--white);
}

.top-bar a {
  text-decoration: none;
  color: var(--white);
  margin-left: 10px;
}

.top-bar span {
  color: var(--white);
}


.plan-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.plan-popup.show {
  display: flex;
}

.popup-content {
  position: relative;
  max-width: 500px;
  width: 90%;
}

.popup-content img {
  width: 100%;
  border-radius: 10px;
}

.close-popup {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #000;
  color: #fff;
  width: 28px;
  height: 28px;
  text-align: center;
  line-height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
}
/* B2B Banner */
.b2b-banner {
  background: linear-gradient(90deg, #6a1b9a, #8e24aa); /* keep special */
  color: var(--white);
  text-align: center;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
}

/* ===== Main Header ===== */
.main-header {
  border-top: none;
  padding: 20px 0;
}

/* Logo Wrapper */
.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* Main Logo */
.main-logo img {
    height: 85px;
}

/* Brand Name Image */
.brand-name-img {
    height: 55px;
}

/* ===============================
   Search Container
=================================*/
.search-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 20%;
  max-width: 420px;
}

/* Input */
.search-box input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid var(--border-light);
  border-radius: 30px 0 0 30px;
  border-right: none;
  font-size: 14px;
  outline: none;
}

/* Button */
.search-box button {
  padding: 12px 20px;
  border: 1px solid var(--accent);
  background: var(--secondary);
  color: var(--white);
  font-weight: 600;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
}

.search-box button:hover {
  background: var(--footer-bg);
}

.search-box input:focus {
  border-color: var(--accent);
  box-shadow: none;
}

/* Search Results */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--white);
  max-height: 300px;
  overflow-y: auto;
  z-index: 9999;
}

.search-results .search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-extra-light);
  cursor: pointer;
}

.search-results .search-item:hover {
  background: var(--bg-light);
}

.search-results .search-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.search-results .search-item h4 {
  font-size: 13px;
  margin: 0;
}

.search-results .search-item .price {
  font-size: 12px;
  color: var(--primary);
}

.b2b-label {
  font-size: 12px;
  color: var(--text-light);
}

/* ===============================
   Animation
=================================*/
@keyframes fadeInSearch {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header Icons */
.header-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-icons a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-icons a:hover {
  color: var(--primary);
}

/* Login */
.login-wrapper {
  position: relative;
}

.login-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 15px;
  width: 220px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

.login-dropdown p {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-medium);
}

.login-dropdown a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-medium);
  text-decoration: none;
  line-height: 1.6;
}

.login-dropdown a:hover {
  color: var(--primary);
}

/* Login Page */
.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.login-container {
  background: var(--white);
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
}

/* Heading */
.login-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-dark);
}

/* Form */
.login-form {
  display: flex;
  flex-direction: column;
}

.login-form label {
  margin-bottom: 5px;
  font-weight: bold;
  color: var(--text-medium);
}

.login-form input {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc; /* keep neutral */
  border-radius: 5px;
  transition: border-color 0.3s;
}

.login-form input:focus {
  border-color: var(--primary);
  outline: none;
}

/* Button */
.btn-primary {
  background: var(--primary);
  color: white;
  border-radius: 4px;
  padding: 12px 28px;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background: var(--secondary);
}

/* Links */
.login-container a {
  color: var(--primary);
  text-decoration: none;
}

.login-container a:hover {
  text-decoration: underline;
}

.login-container p:last-child {
  text-align: center;
  margin-top: 10px;
}

/* Overlay */
.login-page .popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup */
.login-page .popup-box {
  background: var(--white);
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-align: center;
  max-width: 400px;
  width: 90%;
  animation: fadeInScale 0.3s ease;
}

.login-page .popup-box h3 {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.login-page .popup-box p {
  margin-bottom: 20px;
  color: var(--text-medium);
}

/* Popup Button */
.login-page .popup-box .btn-primary {
  background: var(--primary);
}

.login-page .popup-box .btn-primary:hover {
  background: var(--secondary);
}

/* Error popup */
.login-page .popup-box.error h3 {
  color: #d9534f; /* keep error red */
}

.login-page .popup-box.error .btn-primary {
  background: #d9534f;
}

.login-page .popup-box.error .btn-primary:hover {
  background: #b52b27;
}

/* Animation */
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* signup */
.signup-page {
  width: 400px;
  margin: 40px auto;
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
}

.signup-page h2 {
  text-align: center;
  margin-bottom: 20px;
}

.signup-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.signup-tabs .tab-btn {
  padding: 8px 16px;
  border: 1px solid var(--primary);
  background: var(--white);
  cursor: pointer;
  border-radius: 4px;
}

.signup-tabs .tab-btn.active {
  background: var(--primary);
  color: var(--white);
}

.signup-form label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-medium);
}

.signup-form input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.signup-form .btn-primary {
  margin-top: 20px;
  width: 100%;
  background: var(--primary);
  color: var(--white);
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

/* Popup Box */
.popup-box {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  width: 350px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  animation: fadeIn 0.4s ease;
}

.popup-box h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.popup-box p {
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Show dropdown when hovering over login-wrapper */
.login-wrapper:hover .login-dropdown {
  display: block;
}

.header-icons i {
  font-size: 16px;
}

/* ===============================
   NAVBAR
=============================== */

.navbar {
  border-bottom: 1px solid #eee;
  height: 42px;
  display: flex;
  align-items: center;
  background: var(--white);
  position: relative;
  width: 100%;
  overflow: visible; /* IMPORTANT */
}

.navbar > .container {
  width: 100%;
  position: relative;  /* 🔥 IMPORTANT */
}

.navbar > .container > ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
  list-style: none;
  flex-wrap: nowrap; /* prevent breaking */
}

/* NAV ITEMS */
.navbar > .container > ul > li {
  padding: 0 20px;
  
}

/* LINKS */
.navbar a {
  text-decoration: none;
  color: var(--text-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 42px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap; /* prevent text break */
}

.navbar li:hover > a {
  background: var(--primary);
  color: var(--white);
}


/* ===============================
   NORMAL DROPDOWN
=============================== */

.normal-dropdown {
  position: relative;
}

.normal-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  display: none;
  min-width: 160px;
  padding: 10px 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  list-style: none;
  z-index: 999;
}

.normal-dropdown:hover .dropdown {
  display: block;
}

.normal-dropdown .dropdown li {
  margin: 0;              /* remove extra margin */
  padding: 0;             /* remove padding from li itself */
  line-height: 1.2;       /* compact line height */
}

.normal-dropdown .dropdown li a {
  display: block;
  padding: 4px 12px;      /* control vertical spacing */
  font-size: 13px;
  line-height: 1.3;       /* tighter line height */
}

.normal-dropdown .dropdown li a:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  border-radius: 2px;
}

/* ===============================
   MEGA MENU (FIXED NO OVERFLOW)
=============================== */

.menu-item.mega {
  position: static;
}

.menu-item.mega:hover .mega-menu {
  display: block;
}

/* MEGA MENU FIX */
/* MEGA MENU FIX */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;   /* spans the navbar container */
  display: none;
  padding: 30px 60px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  z-index: 999;
}


/* 🔥 MAIN FIX HERE */
.mega-menu-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;

  width: 100%;
  margin: 0 auto;
}

.mega-column {
  flex: 1 1 180px;
  max-width: 240px;
}

/* TITLE */
.mega-column h4 {
  font-size: 14px;
  margin-bottom: 10px;
}

.mega-column h4 a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
  font-weight: 600;
}

.mega-column h4 a:hover {
  background-color: var(--primary-dark);
  color: var(--text-dark); /* keep dark text */
  padding: 4px 8px;
  border-radius: 2px;
}


/* ARROW */
.mega-column h4 .arrow {
  font-size: 11px;
  margin-left: 6px;
}

/* LIST */
.mega-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-column ul li {
  margin: 0;              /* no extra margin */
  padding: 0;             /* no padding on li */
  line-height: 1.2;       /* compact line height */
}

.mega-column ul li a {
  display: block;
  padding: 4px 10px;      /* small vertical padding */
  font-size: 12px;
  line-height: 1.3;       /* tighter line height */
  color: var(--text-light);
}

.mega-column ul li a:hover {
  background-color: var(--bg-soft);
  color: var(--primary);
  padding-left: 12px;     /* subtle hover indent */
}


/* ===============================
   GLOBAL SAFETY (VERY IMPORTANT)
=============================== */

body {
  overflow-x: hidden; /* 🔥 PREVENT FULL PAGE SCROLL */
}

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    transition: 0.3s ease;
}

.sticky-header.scrolled {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Cart */
.cart-icon-wrapper {
  position: relative;
}

/* ===============================
   MINI CART DROPDOWN
=============================== */

.cart-preview-box {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  width: 320px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  padding: 12px;
  z-index: 1000;

  max-height: 400px;     /* 🔥 scroll support */
  overflow-y: auto;
}

/* Show on hover */
.cart-icon-wrapper:hover .cart-preview-box {
  display: block;
}

/* ===============================
   CART ITEM
=============================== */

.preview-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  position: relative;
}

.preview-item:last-child {
  border-bottom: none;
}

/* Image */
.preview-item img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 6px;
}

/* Info */
.preview-info {
  flex: 1;
}

.preview-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.preview-meta {
  font-size: 12px;
  color: #777;
}

/* ===============================
   DELETE BUTTON
=============================== */

.remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  font-size: 14px;
  padding: 5px;
}

.remove-btn:hover {
  color: red;
}

/* ===============================
   TOTAL
=============================== */

.preview-total {
  font-weight: 600;
  margin-top: 10px;
  text-align: right;
  color: var(--text-dark);
}

/* ===============================
   BUTTON
=============================== */

.mini-cart-btn {
  display: flex;                 /* 🔥 important */
  align-items: center;           /* vertical center */
  justify-content: center;       /* horizontal center */

  width: 100%;
  margin-top: 10px;

  background: var(--primary);
  color: #fff !important;        /* 🔥 force white */

  padding: 12px;
  border-radius: 8px;

  text-decoration: none !important;
  font-weight: 600;

  transition: 0.3s;
}

.mini-cart-btn:hover {
  opacity: 0.9;
  color: #fff !important;
}

/* ===============================
   EMPTY STATE
=============================== */

.preview-empty {
  text-align: center;
  padding: 20px;
  color: #777;
  font-size: 14px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--footer-bg);
    color: white;
    margin-top: 80px;
}


.footer-top {
    background: var(--footer-bg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px 0;
}

.footer-col h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--white);
    font-size: 16px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

/* Contact */
.footer-col p,
.footer-col a {
    color: var(--white);
    font-size: 16px;
    line-height: 1.7;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--accent);
}

/* Newsletter */

.btn-magazine {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #e0bf5c 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-magazine:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    }

/* Social */
.social-icons {
    margin-top: 25px; /* adds space below icons */
}

.social-icons a {
    margin-right: 12px;
    color: var(--white);
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--accent);
}

/* Footer Middle */
.footer-middle {
    background: var(--footer-dark);
    padding: 15px 0;
    font-size: 14px;
    color: var(--white);
}

.payment-icons img {
    height: 25px;
    margin-left: 10px;
}

/* Footer Bottom */
.footer-bottom {
    background: var(--footer-bottom);
    padding: 15px 0;
    font-size: 13px;
    color: var(--white);
    width: 100%;              /* full width strip */
}

.footer-bottom .container {
    display: flex;
    justify-content: center;  /* center horizontally */
    align-items: center;      /* align vertically */
    gap: 20px;                /* spacing between the two <p> tags */
    flex-wrap: nowrap;        /* keep them on one line */
    text-align: center;       /* ensure text is centered */
}



.footer-logo img {
    height: 60px;
    margin-bottom: 0px;
}

.footer-logo {
    margin-bottom: 0px;
}

/* Section Title */
.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin: 60px 0 30px;
    color: var(--text-dark);
}

/* HERO SLIDER */
.hero-slider {
    position: relative;
    height: 60vh;
    overflow: hidden;
    background: var(--white);
    margin-top: 0;
    border: 1px solid var(--border-light);
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--secondary);
}

/* Zoom OUT on hover */
.slide img:hover {
    transform: scale(0.95);
}

.btn-gold {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    margin-top: 10px;
}

/* Default: show desktop, hide mobile */
.desktop-slider {
    display: block;
}

.mobile-slider {
    display: none;
}
/* ================= CATEGORY ================= */

/* ===============================
   SHOP BY CATEGORY SECTION
================================ */
/* ===============================
   CATEGORY SECTION
================================ */
.categories {
    padding: 20px 0;
}

/* ===============================
   CAROUSEL WRAPPER
================================ */
.categories .category-carousel {
    position: relative;
    padding: 0 40px;
    overflow: hidden;
}

/* ===============================
   TRACK (HORIZONTAL SCROLL)
================================ */
.category-track {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.category-track::-webkit-scrollbar {
    display: none;
}

/* ===============================
   CARD (KEEP YOUR DESIGN)
================================ */
.category-card {
    flex: 0 0 calc(25% - 20px); /* 4 per row default */
    text-align: center;
    border-radius: 12px;
    background-color: var(--primary);
    padding: 15px;
    transition: 0.3s ease;
}

.category-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: scale(1.05);
}

.category-card h3 {
    margin-top: 10px;
    font-size: 18px;
    color: var(--primary-dark);
}

.category-card a {
    text-decoration: none;
    color: inherit;
}

/* ===============================
   ARROWS
================================ */
.categories .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    /* ✨ New Look */
    background: rgba(255, 255, 255, 0.6); /* soft transparent */
    backdrop-filter: blur(6px);           /* glass effect */
    color: #b89b6b;                       /* gold tone */
    
    border: none;
    font-size: 20px;

    width: 42px;
    height: 42px;

    border-radius: 10px;                  /* square with soft edges */
    
    cursor: pointer;
    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
}

/* Position */
.categories .carousel-arrow.left { left: 10px; }
.categories .carousel-arrow.right { right: 10px; }

/* Hover effect */
.categories .carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.05);
}

/* ===============================
   RESPONSIVE
================================ */
@media (min-width: 1024px) {
  .categories .carousel-arrow {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Tablets */
@media (max-width: 1024px) {
    .category-card {
        flex: 0 0 calc(33.33% - 20px); /* 3 items */
    }
}

/* Small screens → 4 items */
@media (max-width: 768px) {
    .category-card {
        flex: 0 0 calc(25% - 20px);
    }
}

/* Mobile fallback */
@media (max-width: 480px) {
    .category-card {
        flex: 0 0 calc(50% - 15px); /* 2 items */
    }
}

/* Large screens → 5 items */
@media (min-width: 1200px) {
    .category-card {
        flex: 0 0 calc(20% - 20px);
    }
}

/* ================= EXCLUSIVE ================= */

.exclusive-section {
    width: 90%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.exclusive-section .section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* GRID */
.exclusive-section .exclusive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* CARD */
.exclusive-section .exclusive-card {
    background: var(--white);
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
    text-align: center;
}

.exclusive-section .exclusive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

/* IMAGE */
.exclusive-section .exclusive-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.exclusive-section .exclusive-image img {
    position: absolute;
    top:10px;
    left:10px;
    right:10px;
    bottom:10px;
    width:calc(100% - 20px);
    height:auto;
    object-fit:contain;
    transition:opacity .4s ease;
}

/* IMAGE SWITCH */
.front-img { opacity: 1; z-index: 1; }
.back-img { opacity: 0; z-index: 2; }

.exclusive-image:hover .front-img { opacity: 0; }
.exclusive-image:hover .back-img { opacity: 1; }

/* CONTENT */
.exclusive-section h4 {
    margin: 12px 0 4px;
    font-size: 16px;
    font-weight: 600;
}

.exclusive-section .weight {
    font-size: 14px;
    color: var(--text-medium);
}

.exclusive-section .price {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* BUTTON */
.exclusive-section .btn-outline {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 14px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    transition: .3s;
}

.exclusive-section .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ================= INSTAGRAM ================= */

.instagram-section {
    width: 90%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.instagram-slider {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.insta-item {
    width: 100%;
    aspect-ratio: 1/2;
    border-radius: 10px;
    overflow: hidden;
}

.insta-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insta-arrow {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-slider {
        height: 20vh;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 20vh;
    }
}

/* ================= CATEGORY PAGE ================= */

.category-page {
  display: flex;
  gap: 30px;
  width: 90%;
  margin: auto;
  padding-top: 40px;
}

/* Filters */
.category-page .filters {
  flex: 0 0 250px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px;
  background: var(--bg-light);
}

.category-page .filters h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
}

.category-page .filter-group {
  margin-bottom: 15px;
}

.category-page .filter-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.category-page .filter-group input,
.category-page .filter-group select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.category-page .filter-inline {
  display: flex;
  gap: 10px;
}

.category-page .filter-inline input {
  flex: 1;
}

/* Product Section */
.category-page .product-section {
  flex: 1;
}

.category-page .product-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.category-page .product-topbar label {
  font-weight: 600;
  margin-right: 8px;
}

/* =========================
PRODUCT GRID
========================= */

.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:20px;
}

/* =========================
PRODUCT CARD
========================= */

.product-card{
  border:none;
  border-radius:10px;
  padding:15px;
  text-align:center;
  background: var(--bg-soft);
  transition:box-shadow 0.3s ease;
}

.product-card:hover{
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
}

/* =========================
IMAGE SYSTEM
========================= */

.product-image{
  position:relative;
  width:100%;
  padding-top:100%;
  overflow:hidden;
}

.product-image a{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  display:block;
}

.product-image img{
  position:absolute;
  top:0; left:0; right:0; bottom:0;
  margin:auto;
  width:100%;
  height:100%;
  object-fit:contain;
  transition:opacity 0.4s ease;
}

/* FRONT / BACK */
.product-image .front-img{
  opacity:1;
  z-index:1;
}

.product-image .back-img{
  opacity:0;
  z-index:2;
}

.product-image.has-back:hover .front-img {
  opacity: 0;
}

.product-image.has-back:hover .back-img {
  opacity: 1;
}

/* =========================
OVERLAY
========================= */

.overlay{
  position:absolute;
  top:0; left:0; right:0; bottom:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,0.4);
  opacity:0;
  transition:opacity 0.3s ease;
}

.product-card:hover .overlay{
  opacity:1;
}

.btn-quick{
  background:var(--primary);
  color:var(--white);
  padding:8px 15px;
  border-radius:4px;
  text-decoration:none;
}

/* =========================
TEXT
========================= */

.product-card h4{
  margin-top:10px;
  font-size:16px;
  font-weight:600;
}

.weight{
  font-size:12px;
  color:var(--text-medium);
}

.product-card .price{
  margin:5px 0 10px;
  font-size:15px;
  color:var(--text-dark);
}

/* =========================
BUTTONS
========================= */

.btn-outline{
  display:inline-block;
  margin-top:8px;
  padding:6px 12px;
  border:1px solid var(--primary);
  border-radius:4px;
  color:var(--primary);
  text-decoration:none;
  transition:0.3s;
}

.btn-outline:hover{
  background:var(--primary);
  color:var(--white);
}

.btn-primary{
  background:var(--primary);
  color:var(--white);
  padding:10px 18px;
  border:none;
  border-radius:4px;
  cursor:pointer;
}

.btn-primary:hover{
  background:var(--secondary);
}

/* =========================
SUBCATEGORY PAGE
========================= */

.subcategory-page {
  width: 90%;
  margin: auto;
  padding-top: 40px;
}

.subcategory-page .page-layout {
  display: flex;
  gap: 30px;
}

.subcategory-page .filters {
  flex: 0 0 250px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px;
  background: var(--bg-light);
}

.subcategory-page .filters h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
}

.subcategory-page .filter-group {
  margin-bottom: 15px;
}

.subcategory-page .filter-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.subcategory-page .filter-group input,
.subcategory-page .filter-group select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.subcategory-page .filter-inline {
  display: flex;
  gap: 10px;
}

.subcategory-page .filter-inline input {
  flex: 1;
}

.subcategory-page .product-section {
  flex: 1;
}

.subcategory-page .product-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* Pagination */
.subcategory-page .pagination {
  text-align: center;
  margin: 20px 0;
}

.subcategory-page .btn-primary {
  background: var(--primary);
}

.subcategory-page .btn-primary:hover {
  background: var(--secondary);
}

/* =========================
PRODUCT PAGE
========================= */

.product-page {
  width: 90%;
  margin: auto;
  padding-top: 40px;
}

/* Breadcrumb */
.product-page .breadcrumb {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-medium);
}

.product-page .breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.product-page .breadcrumb a:hover {
  text-decoration: underline;
}

/* Hero */
.product-page .product-hero {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

/* Gallery */
.product-gallery{
    display:flex;
    gap:15px;
}

.product-page .product-img {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.product-page .product-img a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.product-page .product-img img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  padding:15px;
}

/* ================= PRODUCT GALLERY ================= */

.product-page .product-gallery .product-img img:hover {
  transform: scale(1.2);
  cursor: zoom-in;
}

.product-gallery .thumbnails{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.product-gallery .thumb-img{
    width:100px;
    height:100px;
    object-fit:cover;
    cursor:pointer;
    border:1px solid var(--border-light);
    border-radius:6px;
    padding:15px;
    background:var(--white);
}

.product-gallery .thumb-img.active {
  border-color: var(--primary);
}

/* ================= PRODUCT INFO ================= */

.product-page .product-info {
  flex: 1;
}

.product-page .product-info h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.product-page .product-info .price {
  font-size: 22px;
  color: var(--primary);
  font-weight: bold;
}

.product-page .product-info p {
  font-size: 18px;
  color: var(--text-medium);
}

.product-page .product-info .stock {
  color: var(--success);
  font-weight: bold;
}

/* Quantity */
.product-page .quantity-select {
  margin-top: 15px;
  font-size: 14px;
}

.product-page .quantity-dropdown {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Button */
.product-page .btn-primary {
  background: var(--primary);
  color: var(--white);
}

.product-page .btn-primary:hover {
  background: var(--secondary);
}

/* Trust badges */
.product-page .trust-badges {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--text-medium);
}

/* ================= DESCRIPTION ================= */

.product-page .description-section {
  margin-top: 20px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
}

.product-page .desc-toggle {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: bold;
  padding: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.product-page .desc-content {
  display: block;
  padding: 15px;
  background: var(--bg-light);
  font-size: 14px;
  color: var(--text-medium);
}

.product-page .desc-toggle .arrow {
  transition: transform 0.3s ease;
}

/* Open state */
.product-page .description-section.open .arrow {
  transform: rotate(180deg);
}

/* Table */
.product-details-table td {
  border-bottom: 1px solid var(--border-light);
}

.product-details-table td:first-child {
  color: var(--text-medium);
}

.product-details-table td:last-child {
  color: var(--black);
}

/* ================= CAROUSEL ================= */

.product-page .different-weight-products .carousel-arrow {
  background: var(--primary);
  color: var(--white);
}

.product-page .different-weight-products .carousel-arrow:hover {
  background: var(--secondary);
}

/* ================= CART ================= */

/* Page */
.cart-page {
    background: var(--bg-light);
    padding: 40px 60px;
}

/* Layout */
.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Card */
.cart-items {
    background: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Header */
.cart-header h2 {
    font-size: 26px;
    font-weight: 700;
}

/* Row */
.cart-row {
    display: grid;
    grid-template-columns: 110px 2fr 1fr 140px 1fr;
    gap: 30px;
    padding: 25px 0;
}

/* Image */
.col-image img {
    width: 100px;
    object-fit: contain;
}

/* Qty */
.col-qty {
    display: flex;
    gap: 6px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-light);
    background: var(--bg-soft);
    cursor: pointer;
}

/* Qty Input */
.qty-input {
    width: 45px;
    height: 28px;
    border: 1px solid var(--border-light);
    text-align: center;
}

/* Row Actions */
.row-actions {
    margin-top: 12px;
    display: flex;
    gap: 25px;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-medium);
    transition: 0.3s;
}

.icon-btn svg {
    fill: currentColor;
}

/* Hover */
.remove-btn:hover {
    color: var(--danger);
}

.wishlist-btn:hover {
    color: var(--accent);
}

/* ================= CART TOTAL ================= */

.cart-total-line {
    margin-top: 30px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
}

.cart-total-line .total-amount {
    font-size: 18px;
    font-weight: 700;
}

/* ================= CART SUMMARY ================= */

.cart-summary {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 40px;
}

.cart-summary h3 {
    font-size: 20px;
}

/* Rows */
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}

.total-row {
    font-weight: 700;
    font-size: 17px;
    border-top: 1px solid var(--border-light);
    padding-top: 15px;
}

/* Checkout Button */
.btn-checkout {
    display: block;
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    background: var(--black);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-checkout:hover {
    background: var(--text-dark);
}

/* ================= CHECKOUT PAGE ================= */

.checkout-page {
  padding: 60px 0;
  background: var(--bg-light);
}

.checkout-container {
  width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
}

.checkout-left {
  flex: 2;
}

.checkout-summary {
  flex: 1;
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  height: fit-content;
}

.checkout-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.09);
}

.checkout-form .form-group {
  margin-bottom: 18px;
}

.checkout-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 500;
}

.card-title,
.summary-title {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Form */
.checkout-form input,
.checkout-form select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  transition: 0.3s;
}

.checkout-form input:focus,
.checkout-form select:focus {
  border-color: var(--black);
}

.form-row {
  display: flex;
  gap: 25px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.summary-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.summary-details {
  flex: 1;
  margin-left: 12px;
}

.product-name {
  font-size: 14px;
  font-weight: 500;
}

.product-qty {
  font-size: 13px;
  color: #777;
}

/* Summary */
.summary-divider {
  background: var(--border-light);
}

.product-qty {
  color: var(--text-light);
}

/* Place Order */
.btn-place-order {
  width: 100%;
  padding: 12px;
  background: var(--black);
  color: var(--white);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.btn-place-order:hover {
  background: var(--text-dark);
}

/* PAYMENT SECTION */

/* PAYMENT HEADER */

.payment-card {
  padding: 30px;
}

.payment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-header .card-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.payment-option.disabled {
  opacity: 0.5;
  pointer-events: none;
}
/* ================= PAYMENT ================= */

.secure-badge {
  font-size: 13px;
  background: var(--success-bg);
  color: var(--success);
  padding: 6px 10px;
  border-radius: 20px;
}

.payment-divider {
  height: 1px;
  background: var(--border-light);
  margin: 18px 0 25px 0;
}
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.payment-option {
  cursor: pointer;
}

.payment-option input {
  display: none;
}

.payment-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 18px;
  transition: all 0.3s ease;
  background: var(--white);
}

.payment-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.payment-icon {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

/* Razorpay Blue */
.razorpay-icon {
  background: #528FF0;
}

/* COD Green */
.cod-icon {
  background: var(--success);
}

.payment-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.payment-sub {
  font-size: 13px;
  color: var(--text-light);
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-light);
  border-radius: 50%;
  position: relative;
  transition: 0.3s;
}

/* Hover Effect */
.payment-box:hover {
  border-color: var(--black);
}

/* Selected State */
.payment-option input:checked + .payment-box {
  border: 2px solid var(--black);
  background: var(--bg-light);
}

.payment-option input:checked + .payment-box .radio-custom {
  border-color: var(--black);
}

.payment-option input:checked + .payment-box .radio-custom::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--black);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.required {
    color: red;
    font-weight: bold;
}

/* ================= ORDERS ================= */

.orders-container {
  max-width: 500px;
  margin: 40px 20px;
  padding: 30px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.orders-container h2 {
  color: var(--text-dark);
  text-align: center;
}

/* Form styling */
.track-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
  margin-top: 25px;
}

.track-form .form-group {
  display: flex;
  flex-direction: column;
}

.track-form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-medium);
}

.track-form input {
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.track-form input:focus {
  border-color: var(--primary);
  outline: none;
}

/* Button */
.btn-track {
  padding: 12px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-track:hover {
  background: var(--secondary);
}

/* Error message */
.error {
  color: var(--danger);
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}

/* Order details */
.order-details {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.order-details h3 {
  margin-top: 0;
  color: var(--primary);
}

.order-details p {
  margin: 8px 0;
  font-size: 1rem;
  color: var(--text-medium);
}

.order-details a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.order-details a:hover {
  text-decoration: underline;
}

/* Live tracking status */
#live-status {
  font-weight: 700;
  color: var(--success);
}

/* ================= SEARCH ================= */
/* ================= SEARCH PAGE ================= */

/* Wrapper */
.search-page {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

/* Heading */
.search-page h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--text-dark);
}

/* Product grid */
.search-page .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}

/* Pagination */
.search-page .pagination {
  text-align: center;
  margin-top: 30px;
}

.search-page .pagination .page-link {
  display: inline-block;
  margin: 0 5px;
  padding: 6px 12px;
  border: 1px solid var(--primary);
  border-radius: 4px;
  color: var(--primary);
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.search-page .pagination .page-link:hover {
  background: var(--primary);
  color: var(--white);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* ================= HERO ================= */
.hero {
  background: var(--footer-bg);
  color: var(--white);
  padding: 80px 20px;
  text-align: left;
}

.hero-content {
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  color: var(--text-light);
}


/* ================= HERO ================= */
.hero {
  background: linear-gradient(
      rgba(255,255,255,0.7),
      rgba(255,255,255,0.7)
    ),
    url('/static/images/hero.jpg'); /* your image */
  background-size: cover;
  background-position: center;
  color: var(--text-dark);
  padding: 120px 60px;
  position: relative;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 60px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 18px;
  color: var(--text-medium);
}

.hero-image {
  flex: 1;
}

.hero-image img {
  width: 100%;
  border-radius: 10px;
}

/* ================= CONTACT ================= */
/* LAYOUT */
.contact-section {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: -100px;
  padding: 0 20px 80px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* CARDS */
.card {
  background: var(--white);
  padding: 35px;
  width: 420px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* LEFT SIDE */
.contact-info .info-block {
  margin-bottom: 25px;
}

.contact-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--footer-bg);
}

.contact-info p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-medium);
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
}

/* SOCIAL LINKS */
.social-links {
  margin-top: 20px;
}

.social-links a {
  display: inline-block;
  margin-right: 10px;
  background: var(--bg-soft);
  padding: 10px;
  border-radius: 50%;
  color: var(--text-dark);
  transition: 0.3s;
}

.social-links a:hover {
  background: var(--accent);
  color: var(--white);
}

/* FORM */
.contact-form h2 {
  margin-bottom: 20px;
  color: var(--footer-bg);
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-size: 13px;
  display: block;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 14px;
}

/* Submit */
.btn-submit {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background: var(--accent-dark);
}

.spinner {
  margin: 20px auto;
  width: 50px;
  height: 50px;
  border: 5px solid #eee;
  border-top: 5px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* ================= LOADER ================= */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* SPINNER */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #eee;
  border-top: 5px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* SUCCESS CARD */
.success-card {
  display: none;
  background: #e6ffed;
  border-left: 5px solid #28a745;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  animation: fadeIn 0.5s ease;
}


/* ================= MOBILE ================= */

@media (min-width:1025px){
.mobile-header,
.bottom-nav,
.mobile-menu,
.mobile-search-panel,
.mobile-filter-btn,
.close-filter,
.sticky-cart,
.carousel-arrow,
.mobile-bottom-nav {
  display:none;
}
}

@media (max-width:1024px){
.mobile-header{ display:flex; }
.bottom-nav{ display:flex; }
.mobile-menu{ display:block; }
.mobile-search-panel{ display:block; }
}
