:root {
  --primary-color: #2c3e50;
  --secondary-color: #34495e;
  --accent-color: #25d366;
  --accent-yellow: #ffd700;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --text-muted: #999;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
  --success-color: #28a745;
}

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

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

.top-header {
  background-color: #fff;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-left,
        .header-center,
        .header-right {
  display: flex;
  align-items: center;
}

.header-left {
  flex: 1;
}

.header-center {
  flex: 1;
  justify-content: center;
}

.header-right {
  flex: 1;
  justify-content: flex-end;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-dark);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-links li a:hover {
  color: var(--text-light);
}

.header-icons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.header-icons i {
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.header-icons i:hover {
  transform: scale(1.1);
}

.sidebar-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 15px rgba(0,0,0,0.15);
  z-index: 2000;
  transition: left 0.3s ease;
  padding: 1.5rem;
}

.mobile-sidebar.active {
  left: 0;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1990;
  display: none;
}

.sidebar-backdrop.active {
  display: block;
}

.sidebar-close {
  font-size: 1.4rem;
  cursor: pointer;
  margin-bottom: 1.5rem;
  display: inline-block;
}

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

.sidebar-menu li {
  margin-bottom: 1rem;
}

.sidebar-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-banner {
  width: 100%;
  height: 70vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Carousel ke poro hero-banner (70vh) bhorate hobe, na hole background image
   shudhu text content er pichone choto area te dekhabe */
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
  height: 100%;
  width: 100%;
}

#heroCarousel .carousel-item {
  display: none;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#heroCarousel .carousel-item.active,
#heroCarousel .carousel-item-next,
#heroCarousel .carousel-item-prev {
  display: flex;
}

.hero-content {
  text-align: center;
  z-index: 2;
  padding: 2rem;
}

.hero-banner::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23e8eef5" width="1200" height="800"/></svg>');
  opacity: 0.5;
}

.hero-image {
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

.hero-text {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-subtext {
  font-size: 1.2rem;
  color: #f7f7f7;
  margin-bottom: 2rem;
}

.category-section {
  background-color: #fff;
}

.category-block {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  cursor: pointer;
}

.category-block img,
.category-no-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.8);
  transition: filter 0.4s, transform 0.4s;
  display: block;
}

.category-no-image {
  background: linear-gradient(135deg, #2c3e50 0%, #4a69bd 100%);
  filter: none;
}

.category-block:hover img {
  transform: scale(1.05);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  color: white;
  transition: background 0.3s;
}

.category-block:hover .category-overlay {
  background: rgba(0,0,0,0.3);
}

.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.shop-now-btn {
  padding: 0.8rem 2.5rem;
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  text-decoration: none;
}

.shop-now-btn:hover {
  background-color: var(--text-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.category-overlay .shop-now-btn {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: none;
}

.category-overlay .shop-now-btn:hover {
  background-color: #fff;
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.category-hero {
  position: relative;
  height: 340px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  transform: scale(1.04);
}

.category-hero-bg--fallback {
  background: linear-gradient(135deg, #2c3e50 0%, #4a69bd 100%);
  filter: none;
}

.category-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 1rem 2rem;
}

.category-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 0.5rem;
}

.category-hero-desc {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}

.category-hero-count {
  font-size: 0.85rem;
  opacity: 0.7;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 10px;
}

.product-section {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.product-section:nth-child(even) {
  background-color: #fff;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.section-header .section-title {
  margin-bottom: 0;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: var(--text-dark);
}

.view-all-btn {
  padding: 0.6rem 2rem;
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  text-decoration: none;
}

.view-all-btn:hover {
  background-color: var(--text-dark);
  color: white;
}

.product-card {
  background: white;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s;
  margin-bottom: 2rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transform: translateY(-5px);
}

.product-image-container {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #f5f5f5;
  position: relative;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}

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

.product-info {
  padding: 1rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.3rem;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(0.95rem * 1.4 * 2);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.footer {
  background-color: #2c3e50;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  color: #bdc3c7;
}

.floating-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.3s;
  z-index: 1000;
}

.floating-chat:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.floating-chat i {
  color: white;
  font-size: 1.8rem;
}

.pdp-container {
  padding: 3rem 0;
  min-height: 80vh;
}

.product-gallery {
  position: relative;
  width: 100%;
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.main-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

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

.image-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s;
  z-index: 10;
}

.image-nav-arrow:hover {
  background-color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.arrow-left {
  left: 20px;
}

.arrow-right {
  right: 20px;
}

.image-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.product-info-section {
  padding-left: 2rem;
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.product-detail-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.color-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.color-display {
  width: 40px;
  height: 40px;
  background-color: #1a1a1a;
  border-radius: 50%;
  border: 2px solid var(--border-color);
}

.color-name {
  font-size: 1rem;
  color: var(--text-light);
}

.size-selection {
  margin-bottom: 2.5rem;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.size-option {
  padding: 0.5rem;
  border: 2px solid var(--border-color);
  background-color: white;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  border-radius: 4px;
  font-size: 1rem;
}

.size-option:hover {
  border-color: var(--text-dark);
}

.size-option.selected {
  border-color: var(--text-dark);
  background-color: var(--text-dark);
  color: white;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-add-cart,
        .btn-buy-now {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 4px;
}

.btn-add-cart {
  background-color: #ffd700;
  color: var(--text-dark);
}

.btn-add-cart:hover {
  background-color: #ffed4e;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-buy-now {
  background-color: #ffc107;
  color: var(--text-dark);
  animation: btnShake 0.4s ease-in-out infinite;
}

.btn-buy-now:hover {
  background-color: #ffca2c;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

.btn-whatsapp-order {
  background-color: #25D366;
  color: #fff;
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-whatsapp-order:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

@keyframes btnShake {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(-3px); }
    40%  { transform: translateX(3px); }
    60%  { transform: translateX(-2px); }
    80%  { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

.product-description {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.description-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.description-text {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

.description-content {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}
.description-content p {
  margin-bottom: 0.8rem;
}
.description-content h3,
.description-content h4,
.description-content h5 {
  font-weight: 700;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark, #222);
}
.description-content ul,
.description-content ol {
  padding-left: 1.4rem;
  margin-bottom: 0.8rem;
}
.description-content li {
  margin-bottom: 0.3rem;
}
.description-content blockquote {
  border-left: 3px solid var(--primary-color, #222);
  padding-left: 1rem;
  margin: 1rem 0;
  color: #666;
  font-style: italic;
}
.description-content a {
  color: var(--primary-color, #222);
  text-decoration: underline;
}
.description-content strong { font-weight: 700; }
.description-content em     { font-style: italic; }

.related-products {
  padding: 4rem 0;
  background-color: var(--bg-light);
  margin-top: 3rem;
}

.product-card-info {
  padding: 1.5rem;
  text-align: center;
}

.product-card-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.product-card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.progress-container {
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.progress-step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-light);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.progress-step.active .progress-step-circle {
  background-color: var(--text-dark);
  border-color: var(--text-dark);
  color: white;
}

.progress-step.completed .progress-step-circle {
  background-color: var(--success-color);
  border-color: var(--success-color);
  color: white;
}

.progress-step-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.progress-step.active .progress-step-label,
        .progress-step.completed .progress-step-label {
  color: var(--text-dark);
  font-weight: 600;
}

.progress-line {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.checkout-container {
  padding: 2rem 0 4rem;
}

.form-section {
  margin-bottom: 2.5rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-control,
        .form-select {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.form-control:focus,
        .form-select:focus {
  border-color: var(--text-dark);
  box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.form-check-input {
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid var(--border-color);
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--text-dark);
  border-color: var(--text-dark);
}

.form-check-label {
  font-size: 0.9rem;
  margin-left: 0.5rem;
  cursor: pointer;
}

.shipping-options,
        .payment-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.option-card {
  border: 2px solid var(--border-color);
  border-radius: 6px;
  padding: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.option-card:hover {
  border-color: var(--text-dark);
  background-color: #fafafa;
}

.option-card.selected {
  border-color: var(--text-dark);
  background-color: #f5f5f5;
}

.option-radio {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
}

.option-card.selected .option-radio {
  border-color: var(--text-dark);
  background-color: var(--text-dark);
}

.option-card.selected .option-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
}

.option-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  padding-right: 35px;
}

.option-price {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
}

.option-description {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  line-height: 1.5;
}

.btn-complete-order {
  width: 100%;
  padding: 1.2rem;
  background-color: var(--text-dark);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-complete-order:hover {
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.order-summary {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  position: sticky;
  top: 20px;
}

.summary-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.product-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.product-image-wrapper {
  position: relative;
  flex-shrink: 0;
}

.product-thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.product-quantity-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--text-dark);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-details {
  flex-grow: 1;
}

.product-variant {
  font-size: 0.85rem;
  color: var(--text-light);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.summary-label {
  color: var(--text-dark);
  font-weight: 500;
}

.summary-value {
  color: var(--text-dark);
  font-weight: 600;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 2px solid var(--border-color);
  font-size: 1.2rem;
}

.summary-total .summary-label {
  font-weight: 700;
}

.summary-total .summary-value {
  font-weight: 800;
  font-size: 1.3rem;
}

/* ── Coupon ── */
.coupon-box {
  margin: 0.5rem 0 1rem;
}

.coupon-input-row {
  display: flex;
  gap: 0.5rem;
}

.coupon-input {
  flex: 1;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  outline: none;
  transition: border-color 0.2s;
}

.coupon-input:focus {
  border-color: var(--text-dark);
}

.coupon-apply-btn {
  padding: 0.7rem 1.4rem;
  background-color: var(--text-dark);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.coupon-apply-btn:hover { background-color: #000; }
.coupon-apply-btn:disabled { opacity: 0.6; cursor: default; }

.coupon-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border: 1px dashed #2e7d32;
  background: rgba(46, 125, 50, 0.06);
  border-radius: 4px;
}

.coupon-applied-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #2e7d32;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.coupon-remove-btn {
  background: none;
  border: none;
  color: #c0392b;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.coupon-msg {
  font-size: 0.82rem;
  margin-top: 0.5rem;
  min-height: 1rem;
}

.coupon-msg.is-ok { color: #2e7d32; }
.coupon-msg.is-error { color: #c0392b; }

@media (max-width: 768px) {
  .category-hero {
    height: 220px;
  }

  .category-hero-title {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .hero-text {
    font-size: 2rem;
  }

  .category-title {
    font-size: 1.0rem;
  }

  .section-title {
    font-size: 0.95rem;
    letter-spacing: 1px;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none !important;
  }
  
  .sidebar-toggle {
    display: block;
  }
  
  .header-icons .bi-person {
    display: none !important;
  }
  
  .header-icons {
    gap: 1rem;
  }
  
  .header-row {
    gap: 0.5rem;
  }
  
  .logo {
    font-size: 1.35rem;
    letter-spacing: 2px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .product-info-section {
    padding-left: 0;
    margin-top: 2rem;
  }
  
  .product-title {
    font-size: 1.5rem;
  }
  
  
  .size-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .image-nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 992px) {
  .order-summary {
    margin-top: 3rem;
    position: relative;
    top: 0;
  }
  
  .checkout-progress {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .checkout-progress {
    flex-direction: row;
    gap: 0;
  }

  .progress-step-circle {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
  }

  .progress-step-label {
    font-size: 0.7rem;
  }

  .progress-line {
    top: 16px;
  }
  
  .product-item {
    flex-direction: column;
  }
}

/* --- Cart Icon Badge --- */
.cart-icon-wrap { position: relative; cursor: pointer; line-height: 1; }
.cart-icon-wrap i { font-size: 1.3rem; }
.cart-badge { position: absolute; top: -8px; right: -8px; background: #e74c3c; color: #fff; font-size: .65rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* --- Cart Sidebar Backdrop --- */
.cart-sidebar-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 2990; display: none; }
.cart-sidebar-backdrop.active { display: block; }

/* --- Cart Sidebar --- */
.cart-sidebar { position: fixed; top: 0; right: -440px; width: 400px; max-width: 100vw; height: 100vh; background: #fff; z-index: 3000; transition: right .3s ease; display: flex; flex-direction: column; box-shadow: -4px 0 24px rgba(0,0,0,.12); }
.cart-sidebar.open { right: 0; }
.cart-sidebar-header { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.5rem; border-bottom: 1px solid #eee; flex-shrink: 0; }
.cart-sidebar-title { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: 1px; }
.cart-sidebar-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: #555; padding: .3rem; line-height: 1; }
.cart-sidebar-close:hover { color: #000; }
.cart-sidebar-body { flex: 1; overflow-y: auto; padding: 0; display: flex; flex-direction: column; }
.cart-loading { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #ccc; }
.spin { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Cart Empty --- */
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 2rem; text-align: center; color: #aaa; }
.cart-empty i { font-size: 3.5rem; margin-bottom: 1rem; }
.cart-empty p { font-size: 1rem; color: #888; margin-bottom: 1.5rem; }
.cart-continue-btn { display: inline-block; padding: .65rem 1.5rem; background: #2c3e50; color: #fff; text-decoration: none; font-size: .85rem; letter-spacing: 1px; font-weight: 600; }
.cart-continue-btn:hover { background: #1a252f; color: #fff; }

/* --- Cart Items --- */
.cart-items-list { flex: 1; overflow-y: auto; padding: 1rem; }
.cart-item { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid #f0f0f0; position: relative; }
.cart-item-image { width: 70px; height: 85px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #f5f5f5; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 1.2rem; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: .85rem; font-weight: 600; color: #1a1a1a; line-height: 1.3; margin-bottom: .25rem; }
.cart-item-meta { font-size: .75rem; color: #888; margin-bottom: .3rem; }
.cart-item-price { font-size: .88rem; font-weight: 700; color: #2c3e50; margin-bottom: .5rem; }
.cart-item-qty { display: flex; align-items: center; gap: .5rem; }
.qty-btn { width: 26px; height: 26px; border: 1px solid #ddd; background: #f8f8f8; border-radius: 4px; font-size: .9rem; line-height: 1; cursor: pointer; transition: .2s; }
.qty-btn:hover { background: #2c3e50; color: #fff; border-color: #2c3e50; }
.cart-item-qty span { font-size: .85rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove { background: none; border: none; color: #ccc; font-size: 1.1rem; cursor: pointer; padding: 0; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.cart-item-remove:hover { color: #e74c3c; }

/* --- Cart Footer --- */
.cart-footer { padding: 1.2rem 1.5rem; border-top: 1px solid #eee; flex-shrink: 0; background: #fff; }
.cart-subtotal { display: flex; justify-content: space-between; font-size: .95rem; font-weight: 600; margin-bottom: .4rem; }
.cart-shipping-note { font-size: .75rem; color: #aaa; margin-bottom: 1rem; }
.cart-view-btn { display: block; background: #2c3e50; color: #fff; text-align: center; padding: .9rem; text-decoration: none; font-weight: 700; letter-spacing: 1px; font-size: .9rem; transition: background .2s;margin-bottom:10px; }
.cart-view-btn:hover { background: #1a252f; color: #fff; }
.cart-checkout-btn { display: block; background: #2c3e50; color: #fff; text-align: center; padding: .9rem; text-decoration: none; font-weight: 700; letter-spacing: 1px; font-size: .9rem; transition: background .2s; }
.cart-checkout-btn:hover { background: #1a252f; color: #fff; }

/* --- WhatsApp Float --- */
.floating-chat { position: fixed; bottom: 30px; right: 30px; width: 52px; height: 52px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2000; box-shadow: 0 4px 12px rgba(37,211,102,.4); transition: transform .2s, box-shadow .2s; }
.floating-chat:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,.5); }
.floating-chat i { font-size: 1.6rem; color: #fff; }

/* --- Search Page --- */
.search-page-section { padding: 4rem 0 5rem; }
.search-hero { text-align: center; margin-bottom: 3rem; }
.search-page-title { font-size: 2.5rem; font-weight: 700; letter-spacing: 3px; margin-bottom: 2rem; }
.search-input-group { display: flex; max-width: 560px; margin: 0 auto; border: 2px solid #2c3e50; }
.search-page-input { flex: 1; border: none; outline: none; padding: .85rem 1.2rem; font-family: "Montserrat", sans-serif; font-size: 1rem; }
.search-page-btn { background: #2c3e50; color: #fff; border: none; padding: 0 1.4rem; font-size: 1.1rem; cursor: pointer; transition: background .2s; }
.search-page-btn:hover { background: #1a252f; }
.search-count { color: #555; }
.search-no-results { text-align: center; padding: 4rem 2rem; }
.product-category-tag { font-size: .72rem; color: #999; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .2rem; }

/* --- Static Pages --- */
.page-section { padding: 4rem 0 6rem; }
.page-title { font-size: 2.2rem; font-weight: 700; letter-spacing: 3px; margin-bottom: .5rem; }
.page-content { line-height: 1.85; color: #444; }
.page-content h3 { font-size: 1.1rem; font-weight: 700; margin-top: 2rem; margin-bottom: .75rem; color: #1a1a1a; letter-spacing: .5px; text-transform: uppercase; }
.page-content p, .page-content li { margin-bottom: .6rem; }
.page-content ul, .page-content ol { padding-left: 1.5rem; }
.policy-highlight { text-align: center; padding: 2rem; background: #f8f9fa; border-radius: 8px; margin-bottom: 2rem; }
.shipping-zone-card { text-align: center; padding: 2rem 1rem; border: 2px solid #e0e0e0; border-radius: 8px; transition: border-color .2s; }
.shipping-zone-card:hover { border-color: #2c3e50; }
.shipping-price { font-size: 2rem; font-weight: 700; color: #2c3e50; }
.size-table thead th { background: #2c3e50 !important; color: #fff; font-size: .82rem; }
.size-guide-tip { background: #fff9e6; border-left: 4px solid #ffd700; padding: 1rem 1.2rem; border-radius: 0 6px 6px 0; margin-bottom: 2rem; color: #555; }
.faq-item { border: none; border-bottom: 1px solid #eee; }
.faq-btn { font-weight: 600; font-size: .92rem; background: none !important; color: #1a1a1a !important; box-shadow: none !important; padding: 1.1rem 0; }
.faq-btn:not(.collapsed) { color: #2c3e50 !important; }
.faq-answer { color: #555; font-size: .9rem; line-height: 1.7; padding: 0 0 1rem; }
.contact-info-card { background: #f8f9fa; padding: 2rem; border-radius: 8px; height: 100%; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; align-items: flex-start; }
.contact-info-item i { font-size: 1.3rem; color: #2c3e50; flex-shrink: 0; margin-top: .1rem; }
.contact-info-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; color: #999; margin-bottom: .15rem; }
.whatsapp-contact-btn { display: inline-flex; align-items: center; gap: .5rem; background: #25d366; color: #fff; padding: .65rem 1.2rem; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .2s; }
.whatsapp-contact-btn:hover { background: #1ebe5d; color: #fff; }

/* --- Track Order Timeline --- */
.track-timeline { display: flex; align-items: flex-start; gap: 0; position: relative; }
.track-step { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.track-step-icon { width: 44px; height: 44px; border-radius: 50%; background: #e9ecef; border: 3px solid #dee2e6; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #aaa; z-index: 1; transition: all .3s; position: relative; }
.track-step.done .track-step-icon { background: #2c3e50; border-color: #2c3e50; color: #fff; }
.track-step.active .track-step-icon { background: #fff; border-color: #2c3e50; color: #2c3e50; box-shadow: 0 0 0 4px rgba(44,62,80,.15); }
.track-step-label { font-size: .78rem; color: #888; margin-top: .5rem; text-align: center; font-weight: 500; }
.track-step.done .track-step-label, .track-step.active .track-step-label { color: #2c3e50; font-weight: 700; }
.track-step-line { position: absolute; top: 22px; left: 50%; width: 100%; height: 3px; background: #dee2e6; z-index: 0; }
.track-step.done .track-step-line { background: #2c3e50; }

/* --- Product Gallery Thumbnail Strip --- */
.main-product-image {
  transition: opacity 0.18s ease;
}

.thumbnail-strip {
  display: flex;
  gap: 8px;
  padding: 10px 8px;
  overflow-x: auto;
  background: #f8f9fa;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}
.thumbnail-strip::-webkit-scrollbar { height: 4px; }
.thumbnail-strip::-webkit-scrollbar-track { background: transparent; }
.thumbnail-strip::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }

.thumb-item {
  flex-shrink: 0;
  width: 72px;
  height: 90px;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, opacity .2s;
  opacity: .65;
}
.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.thumb-item.active {
  border-color: #2c3e50;
  opacity: 1;
}
.thumb-item:hover {
  opacity: 1;
  border-color: #8899aa;
}

/* --- Product Detail Quantity Selector --- */
.pdp-qty-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
}
.pdp-qty-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: #f8f9fa;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.pdp-qty-btn:hover {
  background: var(--text-dark);
  color: #fff;
}
.pdp-qty-num {
  min-width: 54px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  font-family: 'Lato', sans-serif;
}

/* --- Best Sellers Section --- */
.best-sellers-section {
  background-color: #fff;
}

.best-seller-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #1a1a1a;
  color: #ffd700;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .5px;
  padding: .3rem .6rem;
  border-radius: 3px;
  z-index: 2;
}

