﻿@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap");

:root {
  --ui-font: "Montserrat", "Manrope", "Segoe UI", sans-serif;
  --ink: #0b0d10;
  --gold: #e3aa3e;
  --leaf: #11a44b;
  --paper: #f5f4f1;
  --line: #e4dfd4;
  --white: #ffffff;
  --muted: #5b626f;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(244, 240, 230, 0.60), rgba(244, 240, 230, 0.60)),
    radial-gradient(1200px 520px at 50% -8%, rgba(227, 170, 62, 0.08), transparent 68%),
    radial-gradient(880px 420px at 88% 102%, rgba(17, 164, 75, 0.045), transparent 74%),
    url("assets/patterns/chinese-ornament.svg");
  background-size: 100% 100%, auto, auto, 420px 420px;
  background-position: center, center top, right bottom, 0 0;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  line-height: 1.5;
}

.container {
  width: min(1080px, 92%);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 244, 241, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.nav {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 4px 0;
}

.logo {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
  width: 178px;
  height: 44px;
  overflow: hidden;
}

.logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}

.menu {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
  align-items: center;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #22252d;
}

.menu-item {
  position: relative;
}

.menu > a,
.menu .menu-link {
  text-decoration: none;
  color: #22252d;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  padding: 7px 10px;
  border-radius: 12px;
  font-family: var(--ui-font);
  letter-spacing: 0.01em;
  transition: border-color 0.18s ease, background-color 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
}

.menu .menu-link {
  cursor: pointer;
}

.menu-item-catalog .menu-link::after {
  content: "\25BE";
  font-size: 0.68rem;
  opacity: 0.72;
  transform: translateY(1px);
}

.menu > a:hover,
.menu > a.active,
.menu .menu-link:hover,
.menu .menu-link.active,
.menu-item:hover > .menu-link,
.menu-item:focus-within > .menu-link,
.menu-item.open > .menu-link {
  border-color: var(--line);
  background: var(--white);
}

.submenu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  z-index: 24;
  min-width: 220px;
  display: grid;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 26px rgba(11, 13, 16, 0.14);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.submenu a {
  text-decoration: none;
  color: #22252d;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 10px;
  border-radius: 10px;
  font-family: var(--ui-font);
  border: 1px solid transparent;
}

.submenu a:hover,
.submenu a.active {
  background: #f3f1ea;
  border-color: var(--line);
}

.menu-item:hover > .submenu,
.menu-item:focus-within > .submenu,
.menu-item.open > .submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.submenu-item {
  position: relative;
}

.submenu-item-parent > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.submenu-item-parent > a::after {
  content: "\203A";
  opacity: 0.72;
  font-size: 0.96rem;
}

.submenu-level-2 {
  top: 0;
  left: calc(100% + 6px);
  min-width: 240px;
  transform: translateX(-6px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.submenu-item-parent:hover > .submenu-level-2,
.submenu-item-parent:focus-within > .submenu-level-2 {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.top-search {
  position: relative;
  flex: 1 1 280px;
  max-width: 360px;
}

.top-search-input {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  padding: 0 46px 0 12px;
  font-family: var(--ui-font);
  font-weight: 500;
  border-radius: 999px;
}

.top-search-input:focus-visible {
  outline: 2px solid rgba(11, 13, 16, 0.26);
  outline-offset: 1px;
}

.top-search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  height: 30px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  width: 30px;
  padding: 0;
  cursor: pointer;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--ui-font);
}

.top-search-btn:hover {
  background: #f4f3ef;
}

.top-search-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}


.top-search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  max-height: 300px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 26px rgba(11, 13, 16, 0.14);
}

.top-search-suggest[hidden] {
  display: none;
}

.top-search-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  display: grid;
  gap: 1px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--ui-font);
}

.top-search-option-name {
  font-size: 0.88rem;
  font-weight: 600;
}

.top-search-option-meta {
  font-size: 0.72rem;
  color: #66707d;
}

.top-search-option:hover,
.top-search-option.active {
  background: #f3f1ea;
}



.section {
  padding: 48px 0;
}

.section-teaware {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --tea-shift-x: 0px;
  --tea-shift-y: 0px;
  --tea-glow: 0;
}

.section-teaware > .container {
  position: relative;
  z-index: 2;
}

.section-teaware::before,
.section-teaware::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transform: translate3d(var(--tea-shift-x), var(--tea-shift-y), 0);
  transition: transform 0.28s ease-out, opacity 0.3s ease-out;
}

.section-teaware::before {
  background-image:
    radial-gradient(140% 105% at 50% 48%, rgba(227, 170, 62, 0.12) 0%, rgba(227, 170, 62, 0) 72%),
    url("assets/patterns/chinese-ornament.svg");
  background-size: 100% 100%, 340px 340px;
  background-position: center, 0 0;
  background-repeat: no-repeat, repeat;
  opacity: calc(0.17 + var(--tea-glow) * 0.35);
  animation: teaFloatLayerA 20s ease-in-out infinite alternate;
}

.section-teaware::after {
  background-image:
    radial-gradient(180% 140% at 50% 50%, rgba(11, 13, 16, 0.035) 0%, rgba(11, 13, 16, 0) 70%),
    url("assets/patterns/chinese-ornament.svg");
  background-size: 100% 100%, 430px 430px;
  background-position: center, 185px 120px;
  background-repeat: no-repeat, repeat;
  opacity: calc(0.11 + var(--tea-glow) * 0.25);
  animation: teaFloatLayerB 24s ease-in-out infinite alternate;
}

@keyframes teaFloatLayerA {
  0% {
    transform: translate3d(calc(var(--tea-shift-x) * 0.75), calc(var(--tea-shift-y) * 0.75), 0);
  }

  100% {
    transform: translate3d(calc(var(--tea-shift-x) * 1.15 + 6px), calc(var(--tea-shift-y) * 1.15 - 8px), 0);
  }
}

@keyframes teaFloatLayerB {
  0% {
    transform: translate3d(calc(var(--tea-shift-x) * 0.55), calc(var(--tea-shift-y) * 0.55), 0);
  }

  100% {
    transform: translate3d(calc(var(--tea-shift-x) * 0.9 - 7px), calc(var(--tea-shift-y) * 0.9 + 7px), 0);
  }
}

@media (max-width: 920px) {
  .section-teaware::before {
    background-size: 100% 100%, 280px 280px;
    background-position: center, 0 0;
    opacity: calc(0.16 + var(--tea-glow) * 0.3);
  }

  .section-teaware::after {
    background-size: 100% 100%, 340px 340px;
    background-position: center, 120px 90px;
    opacity: calc(0.1 + var(--tea-glow) * 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-teaware::before,
  .section-teaware::after {
    animation: none;
    transform: none;
    transition: none;
  }
}
.section-promos {
  padding: 8px 0 18px;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.18rem;
  margin-bottom: 6px;
}

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

.card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px;
}

.card p {
  color: #47505b;
}

.price {
  display: block;
  margin: 10px 0 12px;
  color: var(--gold);
  font-weight: 700;
}

.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  font-weight: 700;
  padding: 10px 14px;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.92;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notice {
  border: 1px solid var(--line);
  background: #fbfaf7;
  padding: 14px;
  color: #434b57;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.promo-slider {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.promo-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 320px;
  height: 320px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.46s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.46s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0.46s;
}

.promo-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  z-index: 1;
  transition: opacity 0.46s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.46s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.promo-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.promo-content {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  overflow: hidden;
}

.promo-tag {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.promo-content > p:not(.promo-tag),
.promo-content .btn {
  display: none;
}

.promo-content h3 {
  margin: 0;
  font-size: 0.95rem;
}

.slide-btn,
.scroll-arrow {
  border: 1px solid rgba(11, 13, 16, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(11, 13, 16, 0.12);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  font-size: 1.32rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.slide-btn:hover,
.scroll-arrow:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 16px rgba(11, 13, 16, 0.16);
}

.slide-btn:hover {
  transform: translateY(-50%) scale(1.04);
}

.slide-btn:focus-visible,
.scroll-arrow:focus-visible {
  outline: 2px solid rgba(11, 13, 16, 0.35);
  outline-offset: 2px;
}

.slide-btn-prev {
  left: 16px;
}

.slide-btn-next {
  right: 16px;
}

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

.slide-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(11, 13, 16, 0.4);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
}

.slide-dots button.active {
  background: var(--gold);
  border-color: var(--gold);
}

.scroll-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 14px auto 0;
  text-decoration: none;
  font-size: 1.35rem;
  line-height: 1;
  animation: arrow-pulse 1.6s ease-in-out infinite;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

#popular-products {
  scroll-margin-top: 96px;
}

@keyframes arrow-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

.product-card {
  position: relative;
  isolation: isolate;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-image: var(--card-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.24);
  transition: opacity 0.28s ease, transform 0.42s ease;
  z-index: 0;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.18) 0%, rgba(8, 10, 14, 0.72) 78%);
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: 1;
}

.product-card > * {
  position: relative;
  z-index: 2;
}

.product-photo-wrap {
  position: relative;
  margin: 0;
}

.product-photo {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.25s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.product-body {
  padding: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover,
  .product-card:focus-within {
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(11, 13, 16, 0.26);
  }

  .product-card:hover::before,
  .product-card:focus-within::before {
    opacity: 1;
    transform: scale(1.14);
  }

  .product-card:hover::after,
  .product-card:focus-within::after {
    opacity: 1;
  }

  .product-card:hover .product-photo,
  .product-card:focus-within .product-photo {
    opacity: 0;
    transform: scale(1.08);
  }

  .product-card:hover .product-body h3,
  .product-card:focus-within .product-body h3,
  .product-card:hover .product-body p,
  .product-card:focus-within .product-body p,
  .product-card:hover .price,
  .product-card:focus-within .price {
    color: #f7f9fc;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  }

  .product-card:hover .btn,
  .product-card:focus-within .btn {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.56);
    color: #ffffff;
  }

  .product-card:hover .btn-ghost,
  .product-card:focus-within .btn-ghost {
    background: rgba(255, 255, 255, 0.08);
  }
}
.product-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.popular-grid .product-body p {
  min-height: 48px;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.cart-row:last-child {
  border-bottom: 0;
}

.cart-total {
  margin-top: 14px;
  font-size: 1.15rem;
  font-weight: 800;
}

.badge {
  display: inline-block;
  min-width: 20px;
  padding: 1px 6px;
  text-align: center;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
  margin-left: 4px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  margin-top: 12px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-wrap a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-wrap a:hover {
  color: var(--text);
  border-bottom-color: currentColor;
}

@media (max-width: 920px) {
  .nav {
    min-height: auto;
    padding: 8px 0;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .logo {
    width: 116px;
    height: 34px;
    order: 1;
  }

  .promo-slide,
  .grid-3,
  .cart-row {
    grid-template-columns: 1fr;
  }

  .promo-slide {
    min-height: 160px;
    height: 160px;
  }

  .promo-image {
    min-height: 160px;
    height: 160px;
  }

  .promo-content {
    padding: 6px 8px;
  }

  .promo-tag {
    display: none;
  }

  .promo-content h3 {
    font-size: 0.86rem;
  }

  .slide-btn {
    width: 36px;
    height: 36px;
    font-size: 1.12rem;
  }

  .scroll-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.12rem;
  }  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}














.page-hero {
  padding: 28px 0 4px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.95rem, 4.5vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 10px;
}

.lead {
  max-width: 720px;
  color: #4a5561;
}

.product-card[role='link'] {
  cursor: pointer;
}

.product-card[role='link']:focus-visible {
  outline: 2px solid rgba(11, 13, 16, 0.35);
  outline-offset: 2px;
}

[data-catalog-grid] .product-body p,
.popular-grid .product-body p {
  min-height: 68px;
}

.product-details {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: stretch;
  padding: 16px;
}

.product-details-photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border: 1px solid var(--line);
}

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

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 8px;
}

.product-gallery-thumb {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-gallery-thumb:hover {
  border-color: #c8bc9f;
  transform: translateY(-1px);
}

.product-gallery-thumb.active {
  border-color: #cba14d;
  box-shadow: 0 4px 12px rgba(203, 161, 77, 0.22);
}

.product-gallery-thumb img {
  display: block;
  width: 100%;
  height: 68px;
  object-fit: cover;
}
.product-details-body {
  display: flex;
  flex-direction: column;
}

.product-details-body h2 {
  margin-bottom: 10px;
}

.product-details-body p {
  color: #44505c;
}

.product-meta {
  margin-top: 14px;
  display: grid;
  gap: 6px;
}

.product-meta strong {
  font-weight: 800;
}

.grams-picker {
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.grams-picker label {
  font-weight: 700;
}

.grams-picker input {
  width: 120px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 8px 10px;
}

.grams-picker select {
  width: min(320px, 100%);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 8px 10px;
}

.grams-picker-stacked {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}

.grams-inline-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.modal-open {
  overflow: hidden;
}

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

.apple-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(13, 16, 20, 0.26);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.apple-modal {
  width: min(420px, 92vw);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(247, 245, 240, 0.9) 100%);
  box-shadow: 0 24px 50px rgba(8, 10, 14, 0.25);
  padding: 16px;
}

.apple-modal h3 {
  margin: 0;
  font-size: 1.04rem;
}

.apple-modal p {
  margin: 6px 0 0;
  color: #56616d;
}

.apple-modal-input-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.apple-modal-input-row input {
  width: 160px;
  border: 1px solid #cfd5df;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.apple-modal-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.cart-row small {
  color: #55606d;
}

@media (max-width: 920px) {
  .page-hero {
    padding-top: 18px;
  }

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

  .product-details-photo {
    min-height: 240px;
    max-height: 320px;
  }

  .product-gallery-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  }

  .product-gallery-thumb img {
    height: 60px;
  }
  .grams-picker input {
    width: 100px;
  }
}



@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
    order: 2;
  }

  .top-search {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
    order: 3;
  }

  .menu {
    width: 100%;
    margin-left: 0;
    order: 4;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav.mobile-menu-open .menu {
    display: flex;
  }

  .menu-item {
    width: 100%;
  }

  .menu .menu-link,
  .menu > a {
    width: 100%;
    justify-content: space-between;
  }

  .submenu {
    position: static;
    margin-top: 6px;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    transform: none;
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border-width: 0;
    transition: opacity 0.16s ease;
  }

  .menu-item:hover > .submenu,
  .menu-item:focus-within > .submenu,
  .menu-item.open > .submenu {
    opacity: 1;
    pointer-events: auto;
    max-height: 440px;
    padding: 6px;
    border-width: 1px;
  }

  .submenu-level-2 {
    margin-top: 4px;
    margin-left: 8px;
    opacity: 1;
    pointer-events: auto;
    max-height: none;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .submenu-item-parent > a::after {
    content: "";
  }
}









































