/* House Factory - Main Stylesheet */

:root {
  --primary-blue: #237fd9;
  --primary-pink: #E91E63;
  --dark-bg: #111111;
  --light-bg: #f5f5f5;
  --white: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #e0e0e0;
  --green: #4CAF50;
  --offer-red: #ff4444;
  --offer-badge: #ff5722;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
}

/* Top Banner */
.top-banner {
  background: var(--primary-blue);
  color: var(--white);
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
}

.top-banner a {
  color: var(--white);
  text-decoration: underline;
}

/* Header */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-blue), #64B5F6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-icon::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 20px solid white;
  top: 8px;
}

.logo-icon::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 10px;
  background: white;
  bottom: 10px;
  border-radius: 2px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
}

.logo-main span {
  color: var(--primary-pink);
  font-weight: 700;
}

.logo-sub {
  font-size: 10px;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.logo-img {
  height: 86px;
  width: 190px;
  display: block;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-right: auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0;
  transition: color 0.3s;
}

.nav-link span {
  transform: rotate(90deg) scaleY(1.5);
  margin-left: 5px;
}

.nav-link:hover {
  color: var(--primary-blue);
}

.nav-link i {
  font-size: 10px;
}

.nav-link.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 250px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 1001;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}

.dropdown a:hover {
  background: #f5f5f5;
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding-top: 150px;
}

.search-overlay.active {
  display: flex;
}

.search-form {
  background: white;
  padding: 20px 30px;
  border-radius: 4px;
  width: 90%;
  max-width: 700px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.search-input {
  flex: 1;
  border: none;
  font-size: 18px;
  padding: 15px;
  outline: none;
}

.search-input::placeholder {
  color: #999;
}

.search-submit {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-dark);
}

.search-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
  margin-left: 10px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
  position: relative;
  transition: color 0.3s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-btn svg {
  width: 22px;
  height: 22px;
}

.header-btn .icon-cart {
  /* width: 40px; */
  /* height: 40px; */
  transform: scale(1.8);
}

.header-btn:hover {
  color: var(--primary-blue);
}

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

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url('../images/banners/hero.webp') center/cover;
  display: flex;
  align-items: center;
  padding: 0 60px;
}

.hero-content {
  max-width: 600px;
  color: white;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 35px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

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

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

.featured-section .btn-outline.product-btn {
  background: var(--primary-blue);
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
  margin-inline: auto;
  max-width: 100%;
  display: flex;
  padding-block: 14px;
  margin-top: auto;
}

/* .btn-outline:hover {
  background: var(--text-dark);
  color: white;
} */

.featured-section .btn-outline {
  display: block;
  max-width: 200px;
  margin: 0 auto;
  text-align: center;
  background: var(--primary-blue);
  color: var(--light-bg);
  border: 1px solid var(--text-dark);
  padding-block: 14px;
}

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

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

.btn-pink {
  background: white;
  color: var(--primary-pink);
  border: 2px solid var(--primary-pink);
}

.btn-gpay {
  background: #000;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Offer Banner Section */
.offer-banner-section {
  width: 100%;
  display: block;
}

.offer-banner-link {
  display: block;
  width: 100%;
}

.offer-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Old Offer Banner (kept for compatibility) */
.offer-banner {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.offer-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.offer-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.offer-label {
  font-size: 14px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.offer-title {
  font-size: 72px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  font-style: italic;
}

.offer-title span {
  display: block;
  font-size: 18px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 8px;
  color: var(--primary-blue);
  background: #c8e6c9;
  padding: 5px 15px;
  margin-top: 5px;
}

.offer-discount {
  background: var(--offer-red);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
}

.offer-discount span {
  font-size: 12px;
}

.offer-product {
  text-align: center;
}

.offer-product-img {
  height: 200px;
  object-fit: contain;
}

.offer-price {
  margin-top: 15px;
}

.offer-old-price {
  font-size: 18px;
  color: var(--text-light);
  text-decoration: line-through;
}

.offer-new-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--offer-red);
  line-height: 1;
}

.offer-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-light);
}

/* Section Styles */
.section {
  padding: 50px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.products-section {
  background: #d7e9f7;
  max-width: 100%;
  padding: 50px 60px;
}

.products-section .section-title {
  color: #000;
  max-width: 1400px;
  margin: 0 auto 30px;
}

.products-section .category-grid {
  max-width: 1400px;
  margin: 0 auto;
}

.products-section .category-card-title {
  color: #000;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 25px;
}

.section-header {
  margin-bottom: 30px;
}

.section-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-light);
}

/* Collection Page Header - Light Blue Background */
.collection-page-header {
  background-color: #d7e9f7;
  padding: 40px 60px;
  margin: 0;
}

.collection-page-header .container {
  max-width: 1400px;
  margin: 0 auto;
}

.collection-page-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.collection-page-header p {
  color: var(--text-light);
  font-size: 16px;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 10px;
}

.category-card {
  position: relative;
  /* border-radius: 8px; */
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card img {
  width: 100%;
  /* height: 180px; */
  aspect-ratio: 1/1;
  object-fit: cover;
}

.category-card-title {
  padding: 9px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 5px;
}

.category-card-title i {
  font-size: 10px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.product-card {
  /* background: white; */
  /* border-radius: 8px; */
  overflow: hidden;
  border: 1px solid #e0e0e05e;
  transition: box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.product-image {
  position: relative;
  /* padding: 20px; */
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  /* height: 220px; */
  aspect-ratio: 1/1;
}

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

/* Collection card secondary image on hover */
.collection-product-card .product-image {
  position: relative;
  overflow: hidden;
}

.collection-product-card .product-image-primary,
.collection-product-card .product-image-secondary {
  transition: opacity 0.25s ease;
}

.collection-product-card .product-image-secondary {
  position: absolute;
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  opacity: 0;
  pointer-events: none;
}

.collection-product-card.has-secondary-image:hover .product-image-primary {
  opacity: 0;
}

.collection-product-card.has-secondary-image:hover .product-image-secondary {
  opacity: 1;
}

.product-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  background: #237fd9;
  color: white;
  padding: 3px 12px;
  font-size: 12px;
  /* font-weight: 700; */
  border-radius: 40px;
  /* text-transform: uppercase; */
}

.product-badge.outlet {
  background: #237fd9;
  /* display: none; */
}

.product-badge.special {
  background: linear-gradient(135deg, var(--offer-red), #ff8a80);
}

.product-badge.limited {
  background: linear-gradient(135deg, #ff5722, #ffab91);
}

.product-info {
  padding: 15px 0;
}

.product-brand {
  display: none;
  font-size: 12px;
  color: var(--primary-blue);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.product-title {
  font-size: 14px;
  /* font-weight: 600; */
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  min-height: 36px;
}

.product-pricing {
  display: flex;
  align-items: center;
  gap: 0 10px;
  flex-wrap: wrap;
}

.product-old-price {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-price {
  font-size: 16px;
  /* font-weight: 700; */
  color: var(--text-dark);
}

.product-btn {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  font-size: 13px;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  /* border-bottom: 1px solid var(--border-color); */
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 10px;
}

.filters {
  display: flex;
  align-items: center;
  gap: 10px 25px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 14px;
  font-weight: 500;
}

.filter-item {
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sort {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
}

.sort-select {
  border: none;
  font-size: 14px;
  cursor: pointer;
  background: none;
}

/* Mini Cart Drawer */
.mini-cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}

.mini-cart-overlay.active {
  display: block;
}

.mini-cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100%;
  background: white;
  z-index: 9999;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mini-cart-drawer.active {
  right: 0;
}

.mini-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.mini-cart-check {
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
}

.mini-cart-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
}

.mini-cart-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.mini-cart-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.mini-cart-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 5px;
}

.mini-cart-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.mini-cart-meta {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 3px;
}

.mini-cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-cart-btn {
  width: 100%;
  padding: 12px;
  text-align: center;
  text-decoration: none;
}

.mini-cart-continue {
  background: none;
  border: none;
  color: var(--primary-pink);
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
  padding: 5px;
}

/* Product Detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-self: start;
}

.gallery-main {
  background: white;
  /* border-radius: 8px; */
  /* padding: 40px; */
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e073;
  position: relative;
  aspect-ratio: 1 / 1;
}

.gallery-main img {
  /* max-height: 400px; */
  max-width: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
}

.gallery-thumb {
  width: 70px;
  height: 70px;
  border: 1px solid var(--border-color);
  /* border-radius: 4px; */
  /* padding: 5px; */
  cursor: pointer;
  background: white;
  appearance: none;
  -webkit-appearance: none;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumb.active {
  border-color: var(--dark-bg);
}

.product-details h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.product-price-detail {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.product-price-detail .old-price {
  font-size: 18px;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-price-detail .current-price {
  font-size: 20px;
  /* font-weight: 700; */
  color: var(--text-dark);
}

.product-price-detail .offer-tag {
  background: #237fd9;
  color: white;
  padding: 3px 16px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
}

.product-tax {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.product-tax a {
  color: var(--primary-pink);
}

.product-options {
  margin-bottom: 20px;
}

.option-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.option-values {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.option-btn {
  padding: 10px 20px;
  border: 1px solid var(--border-color);
  background: white;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.option-btn:hover,
.option-btn.active {
  border-color: #000000;
  background: #000000;
  color: white;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 20px;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-dark);
}

.quantity-input {
  width: 50px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 14px;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.product-actions .btn {
  width: 100%;
  padding: 15px;
}

.more-payment {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  text-decoration: underline;
  margin-bottom: 20px;
  cursor: pointer;
}

.pickup-info {
  /* background: var(--light-bg); */
  padding: 15px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 20px;
}

.pickup-info i {
  color: var(--green);
  margin-right: 5px;
}

.real-photos {
  color: #ff00ff;
  font-size: 16px;
  text-decoration: underline;
  margin-bottom: 10px;
  display: inline-block;
}

.delivery-note {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.product-specs {
  font-size: 16px;
  line-height: 2;
}

/* Cart Page */
.cart-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.cart-header h1 {
  font-size: 32px;
  font-weight: 700;
}

.continue-shopping {
  color: var(--primary-pink);
  text-decoration: underline;
  font-size: 14px;
}

.cart-table {
  width: 100%;
  margin-bottom: 30px;
}

.cart-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cart-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 25px 0;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

.cart-product {
  display: flex;
  gap: 20px;
}

.cart-product-img {
  width: 100px;
  height: 100px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-product-info h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.cart-product-info .price {
  font-size: 14px;
  margin-bottom: 10px;
}

.cart-product-meta {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.8;
}

.cart-quantity {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-quantity .quantity-selector {
  margin: 0;
}

.remove-btn {
  color: var(--primary-pink);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.cart-total {
  text-align: right;
  font-size: 16px;
  font-weight: 600;
}

.cart-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.special-instructions h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.special-instructions textarea {
  width: 100%;
  height: 100px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 15px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}

.cart-totals {
  text-align: right;
}

.subtotal {
  font-size: 16px;
  margin-bottom: 10px;
}

.subtotal span {
  font-weight: 700;
  margin-left: 20px;
}

.cart-note {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.cart-note a {
  color: var(--primary-pink);
}

.checkout-btn {
  width: 100%;
  max-width: 300px;
  margin-bottom: 10px;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.blog-card {
  cursor: pointer;
  transition: transform 0.3s;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  /* height: 300px; */
  object-fit: cover;
  /* border-radius: 8px; */
  margin-bottom: 20px;
  aspect-ratio: 3 / 2;
}

.blog-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.blog-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Blog Detail */
.blog-detail {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 40px 60px;
}

.blog-detail-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  /* border-radius: 8px; */
  margin-bottom: 40px;
}

.blog-detail h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  max-width: 800px;
  margin-inline: auto;
}

.blog-date {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 15px;
  max-width: 800px;
  margin-inline: auto;
}

.blog-share {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-pink);
  font-size: 13px;
  margin-bottom: 25px;
  cursor: pointer;
  max-width: 800px;
  margin-inline: auto;
}

.blog-content {
  font-size: 15px;
  line-height: 1.8;
  max-width: 800px;
  margin-inline: auto;
}

.blog-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 25px 0 15px;
  text-decoration: underline;
}

.blog-content p {
  margin-bottom: 15px;
}

.blog-content ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.blog-content li {
  margin-bottom: 8px;
}

.blog-content strong {
  font-weight: 700;
}

.back-to-blog-section {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  justify-content: center;
}

.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-pink);
  margin-top: 30px;
  text-decoration: none;
}

.back-to-blog svg {
  transform: rotate(180deg);
}

/* Featured Section (Products) */
.featured-section {
  background: #d8e9f7;
  padding: 50px 60px;
}

.featured-section .section-title {
  max-width: 1400px;
  margin: 0 auto 30px;
}

.featured-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.view-all-btn {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  padding: 12px 40px;
}

/* Banner Section */
.banner-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 400px;
  max-width: 1400px;
  margin-inline: auto;
  align-items: center;
  margin-bottom: 70px;
  padding-inline: 30px;
}

.banner-image {
  background: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=800') center/cover;
  width: 100%;
  height: 100%;
}

.banner-content {
  background: #d8e9f7;
  display: flex;
  align-items: center;
  justify-content: center;
  height: fit-content;
  padding: 3rem 4rem;
  border: 8px solid #0000001a;
  margin-left: -50px;
}

.banner-text {
  color: var(--dark-bg);
  font-size: 36px;
  font-weight: 700;
  text-align: center;
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: white;
  padding: 50px 60px 0;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}

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

.footer-column a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: white;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 30px 0;
  border-top: 1px solid #333;
}

.footer-social .social-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.footer-social .social-link:hover {
  opacity: 0.7;
}

.footer-social svg {
  width: 24px;
  height: 24px;
}

/* Legacy footer classes for backwards compatibility */
.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
}

.social-links a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-bottom {
  background: #111;
  padding: 30px 60px;
  text-align: center;
}

.payment-methods {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.payment-icon {
  height: 24px;
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-icon svg {
  width: 38px;
  height: 24px;
  display: block;
}

.copyright {
  font-size: 12px;
  color: #666;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination a {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}

.pagination a.active {
  background: var(--text-dark);
  color: white;
  border-color: var(--text-dark);
}

.pagination a:hover:not(.active) {
  border-color: var(--text-dark);
}

/* Discount Stamps */
.discount-stamp {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--offer-red);
  color: white;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  transform: rotate(-10deg);
}

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

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .header-content {
    padding: 15px 20px;
  }

  .product-gallery {
    position: unset;
  }

  .logo-img {
    height: auto;
    width: 120px;
  }

  .header-actions {
    gap: 6px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 0 30px;
  }

  .hero-title {
    font-size: 36px;
  }

  .section {
    padding: 40px 30px;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 40px 16px;
  }

  .product-detail {
    padding: 30px 16px;
  }

  .top-banner {
    font-size: 11px;
    padding: 6px 15px;
  }

  .footer {
    padding: 50px 30px 0;
  }

  .hero {
    height: 350px;
  }

  .hero-title {
    font-size: 28px;
  }

  .offer-banner {
    flex-direction: column;
    padding: 30px;
  }

  .offer-content {
    flex-direction: column;
    gap: 20px;
  }

  .offer-title {
    font-size: 48px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* .product-image {
    height: 160px;
  } */

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

  .cart-item {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .cart-summary {
    grid-template-columns: 1fr;
  }

  .banner-section {
    grid-template-columns: 1fr;
    height: auto;
    padding-inline: 16px;
  }

  .banner-image {
    height: 330px;
  }

  .banner-text {
    font-size: 28px;
    line-height: normal;
    text-align: start;
  }

  .banner-content {
    padding: 1rem 2rem;
    margin-left: 0;
    width: calc(100% - 40px);
    margin-inline: auto;
    margin-top: -30px;
  }

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

  .filter-bar {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .collection-page-header {
    padding: 30px 20px;
  }

  .featured-section {
    padding: 40px 16px;
  }

  .featured-grid {
    gap: 4px;
  }

  .featured-section .section-title {
    font-size: 24px;
  }

  .blog-card img {
    margin-bottom: 0px;
  }

  .blog-card h3 {
    font-size: 20px;
  }

  .blog-detail {
    padding: 4px 0px 60px;
  }

  .blog-detail h1,
  .blog-date,
  .blog-share,
  .blog-content {
    padding-inline: 16px;
  }

  .blog-detail h1 {
    line-height: normal;
  }

  .blog-content h3 {
    line-height: normal;
  }

  .cart-page {
    padding: 40px 16px;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* .featured-grid {
    grid-template-columns: 1fr;
  } */

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

/* Filter Dropdown Styles */
.filter-dropdown {
  position: relative;
  display: inline-block;
}

.filter-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  max-width: 320px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  margin-top: 8px;
  padding: 15px;
}

.filter-panel.active {
  display: block;
}

.filter-panel-scroll {
  max-height: 400px;
  overflow-y: auto;
}

.filter-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-light);
}

.reset-btn {
  background: none;
  border: none;
  color: var(--primary-blue);
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
}

.reset-btn:hover {
  color: #1976D2;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  padding: 4px 0;
}

.filter-options label:hover {
  color: var(--primary-blue);
}

.filter-options input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.filter-count {
  font-size: 11px;
  color: var(--text-light);
  margin-left: 4px;
}

.filter-count.has-selection {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Price Filter */
.price-inputs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.price-field {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 8px 10px;
}

.price-field span {
  color: var(--text-light);
  font-size: 14px;
}

.price-field input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
}

.apply-btn {
  width: 100%;
  padding: 10px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.apply-btn:hover {
  background: #1976D2;
}

/* Filter bar responsive */
@media (max-width: 992px) {
  .filter-panel {
    position: fixed;
    top: auto;
    left: 20px;
    right: 20px;
    max-width: none;
  }
}

/* Active Filters Capsules */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 20px;
  width: 100%;
}

.filter-capsule {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid #ddd;
}

.filter-capsule span {
  color: #333;
}

.filter-capsule button {
  background: none;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: #999;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-capsule button:hover {
  color: #666;
}

.clear-all-filters {
  background: none;
  border: none;
  color: var(--primary-blue);
  text-decoration: underline;
  font-size: 13px;
  cursor: pointer;
  padding: 0 5px;
}

.clear-all-filters:hover {
  color: #1976D2;
}