:root {
  --bg: #ece8e6;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --ink: #2f241c;
  --muted: #7a665c;
  --line: rgba(154, 35, 31, 0.18);
  --accent: #9a231f;
  --accent-deep: #7f1d19;
  --accent-soft: #f3bd5a;
  --shadow: 0 18px 44px rgba(84, 24, 21, 0.1);
  --toast-top-offset: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  background: url("assets/background-pattern.png") center top / cover fixed no-repeat;
  background-color: #f1e2cf;
}

body.mobile-nav-open {
  overflow: hidden;
}

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

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 32px;
}

.topbar,
.hero,
.section,
.about-strip,
.footer {
  backdrop-filter: blur(14px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-radius: 26px;
  position: sticky;
  top: 12px;
  z-index: 10;
  background: #9a231f;
  border-color: rgba(255, 216, 168, 0.18);
}

.brand-block {
  display: flex;
  align-items: center;
  min-width: 150px;
}

.brand-kicker,
.eyebrow,
.hero-tag {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--muted);
}

h1,
h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  font-size: 0.98rem;
  color: #fff7f0;
}

.mobile-nav-toggle,
.mobile-nav-backdrop {
  display: none;
}

.mobile-nav-toggle {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 236, 214, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff7f0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.mobile-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  background: rgba(18, 11, 8, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
  z-index: 90;
}

.cart-button,
.button,
.more-link {
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.cart-button {
  position: relative;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 236, 214, 0.28);
  color: #fff7f0;
}

.cart-button svg {
  width: 24px;
  height: 24px;
}

.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.hero {
  margin-top: 22px;
  padding: 0;
  border-radius: 34px;
  overflow: hidden;
}

.announcement-bar {
  margin-top: 18px;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(250, 245, 231, 0.96);
  border: 1px solid rgba(154, 35, 31, 0.14);
  box-shadow: 0 12px 30px rgba(84, 24, 21, 0.08);
  position: relative;
  top: auto;
  z-index: auto;
}

.announcement-bar.announcement-bar-static {
  position: relative;
  top: auto;
  z-index: auto;
}

.announcement-viewport {
  position: relative;
  overflow: hidden;
  min-height: 52px;
}

.announcement-track {
  position: absolute;
  top: 50%;
  left: 0;
  margin: 0;
  padding: 0 22px;
  white-space: nowrap;
  transform: translate3d(100%, -50%, 0);
  will-change: transform;
}

.announcement-track {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: 0.02em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
}

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

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.hero-panel {
  display: flex;
  align-items: stretch;
}

.hero-slider {
  position: relative;
}

.slider-viewport {
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.slide {
  min-width: 100%;
}

.product-card,
.banner-strip,
.contact-banner-wrap {
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid rgba(154, 35, 31, 0.18);
}

.banner-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.hero-banner {
  min-height: 320px;
  object-fit: cover;
  border-radius: 0;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 248, 242, 0.92);
  color: var(--accent-deep);
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(71, 44, 18, 0.16);
  padding: 0;
}

.slider-arrow span {
  display: block;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-1px);
}

.slider-arrow-left {
  left: 12px;
}

.slider-arrow-right {
  right: 12px;
}

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

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
}

.slider-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

.section,
.about-strip,
.footer {
  margin-top: 22px;
  padding: 28px;
  border-radius: 30px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.section-heading-center {
  justify-content: center;
  text-align: center;
}

.section-heading-center h2 {
  margin-top: 0;
}

.section-heading h2,
.about-strip h2,
.footer h2 {
  margin: 6px 0 0;
  font-size: clamp(1.35rem, 2vw, 1.95rem);
}

.chip-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.chip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(154, 35, 31, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-deep);
  font-weight: 500;
}

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

.product-card {
  padding: 14px;
  display: grid;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(84, 24, 21, 0.08);
}

.product-link {
  display: grid;
  gap: 10px;
}

.product-card .thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(135, 82, 35, 0.18), rgba(255, 255, 255, 0.25)),
    linear-gradient(135deg, #f5e5d0, #d7b18a);
  overflow: hidden;
}

.product-thumb-image {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.product-card h3 {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(0.92rem * 1.38 * 2);
  max-height: calc(0.92rem * 1.38 * 2);
}

.product-card p {
  margin: 0;
  color: #b52d20;
  font-weight: 700;
}

.banner-strip,
.contact-banner-wrap {
  margin-top: 22px;
  padding: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.more-link {
  display: none;
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #fff;
  font-weight: 600;
}

.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.about-strip p:last-child,
.contact-list p,
.copyright {
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  display: grid;
  gap: 10px;
}

.footer-showcase {
  grid-template-columns: 220px minmax(260px, 1fr) 360px;
  align-items: center;
  gap: 28px;
  background: #9a231f;
  border-color: rgba(255, 216, 168, 0.18);
}

.footer-showcase .copyright,
.footer-showcase .contact-list p,
.footer-showcase .footer-title,
.footer-showcase .footer-eyebrow {
  color: #fff7f0;
}

.footer-brand-panel {
  display: flex;
  justify-content: center;
}

.footer-brand-logo {
  display: block;
  width: 170px;
  height: 170px;
  object-fit: contain;
}

.footer-contact-panel {
  display: grid;
  gap: 18px;
}

.footer-title {
  margin: 6px 0 0;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
}

.contact-list-strong p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 500;
}

.footer-social-panel {
  display: flex;
  justify-content: center;
}

.facebook-page-frame {
  width: 340px;
  max-width: 100%;
  height: 220px;
  background: #fff;
}

.footer-copyright {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  text-align: center;
}

.product-page {
  margin-top: 22px;
}

.cart-page {
  margin-top: 22px;
}

.admin-page {
  margin-top: 22px;
}

.cart-shell {
  padding: 28px;
  border-radius: 30px;
  backdrop-filter: blur(14px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.cart-head > div {
  display: grid;
  gap: 4px;
}

.cart-head h1 {
  margin: 6px 0 0;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
}

.cart-head-action {
  min-width: 140px;
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
  align-self: center;
  background: #9a231f;
  color: #fff;
  box-shadow: 0 10px 24px rgba(154, 35, 31, 0.24);
}

.cart-head-action:hover {
  background: #9a231f;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr);
  gap: 22px;
  align-items: start;
}

.cart-list,
.cart-summary-card {
  padding: 22px;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.cart-list {
  display: grid;
  gap: 14px;
}

.cart-item-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(87, 60, 37, 0.12);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 14px;
}

.cart-item-copy h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.45;
}

.cart-item-copy p {
  margin: 4px 0 0;
  color: #4c3b2d;
  line-height: 1.6;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.cart-item-control-label {
  color: #4c3b2d;
  font-weight: 500;
}

.cart-item-price {
  display: grid;
  justify-items: end;
  gap: 8px;
  text-align: right;
}

.cart-item-price span {
  color: var(--muted);
}

.cart-item-price strong {
  color: var(--accent-deep);
  font-size: 1.05rem;
}

.cart-item-remove {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(176, 58, 46, 0.22);
  border-radius: 12px;
  background: rgba(176, 58, 46, 0.08);
  color: #b03a2e;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cart-summary-card {
  display: grid;
  gap: 16px;
}

.cart-summary-card h2 {
  margin: 0;
  font-size: 1.35rem;
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cart-summary-total {
  padding-top: 16px;
  border-top: 1px solid rgba(87, 60, 37, 0.12);
}

.cart-summary-total strong {
  color: var(--accent-deep);
  font-size: 1.2rem;
}

.cart-summary-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.cart-checkout-button {
  width: 100%;
}

.cart-summary-card .product-action,
.delivery-form .product-action {
  background: #a62e28;
  color: #fff;
}

.cart-summary-card .product-action:hover:not(:disabled):not(.is-disabled),
.delivery-form .product-action:hover:not(:disabled):not(.is-disabled) {
  background: #8f241f;
}

.cart-empty-state {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.cart-empty-state h2,
.cart-empty-state p {
  margin: 0;
}

.delivery-card {
  margin-top: 22px;
  padding: 28px;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.delivery-head h2 {
  margin: 6px 0 0;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

.delivery-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.checkout-message {
  margin: -2px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(154, 35, 31, 0.1);
  border: 1px solid rgba(154, 35, 31, 0.24);
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.checkout-message.is-success {
  background: rgba(54, 132, 76, 0.12);
  border-color: rgba(54, 132, 76, 0.28);
  color: #236236;
}

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

.delivery-field {
  display: grid;
  gap: 8px;
}

.delivery-field span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4c3b2d;
}

.delivery-field input,
.delivery-field select,
.delivery-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(87, 60, 37, 0.16);
  border-radius: 12px;
  background: rgba(226, 238, 251, 0.72);
  color: var(--ink);
  font: inherit;
}

.delivery-field textarea {
  min-height: 96px;
  resize: vertical;
}

.order-confirm-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.order-confirm-head h2 {
  margin: 6px 0 0;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.order-confirm-body {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.order-confirm-body h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.order-confirm-items {
  display: grid;
  gap: 10px;
  max-height: 36vh;
  overflow-y: auto;
  padding-right: 4px;
}

.order-confirm-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(154, 35, 31, 0.14);
  border-radius: 12px;
  background: rgba(250, 245, 231, 0.72);
}

.order-confirm-item img {
  width: 76px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.order-confirm-item h4,
.order-confirm-item p {
  margin: 0;
}

.order-confirm-item h4 {
  font-size: 0.94rem;
  line-height: 1.35;
}

.order-confirm-item p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.order-confirm-item strong {
  color: var(--accent-deep);
  white-space: nowrap;
}

.order-confirm-delivery {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(226, 238, 251, 0.6);
}

.order-confirm-delivery div,
.order-confirm-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.order-confirm-delivery span,
.order-confirm-total span {
  color: var(--muted);
}

.order-confirm-delivery strong {
  text-align: right;
}

.order-confirm-total {
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(87, 60, 37, 0.12);
}

.order-confirm-total strong {
  color: var(--accent-deep);
  font-size: 1.2rem;
}

.order-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.order-confirm-actions .product-action {
  background: #9a231f;
  color: #fff7f0;
}

.order-confirm-actions .product-action:hover:not(:disabled):not(.is-disabled) {
  background: #7f1d19;
}

.delivery-field-full {
  grid-column: 1 / -1;
}

.delivery-submit-button {
  min-width: 160px;
}

.auth-page {
  margin-top: 22px;
}

.auth-card {
  width: min(480px, 100%);
  margin: 0 auto;
  padding: 30px;
  border-radius: 30px;
  backdrop-filter: blur(14px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin: 8px 0 0;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}

.auth-copy {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field span {
  font-size: 0.92rem;
  font-weight: 600;
}

.auth-field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(87, 60, 37, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
}

.auth-submit {
  width: 100%;
}

.auth-status {
  min-height: 24px;
  margin: 0;
  font-size: 0.92rem;
}

.admin-logout-topbar {
  min-width: 116px;
  min-height: 44px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff7f0;
  border: 1px solid rgba(255, 236, 214, 0.24);
}

.admin-shell {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 22px;
}

.admin-sidebar,
.admin-panel {
  padding: 24px;
  border-radius: 28px;
  backdrop-filter: blur(14px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.admin-sidebar-head,
.admin-panel-head,
.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-sidebar-head h2,
.admin-card-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.admin-panel-head h2 {
  margin: 6px 0 0;
  font-size: 1.55rem;
}

.admin-status {
  margin: 0;
  font-size: 0.9rem;
}

.admin-product-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  max-height: 75vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.admin-order-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  max-height: 75vh;
  overflow-y: auto;
}

.admin-order-item {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(87, 60, 37, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.admin-order-item span,
.admin-order-item small {
  color: var(--muted);
}

.admin-order-item.is-active {
  border-color: #d58522;
  background: rgba(213, 133, 34, 0.08);
}

.admin-order-detail {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.admin-order-section {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(87, 60, 37, 0.1);
}

.admin-order-section h3,
.admin-empty-order h3 {
  margin: 0;
  font-size: 1.08rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.admin-order-header,
.admin-order-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-order-header h3,
.admin-empty-order p {
  margin: 6px 0 0;
}

.admin-order-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(140, 90, 43, 0.12);
  color: var(--accent-deep);
  font-size: 0.86rem;
  font-weight: 700;
}

.admin-order-meta span {
  color: var(--muted);
}

.admin-order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-order-grid div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(87, 60, 37, 0.1);
}

.admin-order-grid span {
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-order-grid strong {
  line-height: 1.6;
}

.admin-order-grid-wide {
  grid-column: 1 / -1;
}

.admin-order-products {
  display: grid;
  gap: 12px;
}

.admin-order-product {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(87, 60, 37, 0.1);
}

.admin-order-product img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 14px;
}

.admin-order-product-copy {
  display: grid;
  gap: 6px;
}

.admin-order-product-copy span,
.admin-empty-order p {
  color: var(--muted);
}

.admin-order-product-price {
  display: grid;
  gap: 6px;
  text-align: right;
}

.admin-order-product-price span {
  color: var(--muted);
}

.admin-empty-order {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(87, 60, 37, 0.1);
}

.admin-product-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-areas:
    "image copy"
    "image actions";
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(87, 60, 37, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  text-align: left;
}

.admin-product-item img {
  grid-area: image;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}

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

.admin-product-copy {
  grid-area: copy;
  min-width: 0;
}

.admin-product-item strong {
  font-size: 0.94rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-product-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  word-break: break-word;
}

.admin-product-item.is-active {
  border-color: #d58522;
  background: rgba(213, 133, 34, 0.08);
}

.admin-product-actions {
  grid-area: actions;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-delete-button {
  color: #b03a2e;
}

.admin-form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

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

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-checkbox-field {
  align-content: start;
}

.admin-checkbox-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(87, 60, 37, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  font: inherit;
}

.admin-checkbox-control input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.admin-field span {
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(87, 60, 37, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font: inherit;
}

.admin-field textarea {
  min-height: 110px;
  resize: vertical;
}

.admin-field-hint {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.admin-field input:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.admin-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(87, 60, 37, 0.1);
}

.admin-upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-preview-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  cursor: grab;
}

.admin-preview-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
}

.admin-preview-card.is-dragging {
  opacity: 0.45;
  cursor: grabbing;
}

.admin-preview-card.is-drag-over {
  transform: translateY(-3px);
}

.admin-image-preview img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(87, 60, 37, 0.12);
}

.admin-variant-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-variant-preview img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(87, 60, 37, 0.12);
}

.admin-preview-remove {
  border: 0;
  border-radius: 10px;
  min-width: 58px;
  height: 28px;
  padding: 0 10px;
  background: rgba(176, 58, 46, 0.92);
  color: #fff;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(71, 44, 18, 0.14);
}

.admin-preview-sort {
  border: 0;
  border-radius: 10px;
  width: 28px;
  height: 28px;
  padding: 0;
  background: rgba(140, 90, 43, 0.92);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(71, 44, 18, 0.14);
}

.admin-variants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

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

.admin-variants-panel.is-hidden {
  display: none;
}

.admin-card-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-variant-item {
  display: grid;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(87, 60, 37, 0.14);
  box-shadow: 0 10px 24px rgba(84, 24, 21, 0.06);
}

.admin-variant-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(87, 60, 37, 0.12);
}

.admin-variant-title-wrap {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.admin-variant-index {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(154, 35, 31, 0.1);
  color: #9a231f;
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-variant-title {
  font-size: 1rem;
  line-height: 1.45;
  color: #2f241c;
  word-break: break-word;
}

.admin-variant-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.admin-variant-info,
.admin-variant-media {
  display: grid;
  gap: 12px;
}

.admin-variant-media {
  padding: 14px;
  border-radius: 16px;
  background: rgba(248, 241, 236, 0.9);
  border: 1px dashed rgba(87, 60, 37, 0.16);
}

.admin-field-wide {
  grid-column: 1 / -1;
}

.admin-variant-actions,
.admin-form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.admin-small-button {
  min-width: auto;
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.86rem;
}

.admin-page .product-action,
.admin-logout-topbar {
  background: #9a231f;
  color: #fff;
  box-shadow: 0 10px 24px rgba(154, 35, 31, 0.18);
}

.admin-page .product-action:hover:not(:disabled):not(.is-disabled),
.admin-logout-topbar:hover:not(:disabled):not(.is-disabled) {
  background: #8b1f1b;
  color: #fff;
}

.product-detail,
.product-tabs {
  margin-top: 22px;
  padding: 28px;
  border-radius: 30px;
  backdrop-filter: blur(14px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 42px;
  align-items: start;
}

.product-gallery,
.product-summary {
  min-width: 0;
}

.product-gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.product-main-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.02;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-deep);
  font-size: 2rem;
  cursor: pointer;
}

.gallery-arrow-left {
  left: 12px;
}

.gallery-arrow-right {
  right: 12px;
}

.product-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
}

.product-thumb {
  flex: 0 0 92px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.product-thumb img {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: cover;
}

.product-thumb.is-active {
  border-color: rgba(140, 90, 43, 0.7);
}

.product-title {
  margin: 0;
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
  line-height: 1.5;
}

.product-price {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-top: 16px;
}

.current-price {
  color: #d58522;
  font-size: 1.25rem;
  font-weight: 700;
}

.old-price {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: line-through;
}

.product-description {
  margin: 22px 0 0;
  color: #3c3024;
  font-size: 0.93rem;
  line-height: 1.85;
}

.product-options {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.option-group {
  display: grid;
  gap: 12px;
}

.option-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.option-row-start {
  align-items: start;
}

.option-label {
  min-width: 110px;
  font-size: 0.93rem;
  font-weight: 500;
}

.option-label-block {
  min-width: 0;
  display: block;
}

.option-select,
.quantity-input {
  min-height: 42px;
  border: 1px solid rgba(87, 60, 37, 0.28);
  border-radius: 10px;
  background: #fff;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
}

.measure-note {
  margin: -8px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b03a2e;
  font-size: 0.84rem;
  text-align: left;
  cursor: pointer;
}

.product-size-block.is-hidden {
  display: none;
}

.variant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 10px;
  flex: 1;
  min-width: 0;
  max-height: 228px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
  align-content: start;
}

.variant-grid::-webkit-scrollbar {
  width: 8px;
}

.variant-grid::-webkit-scrollbar-track {
  background: rgba(87, 60, 37, 0.08);
  border-radius: 999px;
}

.variant-grid::-webkit-scrollbar-thumb {
  background: rgba(87, 60, 37, 0.32);
  border-radius: 999px;
}

.variant-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(87, 60, 37, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.variant-thumb {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(87, 60, 37, 0.12);
}

.variant-button.is-active {
  border-color: #d58522;
  background: rgba(213, 133, 34, 0.08);
  color: #c96f09;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(87, 60, 37, 0.28);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.quantity-button {
  width: 40px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
}

.quantity-input {
  width: 54px;
  text-align: center;
  border: 0;
  border-left: 1px solid rgba(87, 60, 37, 0.18);
  border-right: 1px solid rgba(87, 60, 37, 0.18);
  border-radius: 0;
  padding: 0;
}

.size-display {
  display: inline-flex;
  align-items: center;
  min-width: 82px;
  height: 42px;
  padding: 0 10px 0 0;
  border-left: 1px solid rgba(87, 60, 37, 0.18);
  border-right: 1px solid rgba(87, 60, 37, 0.18);
  background: #fff;
}

.size-input {
  width: 44px;
  border-left: 0;
  border-right: 0;
}

.size-display-unit {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.cart-toast {
  position: fixed;
  top: calc(var(--toast-top-offset, 22px) + env(safe-area-inset-top, 0px));
  right: 22px;
  width: min(360px, calc(100vw - 44px));
  margin: 0;
  padding: 15px 18px;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 22px 54px rgba(47, 36, 28, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.78) inset;
  z-index: 2147483647;
  animation: cart-toast-slide-in 220ms ease both;
}

.cart-toast.is-success {
  background: #246b3a;
  border: 2px solid #f3bd5a;
  color: #fff;
}

.cart-toast.is-error {
  background: #9a231f;
  border: 2px solid #f3bd5a;
  color: #fff;
}

@keyframes cart-toast-slide-in {
  from {
    opacity: 0;
    transform: translateX(calc(100% + 24px));
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 720px) {
  .cart-toast {
    top: var(--toast-top-offset, 128px);
    right: 12px;
    width: min(330px, calc(100vw - 24px));
  }
}

.product-summary .product-actions .product-action {
  background: #a62e28;
  color: #fff;
}

.product-summary .product-actions .product-action:hover:not(:disabled):not(.is-disabled) {
  background: #8f241f;
}

.product-action {
  min-width: 150px;
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 160ms ease, filter 160ms ease, transform 160ms ease;
}

.primary-action,
.secondary-action {
  background: #cf9b9d;
  color: #fff;
}

.topbar .admin-logout-topbar,
.topbar .admin-logout-topbar:hover,
.topbar .admin-logout-topbar:focus {
  background: #9a231f;
  color: #fff;
}

.cart-head .cart-head-action,
.cart-head .cart-head-action:hover,
.cart-head .cart-head-action:focus {
  background: #9a231f;
  color: #fff;
}

.product-action:disabled,
.product-action.is-disabled {
  opacity: 0.45;
  filter: grayscale(0.12);
  cursor: not-allowed;
  pointer-events: none;
}

.tab-header {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.tab-button {
  padding: 0 0 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.tab-button.is-active {
  border-bottom-color: #8ab6d6;
}

.tab-panel {
  display: none;
  padding-top: 28px;
  font-size: 0.92rem;
  line-height: 1.85;
}

.tab-panel.is-active {
  display: block;
}

.product-detail-list {
  margin: 18px 0 0;
  padding-left: 0;
  color: #3c3024;
  line-height: 1.9;
  white-space: pre-line;
}

.modal-open {
  overflow: hidden;
}

.modal-open .mobile-nav-toggle,
.modal-open .mobile-nav-backdrop,
.modal-open .announcement-bar {
  visibility: hidden;
  pointer-events: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(36, 24, 14, 0.58);
  z-index: 220;
  animation: modal-fade-in 180ms ease;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-dialog {
  position: relative;
  width: min(560px, calc(100vw - 40px));
  max-height: calc(100vh - 80px);
  padding: 16px;
  border-radius: 20px;
  background: #fffdf9;
  box-shadow: 0 20px 60px rgba(30, 18, 8, 0.28);
  overflow: hidden;
  animation: modal-pop-in 220ms ease;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(140, 90, 43, 0.1);
  color: var(--accent-deep);
  font-size: 1.35rem;
  cursor: pointer;
  z-index: 3;
}

.modal-title {
  margin: 0 0 10px;
  padding-right: 36px;
  font-size: 1.05rem;
}

.modal-image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 170px);
  object-fit: contain;
  margin: 0 auto;
  border-radius: 14px;
}

.product-lightbox {
  padding: 18px;
}

.lightbox-dialog {
  position: relative;
  width: min(1160px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(30, 18, 8, 0.28);
  overflow: hidden;
  animation: modal-pop-in 220ms ease;
}

.lightbox-main {
  position: relative;
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f1e8;
}

.lightbox-main-image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  margin: 0 auto;
  cursor: zoom-in;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 82px;
  border: 0;
  background: rgba(98, 22, 11, 0.92);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-arrow span {
  font-size: 3rem;
  line-height: 1;
}

.lightbox-arrow-left {
  left: 0;
}

.lightbox-arrow-right {
  right: 0;
}

.lightbox-sidebar {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  padding-top: 28px;
}

.lightbox-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.4;
  font-family: "Montserrat", sans-serif;
}

.lightbox-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  max-height: calc(100vh - 150px);
  overflow: auto;
  padding-right: 4px;
  overscroll-behavior: contain;
}

.lightbox-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}

.lightbox-thumb::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.lightbox-thumb img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-thumb.is-active {
  border-color: #b33010;
}

.full-image-viewer {
  padding: 18px;
  z-index: 220;
  animation: full-viewer-fade-in 180ms ease both;
}

.full-image {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 36px);
  max-height: calc(100vh - 36px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(30, 18, 8, 0.34);
  animation: full-image-enter 220ms ease both;
  will-change: transform, opacity;
}

.full-image-viewer.is-changing-next .full-image {
  animation: full-image-next 240ms ease both;
}

.full-image-viewer.is-changing-prev .full-image {
  animation: full-image-prev 240ms ease both;
}

.full-image-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 78px;
  border: 0;
  background: rgba(98, 22, 11, 0.88);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 221;
  transition: transform 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

.full-image-arrow:hover {
  background: rgba(122, 28, 15, 0.96);
  transform: translateY(-50%) scale(1.04);
}

.full-image-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.full-image-arrow span {
  font-size: 3rem;
  line-height: 1;
}

.full-image-arrow-left {
  left: 10px;
}

.full-image-arrow-right {
  right: 10px;
}

.full-image-counter {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  min-width: 58px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(47, 36, 28, 0.78);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  z-index: 221;
}

.full-image-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 221;
}

@keyframes full-viewer-fade-in {
  from {
    opacity: 0;
  }
}

@keyframes full-image-enter {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
}

@keyframes full-image-next {
  from {
    opacity: 0.2;
    transform: translateX(26px) scale(0.98);
  }
}

@keyframes full-image-prev {
  from {
    opacity: 0.2;
    transform: translateX(-26px) scale(0.98);
  }
}

@keyframes modal-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modal-pop-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.button:hover,
.more-link:hover,
.cart-button:hover {
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .about-strip {
    grid-template-columns: 1fr;
  }

  .footer-showcase {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-contact-panel {
    justify-items: center;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

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

  .product-detail {
    grid-template-columns: 1fr;
  }

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

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

  .admin-order-grid-wide {
    grid-column: auto;
  }

  .hero-banner {
    min-height: 0;
  }

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

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
    margin: 10px auto 24px;
  }

  .topbar,
  .hero,
  .section,
  .about-strip,
  .footer {
    padding: 20px;
    border-radius: 22px;
  }

  .topbar {
    position: sticky;
    top: 8px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    overflow: visible;
    z-index: 120;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .brand-logo {
    width: 72px;
    height: 72px;
  }

  .brand-block {
    min-width: 0;
    flex: 1;
    justify-content: center;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    order: -1;
    position: relative;
    z-index: 110;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(280px, calc(100vw - 56px));
    padding: 110px 22px 24px;
    display: grid;
    align-content: start;
    justify-content: stretch;
    gap: 14px;
    background: #9a231f;
    box-shadow: 0 18px 50px rgba(38, 14, 11, 0.28);
    transform: translateX(-105%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease;
    z-index: 100;
  }

  .main-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.98rem;
  }

  .mobile-nav-open .main-nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-open .mobile-nav-backdrop {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

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

  .product-card {
    padding: 10px;
    gap: 9px;
  }

  .product-link {
    gap: 9px;
  }

  .product-card .thumb {
    border-radius: 14px;
  }

  .product-card h3 {
    font-size: 0.88rem;
    line-height: 1.34;
    min-height: calc(0.88rem * 1.34 * 2);
    max-height: calc(0.88rem * 1.34 * 2);
  }

  .announcement-bar {
    margin-top: 14px;
    border-radius: 16px;
    top: auto;
    z-index: auto;
  }

  .announcement-bar.announcement-bar-static {
    position: relative;
    top: auto;
    z-index: auto;
  }

  .announcement-viewport {
    min-height: 46px;
  }

  .announcement-track {
    padding: 0 16px;
    font-size: 0.78rem;
  }

  .product-detail,
  .product-tabs,
  .cart-shell,
  .admin-sidebar,
  .admin-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .cart-head {
    align-items: start;
    flex-direction: column;
  }

  .cart-head-action {
    align-self: flex-start;
  }

  .delivery-card {
    padding: 20px;
    border-radius: 22px;
  }

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

  .cart-item-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .cart-item-image {
    width: 72px;
    height: 72px;
    border-radius: 12px;
  }

  .cart-item-price {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .order-confirm-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 24px);
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .order-confirm-modal {
    align-items: flex-start;
    padding: 12px 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .order-confirm-body {
    max-height: none;
  }

  .order-confirm-items {
    max-height: 32vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .order-confirm-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .order-confirm-item img {
    width: 64px;
  }

  .order-confirm-item strong {
    grid-column: 2;
  }

  .order-confirm-delivery div,
  .order-confirm-total {
    display: grid;
    gap: 4px;
  }

  .order-confirm-delivery strong {
    text-align: left;
  }

  .order-confirm-actions {
    justify-content: stretch;
  }

  .order-confirm-actions .product-action {
    flex: 1 1 100%;
  }

  .product-gallery-main {
    border-radius: 18px;
  }

  .product-gallery,
  .product-summary {
    width: 100%;
  }

  .product-main-image {
    aspect-ratio: auto;
    max-height: 72vh;
    object-fit: contain;
    background: #fff8f0;
  }

  .product-thumbnails {
    gap: 10px;
  }

  .product-thumb {
    flex: 0 0 78px;
  }

  .product-thumb img {
    height: 78px;
  }

  .admin-order-product {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .admin-order-product-price {
    text-align: left;
  }

  .product-card .thumb {
    min-height: 140px;
  }

  .banner-image,
  .hero-banner {
    border-radius: 18px;
  }

  .hero-banner {
    border-radius: 0;
  }

  .footer-brand-logo {
    width: 132px;
    height: 132px;
  }

  .facebook-page-frame {
    width: min(340px, 100%);
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.6rem;
  }

  .tab-button {
    font-size: 0.92rem;
  }

  .variant-grid {
    grid-template-columns: minmax(0, 1fr);
    max-height: 260px;
    padding-right: 6px;
  }

  .lightbox-dialog {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 20px);
    padding-top: 52px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .lightbox-sidebar {
    padding-top: 0;
    max-height: 42vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .product-lightbox {
    padding: 10px;
  }

  .product-lightbox .modal-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(98, 22, 11, 0.92);
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 10px 24px rgba(30, 18, 8, 0.22);
  }

  .lightbox-arrow {
    width: 42px;
    height: 64px;
  }

  .lightbox-arrow span {
    font-size: 2.4rem;
  }

  .lightbox-main-image {
    max-height: 46vh;
  }

  .lightbox-thumbnails {
    max-height: 28vh;
    padding-bottom: 8px;
  }

  .full-image-viewer {
    padding: 10px;
  }

  .full-image {
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .full-image-arrow {
    width: 42px;
    height: 64px;
  }

  .full-image-arrow span {
    font-size: 2.4rem;
  }

  .full-image-counter {
    bottom: 12px;
  }

  .full-image-close {
    top: 12px;
    right: 12px;
  }
}
