:root {
  color-scheme: light;
  --bg: #fff9f3;
  --surface: #fff;
  --ink: #211915;
  --muted: #7b6a60;
  --line: #eadfd7;
  --cocoa: #005d1e;
  --cocoa-2: #005d1e;
  --rose: #e10078;
  --gold: #c9953c;
  --mint: #2e9b6b;
  --shadow: 0 14px 34px rgba(62, 35, 25, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(201, 149, 60, 0.16), transparent 34rem),
    linear-gradient(145deg, #f7eee5, #fffaf4 48%, #efe2d8);
  color: var(--ink);
}

button,
textarea,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  overflow: visible;
  box-shadow: 0 0 0 1px rgba(75, 38, 28, 0.08), 0 22px 80px rgba(60, 35, 25, 0.18);
}

.screen {
  display: none;
  min-height: 100vh;
  padding-bottom: 104px;
}

.screen.active {
  display: block;
}

#welcomeScreen {
  padding-bottom: 0;
}

.welcome-hero {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 18px 24px;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 18%, rgba(225, 0, 120, 0.08), transparent 16rem),
    linear-gradient(180deg, #fff, #fffaf6);
}

.welcome-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 18, 12, 0.24), rgba(28, 15, 12, 0.34) 34%, rgba(31, 15, 10, 0.86));
  z-index: -1;
}

.welcome-top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  object-fit: contain;
  padding: 3px;
  box-shadow: 0 12px 28px rgba(20, 12, 8, 0.2);
}

.welcome-copy {
  width: 100%;
  color: #fff;
  display: grid;
  gap: 12px;
  margin-top: 64px;
}

.table-pill {
  width: max-content;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 93, 30, 0.08);
  color: var(--cocoa);
  border: 1px solid rgba(0, 93, 30, 0.16);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.entry-visual {
  width: min(100%, 360px);
  max-height: calc(100dvh - 126px);
  margin: 58px auto 38px;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
}

.entry-visual img {
  width: 100%;
  max-height: calc(100dvh - 126px);
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0, 93, 30, 0.14));
}

.welcome-copy h1 {
  margin: 0;
  font-size: 42px;
  line-height: 0.98;
  letter-spacing: 0;
}

.welcome-copy h1 span {
  display: block;
  font-size: 30px;
  font-weight: 650;
}

.welcome-copy p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.45;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 66px;
  padding: 10px 16px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--cocoa), var(--cocoa-2));
  color: white;
}

.topbar div {
  text-align: center;
  display: grid;
  gap: 2px;
}

.topbar strong {
  font-size: 17px;
}

.topbar span,
.plain-header span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--cocoa);
  display: grid;
  place-items: center;
  position: relative;
}

.icon-button.ghost {
  background: rgba(255, 255, 255, 0.92);
  color: var(--cocoa);
  border: 1px solid rgba(0, 93, 30, 0.12);
}

.icon-button.slim {
  background: transparent;
  color: var(--ink);
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-dot {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--rose);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.category-area,
.gallery-area,
.product-list,
.cart-list,
.note-box {
  padding-inline: 16px;
}

.category-area {
  position: sticky;
  top: 64px;
  z-index: 9;
  padding-top: 1px;
  padding-bottom: 10px;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(234, 223, 215, 0.72);
}

.section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 12px;
}

.section-line h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--cocoa-2);
  font-weight: 900;
  padding: 6px 0;
  text-decoration: none;
}

.category-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  cursor: grab;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.category-rail::-webkit-scrollbar {
  display: none;
}

.category-rail.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.category-chip {
  flex: 0 0 auto;
  min-width: 148px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  color: var(--ink);
  font-weight: 850;
}

.category-chip.active {
  background: linear-gradient(135deg, var(--cocoa), var(--cocoa-2));
  color: white;
  border-color: transparent;
}

.intro-chip {
  min-width: 120px;
  justify-content: center;
  padding: 6px 16px;
  color: var(--rose);
}

.intro-chip span {
  font-weight: 950;
}

.category-chip img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.feature-banner {
  margin: 14px 16px 22px;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.feature-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.feature-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(35, 18, 12, 0.78), transparent 72%);
}

.feature-banner div {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 1;
  color: white;
  display: grid;
  gap: 4px;
}

.feature-banner span {
  font-size: 12px;
  color: #f8d89a;
  font-weight: 900;
}

.feature-banner strong {
  max-width: 220px;
  font-size: 22px;
  line-height: 1.08;
}

.intro-card {
  margin: 0 16px 22px;
  padding: 18px;
  border: 1px solid rgba(0, 93, 30, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(0, 93, 30, 0.06), rgba(225, 0, 120, 0.06)),
    var(--surface);
  box-shadow: 0 10px 26px rgba(54, 31, 22, 0.08);
}

.intro-card > span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.intro-card h2 {
  margin: 0 0 10px;
  color: var(--cocoa);
  font-size: 20px;
  line-height: 1.16;
}

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

.intro-card > p:last-child {
  margin-top: 12px;
  color: var(--ink);
  font-weight: 800;
}

.intro-points {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.intro-points p {
  padding-left: 12px;
  border-left: 3px solid var(--rose);
}

.intro-points strong {
  display: block;
  color: var(--cocoa);
  font-size: 13.5px;
}

.gallery-area {
  margin: 12px 0 16px;
}

.gallery-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
  padding: 0;
}

.gallery-card {
  width: 100%;
  min-width: 0;
  height: 142px;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  background: var(--surface);
  color: white;
  position: relative;
  box-shadow: 0 8px 22px rgba(54, 31, 22, 0.1);
}

.gallery-card:nth-child(n + 5) {
  display: none;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(32, 17, 12, 0) 26%,
    rgba(32, 17, 12, 0.18) 58%,
    rgba(32, 17, 12, 0.62) 100%
  );
}

.gallery-card span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  text-align: left;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

.product-list,
.cart-list {
  display: grid;
  gap: 10px;
}

.product-list {
  gap: 22px;
}

.product-heading {
  display: none;
}

.product-section {
  scroll-margin-top: 152px;
}

.product-section-heading {
  margin: 0 0 10px;
}

.product-section-heading span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.product-card,
.cart-item {
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  display: grid;
  grid-template-columns: 82px 1fr 42px;
  align-items: center;
  gap: 14px;
  padding: 10px;
  box-shadow: 0 8px 22px rgba(54, 31, 22, 0.08);
}

.product-card img,
.cart-item img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 12px;
}

.product-info {
  min-width: 0;
}

.product-info.text-button {
  width: 100%;
  min-height: 74px;
  padding: 0;
  text-align: left;
  color: var(--ink);
}

.product-info h3 {
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.2;
}

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

.product-info strong {
  font-size: 17px;
}

.add-round {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--rose);
  color: white;
  display: grid;
  place-items: center;
  font-size: 25px;
  line-height: 1;
  font-weight: 500;
}

.floating-service {
  position: fixed;
  left: calc((100vw - min(100vw, 430px)) / 2 + 18px);
  bottom: 108px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--rose), #b70062);
  color: white;
  box-shadow: 0 14px 26px rgba(225, 0, 120, 0.28);
}

.bottom-cart,
.checkout-button,
.primary-button,
.add-button {
  min-height: 56px;
  border: 0;
  border-radius: 18px;
  background: var(--cocoa);
  color: white;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(0, 93, 30, 0.24), inset 0 -3px 0 rgba(225, 0, 120, 0.36);
}

.primary-button {
  width: 100%;
}

.welcome-copy .primary-button {
  margin-top: 20px;
  text-transform: uppercase;
}

.powered-by {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  margin: 0;
  text-align: center;
  color: rgba(0, 93, 30, 0.56);
  font-size: 12px;
  font-weight: 600;
}

.powered-by strong {
  color: var(--cocoa);
  font-weight: 850;
}

.bottom-cart {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 398px);
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  text-align: left;
}

.bottom-cart.visible {
  display: flex;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  transform: translateX(-50%) translateY(10px);
  width: min(calc(100% - 32px), 398px);
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(0, 93, 30, 0.96);
  color: white;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 18px 34px rgba(0, 93, 30, 0.26);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 30;
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.bottom-cart span {
  display: grid;
  gap: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.74);
}

.bottom-cart strong {
  color: white;
  font-size: 15px;
}

.plain-header {
  height: 76px;
  padding: 18px 16px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plain-header h1 {
  margin: 0;
  font-size: 26px;
}

.plain-header span {
  color: var(--muted);
}

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

.cart-controls,
.stepper {
  height: 34px;
  border-radius: 999px;
  background: #f6e8df;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
}

.cart-controls button,
.stepper button {
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--rose);
  color: white;
  font-size: 20px;
  display: grid;
  place-items: center;
}

.cart-controls span,
.stepper span {
  min-width: 30px;
  text-align: center;
  font-weight: 900;
}

.note-box {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.note-box span {
  font-weight: 850;
  color: var(--muted);
}

.note-box textarea {
  width: 100%;
  resize: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 14px;
  color: var(--ink);
  outline: 0;
}

.note-box textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 149, 60, 0.18);
}

.checkout-button {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 398px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.product-dialog {
  width: min(100%, 430px);
  max-width: 430px;
  height: 100vh;
  max-height: 100vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.product-dialog::backdrop {
  background: rgba(22, 12, 8, 0.42);
}

.gallery-dialog {
  width: min(calc(100% - 28px), 402px);
  max-width: 402px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
}

.gallery-dialog::backdrop {
  background: rgba(22, 12, 8, 0.72);
}

.gallery-list-dialog {
  width: min(100%, 430px);
  max-width: 430px;
  height: 100vh;
  max-height: 100vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: var(--bg);
}

.gallery-list-dialog::backdrop {
  background: rgba(22, 12, 8, 0.48);
}

.intro-dialog {
  width: min(calc(100% - 28px), 560px);
  max-width: 560px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: visible;
  background: transparent;
}

.intro-dialog::backdrop {
  background: rgba(22, 12, 8, 0.58);
}

.intro-modal {
  position: relative;
  margin: 0;
}

.intro-modal .intro-card {
  margin: 0;
  padding: 24px 20px 20px;
}

.gallery-modal {
  margin: 0;
  position: relative;
  background: var(--surface);
}

.gallery-modal img {
  width: 100%;
  height: min(66vh, 520px);
  display: block;
  object-fit: cover;
}

.gallery-modal strong {
  display: block;
  padding: 15px 16px 17px;
  color: var(--ink);
  font-size: 18px;
}

.gallery-list-modal {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
}

.gallery-list-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 12px;
  background: rgba(255, 249, 243, 0.94);
  backdrop-filter: blur(14px);
}

.gallery-back {
  visibility: hidden;
}

.gallery-back.visible {
  visibility: visible;
}

.gallery-list-header h2 {
  margin: 0 0 3px;
  font-size: 25px;
}

.gallery-list-header span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 8px 16px 22px;
}

.gallery-grid-card {
  height: 170px;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  position: relative;
  background: var(--surface);
  color: white;
  box-shadow: 0 8px 22px rgba(54, 31, 22, 0.1);
}

.gallery-grid-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-grid-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(32, 17, 12, 0) 26%,
    rgba(32, 17, 12, 0.18) 58%,
    rgba(32, 17, 12, 0.64) 100%
  );
}

.gallery-grid-card span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  text-align: left;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

.gallery-grid-card[data-gallery-photo] {
  height: 158px;
}

.product-modal {
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  padding-bottom: 104px;
}

.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.product-modal > img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.modal-body {
  padding: 18px 16px;
}

.modal-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.modal-title h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
}

.modal-title strong {
  font-size: 24px;
}

.note-box.compact {
  padding: 0;
}

.modal-actions {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 398px);
  min-height: 62px;
  border-radius: 20px;
  background: var(--cocoa);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  box-shadow: 0 16px 30px rgba(0, 93, 30, 0.24), inset 0 -3px 0 rgba(225, 0, 120, 0.36);
}

.modal-actions .stepper {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.modal-actions .stepper button {
  background: rgba(255, 255, 255, 0.92);
  color: var(--cocoa);
}

.add-button {
  box-shadow: none;
  border-radius: 14px;
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  background: transparent;
}

.success-card {
  min-height: 100vh;
  padding: 90px 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.success-icon {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e6f7ef;
  color: var(--mint);
  margin-bottom: 24px;
}

.success-icon svg {
  width: 42px;
  height: 42px;
  stroke-width: 2.8;
}

.success-card h1 {
  margin: 0 0 10px;
  font-size: 28px;
}

.success-card p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 32px;
}

@media (min-width: 760px) {
  body {
    padding: 0;
  }

  .app-shell {
    width: 100%;
    min-height: 100vh;
    box-shadow: none;
    overflow: visible;
  }

  .welcome-hero,
  .screen,
  .success-card {
    min-height: 100vh;
  }

  .welcome-hero {
    padding: 40px clamp(28px, 7vw, 96px);
    justify-content: center;
  }

  .welcome-top {
    top: 28px;
    left: clamp(28px, 7vw, 96px);
    right: clamp(28px, 7vw, 96px);
  }

  .welcome-copy {
    max-width: 620px;
    gap: 16px;
  }

  .welcome-copy h1 {
    font-size: 64px;
  }

  .welcome-copy h1 span {
    font-size: 46px;
  }

  .welcome-copy p:last-child {
    max-width: 560px;
    font-size: 19px;
  }

  .welcome-copy .primary-button {
    max-width: 360px;
  }

  .powered-by {
    bottom: 28px;
  }

  .topbar,
  .category-area,
  .gallery-area,
  .product-heading,
  .product-list,
  .cart-list,
  .note-box {
    width: min(100% - 56px, 1120px);
    margin-inline: auto;
    padding-inline: 0;
  }

  .topbar {
    top: 0;
    border-radius: 0 0 18px 18px;
    grid-template-columns: 48px 1fr 48px;
  }

  .category-area {
    top: 66px;
    padding-top: 8px;
    padding-bottom: 12px;
  }

  .category-rail {
    scrollbar-width: thin;
  }

  .category-rail::-webkit-scrollbar {
    display: block;
    height: 8px;
  }

  .category-rail::-webkit-scrollbar-thumb {
    background: rgba(34, 86, 59, 0.34);
    border-radius: 999px;
  }

  .feature-banner {
    width: min(100% - 56px, 1120px);
    height: 250px;
    margin: 18px auto 28px;
    border-radius: 16px;
  }

  .feature-banner strong {
    max-width: 420px;
    font-size: 34px;
  }

  .intro-card {
    width: min(100% - 56px, 1120px);
    margin: 0 auto 30px;
    padding: 24px;
  }

  .intro-card h2 {
    font-size: 26px;
  }

  .intro-card p {
    font-size: 15px;
  }

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

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

  .product-list {
    gap: 28px;
  }

  .product-section {
    scroll-margin-top: 166px;
  }

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

  .floating-service {
    left: calc((100vw - min(100vw - 56px, 1120px)) / 2);
    bottom: 30px;
  }

  .bottom-cart {
    width: min(calc(100% - 56px), 560px);
  }

  .product-dialog {
    width: min(100% - 48px, 430px);
    height: min(844px, calc(100vh - 48px));
    max-height: min(844px, calc(100vh - 48px));
    border-radius: 28px;
  }
}

@media (max-width: 430px) {
  .topbar {
    height: 64px;
    padding: 10px 16px;
  }

  .category-area,
  .gallery-area,
  .product-list,
  .cart-list,
  .note-box {
    padding-inline: 16px;
  }

  .section-line {
    margin: 17px 0 11px;
  }

  .section-line h2 {
    font-size: 18px;
  }

  .category-chip {
    min-width: 146px;
    height: 48px;
  }

  .gallery-card {
    height: 136px;
  }

  .feature-banner {
    height: 146px;
    margin: 12px 16px 20px;
  }

  .feature-banner strong {
    font-size: 21px;
  }

  .product-card,
  .cart-item {
    grid-template-columns: 78px minmax(0, 1fr) 40px;
    gap: 12px;
    padding: 10px;
  }

  .product-card img,
  .cart-item img {
    width: 72px;
    height: 72px;
  }

  .product-info h3 {
    font-size: 15px;
  }

  .product-info p {
    font-size: 12.5px;
  }

  .product-info strong {
    font-size: 16px;
  }

  .floating-service {
    left: calc((100vw - min(100vw, 430px)) / 2 + 18px);
    bottom: calc(env(safe-area-inset-bottom) + 76px);
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 360px) {
  .topbar {
    height: 60px;
    padding-inline: 14px;
  }

  .section-line {
    margin: 16px 0 10px;
  }

  .category-chip {
    min-width: 138px;
    height: 46px;
  }

  .gallery-card {
    height: 118px;
  }

  .feature-banner {
    height: 132px;
    margin-top: 10px;
  }

  .product-card,
  .cart-item {
    grid-template-columns: 68px 1fr 36px;
    gap: 10px;
  }

  .product-card img,
  .cart-item img {
    width: 64px;
    height: 64px;
  }

  .feature-banner strong {
    font-size: 19px;
  }
}

/* Giriş görseli üzerindeki görünmez tıklama alanları */
.entry-visual {
  position: relative;
}

.entry-hotspot {
  position: absolute;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.hotspot-gifts {
  left: 3%;
  top: 57%;
  width: 45%;
  height: 13%;
}

.hotspot-specials {
  right: 3%;
  top: 57%;
  width: 45%;
  height: 13%;
}

.hotspot-menu {
  left: 17%;
  top: 73%;
  width: 66%;
  height: 11%;
}
#welcomeScreen .welcome-top {
  display: none;
}


@media (max-width: 768px) {
  .welcome-hero {
    min-height: 100dvh !important;
    padding: 0 !important;
    justify-content: flex-start !important;
  }

  .entry-visual {
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .entry-visual img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
  }

  .powered-by {
    display: none !important;
  }
}
.hotspot-gallery {
  left: 10%;
  top: 22%;
  width: 80%;
  height: 28%;
}


.gallery-list-header {
  padding-top: 42px !important;
}








/* Revize v2 */
.product-image-button {
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 12px;
  padding: 0;
  background: transparent;
  overflow: hidden;
  display: block;
}
.product-image-button img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 12px;
}
.inline-intro-card {
  margin: 0;
}
.cart-controls,
.stepper {
  min-width: 104px;
}
.cart-controls button,
.stepper button {
  font-weight: 900;
  font-size: 22px;
}
#menuTable {
  display: none !important;
}

/* Tanıtım sekmesine basıldığında başlığın üstte görünmesi için son bölümde scroll payı */
.intro-section {
  min-height: calc(100vh - 150px);
}

@media (max-width: 760px) {
  .intro-section {
    min-height: calc(100dvh - 150px);
  }
}


/* Revize v3: sepet adet kontrolünü biraz sola al */
.cart-controls {
  justify-self: start;
  margin-left: -10px;
}

@media (max-width: 430px) {
  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr) 112px !important;
    gap: 9px !important;
  }
  .cart-controls {
    margin-left: -14px;
  }
}


/* Banner büyütme modalı */
.feature-banner {
  cursor: zoom-in;
}

.feature-banner:focus-visible {
  outline: 3px solid rgba(225, 0, 120, 0.5);
  outline-offset: 3px;
}

.feature-image-dialog {
  border: 0;
  padding: 0;
  background: transparent;
}

.feature-image-dialog::backdrop {
  background: rgba(18, 12, 10, 0.72);
  backdrop-filter: blur(4px);
}

.feature-image-modal {
  width: min(92vw, 760px);
  max-height: 88vh;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: #fff9f3;
  overflow: hidden;
  position: relative;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.feature-image-modal img {
  width: 100%;
  max-height: 76vh;
  display: block;
  object-fit: contain;
  background: #111;
}

.feature-image-modal strong {
  display: block;
  padding: 13px 18px 15px;
  color: var(--green);
  font-size: 18px;
  line-height: 1.2;
}

.feature-image-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

@media (max-width: 620px) {
  .feature-image-modal {
    width: calc(100vw - 22px);
    border-radius: 18px;
  }

  .feature-image-modal img {
    max-height: 70vh;
  }
}

.floating-service {
    background: #5E8B4A !important;
}

/* Pasif / taze biten ürün görünümü */
.product-card.product-unavailable {
  opacity: 0.58;
  filter: grayscale(0.7);
}

.product-card.product-unavailable .add-round {
  background: #b9b0aa;
}

.sold-out-badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(225, 0, 120, 0.1);
  color: var(--rose);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 950;
}
