:root {
  --bg: #ffffff;
  --surface: #f7f7f6;
  --text: #111111;
  --muted: #6b7280;
  --border: #e5e5e3;
  --accent: #111111;
  --accent-hover: #2c2c2e;
  --gold: #b88b32;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 12px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none !important;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Slim Announcement Bar */
.announcement-bar {
  background: var(--accent);
  color: #f4f4f5;
  text-align: center;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Minimal Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a,
.nav-link-btn {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  font-family: inherit;
  transition: color 0.15s ease;
}

.main-nav a:hover,
.nav-link-btn:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  color: var(--muted);
  pointer-events: none;
}

.search-box input {
  width: 210px;
  padding: 8px 14px 8px 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.search-box input:focus {
  border-color: var(--accent);
  background: #fff;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-btn:hover {
  background: var(--accent-hover);
}

.cart-badge {
  background: #fff;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.mobile-menu-panel {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 14px 0 16px;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.mobile-search-box input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.mobile-search-box input:focus {
  border-color: var(--accent);
  background: #fff;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border: none;
  border-bottom: 1px solid var(--surface);
  background: none;
  font-family: inherit;
  cursor: pointer;
}

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

/* Hero Banner */
.hero-section {
  padding: 22px 0 12px;
}

.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
}

.hero-slides {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide {
  min-width: 100%;
  cursor: pointer;
}

.hero-slide img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.hero-carousel:hover .hero-arrow {
  opacity: 1;
}

.hero-arrow:hover {
  background: #fff;
}

.hero-arrow.prev {
  left: 14px;
}

.hero-arrow.next {
  right: 14px;
}

.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 5;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dot.active {
  width: 24px;
  background: #fff;
}

/* Categories: Hair Care & Cosmetics */
.categories-section {
  padding: 32px 0 28px;
}

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

.category-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover,
.category-card.active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.category-media {
  width: 100%;
  aspect-ratio: 16 / 6;
  overflow: hidden;
  background: var(--surface);
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.category-card:hover .category-media img {
  transform: scale(1.03);
}

.category-body {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.category-body h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.category-count {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.category-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.18s, color 0.18s;
}

.category-card:hover .category-arrow,
.category-card.active .category-arrow {
  background: var(--accent);
  color: #fff;
}

/* Product Detail inside Modal */
.product-detail-card {
  background: var(--bg);
}

.loading-box {
  padding: 48px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border-radius: 16px;
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: start;
}

/* Gallery */
.pdp-gallery {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  position: relative;
}

.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-thumb {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  padding: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.18s;
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pdp-thumb.active,
.pdp-thumb:hover {
  border-color: var(--accent);
}

.pdp-main-wrap {
  position: relative;
}

.pdp-main-stage {
  position: relative;
  border-radius: 16px;
  background: var(--surface);
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}

.pdp-main-stage img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  display: block;
  user-select: none;
}

.zoom-lens {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(17, 17, 17, 0.25);
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  display: none;
  border-radius: 8px;
}

.zoom-flyout {
  position: absolute;
  top: 0;
  left: calc(100% + 20px);
  width: min(440px, 38vw);
  height: 480px;
  background-color: #fff;
  background-repeat: no-repeat;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  z-index: 30;
  display: none;
  pointer-events: none;
}

/* Product Info */
.pdp-info {
  padding-top: 6px;
}

.pdp-meta-line {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.pdp-title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.pdp-subtitle {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 14px;
}

.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  margin-bottom: 20px;
}

.stars {
  color: var(--gold);
  font-weight: 600;
}

.rating-label,
.meta-dot {
  color: var(--muted);
}

.stock-pill {
  color: var(--success);
  font-weight: 600;
}

.stock-pill.out {
  color: var(--danger);
}

.pdp-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.price-current {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.price-compare {
  font-size: 15px;
  color: var(--muted);
  text-decoration: line-through;
}

.price-save {
  background: #fef3c7;
  color: #92400e;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.pdp-short-desc {
  font-size: 14.5px;
  color: #4b5563;
  margin: 0 0 24px;
  line-height: 1.65;
}

/* Buy Actions */
.pdp-buy-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  height: 46px;
}

.qty-control button {
  width: 38px;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 17px;
  cursor: pointer;
  color: var(--text);
}

.qty-control button:hover {
  background: var(--surface);
}

.qty-control input {
  width: 42px;
  height: 100%;
  text-align: center;
  border: none;
  font-size: 14.5px;
  font-weight: 600;
  font-family: inherit;
  outline: none;
  background: transparent;
}

.pdp-add-btn {
  flex: 1;
  height: 46px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.12s;
  font-family: inherit;
}

.btn:active {
  transform: scale(0.99);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

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

.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
}

.btn-outline {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--surface);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
}

.btn-secondary:hover {
  background: #ebebea;
}

.btn-whatsapp {
  background: #16a34a;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #15803d;
}

.btn-full {
  width: 100%;
}

.pdp-secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Minimal Underline Tabs */
.pdp-tabs-wrap {
  margin-top: 44px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.pdp-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}

.pdp-tab-btn {
  padding: 0 0 12px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  color: var(--muted);
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}

.pdp-tab-btn:hover {
  color: var(--text);
}

.pdp-tab-btn.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.pdp-tab-panel {
  font-size: 14.5px;
  color: #374151;
  max-width: 820px;
}

.pdp-tab-panel p {
  margin: 0 0 12px;
  white-space: pre-line;
  line-height: 1.7;
}

.how-to-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.specs-table td:first-child {
  font-weight: 600;
  width: 32%;
  color: var(--text);
}

/* Catalog Section */
.catalog-section {
  padding: 48px 0 64px;
  border-top: 1px solid var(--border);
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-heading-row h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.catalog-meta {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.catalog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-filter-pill {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.cat-filter-pill:hover {
  border-color: var(--accent);
  color: var(--text);
}

.cat-filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

.empty-catalog {
  grid-column: 1 / -1;
  padding: 36px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border-radius: 14px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-card-img {
  aspect-ratio: 1 / 1;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  cursor: pointer;
}

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

.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-cat {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-card-title {
  margin: 4px 0 8px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  line-height: 1.35;
}

.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  margin-top: auto;
}

.product-card-price strong {
  font-size: 16px;
  font-weight: 700;
}

.product-card-price .price-compare {
  font-size: 13px;
}

/* Lightbox Modal */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.86);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.lightbox-dialog {
  width: min(1100px, 96vw);
  height: min(92vh, 840px);
  background: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.lightbox-title {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.lightbox-controls button {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
}

.lightbox-controls .lightbox-close {
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  padding: 0 6px;
}

.lightbox-body {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  overflow: hidden;
}

.lightbox-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}

.lightbox-stage.zoomed {
  cursor: grab;
}

.lightbox-stage img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.12s ease-out;
  transform-origin: center center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  cursor: pointer;
}

.lightbox-nav.prev {
  left: 14px;
}

.lightbox-nav.next {
  right: 14px;
}

.lightbox-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.lightbox-thumb-btn {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  padding: 3px;
  background: var(--surface);
  cursor: pointer;
}

.lightbox-thumb-btn.active {
  border-color: var(--accent);
}

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

/* Cart Drawer & Modals */
.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(3px);
  z-index: 70;
}

.modal-backdrop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(410px, 100vw);
  height: 100vh;
  background: #fff;
  z-index: 80;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
}

.drawer-header,
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.drawer-header h3,
.modal-header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.modal-header small {
  color: var(--muted);
  font-size: 12.5px;
}

.icon-close {
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  color: var(--muted);
}

.icon-close:hover {
  color: var(--text);
}

.shipping-progress-wrap {
  padding: 12px 22px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
}

.shipping-progress-wrap p {
  margin: 0 0 7px;
}

.shipping-bar {
  height: 5px;
  background: #e5e5e3;
  border-radius: 999px;
  overflow: hidden;
}

.shipping-bar-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.3s ease;
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.empty-cart-msg {
  color: var(--muted);
  text-align: center;
  margin-top: 36px;
  font-size: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--surface);
  border-radius: 8px;
  padding: 4px;
}

.cart-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.cart-item-unit {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.cart-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.mini-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.mini-qty button {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.mini-qty span {
  padding: 0 8px;
  font-size: 13px;
  font-weight: 600;
}

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

.remove-btn:hover {
  color: var(--danger);
}

.drawer-footer {
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.summary-line strong {
  color: var(--text);
}

.summary-line.total {
  font-size: 16px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin: 10px 0 14px;
  color: var(--text);
  font-weight: 700;
}

/* Checkout, Product & Track Modals */
.modal-card {
  width: min(840px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.product-modal-backdrop {
  z-index: 60;
}

.product-modal-card {
  width: min(1040px, 100%);
}

.product-modal-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  z-index: 5;
}

.back-btn {
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  padding: 4px 0;
}

.back-btn:hover {
  color: var(--muted);
}

.product-modal-body {
  padding: 28px;
}

.track-card {
  width: min(560px, 100%);
}

.modal-body {
  padding: 22px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.checkout-summary-box {
  background: var(--surface);
  border-radius: 12px;
  padding: 18px;
  height: fit-content;
}

.checkout-summary-box h4 {
  margin: 0 0 14px;
  font-size: 15px;
}

.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.checkout-item-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
}

.form-error {
  background: #fef2f2;
  color: var(--danger);
  border: 1px solid #fecaca;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 12px;
}

.order-confirmation {
  text-align: center;
  padding: 20px 10px;
}

.success-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--success);
  font-size: 28px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.confirm-details {
  background: var(--surface);
  border-radius: 12px;
  padding: 14px;
  text-align: left;
  max-width: 440px;
  margin: 16px auto;
  font-size: 13.5px;
  line-height: 1.7;
}

.confirm-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.track-form {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.track-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

.track-card-result {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: var(--surface);
  margin-bottom: 12px;
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #e5e5e3;
  color: var(--text);
}

/* Dedicated Product Detail Page */
.pdp-page-main {
  padding: 28px 0 64px;
  min-height: 60vh;
}

.pdp-page-topbar {
  margin-bottom: 22px;
}

.pdp-page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.15s, border-color 0.15s;
}

.pdp-page-back:hover {
  background: #fff;
  border-color: var(--accent);
}

/* Big Coming Soon Modal */
.coming-soon-card {
  width: min(540px, 100%);
  border-radius: 20px;
  overflow: hidden;
}

.coming-soon-header {
  border-bottom: 1px solid var(--border);
  padding: 16px 22px;
}

.coming-soon-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.coming-soon-body {
  text-align: center;
  padding: 34px 28px 36px;
}

.coming-soon-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #f5f3ff;
  color: #6d28d9;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon-body h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.coming-soon-body p {
  margin: 0 auto 24px;
  max-width: 420px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.coming-soon-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer a.btn-whatsapp,
.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
}

.site-footer a.btn-whatsapp:hover,
.footer-whatsapp-btn:hover {
  color: #fff;
}

/* Minimal Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding-top: 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 10px;
  display: block;
}

.footer-brand p {
  margin: 0;
  font-size: 13.5px;
  max-width: 300px;
}

.site-footer h4 {
  color: var(--text);
  font-size: 14px;
  margin: 0 0 12px;
}

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

.site-footer li {
  margin-bottom: 8px;
  font-size: 13.5px;
}

.site-footer p {
  margin: 0 0 6px;
  font-size: 13.5px;
}

.site-footer strong {
  color: var(--text);
}

.site-footer a,
.footer-link-btn {
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.site-footer a:hover,
.footer-link-btn:hover {
  color: var(--text);
}

.site-footer a.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: #25d366;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25);
  transition: background 0.18s, transform 0.15s;
}

.site-footer a.footer-whatsapp-btn:hover {
  background: #16a34a;
  color: #fff;
  transform: translateY(-1px);
}

/* Hair Problem Consultation Box */
.hair-consult-box {
  margin-top: 34px;
  padding: 26px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.hair-consult-text {
  max-width: 640px;
}

.hair-consult-badge {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.hair-consult-text h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #14532d;
}

.hair-consult-text p {
  margin: 0;
  font-size: 14px;
  color: #166534;
  line-height: 1.55;
}

.hair-consult-btn {
  background: #25d366;
  color: #fff;
  padding: 13px 22px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.28);
  white-space: nowrap;
}

.hair-consult-btn:hover {
  background: #16a34a;
  color: #fff;
}

/* Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.36);
  transition: transform 0.18s ease, background 0.18s ease;
}

.floating-wa-btn:hover {
  background: #16a34a;
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  z-index: 120;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

@media (max-width: 920px) {
  .zoom-flyout {
    display: none !important;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .pdp-grid,
  .checkout-layout,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pdp-gallery {
    grid-template-columns: 1fr;
  }
  .pdp-thumbs {
    flex-direction: row;
    order: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .pdp-main-stage {
    height: 340px;
  }
  .product-modal-body {
    padding: 18px;
  }
  .hero-arrow {
    opacity: 0.9;
  }
}

@media (max-width: 640px) {
  .announcement-bar {
    font-size: 11.5px;
    padding: 6px 10px;
    line-height: 1.4;
  }
  .header-inner {
    height: 60px;
    gap: 12px;
  }
  .brand-logo img {
    height: 34px;
  }
  .search-box {
    display: none;
  }
  .cart-label {
    display: none;
  }
  .cart-btn {
    padding: 8px 11px;
  }

  /* Hero: full edge-to-edge left-to-right & 100% visible uncropped on mobile */
  .hero-section {
    padding: 0 0 10px;
  }
  .hero-section .container {
    width: 100%;
    max-width: 100%;
  }
  .hero-carousel {
    border-radius: 0;
  }
  .hero-slide img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    display: block;
  }
  .hero-arrow {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .hero-arrow.prev {
    left: 8px;
  }
  .hero-arrow.next {
    right: 8px;
  }
  .hero-dots {
    bottom: 8px;
  }

  /* 2 Categories side-by-side on mobile */
  .categories-section {
    padding: 20px 0 18px;
  }
  .section-heading-row {
    margin-bottom: 16px;
    gap: 10px;
  }
  .section-heading-row h2 {
    font-size: 20px;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .category-card {
    border-radius: 12px;
  }
  .category-media {
    aspect-ratio: 16 / 9;
  }
  .category-body {
    padding: 11px 12px;
    gap: 8px;
  }
  .category-body h3 {
    font-size: 15px;
  }
  .category-count {
    font-size: 11.5px;
  }
  .category-arrow {
    width: 28px;
    height: 28px;
    font-size: 13px;
    flex-shrink: 0;
  }

  /* Catalog large full-width product cards on mobile */
  .catalog-section {
    padding: 28px 0 44px;
  }
  .catalog-filters {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }
  .cat-filter-pill {
    white-space: nowrap;
    padding: 6px 13px;
    font-size: 12.5px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .product-card {
    border-radius: 14px;
  }
  .product-card-img {
    padding: 8px;
    aspect-ratio: 1 / 1;
  }
  .product-card-body {
    padding: 16px;
  }
  .product-card-cat {
    font-size: 11px;
  }
  .product-card-title {
    font-size: 17px;
    margin: 4px 0 8px;
  }
  .product-card-price {
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 6px 8px;
  }
  .product-card-price strong {
    font-size: 18px;
  }
  .product-card-price .price-compare {
    font-size: 13.5px;
  }
  .product-card .btn {
    padding: 12px 16px;
    font-size: 15px;
  }
  .hair-consult-box {
    margin-top: 24px;
    padding: 20px 18px;
  }
  .hair-consult-text h3 {
    font-size: 18px;
  }
  .hair-consult-btn {
    width: 100%;
  }
  .floating-wa-btn {
    right: 14px;
    bottom: 14px;
    padding: 10px 14px;
    font-size: 13px;
  }

  /* Full-screen / mobile-sheet Product Modal */
  .product-modal-backdrop {
    padding: 0;
  }
  .product-modal-card {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }
  .product-modal-body {
    padding: 16px;
  }
  .pdp-main-stage {
    height: 270px;
    border-radius: 12px;
  }
  .pdp-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
  .pdp-title {
    font-size: 21px;
  }
  .price-current {
    font-size: 24px;
  }
  .pdp-tabs {
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
  }
  .specs-table td:first-child {
    width: 42%;
  }

  /* Cart, Checkout, Lightbox & Track Modals */
  .cart-drawer {
    height: 100dvh;
  }
  .modal-backdrop {
    padding: 10px;
  }
  .modal-card {
    max-height: 94dvh;
  }
  .modal-body {
    padding: 16px;
  }
  .form-row,
  .pdp-secondary-actions {
    grid-template-columns: 1fr;
  }
  .form-group input,
  .form-group textarea,
  .form-group select,
  .track-form input {
    font-size: 16px;
  }
  .track-form {
    flex-direction: column;
  }

  .lightbox-backdrop {
    padding: 8px;
  }
  .lightbox-dialog {
    width: 100%;
    height: 92dvh;
    border-radius: 12px;
  }
  .lightbox-header {
    flex-wrap: wrap;
    padding: 10px 12px;
  }
  .lightbox-title {
    font-size: 13px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .lightbox-nav {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .lightbox-thumb-btn {
    width: 50px;
    height: 50px;
  }

  .footer-grid {
    gap: 22px;
    padding-bottom: 26px;
  }
  .site-footer {
    padding-top: 32px;
  }
}

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