:root {
  --primary: #6B4F3A;
  --primary-dark: #4A372A;
  --primary-deep: #3D2D23;
  --accent: #E8DCCB;
  --accent-dark: #D2BEA6;
  --secondary: #F5EFE6;
  --off-white: #FAF7F2;
  --danger: #e44834;
  --success: #16a56f;
  --text: #2E241D;
  --muted: #7B6A5A;
  --border: #E8DCCB;
  --bg: #F5EFE6;
  --white: #FFFFFF;
  --panel: #FFFFFF;
  --font-main: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-scale: 1;
  --site-header-offset: 156px;
  --shadow: 0 16px 40px rgba(74, 55, 42, 0.14);
  --soft-shadow: 0 8px 24px rgba(74, 55, 42, 0.09);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html[data-text-size="small"] {
  --text-scale: 0.94;
}

html[data-text-size="large"] {
  --text-scale: 1.07;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-main);
  font-size: calc(16px * var(--text-scale));
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
}

.site-header,
main,
.site-footer {
  width: 100%;
  max-width: 100%;
}

body.cart-open,
body.modal-open,
body.mobile-menu-open,
body.admin-sidebar-open,
body.product-loading-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  font-size: max(16px, 1em);
  max-width: 100%;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-right: clamp(14px, 2vw, 34px);
  padding-left: clamp(14px, 2vw, 34px);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  box-shadow: 0 6px 18px rgba(74, 55, 42, 0.14);
}

body:not(.admin-body) {
  padding-top: var(--site-header-offset);
}

.topbar {
  background: var(--primary-dark);
  color: #F5EFE6;
  font-size: 13px;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar p {
  margin: 0;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 18px;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #F5EFE6;
}

.main-header {
  background: var(--primary);
  color: var(--white);
}

.main-header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto minmax(420px, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.main-header-inner > * {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: transparent;
  padding: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle i {
  transition: transform 0.25s ease;
}

.menu-toggle.is-active i {
  transform: rotate(90deg);
}

.menu-close {
  display: none;
}

.header-search {
  display: grid;
  grid-template-columns: 180px 1fr 48px;
  min-height: 44px;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.header-search select,
.header-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: var(--white);
}

.header-search select {
  padding: 0 14px;
  border-right: 1px solid var(--border);
  color: var(--muted);
}

.header-search input {
  padding: 0 16px;
}

.header-search button {
  border: 0;
  color: #4A372A;
  background: var(--accent);
}

.product-page-search {
  display: flex;
  justify-content: center;
  background: transparent;
  border: 0;
}

.cart-button {
  min-width: 154px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 12px;
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--primary-dark);
}

.cart-button small,
.cart-button b {
  display: block;
  text-align: left;
}

.cart-button small {
  font-size: 12px;
  color: #E8DCCB;
}

.cart-button b {
  font-size: 13px;
}

.cart-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  color: #4A372A;
  background: var(--accent);
}

.cart-icon strong {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid var(--primary-dark);
  border-radius: 50%;
  color: var(--white);
  background: var(--danger);
  font-size: 11px;
}

.nav-bar {
  position: relative;
  background: #4A372A;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-inner {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-inner a,
.all-categories {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  color: var(--white);
  background: transparent;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
}

.all-categories {
  color: #4A372A;
  background: var(--accent);
  border-radius: 0;
}

.nav-inner a:hover,
.all-categories:hover {
  filter: brightness(1.04);
  background-color: rgba(255, 255, 255, 0.08);
}

.all-categories:hover {
  background: #E8DCCB;
}

.menu-category-grid {
  position: absolute;
  top: 100%;
  left: clamp(14px, 2vw, 34px);
  z-index: 60;
  width: min(760px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(232, 220, 203, 0.82);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.all-categories:hover + .menu-category-grid,
.all-categories:focus-visible + .menu-category-grid,
.menu-category-grid:hover,
.menu-category-grid:focus-within {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.menu-category-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: #FAF7F2;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.menu-category-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 18px rgba(74, 55, 42, 0.12);
  transform: translateY(-2px);
}

.menu-category-card img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-band {
  padding: 22px 0 14px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(320px, 0.85fr);
  gap: 14px;
}

.hero-main {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--primary-dark);
  box-shadow: var(--soft-shadow);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroCarousel 12s linear infinite;
}

.hero-slide:nth-child(2) {
  animation-delay: 4s;
}

.hero-slide:nth-child(3) {
  animation-delay: 8s;
}

.hero-dots {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  display: flex;
  gap: 7px;
}

.hero-dots span {
  width: 22px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  animation: heroDot 12s linear infinite;
}

.hero-dots span:nth-child(2) {
  animation-delay: 4s;
}

.hero-dots span:nth-child(3) {
  animation-delay: 8s;
}

.promo-card img,
.sidebar-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(58, 40, 30, 0.78), rgba(58, 40, 30, 0.32), rgba(58, 40, 30, 0.04));
}

.hero-copy {
  position: absolute;
  z-index: 1;
  inset: auto auto 44px 44px;
  width: min(520px, calc(100% - 64px));
  color: var(--white);
}

.hero-copy span,
.section-heading span,
.newsletter-inner span,
.admin-title-row span,
.cart-header span {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 12px;
  max-width: 12ch;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: 0;
  animation: heroTitleIntro 0.75s ease both, heroTitleBreath 4s ease-in-out 0.9s infinite;
}

.hero-copy p {
  max-width: 560px;
  margin: 0 0 22px;
  color: #F5EFE6;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.promo-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.promo-card {
  position: relative;
  min-height: 198px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(58, 40, 30, 0.44);
}

.promo-card.red::after {
  background: rgba(174, 42, 30, 0.58);
}

.promo-card.gold::after {
  background: rgba(119, 79, 0, 0.5);
}

.promo-card.green::after {
  background: rgba(17, 98, 73, 0.55);
}

.promo-card div {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: var(--white);
}

.promo-card span {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  color: #4A372A;
  background: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.promo-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.05;
}

.services-strip {
  padding: 0 0 22px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.services-grid article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid var(--border);
}

.services-grid article:last-child {
  border-right: 0;
}

.services-grid i {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--primary);
  background: #F5EFE6;
  font-size: 21px;
}

.services-grid h2 {
  margin: 0 0 4px;
  font-size: 15px;
}

.services-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.category-section {
  padding: 8px 0 22px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 22px;
  margin-bottom: 14px;
  text-align: center;
}

.section-heading.compact {
  align-items: center;
  margin-bottom: 14px;
}

.section-heading.compact .text-btn {
  margin-left: auto;
}

.section-heading > div {
  display: grid;
  justify-items: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.section-heading p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
}

.category-circles {
  justify-content: center;
}

.category-circles-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 136px));
  justify-content: center;
  gap: 16px 18px;
}

.category-circle {
  display: grid;
  gap: 8px;
  justify-items: center;
  border: 0;
  color: var(--text);
  background: transparent;
}

.category-circle img {
  width: 116px;
  aspect-ratio: 1;
  border: 4px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-circle span {
  display: inline-flex;
  justify-content: center;
  min-width: 100px;
  margin-top: -24px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #4A372A;
  background: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.category-circle:hover img {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.category-circle.category-circle-dup {
  display: none;
}

.commerce-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  padding: 14px 0 24px;
}

.boutique-page .hero-band,
.boutique-page .services-strip,
.boutique-page .category-section,
.boutique-page .newsletter-band {
  display: none;
}

.boutique-page .commerce-layout {
  padding-top: 26px;
}

.shop-sidebar {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 14px;
  order: 2;
}

.sidebar-card,
.sidebar-banner,
.admin-card,
.login-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.sidebar-card {
  overflow: hidden;
}

.sidebar-card h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 12px 14px;
  color: var(--white);
  background: var(--primary);
  font-size: 15px;
}

.mini-product-list {
  display: grid;
}

.mini-product {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.mini-product:last-child {
  border-bottom: 0;
}

.mini-product:hover {
  background: #FAF7F2;
}

.mini-product img {
  width: 58px;
  height: 58px;
  border-radius: 6px;
  object-fit: cover;
}

.mini-product h4 {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.25;
}

.mini-product p {
  margin: 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.sidebar-banner {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.sidebar-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(58, 40, 30, 0.44);
}

.sidebar-banner div {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: var(--white);
}

.sidebar-banner span {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
}

.sidebar-banner h2 {
  margin: 6px 0 0;
  line-height: 1.1;
}

.shop-main {
  min-width: 0;
  display: grid;
  gap: 18px;
  order: 1;
}

.hot-deal-block,
.catalog-section {
  scroll-margin-top: 140px;
}

.deal-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.hot-deal-block {
  width: 100%;
  max-width: none;
  justify-self: center;
  display: grid;
  grid-template-rows: auto 1fr;
}

.deal-timer {
  display: grid;
  grid-template-columns: repeat(4, 58px);
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.deal-timer span {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 7px 6px;
  border-radius: 6px;
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 6px 14px rgba(74, 55, 42, 0.16);
}

.deal-timer strong {
  font-size: 17px;
  line-height: 1;
}

.deal-timer small {
  color: #E8DCCB;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.hot-deal-card {
  min-height: 320px;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.15fr);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hot-deal-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hot-deal-content {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  padding: clamp(20px, 3vw, 34px);
}

.hot-deal-content h3 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.02;
}

.hot-deal-content p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.hot-deal-content .product-badge {
  min-height: 30px;
  padding: 6px 12px;
  font-size: 12px;
}

.hot-deal-content .product-price strong {
  font-size: 22px;
}

.hot-deal-content .product-price span {
  font-size: 14px;
}

.hot-deal-content .btn {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}

.feature-deal-card {
  position: relative;
  min-height: 320px;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--primary-dark);
  box-shadow: var(--shadow);
}

.feature-deal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 40, 30, 0.08), rgba(58, 40, 30, 0.86));
}

.feature-deal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-deal-card div {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  justify-items: start;
  gap: 12px;
  color: var(--white);
}

.feature-deal-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-deal-card h2 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.02;
}

.feature-deal-card p {
  max-width: 420px;
  margin: 0;
  color: #F5EFE6;
  font-size: 14px;
}

.filters-panel {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(160px, 1fr) repeat(3, minmax(120px, 0.8fr));
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.shop-main > section {
  display: grid;
  justify-items: center;
}

.shop-main > section > .section-heading,
.shop-main > section > .filters-panel,
.shop-main > section > .alert,
.shop-main > section > .empty-state,
.shop-main > section > .products-grid,
.shop-main > section > .skeleton-grid {
  width: 100%;
}

.filter-field,
.field-label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.filter-field input,
.filter-field select,
.field-label input,
.field-label select,
.field-label textarea,
.admin-filters input,
.admin-filters select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  background: var(--white);
  padding: 0 12px;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-label textarea {
  min-height: 110px;
  padding-top: 10px;
  resize: vertical;
}

.filter-field input:focus,
.filter-field select:focus,
.field-label input:focus,
.field-label select:focus,
.field-label textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107, 79, 58, 0.12);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
  gap: 12px;
  align-items: stretch;
  justify-content: center;
}

.small-grid {
  grid-template-columns: repeat(4, minmax(220px, 260px));
  justify-content: center;
}

.products-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 18px;
  flex-wrap: wrap;
}

.pagination-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pagination-btn {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--primary-dark);
  background: var(--white);
  font-weight: 900;
  box-shadow: var(--soft-shadow);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.pagination-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--primary);
}

.pagination-btn.is-current {
  color: #4A372A;
  background: var(--accent);
  border-color: var(--accent);
}

.pagination-btn:disabled {
  opacity: 0.42;
}

.pagination-gap {
  color: var(--muted);
  font-weight: 900;
}

.product-card {
  display: grid;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--soft-shadow);
}

.hero-main,
.promo-card,
.services-grid article,
.category-circle,
.sidebar-card,
.sidebar-banner,
.feature-deal-card,
.newsletter-inner {
  animation: riseFade 0.5s ease;
}

.product-card:hover {
  border-color: #D8C8B6;
  box-shadow: var(--shadow);
}

.product-click-loader {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(46, 36, 29, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.product-click-loader.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.product-click-loader-box {
  min-width: min(250px, 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 800;
}

.product-click-loader-box img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px #FAF7F2;
}

.product-click-spinner {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 3px solid var(--accent);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spinLoader 0.75s linear infinite;
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  background: #F5EFE6;
}

.product-image-carousel {
  position: absolute;
  inset: 0;
}

.product-carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.product-carousel-image.is-active {
  opacity: 1;
}

@keyframes spinLoader {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroTitleIntro {
  from {
    opacity: 0;
    transform: translateY(16px);
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 12px 28px rgba(46, 36, 29, 0.32);
  }
}

@keyframes heroTitleBreath {
  0%,
  100% {
    text-shadow: 0 12px 28px rgba(46, 36, 29, 0.32);
  }

  50% {
    text-shadow: 0 14px 34px rgba(232, 220, 203, 0.42);
  }
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(0, 0, 0, 0.45);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.product-media:hover .carousel-arrow {
  opacity: 1;
  pointer-events: auto;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-arrow-prev {
  left: 8px;
}

.carousel-arrow-next {
  right: 8px;
}

.product-carousel-dots {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.product-carousel-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 1px 4px rgba(58, 40, 30, 0.22);
}

.product-carousel-dots span.is-active {
  width: 18px;
  background: var(--white);
}

.badge-stack,
.modal-label-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge-stack {
  position: absolute;
  top: 10px;
  left: 10px;
}

.product-badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--white);
  background: var(--primary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-badge.promo,
.status-pill.promo {
  background: var(--danger);
}

.product-badge.featured {
  color: #4A372A;
  background: var(--accent);
}

.product-badge.success,
.status-pill.success {
  background: var(--success);
}

.product-badge.danger,
.status-pill.danger {
  background: var(--danger);
}

.product-body {
  display: grid;
  grid-template-rows: auto auto minmax(38px, auto) auto auto;
  gap: 8px;
  padding: 14px;
}

.product-category {
  margin: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.product-body h3 {
  min-height: 44px;
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.product-desc {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.product-price strong {
  color: var(--primary-dark);
  font-size: 17px;
}

.product-price span {
  color: var(--muted);
  font-size: 13px;
  text-decoration: line-through;
}

body:not(.admin-body) p,
body:not(.admin-body) .product-desc,
body:not(.admin-body) .lead-text,
body:not(.admin-body) .modal-description,
body:not(.admin-body) .section-heading p,
body:not(.admin-body) .services-grid p,
body:not(.admin-body) .footer-bottom p,
body:not(.admin-body) .site-footer a {
  font-weight: 400;
}

body:not(.admin-body) .nav-inner a,
body:not(.admin-body) .all-categories,
body:not(.admin-body) .topbar a,
body:not(.admin-body) .field-label,
body:not(.admin-body) .product-category {
  font-weight: 500;
}

body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3,
body:not(.admin-body) .product-body h3,
body:not(.admin-body) .site-footer h2 {
  font-weight: 700;
}

body:not(.admin-body) .btn,
body:not(.admin-body) .text-btn,
body:not(.admin-body) .product-price strong,
body:not(.admin-body) .cart-total-line strong,
body:not(.admin-body) .cart-button b {
  font-weight: 600;
}

.product-actions,
.modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn,
.icon-btn,
.text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  min-height: 42px;
  padding: 0 16px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover,
.icon-btn:hover {
  transform: translateY(-1px);
}

.btn i,
.icon-btn i,
.text-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn span,
.text-btn span {
  display: inline-flex;
  align-items: center;
  line-height: 1.1;
}

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

.btn-primary:hover {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  box-shadow: 0 10px 20px rgba(74, 55, 42, 0.22);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.1);
}

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

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

.btn-light {
  color: var(--primary-dark);
  border-color: var(--border);
  background: #FAF7F2;
}

.btn-danger {
  color: var(--white);
  background: var(--danger);
  border-color: var(--danger);
}

.btn-sm {
  min-height: 36px;
  padding: 0 11px;
  font-size: 12px;
}

.btn-full {
  width: 100%;
}

.icon-btn {
  width: 42px;
  padding: 0;
  color: var(--primary);
  background: #F5EFE6;
  border-color: #E8DCCB;
}

.icon-btn.small {
  width: 34px;
  min-height: 34px;
}

.icon-btn.danger {
  color: var(--danger);
  background: #FFF3EF;
  border-color: #E9BFB7;
}

.text-btn {
  min-height: auto;
  padding: 0;
  border: 0;
  color: var(--primary);
  background: transparent;
}

.text-btn.center {
  margin: 10px auto 0;
}

.category-products {
  display: grid;
  gap: 20px;
  padding: 0 0 34px;
}

.catalog-section {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.catalog-section .section-heading {
  width: 100%;
}

.catalog-section .products-grid {
  width: 100%;
}

.newsletter-band {
  padding: 42px 0;
  background: var(--primary-dark);
  color: var(--white);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: center;
}

.newsletter-inner h2 {
  margin: 0 0 8px;
  font-size: 32px;
}

.newsletter-inner p {
  margin: 0;
  color: #E8DCCB;
}

.newsletter-inner form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.newsletter-inner input {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 0 14px;
}

.site-footer {
  color: #E8DCCB;
  background: #3D2D23;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding: 52px 0 40px;
}

.footer-grid > div {
  min-width: 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  margin-bottom: 16px;
}

.footer-brand > p {
  margin: 0 0 16px;
  max-width: 280px;
  color: #B7A48F;
  font-size: 13px;
  line-height: 1.6;
}

.login-card > img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 50%;
  background: transparent;
  padding: 0;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer a {
  display: block;
  margin: 0;
  padding: 5px 0;
  color: #B7A48F;
  font-size: 13px;
  overflow-wrap: anywhere;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-phones a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.footer-admin {
  font-size: 12px;
  opacity: 0.6;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 50%;
  color: #4A372A;
  background: var(--accent);
  font-size: 15px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: #E8DCCB;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
  color: #8A7A6A;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  background: #20b15a;
  box-shadow: 0 14px 30px rgba(32, 177, 90, 0.32);
  font-size: 28px;
}

.cart-overlay,
.product-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(58, 40, 30, 0.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cart-open .cart-overlay {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  width: min(430px, 100%);
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--white);
  box-shadow: -20px 0 50px rgba(58, 40, 30, 0.18);
  transform: translateX(105%);
  transition: transform 0.25s ease;
  overflow: hidden;
}

.cart-open .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: var(--white);
  background: var(--primary-dark);
}

.cart-header h2 {
  margin: 0;
  font-size: 24px;
}

.cart-header span {
  color: var(--accent);
}

.cart-summary {
  margin: 5px 0 0;
  color: #E8DCCB;
  font-size: 13px;
  font-weight: 800;
}

.cart-header .icon-btn {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

.cart-list {
  grid-row: 2;
  overflow: auto;
  padding: 14px 18px;
  background: #F5EFE6;
}

.cart-empty {
  grid-row: 2;
  display: grid;
  place-items: center;
  align-self: center;
  gap: 10px;
  padding: 36px;
  color: var(--muted);
  text-align: center;
}

.cart-empty i {
  color: #9A8A79;
  font-size: 42px;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.cart-item > img {
  width: 74px;
  height: 82px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item-info h4 {
  margin: 0 0 5px;
  font-size: 15px;
}

.cart-item-meta {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
}

.cart-item-controls {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-item-controls input {
  width: 52px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: center;
}

.cart-footer {
  grid-row: 3;
  padding: 18px;
  background: #FAF7F2;
  box-shadow: 0 -12px 30px rgba(58, 40, 30, 0.1);
}

.cart-total-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-size: 18px;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.product-modal.is-open {
  display: block;
}

.product-modal.is-open .product-modal-overlay {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-panel {
  position: relative;
  z-index: 101;
  width: min(920px, calc(100% - 28px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
}

.product-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.modal-gallery {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #F5EFE6;
}

.modal-main-image {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius);
  object-fit: cover;
}

.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.modal-thumbs button {
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}

.modal-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.modal-product-detail {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 32px 28px 28px;
}

.modal-product-detail h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
}

.modal-description {
  margin: 0;
  color: var(--muted);
}

.option-form {
  display: grid;
  gap: 13px;
  margin-top: 8px;
}

.empty-state,
.alert {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 34px;
  color: var(--muted);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.empty-state i {
  color: var(--accent-dark);
  font-size: 36px;
}

.empty-state h3,
.empty-state h1 {
  margin: 0;
  color: var(--text);
}

.empty-state p {
  margin: 0;
}

.alert {
  margin-bottom: 16px;
  color: #9f281b;
  background: #fff3f1;
  border-color: #ffc9c2;
}

.why-band {
  padding: 52px 0;
  background: var(--primary-dark);
  color: var(--white);
}

.why-header {
  text-align: center;
  margin-bottom: 36px;
}

.why-header span {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.why-header h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
}

.why-header p {
  margin: 0 auto;
  max-width: 480px;
  color: #E8DCCB;
  font-size: 15px;
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.why-stat {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 20px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.why-stat strong {
  color: var(--accent);
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1;
}

.why-stat span {
  color: #E8DCCB;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.why-icon {
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: var(--primary-dark);
  background: var(--accent);
  font-size: 20px;
}

.why-card:nth-child(1) .why-icon {
  color: #2F6F62;
  background: #E8F4EF;
}

.why-card:nth-child(2) .why-icon {
  color: #9A6A16;
  background: #FFF3D7;
}

.why-card:nth-child(3) .why-icon {
  color: #2F5F8F;
  background: #E8F1FA;
}

.why-card:nth-child(4) .why-icon {
  color: #238557;
  background: #E7F6EE;
}

.why-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--white);
}

.why-card p {
  margin: 0;
  color: #E8DCCB;
  font-size: 13px;
  line-height: 1.55;
}

.reassurance-section {
  padding: 48px 0;
}

.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.reassurance-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 32px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.reassurance-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--primary);
  background: #F5EFE6;
  font-size: 22px;
}

.reassurance-card:nth-child(1) .reassurance-icon {
  color: #2F5F8F;
  background: #E8F1FA;
}

.reassurance-card:nth-child(2) .reassurance-icon {
  color: #8A5A28;
  background: #F6E8D8;
}

.reassurance-card:nth-child(3) .reassurance-icon {
  color: #6F4AA0;
  background: #F0E9FA;
}

.reassurance-card:nth-child(4) .reassurance-icon {
  color: #A35C2A;
  background: #FBE9DD;
}

.reassurance-card:nth-child(5) .reassurance-icon {
  color: #2E7D75;
  background: #E4F4F1;
}

.reassurance-card:nth-child(6) .reassurance-icon {
  color: #B0445D;
  background: #FBE7EC;
}

.reassurance-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.reassurance-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.cta-banner-section {
  padding: 0 0 42px;
}

.cta-banner {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
}

.cta-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(58, 40, 30, 0.82), rgba(58, 40, 30, 0.44), rgba(58, 40, 30, 0.08));
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 12px;
  max-width: 540px;
  padding: 48px 42px;
  color: var(--white);
}

.cta-banner-content span {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-banner-content h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}

.cta-banner-content p {
  margin: 0;
  color: #F5EFE6;
  font-size: 16px;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.skeleton-grid {
  margin-bottom: 16px;
}

.skeleton-card {
  min-height: 330px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #E8DCCB 25%, #FAF7F2 37%, #E8DCCB 63%);
  background-size: 400% 100%;
  animation: skeleton 1.3s ease infinite;
}

.skeleton-card.wide {
  min-height: 520px;
}

@keyframes skeleton {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

@keyframes heroCarousel {
  0%,
  30% {
    opacity: 1;
  }
  34%,
  100% {
    opacity: 0;
  }
}

@keyframes heroDot {
  0%,
  30% {
    width: 30px;
    background: var(--white);
  }
  34%,
  100% {
    width: 10px;
    background: rgba(255, 255, 255, 0.48);
  }
}

@keyframes categoryMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes categoryTitleMarquee {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes riseFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mobileMenuItem {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toast-holder {
  position: fixed;
  z-index: 200;
  top: 18px;
  right: 18px;
  display: grid;
  gap: 10px;
}

.toast {
  max-width: 340px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--success);
  box-shadow: var(--shadow);
  transform: translateY(-10px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast-error {
  background: var(--danger);
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--primary);
  font-weight: 800;
}

.product-page-main {
  min-height: 60vh;
  padding-bottom: 48px;
}

.product-page-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.product-page-gallery,
.product-page-info,
.product-detail-panel,
.related-products-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.product-page-gallery {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.product-detail-main-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  background: #F5EFE6;
}

.product-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.product-detail-thumbs button {
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 7px;
  background: #F5EFE6;
}

.product-detail-thumbs button.is-active {
  border-color: var(--accent);
}

.product-detail-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-page-info {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
}

.product-page-info h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 700;
}

.lead-text {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
}

.product-page-form {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.product-choice-field select,
.product-choice-field input {
  min-height: 48px;
}

.product-page-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-page-actions .btn {
  min-height: 50px;
}

.product-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.product-service-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #FAF7F2;
}

.product-service-item > i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--primary);
  background: #F5EFE6;
}

.product-service-item strong,
.product-service-item span {
  display: block;
}

.product-service-item strong {
  font-size: 13px;
  font-weight: 600;
}

.product-service-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.product-detail-sections,
.related-products-section {
  grid-column: 1 / -1;
}

.product-detail-sections {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(240px, 0.9fr));
  gap: 14px;
}

.product-detail-panel {
  padding: 18px;
}

.product-detail-panel h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.product-detail-panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
}

.product-detail-list {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 8px 12px;
  margin: 0;
}

.product-detail-list dt {
  color: var(--muted);
  font-weight: 500;
}

.product-detail-list dd {
  margin: 0;
  font-weight: 500;
}

.related-products-section {
  padding: 18px;
}

.related-products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-body {
  background: #F5EFE6;
  font-family: var(--font-main);
  font-weight: 400;
  letter-spacing: 0;
}

.admin-header {
  background: var(--primary-dark);
  color: var(--white);
  box-shadow: var(--soft-shadow);
}

.admin-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.admin-main {
  padding: 26px 0 60px;
}

.admin-app-active .admin-header {
  display: none;
}

.admin-app-active {
  height: 100vh;
  overflow: hidden;
}

.admin-app-active .admin-main {
  height: 100vh;
  overflow: hidden;
  padding: 0;
}

.admin-app-active .site-footer {
  display: none;
}

.admin-app {
  height: 100vh;
  overflow: hidden;
  padding-right: 0;
  padding-left: 0;
}

.admin-sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin: 0 0 14px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--primary);
  font-weight: 900;
  box-shadow: var(--soft-shadow);
}

.admin-sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: rgba(58, 40, 30, 0.48);
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  height: 100vh;
  overflow: hidden;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100vh;
  overflow: hidden;
  border: 1px solid rgba(74, 55, 42, 0.12);
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-deep) 100%);
  box-shadow: 0 20px 46px rgba(74, 55, 42, 0.14);
}

.admin-sidebar-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 18px;
  color: var(--white);
  background: var(--primary-dark);
}

.admin-sidebar-head img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
}

.admin-sidebar-head strong,
.admin-sidebar-head span {
  display: block;
}

.admin-sidebar-head strong {
  font-size: 16px;
  font-weight: 700;
}

.admin-sidebar-head span {
  color: #E8DCCB;
  font-size: 12px;
  font-weight: 500;
}

.admin-sidebar-close {
  display: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.admin-nav {
  display: grid;
  align-content: start;
  gap: 18px;
  overflow-y: auto;
  padding: 16px 14px;
}

.admin-nav-group {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.admin-nav-label {
  display: block;
  padding: 0 8px 3px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-nav button,
.admin-nav a {
  min-height: 54px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 0 13px 0 7px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--off-white);
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

.admin-nav button i,
.admin-nav a i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--primary-dark);
  background: var(--accent);
  font-size: 21px;
  flex-shrink: 0;
}

.admin-nav button:hover,
.admin-nav a:hover,
.admin-nav button.is-active {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.admin-nav button.is-active {
  box-shadow: inset 4px 0 0 var(--accent), 0 10px 22px rgba(58, 40, 30, 0.18);
}

.admin-nav button.is-active i {
  color: #4A372A;
  background: var(--off-white);
}

.admin-nav [data-admin-nav="dashboard"] i {
  color: #2F5F8F;
  background: #E8F1FA;
}

.admin-nav [data-admin-nav="products"] i {
  color: #238557;
  background: #E7F6EE;
}

.admin-nav [data-admin-nav="add-product"] i {
  color: #6B4F3A;
  background: #EFE0CE;
}

.admin-nav [data-admin-nav="categories"] i {
  color: #6F4AA0;
  background: #F0E9FA;
}

.admin-nav [data-admin-nav="promotions"] i {
  color: #A35C2A;
  background: #FBE9DD;
}

.admin-nav [data-admin-nav="orders"] i {
  color: #16613F;
  background: #E4F4E9;
}

.admin-nav [data-admin-nav="gallery"] i {
  color: #5D6470;
  background: #EEF0F2;
}

.admin-nav [data-admin-nav="settings"] i {
  color: #4A372A;
  background: #E8DCCB;
}

.admin-sidebar-footer {
  display: grid;
  gap: 9px;
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.admin-sidebar-action {
  min-height: 50px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 0 13px 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: var(--off-white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
}

.admin-sidebar-action i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 38px;
  border-radius: 10px;
  color: var(--primary-dark);
  background: var(--accent);
  font-size: 20px;
}

.admin-sidebar-action:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.14);
}

.admin-content {
  min-width: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 22px clamp(16px, 2.2vw, 30px) 30px;
  -webkit-overflow-scrolling: touch;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(240px, 0.7fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(74, 55, 42, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(74, 55, 42, 0.09);
}

.admin-page-heading {
  min-width: 0;
}

.admin-page-heading h1 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.05;
}

.admin-page-heading span {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-page-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-top-search {
  min-height: 44px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  background: #FAF7F2;
}

.admin-top-search i {
  display: grid;
  place-items: center;
  color: var(--primary-dark);
}

.admin-top-search input {
  width: 100%;
  min-height: 44px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-weight: 700;
}

.admin-top-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.admin-login-panel {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
}

.login-card {
  width: min(940px, 100%);
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  overflow: hidden;
  padding: 0;
  text-align: left;
}

.login-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(74, 55, 42, 0.68), rgba(107, 79, 58, 0.22)),
    url("https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=900&q=82") center / cover;
}

.login-visual img {
  width: min(220px, 72%);
  height: auto;
  margin: 0;
  border-radius: 50%;
  box-shadow: 0 20px 45px rgba(46, 36, 29, 0.3);
}

.login-content {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 46px);
}

.login-card h1,
.admin-title-row h1 {
  margin: 0 0 6px;
}

.login-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.login-card form {
  display: grid;
  gap: 14px;
  text-align: left;
}

.input-icon-field {
  position: relative;
  display: block;
}

.input-icon-field > i {
  position: absolute;
  top: 50%;
  left: 13px;
  z-index: 1;
  color: var(--muted);
  line-height: 1;
  transform: translateY(-50%);
}

.input-icon-field input {
  padding-left: 40px;
}

.password-field input {
  padding-right: 46px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: var(--primary);
  background: transparent;
  transform: translateY(-50%);
}

.password-toggle:hover {
  background: #F5EFE6;
}

@media (max-width: 820px) {
  .login-card {
    grid-template-columns: 1fr;
  }

  .login-visual {
    min-height: 190px;
  }

  .login-visual img {
    width: 128px;
  }
}

.admin-empty-setup {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 56px 24px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.admin-empty-setup i {
  color: var(--primary);
  font-size: 46px;
}

.admin-empty-setup h1,
.admin-empty-setup p {
  margin: 0;
}

.admin-empty-setup p {
  max-width: 680px;
  color: var(--muted);
}

.admin-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-dashboard {
  display: grid;
  gap: 14px;
}

.admin-section {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.admin-overview-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF7F2 62%, #FAF7F2 100%);
}

.admin-card-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.admin-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(35, 133, 87, 0.18);
  border-radius: 999px;
  color: #16613f;
  background: rgba(35, 133, 87, 0.09);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-live-pill i {
  color: #22a66b;
  font-size: 8px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 10px;
}

.admin-stat-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 94px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(58, 40, 30, 0.07);
}

.admin-stat-card > i {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--primary-dark);
  background: #F5EFE6;
}

.admin-stat-card.success > i {
  color: #16613f;
  background: rgba(35, 133, 87, 0.12);
}

.admin-stat-card.warning > i {
  color: #8a4f00;
  background: rgba(210, 190, 166, 0.2);
}

.admin-stat-card.promo > i {
  color: #93202a;
  background: rgba(239, 75, 92, 0.12);
}

.admin-stat-card.featured > i {
  color: #7b5a00;
  background: rgba(232, 220, 203, 0.22);
}

.admin-stat-card span,
.admin-stat-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-stat-card strong {
  display: block;
  margin: 3px 0;
  color: var(--text);
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.05;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.82fr) minmax(320px, 0.92fr);
  gap: 20px;
  align-items: start;
}

.admin-charts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.75fr) minmax(250px, 0.75fr);
  gap: 14px;
  align-items: stretch;
}

.admin-chart-card {
  display: grid;
  grid-template-rows: auto minmax(210px, 1fr);
  min-height: 300px;
}

.admin-chart-wide {
  grid-column: span 1;
}

.admin-chart-body {
  position: relative;
  min-height: 210px;
}

.admin-chart-body canvas {
  width: 100% !important;
  height: 100% !important;
}

.admin-chart-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px dashed #BCA891;
  border-radius: 6px;
  color: var(--muted);
  background: #FAF7F2;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.admin-insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.admin-insight-card {
  min-height: 280px;
}

.admin-recent-list.compact,
.admin-health-list.compact {
  max-height: 360px;
  overflow: auto;
  padding-right: 2px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 20px;
  align-items: start;
}

.admin-card {
  padding: 18px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.category-admin-card {
  grid-column: 1 / -1;
}

.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-card-header h2 {
  margin: 0;
  font-size: 22px;
}

.admin-category-metrics,
.admin-health-list,
.admin-recent-list {
  display: grid;
  gap: 10px;
}

.admin-category-metric,
.admin-health-item,
.admin-recent-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #FAF7F2;
}

.admin-category-metric {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  min-width: 0;
  overflow: hidden;
}

.admin-category-metric img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-category-metric-content {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.admin-category-metric-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  min-width: 0;
}

.admin-category-metric-top span {
  color: var(--muted);
  white-space: nowrap;
}

.admin-category-metric-top strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-category-metric-content p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-metric-bar {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #E8DCCB;
}

.admin-metric-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.admin-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.admin-health-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
}

.admin-health-item > i {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--primary-dark);
  background: #F5EFE6;
}

.admin-health-item.success > i {
  color: #16613f;
  background: rgba(35, 133, 87, 0.12);
}

.admin-health-item.warning > i {
  color: #8a4f00;
  background: rgba(210, 190, 166, 0.22);
}

.admin-health-item strong,
.admin-recent-item strong {
  display: block;
  color: var(--text);
  font-size: 13px;
}

.admin-health-item span,
.admin-recent-item span:not(.status-pill) {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-recent-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
}

.admin-recent-item img {
  width: 48px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid.two {
  grid-template-columns: 1fr 1fr;
}

.admin-gallery-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #FAF7F2;
}

.admin-gallery-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-gallery-head span {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.admin-gallery-head small,
.field-help {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.admin-image-url-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-grid label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #FAF7F2;
  font-size: 13px;
  font-weight: 800;
}

.admin-images-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-image-thumb {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
}

.admin-image-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.admin-image-thumb span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  max-width: calc(100% - 12px);
  padding: 3px 6px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(58, 40, 30, 0.72);
  font-size: 10px;
  font-weight: 900;
}

.admin-image-empty {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px dashed #BCA891;
  border-radius: 6px;
  color: var(--muted);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.admin-filters {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-product-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-products-pagination {
  margin-top: 14px;
}

.admin-product-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #FAF7F2;
  min-width: 0;
}

.admin-product-row > img {
  width: 76px;
  height: 82px;
  border-radius: 6px;
  object-fit: cover;
}

.admin-product-info h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.admin-product-info p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.admin-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  min-width: 0;
}

.admin-category-image-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  min-width: 0;
}

.admin-category-image-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #FAF7F2;
  min-width: 0;
}

.admin-category-image-row > img {
  width: 96px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.admin-category-image-content {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-category-image-content h3 {
  margin: 0;
  font-size: 16px;
}

.admin-category-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-theme-form {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #FAF7F2;
}

.admin-theme-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 10px;
  align-items: end;
}

.theme-color-field input[type="color"] {
  width: 100%;
  min-height: 44px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
}

.admin-theme-preview,
.admin-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.admin-theme-preview::-webkit-scrollbar,
.admin-form-actions::-webkit-scrollbar {
  display: none;
}

.admin-theme-preview span {
  flex: 0 0 56px;
  height: 30px;
  border: 2px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(58, 40, 30, 0.12);
}

.admin-form-actions .btn {
  flex: 0 0 auto;
}

.admin-setting-card {
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #FAF7F2;
}

.admin-setting-card i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--primary-dark);
  background: #F5EFE6;
}

.admin-setting-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-setting-card strong {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 15px;
}

.admin-body .btn,
.admin-body .text-btn,
.admin-body input,
.admin-body select,
.admin-body textarea {
  font-family: var(--font-main);
}

.admin-body .btn,
.admin-body .text-btn {
  font-weight: 600;
}

.admin-body .admin-page-heading h1,
.admin-body .admin-card-header h2,
.admin-body .login-card h1,
.admin-body .admin-empty-setup h1 {
  font-weight: 700;
  letter-spacing: 0;
}

.admin-body .admin-card-header p,
.admin-body .admin-page-heading p,
.admin-body .login-card p,
.admin-body .admin-empty-setup p,
.admin-body .field-help {
  font-weight: 500;
}

.admin-body .field-label,
.admin-body .checkbox-grid label {
  font-weight: 600;
}

.admin-body .admin-stat-card span,
.admin-body .admin-stat-card small,
.admin-body .admin-live-pill,
.admin-body .status-pill,
.admin-body .admin-category-metric-top,
.admin-body .admin-category-metric-content p,
.admin-body .admin-health-item span,
.admin-body .admin-recent-item span:not(.status-pill),
.admin-body .admin-product-info p,
.admin-body .admin-setting-card span {
  font-weight: 600;
}

.admin-body .admin-stat-card strong,
.admin-body .admin-product-info h3,
.admin-body .admin-health-item strong,
.admin-body .admin-recent-item strong,
.admin-body .admin-category-image-content h3,
.admin-body .admin-setting-card strong {
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .main-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero-grid,
  .commerce-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .admin-topbar {
    grid-template-columns: 1fr;
  }

  .admin-top-actions {
    justify-content: flex-start;
  }

  .admin-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-charts-grid {
    grid-template-columns: 1fr;
  }

  .admin-insight-grid {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-grid > .admin-card:last-child {
    grid-column: 1 / -1;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .why-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .category-circles-track {
    grid-template-columns: repeat(auto-fit, minmax(118px, 144px));
  }

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

  .services-grid article:nth-child(2) {
    border-right: 0;
  }

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

@media (max-width: 820px) {
  :root {
    --site-header-offset: 112px;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header,
  main,
  .site-footer {
    overflow-x: clip;
  }

  .newsletter-inner,
  .admin-title-row,
  .admin-topbar {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .admin-topbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-top-actions {
    justify-content: center;
  }

  .admin-top-search {
    width: 100%;
  }

  .admin-sidebar-toggle {
    display: inline-flex;
  }

  .admin-sidebar-overlay {
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
  }

  .admin-sidebar-open .admin-sidebar-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-shell {
    display: block;
    height: 100vh;
    overflow: hidden;
  }

  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    width: min(360px, 88vw);
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    border-radius: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-105%);
    transition: opacity 0.24s ease, transform 0.3s ease;
  }

  .admin-sidebar-open .admin-sidebar {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .admin-sidebar-head {
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .admin-sidebar-close {
    display: inline-grid;
  }

  .admin-content {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .admin-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-charts-grid {
    grid-template-columns: 1fr;
  }

  .admin-chart-card {
    min-height: 280px;
  }

  .admin-chart-body {
    min-height: 200px;
  }

  .admin-dashboard-grid > .admin-card:last-child {
    grid-column: auto;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-settings-grid {
    grid-template-columns: 1fr;
  }

  .admin-insight-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: none;
  }

  .section-heading {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .section-heading.compact .text-btn {
    margin: 0 auto;
  }

  .main-header-inner {
    grid-template-columns: 42px minmax(0, 1fr) 48px;
    gap: 12px;
    padding: 10px 0;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    grid-column: 1;
    grid-row: 1;
  }

  .main-header-inner > .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: none;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .main-header-inner > .cart-button {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    grid-template-columns: minmax(104px, 128px) minmax(0, 1fr) 44px;
  }

  .product-page-search {
    grid-template-columns: none;
  }

  .cart-button {
    min-width: 48px;
    padding: 0 8px;
  }

  .cart-button > span:last-child {
    display: none;
  }

  .nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 75;
    display: block;
    width: min(320px, 82vw);
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    background: #4A372A;
    box-shadow: 18px 0 42px rgba(58, 40, 30, 0.28);
    transform: translateX(-105%);
    transition: opacity 0.24s ease, transform 0.3s ease;
  }

  .nav-bar.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-inner {
    align-items: stretch;
    flex-direction: column;
    min-height: 100%;
    padding: 76px 14px 18px;
  }

  .menu-close {
    position: absolute;
    top: 16px;
    right: 14px;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    font-size: 20px;
  }

  .nav-inner a,
  .all-categories {
    width: 100%;
    justify-content: flex-start;
    border-radius: 6px;
  }

  .nav-bar.is-open .nav-inner a,
  .nav-bar.is-open .all-categories {
    animation: mobileMenuItem 0.26s ease both;
  }

  .menu-category-grid {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 4px 0 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .menu-category-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 800;
    text-align: left;
  }

  .menu-category-card:hover {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: none;
    transform: none;
  }

  .menu-category-card img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
  }

  .hero-main {
    min-height: 430px;
  }

  .hero-copy {
    left: 22px;
    bottom: 24px;
    width: calc(100% - 44px);
  }

  .promo-stack {
    display: none;
  }

  .services-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .services-grid::-webkit-scrollbar {
    display: none;
  }

  .services-grid article {
    flex: 0 0 min(300px, 82vw);
    min-height: 98px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--soft-shadow);
    scroll-snap-align: start;
  }

  .services-grid article:nth-child(2),
  .services-grid article:last-child {
    border-right: 1px solid var(--border);
  }

  .category-section {
    overflow: hidden;
  }

  .category-section .section-heading h2 {
    font-size: 22px;
  }

  .category-circles {
    overflow: hidden;
    width: 100%;
    padding: 4px 0 12px;
  }

  .category-circles-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: categoryMarquee 20s linear infinite;
  }

  .category-circle {
    flex: 0 0 112px;
  }

  .category-circle-dup {
    display: grid;
  }

  .shop-sidebar {
    grid-template-columns: 1fr;
  }

  .hot-deal-card,
  .deal-row,
  .product-modal-body,
  .product-page-shell {
    grid-template-columns: 1fr;
  }

  .product-detail-sections,
  .related-products-grid {
    grid-template-columns: 1fr;
  }

  .product-service-grid,
  .product-page-actions {
    grid-template-columns: 1fr;
  }

  .hot-deal-card > img {
    height: 240px;
  }

  .hot-deal-card,
  .feature-deal-card {
    min-height: 330px;
  }

  .filters-panel,
  .newsletter-inner,
  .admin-filters {
    grid-template-columns: 1fr;
  }

  .newsletter-inner form {
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }

  .newsletter-inner form .btn {
    padding: 0 13px;
    white-space: nowrap;
  }

  .home-page .filters-panel {
    display: none;
  }

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

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

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

  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-banner {
    min-height: 280px;
  }

  .cta-banner-content {
    padding: 32px 24px;
  }

  .carousel-arrow {
    opacity: 1;
    pointer-events: auto;
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
    padding: 30px 0 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    order: 4;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .footer-grid > div:nth-child(2) {
    order: 1;
  }

  .footer-grid > div:nth-child(3) {
    order: 2;
  }

  .footer-grid > div:nth-child(4) {
    grid-column: 1 / -1;
    order: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
  }

  .footer-grid > div:nth-child(4) h2 {
    grid-column: 1 / -1;
  }

  .footer-brand > p {
    max-width: 260px;
  }

  .footer-brand img {
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
  }

  .footer-phones {
    justify-content: center;
    width: 100%;
  }

  .footer-phones a {
    justify-content: center;
    min-width: 118px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 16px;
    padding-bottom: 18px;
    text-align: center;
  }

  .footer-bottom-inner .social-links {
    order: 3;
  }

  .site-footer h2 {
    margin-bottom: 12px;
  }

  .site-footer a {
    line-height: 1.35;
  }

  .admin-header-inner,
  .admin-header-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-header-actions {
    width: 100%;
  }

  .admin-header-actions .btn,
  .admin-row-actions .btn {
    min-width: 0;
  }

  .admin-image-url-grid {
    grid-template-columns: 1fr;
  }

  .admin-category-image-list {
    grid-template-columns: 1fr;
  }

  .admin-category-image-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .admin-category-image-row > img {
    width: 72px;
  }

  .admin-recent-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .admin-recent-item .status-pill {
    grid-column: 2;
    justify-self: start;
  }

  .toast-holder {
    right: 12px;
    left: 12px;
  }

  .toast {
    max-width: 100%;
  }

  .admin-product-row {
    grid-template-columns: 68px 1fr;
  }

  .admin-row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero-band {
    padding-top: 14px;
  }

  .hero-main {
    min-height: 380px;
  }

  .hero-copy {
    left: 18px;
    bottom: 20px;
    width: calc(100% - 36px);
  }

  .hero-copy h1 {
    max-width: 10ch;
    font-size: 36px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: nowrap;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 10px;
    font-size: 12px;
  }

  .promo-stack {
    grid-template-columns: 1fr;
  }

  .promo-card {
    min-height: 170px;
  }

  .hot-deal-card {
    min-height: auto;
  }

  .feature-deal-card {
    min-height: 310px;
  }

  .hot-deal-card > img {
    height: 220px;
  }

  .hot-deal-content {
    justify-items: center;
    text-align: center;
    padding: 26px 18px 30px;
  }

  .hot-deal-content h3 {
    max-width: 100%;
    font-size: 30px;
  }

  .hot-deal-content p {
    font-size: 15px;
  }

  .category-section .section-heading h2 {
    font-size: 20px;
  }

  .category-circle {
    flex-basis: 104px;
  }

  .products-grid,
  .small-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-body {
    gap: 6px;
    padding: 10px;
  }

  .product-category {
    font-size: 10px;
  }

  .product-body h3 {
    min-height: 38px;
    font-size: 14px;
    line-height: 1.25;
  }

  .product-desc {
    min-height: 0;
    font-size: 12px;
  }

  .product-price {
    gap: 5px;
  }

  .product-price strong {
    font-size: 15px;
  }

  .product-price span {
    font-size: 11px;
  }

  .deal-timer {
    grid-template-columns: repeat(4, minmax(50px, 58px));
    width: 100%;
  }

  .product-actions,
  .modal-actions {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .product-actions .btn,
  .modal-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 8px;
    font-size: 12px;
  }

  .product-actions .icon-btn {
    flex: 0 0 42px;
  }

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

  .cart-item > img {
    width: 64px;
    height: 72px;
  }

  .product-modal-panel {
    width: calc(100% - 16px);
    margin: 8px auto;
    max-height: calc(100vh - 16px);
  }

  .modal-product-detail {
    padding: 24px 18px;
  }

  .modal-product-detail h2,
  .product-page-info h1 {
    font-size: 28px;
  }

  .product-page-shell {
    padding: 14px;
  }

  .product-page-gallery,
  .product-page-info,
  .product-detail-panel,
  .related-products-section {
    padding: 14px;
  }

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

  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .admin-stats-grid {
    gap: 10px;
  }

  .admin-stat-card {
    grid-template-columns: 36px minmax(0, 1fr);
    min-height: 96px;
    padding: 10px;
  }

  .admin-stat-card > i {
    width: 36px;
    height: 36px;
  }

  .admin-stat-card strong {
    font-size: 19px;
  }

  .admin-category-metric-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .admin-quick-actions .btn {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

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

@media (max-width: 420px) {
  :root {
    --site-header-offset: 144px;
  }

  .main-header-inner {
    grid-template-columns: 42px minmax(0, 1fr) 48px;
    gap: 8px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .header-search {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .header-search select {
    grid-column: 1 / -1;
    min-height: 38px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .header-search input {
    min-height: 44px;
    padding: 0 12px;
  }

  .hero-main {
    min-height: 350px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .section-heading h2,
  .newsletter-inner h2 {
    font-size: 26px;
  }

  .newsletter-inner form {
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  .newsletter-inner form .btn {
    width: 46px;
    padding: 0;
  }

  .newsletter-inner form .btn span {
    display: none;
  }

  .category-section .section-heading h2 {
    font-size: 19px;
  }

  .category-circle img {
    width: min(112px, 34vw);
  }

  .deal-timer {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .deal-timer span {
    min-height: 50px;
    padding: 6px 4px;
  }

  .cart-drawer {
    width: 100%;
    max-width: 100%;
  }

  .cart-header,
  .cart-list,
  .cart-footer {
    padding-right: 14px;
    padding-left: 14px;
  }

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

  .cart-item > img {
    width: 60px;
    height: 68px;
  }

  .cart-item-info h4 {
    font-size: 13px;
  }

  .cart-item-controls {
    grid-column: 1 / -1;
  }

  .cart-item-controls input {
    width: 44px;
    height: 32px;
  }

  .cart-total-line {
    font-size: 16px;
    padding: 10px;
  }

  .cart-footer .btn-full {
    font-size: 14px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
    font-size: 24px;
  }

  .admin-header-actions,
  .admin-header-actions .btn,
  .admin-row-actions,
  .admin-row-actions .btn {
    width: auto;
  }

  .admin-row-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-stat-card {
    min-height: 84px;
  }

  .admin-quick-actions .btn {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 820px) {
  .admin-app {
    overflow: hidden;
  }

  .admin-sidebar-toggle,
  .admin-sidebar-overlay,
  .admin-sidebar-close {
    display: none;
  }

  .admin-shell {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    height: 100vh;
    overflow: hidden;
  }

  .admin-sidebar {
    position: sticky;
    z-index: 1;
    width: auto;
    height: 100vh;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .admin-sidebar-head {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    padding: 12px 8px;
    text-align: center;
  }

  .admin-sidebar-head img {
    width: 44px;
    height: 44px;
  }

  .admin-sidebar-head strong,
  .admin-sidebar-head span,
  .admin-nav-label,
  .admin-nav button span,
  .admin-nav a span,
  .admin-sidebar-action span {
    display: none;
  }

  .admin-nav {
    gap: 8px;
    padding: 10px 8px;
  }

  .admin-nav-group {
    gap: 8px;
  }

  .admin-nav button,
  .admin-nav a,
  .admin-sidebar-action {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 52px;
    padding: 5px;
    border-radius: 12px;
  }

  .admin-nav button i,
  .admin-nav a i,
  .admin-sidebar-action i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 18px;
  }

  .admin-sidebar-footer {
    padding: 8px;
  }

  .admin-content {
    width: 100%;
    height: 100vh;
    overflow: auto;
    padding: 12px;
  }

  .admin-topbar {
    display: grid;
    grid-template-columns: minmax(210px, 0.9fr) minmax(220px, 0.8fr) max-content;
    min-width: 760px;
    gap: 10px;
    align-items: center;
    text-align: left;
  }

  .admin-top-actions,
  .admin-header-actions,
  .admin-card-header,
  .admin-title-row,
  .admin-row-actions,
  .admin-category-image-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }

  .admin-top-actions,
  .admin-row-actions,
  .admin-category-image-actions {
    justify-content: flex-end;
    overflow-x: auto;
  }

  .admin-card-header {
    align-items: center;
    justify-content: space-between;
  }

  .admin-section,
  .admin-dashboard,
  .product-admin-card,
  .category-admin-card {
    overflow-x: auto;
  }

  .admin-overview-card,
  .admin-card {
    min-width: 640px;
    padding: 14px;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(6, minmax(160px, 1fr));
  }

  .admin-charts-grid {
    grid-template-columns: minmax(360px, 1.1fr) repeat(2, minmax(250px, 0.8fr));
    min-width: 900px;
  }

  .admin-settings-grid {
    grid-template-columns: repeat(3, minmax(210px, 1fr));
  }

  .admin-theme-grid {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    min-width: 790px;
  }

  .admin-filters {
    grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(180px, 0.9fr));
    min-width: 620px;
  }

  .admin-product-row {
    grid-template-columns: 68px minmax(260px, 1fr) max-content;
    min-width: 700px;
  }

  .admin-row-actions {
    grid-column: auto;
  }

  .admin-category-image-list {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    min-width: 680px;
  }

  .admin-category-image-row {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .admin-image-url-grid,
  .form-grid.two {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .admin-grid,
  .admin-dashboard-grid,
  .admin-insight-grid {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    min-width: 720px;
  }
}

@media (max-width: 560px) {
  .admin-content {
    padding: 10px;
  }

  .admin-page-heading h1 {
    font-size: 22px;
  }

  .admin-page-heading p {
    font-size: 12px;
  }

  .admin-card-header h2 {
    font-size: 18px;
  }

  .admin-topbar {
    min-width: 720px;
    padding: 10px;
  }

  .admin-overview-card,
  .admin-card {
    min-width: 600px;
  }

  .admin-theme-grid {
    min-width: 760px;
  }
}

@media (max-width: 820px) {
  .admin-app {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    padding: 0;
  }

  .admin-sidebar-toggle {
    display: inline-flex;
    position: sticky;
    top: 10px;
    z-index: 30;
    width: calc(100% - 24px);
    margin: 10px 12px 0;
    border-radius: 8px;
  }

  .admin-sidebar-overlay {
    display: block;
    opacity: 0;
    pointer-events: none;
  }

  .admin-sidebar-open .admin-sidebar-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-shell {
    display: block;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    width: min(340px, 88vw);
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-105%);
    transition: opacity 0.24s ease, transform 0.3s ease;
  }

  .admin-sidebar-open .admin-sidebar {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .admin-sidebar-head {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    justify-items: stretch;
    gap: 12px;
    padding: 16px;
    text-align: left;
  }

  .admin-sidebar-head img {
    width: 48px;
    height: 48px;
  }

  .admin-sidebar-head strong,
  .admin-sidebar-head span,
  .admin-nav-label,
  .admin-nav button span,
  .admin-nav a span,
  .admin-sidebar-action span {
    display: block;
  }

  .admin-sidebar-close {
    display: inline-grid;
  }

  .admin-nav {
    gap: 14px;
    padding: 14px;
  }

  .admin-nav button,
  .admin-nav a,
  .admin-sidebar-action {
    grid-template-columns: 42px minmax(0, 1fr);
    justify-items: stretch;
    min-height: 50px;
    padding: 0 12px 0 7px;
    border-radius: 8px;
  }

  .admin-nav button i,
  .admin-nav a i,
  .admin-sidebar-action i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 18px;
  }

  .admin-sidebar-footer {
    padding: 12px 14px 16px;
  }

  .admin-content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
  }

  .admin-topbar {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 12px;
    align-items: stretch;
    padding: 12px;
    text-align: left;
  }

  .admin-page-heading h1 {
    font-size: 24px;
    line-height: 1.12;
  }

  .admin-page-heading p {
    font-size: 12px;
    line-height: 1.35;
  }

  .admin-top-actions,
  .admin-card-header,
  .admin-title-row,
  .admin-row-actions,
  .admin-category-image-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .admin-top-actions {
    justify-content: flex-start;
  }

  .admin-top-actions .btn {
    min-width: 0;
  }

  .admin-card-header {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .admin-section,
  .admin-dashboard,
  .product-admin-card,
  .category-admin-card {
    overflow-x: hidden;
  }

  .admin-overview-card,
  .admin-card {
    width: 100%;
    min-width: 0;
    padding: 14px;
  }

  .admin-dashboard,
  .admin-section {
    gap: 12px;
  }

  .admin-stats-grid,
  .admin-charts-grid,
  .admin-settings-grid,
  .admin-theme-grid,
  .admin-filters,
  .admin-grid,
  .admin-dashboard-grid,
  .admin-insight-grid,
  .admin-image-url-grid,
  .form-grid.two {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .admin-chart-card {
    min-height: 260px;
  }

  .admin-chart-body {
    min-height: 190px;
  }

  .admin-product-row {
    grid-template-columns: 64px minmax(0, 1fr);
    min-width: 0;
    gap: 10px;
    padding: 10px;
  }

  .admin-product-row > img {
    width: 64px;
    height: 72px;
  }

  .admin-product-info h3 {
    font-size: 15px;
    line-height: 1.25;
  }

  .admin-product-info p {
    font-size: 12px;
    line-height: 1.35;
  }

  .admin-status-list {
    gap: 4px;
  }

  .admin-row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: visible;
  }

  .admin-row-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 6px;
    font-size: 12px;
  }

  .admin-category-image-list {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .admin-category-image-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .admin-category-image-row > img {
    width: 72px;
  }

  .admin-theme-form {
    padding: 12px;
  }
}

@media (max-width: 560px) {
  .admin-content {
    padding: 10px;
  }

  .admin-topbar {
    padding: 10px;
  }

  .admin-page-heading h1 {
    font-size: 22px;
  }

  .admin-card {
    padding: 12px;
  }

  .admin-card-header h2 {
    font-size: 18px;
  }

  .admin-card-header p {
    font-size: 12px;
  }

  .admin-live-pill {
    width: 100%;
    justify-content: center;
  }

  .admin-top-actions .btn {
    flex: 1 1 calc(50% - 8px);
    padding: 0 10px;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-stat-card {
    min-height: 82px;
  }

  .admin-images-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-category-image-actions .btn {
    flex: 1 1 100%;
  }

  .admin-row-actions {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .admin-row-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 6px;
    font-size: 12px;
  }
}
