* { box-sizing: border-box; }
html { min-height: 100%; }
body { min-height: 100vh; font-family: Inter, system-ui, sans-serif; }
.site-body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
html[dir="rtl"] .site-body { text-align: right; }
html[dir="rtl"] .section-head,
html[dir="rtl"] .cart-line,
html[dir="rtl"] .rank-row { direction: rtl; }
html[dir="rtl"] .text-right { text-align: left; }
html[dir="rtl"] .text-left { text-align: right; }
.site-main { flex: 1 0 auto; width: 100%; padding-bottom: 4rem; }
.site-footer { flex-shrink: 0; margin-top: auto; }
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 3.55rem;
  height: 3.55rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #25d366;
  color: white;
  box-shadow: 0 16px 40px rgba(17, 17, 17, .24);
}
.whatsapp-float:hover { color: white; background: #1fb95a; transform: translateY(-2px); }
.whatsapp-float svg { width: 1.9rem; height: 1.9rem; fill: currentColor; }
h1, h2, .font-serif { font-family: "Cormorant Garamond", Georgia, serif; }
a { transition: color .2s ease, background .2s ease, border .2s ease, transform .2s ease; }
a:hover { color: #b66b2f; }
img { max-width: 100%; display: block; }
button:disabled { opacity: .45; cursor: not-allowed; }
input, select, textarea { font: inherit; }

.brand-mark { display: inline-flex; align-items: center; gap: .65rem; color: #111; }
.brand-mark img { width: 46px; height: 46px; border-radius: 999px; object-fit: cover; border: 1px solid #e7ded1; }
.brand-mark span { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; letter-spacing: .18em; }
.primary-nav { display: none; align-items: center; gap: 1.35rem; font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.icon-btn { width: 2.35rem; height: 2.35rem; display: grid; place-items: center; border: 1px solid #e7ded1; border-radius: 999px; background: #fff; color: #171411; }
.icon-btn svg { width: 1.12rem; height: 1.12rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { border-color: #b66b2f; color: #b66b2f; }
.language-toggle { display: inline-grid; grid-template-columns: auto auto; align-items: center; flex: none; overflow: hidden; border: 1px solid #d8cbbd; border-radius: 999px; background: #f3ece3; padding: 2px; direction: ltr; }
.language-option { min-width: 2rem; height: 1.85rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 .55rem; color: #6d5f53; font-size: .67rem; font-weight: 800; line-height: 1; letter-spacing: 0; white-space: nowrap; }
.language-option:hover { color: #171411; }
.language-option.is-active { background: #171411; color: white; box-shadow: 0 2px 8px rgba(23, 20, 17, .16); cursor: default; }
.language-option:focus-visible { outline: 2px solid #b66b2f; outline-offset: 1px; }
.language-label-short { display: none; }
.nav-toggle { display: grid; }
.nav-toggle-close { display: none; }
.nav-is-open .nav-toggle-open { display: none; }
.nav-is-open .nav-toggle-close { display: block; }
.site-nav-drawer { position: absolute; top: 100%; right: 0; left: 0; border-top: 1px solid #e7ded1; border-bottom: 1px solid #e7ded1; background: rgba(255, 250, 243, .98); box-shadow: 0 18px 38px rgba(23, 20, 17, .12); backdrop-filter: blur(14px); }
.site-nav-drawer.hidden { display: none; }
.site-nav-drawer nav { width: min(100% - 2rem, 76rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin: 0 auto; padding: 1rem 0 1.2rem; }
.site-nav-drawer a { min-height: 2.8rem; display: flex; align-items: center; border-bottom: 1px solid #eadfd1; padding: .65rem .25rem; color: #171411; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
html[dir="rtl"] .site-nav-drawer a { justify-content: flex-start; }
.cart-badge { position: absolute; right: -4px; top: -5px; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; background: #b66b2f; color: white; font-size: 11px; }
.btn-dark, .btn-light, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .7rem 1.2rem; border-radius: 999px; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.btn-dark { background: #111; color: white; border: 1px solid #111; }
.btn-dark:hover { background: #b66b2f; border-color: #b66b2f; color: white; }
.btn-icon { width: 1rem; height: 1rem; margin-right: .45rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn-light { background: white; color: #111; border: 1px solid white; }
.btn-ghost { border: 1px solid #2a2119; color: #2a2119; background: transparent; }
.btn-ghost.small { min-height: 2rem; padding: .35rem .7rem; font-size: .72rem; }
.btn-danger { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .7rem 1.2rem; border-radius: 999px; border: 1px solid #a02d20; background: #a02d20; color: white; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.btn-danger:hover { background: #171411; border-color: #171411; color: white; }
.btn-danger.small { min-height: 2rem; padding: .35rem .7rem; font-size: .72rem; }
.eyebrow { color: #b66b2f; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.hero { position: relative; min-height: clamp(520px, 80vh, 760px); display: flex; align-items: center; overflow: hidden; background: #f4eadb; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img { object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251,247,239,.96), rgba(251,247,239,.68) 42%, rgba(251,247,239,.05)); }
.hero-content { position: relative; width: min(100% - 2rem, 76rem); margin: 0 auto; padding: 5rem 0 8rem; }
.hero h1 { max-width: 650px; font-size: clamp(3.4rem, 8vw, 8rem); line-height: .86; letter-spacing: 0; }
.hero p:not(.eyebrow) { max-width: 460px; margin-top: 1.4rem; color: #56483e; font-size: 1.05rem; line-height: 1.8; }
.section { width: min(100% - 2rem, 76rem); margin: 4.5rem auto 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.section-head h2, .split-section h2, .instagram-band h2, .page-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: .96; }
.circle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 1.3rem; }
.circle-card { text-align: center; font-size: .9rem; font-weight: 600; }
.circle-img { width: min(100%, 138px); aspect-ratio: 1; margin: 0 auto .8rem; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #fff 0, #f4dfc4 45%, #c47d3c 100%); color: #2b2119; font-family: "Cormorant Garamond", serif; font-size: 3rem; overflow: hidden; }
.circle-img img { width: 100%; height: 100%; object-fit: cover; }
.color-story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.color-story { min-height: 150px; display: flex; flex-direction: column; justify-content: end; gap: .4rem; padding: 1.2rem; border: 1px solid #eadfd1; background: white; }
.color-story span { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 0 0 3px rgba(255,255,255,.45); }
.color-story strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.8rem; line-height: 1; }
.color-story small { color: #766a60; }
.split-section { width: min(100% - 2rem, 76rem); margin: 5rem auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: end; padding: 4rem; background: #171411; color: white; }
.split-section p:last-child { color: #e8d9c7; line-height: 2; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.product-card { min-width: 0; }
.product-media-wrap { position: relative; }
.product-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #f3e8d9; }
.product-media img, .product-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-media img, .product-card:hover .product-media video { transform: scale(1.04); }
.favorite { position: absolute; right: .8rem; top: .8rem; z-index: 3; width: 2.2rem; height: 2.2rem; border-radius: 999px; background: rgba(255,255,255,.92); display: grid; place-items: center; color: #111; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.favorite.is-active, .favorite-detail.is-active { background: #b66b2f; border-color: #b66b2f; color: white; }
.favorite-detail { margin-top: 1.4rem; display: inline-flex; min-height: 2.6rem; align-items: center; justify-content: center; border: 1px solid #ded4c7; background: white; padding: .65rem 1rem; border-radius: 999px; font-size: .86rem; font-weight: 700; color: #111; }
.wishlist-panel { position: absolute; right: 0; top: calc(100% + .7rem); width: min(320px, calc(100vw - 2rem)); border: 1px solid #eadfd1; background: white; color: #111; padding: 1rem; box-shadow: 0 18px 50px rgba(0,0,0,.16); }
.wishlist-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #f0e8df; padding: .85rem 0; color: #111; }
.wishlist-item:last-child { border-bottom: 0; }
.wishlist-item span { font-weight: 700; }
.wishlist-item small { color: #b66b2f; white-space: nowrap; }
.empty-state {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 210px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .55rem;
  border: 1px dashed #d8cbbd;
  border-radius: 8px;
  background: linear-gradient(180deg, #fffdf9, #fbf4eb);
  padding: 2rem;
  text-align: center;
  color: #171411;
}
.empty-state-compact { min-height: 150px; padding: 1.25rem; }
.empty-state-icon {
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f3eadf;
  color: #8a5628;
}
.empty-state-compact .empty-state-icon { width: 3.4rem; height: 3.4rem; }
.empty-state-icon svg {
  width: 70%;
  height: 70%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.empty-state strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1; }
.empty-state-compact strong { font-size: 1.55rem; }
.empty-state small { max-width: 28rem; color: #796d62; font-size: .86rem; line-height: 1.6; }
.badge { position: absolute; left: .8rem; top: .8rem; border-radius: 999px; background: #111; color: white; padding: .35rem .65rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.color-dot { width: 18px; height: 18px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.bag-placeholder { height: 100%; min-height: 260px; display: grid; place-items: center; background: linear-gradient(135deg, #f8eee1, #d1a06c 52%, #1f1a16); color: white; }
.bag-placeholder span { width: 42%; aspect-ratio: 1.1; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.75); border-radius: 44% 44% 18% 18%; font-family: "Cormorant Garamond", serif; font-size: 4rem; }
.bag-placeholder.large { min-height: 560px; }
.bag-placeholder.mini { width: 82px; height: 96px; min-height: 0; flex: none; }
.bag-placeholder.mini span { font-size: 1.3rem; }
.collection-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.collection-card { min-height: 180px; padding: 1.5rem; display: flex; flex-direction: column; justify-content: end; background: linear-gradient(135deg, #211b16, #b66b2f); color: white; }
.collection-card span { font-family: "Cormorant Garamond", serif; font-size: 2rem; line-height: 1; }
.collection-card small { margin-top: .8rem; color: #ffe9d3; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.offer-card { min-height: 190px; padding: 1.5rem; display: flex; flex-direction: column; justify-content: end; border: 1px solid #eadfd1; background: white; color: #171411; }
.offer-card.featured { background: linear-gradient(135deg, #171411, #b65f22); color: white; border-color: transparent; transform: translateY(-6px); }
.offer-card span { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #b66b2f; }
.offer-card.featured span { color: #ffcf9e; }
.offer-card strong { margin-top: .45rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 3rem; line-height: 1; }
.offer-card small { margin-top: .7rem; color: #766a60; line-height: 1.7; }
.offer-card.featured small { color: #ffe7d0; }
.testimonials-section { padding: clamp(1.4rem, 4vw, 3.4rem); overflow: hidden; background: #f6efe5; border: 1px solid #eadfd1; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; align-items: start; }
.testimonial-screenshot { overflow: hidden; border: 1px solid rgba(25, 62, 49, .16); border-radius: 8px; background: #fff; padding: .45rem; box-shadow: 0 18px 40px rgba(50, 34, 19, .08); }
.testimonial-screenshot img { width: 100%; height: auto; border-radius: 6px; }
.instagram-band { width: min(100% - 2rem, 76rem); margin: 5rem auto 0; display: grid; grid-template-columns: .75fr 1.25fr; gap: 2rem; align-items: center; }
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.insta-tile { display: block; aspect-ratio: 1; overflow: hidden; background: linear-gradient(135deg, #f7ebdb, #bd7438 55%, #111); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.insta-tile:hover img { transform: scale(1.04); }
.page-head { width: min(100% - 2rem, 76rem); margin: 3.5rem auto 2rem; }
.breadcrumbs { width: min(100% - 2rem, 76rem); display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: 1.5rem auto 0; color: #7d7065; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.breadcrumbs a { color: #171411; }
.breadcrumbs a:hover { color: #b66b2f; }
.breadcrumbs span[aria-current="page"] { max-width: 42rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7d7065; }
html[dir="rtl"] .breadcrumbs { direction: rtl; }
.category-links { width: min(100% - 2rem, 76rem); display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin: 0 auto 2rem; }
.category-links a { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid #e0d3c5; border-radius: 999px; background: #fff; padding: .65rem .9rem; color: #171411; font-size: .78rem; font-weight: 800; box-shadow: 0 8px 22px rgba(50, 34, 19, .05); }
.category-links a:hover { border-color: #b66b2f; color: #8a5628; transform: translateY(-1px); }
.category-links small { min-width: 1.35rem; height: 1.35rem; display: grid; place-items: center; border-radius: 999px; background: #f5ede3; color: #796d62; font-size: .65rem; }

.shop-layout { width: min(100% - 2rem, 76rem); margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.filters, .summary-box, .form-panel, .dash-panel { border: 1px solid #eadfd1; background: white; padding: 1.3rem; box-shadow: 0 14px 40px rgba(50, 34, 19, .06); }
.filters form, .form-panel { display: grid; gap: 1rem; }
.shop-filters { position: relative; z-index: 1; border-radius: 10px; background: linear-gradient(180deg, #fff, #fffaf4); }
.filter-title-row { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.filter-group { display: grid; gap: .7rem; border-bottom: 1px solid #eee5dc; padding-bottom: 1rem; }
.filter-group-title { color: #8a5628; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.price-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.filter-actions { display: grid; gap: .65rem; }
.filter-actions .btn-dark { width: 100%; }
.filter-actions a { color: #796d62; font-size: .78rem; font-weight: 700; text-align: center; text-decoration: underline; }
.filter-offer { margin: 0; border-left: 3px solid #b66b2f; background: #fbf3e8; padding: .75rem; color: #6d5f53; font-size: .76rem; line-height: 1.55; }
.mobile-filter-toggle { display: none; }
.badge-out-of-stock { border: 1px solid #a02d20; background: #fff0ee; color: #a02d20; }
.custom-select { position: relative; display: block; }
.custom-select-trigger { display: flex; width: 100%; min-height: 2.9rem; align-items: center; justify-content: space-between; gap: .7rem; border: 1px solid #ded4c7; border-radius: 6px; background: #fffdf9; padding: .72rem .85rem; color: #171411; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 600; letter-spacing: 0; text-align: left; }
.custom-select-trigger:hover, .custom-select.is-open .custom-select-trigger { border-color: #b66b2f; background: #fff8ef; }
.custom-select-trigger > span { color: #b66b2f; font-size: 1rem; line-height: 1; transition: transform .18s ease; }
.custom-select.is-open .custom-select-trigger > span { transform: rotate(180deg); }
.custom-select-menu { position: absolute; z-index: 20; top: calc(100% + .35rem); left: 0; display: none; width: 100%; max-height: 14rem; overflow-y: auto; border: 1px solid #eadfd1; border-radius: 8px; background: #fffdf9; padding: .35rem; box-shadow: 0 18px 35px rgba(50, 34, 19, .16); }
.custom-select.is-open .custom-select-menu { display: grid; gap: .15rem; }
.custom-select-menu button { width: 100%; border: 0; border-radius: 5px; background: transparent; padding: .65rem .7rem; color: #4d4036; cursor: pointer; font: inherit; font-size: .78rem; text-align: left; }
.custom-select-menu button:hover, .custom-select-menu button[aria-selected="true"] { background: #f5ede3; color: #8a5628; font-weight: 800; }
label { display: grid; gap: .45rem; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6d5f53; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  min-height: 2.9rem;
  border: 1px solid #ded4c7;
  border-radius: 6px;
  background: #fffdf9;
  padding: .72rem .85rem;
  color: #171411;
  outline: none;
  transition: border .18s ease, box-shadow .18s ease, background .18s ease;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select,
textarea {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
select { padding-right: 2.5rem !important; }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #6d5f53 50%), linear-gradient(135deg, #6d5f53 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}
textarea { line-height: 1.7; resize: vertical; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
select {
  height: 2.9rem;
  line-height: 1.2;
}
input:focus, select:focus, textarea:focus { border-color: #b66b2f; background: #fff; box-shadow: 0 0 0 3px rgba(182, 107, 47, .14); }
input::placeholder, textarea::placeholder { color: #a99c90; }
input[type="checkbox"], input[type="radio"] { width: 1rem; min-height: 1rem; accent-color: #b66b2f; box-shadow: none; }
input[type="file"] {
  width: min(100%, 12rem);
  max-width: 12rem;
  min-width: 0;
  min-height: 2.35rem;
  overflow: hidden;
  padding: .35rem;
  background: #fff;
  font-size: .72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
input[type="file"]::file-selector-button {
  max-width: 5.8rem;
  margin-right: .35rem;
  border: 0;
  border-radius: 999px;
  background: #171411;
  color: white;
  padding: .4rem .55rem;
  font-size: .68rem;
  font-weight: 800;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.filter-title { margin-bottom: 1rem; border-bottom: 1px solid #efe5da; padding-bottom: 1rem; }
.filter-title span { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; line-height: 1; }
.filter-title small { display: block; margin-top: .35rem; color: #796d62; line-height: 1.6; }
.pagination { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.logs-export-action { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid #d8c7b7; border-radius: 999px; background: #fffaf4; padding: .65rem .9rem; color: #7a4c20; font-size: .78rem; font-weight: 800; }
.logs-export-action:hover { border-color: #b66b2f; background: #fff3e4; color: #171411; }
.logs-export-action svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.logs-filter-form { border-bottom: 1px solid #eee5dc; padding-bottom: 1rem; }
.logs-pagination { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1.25rem; }
.logs-pagination-link { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid #e0d5ca; border-radius: 999px; background: #fff; padding: .5rem .75rem; color: #5f5145; font-size: .75rem; font-weight: 800; transition: border-color .2s, background .2s, color .2s; }
.logs-pagination-link:hover { border-color: #b66b2f; background: #fff8ef; color: #7a4c20; }
.logs-pagination-link.is-disabled { opacity: .4; pointer-events: none; }
.logs-pagination-status { display: inline-flex; min-width: 5.5rem; align-items: baseline; justify-content: center; gap: .3rem; color: #796d62; font-size: .75rem; }
.logs-pagination-status strong { display: grid; width: 1.8rem; height: 1.8rem; place-items: center; border-radius: 999px; background: #171411; color: white; font-size: .72rem; }
.product-detail { width: min(100% - 2rem, 76rem); margin: 3rem auto 0; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: start; }
.product-gallery { min-width: 0; }
.gallery-frame { position: relative; overflow: hidden; background: #f4e7d5; touch-action: pan-y; }
.gallery-track { position: relative; aspect-ratio: 4 / 5; }
.gallery-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .24s ease, visibility .24s ease; }
.gallery-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.gallery-media, .product-video { width: 100%; height: 100%; object-fit: cover; background: #f4e7d5; }
.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #171411;
  transform: translateY(-50%);
  box-shadow: 0 12px 34px rgba(23, 20, 17, .16);
}
.gallery-nav:hover { background: #171411; border-color: #171411; color: white; }
.gallery-nav svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gallery-nav-prev { left: .85rem; }
.gallery-nav-next { right: .85rem; }
.gallery-count { position: absolute; right: .9rem; bottom: .9rem; z-index: 3; border-radius: 999px; background: rgba(23, 20, 17, .72); color: white; padding: .35rem .65rem; font-size: .72rem; font-weight: 700; }
.thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(72px, 1fr); gap: .7rem; margin-top: .7rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: thin; }
.thumb {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: #f4e7d5;
  color: #171411;
  cursor: pointer;
  scroll-snap-align: start;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb span { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #f8eee1, #d1a06c 52%, #1f1a16); color: white; font-family: "Cormorant Garamond", serif; font-size: 2rem; }
.thumb small { position: absolute; left: .35rem; bottom: .35rem; border-radius: 999px; background: rgba(23,20,17,.75); color: white; padding: .18rem .38rem; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.thumb.is-active { border-color: #b66b2f; }
.thumb:focus-visible { outline: 3px solid rgba(182,107,47,.3); outline-offset: 2px; }
.product-info { position: sticky; top: 6rem; }
.product-info h1 { font-size: clamp(2.8rem, 5vw, 5rem); line-height: .92; }
.price { margin: 1.4rem 0; font-size: 1.5rem; font-weight: 700; }
.price span { margin-left: .7rem; color: #9b9288; text-decoration: line-through; font-size: 1rem; }
.variant-list { display: grid; gap: .7rem; }
.variant-list label { display: flex; align-items: center; gap: .7rem; border: 1px solid #e5dacd; padding: .8rem; font-weight: 500; }
.variant-list label.disabled { color: #9b9288; background: #f5f0ea; }
.variant-list small { margin-left: auto; color: #8c8175; }
.input.qty { max-width: 86px; }
.cart-layout, .checkout-layout { width: min(100% - 2rem, 76rem); margin: 0 auto; display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.cart-lines { display: grid; gap: 1rem; }
.cart-line { display: flex; gap: 1rem; border: 1px solid #eadfd1; background: white; padding: 1rem; }
.summary-box h2 { font-family: "Cormorant Garamond", serif; font-size: 2rem; }
.confirmation { width: min(100% - 2rem, 46rem); min-height: 52vh; margin: 4rem auto; text-align: center; }
.confirmation h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.order-alert { margin: 0 auto 2rem; display: grid; gap: .35rem; border: 1px solid rgba(34, 112, 68, .2); background: #f0fbf4; color: #164f2e; padding: 1rem; text-align: left; }
.order-alert strong { font-size: .95rem; }
.order-alert span { color: #3f6d51; line-height: 1.6; }
.content-page { width: min(100% - 2rem, 52rem); margin: 0 auto; padding: 2rem; background: white; border: 1px solid #eadfd1; line-height: 2; }
.content-page h2 { margin-top: 1.4rem; font-size: 1.7rem; }
.content-page p + p { margin-top: 1rem; }
.policy-list { display: grid; gap: .85rem; list-style: disc; padding-left: 1.2rem; }
html[dir="rtl"] .policy-list { padding-right: 1.2rem; padding-left: 0; }
.policy-note { margin-top: 1.4rem; border: 1px solid #eadfd1; background: #fbf7ef; padding: 1rem; font-weight: 700; }
footer a { display: block; margin-top: .55rem; color: #d8c7b7; }
.footer-logo { width: 210px; max-width: 100%; background: #000; }
.footer-title { margin-bottom: 1rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: #c47d3c; }

.dashboard-shell { min-height: 100vh; display: grid; grid-template-columns: 270px 1fr; }
.dash-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 2rem; background: #15120f; color: white; padding: 1.4rem; }
.dash-logo img { width: 100%; max-width: 210px; background: #000; }
.dash-sidebar-content { display: flex; flex-direction: column; gap: 2rem; }
.dash-menu-toggle { display: none; }
.dash-sidebar nav { display: grid; gap: .35rem; }
.dash-sidebar nav a { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .65rem .75rem; border-radius: 6px; color: #e8d9c7; }
.dash-sidebar nav a:hover { background: rgba(255,255,255,.08); color: white; }
.sidebar-count { min-width: 1.35rem; height: 1.35rem; display: inline-grid; place-items: center; border-radius: 999px; background: #b66b2f; color: white; padding: 0 .32rem; font-size: .65rem; font-weight: 800; }
.dash-main { padding: 2rem; min-width: 0; background: #f7f1e9; }
.dash-topbar { position: relative; z-index: 30; min-height: 2.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; border-bottom: 1px solid #e5ddd4; padding-bottom: 1rem; }
.dash-topbar-label { color: #796d62; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dashboard-notifications { position: relative; }
.dashboard-notifications summary { list-style: none; }
.dashboard-notifications summary::-webkit-details-marker { display: none; }
.notification-trigger { position: relative; width: 2.55rem; height: 2.55rem; display: grid; place-items: center; border: 1px solid #ded4c7; border-radius: 999px; background: white; color: #171411; cursor: pointer; box-shadow: 0 8px 24px rgba(50, 34, 19, .06); }
.notification-trigger:hover { border-color: #b66b2f; color: #b66b2f; }
.notification-trigger svg, .notification-icon svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.notification-count { position: absolute; right: -.35rem; top: -.4rem; min-width: 1.25rem; height: 1.25rem; display: grid; place-items: center; border: 2px solid #f7f1e9; border-radius: 999px; background: #a02d20; color: white; padding: 0 .25rem; font-size: .6rem; font-weight: 800; }
.notification-panel { position: absolute; top: calc(100% + .65rem); right: 0; width: min(390px, calc(100vw - 2rem)); overflow: hidden; border: 1px solid #ded4c7; border-radius: 8px; background: white; box-shadow: 0 22px 60px rgba(23, 20, 17, .2); }
.notification-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #eee5dc; padding: 1rem; }
.notification-heading h2 { font-size: 1.65rem; line-height: 1; }
.notification-heading > span { min-width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 999px; background: #171411; color: white; padding: 0 .4rem; font-size: .72rem; font-weight: 800; }
.notification-list { max-height: 390px; overflow-y: auto; }
.notification-item { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .8rem; border-bottom: 1px solid #f0e8df; padding: .85rem 1rem; color: #171411; }
.notification-item.is-unread { background: #fffaf4; box-shadow: inset 3px 0 #b66b2f; }
.notification-item:hover { background: #fff8ef; color: #171411; }
.notification-icon { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 999px; background: #f5ede3; color: #8a5628; }
.notification-message .notification-icon { background: #edf6ff; color: #235f95; }
.notification-stock .notification-icon { background: #fff0ee; color: #a02d20; }
.notification-copy { min-width: 0; display: grid; gap: .18rem; }
.notification-copy strong, .notification-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notification-copy strong { font-size: .82rem; }
.notification-copy small { color: #6d5f53; font-size: .75rem; }
.notification-copy time { color: #9a8e83; font-size: .66rem; }
.notification-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #eee5dc; background: #fffaf4; }
.notification-links a { display: flex; align-items: center; justify-content: center; gap: .35rem; border-right: 1px solid #eee5dc; padding: .75rem .45rem; color: #6d5f53; font-size: .68rem; font-weight: 800; }
.notification-links a:last-child { border-right: 0; }
.notification-links span { color: #b66b2f; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.dash-head h1 { font-size: 3rem; line-height: 1; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon label" "icon value"; grid-template-rows: auto auto; column-gap: .8rem; row-gap: .25rem; align-content: center; align-items: center; background: linear-gradient(180deg, #fff, #fffaf4); border: 1px solid #e5ddd4; border-radius: 8px; padding: 1rem; box-shadow: 0 12px 30px rgba(50, 34, 19, .05); }
.stat-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: #b66b2f; opacity: .9; }
.stat-icon { width: 2.35rem; height: 2.35rem; grid-area: icon; align-self: center; display: grid; place-items: center; border-radius: 999px; background: #171411; color: white; }
.stat-icon-warning { background: #a02d20; }
.stat-icon svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.stat-label { grid-area: label; display: block; align-self: end; color: #796d62; font-size: .72rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: .1em; }
.stat-card strong { grid-area: value; display: block; align-self: start; font-size: clamp(1.55rem, 2vw, 2.1rem); line-height: 1; }
.analytics-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.dash-panel { overflow-x: auto; border-radius: 8px; border-color: #e5ddd4; background: linear-gradient(180deg, #fff, #fffaf4); box-shadow: 0 14px 34px rgba(50, 34, 19, .05); }
.dash-panel h2 { margin-bottom: 1rem; font-size: 1.8rem; }
.chart-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; align-items: stretch; }
.chart-panel { grid-column: span 4; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.chart-panel-wide { grid-column: span 8; }
.chart-canvas { position: relative; width: 100%; height: 220px; max-height: 220px; min-height: 0; }
.chart-panel-wide .chart-canvas { height: 240px; max-height: 240px; }
.chart-panel canvas { display: block; width: 100% !important; height: 100% !important; max-height: 100% !important; }
.panel-title { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.panel-title h2 { margin-bottom: 0; }
.panel-title span { border-radius: 999px; background: #f5ede3; padding: .35rem .6rem; color: #796d62; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.insight-grid .dash-panel { min-height: 230px; }
.rank-list { display: grid; gap: .55rem; }
.rank-row { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: .7rem; align-items: center; border: 1px solid #f0e8df; border-radius: 8px; background: #fffdf9; padding: .7rem; color: #171411; }
.rank-row:hover { border-color: #b66b2f; background: #fff8ef; }
.rank-row span { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 999px; background: #171411; color: white; font-size: .72rem; font-weight: 800; }
.rank-row strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row em { font-style: normal; font-weight: 800; color: #b66b2f; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { border-bottom: 1px solid #ece5dc; padding: .8rem; text-align: left; vertical-align: top; }
th { color: #6f6257; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.brands-table th:nth-child(2) { width: 130px; }
.brands-table th:last-child { width: 110px; }
.brand-table-name { display: grid; gap: .25rem; min-width: 0; }
.brand-table-name strong { font-size: .95rem; }
.brand-table-name small { max-width: 46rem; color: #796d62; line-height: 1.55; }
.status-badge { display: inline-flex; width: fit-content; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; padding: .32rem .62rem; font-size: .7rem; font-weight: 800; line-height: 1; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.status-new { border-color: #d8c7b7; background: #f8efe4; color: #7a4c20; }
.status-confirmed { border-color: #a8d9b8; background: #ecf9f0; color: #1c6b39; }
.status-preparing { border-color: #b7d4f5; background: #edf6ff; color: #235f95; }
.status-shipped { border-color: #c5c4f4; background: #f0f0ff; color: #4546a0; }
.status-delivered { border-color: #91d1b3; background: #e8f8f0; color: #0f6b46; }
.status-cancelled { border-color: #efb2aa; background: #fff0ee; color: #a02d20; }
.status-returned { border-color: #e0c2ea; background: #fbf0ff; color: #7a328b; }
.product-status-active { border-color: #a8d9b8; background: #ecf9f0; color: #1c6b39; }
.product-status-inactive { border-color: #efb2aa; background: #fff0ee; color: #a02d20; }
.dash-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.admin-link { display: inline-flex; border: 0; background: transparent; padding: 0; color: #171411; font-size: .86rem; font-weight: 700; text-decoration: underline; cursor: pointer; }
.admin-link:hover { color: #b66b2f; }
.admin-link.danger { color: #a02d20; }
.admin-link.danger:hover { color: #171411; }
.admin-icon-action {
  width: 2.15rem;
  height: 2.15rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid #e0d5ca;
  border-radius: 999px;
  background: #fff;
  color: #171411;
  cursor: pointer;
}
.admin-icon-action:hover { border-color: #b66b2f; color: #b66b2f; }
.admin-icon-action.danger { color: #a02d20; }
.admin-icon-action.danger:hover { border-color: #a02d20; background: #a02d20; color: white; }
.admin-icon-action.whatsapp-action { color: #1f9d55; }
.admin-icon-action.whatsapp-action:hover { border-color: #1f9d55; background: #1f9d55; color: white; }
.admin-icon-action svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dash-search { display: flex; gap: .7rem; margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.form-grid > *, .inline-row > *, .homepage-image-row > *, .homepage-color-row > *, .homepage-testimonial-row > * { min-width: 0; }
.form-grid > label:has(textarea), .formset-panel, .form-grid > .flex { grid-column: 1 / -1; }
.form-help { display: block; margin-top: .35rem; color: #796d62; font-size: .72rem; font-weight: 500; line-height: 1.5; }
.formset-panel { border-top: 1px solid #ece5dc; padding-top: 1rem; }
.formset-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.formset-title h2 { margin-bottom: 0; }
.formset-add { display: inline-flex; min-height: 2.35rem; align-items: center; justify-content: center; gap: .45rem; border: 1px solid #171411; border-radius: 999px; background: #171411; padding: .55rem .85rem; color: white; cursor: pointer; font-size: .72rem; font-weight: 800; line-height: 1; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.formset-add:hover { border-color: #b66b2f; background: #b66b2f; }
.formset-add span { font-size: 1rem; line-height: 1; }
.inline-row { display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)); gap: .7rem; align-items: end; margin-bottom: .8rem; padding-bottom: .8rem; border-bottom: 1px solid #f0e8df; }
.admin-field, .form-grid > label { min-width: 0; }
.admin-field small { letter-spacing: 0; text-transform: none; color: #8c8175; font-weight: 500; line-height: 1.5; }
.admin-field .errorlist, .form-panel .errorlist { margin-top: .25rem; color: #a02d20; letter-spacing: 0; text-transform: none; font-weight: 600; }
.delete-toggle { align-self: end; display: inline-flex; width: fit-content; min-height: 2.35rem; align-items: center; justify-content: center; border: 1px solid #d6c7ba; border-radius: 999px; background: #fff; padding: .55rem .85rem; color: #6d5f53; cursor: pointer; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.delete-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.delete-toggle:has(input:checked) { border-color: #a02d20; background: #a02d20; color: white; }
.homepage-edit-section:first-of-type { border-top: 0; padding-top: 0; }
.homepage-edit-section + .homepage-edit-section { margin-top: 1.5rem; }
.homepage-color-list { display: grid; gap: 1rem; }
.homepage-color-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .7rem; align-items: end; padding-bottom: 1rem; border-bottom: 1px solid #f0e8df; }
.homepage-color-row:last-child { border-bottom: 0; padding-bottom: 0; }
.homepage-image-list { display: grid; gap: 1rem; }
.homepage-image-row { display: grid; grid-template-columns: 110px repeat(6, minmax(0, 1fr)); gap: .7rem; align-items: end; padding-bottom: 1rem; border-bottom: 1px solid #f0e8df; }
.homepage-image-row:last-child { border-bottom: 0; padding-bottom: 0; }
.homepage-image-preview { width: 110px; aspect-ratio: 1; overflow: hidden; background: linear-gradient(135deg, #f7ebdb, #bd7438 55%, #111); }
.homepage-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.homepage-image-preview span { display: block; width: 100%; height: 100%; }
.homepage-testimonial-list { display: grid; gap: 1rem; }
.homepage-testimonial-row { display: grid; grid-template-columns: 110px minmax(130px, .95fr) minmax(220px, 1.4fr) minmax(130px, .95fr) 90px 100px 110px; gap: .7rem; align-items: end; padding-bottom: 1rem; border-bottom: 1px solid #f0e8df; }
.homepage-testimonial-row:last-child { border-bottom: 0; padding-bottom: 0; }
.homepage-testimonial-preview { width: 110px; aspect-ratio: 9 / 16; overflow: hidden; background: #e9ded1; }
.homepage-testimonial-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.homepage-testimonial-preview span { display: block; width: 100%; height: 100%; }
.message-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.message-stat { border: 1px solid #eadfd1; border-radius: 8px; background: white; padding: 1rem; box-shadow: 0 14px 40px rgba(50, 34, 19, .06); }
.message-stat span { display: block; color: #796d62; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.message-stat strong { display: block; margin-top: .25rem; font-size: 2rem; line-height: 1; }
.message-subject { min-width: 220px; }
.message-body-preview { margin-top: .35rem; max-width: 540px; color: #6d5f53; line-height: 1.6; }
.message-meta { color: #6d5f53; font-size: .82rem; line-height: 1.7; }
.message-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 1rem; align-items: start; }
.message-detail-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #eee5dc; padding-bottom: 1rem; }
.message-detail-head div { display: grid; gap: .25rem; }
.message-detail-head span, .message-contact-panel dt { color: #796d62; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.message-detail-head time { color: #796d62; font-size: .78rem; white-space: nowrap; }
.message-full-body { min-height: 180px; padding-top: 1.3rem; line-height: 1.9; white-space: normal; }
.message-contact-panel dl { display: grid; gap: .35rem; }
.message-contact-panel dd { margin-bottom: .8rem; overflow-wrap: anywhere; }
.login-fields p { display: grid; gap: .45rem; margin-bottom: 1rem; }
.login-fields label { margin-bottom: .1rem; }
.confirm-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.confirm-modal.hidden { display: none; }
.confirm-backdrop { position: absolute; inset: 0; background: rgba(23, 20, 17, .52); }
.confirm-dialog { position: relative; z-index: 1; width: min(100%, 28rem); border: 1px solid #eadfd1; border-radius: 8px; background: #fffaf3; padding: 1.4rem; box-shadow: 0 24px 70px rgba(23,20,17,.28); }
.confirm-dialog h2 { margin-top: .35rem; font-size: 2rem; line-height: 1; }
.confirm-dialog p:not(.eyebrow) { margin-top: .8rem; color: #6d5f53; line-height: 1.7; }
.confirm-actions { margin-top: 1.3rem; display: flex; justify-content: flex-end; gap: .7rem; }

.table-empty { padding: 1.25rem; color: #796d62; text-align: center; font-size: .82rem; }

@media (max-width: 1180px) {
  .analytics-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chart-panel { grid-column: span 6; }
  .chart-panel-wide { grid-column: span 12; }
  .insight-grid { grid-template-columns: 1fr; }
  .homepage-testimonial-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
  .site-nav-drawer { display: none !important; }
}

@media (max-width: 900px) {
  .hero { min-height: 660px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(251,247,239,.96), rgba(251,247,239,.72), rgba(251,247,239,.18)); }
  .split-section, .instagram-band, .shop-layout, .product-detail, .cart-layout, .checkout-layout, .dashboard-shell, .dash-grid, .chart-grid, .insight-grid { grid-template-columns: 1fr; }
  .analytics-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .message-overview { grid-template-columns: 1fr; }
  .message-detail-layout { grid-template-columns: 1fr; }
  .chart-panel, .chart-panel-wide { grid-column: auto; }
  .shop-filters form { display: grid; }
  .shop-filters form > .filter-group:not(.filter-search-group), .shop-filters form > .filter-actions, .shop-filters form > .filter-offer { display: none; }
  .shop-filters.is-mobile-open form > .filter-group:not(.filter-search-group), .shop-filters.is-mobile-open form > .filter-actions, .shop-filters.is-mobile-open form > .filter-offer { display: grid; }
  .filter-search-group { border-bottom: 0; padding-bottom: .15rem; }
  .mobile-filter-toggle { display: flex; width: 100%; min-height: 2.8rem; align-items: center; justify-content: space-between; border: 1px solid #e0d5ca; border-radius: 7px; background: #fffdf9; padding: .7rem .85rem; color: #7a4c20; cursor: pointer; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .mobile-filter-toggle:hover, .shop-filters.is-mobile-open .mobile-filter-toggle { border-color: #b66b2f; background: #fff8ef; }
  .mobile-filter-toggle-icon { display: grid; width: 1.35rem; height: 1.35rem; place-items: center; border-radius: 999px; background: #f5ede3; color: #b66b2f; font-size: 1rem; line-height: 1; }
  .split-section { padding: 2rem; }
  .product-info { position: static; }
  .dash-sidebar { position: static; height: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 1rem; padding: .85rem 1rem; }
  .dash-logo img { width: 125px; }
  .dash-menu-toggle { display: inline-flex; align-items: center; gap: .6rem; padding: .65rem .85rem; border: 1px solid #67584b; border-radius: 6px; color: white; font-weight: 700; }
  .dash-sidebar-content { display: none; grid-column: 1 / -1; padding-top: 1rem; }
  .dash-sidebar-content.is-open { display: flex; }
  .dash-main { padding: 1rem; }
}

@media (max-width: 560px) {
  .header-inner { gap: .65rem; }
  .header-actions { gap: .35rem; }
  .brand-mark span { font-size: 1.05rem; letter-spacing: .1em; }
  .icon-btn { width: 2.1rem; height: 2.1rem; }
  .language-option { min-width: 1.75rem; height: 1.75rem; padding: 0 .42rem; font-size: .62rem; }
  .language-label-long { display: none; }
  .language-label-short { display: inline; }
  .site-nav-drawer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .whatsapp-float { right: .9rem; bottom: .9rem; width: 3.2rem; height: 3.2rem; }
  .hero h1 { font-size: 3.2rem; }
  .section-head, .dash-head, .cart-line { align-items: start; flex-direction: column; }
  .formset-title { align-items: start; flex-direction: column; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-section { padding: 1.2rem; }
  .form-grid, .inline-row, .homepage-image-row, .homepage-color-row, .homepage-testimonial-row { grid-template-columns: 1fr; }
  .analytics-stats { grid-template-columns: 1fr; }
  .chart-canvas, .chart-panel-wide .chart-canvas { height: 185px; max-height: 185px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
  .product-card .font-medium { font-size: .9rem; }
  .brands-head .btn-dark { width: 100%; }
  .brands-panel { overflow: visible; padding: .75rem; }
  .responsive-table { display: block; min-width: 0; }
  .responsive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .responsive-table tbody { display: grid; gap: .75rem; }
  .responsive-table tr { display: block; overflow: hidden; border: 1px solid #e8ded3; border-radius: 8px; background: #fff; }
  .responsive-table td { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .75rem; align-items: center; border-bottom: 1px solid #f0e8df; padding: .8rem; }
  .responsive-table td:last-child { border-bottom: 0; }
  .responsive-table td::before { content: attr(data-label); color: #796d62; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .responsive-table .dash-actions { justify-content: flex-end; }
  .responsive-table .table-empty-row td { display: block; border-bottom: 0; }
  .responsive-table .table-empty-row td::before { content: none; }
}

@media (max-width: 380px) {
  .header-search { display: none; }
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}

.logs-table { width: 100%; min-width: 800px; table-layout: fixed; }
.logs-table th:nth-child(1) { width: 165px; }
.logs-table th:nth-child(2) { width: 105px; }
.logs-table th:nth-child(3) { width: 175px; }
.logs-table td { vertical-align: top; }
.logs-time, .logs-source { white-space: nowrap; font-size: .78rem; }
.logs-message { overflow-wrap: anywhere; font-size: .82rem; }
.logs-message summary { cursor: pointer; }
.logs-message pre { margin-top: .6rem; padding: .7rem; max-height: 24rem; overflow: auto; background: #1c1917; color: #fafaf9; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .74rem; }
.log-level { display: inline-block; border-radius: .25rem; padding: .2rem .4rem; font-size: .7rem; font-weight: 700; }
.log-level-debug, .log-level-info { background: #e7e5e4; color: #292524; }
.log-level-warning { background: #fef3c7; color: #92400e; }
.log-level-error, .log-level-critical { background: #fee2e2; color: #991b1b; }

/* Home page brand logos */
.brand-carousel { overflow: hidden; width: 100%; margin: 0 auto; }
.brand-carousel-track { display: flex; align-items: center; justify-content: space-around; transition: transform .6s ease; }
.brand-carousel-item { flex: 0 0 33.333%; min-width: 0; padding: 1rem; display: flex; align-items: center; justify-content: center; min-height: 150px; }
.brand-carousel-item img { max-width: 100%; width: auto; height: 110px; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .brand-carousel-track { transition: none; } }
.brand-carousel-item:only-child { flex-basis: 100%; }
.brand-carousel-item:first-child:nth-last-child(2),
.brand-carousel-item:first-child:nth-last-child(2) ~ .brand-carousel-item { flex-basis: 50%; }
@media (max-width: 560px) { .brand-carousel-item { flex-basis: 50%; } }

.image-field-controls { display: flex; align-items: center; gap: .75rem; margin-top: .6rem; }
.image-field-preview { width: 92px; height: 92px; border: 1px solid #e7ded1; border-radius: .4rem; object-fit: contain; background: #fff; }
.image-field-remove { border: 1px solid #a02d20; border-radius: .3rem; padding: .45rem .7rem; color: #a02d20; background: white; cursor: pointer; font-size: .75rem; }
.image-field-preview[hidden], .image-field-remove[hidden], .homepage-image-preview[hidden], .homepage-testimonial-preview[hidden] { display: none; }

@media (min-width: 561px) {
  .homepage-image-row:has(.homepage-image-preview[hidden]) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .homepage-testimonial-row:has(.homepage-testimonial-preview[hidden]) { grid-template-columns: minmax(130px, .95fr) minmax(220px, 1.4fr) minmax(130px, .95fr) 90px 100px 110px; }
}

/* Compact dashboard controls and menu icons */
.dash-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.dash-icon { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-link-main { display: inline-flex; align-items: center; min-width: 0; gap: .8rem; }
.dash-sidebar nav .dash-icon, .sidebar-logout .dash-icon { width: 1.15rem; height: 1.15rem; }
.sidebar-logout { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; }
.formset-add, .delete-toggle { width: 2.4rem; height: 2.4rem; min-width: 2.4rem; min-height: 2.4rem; padding: 0; border-radius: 999px; place-content: center; }
.formset-add .dash-icon, .delete-toggle .dash-icon { width: 1.15rem; height: 1.15rem; }
.admin-icon-action.search-action { border-color: #171411; background: #171411; color: white; flex: 0 0 auto; }
.admin-icon-action.search-action:hover { border-color: #b66b2f; background: #b66b2f; color: white; }
.dash-sidebar nav a:focus-visible, .formset-add:focus-visible, .delete-toggle:focus-within, .admin-icon-action:focus-visible { outline: 2px solid #b66b2f; outline-offset: 2px; }

.image-field-remove { width: 2.2rem; height: 2.2rem; min-width: 2.2rem; display: inline-grid; place-items: center; border-radius: 999px; padding: 0; }
.image-field-remove svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.homepage-color-row { grid-template-columns: repeat(6, minmax(0, 1fr)) 2.4rem; }
.homepage-image-row { grid-template-columns: 110px repeat(5, minmax(0, 1fr)) 2.4rem; }
.homepage-testimonial-row { grid-template-columns: 110px minmax(130px, .95fr) minmax(220px, 1.4fr) minmax(130px, .95fr) 90px 100px 2.4rem; }
[data-formset="variants"] .inline-row { grid-template-columns: repeat(4, minmax(0, 1fr)) 2.4rem; }
[data-formset="images"] .inline-row { grid-template-columns: repeat(3, minmax(0, 1fr)) 2.4rem; }
@media (min-width: 561px) {
  .homepage-image-row:has(.homepage-image-preview[hidden]) { grid-template-columns: repeat(5, minmax(0, 1fr)) 2.4rem; }
  .homepage-testimonial-row:has(.homepage-testimonial-preview[hidden]) { grid-template-columns: minmax(130px, .95fr) minmax(220px, 1.4fr) minmax(130px, .95fr) 90px 100px 2.4rem; }
}
@media (max-width: 560px) {
  .homepage-color-row, .homepage-image-row, .homepage-testimonial-row,
  [data-formset="variants"] .inline-row, [data-formset="images"] .inline-row { grid-template-columns: minmax(0, 1fr); }
}
.formset-title { flex-direction: row; align-items: center; }
@media (min-width: 561px) and (max-width: 900px) {
  .homepage-color-row, .homepage-image-row, .homepage-testimonial-row,
  [data-formset="variants"] .inline-row, [data-formset="images"] .inline-row,
  .homepage-image-row:has(.homepage-image-preview[hidden]),
  .homepage-testimonial-row:has(.homepage-testimonial-preview[hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delete-toggle { justify-self: end; }
}
.message-contact-panel form:has(.admin-icon-action) { display: flex; justify-content: flex-end; }

/* Small editorial blocks for indexable catalog pages */
.seo-editorial { max-width: 72rem; margin-inline: auto; }
.seo-editorial h2, .seo-related-links h2, .seo-list-heading { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.2; margin-bottom: .65rem; }
.seo-editorial h2:not(:first-child) { margin-top: 1.5rem; }
.seo-editorial h3 { font-weight: 700; margin-top: .8rem; }
.seo-editorial p { max-width: 48rem; line-height: 1.8; color: #62574d; }
.seo-related-links { margin-top: 2rem; }
.seo-related-links > div { display: flex; flex-wrap: wrap; gap: .65rem; }
.seo-related-links a { display: inline-flex; align-items: center; min-height: 2.4rem; padding: .5rem .8rem; border: 1px solid #e5d8ca; border-radius: 999px; background: #fff; color: #4b3c31; font-size: .85rem; }
.seo-related-links a:hover { border-color: #b66b2f; color: #9c5522; }

/* Interactive image cropper */
.image-field-controls { display: grid; grid-template-columns: minmax(110px, 150px) minmax(0, 1fr); align-items: center; gap: .8rem; margin-top: .7rem; }
.image-field-preview-frame { position: relative; width: 100%; aspect-ratio: var(--image-preview-ratio, 4 / 5); min-height: 110px; overflow: hidden; border: 1px solid #ded3c6; border-radius: .55rem; background: #f5eee5; padding: 0; cursor: zoom-in; box-shadow: 0 8px 22px rgba(50, 34, 19, .08); }
.image-field-preview { display: block; width: 100%; height: 100%; border: 0; border-radius: 0; object-fit: cover; background: #f5eee5; }
.image-field-edit-hint { position: absolute; inset: auto .45rem .45rem; border-radius: 999px; background: rgba(23, 20, 17, .82); color: #fff; padding: .3rem .55rem; text-align: center; font-size: .68rem; font-weight: 800; letter-spacing: .04em; }
.image-field-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.image-field-edit { min-height: 2.35rem; border: 1px solid #c9b6a3; border-radius: 999px; background: #fffaf4; color: #4f3c2d; padding: .5rem .8rem; cursor: pointer; font-size: .75rem; font-weight: 800; }
.image-field-edit:hover { border-color: #b66b2f; color: #8a4d20; }
.image-field-edit:disabled { cursor: wait; opacity: .55; }
.image-field-preview-frame[hidden], .image-field-edit[hidden] { display: none; }
body.image-cropper-open { overflow: hidden; }
.image-cropper-modal[hidden] { display: none; }
.image-cropper-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 1rem; color: #171411; }
.image-cropper-backdrop { position: absolute; inset: 0; background: rgba(20, 16, 13, .76); backdrop-filter: blur(4px); }
.image-cropper-dialog { position: relative; width: min(960px, 100%); max-height: calc(100vh - 2rem); overflow: auto; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: #fffdf9; padding: clamp(1rem, 3vw, 1.5rem); box-shadow: 0 30px 90px rgba(0,0,0,.38); }
.image-cropper-header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.image-cropper-header h2 { margin: 0; color: #171411; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1; }
.image-cropper-eyebrow { margin: 0 0 .35rem; color: #a35b25; font-size: .68rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.image-cropper-close { width: 2.4rem; height: 2.4rem; flex: 0 0 auto; border: 1px solid #dfd4c8; border-radius: 999px; background: #fff; color: #171411; cursor: pointer; font-size: 1.55rem; line-height: 1; }
.image-cropper-help { margin: .75rem 0 1rem; color: #6f6257; font-size: .86rem; line-height: 1.6; }
.image-cropper-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 1.2rem; align-items: start; }
.image-cropper-canvas-wrap { position: relative; min-height: 300px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: repeating-conic-gradient(#e9e1d8 0 25%, #f8f3ed 0 50%) 50% / 22px 22px; }
.image-cropper-canvas-wrap canvas { display: block; width: auto; max-width: 100%; height: auto; max-height: 58vh; cursor: grab; touch-action: none; box-shadow: 0 12px 34px rgba(20,16,13,.2); }
.image-cropper-canvas-wrap canvas.is-dragging { cursor: grabbing; }
.image-cropper-canvas-wrap > span { position: absolute; left: .6rem; top: .6rem; border-radius: 999px; background: rgba(23,20,17,.76); color: #fff; padding: .3rem .55rem; pointer-events: none; font-size: .62rem; font-weight: 900; letter-spacing: .1em; }
.image-cropper-controls { display: grid; gap: 1rem; border: 1px solid #eadfd3; border-radius: 10px; background: #fff; padding: 1rem; }
.image-cropper-controls label { display: grid; gap: .45rem; color: #332a24; font-size: .78rem; font-weight: 800; }
.image-cropper-controls select { width: 100%; border: 1px solid #d9cbbc; border-radius: 7px; background: #fff; color: #171411; padding: .65rem; }
.image-cropper-controls input[type="range"] { width: 100%; accent-color: #a75c26; }
.image-cropper-controls output { float: right; color: #a35b25; }
.image-cropper-controls small { color: #766a60; font-size: .72rem; line-height: 1.55; }
.image-cropper-reset { min-height: 2.35rem; border: 1px solid #d5c7b8; border-radius: 999px; background: #fffaf4; color: #4f3c2d; cursor: pointer; font-size: .76rem; font-weight: 800; }
.image-cropper-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; margin-top: 1.2rem; }
.image-cropper-actions button { min-height: 2.6rem; border: 1px solid #d1c3b5; border-radius: 999px; background: #fff; color: #171411; padding: .65rem 1rem; cursor: pointer; font-size: .78rem; font-weight: 850; }
.image-cropper-actions [data-crop-apply] { border-color: #171411; background: #171411; color: #fff; }
.image-cropper-actions [data-crop-apply]:hover { border-color: #a75c26; background: #a75c26; }
@media (max-width: 700px) {
  .image-field-controls { grid-template-columns: minmax(100px, 135px) minmax(0, 1fr); }
  .image-cropper-modal { padding: 0; }
  .image-cropper-dialog { width: 100%; max-height: 100vh; min-height: 100vh; border-radius: 0; }
  .image-cropper-workspace { grid-template-columns: 1fr; }
  .image-cropper-canvas-wrap { min-height: 280px; }
  .image-cropper-canvas-wrap canvas { max-height: 48vh; }
  .image-cropper-controls { grid-template-columns: 1fr 1fr; }
  .image-cropper-controls small { grid-column: 1 / -1; }
  .image-cropper-actions { position: sticky; bottom: -1rem; margin-inline: -1rem; padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom)); background: rgba(255,253,249,.96); }
}
@media (max-width: 430px) {
  .image-field-controls { grid-template-columns: 1fr; }
  .image-field-preview-frame { max-width: 150px; }
  .image-cropper-controls { grid-template-columns: 1fr; }
  .image-cropper-controls small { grid-column: auto; }
  .image-cropper-actions button { flex: 1 1 100%; }
}
