:root {
  --color-primary: #B8004A;       /* Royal Rose */
  --color-secondary: #5A0F3E;     /* Deep Plum */
  --color-accent-soft: #FFD9C8;   /* Soft Peach */
  --color-accent-gold: #E3B448;   /* Gold Tint */
  --color-bg-light: #e5a4aa;      /* Blush Cream */
  --color-text-dark: #2E2A2A;     /* Charcoal Brown */
  --color-white: #ffffff;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;   
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  scroll-behavior: smooth;
  background-color: var(--color-accent-soft);
}

/* Headings */
h1, h2, h5 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 800;
  text-transform: capitalize;
  letter-spacing: 1px;
}

/* Navbar */
.custom-navbar {
  background-color: var(--color-secondary);
  min-height: 58px;        /* ⬅ allows logo to breathe */
  padding-top: 0px;
  padding-bottom: 3px;
}
.custom-navbar .navbar-brand {
  font-family: var(--font-heading);
  color: var(--color-white);
}
.custom-navbar .nav-link {
  color: var(--color-white);
  transition: color 0.3s;
  font-weight: 800;
  text-transform: capitalize;
}
.custom-navbar .nav-link:hover {
  color: var(--color-accent-gold);
}
.custom-navbar .btn-outline-light {
  border-color: var(--color-white);
  color: var(--color-white);
}
.custom-navbar .btn-outline-light:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

/* Hero / Carousel */
.hero .carousel-caption {
  background: rgba(0,0,0,0.4);
  padding: 20px;
  border-radius: 8px;
}
.hero .carousel-caption h1 {
  color: var(--color-white);
  font-size: 2.5rem;
}
.hero .carousel-caption p {
  color: var(--color-accent-soft);
}
.hero .btn-primary {
  background-color: var(--color-primary);
  border: none;
}
.hero .btn-primary:hover {
  background-color: var(--color-secondary);
}

/* Sections */
.section-bg {
  background-color: var(--color-bg-light);
}

/* Product Cards */
.product-card {
  border: 1px solid var(--color-accent-soft);
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.product-card .card-title {
  color: var(--color-primary);
  font-weight: bold;
}
.product-card .price {
  color: var(--color-secondary);
  font-weight: 800;
}
.product-card .btn-primary {
  background-color: var(--color-primary);
  border: none;
}
.product-card .btn-primary:hover {
  background-color: var(--color-secondary);
}

/* Testimonials */
#testimonials {
  text-align: center;
}
#testimonials h2 {
  color: var(--color-primary);
}
#testimonials blockquote {
  font-style: italic;
  color: var(--color-text-dark);
}
#testimonials .blockquote-footer {
  color: var(--color-secondary);
}

/* Footer */
.footer {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 40px 0;
}
.footer h5 {
  color: var(--color-accent-gold);
  font-family: var(--font-heading);
}
.footer a {
  color: var(--color-accent-soft);
  text-decoration: none;
}
.footer a:hover {
  color: var(--color-white);
}
.footer hr {
  border-top: 1px solid var(--color-accent-soft);
}
.footer .small a {
  color: var(--color-accent-soft);
}
.footer .small a:hover {
  color: var(--color-white);
}

/* --- 3 Frame Layout --- */
.three-frame-slider {
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 40px 0;
}

/* --- Base Slide Frame --- */
.slide-frame {
    width: 28%;
    height: 360px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    position: relative;
    border: 5px solid transparent;
}

/* Images */
.vertical-slider img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

/* Pause on hover all frames */
.slide-frame:hover .vertical-slider {
    animation-play-state: paused;
}

/* -------------------------------------
   ANIMATION KEYFRAMES FOR IMAGE MOVEMENT
-------------------------------------- */

/* Upward slide (Frame 1) */
@keyframes slideUp {
    0%   { transform: translateY(0); }
    33%  { transform: translateY(-360px); }
    66%  { transform: translateY(-720px); }
    100% { transform: translateY(0); }
}

/* Downward slide (Frame 2) */
@keyframes slideDown {
    0%   { transform: translateY(-720px); }
    33%  { transform: translateY(-360px); }
    66%  { transform: translateY(0); }
    100% { transform: translateY(-720px); }
}

/* Bounce Up–Down (Frame 3) */
@keyframes bounceUpDown {
    0%   { transform: translateY(0); }            /* Image 1 */
    20%  { transform: translateY(-360px); }       /* Image 2 */
    40%  { transform: translateY(-720px); }       /* Image 3 */
    60%  { transform: translateY(-360px); }       /* Back to Image 2 */
    80%  { transform: translateY(0); }            /* Back to Image 1 */
    100% { transform: translateY(0); }
}

/* -------------------------------------
   DIFFERENT TIMINGS + DIFFERENT MOTIONS
-------------------------------------- */

/* Frame 1: Up */
.slide-frame:nth-child(1) .vertical-slider {
    position: absolute;
    width: 100%;
    animation: slideUp 9s ease-in-out infinite;
}

/* Frame 2: Down */
.slide-frame:nth-child(2) .vertical-slider {
    position: absolute;
    width: 100%;
    animation: slideDown 11s ease-in-out infinite;
}

/* Frame 3: Bounce */
.slide-frame:nth-child(3) .vertical-slider {
    position: absolute;
    width: 100%;
    animation: bounceUpDown 13s ease-in-out infinite;
}
#products .product-card img {
    width: 100%;
    height: 320px;          /* set same height for all */
    object-fit: cover;      /* crop equally, looks professional */
    border-radius: 10px 10px 0 0;
}

/* -------------------------------------
   BORDER ANIMATIONS (Different per frame)
-------------------------------------- */

/* Frame 1 border: Red Glow */
.slide-frame:nth-child(1) {
    animation: glowRed 3s infinite alternate;
}

@keyframes glowRed {
    0% { border-color: #B8004A; box-shadow: 0 0 10px #B8004A; }
    100% { border-color: #ff7597; box-shadow: 0 0 18px #ff7597; }
}

/* Frame 2 border: Gold Pulse */
.slide-frame:nth-child(2) {
    animation: glowGold 4s infinite alternate;
}

@keyframes glowGold {
    0% { border-color: #E3B448; box-shadow: 0 0 12px #E3B448; }
    100% { border-color: #fff4c2; box-shadow: 0 0 22px #fff4c2; }
}

/* Frame 3 border: Dual Color */
.slide-frame:nth-child(3) {
    animation: glowDual 5s infinite alternate;
}

@keyframes glowDual {
    0% { border-color: #B8004A; box-shadow: 0 0 12px #B8004A; }
    50% { border-color: #E3B448; box-shadow: 0 0 18px #E3B448; }
    100% { border-color: #5A0F3E; box-shadow: 0 0 25px #5A0F3E; }
}

/* Responsive */
@media (max-width: 992px) {
    .three-frame-slider {
        flex-direction: column;
        align-items: center;
    }
    .slide-frame {
        width: 90%;
    }
}
/* GRID: SIDEBAR LEFT | PRODUCTS RIGHT */
.listing-grid {
    display: grid;
    grid-template-columns: 280px 1fr;   /* left sidebar 280px | right auto */
    gap: 30px;
    align-items: start;
}

/* Sidebar */
.sidebar {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 12px;
}

/* Product area */
.product-grid-area {
    width: 100%;
}

/* Product grid */
.product-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    align-items: start;
}
.product-card-listing {
    position: relative;
    height: auto;
    background: #fff;
    padding-bottom: 15px;
    border-radius: 10px;
}
.product-card-listing img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}


/* Mobile responsive */
@media (max-width: 768px) {
    .listing-grid {
        grid-template-columns: 1fr; /* filter comes on top for mobile */
    }

    .sidebar {
        order: 1;
    }

    .product-grid-area {
        order: 2;
    }
}
/* ======= PAGE HEADER ======= */
.listing-page-header {
    background: linear-gradient(135deg, #B8004A, #5A0F3E);
    padding: 70px 0;
    color: #fff;
    text-align: center;
    border-radius: 0 0 30px 30px;
}

.listing-page-header h1 {
    font-size: 2.8rem;
    font-family: var(--font-heading);
}

/* ======= GRID LAYOUT ======= */
.main-listing-content {
    padding: 50px 0;
}

.listing-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* ======= FILTER SECTION ======= */
.sidebar {
    background: rgba(255,255,255,0.55);
    /* backdrop-filter: blur(12px); */
    border: 1px solid rgba(255,255,255,0.4);
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.sidebar h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 20px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 1rem;
    color: var(--color-secondary);
    margin-bottom: 10px;
    font-weight: 600;
}

.filter-group ul li {
    list-style: none;
    margin: 6px 0;
}

.filter-group ul li a {
    color: var(--color-primary);
    text-decoration: none;
}

.filter-group ul li a:hover {
    text-decoration: underline;
}

.swatch-small {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* ======= SORT BAR ======= */
.sort-bar {
   
    display: flex;
    align-items: center;
}

.sort-dropdown {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* ======= PRODUCT GRID ======= */
.product-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 25px;
}

.product-card-listing {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card-listing:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.product-card-listing img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.card-info {
    padding: 15px;
    text-align: center;
}

.product-title-listing {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.1rem;
}

.product-price-listing {
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-top: 5px;
    font-weight: 900;
}
.product-link {
    text-decoration: none !important;
}

.product-link:hover {
    text-decoration: none !important;
}


/* Quick Add Button */
.btn-quick-add {
    width: 100%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 0 0 16px 16px;
    transition: 0.3s;
}

.btn-quick-add:hover {
    background: var(--color-secondary);
}
/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.pagination a {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    color: #333;
    transition: 0.3s;
}

.pagination a:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.pagination .active-page {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 900px) {
    .listing-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   RESPONSIVE LISTING PAGE
   ========================= */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {

    .listing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sidebar {
        width: 100%;
    }

    .sort-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .product-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pagination {
        gap: 8px;
    }

    .pagination a {
        padding: 6px 10px;
        font-size: 14px;
    }
}

/* Mobile (max-width: 600px) */
@media (max-width: 600px) {

    .product-list-grid {
        grid-template-columns: 1fr;
    }

    .product-card-listing img {
        height: auto;
        width: 100%;
    }

    .sort-bar {
        width: 100%;
        justify-content: space-between;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 6px;
    }

    .pagination a {
        padding: 6px 8px;
        font-size: 13px;
    }
}

/* Extra small phones (max-width: 420px) */
@media (max-width: 420px) {

    .listing-page-header h1 {
        font-size: 22px;
    }

    .product-title-listing {
        font-size: 14px;
    }

    .product-price-listing {
        font-size: 14px;
    }

    .btn-quick-add {
        font-size: 13px;
        padding: 6px 10px;
    }
}

/* Icon-only buttons */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;   /* slightly bigger for better alignment */
  padding: 0.5rem;     
  border: none;
  background: none;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

/* Hover effect */
.icon-btn:hover i {
  color: #FFD700 !important;          /* change icon color on hover, example gold */
  transform: scale(1.2);   /* subtle zoom effect */
}

/* Optional: mobile adjustments */
@media (max-width: 768px) {
  .icon-btn {
    font-size: 1rem;
    padding: 0.4rem;
  }
}

/* Search form hidden by default */
.navbar-search {
  display: flex;
  align-items: center;
  width: 0;
  overflow: hidden;
  transition: width 0.4s ease, padding 0.4s ease;
  border-radius: 5px;
  border: 1px solid var(--color-primary);
  background: #fff;
  position: relative;
}

/* Input styling */
.navbar-search input {
  border: none;
  padding: 0.5rem 0.7rem;
  font-size: 1rem;
  outline: none;
  flex: 1;
}

/* Submit button */
.navbar-search button {
  background: var(--color-primary);
  border: none;
  padding: 0.5rem 0.8rem;
  color: #fff;
  cursor: pointer;
  border-radius: 0 5px 5px 0;
}

/* Active class expands the search */
.navbar-search.active {
  width: 250px; /* adjust width as needed */
  padding: 0 0.3rem;
}

/* Search toggle button */
.search-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 0.5rem;
}
.search-toggle::before {
  content: "\f002"; /* FontAwesome search icon unicode */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #fff;
}
button.search-toggle:hover{
 color: #FFD700 !important;  
transform: scale(1.2);
}
.navbar-search button::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
   color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .navbar-search.active {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .navbar-search.active {
    width: 150px;
  }
}

@media (max-width: 480px) {
  .navbar-search.active {
    width: 120px;
  }
}
/* Basic layout */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.menu-item {
  position: relative;
}

.menu-item a {
  text-decoration: none;
  font-weight: 600;
  padding: 10px;
  display: inline-block;
  color: #fff;
}

/* Dropdown container */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  display: none;
  padding: 12px 0;
  border-radius: 6px;
  box-shadow: 0px 5px 25px rgba(0,0,0,0.15);
  z-index: 100;
    transition: all 0.3s ease-in-out;
}

/* Dropdown links */
.dropdown li {
  list-style: none;
}

.dropdown li a {
  display: block;
  padding: 12px 18px;
  font-size: 15px;
  color: #555;
  transition: 0.25s;
}

.dropdown li a:hover {
  background: #f2f2f2;
  color: #c00052;
}

/* Desktop hover enable */
@media (min-width: 769px) {
  .menu-item:hover .dropdown {
    display: block;
    animation: fadeDown 0.25s ease forwards;
  }
}

/* Mobile collapsible style */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
   .menu-item:hover .dropdown {
    display: none;
  }

  .dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
  }

  .menu-item.open .dropdown {
    display: block !important;
     position: relative;
  box-shadow: none;
  }
}

/* Animation */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Arrow Indicator */
.menu-item.has-dropdown > a::after {
  font-size: 10px;
  margin-left: 6px;
}
/* Desktop Hover Dropdown */
@media (min-width: 992px) {
  .menu-item:hover .dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}
/* Mobile dropdown default hidden */
.menu-item .dropdown {
  display: none;
  position: absolute;
  background: white;
  padding: 10px;
  list-style: none;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 999;
}

/* When clicked (Bootstrap toggles .show) */
.menu-item.show .dropdown {
  display: block;
}
.menu-item > a.nav-link {
  padding: 0.5rem 1rem; /* match bootstrap nav-link spacing */
  display: block;
}
.no-click {
  cursor: default;        /* removes hand icon */
  pointer-events: none;  /* disables clicking */
}

/* -------- MOBILE MENU FIX (Under 992px) -------- */
@media (max-width: 991px) {
  
  /* Make dropdowns appear inside the flow, NOT floating */
  .menu-item .dropdown {
    position: relative;
    display: none;
    background:#fff;
    box-shadow: none;
    padding-left: 15px;
  }

  /* When opened from JS */
  .menu-item.open .dropdown {
    display: block;
  }

  /* Make parent links clickable and aligned */
  .menu-item > a.nav-link {
    width: 100%;
    display: block;
    padding: 10px;
  }

}
/* -------- DESKTOP HOVER BEHAVIOR -------- */
@media (min-width: 992px) {
  .menu-item .dropdown {
    position: absolute;
    display: none;
    background: white;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .menu-item:hover .dropdown {
    display: block;
  }
}
/* PREMIUM Responsive Subcategory Heading */
.subcategory-header {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px; /* very small space */
    margin-bottom: 16px;
}

.subcategory-title {
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 700;
    color: var(--color-primary);
    text-transform: none; /* First-letter capital only */
    letter-spacing: 1px;
}

.separator {
    font-size: clamp(14px, 2vw, 18px);
    color: #555;
}

.product-count {
    font-size: clamp(14px, 1.4vw, 16px);
    font-weight: 500;
    color: #666;
}

/* Blur effect for out-of-stock products */
.blur-image {
  filter: blur(3px);
  opacity: 0.6;
}

/* Stock Out Badge */
.stock-out-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #b8004a;     /* your primary color */
  color: white;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  z-index: 10;
  text-transform: uppercase;
}

/* Disabled button style */
.btn.disabled, 
.btn:disabled {
  pointer-events: none;
  opacity: 0.6;
}

.product-image-wrapper {
    position: relative;
}

.img-blur {
    filter: blur(3px);
    opacity: 0.6;
}

.stock-out-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #b8004a;
    color: white;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 10;
}
/* =============================== */
/*  BEST SELLERS SECTION           */
/* =============================== */

.best-seller-section h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--color-primary);
}

/* Card wrapper */
.best-seller-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.best-seller-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Product image */
.best-seller-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-bottom: 2px solid #eee;
}

/* Stock Out — blur image */
.stock-out img {
    filter: blur(3px) brightness(0.6);
}

.stock-out-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 0, 0, 0.85);
    color: #fff;
    padding: 5px 12px;
    font-size: 14px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Card Body */
.best-seller-card .card-body {
    padding: 15px;
    text-align: center;
}

.best-seller-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.best-seller-card .price {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-secondary);
}

/* Add-to-cart button */
.best-seller-card .btn-primary {
    background: var(--color-primary);
    border: none;
    padding: 8px 16px;
    font-size: 15px;
    border-radius: 8px;
    transition: 0.3s;
}

.best-seller-card .btn-primary:hover {
    background: var(--color-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .best-seller-card img {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .best-seller-card img {
        height: 180px;
    }
}


/* ------------------------ */
/* MAIN LAYOUT */
/* ------------------------ */

.pdp-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px;
}

.product-wrapper {
    display: flex;
    gap: 40px;
}

/* ------------------------ */
/* LEFT : IMAGE GALLERY */
/* ------------------------ */

.product-gallery {
    width: 45%;
}

/* MAIN IMAGE */
.main-image {
    width: 100%;
    border: 1px solid #eee;
    overflow: hidden;
    border-radius: 8px;
}

.main-image img {
    width: 100%;
    transition: transform 0.3s ease;
}

/* Hover Zoom */
.main-image:hover img {
    transform: scale(1.05);
}

/* ------------------------ */
/* THUMBNAIL GRID (2x2 like Myntra) */
/* ------------------------ */

.thumbnail-strip {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.thumbnail-strip img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s;
}

/* Hover Zoom in Thumbnails */
.thumbnail-strip img:hover {
    transform: scale(1.04);
    border-color: var(--color-primary);;
}

/* Active thumbnail marker (optional)
.thumbnail-strip img.active {
    border: 2px solid #ff3f6c;
} */




/* ------------------------ */
/* RIGHT : PRODUCT INFO */
/* ------------------------ */

.product-details {
    width: 50%;
}

.product-title {
    font-size: 26px;
    font-weight: 600;
}

.product-category {
    color: gray;
    font-size: 14px;
}

.price-block .sale-price {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);;
}

.cta-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.btn-primary {
    background:var(--color-primary);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn-secondary {
    background: var(--color-bg-light);
    color:#fff;
    padding: 12px 25px;
    border-radius: 5px;
    border: 1px solid var(--color-primary);
    cursor: pointer;
    font-size: 15px;
}

.btn-primary:hover,
.btn-secondary:hover {
  background: var(--color-secondary);
    opacity: 0.9;
}


/* ------------------------ */
/* PRODUCT DETAILS SECTION */
/* ------------------------ */

.product-specs {
    background: var((var(--color-accent-soft)));
    padding: 20px;
    border-radius: 8px;
}
.color-options {
  display: flex;
  gap: 8px;
}

.color-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ccc;
}
.color-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.color-circle:hover {
  transform: scale(1.1);
  border-color: #ff3f6c; /* highlight on hover */
}
.color-options {
  display: flex;
  gap: 10px;
}

.color-circle-wrapper {
  position: relative;
  display: inline-block;
}

.color-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.color-circle:hover {
  transform: scale(1.1);
  border-color: #0b0b0b;
}

/* Tooltip */
.color-tooltip {
  visibility: hidden;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 2px 6px;
  border-radius: 4px;
  position: absolute;
  bottom: 100%; /* above the circle */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  z-index: 10;
}

.color-circle-wrapper:hover .color-tooltip {
  visibility: visible;
}
/* ------------------------------
   LOGIN CONTAINER
------------------------------ */
.login-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-accent-soft);
    padding: 20px;
}

.login-wrapper {
    width: 100%;
    max-width: 450px;
}

/* ------------------------------
   LOGIN CARD
------------------------------ */
.login-card {
    background: var(--color-bg-light);
    padding: 35px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

/* Logo */
.login-logo h2 {
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Header */
.login-header h3 {
    font-size: 22px;
    font-weight: 600;
}

.login-header p {
    font-size: 14px;
    color: #777;
    margin-bottom: 25px;
}

/* ------------------------------
   FORM FIELDS
------------------------------ */
.login-form .form-group {
    text-align: left;
    margin-bottom: 18px;
}

.login-form label {
    font-size: 13px;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
    color: #444;
}

.login-form input {
    width: 100%;
    padding: 14px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.login-form input:focus {
    border-color: #ff3e6c;
    box-shadow: 0 0 0 2px rgba(255, 62, 108, 0.2);
    outline: none;
}

/* ------------------------------
   LOGIN BUTTON
------------------------------ */
.btn-login {
    width: 100%;
    background: var(--color-primary);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 5px;
    transition: 0.2s ease;
}

.btn-login:hover {
    background: var(--color-secondary);
}

/* ------------------------------
   OR DIVIDER
------------------------------ */
.divider {
    margin: 20px 0;
    text-align: center;
    position: relative;
}

.divider span {
    background: #fff;
    padding: 0 15px;
    color: #777;
    font-size: 14px;
}

/* horizontal line */
.divider:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #ddd;
}

/* ------------------------------
   GOOGLE LOGIN BUTTON
------------------------------ */
.google-login-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-size: 15px;
    border-radius: 8px;
    background: var(--color-primary);
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.2s ease;
}

.google-login-btn:hover {
    background: var(--color-secondary);
}

/* ------------------------------
   BOTTOM TEXT
------------------------------ */
.login-bottom {
    margin-top: 20px;
    font-size: 14px;
}

.login-bottom a {
    color: var(--color-primary);
    font-weight: 600;
}

/* ------------------------------
   RESPONSIVE DESIGN
------------------------------ */

/* Tablet */
@media (max-width: 768px) {
    .login-card {
        padding: 30px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .login-card {
        padding: 25px 20px;
        border-radius: 10px;
    }

    .login-header h3 {
        font-size: 20px;
    }

    .btn-login,
    .google-login-btn {
        font-size: 14px;
        padding: 12px;
    }

       .login-form input {
        padding: 12px;
        font-size: 14px;
    }
}
.product-card-listing {
    position: relative;
}

/* Global wishlist button */
.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.wishlist-btn:hover {
  transform: scale(1.1);
}

/* Heart icon default */
.wishlist-btn i {
  font-size: 20px;
  color: #ffffff; /* default = white */
  transition: color 0.3s ease;
}

/* Active / wishlisted state */
.wishlist-btn.active i,
.wishlist-btn i.fa-solid {
  color: red; /* filled heart */
}


/* Pagination Container */
/* Pagination Container */
.pagination-container {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Wrapper */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* Buttons */
.page-number,
.page-btn,
.dots {
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    font-size:15px;
    color: #282c3f;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* ⭐ Hover Effect Using Your Theme Color */
.page-number:hover,
.page-btn:hover:not(.disabled) {
    background: var(--color-secondary);     /* ← change this */
    border-color: #000;
    color: #fff;
}

/* Active Page */
.active {
    background: var(--color-bg-light);
    color: #fff !important;
    border-color: #000;
}

/* Disabled */
.disabled {
    color: #bbb;
    border-color: #eee;
    cursor: not-allowed;
    background: #f9f9f9;
}

/* Dots */
.dots {
    cursor: default;
}

/* Responsive */
@media (max-width: 768px) {
    .page-number,
    .page-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pagination {
        gap: 4px;
    }

    .page-number,
    .page-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}
.size-box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 38px;
    border: 1px solid #bbb;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.25s;
    user-select: none;
}

.size-box input {
    display: none; /* hide checkbox */
}

.size-box span {
    font-size: 14px;
    font-weight: 600;
}

.size-box:hover {
    border-color: #000;
}

.size-box.active {
    background: #000;
    color: #fff;
    border-color: #000;
}
.color-box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: .25s;
}

.color-circle:hover {
    transform: scale(1.1);
}

.color-circle.active {
    border: 2px solid #000;
    box-shadow: 0 0 3px rgba(0,0,0,0.4);
}
.price-container {
    width: 100%;
    margin-bottom: 6px;
}

#priceRange {
    width: 100%;
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.wishlist-card {
  width: 260px;
  min-height: 350px; /* Prevents huge stretched height */
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.5s ease;
}

.wishlist-card img {
  width: 100%;
  height: 200px;
  object-fit: cover; /* prevents stretch */
  border-radius: 8px;
}

.wishlist-delete-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fff;
  border: 1px solid #aaa;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* MAIN SECTION */
.wishlist-main-section {
  padding: 40px 0;
  background: #fce1d6; /* Soft peach (matches your theme) */
}
.wishlist-card.removing {
  opacity: 0;
  transform: scale(0.95) translateY(-20px);
}
/* CONTAINER */
.wishlist-container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

/* HEADER */
.wishlist-header-bar {
  margin-bottom: 25px;
}

.wishlist-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wishlist-title {
  font-size: 24px;
  font-weight: 700;
  color: #b1004f;
}

.wishlist-separator {
  font-size: 24px;
  color: #777;
}

.wishlist-product-count {
  font-size: 18px;
  color: #444;
  font-weight: 500;
}

/* GRID */
.wishlist-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
}

/* EMPTY MESSAGE */
.wishlist-empty {
  font-size: 18px;
  color: #777;
  margin-top: 20px;
}

/* CARD */
.wishlist-card {
  background: #fff;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.wishlist-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* REMOVE BUTTON */
.wishlist-remove-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;

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

  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: 0.2s ease-in-out;
  font-size: 14px;
}

.wishlist-remove-btn:hover {
  background: #ff4d4d;
  color: #fff;
}

/* IMAGE */
.wishlist-product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
}

/* PRODUCT LINK */
.wishlist-product-link {
  text-decoration: none;
  color: inherit;
  display: block;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* TEXT INFO */
.wishlist-card-info {
  padding: 0 4px;
  margin-top: auto;
}

.wishlist-product-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.wishlist-product-price {
  font-size: 17px;
  font-weight: 700;
  color: #b1004f;
}

.otp-box {
    width: 30px;
    height: 30px;
    text-align: center;
    font-size: 20px;
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    outline: none;
}
.otp-box:focus {
    border-color: var(--color-bg-light);
    box-shadow: 0px 0px 10px rgba(214, 15, 214, 0.5);
}


/* ============================================================
   FINAL LOGIN PAGE CSS (safe - no project override)
   EVERYTHING is wrapped inside .final-login-page
   ============================================================ */

.final-login-page {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(-45deg, var(--color-secondary),
              var(--color-accent-soft), var(--color-primary), var(--color-accent-gold));
  background-size: 400% 400%;
  animation: finalLoginBG 15s ease infinite;
  overflow: hidden;
  position: relative;
  cursor: crosshair;
  font-family: 'Roboto', sans-serif;
}

/* Background animation */
@keyframes finalLoginBG {
  0% { background-position: 0% 50% }
  50% { background-position: 100% 50% }
  100% { background-position: 0% 50% }
}

/* Blur circles */
.final-login-page .blur-layer {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  filter: blur(80px);
  z-index: 1;
  transform: translate3d(0, 0, 0);
}

/* Floating icons */
.final-login-page .icon {
  position: absolute;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.2);
  z-index: 2;
  pointer-events: none;
  transition: text-shadow .2s ease, transform .1s ease, color .2s ease;
}

/* Particles */
.final-login-page .particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  opacity: .8;
  pointer-events: none;
  animation: finalSparkle 4s linear infinite;
}

@keyframes finalSparkle {
  0% { transform: translateY(0) scale(1); opacity: .5 }
  50% { opacity: 1; transform: translateY(-20px) scale(1.2) }
  100% { transform: translateY(0) scale(1); opacity: .5 }
}

/* ------------------------------------------------------------
   LOGIN CARD
------------------------------------------------------------ */

.final-login-page .card {
  
  position: relative;
  z-index: 10;
  width: 420px;
  max-width: 94vw;
  background: var(--color-bg-light);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  transform-style: preserve-3d;
  transition: transform .28s, box-shadow .28s;
}

.final-login-page .brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.final-login-page .title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}

.final-login-page .tag {
  font-size: 12px;
  color: rgba(46, 42, 42, .7);
}

/* Form rows */
.final-login-page .form-row {
  margin: 10px 0;
  text-align: left;
}

.final-login-page label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 900;
  color: var(--color-primary);
}

.final-login-page input[type=text],
.final-login-page input[type=email],
.final-login-page input[type=password],
.final-login-page input[type=tel] {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 2px solid var(--color-secondary);
  background: var(--color-accent-soft);
  font-size: 14px;
  outline: none;
}

/* Buttons */
.final-login-page .btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  margin-top: 10px;
}

.final-login-page .btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
}

.final-login-page .btn-ghost {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
}

.final-login-page .screen {
  display: none;
}

.final-login-page .screen.active {
  display: block;
}

.final-login-page .small {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
}

.final-login-page .link {
  color: var(--color-secondary);
  font-weight: 700;
  cursor: pointer;
}

/* POPUP */
.final-login-page #otp-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 99;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.final-login-page .otp-box-container {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: 320px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  text-align: center;
  animation: finalOtpZoom .25s ease-out;
}

@keyframes finalOtpZoom {
  from { transform: scale(0.85); opacity: 0 }
  to { transform: scale(1); opacity: 1 }
}

.final-login-page #otp-input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 2px solid var(--color-secondary);
  margin-bottom: 12px;
  background: var(--color-accent-soft);
}

/* Responsive */
@media(max-width:480px) {
  .final-login-page .card {
    width: 92vw;
    padding: 18px;
  }
}
.dual-btn {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 14px 0 20px;
  gap: 8px;
}

.dual-btn button {
  flex: 1;
  font-size: 15px;
  padding: 12px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 600;
}

/* Brand main Login button */
.left-btn {
  background: linear-gradient(90deg, #b60945, #e11b56);
  color: #fff;
  
}

/* Google button with original style */
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  height: 44px;

  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;

  font-size: 14px;
  font-weight: 500;
  color: #444;

  cursor: pointer;
  transition: all 0.2s ease;
}

.google-btn img {
  width: 18px;
  height: 18px;
}

.google-btn:hover {
  background: #f7f7f7;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}


/* OR text */
.or-text {
  font-size: 14px;
  font-weight: bold;
  color: #7a3a4f;
  white-space: nowrap;
}
/* Fix spacing between fixed navbar and login card */
.final-login-page {
  padding-top: 40px;   /* decrease spacing */
  height: calc(100vh - 80px); /* subtract navbar height */
  align-items: flex-start !important;
}
@media (max-width: 768px) {
  .final-login-page {
    padding-top: 20px;
    height: auto;
    min-height: 100vh;
  }
}
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding-right: 40px; /* space for eye icon */
}

.toggle-password {
    position: absolute;
    right: 12px;
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}
.forgot-pass-header .brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.forgot-pass-header .title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}
/* OTP Popup Styling */
.otp-modal {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.5);
  display:flex; align-items:center; justify-content:center;
  z-index:1000;
}
.otp-content {
  background:#fff;
  padding:24px;
  border-radius:8px;
  text-align:center;
  width:300px;
}
.otp-inputs {
  display:flex;
  justify-content:space-between;
  margin:16px 0;
}
.otp-box {
  width:40px; height:40px;
  text-align:center;
  font-size:18px;
  border:1px solid #ccc;
  border-radius:4px;
}
.otp-box:focus {
  border-color: var(--color-secondary);
  outline:none;
}

.cart-wrapper {
  position: relative; /* keep this */
  display: inline-block;
}

.cart-badge {
  position: absolute;
  top: -5px;      /* adjust vertical position */
  right: -5px;    /* adjust horizontal position */
  background: red;
  color: #fff;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 50%;
  display: none;   /* hidden by default */
}
/* =============================
   CART PAGE LAYOUT
============================= */

.cart-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.cart-wrapper {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

/* =============================
   LEFT SIDE — PRODUCTS LIST
============================= */

.cart-products {
  flex: 2;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.cart-products h2 {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 600;
}

/* Single Cart Item Box */
.cart-item {
  display: flex;
  gap: 20px;
  padding: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.cart-img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ddd;
}

/* Product Info */
.cart-info h3 {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 600;
}

.cart-info p {
  margin: 4px 0;
  font-size: 15px;
}

.discount {
  color: #e53935;
  font-weight: 600;
}

.line-total {
  font-weight: 700;
  color: #2f7d32;
}

/* =============================
   QUANTITY BUTTONS
============================= */

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.qty-btn {
  width: 30px;
  height: 30px;
  background: #f4f4f4;
  border: 1px solid #ccc;
  cursor: pointer;
  font-size: 20px;
  border-radius: 5px;
  transition: 0.2s;
}

.qty-btn:hover {
  background: #ddd;
}

.qty-value {
  min-width: 25px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
}

/* Remove Button */
.remove-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  color: #d32f2f;
  font-size: 20px;
  margin-left: auto;
  transition: 0.2s;
}

.remove-btn:hover {
  color: #b71c1c;
}


/* =============================
   RIGHT SIDE — SUMMARY
============================= */

.cart-summary {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 20px;
}

.cart-summary h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 16px;
}

.grand-total {
  font-size: 18px;
  font-weight: 700;
  padding-top: 15px;
  border-top: 1px solid #ddd;
  margin-top: 10px;
}

.checkout-btn {
  display: block;
  margin-top: 20px;
  padding: 12px;
  background: #ff4f4f;
  text-align: center;
  color: #fff;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.checkout-btn:hover {
  background: #e04646;
}


/* =============================
   RESPONSIVE
============================= */

@media (max-width: 900px) {
  .cart-wrapper {
    flex-direction: column;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .remove-btn {
    align-self: flex-end;
  }

  .cart-summary {
    width: 100%;
    position: static;
  }
}

@media (max-width: 600px) {
  .cart-img {
    width: 90px;
    height: 90px;
  }

  .cart-info h3 {
    font-size: 16px;
  }
}
.cart-item img {
  width: 100px;      /* fixed width */
  height: 120px;     /* fixed height */
  object-fit: cover; /* crops image nicely without stretching */
  border-radius: 8px;
}
/* ------ SIZE SECTION UPGRADED ------ */
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-option.size-pill {
  padding: 10px 18px;
  border: 1px solid #ccc;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.25s ease;
  font-size: 14px;
  background: #fff;
}

.size-option.size-pill:hover {
  border-color: #000;
}

.size-option.size-pill.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

.free-size-badge{
  display: inline-block;
  padding: 8px 16px;
  background: #111;   /* dark */
  color: #fff;        /* white text */
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.free-size-badge.active{
  background:#000;
}

/* ----- SIZE GUIDE LINK ----- */
.size-guide-link {
  font-size: 14px;
  color: #000;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 10px;
  opacity: 0.8;
  transition: 0.2s ease;
}

.size-guide-link:hover {
  opacity: 1;
}

/* ----- MODAL BACKDROP ----- */
.size-guide-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  justify-content: center;
  align-items: center;
}

/* ----- POPUP BOX ----- */
.size-guide-content {
  background: #fff;
  padding: 25px 30px;
  width: 90%;
  max-width: 450px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
  max-height: 90vh;        /* modal won't exceed viewport height */
  overflow-y: auto;        /* scroll inside modal if table is too tall */
}

@keyframes fadeIn {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Close Button */
.close-size-guide {
  float: right;
  cursor: pointer;
  font-size: 26px;
  font-weight: bold;
  opacity: 0.7;
  transition: 0.2s;
}

.close-size-guide:hover {
  opacity: 1;
}

/* Table */
.size-guide-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
   table-layout: fixed;     /* prevents table resizing flicker */
  word-wrap: break-word;   /* wrap long text */
}

.size-guide-table th,
.size-guide-table td {
  border-bottom: 1px solid #eee;
  padding: 10px 4px;
  text-align: center;
  font-size: 14px;
}

.size-guide-table th {
  font-weight: 600;
}
@media (max-width: 500px) {
  .size-guide-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* PLACE ORDER LAYOUT */
.place-order-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  max-width: 1200px;
  padding: 20px;
  margin: auto;
}

/* CARD UI */
.placeorder-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

/* INPUT FIELDS */
.placeorder-input {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
}

/* ADDRESS DROPDOWN */
#savedAddress {
  margin-bottom: 10px;
}

/* ORDER SUMMARY */
.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 15px;
}

.summary-row.total {
  font-weight: bold;
  font-size: 18px;
}

/* PAYMENT OPTIONS */
.payment-options label {
  display: block;
  margin-top: 10px;
  font-size: 15px;
}

/* PLACE ORDER BUTTON */
.place-order-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  margin-top: 20px;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
/* NAVBAR CART ICON */
.navbar-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Badge */
.navbar-cart .cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  background: red;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
}

/* CART SECTION (from your cart page design) */
.cart-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.cart-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.cart-products,
.cart-summary {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.checkout-btn {
  background: black;
  color: white;
  display: block;
  text-align: center;
  padding: 12px 0;
  border-radius: 10px;
  margin-top: 20px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .place-order-container,
  .cart-wrapper {
    grid-template-columns: 1fr;
  }
}
.place-order-section {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.address-section, .summary-section {
  flex: 1;
  min-width: 300px;
}

.input-box {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.card-row {
  display: flex;
  gap: 10px;
}

.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  right:0;
  bottom:0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}

.payment-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 400px;
  max-width: 90%;
  position: relative;
}

.close-btn {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
}

.place-order-btn, .confirm-pay-btn {
  background: #333;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  display: inline-block;
}

.place-order-btn:hover, .confirm-pay-btn:hover {
  background: #555;
}
/* --- Place Order Page Only --- */

/* Layout */
.place-order-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  padding: 24px 0;
}

/* Cards */
.po-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}

/* Titles */
.po-card h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

/* Input fields */
.po-card label {
  font-size: 13px;
  margin-bottom: 6px;
  color: #6b7280;
  display: block;
}

.po-input, .po-select, .po-textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e6e9ee;
  font-size: 14px;
}

/* Two-column rows */
.po-row {
  display: flex;
  gap: 12px;
}
.po-row > * {
  flex: 1;
}

/* Divider */
.po-divider {
  height: 1px;
  background: #eef2f7;
  margin: 16px 0;
}

/* Order Summary */
.po-order-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.po-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.po-total {
  font-weight: 700;
  font-size: 18px;
}

/* Payment boxes */
.po-pm-box {
  flex: 1;
  border: 1px solid #e6e9ee;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
}

.po-pm-box.selected {
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
  border-color: #cbd5e1;
}

/* Billing collapse */
.po-collapse {
  overflow: hidden;
  transition: max-height .28s ease;
}

/* Buttons */
.po-btn {
  background: #111827;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.po-ghost-btn {
  border: 1px solid #e6e9ee;
  background: transparent;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 980px) {
  .place-order-container {
    flex-direction: column;
    padding: 12px;
  }
}
/* CSS for cart/product images */
.order-image {
    width: 80px;         /* fixed width for small preview, you can adjust */
    height: 80px;        /* fixed height to maintain uniform size */
    object-fit: cover;   /* crop image nicely without distortion */
    border-radius: 8px;  /* optional, for a nice rounded look */
    margin-right: 12px;  /* spacing between image and text */
}

/* Responsive for smaller screens */
@media (max-width: 600px) {
    .order-image {
        width: 60px;
        height: 60px;
    }
}
/* ---------------------------
   ADDRESS PAGE WRAPPER
---------------------------- */
.address-container {
  max-width: 900px;
  margin: 30px auto;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ---------------------------
   ADDRESS FORM
---------------------------- */
.address-form {
  display: none;
  background: #f1f5f9;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.address-form input,
.address-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 12px;
  border: 1px solid #d0d7e2;
  border-radius: 6px;
  font-size: 15px;
}

/* ---------------------------
   ADDRESS LIST + CARDS
---------------------------- */
.address-list {
  margin-top: 25px;
}

.address-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 15px;
  transition: 0.25s ease;
}

.address-card:hover {
  background: #eef2ff;
  transform: scale(1.01);
}

/* text area inside card */
.address-info {
  max-width: 80%;
}

.address-info strong {
  font-size: 17px;
}

/* icons inside card */
.address-actions i {
  margin-left: 15px;
  font-size: 20px;
  cursor: pointer;
  color: #475569;
  transition: 0.25s;
}

.address-actions i:hover {
  color: #1e40af;
}

/* ---------------------------
   RESPONSIVE DESIGN
---------------------------- */

/* Tablets */
@media (max-width: 768px) {
  .address-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .address-actions {
    margin-top: 15px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .address-container {
    padding: 15px;
  }

  .address-card {
    padding: 15px;
  }

  .address-info strong {
    font-size: 16px;
  }

  .address-actions i {
    font-size: 18px;
    margin-left: 10px;
  }
}
/* -------------------------------------
   SECTION WRAPPER
-------------------------------------- */
.address-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Improve spacing on mobile */
@media (max-width: 480px) {
  .address-section {
    padding: 18px;
    margin: 20px 10px;
  }
}
.slide-down {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}

.slide-down.open {
  max-height: 600px;
}
#globalLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  display: none;
}

.loader {
  width: 60px;
  height: 60px;
  border: 6px solid #ddd;
  border-top: 6px solid #007bff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}



/* ================= ORDER DETAILS ================= */

.order-details {
  max-width: 980px;
  margin: 24px auto;
  padding: 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Order Number */
.order-number {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--color-primary);
}

/* ================= CARD ================= */

.order-details .card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  color: var(--color-secondary);
}

.order-details .card h3 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-bg-light);
}

/* ================= ORDER INFO ================= */

.three-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.mini-card {
  background: #fafafa;
  border-radius: 10px;
  padding: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  border: 1px solid var(--color-bg-light);
}

.mini-card strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--color-primary);
}

/* ================= ITEMS ================= */

.item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-bg-light);
  font-size: 14px;
}

.item-row:last-child {
  border-bottom: none;
}

.item-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.item-image {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--color-bg-light);
  background: #fff;
}

.item-name {
  font-weight: 600;
  color: #111;
}

.item-status {
  font-size: 12px;
  margin-top: 4px;
  font-weight: 600;
}

.status-placed { color: #2563eb; }
.status-shipped { color: #ea580c; }
.status-delivered { color: #16a34a; }
.status-cancelled { color: #dc2626; }

.price {
  font-weight: 600;
  white-space: nowrap;
  color: #111;
}

/* ================= ACTION BUTTONS ================= */

.item-actions {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-print {
  background: var(--color-primary);
  color: #fff;
  border: none;
}

.btn-print:hover {
  opacity: 0.9;
}

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

.btn-cancel:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ================= SUMMARY ================= */

.summary {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--color-bg-light);
  font-size: 14px;
}

.summary div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}

.summary .total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--color-bg-light);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}

/* ================= TIMELINE ================= */

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  padding: 10px 0;
  border-left: 3px solid var(--color-bg-light);
  padding-left: 12px;
  position: relative;
  font-size: 14px;
}

.timeline li.active {
  border-color: var(--color-primary);
  font-weight: 600;
}

.timeline .time {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .three-box {
    grid-template-columns: 1fr;
  }

  .item-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .price {
    margin-top: 6px;
  }

  .item-actions {
    width: 100%;
    justify-content: space-between;
    margin-top: 8px;
  }
}
.order-card {
  background: #fff;
  border-left: 1px solid #8b1c2d; /* Durga Studio color */
}

@media (max-width: 576px) {
  .order-card {
    font-size: 14px;
  }

  .order-card .btn {
    flex: 1;
  }
}
/* ===================== Full-width modern search ===================== */
.order-search-form {
  width: 100%;
  max-width: 1200px; /* optional, limits very wide screens */
  margin: 0 auto;    /* center horizontally */
  padding: 13px 15px;   /* small padding on mobile */
}

.order-search-form .input-group {
  display: flex;
  width: 100%;
}

.order-search-form .form-control {
  flex: 1;                /* take all remaining space */
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-right: none;
  border-radius: 6px 0 0 6px;
  transition: border-color 0.3s;
}

.order-search-form .form-control:focus {
  outline: none;
  border-color: #8b1c2d; /* Durga Studio maroon */
  box-shadow: 0 0 5px rgba(139, 28, 45, 0.4);
}

.order-search-form .btn {
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 0 6px 6px 0;
  background-color: #8b1c2d; /* maroon */
  color: #fff;
  border: 2px solid #8b1c2d;
  transition: background-color 0.3s;
}

.order-search-form .btn:hover {
  background-color: #a42a3b;
  border-color: #a42a3b;
}

/* Mobile adjustments */
@media (max-width: 576px) {
  .order-search-form .input-group {
    flex-direction: column;
  }
  .order-search-form .form-control,
  .order-search-form .btn {
    width: 100%;
    border-radius: 6px;
    margin: 3px 0;
    border-right: 2px solid #ccc; /* reset for stacked */
  }
}
/* ============ ORDER DETAILS – PRINT ONLY ============ */

@media print {

  /* Hide site layout ONLY when order page exists */
  .order-details ~ header,
  .order-details ~ footer,
  .order-details ~ nav {
    display: none !important;
  }

  /* Hide common UI inside order page */
  .order-details .btn,
  .order-details .item-actions,
  .order-details .order-actions {
    display: none !important;
  }

  /* Invoice formatting */
  .order-details {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    background: #fff;
  }

  .order-details .card {
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
  }
}
/* Invoice header – screen hidden */
.invoice-header {
  display: none;
  text-align: center;
  margin-bottom: 16px;
}

.invoice-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.invoice-header p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #555;
}

/* Show only while printing */
@media print {
  .invoice-header {
    display: block;
  }
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  margin-bottom: 16px;
  color: #666;
}

.breadcrumb a {
  color: #007bff;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .separator {
  margin: 0 6px;
  color: #aaa;
}

.breadcrumb .current {
  font-weight: 500;
  color: #333;
}

@media (max-width: 576px) {
  .breadcrumb {
    font-size: 13px;
  }
}
/* ===== Premium Modal Overlay ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Hide */
.hidden {
  display: none !important;
}

/* ===== Modal Card ===== */
.modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  padding: 24px 26px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  animation: scaleFade 0.25s ease;
}

/* Animation */
@keyframes scaleFade {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-box {
  background: #fff;
  padding: 20px;
  width: 350px;
  border-radius: 6px;
}

.modal-box select,
.modal-box textarea {
  width: 100%;
  margin-top: 6px;
  padding: 6px;
}

.modal-actions {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}

.btn-danger {
  background: #e53935;
  color: #fff;
  border: none;
  padding: 7px 14px;
}
.item-message {
  margin: 6px 0 12px;
  font-size: 13px;
}

.item-message.success {
  color: #2e7d32;
}

.item-message.error {
  color: #c62828;
}

.item-message.cancelled {
  color: #6c757d;
  font-style: italic;
}
  .bg-purple { background-color: #6f42c1; color: white; }
  .bg-orange { background-color: #fd7e14; color: white; }
  .badge { color: white; padding: 0.3em 0.6em; border-radius: 0.25rem; font-size: 0.9em; }



/* ===== TABLE ROW ===== */
.form-group {
  display: table-row;
  border-bottom: 1px solid #e0e0e0;
}

/* ===== TABLE CELL (Label) ===== */
.form-group label {
  display: table-cell;
  width: 35%;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #424242;
  background: #fafafa;
  vertical-align: middle;
}

/* ===== TABLE CELL (Input) ===== */
.form-group input {
  display: table-cell;
  width: 65%;
  padding: 16px 24px;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
}

/* ===== INPUT FOCUS (Mat effect) ===== */
.form-group input:focus {
  background: #f1f8ff;
}



/* ===== TOAST (Material feel) ===== */
#toastContainer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.toast {
  min-width: 240px;
  margin-top: 10px;
  padding: 12px 16px;
  background: #323232;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.toast-success {
  background: #2e7d32;
}

.toast-error {
  background: #d32f2f;
}

.toast.show {
  opacity: 1;
   pointer-events: auto;
  transform: translateX(-50%) translateY(0);
 
}

.badge-placed { background: #0d6efd; }
.badge-shipped { background: #ffc107; color: #212529; }
.badge-delivered { background: #198754; }
.badge-cancelled { background: #e6071d; }
.badge-partially-cancelled { background: #fd7e14; color: #212529; }
.badge-confirmed {
  background: #6610f2; /* purple (confirmed) */
}
/* Mobile-first defaults */
#listViewBtn {
  display: none;
}

@media (min-width: 768px) {
  #listViewBtn {
    display: inline-block;
  }
}
/* =========================
   Edit Profile Page
========================= */

.profile-section {
  display: flex;
  justify-content: center;
  padding: 40px 16px;
}

.profile-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Header */
.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.profile-header h2 {
  font-size: 20px;
  font-weight: 600;
}

/* Fields */
.profile-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.profile-row label {
  font-size: 13px;
  margin-bottom: 4px;
  color: #555;
}

.profile-row input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}


/* Read-only state */
.profile-row input:disabled{
  background: #f3f3f3;
  color: #777;
  cursor: not-allowed;
}

/* ===============================
   PROFILE BUTTON STYLES
================================= */

/* Common button base */
.profile-header button,
.profile-actions button {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* EDIT BUTTON */
#editBtn {
  background: var(--color-secondary);
  color: #fff;
}

#editBtn:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
}

/* SAVE BUTTON */
.profile-actions .save-btn {
  background: var(--color-secondary);
  color: #fff;
}

.profile-actions .save-btn:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
}

/* CANCEL BUTTON */
.profile-actions .cancel-btn {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.profile-actions .cancel-btn:hover {
  background: #e5e7eb;
}

/* Button container spacing */
.profile-actions {
  gap: 12px;
  margin-top: 20px;
}

/* Disabled look (optional polish) */
.profile-actions button:disabled,
#editBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* =========================
   Toast Notification
========================= */

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, bottom 0.3s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  bottom: 50px;
}
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.btn-invoice {
  background: #fff;
  border: 1.5px solid #c2185b; /* brand pink */
  color: #c2185b;
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-invoice:hover {
  background: #c2185b;
  color: #fff;
}

.btn-invoice i {
  font-size: 16px;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.btn-print-invoice {
  width: 100%;
  margin-top: 8px;
  padding: 6px 0;          /* much shorter */
  font-size: 14px;         /* normal text */
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, #1e88e5, #1976d2);
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(30, 136, 229, 0.2);
  transition: all 0.2s ease;
}

.btn-print-invoice:hover {
  transform: none;
  background: linear-gradient(135deg, #1976d2, #1565c0);
}


.btn-print-invoice i {
  margin-right: 8px;
  font-size: 20px;
}
.cms-page {
  background-color: #fff5f5; /* light soft background */
  padding: 60px 20px;        /* enough spacing top-bottom & sides */
}

.cms-page .container {
  max-width: 900px;
  margin: auto;
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cms-page .page-title {
  font-size: 36px;
  font-weight: 700;
  color: #b0124b; /* matches your brand color */
  margin-bottom: 30px;
  text-align: center;
}

.cms-page .page-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.cms-page .page-content h2, 
.cms-page .page-content h3 {
  color: #b0124b;
  margin-top: 30px;
  margin-bottom: 15px;
}

.cms-page .page-content a {
  color: #b0124b;
  text-decoration: underline;
}

.cms-page .page-content ul, 
.cms-page .page-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}
.blog-container {
  padding: 20px;
}

.blog-wrapper {
  max-width: 1200px;
  margin: auto;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px; /* space between cards */
}

.blog-item {
  display: flex;
  flex-direction: column;
  align-items: center; /* center content under image */
  text-align: center;
}

.blog-item img {
  width: 150px;        /* square */
  height: 150px;       /* square */
  object-fit: cover;
  border-radius: 50%;  /* circular image */
  transition: transform 0.3s ease;
}

/* Optional: hover zoom effect */
.blog-item img:hover {
  transform: scale(1.1);
}

.blog-info {
  margin-top: 10px;
}

.blog-info h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.blog-info p {
  font-size: 14px;
  color: #555;
}

.read-more {
  font-size: 14px;
  color: #1a73e8;
  text-decoration: none;
  margin-top: 5px;
}

.read-more:hover {
  text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 500px) {
  .blog-item img {
    width: 120px;
    height: 120px;
  }
}

.blog-details-container {
  padding: 20px;
}

.blog-details-wrapper {
  max-width: 900px;
  margin: auto;
  background: #fff;
  padding: 25px;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.blog-details-wrapper h1 {
  margin-bottom: 10px;
}

.blog-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

.blog-image img {
  width: 180px;        /* SMALL WIDTH */
  height: 180px;       /* SAME HEIGHT = SQUARE */
  object-fit: cover;
  border-radius: 6px;
}

.blog-content {
  line-height: 1.8;
  font-size: 16px;
  color: #333;
}

.blog-back {
  margin-top: 30px;
}

.blog-back a {
  text-decoration: none;
  font-weight: bold;
  color: #d63384;
}
@media (max-width: 600px) {
  .blog-item {
    flex-direction: column;
  }

  .blog-item img {
    width: 120px;
    height: 120px;
  }
}
/* Contact Us Page */
.contact-section {
  padding: 30px 20px;
  display: flex;
  justify-content: center;
  background-color: var(--color-accent-soft);
}

.contact-card {
  width: 100%;
  max-width: 700px;
  background: var(--color-white);
  border-radius: 10px;
  padding: 25px;
  font-weight:800;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
   color: var(--color-primary);
}

.contact-header h2 {
  font-size: 26px;
  margin-bottom: 5px;
}

.contact-header p {
  font-size: 14px;
  margin-bottom: 20px;
}

.contact-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.contact-row label {
  margin-bottom: 6px;
  font-weight: 900;
}

.contact-row input,
.contact-row textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: 0.3s;
}

.contact-row input:focus,
.contact-row textarea:focus {
  border-color: #d63384;
  outline: none;
}

.contact-row textarea {
  min-height: 120px;
  resize: none;
}

.contact-actions {
  display: flex;
  justify-content: flex-end;
}

.send-btn {
  background-color: #d63384;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.send-btn:hover {
  background-color: #b62d6f;
}

.alert {
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 14px;
}

.alert.success {
  background-color: #e6fffa;
  color: #047857;
}

.alert.error {
  background-color: #fee2e2;
  color: #b91c1c;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-card {
    padding: 20px;
  }
}
.navbar-search {
  display: none;
}

.navbar-search.active {
  display: block;
  position: relative;
  z-index: 1050;
}

.search-toggle {
  cursor: pointer;
  z-index: 1060;
}
/* ================= SEARCH RESULT PAGE ================= */

.search-container {
  padding: 40px 60px;
  background: #ffe0cf;
  min-height: 60vh;
}

.search-title {
  font-size: 32px;
  color: #b0004b;
  margin-bottom: 30px;
  font-weight: bold;
}

.no-result {
  font-size: 18px;
  color: #444;
}

/* GRID */
.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
}

/* CARD */
.search-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.search-card:hover {
  transform: translateY(-6px);
}

.search-card-body {
  padding: 18px;
  text-align: center;
}

.product-name {
  font-size: 18px;
  color: #333;
  margin-bottom: 8px;
}

.product-price {
  font-size: 16px;
  font-weight: bold;
  color: #b0004b;
  margin-bottom: 12px;
}

/* BUTTON */
.view-btn {
  display: inline-block;
  padding: 8px 18px;
  background: #b0004b;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.view-btn:hover {
  background: #8a003a;
}
.search-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}
#method-buttons button {
  transition: all .2s ease;
}
#method-buttons button:hover {
  transform: translateY(-1px);
}

.or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0;
  color: #888;
  font-size: 13px;
}

.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.or-divider span {
  padding: 0 10px;
  font-weight: 500;
}
.navbar-logo {
  height: 50px;          /* keep base height */
  width: auto;
  object-fit: contain;
  margin-top: 10px;
  transform: scale(1.6);        /* ⬅ increase logo only */
  transform-origin: left center;
}
@media (max-width: 768px) {
  .navbar-logo {
    height: 42px;
  }
}
.navbar-brand {
  transform: scale(1.35);   /* ⬅ magic */
  transform-origin: left center;
}

.clear-filters-btn{
  width:100%;
  padding:10px;
  margin-bottom:15px;
  border:none;
  background:#000;
  color:#fff;
  cursor:pointer;
  border-radius:4px;
  font-size:14px;
}

.clear-filters-btn:hover{
  opacity:0.85;
}
/* ===============================
   FOR SALE & BTS PAGES
=============================== */

.status-wrapper{
  min-height:70vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:40px 20px;
  background:#f6f7fb;
}

.status-card{
  background:#fff;
  max-width:500px;
  width:100%;
  padding:60px 40px;
  text-align:center;
  border-radius:18px;
  box-shadow:0 15px 40px rgba(0,0,0,.12);
  animation:fade .6s ease;
}

.icon{
  font-size:70px;
  margin-bottom:15px;
}

.status-card h1{
  font-size:34px;
  margin-bottom:10px;
  color:#111;
}

.status-card p{
  font-size:18px;
  color:#666;
  margin-bottom:25px;
}

/* FOR SALE price */

.price-tag{
  background:#fff1dc;
  color:#ff7a00;
  padding:12px 22px;
  border-radius:12px;
  font-size:20px;
  font-weight:700;
  margin-bottom:30px;
  display:inline-block;
}

/* Buttons */

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

.btn{
  padding:12px 26px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  transition:.3s;
}

.btn.primary{
  background:#000;
  color:#fff;
}

.btn.primary:hover{
  background:#222;
}

.btn.outline{
  border:2px solid #000;
  color:#000;
}

.btn.outline:hover{
  background:#000;
  color:#fff;
}

/* BTS progress bar */

.progress-wrap{
  width:280px;
  height:14px;
  background:#eee;
  border-radius:20px;
  overflow:hidden;
  margin:20px auto 15px;
}

.progress-bar{
  width:60%;
  height:100%;
  background:linear-gradient(90deg,#ff7a00,#ffc36a);
  animation:loading 2s infinite alternate;
}

.launch-text{
  color:#777;
  font-size:15px;
  display:block;
  margin-bottom:25px;
}

/* Animations */

@keyframes loading{
  from{width:40%;}
  to{width:85%;}
}

@keyframes fade{
  from{opacity:0; transform:translateY(20px);}
  to{opacity:1; transform:translateY(0);}
}

/* Mobile */

@media(max-width:500px){
  .status-card{
    padding:40px 25px;
  }

  .status-card h1{
    font-size:28px;
  }
}
/* Sale page feature list */

.sale-features{
  list-style:none;
  padding:0;
  margin:20px 0 30px;
}

.sale-features li{
  font-size:16px;
  color:#444;
  margin:8px 0;
}
/* ORDER PAGE UI */

.order-box {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform .2s ease;
}

.order-box:hover {
  transform: translateY(-3px);
}

.order-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: green;
}

.order-product-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.order-product-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #eee;
}

.order-product-info h6 {
  margin: 0;
  font-weight: 600;
}

.order-product-info p {
  margin: 3px 0;
  color: #555;
}

.arrow-btn {
  margin-left: auto;
  font-size: 20px;
  color: #0d6efd;
  text-decoration: none;
}

.return-info {
  margin-top: 10px;
  font-size: 13px;
  color: #888;
}

.order-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.order-action a {
  font-size: 14px;
  color: #0d6efd;
  text-decoration: none;
}

/* STATUS COLORS */

.badge-placed { background:#ffeeba; color:#856404; }
.badge-confirmed { background:#cce5ff; color:#004085; }
.badge-shipped { background:#d4edda; color:#155724; }
.badge-delivered { background:#b8f2d1; color:#0f5132; }
.badge-cancelled { background:#f8d7da; color:#721c24; }
.badge-partially-cancelled { background:#fff3cd; color:#856404; }

/* MOBILE */

@media(max-width:600px){
  .order-product-row{
    flex-direction: column;
    align-items: flex-start;
  }

  .arrow-btn{
    align-self: flex-end;
  }
}

