* { 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-width: 0; 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 { max-width: 100%; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.45rem, 3vw, 1.8rem); line-height: 1; overflow-wrap: anywhere; }
.color-story small { max-width: 100%; color: #766a60; overflow-wrap: anywhere; }
.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; }
.featured-products-head { flex-direction: column; align-items: center; text-align: center; }
.featured-products-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.featured-products-grid > .product-card { flex: 0 1 280px; width: 100%; }
.featured-products-cta { display: flex; justify-content: center; margin-top: 2.5rem; }
.featured-products-button { min-height: 3.35rem; padding: .9rem 1.7rem; box-shadow: 0 12px 28px rgba(17, 17, 17, .18); }
.featured-products-button svg { width: 1.15rem; height: 1.15rem; margin-left: .7rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .featured-products-button svg { margin-right: .7rem; margin-left: 0; transform: scaleX(-1); }
.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 .45s cubic-bezier(.22, 1, .36, 1), opacity .45s ease; }
.product-gallery-image { position: absolute; inset: 0; opacity: 0; transform: scale(1.035); }
.product-gallery-image.is-active { opacity: 1; transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-media:not(.has-image-gallery) 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-carousel { position: relative; }
.testimonial-viewport { overflow: visible; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; align-items: start; }
.testimonial-screenshot { min-width: 0; overflow: hidden; border: 0; border-radius: 0; background: transparent; padding: 0; box-shadow: none; }
.testimonial-screenshot img { display: block; width: 100%; height: auto; border-radius: 0; }
.testimonial-arrow { display: none; }
.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; }
.rich-description > * + * { margin-top: .75rem; }
.rich-description ul, .rich-description ol { padding-inline-start: 1.4rem; }
.rich-description ul { list-style: disc; }
.rich-description ol { list-style: decimal; }
.rich-description a { color: #8a5628; text-decoration: underline; }
.rich-description blockquote { border-inline-start: 3px solid #d8c7b7; padding-inline-start: 1rem; font-style: italic; }
.rich-description strong { font-weight: 700; }
.django-ckeditor-widget { display: block; width: 100%; max-width: 100%; min-width: 0; }
.dash-main .ck.ck-editor, .dash-main .ck-editor__main, .dash-main .ck.ck-editor__main > .ck-editor__editable { width: 100%; max-width: 100%; min-width: 0; }
.dash-main .ck.ck-toolbar { max-width: 100%; flex-wrap: wrap; }
.dash-main .ck.ck-toolbar > .ck-toolbar__items { min-width: 0; flex-wrap: wrap; }
.ck-editor__editable { min-height: 12rem; overflow-wrap: anywhere; color: #171411; font-size: .95rem; font-weight: 400; text-transform: none; letter-spacing: normal; }
.ck-editor__editable img, .ck-editor__editable figure, .ck-editor__editable table { max-width: 100%; }
.ck-editor__editable strong { font-weight: 700; }
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; }
.shop-pagination { flex-wrap: wrap; gap: .6rem; font-family: Inter, sans-serif; }
.shop-pagination a, .shop-pagination .page-status { display: inline-flex; min-height: 2.7rem; align-items: center; justify-content: center; border: 1px solid #dfd0c0; border-radius: 999px; padding: .55rem 1rem; background: #fffaf4; color: #503b2c; font-size: .8rem; font-weight: 700; text-decoration: none; }
.shop-pagination a:hover, .shop-pagination a:focus-visible { border-color: #a86230; background: #f6e9db; color: #392014; }
.shop-pagination a:focus-visible { outline: 2px solid #a86230; outline-offset: 2px; }
.shop-pagination .page-status { border-color: #171411; background: #171411; color: #fff; }
.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; }
.product-gallery.is-zoomed .gallery-frame { cursor: grab; touch-action: none; }
.product-gallery.is-zoomed.is-interacting .gallery-frame { cursor: grabbing; }
.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-slide img.gallery-media { transform: translate3d(var(--gallery-pan-x, 0), var(--gallery-pan-y, 0), 0) scale(var(--gallery-zoom, 1)); transition: transform .2s ease; user-select: none; -webkit-user-drag: none; }
.product-gallery.is-interacting .gallery-slide img.gallery-media { transition: none; }
.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; }
.gallery-zoom-controls { position: absolute; left: .9rem; bottom: .9rem; z-index: 3; display: flex; align-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(255,255,255,.92); color: #171411; box-shadow: 0 8px 24px rgba(23,20,17,.14); }
.gallery-zoom-controls button { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; font-size: 1.2rem; line-height: 1; }
.gallery-zoom-controls button:hover:not(:disabled) { background: #171411; color: white; }
.gallery-zoom-controls button:disabled { cursor: not-allowed; opacity: .35; }
.gallery-zoom-controls output { min-width: 3.1rem; text-align: center; font-size: .68rem; font-weight: 700; }
.product-gallery [hidden] { display: none; }
.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; min-width: 0; }
.product-info h1 { margin: .2rem 0 .75rem; font-size: clamp(2.5rem, 4.2vw, 4.25rem); line-height: 1.1; overflow-wrap: anywhere; text-wrap: balance; }
.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.out-of-stock { background: #f5f0ea; }
.variant-list label:has(input:checked) { border-color: #b66b2f; }
.stock-request-form { margin-top: 1.5rem; }
.stock-request-form[hidden] { display: none; }
.stock-request-form h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2rem, 3vw, 2.65rem); font-weight: 600; line-height: 1.05; }
.variant-list small { margin-left: auto; color: #8c8175; }
.variant-list small.stock-unavailable { color: #c62828; font-weight: 700; }
.quantity-control { position: relative; display: block; margin-top: .45rem; }
.quantity-control .input { width: 100%; padding-right: 3.6rem !important; appearance: textfield; -moz-appearance: textfield; }
.quantity-control .input::-webkit-inner-spin-button,
.quantity-control .input::-webkit-outer-spin-button { margin: 0; appearance: none; -webkit-appearance: none; }
.quantity-buttons { position: absolute; top: 1px; right: 1px; bottom: 1px; display: grid; width: 3rem; grid-template-rows: 1fr 1fr; border-left: 1px solid #d8cbbd; overflow: hidden; border-radius: 0 5px 5px 0; }
.quantity-buttons button { display: grid; place-items: center; min-height: 0; background: #f4e9dc; color: #5c4030; transition: color .2s ease, background .2s ease; }
.quantity-buttons button + button { border-top: 1px solid #d8cbbd; }
.quantity-buttons button:hover { background: #b66b2f; color: white; }
.quantity-buttons button:focus-visible { position: relative; z-index: 1; outline: 2px solid #171411; outline-offset: -2px; }
.quantity-buttons svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .quantity-control .input { padding-right: 1rem !important; padding-left: 3.6rem !important; }
html[dir="rtl"] .quantity-buttons { right: auto; left: 1px; border-right: 1px solid #d8cbbd; border-left: 0; border-radius: 5px 0 0 5px; }
.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; }
.cart-line-image { width: 82px; height: 96px; flex: none; object-fit: cover; background: #f4e7d5; }
.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; }
.useful-links-page { width: min(100% - 2rem, 64rem); }
.useful-links-page .rich-description > h2:first-child { margin-top: 0; }
.useful-links-page .rich-description ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: .75rem; padding: 0; list-style: none; }
.useful-links-page .rich-description li { min-width: 0; }
.useful-links-page .rich-description li a { display: flex; min-height: 3.6rem; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid #e5dacd; border-radius: 8px; background: #fffdf9; padding: .85rem 1rem; color: #171411; font-weight: 700; text-decoration: none; }
.useful-links-page .rich-description li a::after { content: "↗"; flex: 0 0 auto; color: #b66b2f; }
.useful-links-page .rich-description li a:hover { border-color: #b66b2f; background: #fff8ef; color: #8a5628; transform: translateY(-1px); }
.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; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem 1rem; padding: 1rem; color: #a8a29e; font-size: .72rem; text-align: center; }
.developer-credit { color: #78716c; }
.developer-credit a { display: inline; margin: 0; color: #a8a29e; text-decoration: underline; text-decoration-color: rgba(168, 162, 158, .45); text-underline-offset: .2em; transition: color .2s, text-decoration-color .2s; }
.developer-credit a:hover, .developer-credit a:focus-visible { color: #d6d3d1; text-decoration-color: currentColor; }

.dashboard-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.dash-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 1.2rem; overflow-y: auto; background: #15120f; color: white; padding: 1.15rem; }
.dash-logo img { width: 100%; max-width: 210px; background: #000; }
.dash-sidebar-content { display: flex; flex-direction: column; gap: 1rem; }
.dash-menu-toggle { display: none; }
.dash-sidebar nav { display: grid; gap: .5rem; }
.dash-sidebar nav a, .dash-nav-group summary { display: flex; min-height: 2.25rem; align-items: center; justify-content: space-between; gap: .6rem; border: 0; padding: .42rem .6rem; border-radius: 6px; background: transparent; color: #e8d9c7; font-size: 1rem; line-height: 1.3; transition: none; -webkit-tap-highlight-color: transparent; }
.dash-sidebar nav a:hover { background: rgba(255,255,255,.08); color: white; }
.dash-nav-group summary { list-style: none; cursor: pointer; font-weight: 700; }
.dash-nav-group summary::-webkit-details-marker { display: none; }
.dash-nav-group summary:hover, .dash-nav-group[open] > summary { background: rgba(255,255,255,.08); color: white; }
.dash-nav-group:not([open]) > .dash-nav-submenu { display: none; }
.dash-nav-group summary:focus:not(:focus-visible) { outline: none; }
.dash-nav-chevron { width: .9rem; height: .9rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s ease; }
.dash-nav-group[open] .dash-nav-chevron { transform: rotate(90deg); }
.dash-nav-submenu { display: grid; gap: .3rem; margin: .3rem 0 .4rem .55rem; padding-left: .45rem; border-left: 1px solid #5a4a3d; }
.dash-sidebar nav .dash-nav-submenu a { min-height: 2rem; padding: .34rem .55rem; font-size: 1rem; }
.dash-sidebar nav a[aria-current="page"] { background: #744522; color: #fff; font-weight: 700; }
.dash-nav-group summary:focus-visible, .dash-sidebar nav a:focus-visible { outline: 2px solid #d49a61; outline-offset: 2px; }
.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; container: dashboard / inline-size; }
.dashboard-toast-stack { position: fixed; top: 1rem; right: 1rem; z-index: 120; display: grid; width: min(390px, calc(100vw - 2rem)); gap: .7rem; pointer-events: none; }
.dashboard-toast { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem; align-items: start; border: 1px solid #dfd5ca; border-left: 4px solid #846d5a; border-radius: 10px; background: rgba(255, 253, 249, .98); padding: .9rem; box-shadow: 0 18px 50px rgba(36, 27, 20, .16); pointer-events: auto; animation: dashboard-toast-in .28s ease-out; transition: opacity .22s ease, transform .22s ease; }
.dashboard-toast.is-leaving { opacity: 0; transform: translateX(14px); }
.dashboard-toast-success { border-left-color: #287a4b; }.dashboard-toast-error { border-left-color: #b23b2e; }.dashboard-toast-info { border-left-color: #a8622b; }
.dashboard-toast-icon { display: grid; width: 1.65rem; height: 1.65rem; place-items: center; border-radius: 999px; background: #efe8df; color: #58483b; }
.dashboard-toast-icon::before { content: "i"; font-size: .72rem; font-weight: 900; }
.dashboard-toast-success .dashboard-toast-icon { background: #e4f4ea; color: #21663f; }.dashboard-toast-success .dashboard-toast-icon::before { content: "✓"; }
.dashboard-toast-error .dashboard-toast-icon { background: #fce9e6; color: #9c2e23; }.dashboard-toast-error .dashboard-toast-icon::before { content: "!"; }
.dashboard-toast strong { display: block; margin-bottom: .18rem; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; }.dashboard-toast p { color: #695d53; font-size: .8rem; line-height: 1.45; }
.dashboard-toast button { border: 0; background: transparent; color: #85786d; cursor: pointer; font-size: 1.25rem; line-height: 1; }
.dashboard-action-status { position: fixed; right: 1rem; bottom: 1rem; z-index: 130; grid-template-columns: auto minmax(0, 1fr); width: min(390px, calc(100vw - 2rem)); gap: .85rem; align-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; background: #171411; color: #fff; padding: 1rem; box-shadow: 0 20px 55px rgba(24, 18, 13, .3); }
.dashboard-action-status:not([hidden]) { display: grid; }.dashboard-action-status strong, .dashboard-action-status small { display: block; }.dashboard-action-status strong { font-size: .86rem; }.dashboard-action-status small { margin-top: .2rem; color: #d8cdc3; font-size: .72rem; line-height: 1.45; }
.dashboard-action-spinner, .is-submitting::before { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; border: 2px solid currentColor; border-right-color: transparent; border-radius: 999px; content: ""; animation: dashboard-spin .7s linear infinite; }
[aria-busy="true"] [type="submit"] { pointer-events: none; }.is-submitting { gap: .55rem; opacity: .78; cursor: wait !important; }
.video-upload-field { grid-column: 1 / -1; border: 1px solid #e6dbcf; border-radius: 9px; background: #fffdf9; padding: 1rem; }
.video-upload-indicator { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .7rem; align-items: center; margin-top: .7rem; border-radius: 8px; background: #f3eee8; padding: .75rem; }
.video-upload-indicator strong, .video-upload-indicator small { display: block; }.video-upload-indicator strong { color: #352c26; font-size: .8rem; }.video-upload-indicator small { margin-top: .15rem; color: #75695f; font-size: .72rem; overflow-wrap: anywhere; }
.video-upload-state-icon { width: .7rem; height: .7rem; border: 2px solid #928274; border-radius: 999px; }
[data-upload-state="ready"] .video-upload-indicator { background: #edf7f1; }[data-upload-state="ready"] .video-upload-state-icon { border-color: #287a4b; background: #287a4b; box-shadow: 0 0 0 4px rgba(40,122,75,.12); }
[data-upload-state="uploading"] .video-upload-indicator { background: #fff2e3; }[data-upload-state="uploading"] .video-upload-state-icon { border-color: #a8622b; border-right-color: transparent; animation: dashboard-spin .7s linear infinite; }
.video-upload-progress { height: 4px; overflow: hidden; margin-top: .6rem; border-radius: 999px; background: #eadfd4; }.video-upload-progress span { display: block; width: 38%; height: 100%; border-radius: inherit; background: #a8622b; animation: dashboard-progress 1.15s ease-in-out infinite; }
@keyframes dashboard-spin { to { transform: rotate(360deg); } }@keyframes dashboard-progress { from { transform: translateX(-110%); } to { transform: translateX(290%); } }@keyframes dashboard-toast-in { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .dashboard-toast, .dashboard-action-spinner, .is-submitting::before, [data-upload-state="uploading"] .video-upload-state-icon, .video-upload-progress span { animation: none; }.video-upload-progress span { width: 100%; } }
.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; min-width: 0; 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-whatsapp { background: #1f9d55; }
.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; min-width: 0; overflow-wrap: anywhere; align-self: start; font-size: clamp(1.55rem, 2vw, 2.1rem); line-height: 1; }
.stat-note { grid-column: 2; min-width: 0; color: #796d62; font-size: .72rem; line-height: 1.35; }
.analytics-stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 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(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; align-items: stretch; }
.chart-panel { grid-column: auto; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.chart-panel-wide { grid-column: 1 / -1; }
.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(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; margin-bottom: 1rem; }
.insight-grid .dash-panel { min-height: 230px; }
.content-pages-intro { max-width: 48rem; margin-top: .6rem; color: #796d62; line-height: 1.6; }
.content-page-preview-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.content-pages-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 1rem; align-items: start; }
.content-pages-nav { position: sticky; top: 1rem; display: grid; padding: .45rem; overflow: hidden; }
.content-pages-nav a { display: flex; align-items: center; justify-content: space-between; gap: .7rem; border-radius: 6px; padding: .75rem; color: #5c5047; }
.content-pages-nav a:hover, .content-pages-nav a.is-active { background: #171411; color: white; }
.content-pages-nav span { font-size: .8rem; font-weight: 800; }
.content-pages-nav small { color: #9a8e83; font-size: .65rem; }
.content-pages-nav a.is-active small { color: #d8c7b7; }
.content-page-editor { display: grid; gap: 1rem; overflow: visible; }
.content-language-panel { display: grid; gap: 1rem; border: 1px solid #ece5dc; border-radius: 8px; background: #fffdf9; padding: 1rem; }
.content-language-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #ece5dc; padding-bottom: .75rem; }
.content-language-heading strong { font-size: 1rem; }
.content-language-heading span { border-radius: 999px; background: #171411; color: white; padding: .3rem .55rem; font-size: .65rem; font-weight: 800; }
.content-page-editor .django-ckeditor-widget { display: block; }
.content-page-save { display: flex; justify-content: flex-end; border-top: 1px solid #ece5dc; padding-top: 1rem; }
.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; }
.stock-request-badge { margin-top: .45rem; border-color: #efc3a2; background: #fff0e3; color: #8c421d; }
.stock-requests-panel { margin-bottom: 1rem; overflow-x: auto; }
.stock-requests-panel table { min-width: 650px; }
.stock-requests-panel .section-head { margin-bottom: .7rem; }
.stock-request-pages { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; margin-top: 1rem; font-size: .82rem; }
.stock-request-pages a { color: #8c421d; font-weight: 700; }
.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), .form-grid > .rich-text-field, .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; }
.field-label-heading { display: inline-flex; width: fit-content; align-items: baseline; gap: .22rem; }
.field-requirement { color: #b23b2e; font-size: 1rem; font-weight: 900; line-height: 1; }
.has-field-error { border-color: #d86054 !important; border-radius: 8px; background: #fff7f5 !important; padding: .7rem; box-shadow: 0 0 0 3px rgba(178,59,46,.08); }
.has-field-error input:not([type="checkbox"]), .has-field-error select, .has-field-error textarea { border-color: #b23b2e !important; background: #fff !important; }
.has-field-error .errorlist { display: grid; gap: .2rem; margin: .15rem 0 0; padding: 0; list-style: none; color: #9c2e23; font-size: .74rem; line-height: 1.45; }
.has-field-error .errorlist li::before { content: "!"; display: inline-grid; width: 1rem; height: 1rem; place-items: center; margin-inline-end: .35rem; border-radius: 999px; background: #b23b2e; color: #fff; font-size: .62rem; font-weight: 900; }
.form-error-summary { grid-column: 1 / -1; border: 1px solid #e3a49d; border-left: 4px solid #b23b2e; border-radius: 9px; background: #fff5f3; padding: 1rem; color: #71231c; }
.form-error-summary:focus { outline: 3px solid rgba(178,59,46,.2); outline-offset: 2px; }.form-error-summary strong { display: block; font-size: .95rem; }.form-error-summary p { margin-top: .2rem; color: #8b4139; font-size: .78rem; }.form-error-summary ul { display: grid; gap: .35rem; margin-top: .7rem; padding-left: 1.1rem; list-style: disc; }.form-error-summary a { color: #8f2b21; font-size: .76rem; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
[aria-invalid="true"] { border-color: #b23b2e !important; }
.admin-form-section { margin-top: .5rem; border-top: 1px solid #eadfd1; padding-top: 1.15rem; }
.admin-form-section:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.admin-form-section h2 { margin: .15rem 0 0; font-family: "Cormorant Garamond", serif; font-size: 1.65rem; }
.admin-form-section > p:last-child:not(.eyebrow) { margin-top: .25rem; color: #796d62; font-size: .78rem; }
.menu-select { position: relative; min-width: 0; }
.menu-select-native { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.menu-select-trigger { display: flex; width: 100%; min-height: 2.9rem; align-items: center; justify-content: space-between; gap: .75rem; border: 1px solid #ded4c7; border-radius: 6px; background: #fffdf9; padding: .72rem .85rem .72rem 1rem; color: #171411; cursor: pointer; font: inherit; font-size: .84rem; text-align: left; transition: border .18s ease, box-shadow .18s ease, background .18s ease; }
.menu-select-trigger::after { width: .48rem; height: .48rem; flex: 0 0 auto; border-right: 2px solid #786a5e; border-bottom: 2px solid #786a5e; content: ""; transform: rotate(45deg) translateY(-2px); transition: transform .18s ease; }
.menu-select-trigger:hover { border-color: #b66b2f; background: #fff; }
.menu-select-trigger:focus-visible, .menu-select.is-open .menu-select-trigger { border-color: #b66b2f; background: #fff; box-shadow: 0 0 0 3px rgba(182, 107, 47, .14); outline: none; }
.menu-select.is-open .menu-select-trigger::after { transform: rotate(225deg) translate(-2px, -2px); }
.menu-select-summary { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-select-menu { position: absolute; z-index: 35; top: calc(100% + .4rem); left: 0; display: none; width: 100%; max-height: 17rem; overflow-y: auto; border: 1px solid #dfd2c5; border-radius: 8px; background: #fff; padding: .4rem; box-shadow: 0 18px 40px rgba(50, 34, 19, .18); }
.menu-select.is-open .menu-select-menu { display: grid; gap: .15rem; }
.menu-select-option { display: flex; min-height: 2.45rem; align-items: center; gap: .7rem; border-radius: 5px; padding: .55rem .65rem; color: #4d4036; cursor: pointer; font-size: .8rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.menu-select-option:hover, .menu-select-option:has(input:checked) { background: #f7efe5; color: #7f4a20; }
.menu-select-option input { width: 1rem; min-height: 1rem; flex: 0 0 auto; margin: 0; }
.menu-select-empty { padding: .7rem; color: #8c8175; font-size: .78rem; }
.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) {
  .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, .content-pages-layout { grid-template-columns: 1fr; }
  .message-overview { grid-template-columns: 1fr; }
  .message-detail-layout { grid-template-columns: 1fr; }
  .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; max-height: none; overflow: visible; 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; max-height: min(75vh, 36rem); overflow-y: auto; }
  .dash-main { padding: 1rem; }
}

@media (max-width: 560px) {
  .dash-main .django-ckeditor-widget { border-radius: 6px; }
  .dash-main .ck.ck-toolbar { padding: .3rem; }
  .dash-main .ck.ck-toolbar > .ck-toolbar__items,
  .dash-main .ck.ck-toolbar.ck-toolbar_grouping > .ck-toolbar__items,
  .dash-main .ck.ck-toolbar.ck-toolbar_floating > .ck-toolbar__items {
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: .12rem;
    min-width: 0;
  }
  .dash-main .ck.ck-button, .dash-main a.ck.ck-button { min-width: 2.15rem; min-height: 2.15rem; padding: .35rem; }
  .dash-main .ck.ck-dropdown .ck-dropdown__button { max-width: 8.5rem; }
  .dash-main .ck.ck-dropdown .ck-button__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dash-main .ck-editor__editable { min-height: 10rem; padding-inline: .75rem; font-size: 1rem; }
  .dash-main .ck.ck-balloon-panel { max-width: calc(100vw - 1.5rem); }
  .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; }
  .testimonial-viewport { overflow: hidden; }
  .testimonial-grid { direction: ltr; display: flex; gap: 0; align-items: flex-start; transition: transform .55s cubic-bezier(.22, 1, .36, 1); will-change: transform; }
  .testimonial-screenshot { flex: 0 0 100%; }
  .testimonial-arrow { position: absolute; z-index: 2; top: 50%; display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; background: rgba(23,20,17,.78); color: #fff; box-shadow: 0 8px 22px rgba(23,20,17,.2); transform: translateY(-50%); }
  .testimonial-arrow span { font-size: 1.8rem; line-height: 1; transform: translateY(-.08em); }
  .testimonial-arrow-prev { left: .65rem; }
  .testimonial-arrow-next { right: .65rem; }
  .form-grid, .inline-row, .homepage-image-row, .homepage-color-row, .homepage-testimonial-row { grid-template-columns: 1fr; }
  .chart-canvas, .chart-panel-wide .chart-canvas { height: 185px; max-height: 185px; }
  .content-pages-nav { position: static; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
  .featured-products-head { align-items: center; text-align: center; }
  .featured-products-grid { display: flex; justify-content: center; }
  .featured-products-grid > .product-card { flex-basis: calc((100% - .9rem) / 2); }
  .featured-products-button { width: 100%; }
  .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 (prefers-reduced-motion: reduce) {
  .product-media img, .product-media video, .testimonial-grid { transition: 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; }
.brand-card-image { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: transparent; }
.brand-detail-image { display: block; width: 100%; height: 20rem; object-fit: contain; background: transparent; }
@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%; } }
@media (max-width: 560px) { .brand-detail-image { height: 14rem; } }

.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; }
.color-hex-controls { display: flex; min-width: 0; align-items: stretch; gap: .45rem; }
.color-hex-controls input[type="color"] { width: 3.3rem; min-width: 3.3rem; min-height: 2.8rem; padding: .2rem; cursor: pointer; }
.color-hex-controls input[data-color-hex] { min-width: 0; flex: 1; font-variant-numeric: tabular-nums; }
[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; }
.catalog-summary { color: #62574d; font-size: .95rem; line-height: 1.7; }
.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-preview-frame:disabled { cursor: wait; opacity: .6; }
.image-field-preview-frame[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 [data-crop-transparent-wrap] { display: flex; align-items: center; min-height: 2.5rem; }
.image-cropper-controls [data-crop-transparent-wrap] > span { display: inline-flex; align-items: center; gap: .55rem; line-height: 1.25; }
.image-cropper-controls [data-crop-transparent] { width: 1rem; height: 1rem; flex: 0 0 auto; margin: 0; accent-color: #a75c26; }
.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%; }
}

/* Homepage promotional banners */
.promo-carousel { position: relative; width: min(100% - 2rem, 76rem); margin: 2rem auto 0; overflow: hidden; border: 1px solid #eadfd1; border-radius: 0; background: #f3e8d9; box-shadow: 0 16px 40px rgba(50, 34, 19, .08); }
.promo-carousel-stage { display: grid; aspect-ratio: 3 / 1; overflow: hidden; }
.promo-banner { grid-area: 1 / 1; display: block; opacity: 0; transform: translateX(4%) scale(.985); pointer-events: none; transition: opacity .7s ease, transform .85s cubic-bezier(.22, .75, .18, 1); }
.promo-banner.is-active { z-index: 2; opacity: 1; transform: translateX(0) scale(1); pointer-events: auto; }
.promo-banner.is-leaving { z-index: 1; opacity: 0; transform: translateX(-4%) scale(1.01); }
.promo-banner img { width: 100%; height: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.promo-carousel-dots { position: absolute; right: 50%; bottom: .8rem; z-index: 4; display: flex; gap: .45rem; transform: translateX(50%); }
.promo-carousel-dots button { width: .55rem; height: .55rem; border: 1px solid rgba(255,255,255,.9); border-radius: 999px; background: rgba(17,17,17,.38); cursor: pointer; transition: width .25s ease, background .25s ease; }
.promo-carousel-dots button.is-active { width: 1.6rem; background: white; }
@media (prefers-reduced-motion: reduce) { .promo-banner { transition: none; transform: none; } .promo-carousel-dots button { transition: none; } }
.homepage-banner-list { display: grid; gap: 1rem; }
.homepage-banner-row { display: grid; grid-template-columns: minmax(240px, 1.35fr) minmax(150px, 1fr) minmax(190px, 1.2fr) 80px 80px 2.4rem; gap: .8rem; align-items: end; padding: 1rem; border: 1px solid #eadfd1; border-radius: 8px; background: #fffdf9; }
.homepage-banner-row > * { min-width: 0; }
.homepage-banner-row .image-field-controls { grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); }
.homepage-banner-row .image-field-preview-frame { min-height: 0; }
@media (max-width: 1180px) { .homepage-banner-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .homepage-banner-row { grid-template-columns: minmax(0, 1fr); padding: .85rem; } .homepage-banner-row .image-field-controls { grid-template-columns: 1fr; } .homepage-banner-row .image-field-preview-frame { max-width: 100%; } }

/* Responsive dashboard formsets and deferred deletion */
.formset-panel [data-formset-list] > [hidden] { display: none !important; }
.formset-delete-notice { margin-top: .8rem; border-left: 3px solid #b66b2f; background: #fff6eb; padding: .7rem .85rem; color: #70451f; font-size: .78rem; font-weight: 700; }
.homepage-color-row, .homepage-image-row, .homepage-testimonial-row { padding: 1rem; border: 1px solid #eadfd1; border-radius: 8px; background: #fffdf9; }
.homepage-image-row { grid-template-columns: minmax(260px, 1.5fr) minmax(210px, 1.2fr) 80px 80px 2.4rem; }
.homepage-testimonial-row { grid-template-columns: minmax(140px, .8fr) minmax(260px, 1.5fr) minmax(150px, .9fr) 80px 80px 2.4rem; }
.homepage-banner-row { grid-template-columns: minmax(280px, 1.5fr) minmax(220px, 1.2fr) 80px 80px 2.4rem; }
[data-formset="images"] .inline-row { grid-template-columns: minmax(260px, 1.4fr) minmax(220px, 1fr) minmax(90px, .3fr) 2.4rem; }
[data-formset="images"] .inline-row select[data-product-color-select] { width: 100%; min-width: 0; min-height: 3rem; font-size: .9rem; cursor: pointer; }
@media (max-width: 1180px) {
  .homepage-color-row, .homepage-image-row, .homepage-banner-row, .homepage-testimonial-row, [data-formset="images"] .inline-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .dash-panel { padding: 1rem; }
  .formset-title { align-items: flex-start; }
  .formset-title > div { min-width: 0; }
  .homepage-color-row, .homepage-image-row, .homepage-banner-row, .homepage-testimonial-row, [data-formset="images"] .inline-row { grid-template-columns: minmax(0, 1fr); padding: .85rem; }
  .delete-toggle { justify-self: end; }
}

@container dashboard (max-width: 700px) {
  .chart-grid, .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .chart-panel, .chart-panel-wide { grid-column: 1; }
}

/* Editorial blog */
.blog-container { width: min(100% - 2rem, 76rem); margin-inline: auto; }
.blog-hero { padding: clamp(3.5rem, 8vw, 7rem) 0; border-bottom: 1px solid #e9ddd0; background: linear-gradient(145deg, #f4e7d7, #fffaf3 65%); text-align: center; }
.blog-hero h1, .blog-article-header h1 { margin: .35rem 0 1rem; font-family: "Cormorant Garamond", serif; font-size: clamp(2.7rem, 6vw, 5.3rem); font-weight: 600; line-height: .98; }
.blog-hero p:last-child { max-width: 42rem; margin: 0 auto; color: #6e6258; line-height: 1.8; }
.blog-listing { padding-block: 2.5rem 5rem; }
.blog-category-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.25rem; }
.blog-category-nav a, .blog-related-links a { border: 1px solid #ddcfc0; border-radius: 999px; background: #fffdf9; padding: .58rem .95rem; color: #50443b; font-size: .78rem; font-weight: 700; }
.blog-category-nav a[aria-current="page"] { border-color: #171411; background: #171411; color: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.blog-card { overflow: hidden; border: 1px solid #e8ddd1; background: #fffdf9; }
.blog-card-image { display: grid; aspect-ratio: 16 / 10; place-items: center; overflow: hidden; background: #e9dac8; color: #9b704e; font-family: "Cormorant Garamond", serif; font-size: 1.5rem; letter-spacing: .18em; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.025); }
.blog-card-body { padding: 1.35rem; }
.blog-card-meta { display: flex; flex-wrap: wrap; gap: .45rem .8rem; color: #8a7362; font-size: .7rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.blog-card h2, .blog-card h3 { margin: .7rem 0; font-family: "Cormorant Garamond", serif; font-size: 1.75rem; font-weight: 650; line-height: 1.08; }
.blog-card p { color: #6c6056; font-size: .88rem; line-height: 1.7; }
.blog-read-more { display: inline-flex; gap: .45rem; margin-top: 1rem; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.blog-preview-banner { position: sticky; top: 0; z-index: 60; background: #8a2b20; padding: .75rem 1rem; color: #fff; text-align: center; font-size: .8rem; font-weight: 800; }
.blog-article { width: min(100% - 2rem, 54rem); margin: 0 auto; padding: 1.5rem 0 4rem; }
.blog-breadcrumb { display: flex; gap: .5rem; overflow: hidden; margin-bottom: 3rem; color: #827468; font-size: .75rem; white-space: nowrap; }
.blog-breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; }
.blog-article-header { text-align: center; }
.blog-article-header .blog-card-meta { justify-content: center; }
.blog-article-header > p { max-width: 43rem; margin: 0 auto; color: #695d53; font-size: 1.08rem; line-height: 1.75; }
.blog-author { display: block; margin-top: 1rem; color: #8a7a6d; font-size: .78rem; }
.blog-featured { margin: 2.5rem 0; }
.blog-featured img { width: 100%; height: auto; max-height: 38rem; object-fit: cover; }
.blog-content { color: #342d28; font-size: 1rem; line-height: 1.9; }
.blog-content h2, .blog-content h3, .blog-content h4 { margin: 2.2rem 0 .8rem; font-family: "Cormorant Garamond", serif; font-weight: 650; line-height: 1.15; }
.blog-content h2 { font-size: 2.15rem; }.blog-content h3 { font-size: 1.7rem; }.blog-content h4 { font-size: 1.35rem; }
.blog-content p, .blog-content ul, .blog-content ol, .blog-content blockquote { margin: 0 0 1.15rem; }
.blog-content ul, .blog-content ol { padding-left: 1.35rem; }.blog-content ul { list-style: disc; }.blog-content ol { list-style: decimal; }
.blog-content a { color: #99531f; text-decoration: underline; text-underline-offset: 3px; }
.blog-content img { width: auto; max-width: 100%; height: auto; margin: 1.5rem auto; }
.blog-content blockquote { border-left: 3px solid #b66b2f; background: #f8efe4; padding: 1rem 1.25rem; font-family: "Cormorant Garamond", serif; font-size: 1.3rem; }
.blog-related-section, .blog-related-links { padding-block: 3.5rem; border-top: 1px solid #e8ddd1; }
.blog-related-section > h2, .blog-related-links > h2 { margin: .25rem 0 1.5rem; font-family: "Cormorant Garamond", serif; font-size: 2.3rem; }
.blog-related-links > div { display: flex; flex-wrap: wrap; gap: .65rem; }
.blog-grid-related .blog-card h3 { font-size: 1.55rem; }
.blog-admin-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-field { display: grid; gap: .45rem; align-content: start; }
.admin-field-wide { grid-column: 1 / -1; }
.dashboard-filter-form { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; margin-bottom: 1rem; }
.dashboard-filter-form label { flex: 1 1 220px; }
.table-scroll { overflow-x: auto; }
@media (max-width: 850px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .blog-grid, .blog-admin-form { grid-template-columns: 1fr; }.blog-hero { padding-block: 3.5rem; }.blog-article { padding-top: 1rem; }.blog-breadcrumb { margin-bottom: 2rem; } }
