
:root {
  --primary-color: #EB0000;
  --secondary-color: #7A0000;
  --dark-color: #292929;
  --light-color: #f8f9fa;
  --text-color: #333;
  --text-light: #6c757d;
  --border-color: #e9ecef;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --shop-color-primary: #e8007c;
  --shop-color-secondary: #00c153;
  --shop-color-tertiary: #ff00ae;
  --shop-color-test: #e8007c;
  --shop-color-primary-light: color-mix(in srgb, var(--shop-color-primary) 20%, white 80%);
  --shop-color-primary-light-2: color-mix(in srgb, var(--shop-color-primary) 30%, white 70%);
  --shop-color-primary-light-3: color-mix(in srgb, var(--shop-color-primary) 10%, white 90%);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  font-weight: 500;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

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

/* Top Bar */
.top-bar {
  background-color: var(--dark-color);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info span {
  margin-right: 20px;
}

.contact-info i {
  margin-right: 5px;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-links a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.language-currency select {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 10px;
  cursor: pointer;
}

/* Main Header */
.main-header {
  padding: 15px 0;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100000;
}

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

.logo img {
  height: 40px;
  width: auto;
}

/* Search Bar */
.search-bar {
  flex: 1;
  max-width: 600px;
}

.searchResults{
  position: absolute;
  top: 40px;
  background: #fff;
  width: 100%;
}

.search-container {
  display: flex;
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  overflow: visible;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}


.search-container input {
  flex: 1;
  padding: 10px 20px;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-container button {
  padding: 0 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
}

.search-container button:hover {
  background-color: var(--secondary-color);
}

/* User Actions */
.user-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-color);
  text-decoration: none;
  position: relative;
  padding: 5px 10px;
  border-radius: 4px;
  transition: var(--transition);
}

.action-btn:hover {
  background-color: #f5f5f5;
  color: var(--primary-color);
}

.action-btn i {
  font-size: 20px;
  margin-bottom: 2px;
}

.action-text {
  font-size: 12px;
  font-weight: 500;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

/* Responsive Adjustments for search */
@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
  }
  
  .search-bar {
    order: 3;
    flex: 1 0 100%;
    margin-top: 15px;
  }
  .search-container {
    margin-left: 42px;
  }
  
  .user-actions {
    margin-left: auto;
  }
}

@media (max-width: 576px) {
  .logo img {
    max-height: 32px;
  }
  
  .action-text {
    display: none;
  }
  
  .action-btn {
    padding: 5px;
  }
  
  .cart-badge {
    top: -3px;
    right: -3px;
  }
}

/* Main Navigation */
.main-navigation {
  background-color: var(--primary-color);
  color: white;
}

.category-menu {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.category-item, .nav-item {
  position: relative;
}

.category-link, .nav-item a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.category-link:hover, .nav-item a:hover {
  background-color: var(--secondary-color);
}

/* Hero Slider */
@media screen and (max-width: 768px){
    #hero-slider {
        width: 100%;
        height: auto;
        
        object-position: center;
        object-fit: contain;

    }
    #hero-slider img {
        width: 100%;
        height: auto;
        object-position: center;
        object-fit: contain;
    }
}
.hero-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
  margin-top: 20px;
}

.wrap-slider {
  width: 100%;
  position: relative;
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 768px){
    .slider {
        width: 100%;
        height: auto;
        
        object-position: center;
        object-fit: contain;
    }
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}
@media screen and (max-width: 768px){
    .slides {
        display: flex;
        width: 100%;
        transition: transform 0.5s ease-in-out;
        will-change: transform;
    }
}

.slide {
  min-width: 100%;
  position: relative;
  flex-shrink: 0;
  height: 0;
  padding-bottom: 40%; /* 16:9 aspect ratio */
  overflow: hidden;
}
@media screen and (max-width: 768px){
    .slide {
        min-width: 100%;
        position: relative;
        flex-shrink: 0;
        height: 0;
        padding-bottom: 40%; /* 16:9 aspect ratio */
        overflow: hidden;
    }
}

.slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media screen and (max-width: 768px){
    .slide img {
        width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    
  }
}




.slider .prev,
.slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  color: #333;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 768px){
    .slider .prev,
    .slider .next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.8);
        border: none;
        border-radius: 50%;
        color: #333;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
}

.slider .prev:hover,
.slider .next:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}
@media screen and (max-width: 768px){
    .slider .prev:hover,
    .slider .next:hover {
        background: #fff;
        transform: translateY(-50%) scale(1.05);
    }
}

.slider .prev {
  left: 20px;
}
@media screen and (max-width: 768px){
    .slider .prev {
        left: 20px;
    }
}

.slider .next {
  right: 20px;
}
@media screen and (max-width: 768px){
    .slider .next {
        right: 20px;
    }
}

/* .slide .content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  max-width: 500px;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

.slide .content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.slide .content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #666;
} */



/* Hero Section with Categories */
.hero-section {
  margin-bottom: 30px;
}

.hero-container {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

/* Categories Sidebar */
/* --- Filter Sidebar (compact) --- */
.filter-card { 
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 12px;
  margin-bottom: 12px; 
  margin-left: 12px;
  margin-right: 12px;
  }
.filter-card:last-child { 
  border-bottom: 0; 
  margin-bottom: 0; 
  margin-left: 12px;
  margin-right: 12px;
  }
.filter-title { 
  font-size: 16px; 
  font-weight: 700; 
  margin: 0 0 10px; 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  margin-left: 12px;
  margin-right: 12px;
  }

/* icon and filter  */
.size-options, .chip-row { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 8px; 
  margin-left: 12px;
  margin-right: 12px;
  }
.size-option, .chip {
  min-width: 36px; 
  height: 32px; 
  padding: 0 12px; 
  border-radius: 8px;
  border: 1px solid #e5e7eb; 
  background: #fff; 
  cursor: pointer; 
  font-weight: 600; 
  font-size: 13px;
}
.size-option:hover, .chip:hover { 
  background: #f9fafb; border-color: #d1d5db; }
.size-option.selected, .chip.selected { 
  background: var(--primary-color); 
  border-color: var(--primary-color); 
  color: #fff; 
}

/* Color swatches */
.color-swatches { 
  display: inline-flex; 
  gap: 8px; 
  margin-left: 12px;
  margin-right: 12px;
  }
.color-swatch {
  width: 28px; 
  height: 28px; 
  border-radius: 999px;
  border: 2px solid #e5e7eb; 
  background: var(--sw, #ddd); 
  cursor: pointer;
}
.color-swatch.selected { 
  border-color: var(--primary-color); 
  box-shadow: 0 0 0 3px rgba(235,0,0,.15); 
}

/* Checkbox list (Catagory) */
.check-list { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: grid; 
  gap: 8px; 
  margin-left: 12px;
  margin-right: 12px;
  }
.check-list label { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  color: #374151; 
  font-size: 14px; 
}
/* Category Sidebar 2*/
.categories-sidebar {
  width: 100%;
  background: white;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
    .categories-sidebar {
        overflow: hidden;
        display: none;
    }
}
@media screen and (max-width: 576px) {
    #filter-sidebar {
        display: none;
    }
}

.categories-header {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 20px;
}

.categories-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.categories-list li {
  border-bottom: 1px solid var(--border-color);
}

.categories-list li:last-child {
  border-bottom: none;
}

.categories-list a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.categories-list a:hover {
  background-color: #f8f9fa;
  color: var(--primary-color);
  padding-left: 25px;
}

.categories-list i {
  width: 20px;
  margin-right: 10px;
  text-align: center;
  color: var(--text-light);
}

.categories-list a:hover i {
  color: var(--primary-color);
}

/* Hero Slider Adjustments */
.hero-slider {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Slider Item Adjustments */
.slider-item {
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 60px;
  position: relative;
}

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

.section-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark-color);
}

.view-all {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
}

/* Categories Section */
.categories-section {
  padding: 3rem 0;
 
}

.categories-container {
  position: relative;
}

/* Mobile Categories Toggle */
.mobile-categories-toggle {
  display: none; /* Hidden by default, shown on mobile */
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  cursor: pointer;
}

.hamburger-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-categories-toggle {
    display: flex;
  }
  
  .categories-container {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
  }
  
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .category-image {
    width: 100%;
    height: 100%;
  }
  
  .category-name {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .category-card {
    padding: 0.8rem 0.5rem;
  }
  
  .category-image {
    width: 100%;
    height: 100%;
  }
  
  .category-name {
    font-size: 0.8rem;
  }
}

/* Category Card */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease;
  padding: 1rem 0.5rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-image {
  width: 100px;
  height: 100px;
  
  overflow: hidden;
  margin-bottom: 0.8rem;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
  
}

.category-card:hover .category-image {
  background: #fff;
  border-color:#000;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-card:hover .category-image img {
  transform: scale(1.1);
}

.category-name {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  margin: 0;
  color: #333;
}

.category-card:hover .category-name {
  color: #000;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .category-image {
    width: 70px;
    height: 70px;
  }
  
  .category-name {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .category-card {
    padding: 0.8rem 0.5rem;
  }
  
  .category-image {
    width: 60px;
    height: 60px;
  }
  
  .category-name {
    font-size: 0.8rem;
  }
}

/* Ensure section headers are consistent */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--shop-color-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.view-all i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.view-all:hover {
  color: var(--shop-color-secondary);
  text-decoration: underline;
}

.view-all:hover i {
  transform: translateX(3px);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* Product Tabs */
.product-tabs {
  padding: 3rem 0;
  background-color: #f9f9f9;
}

/* .tabs-header {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
} */

.tab-btn {
  padding: 0.8rem 1.5rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background: #f0f0f0;
}

.tab-btn.active {
  background: var(--shop-color-primary);
  color: #fff;
  border-color: var(--shop-color-primary);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

/* Product Card */
.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #5e0000;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  z-index: 1;
}

.product-image {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: #f8f8f8;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.product-card:hover .product-actions {
  transform: translateY(0);
}

.wishlist-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e6e6e6;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
}

.wishlist-heart:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

.wishlist-heart i {
  pointer-events: none;
}

.btn-add-to-cart {
  flex: 1;
  background: var(--shop-color-primary);
  color: #fff;
  border: none;
  padding: 0.6rem;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-add-to-cart:hover {
  background: var(--shop-color-secondary);
}

.btn-quick-view {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-quick-view:hover {
  background: #f5f5f5;
  color: var(--shop-color-primary);
}

.product-info {
  padding: 1.2rem;
  
}

.product-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.product-price {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.current-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--shop-color-primary);
}

.original-price {
  font-size: 0.9rem;
  color: #999;
  text-decoration: line-through;
}

.product-rating {
  margin-bottom: 1rem;
}

.stars {
  color: #ffc107;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 0.2rem;
}

.rating-count {
  color: #666;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

/* Product Options (Color & Size) */
.pd-options { display: grid; gap: 12px; margin: 8px 0 8px; }
.opt-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.opt-label { min-width: 56px; color: #374151; font-weight: 600; }

.color-swatches { display: inline-flex; gap: 8px; }
.color-swatch { width: 28px; height: 28px; border-radius: 999px; border: 2px solid #e5e7eb; background: var(--sw, #eee); cursor: pointer; position: relative; }
.color-swatch.selected { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(235,0,0,.15); }
.color-swatch:focus { outline: none; box-shadow: 0 0 0 3px rgba(59,130,246,.4); }

.size-options { display: inline-flex; gap: 8px; }
.size-option { min-width: 36px; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; cursor: pointer; font-weight: 600; }
.size-option.selected { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.size-option:focus { outline: none; box-shadow: 0 0 0 3px rgba(59,130,246,.3); }

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--shop-color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.view-all:hover {
  color: var(--shop-color-secondary);
  text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .product-tabs {
    padding: 2rem 0;
  }
  
  /* .tabs-header {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  } */
  
  /* .tabs-header::-webkit-scrollbar {
    height: 4px;
  }
  
  .tabs-header::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
  } */
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }
  
  .section-header h2 {
    font-size: 1.3rem;
  }
  
  .product-info {
    padding: 1rem;
  }
  
  .product-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }
  
  .btn-add-to-cart,
  .btn-order-now {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Product CTA row: basket button + order button */
.product-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.basket-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #f0f0f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #555;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  cursor: pointer;
  transition: all .2s ease;
}

.basket-btn i { font-size: 18px; line-height: 1; pointer-events: none; }

.basket-btn:hover,
.basket-btn:focus {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 10px rgba(235,0,0,.25);
}

/* Make order button flex nicely next to basket */
.product-cta .btn-order-now { flex: 1; }

@media (max-width: 480px) {
  .basket-btn { width: 40px; height: 40px; }
}

/* Footer Styles */
.main-footer {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

/* Footer Top - Red Background */
.footer-top {
  background-color: #e63946; /* Red background */
  color: #ffffff; /* White text */
  padding: 50px 0 30px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-column {
  margin-bottom: 20px;
}

.footer-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #ffffff;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-links i {
  margin-right: 8px;
  width: 18px;
  text-align: center;
}

/* Footer Bottom - Dark Background */
.footer-bottom {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 20px 0;
  font-size: 13px;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #e63946;
  text-decoration: underline;
}

.divider {
  color: #555;
  margin: 0 5px;
}

.copyright {
  color: #999;
}

.copyright a {
  color: #e63946;
  text-decoration: none;
}

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

.brand {
  color: #e63946;
  font-weight: 600;
  margin-left: 5px;
}

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

@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }
  
  .footer-column {
    margin-bottom: 30px;
  }
  
  .footer-title {
    margin-bottom: 15px;
  }
}

/* Font Faces */
@font-face {
  font-family: 'Satoshi';
  src: url("/frontend/themes/default/media/Satoshi-Light.otf") format("truetype");
  font-display: swap;
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Satoshi';
  src: url("/frontend/themes/default/media/Satoshi-Regular.otf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Satoshi';
  src: url("/frontend/themes/default/media/Satoshi-Italic.otf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Satoshi';
  src: url("/frontend/themes/default/media/Satoshi-Medium.otf") format("truetype");
  font-display: swap;
  font-weight: 500;
}

@font-face {
  font-family: 'Satoshi';
  src: url("/frontend/themes/default/media/Satoshi-Black.otf") format("truetype");
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Satoshi';
  src: url("/frontend/themes/default/media/Satoshi-Black.otf") format("truetype");
  font-display: swap;
  font-weight: 900;
  font-style: normal;
}

/* Material Icons */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/materialicons/v143/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  /* -webkit-font-feature-settings: 'liga'; */
  -webkit-font-smoothing: antialiased;
}

/* Reset and Base Styles */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: block;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  font-family: Satoshi, sans-serif;
  font-style: normal;
  scroll-behavior: smooth;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

/* Add responsive styles */
@media (max-width: 599px) {
  body {
    background-color: #f0f1f6 !important;
  }
}

/* Mobile Cart Styles */
@media (max-width: 768px) {
  .cart-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    transform: none;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    background: white;
    border-radius: 15px 15px 0 0;
    height: auto;
    max-height: 90vh;
    overflow: hidden;
    display: none;
  }

  .cart-icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: white;
    border-radius: 15px 15px 0 0;
    cursor: pointer;
    position: relative;
  }

  .cart-icon i {
    font-size: 24px;
    color: #e63946;
  }

  .cart-count {
    position: static;
    width: 24px;
    height: 24px;
    background-color: #e63946;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-size: 14px;
  }

  .cart-dropdown {
    position: relative;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-radius: 0;
    box-shadow: none;
    right: auto;
    left: 0;
    top: 0;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .cart-sidebar.active .cart-dropdown {
    max-height: 70vh;
    padding: 15px;
    border-top: 1px solid #eee;
  }

  .cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
  }

  .cart-header h4 {
    margin: 0;
    font-size: 18px;
    color: #333;
  }

  .close-cart {
    font-size: 24px;
    cursor: pointer;
    color: #666;
  }

  .cart-empty {
    text-align: center;
    padding: 20px 0;
  }

  .cart-empty i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
  }

  .cart-empty p {
    margin: 10px 0;
    color: #666;
  }

  .btn-continue-shopping {
    display: inline-block;
    background: #e63946;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    transition: background 0.3s;
  }

  .btn-continue-shopping:hover {
    background: #c1121f;
  }

  /* Cart items list */
  .cart-items {
    max-height: 50vh;
    overflow-y: auto;
    padding: 0 10px;
  }
}

/* Header Cart Styles */
.header-cart {
  position: relative;
}

.header-cart .cart-dropdown {
  position: absolute;
  right: -150px;
  top: calc(100% + 1px);
  z-index: 1200;
}

.header-cart .cart-dropdown:hover {
  opacity: 1;
  visibility: visible;
}

.header-cart:hover .cart-dropdown {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .header-cart:hover .cart-dropdown {
    display: none;
  }
}

/* Shopping Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1000;
  transition: all 0.3s ease;
}

.cart-icon {
  background-color: #e63946;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 5px 0px 0px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.cart-icon:hover {
  background-color: #c1121f;
}

.cart-count {
  position: absolute;
  top: -8px;
  left: -8px;
  background-color: #c1121f;
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* Ensure sidebar dropdown is hoverable (override generic display:none) */
.cart-sidebar .cart-dropdown {
  display: block !important; /* header cart still uses .active to toggle */
  position: absolute;
  right: 100%;
  top: 0;
  width: 320px;
  background: #fff;
  border-radius: 0 5px 5px 0;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-20px);
  transition: all 0.3s ease;
  max-height: 80vh;
  overflow-y: auto;
}

/* Reveal on hover of the whole sidebar area (icon + dropdown) */
.cart-sidebar:hover .cart-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.cart-header h4 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.close-cart {
  font-size: 22px;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.close-cart:hover {
  color: #e63946;
}

.cart-empty {
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cart-empty i {
  font-size: 50px;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.cart-empty p {
  margin: 5px 0;
  color: #666;
  font-size: 14px;
}

.cart-empty p:first-of-type {
  font-weight: 600;
  color: #333;
  font-size: 15px;
  margin-top: 15px;
}

.btn-continue-shopping {
  display: inline-block;
  background-color: #e63946;
  color: white;
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 20px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.btn-continue-shopping:hover {
  background-color: #c1121f;
}


/* Show cart items when not empty */
.cart-has-items .cart-empty {
  display: none;
}

.cart-has-items .cart-items {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .cart-dropdown {
    width: 280px;
  }
  
  .cart-sidebar {
    top: auto;
    bottom: 20px;
    transform: none;
  }
  
  .cart-dropdown {
    right: 0;
    top: auto;
    bottom: 100%;
    margin-bottom: 10px;
    border-radius: 5px 5px 5px 0;
  }
}

/* for mobile nav menu */
.menu-toggle{
    display: none;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 60px;
        left: 10px;
        z-index: 1000;
        cursor: pointer;
        padding: 10px;
        color: red;
        font-size: 25px;
    }
}
/* Sidebar hidden by default */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 8px rgba(0,0,0,.2);
  transition: left 0.3s ease;
  z-index: 2000;
  padding: 1rem;
  min-width: 250px;
}
.mobile-sidebar.active {
  left: 0;
}


.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #333;
}

.mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-list li {
  margin: 12px 0;
}
.mobile-list li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
}
.mobile-list li a i {
  margin-right: 8px;
  color: #ff5722;
}

.sidebar-overlay {
  display: none;
}
.sidebar-overlay.active {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1500;
}
/* Sidebar Submenu Styles */
.mobile-list li {
  position: relative;
}

.mobile-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

.mobile-list li a i {
  margin-right: 8px;
  color: #ff5722;
}

.mobile-list .arrow {
  font-size: 14px;
  color: #888;
  transition: transform 0.3s ease;
}

.submenu {
  display: none;
  list-style: none;
  padding-left: 15px;
  margin-top: 5px;
}

.submenu li a {
  font-size: 14px;
  color: #555;
  padding: 8px 5px;
}

.has-submenu.open > .submenu {
  display: block;
}

.has-submenu.open > a .arrow {
  transform: rotate(90deg); /* arrow points down */
}
/* Mobile menu end */

/* Bottom nave menu for mobile start */
.bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 2000;
  }
  .bottom-nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .bottom-nav a i {
    font-size: 18px;
    margin-bottom: 4px;
    color: #ff5722;
  }
}

/* Bottom nave menu for mobile end */
/* Hero Section with Categories */
.hero-section {
  background: #fff;
  padding: 20px 0 10px;
}
.hero-container {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 16px;
}
.categories-sidebar {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.categories-header {
  background: var(--primary-color);
  color: #fff;
  padding: 12px 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.categories-list {
  padding: 8px 0;
}
.categories-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #444;
  font-size: 14px;
  transition: background .2s ease, color .2s ease;
}
.categories-list li a:hover {
  background: #fafafa;
  color: var(--primary-color);
}
.hero-slider .wrap-slider {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.hero-slider img { width: 100%; display: block; }
.wrap-slider .prev, .wrap-slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none; color: #333; background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  display: grid; place-items: center;
  cursor: pointer;
}
.wrap-slider { position: relative; }
.wrap-slider .prev { left: 10px; }
.wrap-slider .next { right: 10px; }

/* Promo Tiles */
.promo-tiles { margin: 12px auto 24px; }
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.promo-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 8px 10px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.promo-tile img { width: 84px; height: 56px; object-fit: cover; border-radius: 8px; }
.promo-text { display: grid; gap: 4px; }
.promo-text .badge {
  display: inline-block;
  background: #FFE7E7;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}
.promo-text p { font-size: 12px; color: #666; }

/* Product Rating (stars) */
.product-rating .stars { color: #FFC107; font-size: 12px; }
.product-rating .rating-count { color: #888; font-size: 12px; margin-left: 6px; }

/* Bengali CTA button */
.btn-order-now {
  width: 100%;
  padding: 10px 12px;
  background: var(--secondary-color);
  color: #fff;
  border: 1px solid var(--secondary-color);
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: .2px;
  cursor: pointer;
  transition: background .2s ease, transform .05s ease;
}
.btn-order-now:hover { background: #5e0000; }
.btn-order-now:active { transform: translateY(1px); }

/* Small badge on product card (discount) already styled as .product-badge */

/* Section spacing tweaks */
.section-header { margin-top: 8px; }

/* Responsive for hero/promo */
@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .promo-grid { grid-template-columns: 1fr; }
}

/* Product Details Page */
.product-page { padding: 20px 0 60px; background: #fff; }

.breadcrumb { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  font-size: 13px; 
  color: #6b7280; 
  margin: 12px 0 20px; 
}
.breadcrumb a { color: #6b7280; }
.breadcrumb a:hover { color: var(--primary-color); text-decoration: underline; }
.breadcrumb .current { color: #111827; font-weight: 500; }

.product-wrapper { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
.product-left .product-card-lg {
  background: #fff; 
  border: 1px solid var(--border-color); 
  border-radius: 12px; 
  padding: 16px; 
  position: relative; 
  box-shadow: 0 2px 8px rgba(0,0,0,.04); 
}
.badge-green { 
  position: absolute; 
  top: 12px; 
  left: 12px; 
  background: #16a34a; 
  color: #fff; 
  font-size: 12px; 
  padding: 4px 8px; 
  border-radius: 6px; 
  z-index: 3; 
}

.product-gallery { display: grid; grid-template-columns: 1fr; gap: 10px; }
.gallery-main { 
  width: 100%; 
  aspect-ratio: 1 / 1; 
  background: #f8fafc; 
  border: 1px solid #e5e7eb; 
  border-radius: 10px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  overflow: hidden; 
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery-thumbs .thumb { 
  width: 100%; 
  aspect-ratio: 1 / 1; 
  border: 1px solid #e5e7eb; 
  border-radius: 8px; 
  background: #fff; 
  padding: 6px; 
  object-fit: contain; 
  cursor: pointer; 
  transition: all .2s ease; 
}
.gallery-thumbs .thumb:hover { border-color: var(--primary-color); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.gallery-thumbs .thumb.active { outline: 2px solid var(--primary-color); outline-offset: 0; }

/* Tabs under gallery */
.pd-tabs { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.pd-tab-headers { display: flex; gap: 0; padding: 6px; background: #fff; border-bottom: 1px solid #e5e7eb; }
.pd-tab-btn { 
  flex: 0 0 auto; 
  padding: 10px 16px; 
  border: 1px solid #e5e7eb; 
  background: #fff; 
  border-radius: 999px; 
  margin: 4px; 
  cursor: pointer; 
  font-weight: 600; 
  color: #374151; 
}
.pd-tab-btn.active { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.pd-tab-body { padding: 16px; }
.pd-tab-panel { display: none; color: #374151; }
.pd-tab-panel.active { display: block; animation: fadeIn .25s ease; }
.pd-bullets { padding-left: 18px; display: grid; gap: 6px; }
.pd-bullets li { list-style: disc; }

/* Right Sidebar cards */
.sidebar-card { 
  background: #fff; 
  border: 1px solid var(--border-color); 
  border-radius: 12px; 
  padding: 16px; 
  box-shadow: 0 2px 8px rgba(0,0,0,.04); 
}
.sidebar-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.related-list { display: grid; gap: 10px; }
.rel-item { 
  display: grid; 
  grid-template-columns: 60px 1fr auto; 
  gap: 10px; 
  align-items: center; 
  text-decoration: none; 
  color: inherit; 
}
.rel-item img { 
  width: 60px; height: 60px; object-fit: cover; border-radius: 8px; border: 1px solid #e5e7eb; }
.rel-title { font-size: 14px; color: #374151; margin: 0 0 4px; }
.rel-price { font-weight: 700; color: #ef4444; }

.cat-list { display: grid; gap: 8px; }
.cat-list li a { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  padding: 8px 10px; 
  border-radius: 8px; 
  color: #374151; 
  border: 1px solid #f3f4f6; 
}
.cat-list li a:hover { 
  border-color: var(--primary-color); 
  color: var(--primary-color); 
  background: #fff; 
}

/* Responsive */
@media (max-width: 992px) {
  .product-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .pd-title { font-size: 20px; }
  .price-now { font-size: 24px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}



/* Cart Dropdown (header and right-side) */
.cart-dropdown 
{ background: #fff; 
  border: 1px solid #e5e7eb; 
  border-radius: 12px; 
  box-shadow: 0 8px 24px rgba(0,0,0,.12); 
  width: 360px; 
  max-height: 70vh; 
  overflow: hidden; 
  display: none; 
  position: absolute; 
  right: 0; 
  top: 100%; }
.cart-dropdown.active { display: block; }
.cart-dropdown .cart-header { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 12px 14px; 
  border-bottom: 1px solid #f1f5f9; 
}
.cart-dropdown .cart-items { 
  max-height: 45vh; 
  overflow: auto; 
  padding: 10px; 
  display: grid; 
  gap: 10px; 
}
.cart-empty { padding: 16px; text-align: center; color: #6b7280; }

.cart-item { 
  
  display: flex;
  align-items: flex-start;    
  gap: 10px; 
  padding: 8px; 
  border: 1px solid #f1f5f9; 
  border-radius: 10px; 
}
.cart-item img { 
  width: 56px; 
  height: 56px; 
  object-fit: cover; 
  border-radius: 8px; 
  border: 1px solid #e5e7eb; 
}
.cart-item .ci-title { 
  font-size: 14px; 
  font-weight: 600; 
  color: #111827; 
  margin-bottom: 4px; 
}
.cart-item .ci-qty { 
  display: inline-flex; 
  align-items: center; 
  border: 1px solid #e5e7eb; 
  border-radius: 999px; 
  overflow: hidden; 
}
.cart-item .ci-qty button { 
  width: 28px; 
  height: 28px; 
  border: none; 
  background: #f3f4f6;
  cursor: pointer;
}
.cart-item .ci-qty input { 
  width: 40px; 
  height: 28px; 
  border: none; 
  text-align: center; 
  font-weight: 600; 
}
.cart-item .ci-total { 
  font-weight: 700; 
  color: #ef4444; 
}
.cart-item .ci-remove { 
  color: #ef4444; 
  cursor: pointer; 
  padding: 6px; 
  border-radius: 6px; 
}
.cart-item .ci-remove:hover { 
  background: #fee2e2; 
}

.cart-footer { 
  border-top: 1px solid #f1f5f9;
   padding: 12px 14px; }
   
.cart-subtotal { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  font-weight: 700; 
  margin-bottom: 10px; 
}
.cart-actions { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 10px; 
}
.cart-actions .btn { 
  padding: 10px; 
  border-radius: 8px; 
  text-align: center; 
  cursor: pointer; 
  border: 1px solid #e5e7eb; 
}
.cart-actions .btn-primary { 
  background: var(--primary-color); 
  color: #fff; 
  border-color: var(--primary-color); 
}
.cart-actions .btn-secondary { 
  background: #fff; 
  color: #111827; 
}

/* Right side cart container specifics */
.cart-sidebar { position: fixed; right: 12px; top: 40%; transform: translateY(-50%); z-index: 1000; }
.cart-sidebar .cart-icon { 
  background: var(--primary-color); 
  color: #fff; 
  width: 48px; 
  height: 48px; 
  border-radius: 999px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  box-shadow: 0 8px 24px rgba(0,0,0,.2); 
  cursor: pointer; 
  position: relative; }
.cart-sidebar .cart-count { 
  position: absolute; 
  top: -6px; 
  right: -6px; 
  background: #fff; 
  color: var(--primary-color); 
  border: 2px solid var(--primary-color); 
  width: 22px; 
  height: 22px; 
  border-radius: 999px; 
  font-size: 12px; 
  font-weight: 800; 
  display: flex; 
  align-items: center; 
  justify-content: center; }
.cart-sidebar .cart-dropdown { right: 0; top: auto; margin-top: 10px; position: absolute; }

/* Image Lightbox Modal */
.img-modal { 
  position: fixed; 
  inset: 0; 
  background: rgba(0,0,0,.85); 
  display: none; 
  align-items: center; 
  justify-content: center; 
  z-index: 2000; 
}
.img-modal.open { display: flex; }
.img-modal img { 
  max-width: 95vw; 
  max-height: 90vh; 
  object-fit: contain; 
  border-radius: 8px; 
  box-shadow: 0 10px 30px rgba(0,0,0,.4); 
}
.img-modal .img-close { 
  position: absolute; 
  top: 16px; 
  right: 16px; 
  width: 42px; 
  height: 42px; 
  border-radius: 999px; 
  border: none; 
  background: rgba(255,255,255,.15); 
  color: #fff; 
  font-size: 28px; 
  cursor: pointer; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
}
.img-modal .img-close:hover { background: rgba(255,255,255,.3); }

/* Bottom Success Toast */
.cart-toast { 
  position: fixed; 
  left: 50%; 
  transform: translateX(-50%) translateY(120%); 
  bottom: 16px; 
  z-index: 3000; 
  background: #10b981; 
  color: #fff; 
  border-radius: 10px; 
  box-shadow: 0 10px 30px rgba(0,0,0,.25); 
  min-width: 300px; 
  max-width: 640px; 
  width: calc(100% - 24px); 
  transition: transform .25s ease, opacity .25s ease; 
  opacity: 0; 
}
.cart-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.cart-toast .toast-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.cart-toast .toast-left { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.cart-toast .toast-left i { font-size: 18px; }
.cart-toast .toast-left .toast-view { color: #fff; text-decoration: underline; }
.cart-toast .toast-right { display: flex; align-items: center; gap: 8px; }
.cart-toast .toast-right .btn-outline { background: transparent; color: #fff; border: 2px solid #fff; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.cart-toast .toast-right .toast-close { background: transparent; border: none; color: #fff; font-weight: 600; cursor: pointer; }
@media (max-width: 480px) { .cart-toast .toast-inner { flex-direction: column; align-items: stretch; } }

/* Checkout Page */
.checkout-page { padding: 24px 0 60px; background: #fff; }
.co-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; }
.co-left .co-title { font-size: 20px; font-weight: 800; margin-bottom: 12px; }

/* Form */
.co-form { display: grid; gap: 14px; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-field { display: grid; gap: 6px; }
.co-field label { font-weight: 600; color: #111827; }
.co-field input, .co-field textarea { border: 1px solid #e5e7eb; border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.co-field textarea { resize: vertical; }

.co-sub { font-size: 16px; font-weight: 800; margin: 6px 0; }
.co-delivery { display: flex; gap: 18px; align-items: center; padding: 6px 0 4px; }
.co-delivery .radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }

/* Payment */
.co-payments { display: grid; gap: 12px; margin-top: 6px; }
.pay-card { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; padding: 12px; border: 2px solid #e5e7eb; border-radius: 10px; background: #fff; cursor: pointer; text-align: left; }
.pay-card.active { border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(235,0,0,.08); }
.pay-flag { color: var(--primary-color); }
.pay-icon img { width: 40px; height: 26px; object-fit: contain; }
.pay-text { font-weight: 700; }

/* Summary */
.co-summary { border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px; background: #fff; position: sticky; top: 16px; }
.co-summary .cs-title { font-weight: 800; margin-bottom: 10px; }
.co-items { display: grid; gap: 10px; margin-bottom: 10px; }
.co-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; border: 1px solid #f1f5f9; border-radius: 10px; padding: 8px; }
.co-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid #e5e7eb; }
.co-item .title { font-weight: 600; color: #111827; margin-bottom: 4px; }
.co-item .variant { font-size: 12px; color: #6b7280; margin-bottom: 6px; }
.co-item .qty { display: inline-flex; align-items: center; border: 1px solid #e5e7eb; border-radius: 999px; overflow: hidden; }
.co-item .qty button { width: 28px; height: 28px; border: none; background: #f3f4f6; cursor: pointer; }
.co-item .qty input { width: 40px; height: 28px; border: none; text-align: center; font-weight: 600; }
.co-item .amount { font-weight: 800; color: #111827; text-align: right; }
.co-item .remove { color: #ef4444; cursor: pointer; padding: 6px; border-radius: 6px; }
.co-item .remove:hover { background: #fee2e2; }

.co-lines { display: grid; gap: 6px; margin: 10px 0; font-weight: 600; }
.co-lines .line { display: flex; align-items: center; justify-content: space-between; }
.co-lines .line.total { border-top: 1px dashed #e5e7eb; padding-top: 8px; font-size: 18px; }

.co-coupon { margin: 8px 0 10px; }
.coupon-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.coupon-row input { border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px 10px; }
.coupon-row .btn { padding: 8px 12px; border-radius: 8px; }

.co-actions { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 10px; 
  text-decoration: none;
}
.co-back { 
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: red;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
 }
.co-back:hover { 
  text-decoration: underline; 
 }

@media (max-width: 992px) { .co-grid { grid-template-columns: 1fr; } }
@media (max-width: 576px) { .co-row { grid-template-columns: 1fr; } }

/* Cart Page */
.cart-page { padding: 24px 0 60px; background: #fff; }
.cart-title { font-size: 22px; font-weight: 800; margin: 6px 0 16px; }
.cart-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; }

.cart-table { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff; }
.ct-head { display: grid; grid-template-columns: 1fr 160px 120px 140px; gap: 0; background: #f9fafb; border-bottom: 1px solid #e5e7eb; font-weight: 800; color: #111827; }
.ct-head .ct-col { padding: 12px 12px; }
.ct-body { display: grid; }

/* Cart row */
.ct-row { display: grid; grid-template-columns: 1fr 160px 120px 140px; align-items: center; gap: 0; border-bottom: 1px solid #f1f5f9; }
.ct-row:last-child { border-bottom: none; }

/* Product column */
.ct-product { display: grid; grid-template-columns: 24px 64px 1fr auto; gap: 10px; padding: 10px 12px; align-items: center; }
.ct-product input[type="checkbox"] { width: 16px; height: 16px; }
.ct-product img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; border: 1px solid #e5e7eb; }
.ct-info { display: grid; gap: 4px; }
.ct-title { font-weight: 700; color: #111827; }
.ct-variant { font-size: 12px; color: #6b7280; }
.ct-remove { color: #ef4444; cursor: pointer; padding: 6px; border-radius: 6px; }
.ct-remove:hover { background: #fee2e2; }

/* Qty column */
.ct-qty { display: flex; align-items: center; justify-content: center; }
.ct-qty .qty { display: inline-flex; align-items: center; border: 1px solid #e5e7eb; border-radius: 999px; overflow: hidden; }
.ct-qty .qty button { width: 28px; height: 28px; border: none; background: #f3f4f6; cursor: pointer; }
.ct-qty .qty input { width: 44px; height: 28px; border: none; text-align: center; font-weight: 700; }

/* Price/Total columns */
.ct-price, .ct-total { padding: 10px 12px; font-weight: 700; color: #111827; text-align: right; }

/* Summary */
.cart-summary { border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px; background: #fff; position: sticky; top: 16px; }
.cart-summary .cs-title { font-weight: 800; margin-bottom: 10px; }
.cart-summary .cs-lines { display: grid; gap: 8px; margin-bottom: 12px; }
.cart-summary .line { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  font-weight: 700; 
}
.cart-summary .line.total { 
  border-top: 1px dashed #e5e7eb; 
  padding-top: 8px; 
  font-size: 18px; 
}
.cart-summary .cs-checkout { 
  width: 100%; 
  display: inline-block; 
  text-align: center; 
  margin-top: 6px;
  background-color: red; 
  padding: 12px;
  border-radius: 5px;
  color: white;
}

/* Recommendations */
.cart-reco { margin-top: 24px; }
.reco-title { font-size: 18px; font-weight: 800; margin-bottom: 10px; }

@media (max-width: 992px) { .cart-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .ct-head, .ct-row { grid-template-columns: 1fr; }
  .ct-head .ct-col { display: none; }
  .ct-product { grid-template-columns: 24px 56px 1fr auto; }
  .ct-price, .ct-total, .ct-qty { text-align: left; padding-left: 12px; }
}

/* Products Page — refinements to match screenshot */
.products-page { padding: 12px 0 60px; background: #fff; }
.products-page .pl-grid { display: grid; grid-template-columns: 280px 1fr; gap: 20px; }

/* Sidebar cards */
.products-page .pl-filters { display: grid; gap: 14px; align-content: start; }
.products-page .filter-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
/* Categories header in red like screenshot */
.products-page .cat-card { padding: 0; overflow: hidden; }
.products-page .cat-list { list-style: none; padding: 10px 10px 12px; margin: 0; display: grid; gap: 8px; }
.products-page .cat-list li a { 
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 10px; border-radius: 8px; text-decoration: none; color: #111827; border: 1px solid #f3f4f6;
}
.products-page .cat-list li a i { color: #9ca3af; width: 18px; }
.products-page .cat-list .count { color: #6b7280; font-weight: 500; }
.products-page .cat-list li a:hover { background: #fafafa; border-color: #e5e7eb; }

/* Brand list */
.products-page .brand-card .filter-title { margin-bottom: 8px; }
.products-page .brand-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.products-page .brand-list li a { display: block; padding: 8px 10px; border-radius: 8px; color: #111827; text-decoration: none; border: 1px solid #f3f4f6; }
.products-page .brand-list li a:hover { background: #fafafa; border-color: #e5e7eb; }

/* Price card */
.products-page .price-card .filter-title { margin-bottom: 8px; }
.products-page .price-range { display: flex; align-items: center; gap: 8px; }
.products-page .price-range input { border: 1px solid #e6e6e6; border-radius: 8px; padding: 8px 10px; }
.products-page .price-range .btn { padding: 8px 12px; border-radius: 8px; }

/* Toolbar */
.products-page .pl-toolbar { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 12px; }
.products-page .results-count { color: #374151; font-weight: 600; }
.products-page .sort-bar { display: inline-flex; align-items: center; gap: 8px; }
.products-page .sort-select { padding: 8px 10px; border: 1px solid #e6e6e6; border-radius: 6px; }

/* Grid — 5 col on wide, 4 on desktop, responsive downwards */
.products-page .products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 1280px) {
  .products-page .products-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
  .products-page .pl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .products-page .products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 480px) {
  .products-page .products-grid { grid-template-columns: 1fr; }
}

/* Product card tweaks to match screenshot */
.products-page .product-card { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.05); transition: transform .2s ease, box-shadow .2s ease; }
.products-page .product-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.products-page .product-image { position: relative; padding-top: 85%; background: #fff; }
.products-page .product-image img { object-fit: contain; }
/* Badge as dark-red pill */
.products-page .product-badge { position: absolute; top: 10px; left: 10px; background: #7A0000; color: #fff; padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; z-index: 2; }
/* Wishlist heart smaller */
.products-page .wishlist-heart { top: 10px; right: 10px; width: 34px; height: 34px; }

.products-page .product-info { padding: 10px; display: grid; gap: 6px; }
.products-page .product-title { font-size: 14px; font-weight: 600; text-align: center; color: #111827; }
.products-page .product-price { justify-content: center; gap: 8px; }
.products-page .current-price { color: var(--primary-color); font-weight: 800; }

/* CTA row */
.products-page .product-cta { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.products-page .basket-btn { width: 42px; height: 42px; }
.products-page .btn-order-now { background: var(--primary-color); border-color: var(--primary-color); }
.products-page .btn-order-now:hover { background: #b90000; border-color: #b90000; }

/* Load more */
.products-page .load-more-wrap { display: flex; justify-content: center; margin-top: 18px; }
.products-page .load-more { background: #fff; color: var(--primary-color); border: 2px solid var(--primary-color); padding: 10px 18px; border-radius: 8px; cursor: pointer; font-weight: 800; }
.products-page .load-more:hover { background: var(--primary-color); color: #fff; }
.products-page .pl-stats { margin-top: 10px; }

/* Products Page Layout */
.products-page .pl-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: start;
}

/* Filters sidebar */
.pl-filters {
  position: sticky;
  top: 90px; /* below sticky header */
  height: max-content;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

/* Filter cards */
.filter-card { border-bottom: 1px solid #f0f0f0; padding-bottom: 12px; margin-bottom: 12px; }
.filter-card:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.filter-title { font-size: 16px; font-weight: 700; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.cat-list, .brand-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cat-list a, .brand-list a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #444; font-size: 14px; justify-content: space-between; }
.cat-list a .count { color: #999; font-weight: 500; margin-left: 10px; }
.cat-list a:hover, .brand-list a:hover { color: var(--shop-color-primary); }

/* Price range */
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 100%; padding: 8px 10px; border: 1px solid #e6e6e6; border-radius: 6px; font-size: 14px; }
.price-range .btn-apply-price { padding: 8px 12px; border-radius: 6px; border: 1px solid var(--shop-color-primary); background: #fff; color: var(--shop-color-primary); cursor: pointer; }
.price-range .btn-apply-price:hover { background: var(--shop-color-primary); color: #fff; }

/* Toolbar */
.pl-toolbar { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 12px; }
.sort-bar { display: inline-flex; align-items: center; gap: 8px; }
.sort-bar label { font-weight: 600; color: #555; }
.sort-select { padding: 8px 10px; border: 1px solid #e6e6e6; border-radius: 6px; }

/* Grid — 5 col on wide, 4 on desktop, responsive downwards */
.products-page .pl-content .products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Section header right area with countdown */
.section-header .section-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.deal-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 8px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.deal-timer .time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #f9fafb;
  border: 1px solid #eef0f2;
}

.deal-timer .time-num {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}

.deal-timer .time-label {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.2;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .section-header .section-left {
    gap: 10px;
  }
  .deal-timer {
    padding: 6px 8px;
    gap: 6px;
  }
  .deal-timer .time-box {
    min-width: 54px;
    padding: 6px;
  }
  .deal-timer .time-num { font-size: 16px; }
  .deal-timer .time-label { font-size: 10px; }
}

@media (max-width: 480px) {
  .section-header { align-items: flex-start; }
  .section-header .section-left {
    flex-direction: column;
    align-items: flex-end;
    width: auto;
  }
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr); /* Desktop 8 img zahid*/
  gap: 10px;
}

.category-card {
  text-align: center;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  transition: all 0.3s ease;
}

.category-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Mobile View */
@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 img in mobile */
    gap: 5px;
    
  }
  .category-image{
    width: 100%;
    height: 100%;
  }
}


/* =============================
   Product View (pview.html)
   ============================= */
.product-view { padding: 24px 0 40px; background: #fff; }

.pv-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
@media (max-width: 992px) { .pv-grid { grid-template-columns: 1fr; } }

/* Left Card */
.pv-card { background: #fff; border-radius: 12px; box-shadow: var(--box-shadow); padding: 16px; }
.pv-flex { display: grid; grid-template-columns: 460px 1fr; gap: 24px; }
@media (max-width: 992px) { .pv-flex { grid-template-columns: 1fr; } }

/* Gallery */
.pv-gallery { position: relative; }
.pv-badge { 
  position: absolute; 
  top: 12px; 
  left: 12px; 
  background: #22c55e; 
  color: #fff; 
  font-weight: 700; 
  font-size: 12px; 
  padding: 4px 8px; 
  border-radius: 6px; 
  z-index: 2; 
}
.pv-image { 
  width: 100%; 
  aspect-ratio: 1 / 1; 
  background: #f8f9fa; 
  border: 1px solid #eee; 
  border-radius: 10px; 
  overflow: hidden; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}
.pv-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: 
  contain; 
}
.pv-thumbs { 
  display: flex; 
  grid-auto-flow: column; 
  gap: 10px; 
  margin-top: 12px; 
}
.pv-thumb { width: 64px; height: 64px; border-radius: 8px; border: 1px solid #e6e6e6; overflow: hidden; background: #fff; cursor: pointer; padding: 0; }
.pv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pv-thumb.active, .pv-thumb:hover { outline: 2px solid var(--primary-color); border-color: var(--primary-color); }

/* Info */
.pv-info { display: flex; flex-direction: column; gap: 12px; }
.pv-title { font-size: 24px; font-weight: 700; color: #111827; }
.pv-ratings { display: flex; align-items: center; gap: 8px; color: #6b7280; }
.pv-reviews { font-size: 14px; color: #6b7280; }

.pv-pricing { display: flex; align-items: baseline; gap: 12px; }
.pv-price { font-size: 32px; color: #e11d48; font-weight: 800; }
.pv-price-strike { font-size: 16px; color: #9ca3af; text-decoration: line-through; }

.pv-qty-actions { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.pv-qty { display: inline-flex; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; background: #fff; }
.pv-qty input { width: 56px; height: 40px; border: none; text-align: center; font-weight: 700; font-size: 16px; }
.pv-qty-btn { width: 40px; height: 40px; border: none; background: #f3f4f6; cursor: pointer; font-size: 18px; font-weight: 700; color: #111; }
.pv-qty-btn:hover { background: #e5e7eb; }

.pv-actions { 
  display: flex; 
  gap: 10px; 
}
.adtocartbtn{
  background: var(--primary-color); 
    color: #fff; 
    border-radius: 8px; 
    padding: 10px 16px; 
    font-weight: 700; 
    border: none; 
    cursor: pointer;
    transition: all 0.3s ease;
    width: 150px;
    height: 55px;
    font-size: 16px;
    
}

.orderbtn{
    
    background: var(--secondary-color); 
    color: #fff; 
    border-radius: 8px; 
    padding: 10px 16px; 
    font-weight: 700; 
    border: none; 
    cursor: pointer;
    transition: all 0.3s ease;
    width: 150px;
    height: 55px;
    font-size: 16px;
}
.adtocartbtn:hover{
    background: #ee7272;  
    
}
.orderbtn:hover{
    background: #ee7272;
    
}
.pv-btn-primary { 
  background: var(--primary-color); 
  color: #fff; 
  border-radius: 8px; 
  padding: 10px 16px; 
  font-weight: 700; 
  border: none; 
  cursor: pointer; 
}
.pv-btn-primary:hover { 
  background: var(--secondary-color); 
}
.pv-btn-secondary { 
  background: #7f1d1d; 
  color: #fff; 
  border-radius: 8px; 
  padding: 10px 16px; 
  font-weight: 700; 
  border: none; 
  cursor: pointer; 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
}
.pv-btn-secondary i { font-size: 14px; }

.pv-meta { 
  display: grid; 
  gap: 6px; 
  margin-top: 4px; 
  color: #6b7280; 
  font-size: 14px; 
}
.pv-meta a { color: var(--primary-color); }

/* Tabs */
.pv-tabs { margin-top: 16px; }
.pv-tab-head { 
  display: inline-flex; 
  gap: 10px; 
  background: #fff; 
  padding: 6px; 
  border-radius: 10px; 
  border: 1px solid #eee; 
}
.pv-tab-btn { 
  padding: 8px 14px; 
  border-radius: 8px; 
  background: #fff; 
  border: 1px solid transparent; 
  font-weight: 700; 
  cursor: pointer; 
  color: #374151; 
}
.pv-tab-btn.active { background: #ef4444; color: #fff; border-color: #ef4444; }
.pv-tab-body { margin-top: 12px; }
.pv-tab-panel { display: none; border: 1px solid #eee; border-radius: 10px; padding: 14px; background: #fff; }
.pv-tab-panel.active { display: block; }
.pv-desc-list { display: grid; gap: 6px; margin-left: 16px; }
.pv-read-more { display: inline-block; margin-top: 10px; color: var(--primary-color); }

/* Sidebar */
.pv-sidebar { display: grid; gap: 16px; }
.pv-side-card { background: #fff; border-radius: 12px; box-shadow: var(--box-shadow); padding: 16px; }
.pv-side-title { font-size: 16px; font-weight: 800; color: #111827; margin-bottom: 12px; }

.pv-related-list { display: grid; gap: 12px; }
.pv-related-item { 
  display: grid; 
  grid-template-columns: 64px 1fr; 
  gap: 10px; 
  align-items: center; 
  padding: 8px; 
  border-radius: 10px; 
  border: 1px solid #f0f0f0; 
  background: #fff; 
  transition: var(--transition); 
  text-decoration: none; 
  color: inherit; 
}
.pv-related-item:hover { background: #fafafa; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.pv-related-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.pv-related-name { font-size: 14px; font-weight: 600; color: #111827; margin: 0 0 6px; }
.pv-related-meta { display: flex; align-items: center; justify-content: space-between; }
.pv-related-price { color: var(--primary-color); font-weight: 800; }
.stars.small { font-size: 12px; color: #f59e0b; }

.pv-cat-list { display: grid; gap: 10px; }
.pv-cat-list a { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  padding: 10px; 
  border-radius: 10px; 
  background: #fff; 
  border: 1px solid #f0f0f0; 
  color: #374151; 
  text-decoration: none; 
}
.pv-cat-list a:hover { background: #fafafa; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.pv-cat-list i { width: 20px; text-align: center; color: #6b7280; }

/* Minor tweaks to shared star style to center within PDP components */
.pv-info .stars { justify-content: flex-start; }

/* Product View — Hover Zoom */
.pv-image { cursor: zoom-in; }
.pv-image img { transition: transform 0.12s ease-out; will-change: transform, transform-origin; }
.pv-image.zoom-active { cursor: zoom-out; }
.pv-image.zoom-active img { transform: scale(2); }

/* Fullscreen Image Modal */
.pv-modal { position: fixed; inset: 0; background: rgba(0,0,0,.75); display: none; align-items: center; justify-content: center; z-index: 3000; padding: 20px; }
.pv-modal.open { display: flex; }
.pv-modal img { max-width: 95vw; max-height: 95vh; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.4); background: #fff; }
.pv-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 999px; border: none; background: rgba(255,255,255,.9); color: #111; font-size: 24px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.pv-close:hover { background: #fff; }


/* Product View - Reviews summary */
.pv-rev-wrap {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: start;
  padding: 12px 8px 8px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.pv-rev-left { display: grid; gap: 8px; justify-items: start; }
.pv-rev-score {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: #111827;
}
.pv-rev-score span {
  font-size: 20px;
  font-weight: 600;
  color: #6b7280;
  margin-left: 4px;
}

.stars.xlarge i { font-size: 20px; color: #ffc107; }
.pv-rev-count { color: #6b7280; font-size: 14px; }

.pv-rev-right { display: grid; gap: 10px; }
.pv-rev-row { display: grid; grid-template-columns: 100px 1fr 40px; gap: 10px; align-items: center; }
.pv-rev-row .stars.small i { margin-right: 2px; }

.stars-label { font-weight: 700; color: #374151; }
.pv-bar {
  height: 10px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}
.pv-bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: #ffc107;
  border-radius: 999px;
  transition: width .3s ease;
}
.pv-bar-count { color: #374151; font-weight: 700; text-align: right; }

/* Responsive */
@media (max-width: 576px) {
  .pv-rev-wrap { grid-template-columns: 1fr; }
}

/*  Thank You page styles */
.thankyou { 
  max-width: 720px; 
  margin: 80px auto; 
  text-align: center; 
  padding: 20px; 
}
.ty-icon { 
  width: 88px; 
  height: 88px; 
  border-radius: 999px; 
  background: #22c55e; 
  color: #fff; 
  display: grid; 
  place-items: center; 
  font-size: 40px; 
  margin: 0 auto 18px; 
  box-shadow: 0 8px 30px rgba(34,197,94,.25); 
}
.ty-kicker { 
  letter-spacing: .08em; 
  font-weight: 800; 
  color: #111827; 
  font-size: 12px; 
  margin-bottom: 6px; 
}
.ty-title { 
  font-size: 28px; 
  font-weight: 900; 
  color: #111827; 
  margin: 0 0 10px; 
  text-transform: uppercase; 
}
.ty-text { 
  color: #4b5563; 
  line-height: 1.7; 
  max-width: 560px; 
  margin: 0 auto 8px; 
}
.ty-order { 
  color: #111827; 
  font-weight: 700; 
  margin: 6px 0 18px; 
}
.ty-btn { 
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  background: #22c55e; 
  color: #fff; 
  border: none; 
  border-radius: 10px; 
  padding: 12px 20px; 
  font-weight: 800; 
  cursor: pointer; 
  text-decoration: none; 
  box-shadow: 0 8px 20px rgba(34,197,94,.25); 
}
.ty-btn:hover { 
  background: #16a34a; 
}

/* Track Order page styles End Zahid */
      .order-tracking { 
        max-width: 720px; 
        margin: 80px auto; 
        text-align: center; 
        padding: 20px; 
      }
      .order-tracking-content { 
        background: #fff; 
        padding: 20px; 
        border-radius: 12px; 
        box-shadow: 0 8px 20px rgba(0,0,0,.1); 
      }
      .form-group { 
        margin-bottom: 16px; 
      }
      .form-group label { 
        display: block; 
        margin-bottom: 6px; 
        font-weight: 600; 
      }
      .form-group input { 
        width: 100%; 
        padding: 12px; 
        border: 1px solid #ccc; 
        border-radius: 8px; 
        box-sizing: border-box; 
      }
      .track-btn { 
        background: #22c55e; 
        color: #fff; border: 
        none; padding: 12px 20px; 
        border-radius: 8px; 
        cursor: pointer; 
        font-weight: 600; 
      }
      .track-btn:hover { background: #16a34a; 
      }

/* Register page styles */

:root {
   --auth-bg:#f7f7fb; 
   --auth-card-bg:#fff; 
   --auth-muted:#6b7280; 
   --auth-border:#e5e7eb; 
  }
body.auth { 
  min-height:100vh; 
  margin:0; 
  background:var(--auth-bg); 
  display:grid; 
  grid-template-rows:auto 1fr auto; 
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial; 
}
.auth-header { 
  padding:16px 20px; 
  background:#fff; 
  border-bottom:1px solid var(--auth-border); 
}
.auth-header .container { 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  gap:12px; 
}
.auth-header img { 
  height:40px; 
}
.auth-wrap { 
  display:grid; 
  place-items:center; 
  padding:24px 16px; 
}
.auth-card { 
  width:100%; 
  max-width:520px; 
  background:var(--auth-card-bg); 
  border:1px solid var(--auth-border); 
  border-radius:12px; 
  box-shadow:0 10px 25px rgba(0,0,0,.06); 
  padding:24px; 
}
.auth-title { 
  font-size:1.5rem; 
  margin:0 0 8px; 
}
.auth-sub { 
  color:var(--auth-muted); 
  margin:0 0 20px; 
  font-size:.95rem; 
}
.form-grid { 
  display:grid; 
  gap:12px; 
  grid-template-columns:1fr; 
}
@media(min-width:640px){ 
  .form-grid{ grid-template-columns:1fr 1fr;} 
  .form-grid .full{ grid-column:1/-1; } }
.form-field label { 
  display:block; 
  font-weight:600; 
  margin-bottom:6px; 
  font-size:.95rem; 
}
.form-field input { 
  width:100%; 
  height:44px; 
  border:1px solid var(--auth-border); 
  border-radius:8px; 
  padding:0 12px; 
  outline:none; 
  background:#fff; 
  transition: box-shadow .2s, border-color .2s; 
}
.form-field input:focus { 
  border-color: var(--shop-color-primary, #EB0000); 
  box-shadow: 0 0 0 3px rgba(235,0,0,.12); 
}
.terms { 
  display:flex; 
  align-items:flex-start;
   gap:10px; 
   font-size:.95rem; 
   color:#374151; 
  }
.btn { 
  cursor:pointer; 
  border:none; 
  border-radius:8px; 
  height:44px; 
  padding:0 16px; 
  font-weight:700; 
}
.btn-primary { 
  background: var(--shop-color-primary, #EB0000);
   color:#fff; width:100%; 
  }
.auth-footer { 
  text-align:center; 
  color:var(--auth-muted); 
  padding:14px; 
  font-size:.9rem; 
}
/* Register page styles End */

/* Forgot Password page styles */
:root { 
  --auth-bg:#f7f7fb; 
  --auth-card-bg:#fff; 
  --auth-muted:#6b7280; 
  --auth-border:#e5e7eb; 
}
    body.auth { 
      min-height:100vh; 
      margin:0; 
      background:var(--auth-bg); 
      display:grid; 
      grid-template-rows:auto 1fr auto; 
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial; 
    }
    .auth-header { 
      padding:16px 20px; background:#fff; border-bottom:1px solid var(--auth-border); 
    }
    .auth-header .container { display:flex; align-items:center; justify-content:center; gap:12px; }
    .auth-header img { height:40px; }
    .auth-wrap { display:grid; place-items:center; padding:24px 16px; }
    .auth-card { 
      width:100%; 
      max-width:480px; 
      background:var(--auth-card-bg); 
      border:1px solid var(--auth-border); 
      border-radius:12px; box-shadow:0 10px 25px rgba(0,0,0,.06); 
      padding:24px; }
    .auth-title { font-size:1.5rem; margin:0 0 8px; }
    .auth-sub { color:var(--auth-muted); margin:0 0 20px; font-size:.95rem; }
    .form-field label { display:block; font-weight:600; margin-bottom:6px; font-size:.95rem; }
    .form-field input { 
      width:100%; 
      height:44px; 
      border:1px solid var(--auth-border); 
      border-radius:8px; 
      padding:0 12px; 
      outline:none; 
      background:#fff; 
      transition: box-shadow .2s, border-color .2s; 
    }
    .form-field input:focus { 
      border-color: var(--shop-color-primary, #EB0000); 
      box-shadow: 0 0 0 3px rgba(235,0,0,.12); 
    }
    .btn { cursor:pointer; border:none; border-radius:8px; height:44px; padding:0 16px; font-weight:700; }
    .btn-primary { background: var(--shop-color-primary, #EB0000); color:#fff; width:100%; }
    .auth-footer { text-align:center; color:var(--auth-muted); padding:14px; font-size:.9rem; }
    .hint { color: var(--auth-muted); font-size:.9rem; }


    /* Login page styles */

    :root {
      --auth-bg: #f7f7fb;
      --auth-card-bg: #fff;
      --auth-muted: #6b7280;
      --auth-border: #e5e7eb;
    }
    body.auth {
      min-height: 100vh;
      margin: 0;
      background: var(--auth-bg);
      display: grid;
      grid-template-rows: auto 1fr auto;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    }
    .auth-header {
      padding: 16px 20px;
      background: #ffffff;
      border-bottom: 1px solid var(--auth-border);
    }
    .auth-header .container {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
    }
    .auth-header img { height: 40px; }

    .auth-wrap {
      display: grid;
      place-items: center;
      padding: 24px 16px;
    }
    .auth-card {
      width: 100%;
      max-width: 440px;
      background: var(--auth-card-bg);
      border: 1px solid var(--auth-border);
      border-radius: 12px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.06);
      padding: 24px;
    }
    .auth-title { font-size: 1.5rem; margin: 0 0 8px; }
    .auth-sub { color: var(--auth-muted); margin: 0 0 20px; font-size: .95rem; }

    .form-row { display: grid; gap: 12px; margin-bottom: 12px; }
    .form-field label { display:block; font-weight:600; margin-bottom: 6px; font-size:.95rem; }
    .form-field input[type="text"],
    .form-field input[type="email"],
    .form-field input[type="password"],
    .form-field input[type="tel"]{
      width: 100%;
      height: 44px;
      border: 1px solid var(--auth-border);
      border-radius: 8px;
      padding: 0 12px;
      outline: none;
      transition: box-shadow .2s, border-color .2s;
      background: #fff;
    }
    .form-field input:focus { border-color: var(--shop-color-primary, #EB0000); box-shadow: 0 0 0 3px rgba(235,0,0,.12); }

    .auth-actions { display:flex; align-items:center; justify-content: space-between; gap: 12px; margin-top: 8px; }
    .auth-links { display:flex; gap: 12px; flex-wrap: wrap; }
    .auth-links a { color: var(--shop-color-primary, #EB0000); text-decoration: none; font-weight: 600; }

    .btn { cursor: pointer; border: none; border-radius: 8px; height: 44px; padding: 0 16px; font-weight: 700; }
    .btn-primary { background: var(--shop-color-primary, #EB0000); color: #fff; }
    .btn-primary:hover { filter: brightness(.95); }
    .btn-block { width: 100%; }

    .divider { display:flex; align-items:center; gap: 12px; color: var(--auth-muted); margin: 14px 0; font-size: .9rem; }
    .divider::before, .divider::after { content: ""; flex:1; height:1px; background: var(--auth-border); }

    .oauth { display:grid; gap: 10px; grid-template-columns: 1fr; }
    .btn-oauth { height: 44px; display:flex; align-items:center; justify-content:center; gap:10px; border:1px solid var(--auth-border); background:#fff; border-radius: 8px; font-weight:600; }
    .btn-oauth i { width: 18px; text-align:center; }

    .auth-footer { text-align:center; color: var(--auth-muted); padding: 14px; font-size: .9rem; }

    @media (min-width: 480px){ .auth-card { padding: 28px; } }









.categories-list .cat-submenu > .submenu {
    display: block;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    overflow: hidden;
}

.categories-list .cat-submenu:hover > .submenu {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: max-height 0.5s ease, opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s, visibility 0s linear 0.1s;
}

.categories-list .cat-submenu > a .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.categories-list .cat-submenu:hover > a .arrow {
    transform: rotate(90deg);
}












.col-product {
    display: flex;
    gap: 15px;
    width: 100%;
}

.product-details {
    flex: 1;
}


.ci-variant {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

/* Quantity, Price, Total, Remove in one row */
.ci-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
}



.ci-minus, .ci-plus {
    width: 28px;
    height: 28px;
    border: none;
    background: #f2f2f2;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.ci-input {
    width: 45px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 3px;
}

.ci-price, .ci-total {
    min-width: 80px;
}

.ci-remove {
    margin-left: auto;   
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Subtotal */
.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-top: 10px;    
    font-size: 16px;
}

.cart-subtotal strong {
    color: #222;
    font-weight: 700;
}
.text-primary{
  color: var(--primary-color) !important;
}/* Pill base */
.attribute-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 50px; /* fully rounded pill */
    border: 1px solid var(--shop-color-primary);
    color: var(--shop-color-primary);
    background-color: var(--light-color);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    user-select: none;
}

/* Hover effect */
.attribute-pill:hover {
    background-color: var(--shop-color-primary-light-2);
    color: #fff;
}
.attribute-radio{
  display: none;
}
/* Active / selected state */
.attribute-radio:checked + .attribute-pill {
    background-color: var(--shop-color-primary);
    color: #fff;
    border-color: var(--shop-color-primary);
}

/* Disabled pills (if needed) */
.attribute-pill.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive wrapping */
.d-flex.flex-wrap.gap-2 {
    gap: 0.5rem;
}

.increaseBtn,.decreaseBtn{
  background-color: var(--secondary-color);
  color: #fff;
}

.increaseBtn:hover,.decreaseBtn:hover{
  background-color: var(--primary-color);
  color: #fff;
}

.checkout-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}
.checkout-card-title {
    background: var(--secondary-color);
    color: #fff;
    padding: 12px 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.checkout-card-body {
    padding: 20px;
}
.input-modern {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.input-modern:focus {
    border-color: var(--shop-color-primary) !important;
    box-shadow: 0 0 0 3px var(--shop-color-primary-light-3) !important;
}
.payment-option {
    display: block;
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
}
.payment-option:hover,
.payment-option input:checked + .payment-option-content {
    border-color: var(--shop-color-primary);
    background: var(--shop-color-primary-light-2);
}
.payment-option input {
    display: none;
}
.payment-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.checkout-summary {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    padding: 20px;
}
.summary-title {
    font-weight: 700;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px dotted var(--border-color);
    padding: 10px 0;
}
.cart-item img {
    width: 45px; height: 45px;
    border-radius: 6px;
    object-fit: cover;
}
.price div,
.total {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}
.checkout-btn {
    background: var(--secondary-color);
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
    color: #fff;
}
.checkout-btn:hover {
    background: var(--primary-color);
}
.promo-btn {
    border-radius: 8px;
    border: 1px solid var(--shop-color-primary);
}
#cartButton{
  z-index: 1000;
}
.page-link{
  color: var(--secondary-color);
}
.active>.page-link, .page-link.active{
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}
.toast-success {
    background-color: #28a745 !important; /* Bootstrap green */
    color: white !important;
}
.toast-error {
    background-color: #dc3545 !important; /* Bootstrap red */
    color: white !important;
}
.toast-info {
    background-color: #17a2b8 !important; /* Bootstrap info */
    color: white !important;
}
.toast-warning {
    background-color: #ffc107 !important; /* Bootstrap warning */
    color: black !important;
}

/* Optional: rounded corners & shadow */
.toast {
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: 500;
}

#productModal{
  z-index: 100000;
}