/* =====================================
   THEME VARIABLES (EDIT ONLY THIS)
===================================== */

:root {
  /* 🌸 Luxury Blush Theme */

  /* Primary Brand */
  --primary: #c8a2a6;        /* soft rose */
  --secondary: #b58d91;      /* deeper rose */

  /* Accent (Gold) */
  --accent: #825156;
  --accent-dark: #b9972e;

  /* Backgrounds */
  --bg-main: #f6eeee;
  --bg-light: #faf6f6;       /* soft pink background */
  --bg-soft: #f3eaea;        /* cards */

  /* Text */
  --text-dark: #3a2e2e;      /* deep brown */
  --text-medium: #6b5b5b;
  --text-light: #a89a9a;

  /* Borders */
  --border-light: #e8dede;

  /* Footer */
  --footer-bg: #b58d91;
  --footer-dark: #8e6b6f;

  /* White / Black */
  --white: #ffffff;
  --black: #2a2a2a;

  /* Status */
  --success: #28a745;
  --success-bg: #e6ffed;
  --danger: #d9534f;
}

/* =====================================
   GLOBAL
===================================== */

body {
  background: var(--bg-main);
  color: var(--text-dark);
}

/* =====================================
   TOP BAR
===================================== */

.top-bar {
  background: var(--primary);
  color: var(--white);
}

.top-bar a,
.top-bar span {
  color: var(--white);
}

/* =====================================
   HEADER
===================================== */

.main-header {
  border-top: 4px solid var(--text-dark);
}

/* Search */
.search-box input {
  border: 1px solid var(--border-light);
}

.search-box button {
  background: var(--text-dark);
  color: var(--white);
}

.search-box button:hover {
  background: var(--secondary);
}

/* =====================================
   NAVBAR
===================================== */

.navbar {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.navbar a {
  color: var(--black);
}

.navbar li:hover > a {
  background: var(--primary);
  color: var(--white);
}

/* Dropdown */
.normal-dropdown .dropdown {
  background: var(--white);
}

.normal-dropdown .dropdown li a {
  color: var(--text-medium);
}

.normal-dropdown .dropdown li a:hover {
  background: var(--secondary);
  color: var(--white);
}

/* Mega Menu */
.mega-menu {
  background: var(--white);
}

.mega-column h4 a {
  color: var(--black);
}

.mega-column ul li a {
  color: var(--text-light);
}

.mega-column ul li a:hover {
  background: var(--bg-soft);
  color: var(--primary);
}

/* =====================================
   BUTTONS
===================================== */

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--secondary);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* =====================================
   CARDS
===================================== */

.product-card,
.exclusive-card,
.cart-items,
.cart-summary,
.checkout-card {
  background: var(--white);
  border: 1px solid var(--border-light);
}

/* =====================================
   PRODUCT
===================================== */

.price {
  color: var(--text-dark);
}

.product-info .price {
  color: var(--primary);
}


/* =====================================
   CATEGORY
===================================== */

.category-card {
  background: var(--primary);
}

.category-card h3 {
  color: var(--text-dark);
}

/* =====================================
   FOOTER
===================================== */

.footer {
  background: var(--footer-bg);
  color: var(--white);
}

.footer-col h3 {
  color: var(--accent);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-middle {
  background: var(--footer-bg);
}

.footer-bottom {
  background: var(--footer-dark);
}

/* =====================================
   CART
===================================== */

.cart-page {
  background: var(--bg-soft);
}

.btn-checkout {
  background: var(--black);
  color: var(--white);
}

.btn-checkout:hover {
  background: #333;
}

/* =====================================
   CHECKOUT
===================================== */

.checkout-page {
  background: var(--bg-light);
}

.checkout-form input:focus {
  border-color: var(--black);
}

/* Payment */
.payment-box:hover {
  border-color: var(--black);
}

.payment-option input:checked + .payment-box {
  border: 2px solid var(--black);
}

/* =====================================
   STATUS
===================================== */

.required {
  color: var(--danger);
}

.error {
  color: var(--danger);
}

#live-status {
  color: var(--success);
}

/* =====================================
   HERO
===================================== */

.hero {
  background: var(--footer-bg);
  color: var(--white);
}

/* =====================================
   CONTACT
===================================== */

.card {
  background: var(--white);
}

.contact-info h3 {
  color: var(--footer-bg);
}

.contact-info a {
  color: var(--primary);
}

/* =====================================
   SOCIAL
===================================== */

.social-links a {
  background: var(--bg-soft);
  color: var(--text-dark);
}

.social-links a:hover {
  background: var(--accent);
  color: var(--white);
}

/* =====================================
   FORM
===================================== */

.form-group input,
.form-group textarea {
  border: 1px solid var(--border-light);
}

.btn-submit {
  background: var(--accent);
  color: var(--white);
}

.btn-submit:hover {
  background: var(--accent-dark);
}

/* =====================================
   LOADER
===================================== */

.spinner {
  border-top: 5px solid var(--accent);
}

.success-card {
  background: var(--success-bg);
  border-left: 5px solid var(--success);
}

/* =====================================
   PAGINATION
===================================== */

.page-link {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.page-link:hover {
  background: var(--primary);
  color: var(--white);
}

/* =====================================
   MOBILE CONTROL
===================================== */

@media (min-width:769px){
.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:768px){
.mobile-header{ display:flex; }
.bottom-nav{ display:flex; }
.mobile-menu{ display:block; }
.mobile-search-panel{ display:block; }
}


/* =====================================
   STYLE CSS
===================================== */

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(--primary);
  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);
}


.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;
}

.video-wrapper {
    position: relative;
    cursor: pointer;
}

.video-thumb {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.insta-video {
    width: 100%;
    display: none;
    border-radius: 10px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 10px 15px;
    border-radius: 50%;
}

/* 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;
}


.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
  text-align: center;
}

.modal-inner {
  position: relative;
  display: inline-block;
  margin-top: 40px; /* padding from top */
}

.modal-content {
  display: block;
  max-width: 90%;
  max-height: 80vh;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 5px 10px;
}

@media (max-width: 600px) {
  .modal-inner {
    margin-top: 150px; /* extra padding for mobile */
  }
  .close {
    top: 5px;
    right: 5px;
    font-size: 32px;
  }
}



/* =========================
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; }
}


/* ================= MOBILE CSS================= */



/* ======================================================
MOBILE STYLES (Phones)
====================================================== */
@media (max-width:767px) {

/* ======================================================
GENERAL
====================================================== */

body{
overflow-x:hidden;
padding-bottom:80px;
}

.container{
max-width:100%;
padding:0 12px;
}

.section-title{
font-size:18px;
padding:0 12px;
}

.section-wrapper{
padding:15px 0;
}

/* ======================================================
HIDE DESKTOP ELEMENTS
====================================================== */

.main-header,
.navbar,
.top-bar{
display:none;
}

/* ======================================================
MOBILE HEADER
====================================================== */

.mobile-header{
display:flex;
align-items:center;
justify-content:space-between;
padding:12px 16px;
background:#fff;
border-bottom:1px solid #eee;
position:sticky;
top:0;
z-index: 999999;
transition:box-shadow .3s ease;
}

.mobile-header.scrolled{
box-shadow:0 3px 10px rgba(0,0,0,0.12);
}

.mobile-menu-btn{
  position:relative;
  z-index:9999999;
}

.mobile-menu-btn,
.mobile-search-trigger{
background:none;
border:none;
font-size:22px;
cursor:pointer;
}

.mobile-logo img{
height:38px;
width:auto;
object-fit:contain;
}

.mobile-cart{
position:relative;
font-size:22px;
}

.mobile-cart-count{
position:absolute;
top:-6px;
right:-8px;
background:#e60023;
color:#fff;
font-size:11px;
padding:2px 6px;
border-radius:50%;
font-weight:bold;
}

.mobile-search-panel {
  display: none;
}

.mobile-search-panel.active {
  display: block;
}

.mobile-search-panel{
  position: fixed;
  top: 65px; /* match your header height */
  left: 0;
  width: 95%;
  align-items: center;
  background: #fff;
  z-index: 99999; /* 🔥 very important */
  padding: 10px;
  border-top: 1px solid #eee;
}

.mobile-search-box {
  display: flex;
  width: 100%;
  position: relative;
}

.mobile-search-box input {
  width: 100%;           /* ✅ fill wrapper */
  padding: 10px;
  border: 1px solid #ddd;
  border-right: none;
  box-sizing: border-box; /* 🔥 critical */
}

.mobile-search-box button {
  flex-shrink: 0;        /* 🔥 stops shrinking */
  padding: 10px 15px;
  background: #c6a85b;
  color: #fff;
  border: none;
}

.mobile-search-input-wrapper {
  position: relative;   /* anchor for dropdown */
  flex: 1;              /* take full width in flex */
  min-width: 0;
}

#mobileSearchResults {
  position: absolute;
  top: 100%;   /* directly below input */
  left: 0;
  width: 100%; /* match input width */
  background: #fff;
  border: 1px solid #ddd;
  max-height: 300px;
  overflow-y: auto;
  z-index: 99999;
}


/* ==============================
SEARCH PAGE MOBILE
============================== */

/* FORCE proper grid */
.search-page .product-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr) !important;
    gap:8px !important;
}

/* 🔥 REMOVE FORCED HEIGHT */
.search-page .product-image{
    flex:0 0 auto;
}

/* 🔥 REMOVE ABSOLUTE POSITION */
.search-page .product-image img{
    position:static !important;
    width:100%;
    height:auto;
    display:block;
}

/* 🔥 REMOVE ANY FAKE HEIGHT TRICK */
.search-page .product-image::before,
.search-page .product-image::after{
    display:none !important;
    content:none !important;
}

/* 🔥 TIGHT CARD */
.search-page .product-card{
    padding:6px;
}

/* FIX title spacing */
.search-page .product-card h4{
    margin:4px 0 2px;   /* 🔥 reduce gap */
    font-size:14px;
    line-height:1.2;
}

/* compact text */
.search-page .weight{
    margin:0 0 2px;
}

.search-page .price{
    margin:2px 0;
}

/* button tighter */
.search-page .btn-outline{
    margin-top:4px;
    padding:5px;
    width:80%;
    font-size:14px;
}

/* No products */
.search-page p{
    font-size:14px;
}

/* Load more button */
#loadMoreBtn{
    width:90%;
    padding:12px;
    border:none;
    background:#000;
    color:#fff;
    border-radius:8px;
    font-size:14px;
}

/* Fix bottom spacing (for sticky nav/cart) */
.search-page{
    padding-bottom:100px;
}


/* ======================================================
MOBILE MENU
====================================================== */

.mobile-menu{
position:fixed;
top:0;
left:-100%;
width:80%;
height:100%;
background:#fff;
z-index:999999;
overflow-y:auto;
padding:20px;
transition:left .3s ease;
}

.mobile-menu.open{
left:0;
}

.mobile-menu-top{
display:flex;
justify-content:space-between;
align-items:center;
font-size:18px;
font-weight:600;
margin-bottom:20px;
}

.mobile-close{
background:none;
border:none;
font-size:24px;
cursor:pointer;
}

.mobile-menu-section{
margin-bottom:25px;
}

.mobile-menu-section h4{
font-size:16px;
font-weight:700;
margin-bottom:10px;
}

.mobile-menu-section a{
display:block;
padding:12px 0;
font-size:15px;
color:#333;
text-decoration:none;
border-bottom:1px solid #eee;
}

.mobile-cat-header{
display:flex;
justify-content:space-between;
align-items:center;
padding:12px 0;
border-bottom:1px solid #eee;
}

.mobile-cat-title{
font-weight:600;
text-decoration:none;
color:#333;
}

.mobile-toggle{
cursor:pointer;
font-size:14px;
transition:0.3s;
}

.mobile-category.active .mobile-toggle{
transform:rotate(180deg);
}

.mobile-subcats{
display:none;
padding-left:15px;
}

.mobile-subcats a{
display:block;
padding:8px 0;
font-size:14px;
color:#555;
text-decoration:none;
}

.mobile-subcategory {
  margin-bottom: 5px;
}

/* subcategory header */
.mobile-subcat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* child category list */
.mobile-childcats {
  display: none;
  padding-left: 15px;
  margin-top: 5px;
}

/* child links */
.mobile-childcats a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: #555;
}
/* ======================================================
MOBILE OVERLAY
====================================================== */

.mobile-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.4);
z-index:1000;
opacity:0;
pointer-events:none;
transition:opacity .3s ease;
}

.mobile-overlay.show{
opacity:1;
pointer-events:auto;
}
}

/* ======================================================
INDEX PAGE MOBILE STYLES
====================================================== */

@media (max-width: 767px) {
    .desktop-slider {
        display: none;
    }

    .mobile-slider {
        display: block;
    }

    .mobile-slider {
    aspect-ratio: 2 / 3;
    height: auto;
    padding: 0 10px;   /* 👈 gap left & right */
    box-sizing: border-box;
}

    /* Text styling */
    .index-page .hero-slider .slide-content h2 {
        font-size: 16px;
        padding: 8px;
        text-align: center;
    }

    /* Shop By Category */
    
    .index-page .categories,
    .index-page .exclusive-section {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    
    .index-page .categories {
        margin-top: 10px;   /* reduce gap */
        padding-top: 0;
    }
    
    .index-page .categories .category-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 10px;
    }

    .index-page .categories .category-card img {
        width: 100%;
        border-radius: 8px;
    }

    .index-page .categories .category-card h3 {
        font-size: 14px;
        margin-top: 6px;
        text-align: center;
    }

    /* Exclusive For You */
    

    /* MOBILE - FORCE 2 COLUMNS */

   
    .exclusive-section {
        margin-top: 0;
        padding-top: 0;
    }
    
    .exclusive-section .exclusive-grid{
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    padding:0 10px;
    }
    
    .exclusive-section .section-title{
    font-size:22px;
    }
    
    .exclusive-section .exclusive-card h4{
    font-size:14px;
    }
    
    .exclusive-section .price{
    font-size:14px;
    }
    
    .exclusive-section .btn-outline{
    font-size:13px;
    padding:6px 10px;
    }

   /* ======================================================
INSTAGRAM SLIDER
====================================================== */

.insta-slider-wrapper{
position:relative;
padding:10px 12px;
}

.instagram-slider{
display:flex;
gap:12px;
overflow-x:auto;
scroll-behavior:smooth;
}

.instagram-slider::-webkit-scrollbar{
display:none;
}

.insta-item{
min-width:160px;
aspect-ratio:1/2;
border-radius:10px;
overflow:hidden;
flex-shrink:0;
}

.insta-item video{
width:100%;
height:100%;
object-fit:cover;
}

.insta-arrow{
position:absolute;
top:50%;
transform:translateY(-50%);
background:#fff;
border:none;
font-size:22px;
width:36px;
height:36px;
border-radius:50%;
box-shadow:0 2px 6px rgba(0,0,0,0.2);
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
}

.insta-arrow.left{
left:5px;
}

.insta-arrow.right{
right:5px;
}

/* ======================================================
FOOTER
====================================================== */

.footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 15px;
}

.flex-between {
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.payment-icons {
    justify-content: center;
}

/* ======================================================
BOTTOM NAVIGATION
====================================================== */

.mobile-bottom-nav{
position:fixed;
bottom:0;
left:0;
width:100%;
background:#fff;
display:flex;
justify-content:space-around;
align-items:center;
padding:10px 0;
border-top:1px solid #eee;
z-index:9999;
}

.mobile-bottom-nav a{
display:flex;
flex-direction:column;
align-items:center;
font-size:12px;
color:#333;
text-decoration:none;
}

.mobile-bottom-nav i{
font-size:18px;
margin-bottom:3px;
}

.cart-badge{
position:absolute;
top:-5px;
right:-8px;
background:red;
color:#fff;
font-size:10px;
padding:2px 6px;
border-radius:50%;
}

/* ==============================
CATEGORY PAGE MOBILE
============================== */

.category-page{
display:flex;
gap:50px;
width:100%;
margin:auto;
padding-top:10px;
}

.subcategory-page{
display:flex;
gap:50px;
width:100%;
margin:auto;
padding-top:10px;
}

/* ==============================
FILTER PANEL
============================== */

.filters{
position:fixed;
top: 70px;
bottom:-100%;
left:0;
width:100%;
background:#fff;
border-top-left-radius:20px;
border-top-right-radius:20px;
box-shadow:0 -5px 20px rgba(0,0,0,0.15);
padding:20px;
z-index:9999;
transition:0.3s;
max-height:80vh;
overflow:auto;
}

.filters.open{
bottom:0;
}

.filters h3{
font-size:18px;
margin-bottom:15px;
}

.filter-group{
margin-bottom:15px;
}

.filter-group label{
display:block;
font-size:14px;
margin-bottom:6px;
font-weight:600;
}

.filter-group input,
.filter-group select{
width:100%;
padding:10px;
border:1px solid #ddd;
border-radius:6px;
font-size:14px;
}

.filter-inline{
display:flex;
gap:10px;
}

.filter-inline input{
flex:1;
}

/* ==============================
FILTER BUTTON BAR
============================== */

.product-topbar{
position:sticky;
top:60px;
background:#fff;
padding:5px 0;
z-index:50;
border-bottom:1px solid #eee;
flex-direction:column;
align-items:flex-start;
gap:2px;
}

.product-topbar select{
padding:6px 10px;
border-radius:6px;
border:1px solid #ddd;
font-size:13px;
}


/* ==============================
PRODUCT GRID
============================== */
@media (max-width:767px){
  .product-grid{
    grid-template-columns:repeat(2,1fr);
    gap:10px;
  }
}

.mobile-filter-btn{
    display:block;
    position:sticky;
    top:60px;
    width:90%;
    margin:8px auto;
    padding:12px;
    border:none;
    background: var( --secondary);
    color:#fff;
    font-size:16px;
    border-radius:6px;
    cursor:pointer;
   
}

.category-page{
    flex-direction:column;
}

.filters{
    display:none;
    position:fixed;
    top:60;
    left:0;
    width:80%;
    height:100%;
    background:#fff;
    z-index:9999;
    padding:20px;
    overflow:auto;
    box-shadow:0 0 15px rgba(0,0,0,0.2);
}

.filters.active{
    display:block;
}


.close-filter{
float:right;
border:none;
background:none;
font-size:22px;
cursor:pointer;
}

/* ===============================
PRODUCT PAGE BASE LAYOUT
=============================== */

.product-page{
    max-width:1200px;
    margin:auto;
    padding:20px;
}

/* ===============================
BREADCRUMB
=============================== */

.breadcrumb{
    font-size:14px;
    margin-bottom:20px;
    color:#666;
}

.breadcrumb a{
    color:#0FA4AF;
    text-decoration:none;
}

.breadcrumb span{
    color:#222;
}
/* ===============================
PRODUCT HERO SECTION
=============================== */

/* ===============================
MOBILE PRODUCT HERO
=============================== */

.product-hero{
    flex-direction:column;
    gap:20px;
    margin-bottom:40px;
}

/* gallery layout */

.product-page .product-gallery{
    display:flex;
    flex-direction:column;
    gap:15px;
}

/* main product image */

.product-page .product-image{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.product-page .product-image img{
    width:80%;
    max-height:280px;
    object-fit:contain;
}

/* thumbnails row */

.product-page .thumbnails{
    display:flex;
    flex-direction:row;
    gap:10px;
    overflow-x:auto;
    padding-bottom:5px;
}

/* hide scrollbar (optional) */

.product-page .thumbnails::-webkit-scrollbar{
    display:none;
}

.product-page .thumbnails img{
    width:100px;
    height:100px;
    flex-shrink:0;
    object-fit:cover;
    cursor:pointer;
}
/* main image first */
.product-page .product-image{
    order:1;
}

/* thumbnails second */
.product-page .thumbnails{
    order:2;
}

/* product info */

.product-info h1{
    font-size:20px;
}

.price{
    font-size:20px;
}

/* quantity */

.quantity-dropdown{
    width:auto;
}

/* buttons */

.btn-primary
{
    width:100%;
    margin-top:10px;
}

/* trust badges */

.trust-badges{
    flex-direction:column;
    gap:6px;
}
/* ===============================
STICKY CART (MOBILE ONLY)
=============================== */

.sticky-cart{
    display:flex;
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    height:60px;
    background:#fff;
    border-top:1px solid #ddd;
    padding:12px 16px;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    z-index:99999;
    box-sizing:border-box;
}

.sticky-cart-price{
    font-size:18px;
    font-weight:bold;
    color:#0FA4AF;
}

.sticky-cart button{
    flex-shrink:0;
    background:#0FA4AF;
    color:#fff;
    border:none;
    padding:10px 18px;
    border-radius:6px;
    font-size:14px;
    cursor:pointer;
}

/* ===============================
B2B CARD
=============================== */

.b2b-card{
    margin-top:25px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:15px;
    background:#fafafa;
}

/* ===============================
DESCRIPTION
=============================== */

.description-section{
    margin-top:25px;
}

.desc-toggle{
    background:none;
    border:none;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
}

.desc-content{
    margin-top:10px;
    display:none;
}

/* ===== Weight Range Horizontal Scroll ===== */

/* ===== Different Weight Products (Mobile) ===== */

.product-page .product-carousel{
    position:relative;
}

/* horizontal scroll */
.product-page .different-weight-products .product-grid{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding-bottom:10px;
}

.product-page .different-weight-products .product-grid::-webkit-scrollbar{
    display:none;
}

/* product card fix */
/* Product card */
.product-page .different-weight-products .product-card{
    min-width:170px;
    flex:0 0 auto;
    display:block;
    text-align:center;
}

/* image fix */
.product-page .different-weight-products .product-image{
    width:100%;
}

.product-page .different-weight-products .product-image img{
    width:100%;
    height:auto;
    display:block;
}

/* button fix */
.product-page .different-weight-products .btn-outline{
    font-size:11px;
    padding:5px 6px;
    margin-top:4px;
}

/* arrows */

.product-page .different-weight-products .carousel-arrow{
    position:absolute;
    top:40%;
    transform:translateY(-50%);
    width:32px;
    height:32px;
    border:none;
    background:#fff;
    border-radius:50%;
    box-shadow:0 2px 6px rgba(0,0,0,0.25);
    z-index:5;
}

.product-page .different-weight-products .carousel-arrow.left{
    left:-5px;
}

.product-page .different-weight-products .carousel-arrow.right{
    right:-5px;
}
/* ===== similar-products (Mobile) ===== */

/* horizontal scroll */
.product-page .similar-products .product-grid{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding-bottom:10px;
}

.product-page .similar-products .product-grid::-webkit-scrollbar{
    display:none;
}

/* product card fix */
/* Product card */
.product-page .similar-products .product-card{
    min-width:170px;
    flex:0 0 auto;
    display:block;
    text-align:center;
}

/* image fix */
.product-page .similar-products .product-image{
    width:100%;
}

.product-page .similar-products .product-image img{
    width:100%;
    height:auto;
    display:block;
}

/* button fix */
.product-page .similar-products .btn-outline{
    font-size:11px;
    padding:5px 6px;
    margin-top:4px;
}

/* arrows */

.product-page .similar-products .carousel-arrow{
    position:absolute;
    top:40%;
    transform:translateY(-50%);
    width:32px;
    height:32px;
    border:none;
    background:#fff;
    border-radius:50%;
    box-shadow:0 2px 6px rgba(0,0,0,0.25);
    z-index:5;
}

.product-page .similar-products .carousel-arrow.left{
    left:-5px;
}

.product-page .similar-products .carousel-arrow.right{
    right:-5px;
}

/* ===== Featured-products (Mobile) ===== */

/* horizontal scroll */
.product-page .featured-products .product-grid{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding-bottom:10px;
}

.product-page .featured-products .product-grid::-webkit-scrollbar{
    display:none;
}

/* product card fix */
/* Product card */
.product-page .featured-products .product-card{
    min-width:170px;
    flex:0 0 auto;
    display:block;
    text-align:center;
}

/* image fix */
.product-page .featured-products .product-image{
    width:100%;
}

.product-page .featured-products .product-image img{
    width:100%;
    height:auto;
    display:block;
}

/* button fix */
.product-page .featured-products .btn-outline{
    font-size:11px;
    padding:5px 6px;
    margin-top:4px;
}

/* arrows */

.product-page .featured-products .carousel-arrow{
    position:absolute;
    top:40%;
    transform:translateY(-50%);
    width:32px;
    height:32px;
    border:none;
    background:#fff;
    border-radius:50%;
    box-shadow:0 2px 6px rgba(0,0,0,0.25);
    z-index:5;
}

.product-page .featured-products .carousel-arrow.left{
    left:-5px;
}

.product-page .featured-products .carousel-arrow.right{
    right:-5px;
}    
}


/* ===============================
   CART PAGE - MOBILE
=============================== */

@media (max-width: 767px) {

  /* REMOVE ALL OUTER SPACE */
  body {
    margin: 0;
    padding: 0;
  }

  .cart-page {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* MAIN CONTAINER - FULL WIDTH */
  .cart-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px !important;
    box-sizing: border-box;
    display:flex;
    flex-direction: column;
  }
 
  /* REMOVE EXTRA GREY BACKGROUND GAP */
  .cart-items {
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
  }

  /* FIX TOP SPACING */
  .cart-header {
    margin: 5px 0 10px 0;
    text-align: center;
  }

  .cart-header h2 {
    font-size: 18px;
    margin: 0;
  }

  /* PRODUCT CARD */
  .cart-row {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  /* IMAGE */
  .col-image {
    display: flex;
    justify-content: flex-start; /* 🔥 LEFT ALIGN FIX */
  }

  .col-image img {
    width: 110px;
    height: auto;
    border-radius: 8px;
  }

  /* PRODUCT DETAILS */
  .col-product {
    text-align: left; /* 🔥 FIX */
    margin-top: 8px;
  }

  .col-product h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .col-product p {
    font-size: 13px;
    margin: 2px 0;
  }

  /* ACTIONS */
  .row-actions {
    display: flex;
    gap: 15px;
    margin-top: 6px;
  }

  .icon-btn {
    font-size: 13px;
    padding: 0;
  }

  /* PRICE */
  .col-price {
    margin-top: 6px;
    font-size: 14px;
  }

  /* QUANTITY */
  .col-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
  }

  .qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
  }

  .qty-input {
    width: 45px;
    text-align: center;
  }

  /* SUBTOTAL */
  .col-subtotal {
    margin-top: 6px;
    font-size: 14px;
  }

  .cart-total-line {
    display: flex;
    flex-direction: column;   /* 🔥 stack vertically */
    gap: 6px;
    font-size: 14px;
  }

  .cart-total-line .total-items,
  .cart-total-line .total-amount {
    display: block;
    width: 100%;
  }

  /* REMOVE HR GAP */
  hr {
    display: none;
  }

  /* INLINE TOTAL */
  .cart-total-line {
    margin-top: 10px;
    padding: 10px 0;
    font-size: 14px;
  }

  /* ===============================
     ORDER SUMMARY FIX
  =============================== */

  .cart-summary {
    width: 95%;
    margin: 10px auto 0 auto;
    padding: 12px;
    border-radius: 10px;
    background: #fff;

    /* 🔥 IMPORTANT FIX */
    position: static;   /* remove sticky causing overflow */
  }

  .cart-summary h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .summary-row {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .total-row {
    font-size: 15px;
    font-weight: bold;
  }

  /* BUTTON */
  .btn-checkout {
    width: 90%;
    padding: 12px;
    margin: 10px auto 0 auto; /* 👈 centers horizontally */
   display: block; /* 👈 required for margin auto to work */
    
  }

}

@media (max-width: 767px) {

  .cart-summary {
    position: sticky;
    bottom: 0;
    z-index: 100;
  }

}

/* ===========================
   Mobile Checkout Styles
=========================== */
@media (max-width: 767px) {
  .checkout-container {
    display: flex;
    flex-direction: column;   /* stack left + right */
    gap: 20px;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    overflow-x: hidden;       /* ✅ prevent horizontal scroll */
  }

  /* Left side (shipping + payment) */
  .checkout-items {
    width: 100%;
  }

  .checkout-card {
    padding: 15px;
    margin-bottom: 20px;
  }

  .checkout-form .form-row {
    flex-direction: column;   /* stack inputs */
    gap: 12px;
  }

  .checkout-form .form-group {
    width: 100%;
  }

  .checkout-form input {
    width: 93%;
    padding: 10px;
    font-size: 14px;
  }

  /* Payment options */
  .payment-options {
    flex-direction: column;
    gap: 12px;
  }

  .payment-box {
    flex-direction: row;
    justify-content: space-between;
    padding: 12px;
  }

  .payment-left {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .payment-title {
    font-size: 14px;
  }

  .payment-sub {
    font-size: 12px;
  }

  /* Right side summary */
  .checkout-summary {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    box-sizing: border-box;
  }

  .summary-row {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }

  .summary-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
  }

  .summary-details p {
    font-size: 13px;
    margin: 2px 0;
  }

  .summary-price {
    font-size: 14px;
    font-weight: 600;
  }

  .btn-place-order {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
  }

  /* Bottom mobile nav fix */
  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 8px 0;
    z-index: 1000;
  }

  .mobile-bottom-nav a {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #333;
    text-decoration: none;
  }

  .mobile-bottom-nav i {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
  }

  .cart-badge {
    position: absolute;
    top: 2px;
    right: 20%;
    background: red;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
  }
}

/* ============================= */
/* MOBILE RESPONSIVE CONTACT UI */
/* ============================= */

@media (max-width: 767px) {

  /* HERO SECTION */
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .hero-image img {
    width: 100%;
    max-width: 320px;
    margin-top: 20px;
  }

  /* CONTACT SECTION */
  .contact-section {
    flex-direction: column;
    margin-top: -60px;
    gap: 20px;
    padding: 0 15px 50px;
  }

  /* CARDS */
  .card {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
  }

  /* CONTACT INFO TEXT */
  .contact-info h3 {
    font-size: 16px;
  }

  .contact-info p {
    font-size: 13px;
  }

  /* SOCIAL ICONS */
  .social-links {
    text-align: center;
  }

  .social-links a {
    margin: 5px;
    padding: 8px;
  }

  /* FORM */
  .contact-form h2 {
    font-size: 20px;
    text-align: center;
  }

  .form-group label {
    font-size: 12px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 13px;
    padding: 8px;
  }

  .btn-submit {
    font-size: 14px;
    padding: 10px;
  }

  /* SUCCESS CARD */
  .success-card {
    font-size: 14px;
    padding: 15px;
  }
}
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 24px;
  }

  .card {
    padding: 15px;
  }

  .btn-submit {
    padding: 9px;
  }
}

/* ======================================================
RESPONSIVE HELPERS
====================================================== */



@media (max-width:767px){
.desktop-only{display:none!important;}
.mobile-only{display:flex!important;}
}

.desktop-slider { display:block; }
.mobile-slider { display:none; }

@media (max-width:768px){
  .desktop-slider { display:none; }
  .mobile-slider { display:block; }
}


/* ======================================================
TABLET CSS
====================================================== */

/* ============================================
   iPad 7th Generation CSS (Mobile View)
   10.2-inch display - Force Mobile Layout
   ============================================ */

@media (min-width: 768px) and (max-width: 1024px) {

  /* ===== MOBILE MENU STATES ===== */
  .mobile-menu {
    display: block !important;
    position: fixed;
    left: 0;
    top: 0;
    width: 85%;
    height: 100vh;
    background: white;
    z-index: 1001;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  }

  /* ✅ BOTH STATES */
  .mobile-menu.open,
  body.menu-open .mobile-menu {
    transform: translateX(0);
  }

  .mobile-overlay {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  /* ✅ BOTH STATES */
  .mobile-overlay.show,
  body.menu-open .mobile-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  /* ===== MOBILE HEADER ===== */
  .mobile-header {
    display: flex !important;
    position: sticky;
    top: 0;
    background: white;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 5px;
  }

  .mobile-logo img {
    height: 40px;
    width: auto;
  }

  .mobile-search-trigger,
  .mobile-cart {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    padding: 5px;
    position: relative;
  }

  .mobile-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #d4af37;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
  }

  /* ===== MOBILE SEARCH PANEL ===== */
  .mobile-search-panel {
    display: none !important;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    border-bottom: 1px solid #eee;
    z-index: 999;
  }

  .mobile-search-panel.active {
    display: block !important;
  }

  .mobile-search-box {
    display: flex;
    gap: 10px;
  }

  .mobile-search-input-wrapper {
    flex: 1;
    position: relative;
  }

  .mobile-search-box input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
  }

  .mobile-search-box button {
    background: #d4af37;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
  }

  #mobileSearchResults {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
  }

  .search-results .search-item {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
  }

  .search-results .search-item:hover {
    background: #f5f5f5;
  }

  /* ===== MOBILE MENU CONTENT ===== */
  .mobile-menu-top {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
  }

  .mobile-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
  }

  .mobile-menu-section {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
  }

  .mobile-menu-section a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all 0.2s;
  }

  .mobile-menu-section a:active {
    border-left-color: #d4af37;
    background: #f5f5f5;
    color: #d4af37;
  }

  .mobile-menu-section h4 {
    padding: 12px 15px;
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* ===== CATEGORIES IN MOBILE MENU ===== */
  .mobile-category {
    border-bottom: 1px solid #f0f0f0;
  }

  .mobile-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
  }

  .mobile-cat-title {
    flex: 1;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
  }

  .mobile-toggle {
    cursor: pointer;
    color: #999;
    font-size: 14px;
    padding: 5px 10px;
    transition: transform 0.2s;
  }

  .mobile-category.active .mobile-toggle i {
    transform: rotate(180deg);
  }

  .mobile-subcats {
    display: none;
    background: #f9f9f9;
  }

  .mobile-subcategory {
    border-bottom: 1px solid #e8e8e8;
  }

  .mobile-subcat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px 12px 15px;
  }

  .mobile-subcat-header a {
    flex: 1;
    text-decoration: none;
    color: #555;
    font-size: 13px;
  }

  .mobile-sub-toggle {
    cursor: pointer;
    color: #999;
    font-size: 12px;
    padding: 5px;
  }

  .mobile-childcats {
    display: none;
    background: #f0f0f0;
    padding: 10px 0;
  }

  .mobile-childcats a {
    display: block;
    padding: 10px 45px;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    border-left: 2px solid transparent;
  }

  .mobile-childcats a:active {
    border-left-color: #d4af37;
    color: #d4af37;
  }

  /* ===== HIDE DESKTOP ELEMENTS ===== */
  .sticky-header,
  .main-header,
  .navbar,
  .top-bar {
    display: none !important;
  }

  /* ===== MAIN CONTENT ===== */
  body {
    margin: 0;
    padding: 0;
  }

  .container {
    width: 100%;
    padding: 0;
    max-width: 100%;
    margin: 0;
  }

  /* ===== B2B BANNER ===== */
  .b2b-banner {
    background-color: #ffc107;
    padding: 12px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    color: #333;
    margin-top: 60px;
  }

  /* ===== HERO SECTION ===== */
  .hero-section {
    width: 100%;
    padding: 40px 15px;
    text-align: center;
    background: linear-gradient(135deg, #d4af37 0%, #f5f5dc 100%);
  }

  .hero-section h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .hero-section p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  /* ===== PRODUCT GRID (Single Column) ===== */
  .product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
  }

  .product-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
  }

  .product-card:active {
    transform: scale(0.98);
  }

  .product-image {
    height: 200px;
    overflow: hidden;
    background-color: #f9f9f9;
  }

  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .product-info {
    padding: 12px;
  }

  .product-name {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    line-height: 1.3;
  }

  .product-price {
    font-size: 15px;
    color: #d4af37;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .product-rating {
    font-size: 11px;
    color: #ffc107;
    margin-bottom: 8px;
  }

  .add-to-cart-btn {
    width: 100%;
    padding: 10px;
    background-color: #d4af37;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
  }

  .add-to-cart-btn:active {
    background-color: #b8941f;
  }

  /* ===== FOOTER ===== */
  footer {
    background-color: #2c2c2c;
    color: white;
    padding: 30px 15px;
    margin-top: 30px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-column h3 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-column ul li {
    margin-bottom: 6px;
  }

  .footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 12px;
  }

  .footer-column ul li a:active {
    color: #d4af37;
  }

  .footer-bottom {
    border-top: 1px solid #444;
    padding-top: 15px;
    text-align: center;
    font-size: 11px;
  }

  /* ===== CART PAGE ===== */
  .cart-table {
    width: 100%;
    border-collapse: collapse;
  }

  .cart-table th,
  .cart-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 12px;
  }

  .cart-table th {
    background-color: #f5f5f5;
    font-weight: 600;
  }

  .cart-table img {
    height: 50px;
    width: auto;
  }

  /* ===== FORMS ===== */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  textarea,
  select {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 12px;
    box-sizing: border-box;
    font-family: inherit;
  }

  input[type="text"]:focus,
  input[type="email"]:focus,
  input[type="password"]:focus,
  textarea:focus,
  select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  }

  /* ===== BUTTONS ===== */
  .purchase-plan-btn {
    background-color: #d4af37;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    display: inline-block;
  }

  .purchase-plan-btn:active {
    background-color: #b8941f;
  }

  /* ===== MINI CART ===== */
  #mini-cart-box {
    display: none;
  }

  /* ===== HIDE DESKTOP NAV ===== */
  .login-dropdown,
  .dropdown,
  .mega-menu,
  .cart-preview-box {
    display: none !important;
  }

  /* ===== SPACING & TYPOGRAPHY ===== */
  h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1.3;
  }

  p {
    margin: 0;
    line-height: 1.4;
  }

  /* ===== LANDSCAPE MODE (iPad 7 Landscape) ===== */
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

  .mobile-header {
    padding: 10px 15px;
  }

  .mobile-logo img {
    height: 35px;
  }

  .b2b-banner {
    padding: 10px 15px;
    font-size: 12px;
  }

  .hero-section {
    padding: 30px 15px;
  }

  .hero-section h1 {
    font-size: 22px;
  }

  .hero-section p {
    font-size: 13px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 15px;
  }

  .product-image {
    height: 180px;
  }

  .product-info {
    padding: 10px;
  }

  .product-name {
    font-size: 12px;
  }

  .product-price {
    font-size: 14px;
  }

  footer {
    padding: 20px 15px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

}

/* ===== HIDE SCROLLBAR ANIMATION ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ======================================================
INDEX PAGE MOBILE STYLES
====================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
    .desktop-slider {
        display: none;
    }

    .mobile-slider {
        display: block;
    }

    /* Force 2:1 ratio */
    .mobile-slider {
        aspect-ratio: 2 / 1;
        height: auto;
    }

    /* Text styling */
    .index-page .hero-slider .slide-content h2 {
        font-size: 16px;
        padding: 8px;
        text-align: center;
    }

    /* Shop By Category */
    
    .index-page .categories,
    .index-page .exclusive-section {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    
    .index-page .categories {
        margin-top: 10px;   /* reduce gap */
        padding-top: 0;
    }
    
    .index-page .categories .category-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 10px;
    }

    .index-page .categories .category-card img {
        width: 100%;
        border-radius: 8px;
    }

    .index-page .categories .category-card h3 {
        font-size: 14px;
        margin-top: 6px;
        text-align: center;
    }

    /* Exclusive For You */
    

    /* MOBILE - FORCE 2 COLUMNS */

   
    .exclusive-section {
        margin-top: 0;
        padding-top: 0;
    }
    
    .exclusive-section .exclusive-grid{
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    padding:0 10px;
    }
    
    .exclusive-section .section-title{
    font-size:22px;
    }
    
    .exclusive-section .exclusive-card h4{
    font-size:14px;
    }
    
    .exclusive-section .price{
    font-size:14px;
    }
    
    .exclusive-section .btn-outline{
    font-size:13px;
    padding:6px 10px;
    }

   /* ======================================================
INSTAGRAM SLIDER
====================================================== */

.insta-slider-wrapper{
position:relative;
padding:10px 12px;
}

.instagram-slider{
display:flex;
gap:12px;
overflow-x:auto;
scroll-behavior:smooth;
}

.instagram-slider::-webkit-scrollbar{
display:none;
}

.insta-item{
min-width:160px;
aspect-ratio:1/2;
border-radius:10px;
overflow:hidden;
flex-shrink:0;
}

.insta-item video{
width:100%;
height:100%;
object-fit:cover;
}

.insta-arrow{
position:absolute;
top:50%;
transform:translateY(-50%);
background:#fff;
border:none;
font-size:22px;
width:36px;
height:36px;
border-radius:50%;
box-shadow:0 2px 6px rgba(0,0,0,0.2);
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
}

.insta-arrow.left{
left:5px;
}

.insta-arrow.right{
right:5px;
}

/* ======================================================
FOOTER
====================================================== */

.footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 15px;
}

.flex-between {
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.payment-icons {
    justify-content: center;
}

/* ======================================================
BOTTOM NAVIGATION
====================================================== */

.mobile-bottom-nav{
position:fixed;
bottom:0;
left:0;
width:100%;
background:#fff;
display:flex;
justify-content:space-around;
align-items:center;
padding:10px 0;
border-top:1px solid #eee;
z-index:9999;
}

.mobile-bottom-nav a{
display:flex;
flex-direction:column;
align-items:center;
font-size:12px;
color:#333;
text-decoration:none;
}

.mobile-bottom-nav i{
font-size:18px;
margin-bottom:3px;
}

.cart-badge{
position:absolute;
top:-5px;
right:-8px;
background:red;
color:#fff;
font-size:10px;
padding:2px 6px;
border-radius:50%;
}

/* ==============================
CATEGORY PAGE MOBILE
============================== */

.category-page{
display:flex;
gap:50px;
width:100%;
margin:auto;
padding-top:10px;
}

.subcategory-page{
display:flex;
gap:50px;
width:100%;
margin:auto;
padding-top:10px;
}

/* ==============================
FILTER PANEL
============================== */

/* ==============================
FILTER PANEL - FIXED
============================== */

.filters {
  position: fixed;
  top: 70px;
  left: 0;
  width: 80%;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  padding: 60px 20px 20px 20px;
  z-index: 9999;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

/* ✅ OPEN STATE */
.filters.active,
.filters.open {
  transform: translateX(0);
}

.filters h3 {
  font-size: 18px;
  margin-bottom: 15px;
  margin-top: 0;
}

.filter-group {
  margin-bottom: 15px;
}

.filter-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 600;
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

.filter-inline {
  display: flex;
  gap: 10px;
}

.filter-inline input {
  flex: 1;
}

/* ✅ CLOSE BUTTON - FIXED & VISIBLE */
.close-filter {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  z-index: 10001;
  color: #333;
  padding: 5px 10px;
  display: block !important;
  visibility: visible !important;
}

.close-filter:hover {
  color: #000;
  transform: scale(1.2);
}

.close-filter i {
  pointer-events: none;
}

/* ==============================
FILTER BUTTON BAR
============================== */

.product-topbar {
  position: sticky;
  top: 60px;
  background: #fff;
  padding: 5px 15px;
  z-index: 50;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.product-topbar select {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 13px;
}

/* ==============================
MOBILE FILTER BUTTON
============================== */

.mobile-filter-btn {
  display: block;
  position: sticky;
  top: 60px;
  width: 90%;
  margin: 8px auto;
  padding: 12px;
  border: none;
  background: var(--secondary, #c6a85b);
  color: #fff;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  z-index: 49;
}

.mobile-filter-btn:active {
  opacity: 0.8;
}

/* ==============================
PRODUCT GRID
============================== */

.product-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* ==============================
CATEGORY PAGE
============================== */

.category-page {
  flex-direction: column;
}
/* ===============================
PRODUCT PAGE BASE LAYOUT
=============================== */

.product-page{
    max-width:1200px;
    margin:auto;
    padding:20px;
}

/* ===============================
BREADCRUMB
=============================== */

.breadcrumb{
    font-size:14px;
    margin-bottom:20px;
    color:#666;
}

.breadcrumb a{
    color:#0FA4AF;
    text-decoration:none;
}

.breadcrumb span{
    color:#222;
}
/* ===============================
PRODUCT HERO SECTION
=============================== */

/* ===============================
MOBILE PRODUCT HERO
=============================== */

.product-hero{
    flex-direction:column;
    gap:20px;
    margin-bottom:40px;
}

/* gallery layout */

.product-page .product-gallery{
    display:flex;
    flex-direction:column;
    gap:15px;
}

/* main product image */

.product-page .product-image{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.product-page .product-image img{
    width:80%;
    max-height:280px;
    object-fit:contain;
}

/* thumbnails row */

.product-page .thumbnails{
    display:flex;
    flex-direction:row;
    gap:10px;
    overflow-x:auto;
    padding-bottom:5px;
}

/* hide scrollbar (optional) */

.product-page .thumbnails::-webkit-scrollbar{
    display:none;
}

.product-page .thumbnails img{
    width:100px;
    height:100px;
    flex-shrink:0;
    object-fit:cover;
    cursor:pointer;
}
/* main image first */
.product-page .product-image{
    order:1;
}

/* thumbnails second */
.product-page .thumbnails{
    order:2;
}

/* product info */

.product-info h1{
    font-size:20px;
}

.price{
    font-size:20px;
}

/* quantity */

.quantity-dropdown{
    width:auto;
}

/* buttons */

.btn-primary
{
    width:100%;
    margin-top:10px;
}

/* trust badges */

.trust-badges{
    flex-direction:column;
    gap:6px;
}
/* ===============================
STICKY CART (MOBILE ONLY)
=============================== */

.sticky-cart{
    display:flex;
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    height:60px;
    background:#fff;
    border-top:1px solid #ddd;
    padding:12px 16px;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    z-index:99999;
    box-sizing:border-box;
}

.sticky-cart-price{
    font-size:18px;
    font-weight:bold;
    color:#0FA4AF;
}

.sticky-cart button{
    flex-shrink:0;
    background:#0FA4AF;
    color:#fff;
    border:none;
    padding:10px 18px;
    border-radius:6px;
    font-size:14px;
    cursor:pointer;
}

/* ===============================
B2B CARD
=============================== */

.b2b-card{
    margin-top:25px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:15px;
    background:#fafafa;
}

/* ===============================
DESCRIPTION
=============================== */

.description-section{
    margin-top:25px;
}

.desc-toggle{
    background:none;
    border:none;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
}

.desc-content{
    margin-top:10px;
    display:none;
}

/* ===== Weight Range Horizontal Scroll ===== */

/* ===== Different Weight Products (Mobile) ===== */

.product-page .product-carousel{
    position:relative;
}

/* horizontal scroll */
.product-page .different-weight-products .product-grid{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding-bottom:10px;
}

.product-page .different-weight-products .product-grid::-webkit-scrollbar{
    display:none;
}

/* product card fix */
/* Product card */
.product-page .different-weight-products .product-card{
    min-width:170px;
    flex:0 0 auto;
    display:block;
    text-align:center;
}

/* image fix */
.product-page .different-weight-products .product-image{
    width:100%;
}

.product-page .different-weight-products .product-image img{
    width:100%;
    height:auto;
    display:block;
}

/* button fix */
.product-page .different-weight-products .btn-outline{
    font-size:11px;
    padding:5px 6px;
    margin-top:4px;
}

/* arrows */

.product-page .different-weight-products .carousel-arrow{
    position:absolute;
    top:40%;
    transform:translateY(-50%);
    width:32px;
    height:32px;
    border:none;
    background:#fff;
    border-radius:50%;
    box-shadow:0 2px 6px rgba(0,0,0,0.25);
    z-index:5;
}

.product-page .different-weight-products .carousel-arrow.left{
    left:-5px;
}

.product-page .different-weight-products .carousel-arrow.right{
    right:-5px;
}
/* ===== similar-products (Mobile) ===== */

/* horizontal scroll */
.product-page .similar-products .product-grid{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding-bottom:10px;
}

.product-page .similar-products .product-grid::-webkit-scrollbar{
    display:none;
}

/* product card fix */
/* Product card */
.product-page .similar-products .product-card{
    min-width:170px;
    flex:0 0 auto;
    display:block;
    text-align:center;
}

/* image fix */
.product-page .similar-products .product-image{
    width:100%;
}

.product-page .similar-products .product-image img{
    width:100%;
    height:auto;
    display:block;
}

/* button fix */
.product-page .similar-products .btn-outline{
    font-size:11px;
    padding:5px 6px;
    margin-top:4px;
}

/* arrows */

.product-page .similar-products .carousel-arrow{
    position:absolute;
    top:40%;
    transform:translateY(-50%);
    width:32px;
    height:32px;
    border:none;
    background:#fff;
    border-radius:50%;
    box-shadow:0 2px 6px rgba(0,0,0,0.25);
    z-index:5;
}

.product-page .similar-products .carousel-arrow.left{
    left:-5px;
}

.product-page .similar-products .carousel-arrow.right{
    right:-5px;
}

/* ===== Featured-products (Mobile) ===== */

/* horizontal scroll */
.product-page .featured-products .product-grid{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding-bottom:10px;
}

.product-page .featured-products .product-grid::-webkit-scrollbar{
    display:none;
}

/* product card fix */
/* Product card */
.product-page .featured-products .product-card{
    min-width:170px;
    flex:0 0 auto;
    display:block;
    text-align:center;
}

/* image fix */
.product-page .featured-products .product-image{
    width:100%;
}

.product-page .featured-products .product-image img{
    width:100%;
    height:auto;
    display:block;
}

/* button fix */
.product-page .featured-products .btn-outline{
    font-size:11px;
    padding:5px 6px;
    margin-top:4px;
}

/* arrows */

.product-page .featured-products .carousel-arrow{
    position:absolute;
    top:40%;
    transform:translateY(-50%);
    width:32px;
    height:32px;
    border:none;
    background:#fff;
    border-radius:50%;
    box-shadow:0 2px 6px rgba(0,0,0,0.25);
    z-index:5;
}

.product-page .featured-products .carousel-arrow.left{
    left:-5px;
}

.product-page .featured-products .carousel-arrow.right{
    right:-5px;
}    
}


/* ===============================
   CART PAGE - MOBILE
=============================== */

@media (min-width: 768px) and (max-width: 1024px) {

  /* REMOVE ALL OUTER SPACE */
  body {
    margin: 0;
    padding: 0;
  }

  .cart-page {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* MAIN CONTAINER - FULL WIDTH */
  .cart-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px !important;
    box-sizing: border-box;
    display:flex;
    flex-direction: column;
  }
 
  /* REMOVE EXTRA GREY BACKGROUND GAP */
  .cart-items {
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
  }

  /* FIX TOP SPACING */
  .cart-header {
    margin: 5px 0 10px 0;
    text-align: center;
  }

  .cart-header h2 {
    font-size: 18px;
    margin: 0;
  }

  /* PRODUCT CARD */
  .cart-row {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  /* IMAGE */
  .col-image {
    display: flex;
    justify-content: flex-start; /* 🔥 LEFT ALIGN FIX */
  }

  .col-image img {
    width: 110px;
    height: auto;
    border-radius: 8px;
  }

  /* PRODUCT DETAILS */
  .col-product {
    text-align: left; /* 🔥 FIX */
    margin-top: 8px;
  }

  .col-product h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .col-product p {
    font-size: 13px;
    margin: 2px 0;
  }

  /* ACTIONS */
  .row-actions {
    display: flex;
    gap: 15px;
    margin-top: 6px;
  }

  .icon-btn {
    font-size: 13px;
    padding: 0;
  }

  /* PRICE */
  .col-price {
    margin-top: 6px;
    font-size: 14px;
  }

  /* QUANTITY */
  .col-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
  }

  .qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
  }

  .qty-input {
    width: 45px;
    text-align: center;
  }

  /* SUBTOTAL */
  .col-subtotal {
    margin-top: 6px;
    font-size: 14px;
  }

  .cart-total-line {
    display: flex;
    flex-direction: column;   /* 🔥 stack vertically */
    gap: 6px;
    font-size: 14px;
  }

  .cart-total-line .total-items,
  .cart-total-line .total-amount {
    display: block;
    width: 100%;
  }

  /* REMOVE HR GAP */
  hr {
    display: none;
  }

  /* INLINE TOTAL */
  .cart-total-line {
    margin-top: 10px;
    padding: 10px 0;
    font-size: 14px;
  }

  /* ===============================
     ORDER SUMMARY FIX
  =============================== */

  .cart-summary {
    width: 95%;
    margin: 10px auto 0 auto;
    padding: 12px;
    border-radius: 10px;
    background: #fff;

    /* 🔥 IMPORTANT FIX */
    position: static;   /* remove sticky causing overflow */
  }

  .cart-summary h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .summary-row {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .total-row {
    font-size: 15px;
    font-weight: bold;
  }

  /* BUTTON */
  .btn-checkout {
    width: 90%;
    padding: 12px;
    margin: 10px auto 0 auto; /* 👈 centers horizontally */
   display: block; /* 👈 required for margin auto to work */
    
  }

}

@media (min-width: 768px) and (max-width: 1024px) {

  .cart-summary {
    position: sticky;
    bottom: 0;
    z-index: 100;
  }

}

/* ===========================
   Mobile Checkout Styles
=========================== */
@media (min-width: 768px) and (max-width: 1024px) {
  .checkout-container {
    display: flex;
    flex-direction: column;   /* stack left + right */
    gap: 20px;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    overflow-x: hidden;       /* ✅ prevent horizontal scroll */
  }

  /* Left side (shipping + payment) */
  .checkout-items {
    width: 100%;
  }

  .checkout-card {
    padding: 15px;
    margin-bottom: 20px;
  }

  .checkout-form .form-row {
    flex-direction: column;   /* stack inputs */
    gap: 12px;
  }

  .checkout-form .form-group {
    width: 100%;
  }

  .checkout-form input {
    width: 93%;
    padding: 10px;
    font-size: 14px;
  }

  /* Payment options */
  .payment-options {
    flex-direction: column;
    gap: 12px;
  }

  .payment-box {
    flex-direction: row;
    justify-content: space-between;
    padding: 12px;
  }

  .payment-left {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .payment-title {
    font-size: 14px;
  }

  .payment-sub {
    font-size: 12px;
  }

  /* Right side summary */
  .checkout-summary {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    box-sizing: border-box;
  }

  .summary-row {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }

  .summary-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
  }

  .summary-details p {
    font-size: 13px;
    margin: 2px 0;
  }

  .summary-price {
    font-size: 14px;
    font-weight: 600;
  }

  .btn-place-order {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
  }

  /* Bottom mobile nav fix */
  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 8px 0;
    z-index: 1000;
  }

  .mobile-bottom-nav a {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #333;
    text-decoration: none;
  }

  .mobile-bottom-nav i {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
  }

  .cart-badge {
    position: absolute;
    top: 2px;
    right: 20%;
    background: red;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
  }
}

/* ============================= */
/* MOBILE RESPONSIVE CONTACT UI */
/* ============================= */

@media (min-width: 768px) and (max-width: 1024px) {

  /* HERO SECTION */
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .hero-image img {
    width: 100%;
    max-width: 320px;
    margin-top: 20px;
  }

  /* CONTACT SECTION */
  .contact-section {
    flex-direction: column;
    margin-top: -60px;
    gap: 20px;
    padding: 0 15px 50px;
  }

  /* CARDS */
  .card {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
  }

  /* CONTACT INFO TEXT */
  .contact-info h3 {
    font-size: 16px;
  }

  .contact-info p {
    font-size: 13px;
  }

  /* SOCIAL ICONS */
  .social-links {
    text-align: center;
  }

  .social-links a {
    margin: 5px;
    padding: 8px;
  }

  /* FORM */
  .contact-form h2 {
    font-size: 20px;
    text-align: center;
  }

  .form-group label {
    font-size: 12px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 13px;
    padding: 8px;
  }

  .btn-submit {
    font-size: 14px;
    padding: 10px;
  }

  /* SUCCESS CARD */
  .success-card {
    font-size: 14px;
    padding: 15px;
  }
}
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 24px;
  }

  .card {
    padding: 15px;
  }

  .btn-submit {
    padding: 9px;
  }
}
