:root {
  --store-forest: #1e3932;
  --store-green: #00704a;
  --store-green-strong: #005c3c;
  --store-green-soft: #d9efe6;
  --store-mint: #eef7f2;
  --store-cream: #f7f7f7;
  --store-white: #ffffff;
  --store-text: #27251f;
  --store-muted: #5f625d;
  --store-soft: #8a8e86;
  --store-line: #d6dfda;
  --store-border: rgba(30, 57, 50, 0.12);
  --store-border-strong: rgba(0, 112, 74, 0.24);
  --store-red: #c84d52;
  --store-red-soft: #ffe6e8;
  --store-shadow-sm: 0 14px 30px rgba(30, 57, 50, 0.08);
  --store-shadow-md: 0 18px 42px rgba(30, 57, 50, 0.11);
  --store-shadow-lg: 0 28px 72px rgba(20, 44, 38, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Urbanist", "Manrope", sans-serif;
  color: var(--store-text);
  background:
    radial-gradient(circle at 10% 8%, rgba(0, 112, 74, 0.14), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(200, 77, 82, 0.1), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f7 54%, #eef5f1 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(30, 57, 50, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 57, 50, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 84%);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.store-page {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
}

.store-aura {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.24;
}

.store-aura--rose {
  right: -8rem;
  top: 3rem;
  background: rgba(200, 77, 82, 0.2);
}

.store-aura--violet {
  left: -10rem;
  bottom: 0;
  background: rgba(0, 112, 74, 0.16);
}

.store-topbar,
.store-main {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1380px);
  margin: 0 auto;
}

.store-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.1rem 0;
}

.store-brand,
.store-nav,
.store-nav__cart,
.store-nav__link,
.store-nav__button {
  display: inline-flex;
  align-items: center;
}

.store-brand {
  gap: 0.95rem;
  font-family: "Space Grotesk", "Urbanist", sans-serif;
  font-size: clamp(1.75rem, 2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.store-brand img {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 1px rgba(200, 77, 82, 0.18), 0 14px 28px rgba(200, 77, 82, 0.18);
}

.store-nav {
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.store-nav__link,
.store-nav__button,
.store-nav__cart {
  min-height: 3.1rem;
  padding: 0.82rem 1.18rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 57, 50, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: var(--store-forest);
  backdrop-filter: blur(18px);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.store-nav__button {
  appearance: none;
}

.store-nav__link:hover,
.store-nav__button:hover,
.store-nav__cart:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 112, 74, 0.28);
  box-shadow: var(--store-shadow-sm);
}

.store-nav__cart {
  gap: 0.7rem;
}

.store-nav__cart strong {
  min-width: 1.55rem;
  min-height: 1.55rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--store-green);
  color: white;
  font-size: 0.8rem;
}

.store-main {
  padding: 0.9rem 0 4.8rem;
}

.store-toolbar,
.store-section,
.admin-login-card,
.admin-panel {
  border: 1px solid rgba(30, 57, 50, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 247, 247, 0.88)),
    var(--store-white);
  box-shadow: var(--store-shadow-lg);
  backdrop-filter: blur(20px);
}

.store-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.6rem;
  padding: clamp(1.45rem, 2.6vw, 2.2rem);
}

.store-toolbar--admin {
  margin-bottom: 2rem;
}

.store-toolbar__copy {
  display: grid;
  gap: 0.5rem;
}

.store-toolbar__copy h1,
.store-section h2,
.admin-panel h2,
.admin-login-card h2,
.cart-drawer__head h2,
.checkout-card__head h2 {
  margin: 0;
  font-family: "Space Grotesk", "Urbanist", sans-serif;
  letter-spacing: -0.05em;
  color: var(--store-forest);
}

.store-toolbar__copy h1 {
  font-size: clamp(2.35rem, 4vw, 3.8rem);
}

.store-toolbar__copy p:not(.store-eyebrow),
.store-section__hint,
.admin-login-card p,
 .cart-footer__note {
  margin: 0;
  color: var(--store-muted);
  line-height: 1.7;
}

.store-toolbar__meta {
  display: grid;
  gap: 0.9rem;
  justify-items: end;
}

.store-eyebrow {
  margin: 0;
  color: var(--store-green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.quick-filter {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.quick-filter__chip {
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(30, 57, 50, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--store-forest);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.quick-filter__chip.is-active {
  background: var(--store-green);
  border-color: rgba(0, 112, 74, 0.24);
  color: white;
  box-shadow: 0 16px 32px rgba(0, 112, 74, 0.18);
}

.quick-filter__chip:hover {
  transform: translateY(-1px);
  box-shadow: var(--store-shadow-sm);
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.88rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.store-button--primary {
  background: var(--store-green);
  color: white;
  box-shadow: 0 18px 36px rgba(0, 112, 74, 0.22);
}

.store-button--primary:hover {
  background: var(--store-green-strong);
  box-shadow: 0 22px 40px rgba(0, 112, 74, 0.24);
}

.store-button--ghost {
  background: rgba(255, 255, 255, 0.84);
  color: var(--store-forest);
  border-color: rgba(30, 57, 50, 0.12);
}

.store-button--ghost:hover {
  border-color: rgba(0, 112, 74, 0.26);
  box-shadow: var(--store-shadow-sm);
}

.store-section {
  padding: clamp(1.35rem, 2.6vw, 2rem);
}

.store-section--catalog {
  margin-top: 1.7rem;
}

.store-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.store-section h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 28px;
  border: 1px solid rgba(30, 57, 50, 0.08);
  background: var(--store-white);
  box-shadow: var(--store-shadow-sm);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--store-shadow-md);
  border-color: rgba(0, 112, 74, 0.16);
}

.product-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 112, 74, 0.12), rgba(255, 255, 255, 0.96)),
    var(--store-mint);
}

.product-card__image-link {
  display: block;
  height: 100%;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__image-link:hover img,
.product-card--related .product-card__image-link:hover img {
  transform: scale(1.02);
}

.product-card__badges {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  display: grid;
  gap: 0.45rem;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(39, 37, 31, 0.12);
}

.product-badge--freeship {
  background: linear-gradient(135deg, #00704a, #1e3932);
}

.product-badge--discount {
  background: linear-gradient(135deg, #c84d52, #8b3d5b);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.95rem;
  padding: 1rem;
}

.product-card__copy {
  display: grid;
  gap: 0.45rem;
}

.product-card__copy h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--store-forest);
}

.product-card__copy h3 a:hover {
  color: var(--store-green);
}

.product-card__copy p {
  margin: 0;
  color: var(--store-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.product-card__price strong {
  color: var(--store-green);
  font-size: 1.15rem;
}

.product-card__price-old {
  color: var(--store-soft);
  font-size: 0.92rem;
  text-decoration: line-through;
}

.product-card__options {
  display: grid;
  gap: 0.8rem;
}

.option-group {
  display: grid;
  gap: 0.5rem;
}

.option-label {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--store-forest);
}

.option-pills,
.size-tiles,
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.option-pill,
.size-tile,
.color-swatch {
  border: 1px solid rgba(30, 57, 50, 0.18);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.option-pill,
.size-tile {
  min-height: 2.8rem;
  padding: 0.55rem 0.92rem;
  border-radius: 18px;
  background: white;
  color: var(--store-forest);
  font-weight: 800;
}

.option-pill:hover,
.size-tile:hover,
.color-swatch:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 112, 74, 0.34);
}

.option-pill.is-selected,
.size-tile.is-selected {
  background: var(--store-green-soft);
  color: var(--store-green);
  border-color: rgba(0, 112, 74, 0.3);
  box-shadow: inset 0 0 0 1px rgba(0, 112, 74, 0.08);
}

.color-swatch {
  width: 2.65rem;
  height: 2.65rem;
  padding: 0.18rem;
  border-radius: 999px;
  background: white;
  box-shadow: 0 8px 16px rgba(30, 57, 50, 0.08);
}

.color-swatch::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: var(--swatch, linear-gradient(135deg, #d6dfda, #00704a));
}

.color-swatch.is-selected {
  border-color: rgba(0, 112, 74, 0.38);
  box-shadow: 0 0 0 4px rgba(0, 112, 74, 0.12);
}

.product-card__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.icon-cart-button {
  width: 3.2rem;
  height: 3.2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(30, 57, 50, 0.12);
  background: white;
  color: var(--store-green);
  box-shadow: var(--store-shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.icon-cart-button svg {
  width: 1.2rem;
  height: 1.2rem;
}

.icon-cart-button:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 112, 74, 0.3);
}

.product-card__buy {
  flex: 1;
}

.product-detail-shell {
  display: grid;
  gap: 1.5rem;
}

.product-detail-hero,
.product-detail-description,
.product-detail-related {
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border: 1px solid rgba(30, 57, 50, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 247, 247, 0.9)),
    var(--store-white);
  box-shadow: var(--store-shadow-md);
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.75rem;
}

.product-detail-gallery__main {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(30, 57, 50, 0.08);
  background: linear-gradient(135deg, rgba(0, 112, 74, 0.12), rgba(255, 255, 255, 0.96));
  aspect-ratio: 1 / 1;
}

.product-detail-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.product-detail-info {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.product-detail-info h1 {
  margin: 0;
  font-family: "Space Grotesk", "Urbanist", sans-serif;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.98;
  color: var(--store-forest);
  letter-spacing: -0.05em;
}

.product-detail-info__summary {
  margin: 0;
  color: var(--store-muted);
  line-height: 1.7;
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.product-detail-price strong {
  color: var(--store-green);
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  font-weight: 800;
}

.detail-block {
  display: grid;
  gap: 0.7rem;
}

.detail-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--store-forest);
}

.variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
}

.variant-tile {
  display: grid;
  gap: 0.55rem;
  padding: 0.7rem;
  border-radius: 22px;
  border: 1px solid rgba(30, 57, 50, 0.12);
  background: white;
  color: var(--store-forest);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.variant-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: cover;
}

.variant-tile span {
  font-weight: 700;
  line-height: 1.35;
}

.variant-tile:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 112, 74, 0.24);
  box-shadow: var(--store-shadow-sm);
}

.variant-tile.is-selected {
  border-color: rgba(0, 112, 74, 0.3);
  background: var(--store-green-soft);
  box-shadow: 0 0 0 1px rgba(0, 112, 74, 0.08);
}

.variant-tile.is-disabled,
.size-tile:disabled,
.icon-cart-button:disabled,
.store-button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.quantity-row {
  display: flex;
  align-items: center;
}

.quantity-picker {
  display: inline-grid;
  grid-template-columns: 44px minmax(86px, 120px) 44px;
  border-radius: 20px;
  border: 1px solid rgba(30, 57, 50, 0.14);
  overflow: hidden;
  background: white;
}

.quantity-picker button,
.quantity-picker input {
  border: 0;
  background: transparent;
  min-height: 46px;
  text-align: center;
  color: var(--store-forest);
  font-weight: 800;
}

.quantity-picker input {
  border-left: 1px solid rgba(30, 57, 50, 0.08);
  border-right: 1px solid rgba(30, 57, 50, 0.08);
}

.product-detail-actions,
.product-detail-sticky {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.product-detail-actions .store-button,
.product-detail-sticky .store-button {
  flex: 1;
}

.product-detail-description__body {
  color: var(--store-text);
  line-height: 1.72;
}

.product-detail-description__body h3,
.product-detail-description__body h4 {
  color: var(--store-forest);
  margin: 1.3rem 0 0.65rem;
}

.product-detail-description__body p,
.product-detail-description__body ul,
.product-detail-description__body ol {
  margin: 0.75rem 0;
}

.product-detail-description__body img {
  width: 100%;
  border-radius: 22px;
  margin: 1rem 0;
  box-shadow: var(--store-shadow-sm);
}

.product-grid--related {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card--related .product-card__copy p {
  -webkit-line-clamp: 2;
}

.product-detail-sticky {
  display: none;
}

.floating-actions {
  position: fixed;
  inset: auto 18px 18px 18px;
  z-index: 18;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
}

.floating-action {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.4rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 16px 30px rgba(30, 57, 50, 0.18);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.floating-action:hover {
  transform: scale(1.05);
}

.floating-action--cart {
  background: linear-gradient(135deg, #00704a, #1e3932);
  color: white;
}

.floating-action--support {
  background: rgba(255, 255, 255, 0.86);
  color: var(--store-forest);
}

.floating-action__icon {
  width: 1.2rem;
  height: 1.2rem;
  display: inline-grid;
  place-items: center;
}

.floating-action__icon svg {
  width: 100%;
  height: 100%;
}

.floating-action__label {
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-action__badge {
  min-width: 1.55rem;
  min-height: 1.55rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--store-green);
  font-size: 0.82rem;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  background: rgba(30, 57, 50, 0);
  transition: background 180ms ease;
}

.cart-drawer.is-open {
  pointer-events: auto;
  background: rgba(30, 57, 50, 0.22);
}

.cart-drawer__panel {
  width: min(100%, 30rem);
  height: 100%;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid rgba(30, 57, 50, 0.08);
  box-shadow: -24px 0 48px rgba(30, 57, 50, 0.14);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

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

.cart-drawer__head,
.checkout-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cart-drawer__head h2,
.checkout-card__head h2 {
  font-size: 2rem;
}

.icon-button {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(30, 57, 50, 0.12);
  border-radius: 999px;
  background: rgba(240, 248, 244, 0.9);
  color: var(--store-forest);
  font-size: 1.5rem;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow: auto;
  display: grid;
  gap: 0.95rem;
  padding-right: 0.2rem;
}

.cart-items::-webkit-scrollbar,
.checkout-summary__items::-webkit-scrollbar {
  width: 8px;
}

.cart-items::-webkit-scrollbar-thumb,
.checkout-summary__items::-webkit-scrollbar-thumb {
  background: rgba(0, 112, 74, 0.26);
  border-radius: 999px;
}

.cart-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 22px;
  background: var(--store-cream);
  border: 1px solid rgba(30, 57, 50, 0.08);
}

.cart-line__copy {
  display: grid;
  gap: 0.28rem;
}

.cart-line h3 {
  margin: 0;
  color: var(--store-forest);
  font-size: 1.03rem;
}

.cart-line p {
  margin: 0;
  color: var(--store-muted);
}

.cart-line__controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.cart-line__controls button {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 57, 50, 0.12);
  background: white;
  color: var(--store-forest);
}

.cart-footer {
  display: grid;
  gap: 0.85rem;
}

.cart-summary {
  display: grid;
  gap: 0.45rem;
}

.cart-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--store-muted);
}

.cart-summary strong {
  color: var(--store-forest);
}

.cart-summary__total strong,
.cart-summary__total span {
  font-size: 1.02rem;
  color: var(--store-forest);
  font-weight: 900;
}

.cart-footer__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(30, 57, 50, 0.24);
}

.checkout-card {
  width: min(100%, 40rem);
  max-height: min(90vh, 52rem);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 30px;
  border: 1px solid rgba(30, 57, 50, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--store-shadow-lg);
}

.checkout-card label,
.admin-form label {
  display: grid;
  gap: 0.55rem;
}

.checkout-card label span,
.admin-form label span,
.admin-inline-field > span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--store-forest);
}

.admin-inline-field {
  display: grid;
  gap: 0.6rem;
}

.admin-form label small {
  color: rgba(39, 37, 31, 0.62);
  font-size: 0.8rem;
  line-height: 1.55;
}

.admin-form label small code {
  color: var(--store-forest);
  font-family: "Space Grotesk", "Urbanist", sans-serif;
  font-weight: 700;
}

.checkout-card input,
.checkout-card textarea,
.admin-form input,
.admin-form textarea {
  width: 100%;
  padding: 0.95rem 0.15rem;
  border: 0;
  border-bottom: 1px solid rgba(30, 57, 50, 0.18);
  background: transparent;
  color: var(--store-text);
  outline: none;
}

.checkout-card input:focus,
.checkout-card textarea:focus,
.admin-form input:focus,
.admin-form textarea:focus {
  border-bottom-color: rgba(0, 112, 74, 0.6);
  box-shadow: inset 0 -1px 0 rgba(0, 112, 74, 0.6);
}

.checkout-card textarea,
.admin-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.checkout-summary {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(30, 57, 50, 0.08);
  border-radius: 24px;
  background: var(--store-mint);
}

.checkout-summary__head,
.checkout-line,
.checkout-summary__totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.checkout-summary__head strong,
.checkout-summary__grand strong {
  color: var(--store-forest);
}

.checkout-summary__items {
  display: grid;
  gap: 0.75rem;
  max-height: 11rem;
  overflow: auto;
}

.checkout-line strong {
  display: block;
  color: var(--store-forest);
}

.checkout-line p {
  margin: 0.2rem 0 0;
  color: var(--store-muted);
}

.checkout-summary__totals {
  display: grid;
  gap: 0.45rem;
}

.checkout-summary__totals span {
  color: var(--store-muted);
}

.checkout-summary__grand span,
.checkout-summary__grand strong {
  font-weight: 900;
  color: var(--store-forest);
}

.checkout-dropzone {
  display: grid;
  place-items: center;
  min-height: 8.5rem;
  padding: 1.25rem;
  border: 1px dashed rgba(0, 112, 74, 0.28);
  border-radius: 24px;
  background: var(--store-mint);
  text-align: center;
}

.checkout-dropzone input {
  padding: 0;
  border: 0;
  background: transparent;
}

.checkout-dropzone strong {
  color: var(--store-green);
  font-size: 1rem;
}

.checkout-dropzone p {
  margin: 0.35rem 0 0;
  color: var(--store-muted);
}

.checkout-submit {
  width: 100%;
}

.store-toast {
  position: fixed;
  right: 1.4rem;
  top: 1.4rem;
  z-index: 40;
  padding: 0.95rem 1.25rem;
  border-radius: 18px;
  background: var(--store-forest);
  color: white;
  box-shadow: 0 22px 40px rgba(30, 57, 50, 0.22);
  font-weight: 800;
}

.empty-state,
.store-loader,
.empty-cart {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  padding: 1.6rem 1.2rem;
  border-radius: 26px;
  border: 1px dashed rgba(30, 57, 50, 0.12);
  background: var(--store-mint);
  color: var(--store-muted);
  text-align: center;
}

.store-loader strong,
.empty-cart strong {
  color: var(--store-forest);
  font-size: 1.05rem;
}

.cup-loader,
.empty-cup {
  position: relative;
  width: 82px;
  height: 96px;
  border: 4px solid rgba(30, 57, 50, 0.2);
  border-top: 0;
  border-radius: 18px 18px 26px 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
}

.cup-loader::after,
.empty-cup::after {
  content: "";
  position: absolute;
  top: 18px;
  right: -18px;
  width: 22px;
  height: 34px;
  border: 4px solid rgba(30, 57, 50, 0.2);
  border-left: 0;
  border-radius: 0 18px 18px 0;
}

.cup-loader span {
  position: absolute;
  inset: auto 0 0;
  height: 0;
  background: linear-gradient(180deg, rgba(0, 112, 74, 0.72), rgba(0, 112, 74, 0.96));
  animation: cup-fill 1.8s ease-in-out infinite;
}

.empty-cup::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 112, 74, 0.08), rgba(255, 255, 255, 0.42)),
    url("/assets/landing-hero.png") center/cover no-repeat;
  opacity: 0.24;
}

@keyframes cup-fill {
  0%,
  100% {
    height: 18%;
  }
  50% {
    height: 84%;
  }
}

.admin-login-card,
.admin-panel {
  margin-top: 1.8rem;
  padding: 1.6rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.35rem;
}

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

.admin-form,
.admin-product-list,
.admin-order-list {
  display: grid;
  gap: 1rem;
}

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

.admin-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.admin-form--advanced {
  gap: 1.2rem;
}

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

.admin-editor-block {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(30, 57, 50, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.admin-form__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-form__head h3,
.admin-variant-card__head h4 {
  margin: 0;
  color: var(--store-forest);
  font-family: "Space Grotesk", "Urbanist", sans-serif;
  letter-spacing: -0.04em;
}

.admin-rich-editor {
  display: grid;
  gap: 0.75rem;
}

.admin-rich-editor__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.admin-toolbar-button {
  min-height: 2.85rem;
  padding: 0.7rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(30, 57, 50, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--store-forest);
  font-weight: 800;
}

.admin-toolbar-button:hover {
  border-color: rgba(0, 112, 74, 0.24);
  box-shadow: var(--store-shadow-sm);
}

.admin-rich-editor__surface {
  min-height: 260px;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(30, 57, 50, 0.12);
  background: white;
  color: var(--store-text);
  line-height: 1.75;
  outline: none;
}

.admin-rich-editor__surface:focus {
  border-color: rgba(0, 112, 74, 0.24);
  box-shadow: 0 0 0 4px rgba(0, 112, 74, 0.08);
}

.admin-rich-editor__surface h3 {
  margin: 1rem 0 0.5rem;
  color: var(--store-forest);
}

.admin-rich-editor__surface p,
.admin-rich-editor__surface ul {
  margin: 0.65rem 0;
}

.admin-rich-editor__surface img {
  width: 100%;
  margin: 0.9rem 0;
  border-radius: 18px;
  box-shadow: var(--store-shadow-sm);
}

.admin-rich-editor__hint {
  margin: 0;
  color: var(--store-muted);
  font-size: 0.92rem;
}

.admin-size-adjustments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.8rem;
}

.admin-size-adjustment {
  display: grid;
  gap: 0.45rem;
}

.admin-size-adjustment span {
  color: var(--store-forest);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.admin-variant-list {
  display: grid;
  gap: 1rem;
}

.admin-variant-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(30, 57, 50, 0.1);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(238, 247, 242, 0.86));
  box-shadow: var(--store-shadow-sm);
}

.admin-variant-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-variant-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.admin-variant-card__wide {
  grid-column: 1 / -1;
}

.admin-variant-card__upload {
  align-self: end;
}

.admin-variant-card__preview {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-variant-card__preview-image {
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(30, 57, 50, 0.12);
  background: var(--store-mint);
}

.admin-variant-card__preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-variant-card__preview-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--store-muted);
  font-weight: 700;
}

.admin-color-chip {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 57, 50, 0.12);
  background: linear-gradient(135deg, #1e3932, #00704a);
}

.admin-stock-table-wrap {
  overflow-x: auto;
  border-radius: 24px;
  border: 1px solid rgba(30, 57, 50, 0.1);
  background: white;
}

.admin-stock-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.admin-stock-table th,
.admin-stock-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(30, 57, 50, 0.08);
  text-align: left;
}

.admin-stock-table thead th {
  color: var(--store-forest);
  background: rgba(238, 247, 242, 0.85);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.admin-stock-table tbody th {
  color: var(--store-forest);
  font-weight: 800;
}

.admin-stock-table input {
  min-height: 2.8rem;
  padding: 0.6rem 0.8rem;
}

.admin-product-row__thumb {
  width: 88px;
  height: 88px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.admin-product-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-choice {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.72rem 0.92rem;
  border: 1px solid rgba(30, 57, 50, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--store-forest);
  font-weight: 700;
}

.admin-choice input {
  width: 1rem !important;
  height: 1rem !important;
  margin: 0;
}

.admin-product-row,
.admin-order-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(30, 57, 50, 0.08);
  background:
    linear-gradient(135deg, rgba(30, 57, 50, 0.96), rgba(0, 112, 74, 0.88));
  color: white;
  box-shadow: var(--store-shadow-sm);
}

.admin-product-row__copy {
  display: grid;
  gap: 0.3rem;
}

.admin-product-row h3,
.admin-order-row h3 {
  margin: 0;
  font-size: 1.08rem;
}

.admin-product-row p,
.admin-order-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.admin-row-actions {
  display: inline-flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.danger-button {
  color: #b7464c;
  border-color: rgba(183, 70, 76, 0.22);
  background: var(--store-red-soft);
}

.danger-button:hover {
  border-color: rgba(183, 70, 76, 0.34);
  box-shadow: 0 12px 24px rgba(183, 70, 76, 0.12);
}

@media (max-width: 1080px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .store-topbar,
  .store-main {
    width: min(100% - 24px, 1380px);
  }

  .store-topbar,
  .store-toolbar,
  .store-section__head {
    flex-direction: column;
    align-items: stretch;
  }

  .store-nav,
  .store-toolbar__meta {
    justify-content: flex-start;
    justify-items: start;
  }

  .quick-filter {
    width: 100%;
  }

  .quick-filter__chip {
    flex: 1;
    justify-content: center;
  }

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

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

  .product-card__body {
    gap: 0.8rem;
    padding: 0.85rem;
  }

  .product-card__copy h3 {
    font-size: 1.02rem;
  }

  .product-card__copy p {
    font-size: 0.9rem;
    -webkit-line-clamp: 3;
  }

  .product-card__actions {
    gap: 0.55rem;
  }

  .product-card__buy,
  .icon-cart-button {
    min-height: 2.9rem;
  }

  .option-pill,
  .size-tile {
    min-height: 2.5rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.88rem;
  }

  .color-swatch {
    width: 2.3rem;
    height: 2.3rem;
  }

  .cart-footer__actions,
  .admin-form__split,
  .admin-form__split--triple,
  .admin-variant-card__grid {
    grid-template-columns: 1fr;
  }

  .floating-actions {
    inset: auto 12px 12px 12px;
  }

  .floating-action {
    min-height: 3rem;
    padding: 0.8rem 0.9rem;
  }

  .floating-action__label {
    display: none;
  }

  .cart-drawer__panel {
    width: 100%;
  }

  .admin-product-row,
  .admin-order-row,
  .admin-form__head,
  .admin-variant-card__head,
  .admin-variant-card__preview {
    flex-direction: column;
  }

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

  .product-detail-sticky {
    position: sticky;
    bottom: 12px;
    display: flex;
    padding: 0.9rem;
    border-radius: 24px;
    border: 1px solid rgba(30, 57, 50, 0.08);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--store-shadow-md);
    z-index: 8;
  }

  .product-detail-actions {
    display: none;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-toolbar__copy h1 {
    font-size: 2.3rem;
  }

  .store-nav__link,
  .store-nav__button,
  .store-nav__cart {
    min-height: 2.8rem;
    padding: 0.72rem 0.92rem;
    font-size: 0.8rem;
  }
}
