:root {
  color-scheme: light;
  --bg: #fff8d6;
  --panel: #fff7bf;
  --panel-strong: #f7d838;
  --accent: #f59e0b;
  --accent-dark: #eab308;
  --text: #2e2105;
  --muted: #6f5b26;
  --border: rgba(233, 179, 0, 0.24);
  --shadow: 0 22px 55px rgba(44, 28, 2, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #FFFDF7;
  color: var(--text);
  min-height: 100vh;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 16px 35px rgba(18, 140, 126, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 22px 45px rgba(18, 140, 126, 0.34);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  min-height: 100vh;
  padding: 2rem 1.5rem 3rem;
}

.page-header {
  max-width: 1180px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.back-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.brand {
  font-size: 1.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family:'Playfair Display', serif;
}

.back-link {
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(234, 179, 8, 0.2);
  box-shadow: 0 18px 40px rgba(34, 17, 0, 0.09);
}

.order-page {
  max-width: 1180px;
  margin: 0 auto;
}

.hero-panel {
  display: grid;
  gap: 1.5rem;
  padding: 2.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
}

.hero-panel h1 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.05;
  margin: 0.8rem 0 1rem;
}

.hero-panel p {
  max-width: 760px;
  font-size: 1rem;
  color: var(--muted);
}

.hero-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(234, 179, 8, 0.12));
  color: var(--text);
  border: 1px solid rgba(234, 179, 8, 0.28);
  font-weight: 600;
}

.order-layout {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.products-section,
.cart-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-heading span {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.75rem;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 2.5vw, 2.6rem);
  line-height: 1.05;
}

.products-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.thanks-note {
  margin-top: 1.5rem;
  padding: 1.2rem 1.4rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(234, 179, 8, 0.25);
  color: #8b3d00;
  text-align: center;
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-family: 'Courgette', cursive;
  letter-spacing: 0.08em;
  text-transform: none;
  font-weight: 400;
  box-shadow: 0 18px 32px rgba(34, 17, 0, 0.08);
}

.product-card {
  display: grid;
  gap: 0.85rem;
  width: 100%;
  min-height: 430px;
  padding: 1.2rem;
  background: #fffefa;
  border: 1px solid rgba(234, 179, 8, 0.22);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(34, 17, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(34, 17, 0, 0.12);
}

.product-image {
  width: 100%;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(247, 216, 56, 0.38), rgba(245, 158, 11, 0.16));
  border: 1px solid rgba(245, 158, 11, 0.14);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-image svg {
  width: 100%;
  max-width: 220px;
  height: auto;
}

.product-details h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.product-details p {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.size-label,
.price-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-dark);
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.size-button {
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(234, 179, 8, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.size-button.active,
.size-button:hover {
  border-color: var(--accent-dark);
  background: rgba(234, 179, 8, 0.18);
  transform: translateY(-1px);
}

.product-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.current-price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: 999px;
  padding: 0.25rem;
}

.quantity-control button {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--panel-strong);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.quantity-control button:hover {
  transform: scale(1.05);
}

.quantity-control span {
  width: 42px;
  text-align: center;
  font-weight: 700;
}

.add-button {
  margin-top: 0.8rem;
  width: 100%;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.add-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(234, 134, 0, 0.28);
}

.add-button:active {
  transform: scale(0.98);
}

.cart-card,
.checkout-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(234, 179, 8, 0.22);
  box-shadow: var(--shadow);
}

.cart-card {
  margin-top: 90px;
}

.cart-header,
.checkout-header {
  margin-bottom: 1rem;
}

.cart-header h2,
.checkout-header h2 {
  font-size: 1.5rem;
}

.cart-header p,
.checkout-header p {
  color: var(--muted);
  margin-top: 0.4rem;
}

.cart-list {
  display: grid;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(234, 179, 8, 0.18);
  background: rgba(255, 255, 255, 0.92);
}

.cart-item .item-info {
  display: grid;
  gap: 0.55rem;
}

.cart-item strong {
  display: block;
  font-size: 1rem;
}

.cart-item small {
  color: var(--muted);
}

.cart-item .item-actions {
  display: grid;
  gap: 0.85rem;
  justify-items: end;
  text-align: right;
}

.cart-item .item-actions span {
  font-weight: 700;
}

.cart-item .remove-button {
  border: none;
  background: transparent;
  color: var(--accent-dark);
  cursor: pointer;
  font-weight: 700;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(234, 179, 8, 0.16);
}

.summary-row span {
  font-weight: 700;
  color: var(--muted);
}

.summary-row strong {
  font-size: 1.5rem;
  color: var(--text);
}

.checkout-card label {
  display: block;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.checkout-card input,
.checkout-card textarea {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(234, 179, 8, 0.25);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 1rem;
}

.checkout-card textarea {
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  cursor: pointer;
  font-weight: 700;
  margin-top: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(234, 134, 0, 0.24);
}

.confirmation-panel {
  margin-top: 1.5rem;
  min-height: 3rem;
  border-radius: 20px;
  padding: 1rem 1.25rem;
  border: 1px solid transparent;
  color: #1d3c10;
  background: rgba(235, 255, 228, 0.82);
  font-weight: 600;
  display: none;
}

.confirmation-panel.visible {
  display: block;
}

.empty-cart {
  color: var(--muted);
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed rgba(234, 179, 8, 0.3);
}

@media (max-width: 940px) {
  .order-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 1.2rem 1rem 2rem;
  }
  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 1rem;
    bottom: 1rem;
  }
  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-footer {
    grid-template-columns: 1fr;
  }
}
