:root {
  --ink: #202532;
  --muted: #677080;
  --line: #e7e8ec;
  --soft: #f7f7f8;
  --paper: #ffffff;
  --accent: #e33422;
  --accent-dark: #bf271a;
  --berry: #b93b64;
  --sage: #62856f;
  --gold: #d8a33d;
  --shadow: 0 16px 45px rgba(26, 32, 44, 0.14);
  --radius: 8px;
  --shell: 1560px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Nunito Sans", Verdana, sans-serif;
  letter-spacing: 0;
  animation: pageFadeIn 0.45s ease both;
  overflow-x: hidden;
}

body.admin-view {
  background:
    radial-gradient(circle at top left, rgba(227, 52, 34, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(185, 59, 100, 0.1), transparent 26%),
    linear-gradient(180deg, #f4f7fb 0%, #fff 32%);
}

body.admin-view .utility-bar,
body.admin-view .site-header,
body.admin-view .category-nav,
body.admin-view main,
body.admin-view .site-footer,
body.admin-view .mobile-bottom-nav {
  display: none !important;
}

body.admin-view .admin-page {
  display: block;
}

img,
svg {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

input,
textarea,
select,
button {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.admin-page {
  display: none;
  min-height: calc(100vh - 28px);
  padding: 24px 16px 40px;
}

.admin-page-shell {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.admin-hero,
.admin-callout,
.admin-login-card,
.admin-stat-card {
  border: 1px solid rgba(33, 41, 57, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(26, 32, 44, 0.12);
  backdrop-filter: blur(8px);
}

.admin-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background:
    linear-gradient(135deg, rgba(227, 52, 34, 0.08), rgba(185, 59, 100, 0.06)),
    rgba(255, 255, 255, 0.94);
}

.admin-hero p,
.admin-callout p,
.admin-hero span {
  margin: 0;
  color: var(--muted);
}

.admin-hero p {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-hero h1 {
  margin: 10px 0 8px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02;
}

.admin-hero span {
  display: block;
  max-width: 700px;
  font-size: 15px;
  line-height: 1.55;
}

.admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.admin-login-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 18px;
}

.admin-callout,
.admin-login-card {
  padding: 22px;
}

.admin-callout h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.admin-callout ul {
  margin: 0;
  padding-left: 18px;
  color: #3c4554;
  line-height: 1.7;
}

.admin-login-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.admin-login-card label {
  display: grid;
  gap: 8px;
  color: #394151;
  font-size: 13px;
  font-weight: 900;
}

.admin-login-card input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
}

.auth-note,
.admin-status-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

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

.admin-stat-card {
  padding: 18px 20px;
  display: grid;
  gap: 8px;
  text-align: left;
}

.admin-stat-card strong {
  font-size: 30px;
  line-height: 1;
}

.admin-stat-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.utility-bar {
  height: 28px;
  background: #fff;
  border-top: 2px solid #3d2a17;
  border-bottom: 0;
  color: #4d5564;
  font-size: 14px;
}

.utility-inner {
  max-width: var(--shell);
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.utility-inner > * {
  min-height: 16px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-left: 1px solid #cfd3da;
}

.utility-inner > *:first-child {
  border-left: 0;
}

.link-button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.utility-inner .link-button {
  padding: 0 11px;
}

.admin-top-button {
  min-height: 24px;
  margin-left: 11px;
  padding: 0 14px !important;
  border: 1px solid rgba(227, 52, 34, 0.28) !important;
  border-radius: 999px;
  background: #fff4f2;
  color: var(--accent);
  font-weight: 700;
}

.mobile-offer-band,
.mobile-bottom-nav {
  display: none;
}

.site-header {
  min-height: 76px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 10px 22px 12px;
  display: grid;
  grid-template-columns: 340px minmax(340px, 480px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  animation: headerDrop 0.55s ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  transition: transform 0.22s ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  width: 62px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  box-shadow: none;
  overflow: hidden;
  flex: 0 0 auto;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.brand:hover .brand-mark {
  transform: translateY(-1px);
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.brand-copy {
  display: block;
  line-height: 1.05;
  min-width: 0;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy small {
  margin-top: 4px;
  color: #6d7380;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

#brandName {
  color: #272b35;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.search-box {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: row-reverse;
  padding: 0 12px 0 30px;
  background: #f0f1f3;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #727985;
  transition: border 0.2s ease, background 0.2s ease;
}

.search-box:focus-within {
  border-color: rgba(227, 52, 34, 0.34);
  background: #fff;
}

.search-box svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  stroke-width: 1.8;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}

.search-box input::placeholder {
  color: #8c919b;
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.delivery-group {
  display: inline-flex;
  align-items: center;
  margin-right: clamp(18px, 6vw, 170px);
  filter: drop-shadow(0 3px 8px rgba(58, 127, 190, 0.18));
}

.country-pill,
.delivery-pill,
.round-action,
.icon-action,
.one-day-button,
.ghost-button,
.primary-button,
.secondary-button,
.mini-button,
.danger-button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  border-radius: var(--radius);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.country-pill:hover,
.delivery-pill:hover,
.icon-action:hover,
.ghost-button:hover,
.mini-button:hover,
.danger-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(30, 34, 45, 0.08);
}

.country-pill {
  height: 46px;
  min-width: 108px;
  padding: 0 12px;
  border-color: #ead6e4;
  border-radius: 0;
  background: #fdeaf4;
  font-weight: 800;
}

.flag::before {
  content: "";
  width: 18px;
  height: 12px;
  display: inline-block;
  margin-right: 7px;
  vertical-align: -1px;
  background: linear-gradient(#f79432 0 33%, #fff 33% 66%, #138808 66%);
  border: 1px solid #d8dce4;
}

.delivery-pill {
  height: 46px;
  max-width: 270px;
  min-width: 240px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-color: #ead6e4;
  border-left: 0;
  border-radius: 0;
  background: linear-gradient(90deg, #fbebf5, #eef8ff);
  color: #3b3b43;
  font-weight: 700;
  white-space: nowrap;
}

.delivery-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.delivery-edit-icon {
  width: 15px !important;
  height: 15px !important;
  color: #686f78;
}

.delivery-pill svg,
.ghost-button svg,
.one-day-button svg,
.trust-band svg {
  width: 18px;
  height: 18px;
}

.round-action {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  border-color: transparent;
  color: #5f5f5f;
  font-weight: 900;
}

.account-action {
  font-family: Arial, sans-serif;
  font-size: 0;
}

.account-action svg {
  width: 25px;
  height: 25px;
  color: #5f5f5f;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

.account-action.logged-in {
  background: transparent;
  border-color: transparent;
  color: var(--sage);
}

.icon-action {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
}

.icon-action svg {
  width: 25px;
  height: 25px;
  color: #5f5f5f;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

#wishlistButton svg {
  fill: currentColor;
  stroke-width: 0;
}

.badge {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f03f86;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.category-nav {
  border-top: 1px solid #f2f3f5;
  border-bottom: 1px solid #e5e7eb;
  min-height: 58px;
  background: #f6f6f7;
  animation: navReveal 0.55s ease 0.08s both;
  box-shadow: 0 8px 18px rgba(36, 42, 54, 0.08);
}

.category-shell {
  max-width: var(--shell);
  min-height: 58px;
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
}

.category-nav-inner {
  max-width: none;
  margin-left: 0;
  padding-left: 0;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-nav-inner::-webkit-scrollbar {
  display: none;
}

.category-link {
  min-width: max-content;
  border: 0;
  background: transparent;
  padding: 0 14px;
  color: #252a36;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
}

.category-link svg {
  display: none;
}

.category-link:first-child {
  color: #df1745;
}

.category-link.active {
  color: var(--accent);
}

.category-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.category-link:hover::after,
.category-link.active::after {
  transform: scaleX(1);
}

.one-day-button {
  border-top: 0;
  border-bottom: 0;
  border-right: 0;
  border-color: #e2e4e8;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f6f6f7;
  color: #ff3b80;
  font-weight: 900;
  font-size: 16px;
  text-transform: none;
}

.hero {
  position: relative;
  min-height: 392px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 48px max(24px, calc((100vw - 1180px) / 2)) 50px;
  overflow: hidden;
  background: #f7ede7;
}

.hero-bg-track {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  transition: transform 0.72s ease;
}

.hero-bg-track span {
  min-width: 100%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 249, 245, 0.18) 42%, rgba(255, 247, 241, 0.84) 62%, rgba(255, 247, 241, 0.96) 100%),
    var(--hero-bg) center / cover no-repeat;
  animation: heroImagePan 3s ease both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.18));
  pointer-events: none;
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: min(650px, 52vw);
  margin-right: 34px;
  padding: 0;
  text-align: center;
  animation: revealPanel 0.7s ease both;
}

.hero-panel p {
  margin: 0 0 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  color: #454341;
  text-shadow: 0 3px 16px rgba(255, 255, 255, 0.72);
}

.hero-panel h1 {
  margin: 0 0 26px;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--accent);
  font-size: 66px;
  line-height: 1.05;
  font-weight: 700;
  text-shadow: 0 3px 16px rgba(255, 255, 255, 0.76);
}

.type-caret {
  color: rgba(227, 52, 34, 0.58);
  animation: caretBlink 0.8s steps(1) infinite;
}

.primary-button {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(227, 52, 34, 0.28);
  position: relative;
  overflow: hidden;
}

.primary-button:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
}

.primary-button::after,
.secondary-button::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -55%;
  width: 40%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transition: left 0.55s ease;
}

.primary-button:hover::after,
.secondary-button:hover::after {
  left: 115%;
}

.hero-slide-dots {
  position: absolute;
  z-index: 3;
  bottom: 13px;
  left: 50%;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.hero-slide-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #b8bdc8;
}

.hero-slide-dots .active {
  width: 21px;
  background: var(--accent);
}

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d7dbe2;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #69717f;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 8px 18px rgba(30, 34, 45, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.hero-arrow:hover {
  color: var(--accent);
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 12px 24px rgba(30, 34, 45, 0.14);
}

.hero-arrow svg {
  width: 25px;
  height: 25px;
}

.hero-arrow-prev {
  left: 12px;
}

.hero-arrow-next {
  right: 12px;
}

.category-strip,
.storefront,
.best-sellers,
.trust-band {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 18px 0;
}

.category-strip {
  max-width: 1532px;
  padding-top: 72px;
}

.cake-page {
  display: none;
  background:
    linear-gradient(90deg, rgba(255, 247, 241, 0.9), rgba(255, 247, 241, 0.72)),
    var(--category-page-bg, url("https://images.unsplash.com/photo-1578985545062-69928b1d9587?q=80&w=1600&auto=format&fit=crop")) center / cover no-repeat;
}

.cake-page-inner {
  max-width: 1180px;
  min-height: 250px;
  margin: 0 auto;
  padding: 34px 18px;
  display: grid;
  align-content: center;
  justify-items: start;
}

.cake-page-inner p,
.cake-page-inner h1,
.cake-page-inner span {
  margin: 0;
}

.cake-page-inner p {
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.cake-page-inner h1 {
  margin-top: 8px;
  color: var(--accent);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 56px;
  line-height: 1;
}

.cake-page-inner span {
  margin-top: 12px;
  max-width: 520px;
  color: #3f4654;
  font-weight: 800;
  line-height: 1.45;
}

body.category-view .hero,
body.category-view .mobile-offer-band,
body.category-view .category-strip,
body.category-view .best-sellers,
body.category-view .mobile-collections,
body.category-view .trust-band,
body.category-view .about-delivery,
body.cake-view .hero,
body.cake-view .mobile-offer-band,
body.cake-view .category-strip,
body.cake-view .best-sellers,
body.cake-view .mobile-collections,
body.cake-view .trust-band,
body.cake-view .about-delivery,
body.product-view .hero,
body.product-view .mobile-offer-band,
body.product-view .category-strip,
body.product-view .cake-page,
body.product-view .best-sellers,
body.product-view .mobile-collections,
body.product-view .trust-band,
body.product-view .about-delivery {
  display: none;
}

body.category-view .cake-page,
body.cake-view .cake-page {
  display: block;
}

.product-detail-page {
  display: none;
  background: #fff;
}

body.product-view .product-detail-page {
  display: block;
}

.product-detail-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 18px 48px;
}

.product-detail-layout {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 28px;
  align-items: start;
}

.product-detail-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f4f5f7;
  box-shadow: 0 16px 34px rgba(34, 42, 56, 0.1);
}

.product-detail-media img {
  width: 100%;
  aspect-ratio: 1 / 0.76;
  display: block;
  object-fit: cover;
}

.product-detail-info {
  display: grid;
  gap: 14px;
  padding-top: 6px;
}

.product-detail-info > p {
  margin: 0;
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-detail-info h1 {
  margin: 0;
  color: #172033;
  font-size: 42px;
  line-height: 1.08;
}

.product-detail-rating,
.product-detail-price {
  justify-content: flex-start;
}

.product-detail-price .price {
  font-size: 30px;
}

.product-detail-desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

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

.cake-choice-group {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  box-shadow: 0 12px 28px rgba(34, 42, 56, 0.05);
}

.cake-choice-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.cake-choice-head strong {
  color: #172033;
  font-size: 14px;
  font-weight: 900;
}

.cake-choice-head span {
  color: #2d63c8;
  font-size: 12px;
  font-weight: 800;
}

.cake-choice-pills {
  display: grid;
  gap: 8px;
}

.cake-choice-pills.size-pills {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cake-choice-pills.type-pills {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cake-choice-pill {
  position: relative;
  display: block;
  cursor: pointer;
}

.cake-choice-pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.cake-choice-pill span {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #172033;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cake-choice-pill.selected span,
.cake-choice-pill input:checked + span {
  border-color: #e31a78;
  background: #e31a78;
  color: #fff;
  box-shadow: 0 10px 18px rgba(227, 26, 120, 0.22);
  transform: translateY(-1px);
}

.cake-card-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.product-detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 430px;
}

.product-reviews {
  padding-top: 34px;
}

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

.product-review {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(34, 42, 56, 0.06);
}

.product-review div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #172033;
}

.product-review span {
  color: #a96f00;
  font-weight: 900;
}

.product-review p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

body.category-view .storefront,
body.cake-view .storefront {
  padding-top: 34px;
}

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

.section-heading p,
.storefront-toolbar p {
  margin: 0 0 2px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading h2,
.storefront-toolbar h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.section-heading a {
  color: var(--accent);
  font-weight: 900;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(120px, 174px));
  gap: 18px;
  justify-content: center;
  align-items: start;
}

.category-card {
  border: 0;
  background: transparent;
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  animation: cardLiftIn 0.45s ease both;
}

.category-card:hover,
.category-card.active {
  transform: translateY(-3px);
  box-shadow: none;
}

.category-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff4f8, #eef8ff);
  transition: box-shadow 0.18s ease;
}

.category-card:hover img,
.category-card.active img {
  box-shadow: 0 14px 28px rgba(34, 42, 56, 0.13);
}

.category-card strong {
  display: block;
  min-height: 38px;
  padding-top: 18px;
  text-align: center;
  font-size: 20px;
  line-height: 1.15;
  color: #172033;
}

.storefront {
  padding-top: 52px;
}

.storefront-toolbar {
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
  text-align: center;
}

.storefront-toolbar p,
.storefront-toolbar .toolbar-actions {
  display: none;
}

.storefront-toolbar h2 {
  font-size: 36px;
  font-weight: 900;
}

.toolbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ghost-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font-weight: 900;
}

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

.product-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(34, 42, 56, 0.07);
  animation: cardLiftIn 0.45s ease both;
  cursor: pointer;
}

.product-card:nth-child(2),
.category-card:nth-child(2) {
  animation-delay: 0.04s;
}

.product-card:nth-child(3),
.category-card:nth-child(3) {
  animation-delay: 0.08s;
}

.product-card:nth-child(4),
.category-card:nth-child(4) {
  animation-delay: 0.12s;
}

.product-card:nth-child(5),
.category-card:nth-child(5) {
  animation-delay: 0.16s;
}

.product-card:nth-child(6),
.category-card:nth-child(6) {
  animation-delay: 0.2s;
}

.product-card:nth-child(7),
.category-card:nth-child(7) {
  animation-delay: 0.24s;
}

.product-card:nth-child(8),
.category-card:nth-child(8) {
  animation-delay: 0.28s;
}

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

.product-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(34, 42, 56, 0.13);
}

.tag {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--sage);
  font-size: 11px;
  font-weight: 900;
}

.availability-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  font-size: 11px;
  font-weight: 900;
}

.availability-badge.available {
  color: #3e7052;
}

.availability-badge.not-available {
  color: #b3261e;
}

.product-card.unavailable .product-media img {
  filter: grayscale(0.45);
}

.product-card button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.wishlist-toggle {
  position: absolute;
  right: 9px;
  top: 9px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #2f3544;
  cursor: pointer;
}

.wishlist-toggle.active {
  color: #f03f86;
}

.product-body {
  padding: 14px;
}

.product-body h3 {
  margin: 0 0 8px;
  min-height: 44px;
  font-size: 17px;
  line-height: 1.28;
}

.rating-row,
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rating-row {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 9px;
}

.rating {
  color: #a96f00;
  font-weight: 900;
}

.price-row {
  margin-bottom: 13px;
}

.price {
  font-size: 20px;
  font-weight: 900;
}

.old-price {
  color: #9aa1ad;
  text-decoration: line-through;
  font-size: 13px;
}

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

.secondary-button,
.mini-button,
.danger-button {
  min-height: 40px;
  padding: 0 12px;
  font-weight: 900;
  position: relative;
  overflow: hidden;
}

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

.secondary-button:hover {
  background: var(--accent-dark);
}

.mini-button {
  background: #fff;
}

.danger-button {
  border-color: #efb6b6;
  background: #fff1f1;
  color: #b42318;
}

.danger-button:hover {
  background: #ffe4e4;
}

.trust-band {
  padding-top: 44px;
  padding-bottom: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust-band article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: linear-gradient(180deg, #fff, #fafafa);
  animation: cardLiftIn 0.5s ease both;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-band article:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(34, 42, 56, 0.09);
}

.trust-band svg {
  color: var(--accent);
}

.trust-band h3 {
  margin: 10px 0 6px;
}

.trust-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.about-delivery {
  max-width: 1180px;
  margin: 0 auto 44px;
  padding: 4px 18px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 26px;
  align-items: center;
}

.about-delivery > div,
.about-delivery > p {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(34, 42, 56, 0.06);
}

.about-delivery > div {
  padding: 24px;
}

.about-delivery > p {
  margin: 0;
  padding: 24px;
  color: var(--muted);
  line-height: 1.65;
}

.about-delivery p:first-child {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-delivery h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.18;
}

.delivery-note {
  margin: 14px 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid rgba(98, 133, 111, 0.28);
  border-radius: var(--radius);
  background: #f2f8f4;
  color: #3e7052;
  font-weight: 900;
}

.delivery-note svg {
  width: 18px;
  height: 18px;
}

.site-footer {
  background: #101929;
  color: #fff;
  border-top: 1px solid #243149;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 18px 38px;
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1.1fr 1.35fr;
  gap: 54px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column h2,
.footer-column h3 {
  margin: 0 0 8px;
  color: #fff;
}

.footer-column h2 {
  font-size: 18px;
  font-weight: 900;
}

.footer-column h3 {
  font-size: 16px;
  font-weight: 900;
}

.footer-column p,
.footer-column a,
.footer-column button {
  margin: 0;
  color: #f2f5fb;
  font-size: 14px;
  line-height: 1.55;
}

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

.footer-column button {
  width: fit-content;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.footer-admin-link {
  color: #aeb9cc !important;
  font-weight: 900;
}

.footer-connect {
  gap: 11px;
}

.social-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.social-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  padding: 4px 12px 4px 5px;
  background: #fff;
  color: #1b315d;
  font-family: Arial, sans-serif;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.social-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
}

.social-mark svg {
  width: 20px;
  height: 20px;
}

.social-label {
  color: #132033;
  font-size: 13px;
}

.social-button.instagram {
  border: 1px solid rgba(247, 37, 133, 0.3);
}

.social-button.instagram .social-mark {
  background: linear-gradient(135deg, #f72585, #ff7a00);
}

.social-button.instagram .social-mark svg {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-button.facebook {
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.social-button.facebook .social-mark {
  background: #2563eb;
}

.social-button.facebook .social-mark svg {
  width: 23px;
  height: 23px;
  fill: #fff;
}

.footer-bottom {
  border-top: 1px solid #2a3852;
  padding: 24px 18px 38px;
  text-align: center;
  color: #f2f5fb;
  font-size: 12px;
}

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(18, 22, 31, 0.56);
}

.modal-root.active {
  display: flex;
  animation: overlayFade 0.22s ease both;
}

.modal {
  width: min(1120px, 100%);
  max-height: min(88vh, 780px);
  overflow: auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  animation: modalPop 0.28s ease both;
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

.close-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.modal-body {
  padding: 20px;
}

.empty-state {
  padding: 36px 18px;
  text-align: center;
  color: var(--muted);
}

.cart-list,
.order-list {
  display: grid;
  gap: 12px;
}

.cart-row,
.order-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
}

.cart-row img,
.order-row img {
  width: 82px;
  height: 70px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}

.cart-row h3,
.order-row h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.cart-row p,
.order-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.order-custom-line {
  margin-top: 8px;
  color: #374151;
}

.order-photo-preview {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(33, 41, 57, 0.08);
  border-radius: 16px;
  background: #fafbff;
}

.order-photo-preview strong {
  color: #172033;
  font-size: 13px;
}

.order-photo-preview img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(33, 41, 57, 0.12);
}

.order-photo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.order-photo-filename {
  flex: 1 1 100%;
  font-size: 12px;
  color: var(--muted);
  word-break: break-word;
}

.order-photo-missing {
  margin-top: 8px;
  color: #8b5a2b;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.qty-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.cart-summary {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: #f7f8fa;
}

.purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
}

.purchase-main,
.purchase-sidebar {
  display: grid;
  gap: 14px;
}

.delivery-check {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
}

.delivery-check-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.delivery-check-head p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.delivery-check-head h3 {
  margin: 0;
  font-size: 20px;
}

.delivery-check-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.delivery-check-row input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  font: inherit;
  font-weight: 800;
  background: #f8f8fb;
}

.cart-row-copy {
  display: grid;
  gap: 8px;
}

.cart-row-meta,
.cart-row-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 13px;
}

.cart-row-meta {
  align-items: center;
}

.cart-row-price {
  display: grid;
  justify-items: end;
  gap: 4px;
  align-self: start;
}

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

.apply-coupon,
.price-details-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.apply-coupon {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border-style: dashed;
}

.apply-coupon span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #c9ced8;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 900;
}

.price-details-card h3 {
  margin: 0 0 16px;
}

.price-details-card hr {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 14px 0;
}

.checkout-wide,
.continue-wide {
  width: 100%;
  margin-top: 14px;
}

.saving-note {
  margin: 12px 0 0;
  color: #3c8a36;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.is-active {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  background: rgba(247, 37, 133, 0.08) !important;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.summary-line.total {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 20px;
  font-weight: 900;
}

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

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

.checkout-step {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--muted);
}

.checkout-step span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.checkout-step strong {
  font-size: 14px;
  color: var(--text);
}

.checkout-step.is-active {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(247, 37, 133, 0.08), rgba(247, 37, 133, 0.03));
}

.checkout-step.is-complete {
  border-color: rgba(41, 143, 250, 0.3);
  background: rgba(41, 143, 250, 0.06);
}

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

.checkout-step-grid label {
  display: grid;
  gap: 6px;
  color: #394151;
  font-weight: 900;
  font-size: 14px;
}

.checkout-page {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.checkout-page-head {
  display: grid;
  gap: 6px;
}

.checkout-page-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.checkout-page-head h3 {
  margin: 0;
  font-size: 22px;
}

.checkout-page-head p {
  margin: 0;
  color: var(--muted);
}

.checkout-page-phone {
  min-height: 180px;
}

.checkout-page-address,
.checkout-page-message,
.checkout-page-payment {
  min-height: 180px;
}

.checkout-status {
  display: grid;
  gap: 4px;
  margin: 14px 0;
  padding: 12px;
  border-radius: 16px;
  background: #fff4f8;
  border: 1px solid rgba(247, 37, 133, 0.12);
}

.checkout-status strong {
  font-size: 14px;
}

.checkout-status span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.field-label {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 900;
}

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

.delivery-slot-button {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.delivery-slot-button input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.delivery-slot-button span {
  font-weight: 900;
  color: var(--text);
  line-height: 1.25;
}

.delivery-slot-button.is-active {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(247, 37, 133, 0.08), rgba(247, 37, 133, 0.03));
  box-shadow: 0 10px 24px rgba(247, 37, 133, 0.08);
}

.delivery-slot-button:has(input:checked) {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(247, 37, 133, 0.08), rgba(247, 37, 133, 0.03));
  box-shadow: 0 10px 24px rgba(247, 37, 133, 0.08);
}

.payment-stage {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdfa;
}

.payment-stage img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  object-fit: contain;
  justify-self: center;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.payment-copy {
  display: grid;
  gap: 10px;
}

.payment-copy strong {
  font-size: 18px;
}

.payment-copy p {
  margin: 0;
  color: var(--muted);
}

.auth-card {
  display: grid;
  gap: 14px;
}

.google-auth-card {
  gap: 16px;
}

.login-modal-card {
  padding: 4px;
  overflow: hidden;
}

.login-hero {
  display: grid;
  gap: 8px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(215, 65, 102, 0.12), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(215, 65, 102, 0.15);
  box-shadow: 0 20px 50px rgba(32, 37, 50, 0.08);
}

.login-hero-badge {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(215, 65, 102, 0.12);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-hero h3 {
  margin: 0;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.1;
}

.login-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 44ch;
}

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

.login-tab {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 246, 242, 0.95));
  border: 1px solid rgba(32, 37, 50, 0.08);
  box-shadow: 0 16px 34px rgba(32, 37, 50, 0.06);
}

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

.phone-login-form input {
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(32, 37, 50, 0.14);
  background: #fff;
}

.auth-inline-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.premium-submit {
  min-height: 58px;
  border-radius: 18px;
  box-shadow: 0 18px 30px rgba(215, 65, 102, 0.22);
}

.google-auth-hero {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid #e7e8ec;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96)),
    radial-gradient(circle at top right, rgba(227, 52, 34, 0.12), transparent 42%);
  box-shadow: 0 14px 34px rgba(32, 37, 50, 0.1);
}

.google-auth-logo {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px rgba(32, 37, 50, 0.12);
}

.google-auth-logo svg {
  width: 31px;
  height: 31px;
}

.google-auth-hero strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.google-auth-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.google-button-shell {
  display: grid;
  place-items: center;
  padding: 15px;
  border: 1px dashed #cbd1da;
  border-radius: var(--radius);
  background: #fff;
}

.account-profile {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 13px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fafafa;
}

.account-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-weight: 900;
  overflow: hidden;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.google-demo-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #d3d8e0;
  border-radius: var(--radius);
  background: #fff;
  color: #222936;
  cursor: pointer;
  font-weight: 900;
}

.google-glyph {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #4285f4;
  background: #fff;
  border: 1px solid #e2e6ed;
  font-family: Arial, sans-serif;
  font-weight: 900;
}

.auth-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .login-tabs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .login-hero {
    padding: 16px;
    border-radius: 18px;
  }

  .login-hero h3 {
    font-size: 22px;
  }

  .login-tab {
    padding: 16px;
    border-radius: 18px;
  }

  .google-auth-hero {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 14px;
  }

  .google-auth-logo {
    width: 42px;
    height: 42px;
  }

  .phone-login-form input {
    min-height: 52px;
    border-radius: 14px;
  }

  .premium-submit {
    min-height: 54px;
    border-radius: 16px;
  }
}

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

.form-grid label {
  display: grid;
  gap: 6px;
  color: #394151;
  font-weight: 900;
  font-size: 14px;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  outline: 0;
}

.form-grid textarea {
  min-height: 88px;
  resize: vertical;
}

.cake-size-fields {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #f0d8e3;
  border-radius: var(--radius);
  background: #fff7fb;
}

.cake-size-fields h3 {
  margin: 0;
  color: var(--berry);
  font-size: 16px;
}

.product-custom-fields {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d8e7f6;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fbff, #f2f8ff);
}

.product-custom-fields h3 {
  margin: 0;
  color: #24487a;
  font-size: 16px;
}

.product-custom-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(36, 72, 122, 0.14);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 255, 255, 0.9);
}

.product-custom-card strong {
  color: #172033;
  font-size: 14px;
}

.product-custom-preview {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px dashed rgba(36, 72, 122, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
}

.product-custom-preview img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(36, 72, 122, 0.18);
}

.cake-option-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(240, 216, 227, 0.9);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 255, 255, 0.86);
}

.cake-option-card strong {
  color: #172033;
  font-size: 14px;
}

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

.cake-option-grid label {
  display: grid;
  gap: 6px;
  color: #172033;
  font-weight: 900;
}

.cake-option-grid select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  font: inherit;
  font-weight: 800;
  background: #fff;
}

.mobile-collections {
  display: none;
}

.track-public-reviews {
  padding-top: 18px;
}

.payment-qr-panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
}

.payment-qr-panel img {
  width: 100%;
  max-width: 280px;
  display: block;
  margin: 0 auto 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.photo-note {
  margin: 8px 0 0;
  color: #b45b00;
  font-weight: 900;
}

.checkout-consent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid #f3c2d2;
  background: #fff5f8;
}

.checkout-consent strong {
  display: block;
  font-size: 16px;
}

.checkout-consent p {
  margin: 2px 0 4px;
  font-weight: 800;
}

.checkout-consent span {
  color: var(--muted);
  font-size: 13px;
}

.form-grid.is-locked {
  opacity: 0.82;
}

.form-grid.is-locked input,
.form-grid.is-locked textarea,
.form-grid.is-locked select {
  pointer-events: none;
}

.order-note {
  margin: 14px 0;
  padding: 14px;
  border-radius: var(--radius);
  background: #fff7fb;
  color: #3f4654;
}

.order-note p {
  margin: 6px 0 0;
  line-height: 1.5;
}

.qr-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #fafafa;
  align-self: start;
}

.qr-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  border-radius: calc(var(--radius) - 2px);
  background: #fff;
  border: 1px solid var(--line);
}

.qr-panel h3 {
  margin: 12px 0 4px;
}

.qr-panel p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.45;
}

.upi-box {
  padding: 10px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px dashed #cbd1da;
  font-weight: 900;
  word-break: break-word;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
}

.track-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 18px;
}

.track-form input {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  outline: 0;
}

.timeline {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.live-track-note {
  margin: 12px 0 14px;
  color: #3e7052;
  font-size: 13px;
  font-weight: 900;
}

.timeline-step {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: var(--muted);
}

.timeline-dot {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: #c9ced8;
}

.timeline-step.done {
  color: var(--ink);
}

.timeline-step.done .timeline-dot {
  background: var(--sage);
}

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

.admin-order-day {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(33, 41, 57, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 250, 252, 0.96) 100%);
}

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

.admin-order-day-head h4 {
  margin: 0 0 4px;
  font-size: 18px;
}

.admin-order-day-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-order-day-head span {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff4f2;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.payment-confirmed-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 16px;
}

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

.admin-section {
  border: 1px solid rgba(33, 41, 57, 0.08);
  border-radius: 22px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(26, 32, 44, 0.08);
}

.admin-section h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

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

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

.admin-order-date-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.admin-order-date {
  min-height: 42px;
  min-width: 170px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  font: inherit;
  font-weight: 800;
  background: #fff;
}

.admin-order-search {
  min-width: 240px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  font: inherit;
  font-weight: 800;
  background: #fff;
}

.admin-section-head h3 {
  margin: 0 0 4px;
}

.admin-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

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

.admin-price-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.admin-price-card {
  border: 1px solid rgba(33, 41, 57, 0.08);
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(180deg, #fff, #faf7f1);
  box-shadow: 0 10px 28px rgba(26, 32, 44, 0.06);
}

.admin-price-card h4 {
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.admin-price-card label {
  margin-bottom: 10px;
}

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

.admin-edit-form label {
  display: grid;
  gap: 6px;
  color: #394151;
  font-size: 13px;
  font-weight: 900;
}

.admin-edit-form input,
.admin-edit-form select,
.admin-edit-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 11px;
  outline: 0;
}

.admin-edit-form textarea {
  min-height: 76px;
  resize: vertical;
}

.admin-editor-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.admin-editor-card {
  border: 1px solid rgba(33, 41, 57, 0.08);
  border-radius: 18px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfe 100%);
}

.admin-editor-card summary {
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.admin-editor-card summary::-webkit-details-marker {
  display: none;
}

.admin-editor-card form {
  margin-top: 12px;
}

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

.category-pick-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.category-pick-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.category-pick-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(30, 34, 45, 0.08);
}

.category-pick-button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.category-pick-button:focus-visible {
  outline: 3px solid rgba(232, 88, 86, 0.2);
  outline-offset: 2px;
}

.check-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
}

.check-row input {
  width: auto;
}

.admin-inline-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-order-card {
  border: 1px solid rgba(33, 41, 57, 0.08);
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfe 100%);
  box-shadow: 0 10px 26px rgba(26, 32, 44, 0.05);
}

.admin-order-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.admin-order-head h3 {
  margin: 0 0 4px;
}

.admin-order-head p,
.admin-order-card p {
  margin: 0;
  color: var(--muted);
}

.admin-photo-highlight {
  display: grid;
  gap: 10px;
  margin: 14px 0 10px;
  padding: 14px;
  border: 1px solid rgba(33, 41, 57, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffaf4 0%, #f8fbff 100%);
}

.admin-photo-highlight strong {
  display: block;
  color: #172033;
  font-size: 14px;
}

.admin-photo-highlight p {
  margin: 2px 0 0;
  color: var(--muted);
}

.admin-photo-highlight img {
  width: 100%;
  max-width: 360px;
  border-radius: 16px;
  border: 1px solid rgba(33, 41, 57, 0.12);
  object-fit: cover;
}

.order-photo-gallery {
  display: grid;
  gap: 12px;
}

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

.admin-controls label {
  display: grid;
  gap: 6px;
  font-weight: 900;
  font-size: 14px;
}

.admin-controls select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  background: #fff;
}

.order-history-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #586174;
  font-size: 13px;
  font-weight: 700;
}

.status-pill {
  align-self: start;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef6f1;
  color: #3e7052;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.toast {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  max-width: 340px;
  padding: 13px 16px;
  border-radius: var(--radius);
  background: #222936;
  color: #fff;
  box-shadow: var(--shadow);
  animation: toastIn 0.25s ease both;
}

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

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes overlayFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes caretBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes heroImagePan {
  from {
    background-position: 42% center;
  }
  to {
    background-position: 58% center;
  }
}

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

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand-copy {
    display: block;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .delivery-group {
    margin-right: 0;
  }

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

  .one-day-button {
    min-height: 46px;
    border-top: 1px solid var(--line);
  }

  .hero-panel {
    width: min(560px, 62vw);
    margin-right: 0;
  }

  .hero-panel p {
    font-size: 40px;
  }

  .hero-panel h1 {
    font-size: 54px;
  }

  .primary-button {
    font-size: 24px;
  }

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

@media (max-width: 760px) {
  body {
    background: #fff;
    padding-bottom: 78px;
  }

  .utility-bar {
    display: none;
  }

  .utility-inner {
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .utility-inner::-webkit-scrollbar {
    display: none;
  }

  .site-header {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px;
    padding: 6px 12px 8px;
    align-items: stretch;
    background: linear-gradient(180deg, #f6ddff 0%, #faecff 100%);
    box-shadow: none;
    backdrop-filter: none;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
    gap: 8px;
  }

  .brand-mark {
    width: 40px;
    height: 37px;
  }

  #brandName {
    font-size: 12px;
  }

  .brand-copy small {
    margin-top: 2px;
    font-size: 9px;
  }

  .search-box {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #a9a0ad;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 13px rgba(34, 42, 56, 0.06);
  }

  .search-box input {
    font-size: 14px;
    font-weight: 700;
  }

  .search-box svg {
    width: 22px;
    height: 22px;
  }

  .header-actions {
    display: contents;
  }

  .delivery-group {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    margin: 0;
    filter: none;
  }

  .country-pill {
    display: none;
  }

  .delivery-pill {
    max-width: none;
    min-width: 0;
    width: 100%;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #202532;
    font-size: 14px;
    font-weight: 900;
  }

  .account-action,
  #wishlistButton {
    display: none;
  }

  .icon-action {
    width: 38px;
    height: 38px;
  }

  #cartButton {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    position: relative;
    z-index: 6;
    width: 40px;
    height: 40px;
  }

  #cartButton svg {
    width: 28px;
    height: 28px;
  }

  #cartButton .badge {
    top: 2px;
    right: 1px;
  }

  main {
    display: flex;
    flex-direction: column;
  }

  .category-strip {
    order: 2;
  }

  .hero {
    order: 1;
  }

  .mobile-offer-band {
    order: 3;
  }

  .cake-page {
    order: 4;
  }

  .storefront {
    order: 5;
  }

  .best-sellers {
    order: 6;
  }

  .mobile-collections {
    order: 7;
    display: grid;
    gap: 18px;
    padding: 0 14px;
  }

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

  .mobile-collection {
    display: grid;
    gap: 14px;
  }

  .trust-band {
    order: 8;
  }

  .about-delivery {
    order: 9;
  }

  .category-link {
    min-width: 64px;
    min-height: 54px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 6px 6px;
    color: #2b2f38;
    font-size: 12px;
    font-weight: 800;
    text-transform: none;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .category-link svg {
    width: 19px;
    height: 19px;
    display: block;
    color: #343a46;
    stroke-width: 1.8;
  }

  .category-link::after {
    left: 18px;
    right: 18px;
    height: 3px;
    border-radius: 999px;
  }

  .category-nav {
    position: relative;
    min-height: 82px;
    background: #fbedff;
    border: 0;
    box-shadow: 0 5px 14px rgba(47, 39, 58, 0.08);
  }

  .category-shell {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .category-nav-inner {
    width: 100%;
    margin-left: 0;
    padding: 0 8px 8px;
    display: flex;
    align-items: stretch;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .one-day-button {
    display: none;
  }

  .cake-page-inner {
    min-height: 164px;
    padding: 24px 14px;
  }

  .cake-page-inner h1 {
    font-size: 38px;
  }

  .cake-page-inner span {
    font-size: 14px;
  }

  .hero {
    min-height: 194px;
    justify-content: flex-end;
    padding: 18px 14px 26px;
  }

  .hero-panel {
    width: min(54%, 230px);
    margin-left: auto;
    padding: 0;
    text-align: right;
  }

  .hero-panel p {
    font-size: 20px;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.78);
  }

  .hero-panel h1 {
    margin-bottom: 12px;
    font-size: 27px;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.82);
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(255, 246, 240, 0.04) 0%, rgba(255, 246, 240, 0.18) 48%, rgba(255, 246, 240, 0.8) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.26));
  }

  .hero-arrow {
    display: none;
  }

  .hero-slide-dots {
    bottom: 8px;
  }

  .hero-slide-dots span {
    width: 9px;
    height: 9px;
  }

  .hero-slide-dots .active {
    width: 20px;
  }

  .mobile-offer-band {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 14px 0;
    padding: 13px 16px;
    border-radius: 12px;
    background: linear-gradient(90deg, #ffe5f2, #fff1f7);
    color: #6b2355;
    box-shadow: 0 8px 22px rgba(199, 74, 129, 0.13);
  }

  .mobile-offer-band strong,
  .mobile-offer-band span {
    display: block;
  }

  .mobile-offer-band strong {
    font-size: 16px;
    line-height: 1.18;
  }

  .mobile-offer-band span {
    margin-top: 5px;
    color: #8a4974;
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-offer-band svg {
    width: 38px;
    height: 38px;
    color: #e61876;
    flex: 0 0 auto;
  }

  .section-heading,
  .storefront-toolbar {
    display: block;
  }

  .toolbar-actions,
  .footer-links {
    justify-content: flex-start;
    margin-top: 14px;
  }

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

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

  .product-detail-layout,
  .review-grid,
  .trust-band,
  .checkout-grid,
  .purchase-layout,
  .about-delivery {
    grid-template-columns: 1fr;
  }

  .cake-detail-options,
  .cake-option-grid {
    grid-template-columns: 1fr;
  }

  .cake-choice-pills.size-pills,
  .cake-choice-pills.type-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .product-body {
    padding: 10px;
  }

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

  .rating-row,
  .old-price {
    font-size: 11px;
  }

  .price {
    font-size: 16px;
  }

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

  .product-actions .mini-button,
  .product-actions .secondary-button {
    min-height: 38px;
    padding: 0 8px;
    font-size: 12px;
  }

  .product-detail-shell {
    padding: 24px 14px 38px;
  }

  .product-detail-info h1 {
    font-size: 31px;
  }

  .product-detail-media img {
    aspect-ratio: 1 / 0.86;
  }

  .product-detail-actions {
    max-width: none;
  }

  .admin-page {
    padding: 14px 10px 24px;
  }

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

  .admin-hero {
    flex-direction: column;
  }

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

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

  .admin-section-head {
    display: grid;
  }

  .admin-edit-form,
  .admin-product-form {
    grid-template-columns: 1fr;
  }

  .cart-row,
  .order-row {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .cart-row img,
  .order-row img {
    width: 70px;
    height: 64px;
  }

  .qty-controls {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .cart-row > strong,
  .order-row > strong {
    grid-column: 2;
    justify-self: start;
  }

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

  .primary-button,
  .secondary-button,
  .mini-button,
  .ghost-button {
    min-height: 46px;
  }

  .primary-button {
    padding: 0 28px;
    font-size: 20px;
  }

  .hero .primary-button {
    min-height: 42px;
    padding: 0 18px;
    font-size: 18px;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 18;
    min-height: 76px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-top: 1px solid #ececf0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -8px 22px rgba(31, 35, 45, 0.08);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    border: 0;
    background: transparent;
    text-decoration: none;
    color: #7f858e;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
  }

  .mobile-bottom-nav button[data-open-track] {
    color: #f05c83;
  }

  .mobile-bottom-nav svg {
    width: 25px;
    height: 25px;
    stroke-width: 2;
  }

  .mobile-bottom-nav .active {
    color: #f05c83;
  }

}

@media (max-width: 480px) {
  .utility-bar {
    display: none;
  }

  .utility-inner {
    padding: 7px 12px;
    gap: 11px;
    flex-wrap: wrap;
  }

  .utility-inner > * {
    padding: 0;
    border-left: 0;
  }

  .header-actions {
    width: 100%;
    align-items: center;
  }

  .country-pill {
    display: none;
  }

  .delivery-pill {
    grid-column: 1;
    width: 100%;
    padding: 0;
    font-size: 14px;
  }

  .round-action {
    display: grid;
    width: 42px;
    height: 42px;
    justify-self: center;
  }

  .account-action,
  #wishlistButton {
    display: none;
  }

  .icon-action {
    justify-self: center;
  }

  .category-strip,
  .storefront,
  .trust-band,
  .about-delivery {
    padding-left: 12px;
    padding-right: 12px;
  }

  .category-strip {
    padding-top: 18px;
    overflow: hidden;
  }

  .category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 19px 10px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

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

  .category-card {
    min-width: 0;
    scroll-snap-align: unset;
  }

  .category-card img {
    width: min(72px, 100%);
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 50%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding-left: 22px;
    padding-right: 22px;
  }

  .category-card strong {
    min-height: auto;
    padding-top: 8px;
    font-size: 14px;
  }

  .storefront-toolbar h2 {
    font-size: 23px;
  }

  .toolbar-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .product-card {
    border-radius: 12px;
  }

  .product-media {
    aspect-ratio: 1 / 0.76;
  }

  .product-body {
    padding: 13px;
  }

  .product-body h3 {
    min-height: auto;
    font-size: 16px;
  }

  .price {
    font-size: 18px;
  }

  .modal-root {
    align-items: stretch;
    padding: 0;
  }

  .modal {
    width: 100%;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .modal-header {
    padding: 14px 16px;
  }

  .modal-body {
    padding: 16px;
    flex: 1;
    overflow: auto;
  }

  .modal-footer {
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    background: #fff;
  }

  .google-auth-hero {
    grid-template-columns: 46px 1fr;
    padding: 14px;
  }

  .google-auth-logo {
    width: 44px;
    height: 44px;
  }

  .google-button-shell {
    overflow: hidden;
    padding: 12px 8px;
  }

  .checkout-grid {
    gap: 16px;
  }

  .checkout-stepper {
    grid-template-columns: 1fr;
  }

  .checkout-step {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .checkout-step strong {
    grid-column: 2;
  }

  .checkout-step-grid {
    grid-template-columns: 1fr;
  }

  .checkout-page {
    padding: 14px;
    border-radius: 18px;
  }

  .checkout-page-head h3 {
    font-size: 20px;
  }

  .checkout-page-phone,
  .checkout-page-address,
  .checkout-page-message,
  .checkout-page-payment {
    min-height: 0;
  }

  .checkout-consent {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
  }

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

  .purchase-layout {
    gap: 16px;
  }

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

  .delivery-check-row,
  .admin-section-head {
    grid-template-columns: 1fr;
  }

  .admin-section-head {
    flex-direction: column;
  }

  .qr-panel {
    order: -1;
  }

  .payment-stage {
    grid-template-columns: 1fr;
  }

  .payment-stage img {
    max-width: 100%;
  }

  .payment-qr-panel {
    padding: 14px;
  }

  .payment-qr-panel img {
    max-width: 240px;
  }

  .cart-row,
  .order-row {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
  }

  .cart-row img,
  .order-row img {
    width: 62px;
    height: 58px;
  }

  .footer-bottom {
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 360px) {
  .site-header {
    padding-left: 10px;
    padding-right: 10px;
  }

  #brandName {
    font-size: 11px;
  }

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

  .delivery-pill {
    grid-column: 1;
  }

  .delivery-pill svg {
    display: none;
  }

  .hero-panel h1 {
    font-size: 24px;
  }

  .hero-panel p {
    font-size: 18px;
  }
}
