:root {
  --bg: #fffdf9;
  --bg-soft: #fff4e8;
  --surface: #ffffff;
  --surface-2: #fff9f2;
  --ink: #3d2d22;
  --muted: #7f6756;
  --line: #f7e4d2;
  --primary: #e07a45;
  --primary-dark: #c8642f;
  --accent: #f4b266;
  --success: #5aa56a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hind Siliguri", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, #fff7ee 0%, transparent 48%),
    radial-gradient(circle at top right, #fff3e7 0%, transparent 42%),
    linear-gradient(180deg, #fffdf9 0%, #fff8f1 100%);
}

.top-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #ffd9b0;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(8px);
}

.top-header__inner,
.landing-wrap {
  width: min(1040px, 94vw);
  margin: 0 auto;
}

.top-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  display: block;
  height: 55px;
  width: auto;
}

.top-header__contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.top-header__contacts a {
  text-decoration: none;
  color: #5c3d2d;
  border: 1px solid #f4c89f;
  background: #fff7ed;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.top-header__contacts a:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.landing-wrap {
  margin: 18px auto 30px;
}

.info-block {
  margin-top: 24px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--surface) 0%, #fff9f2 100%);
  box-shadow: 0 16px 36px rgba(195, 97, 36, 0.11);
}

.info-block--media {
  display: grid;
  grid-template-columns: minmax(340px, 48%) 1fr;
  gap: 20px;
  align-items: stretch;
}

.info-block__image {
  display: grid;
  gap: 12px;
}

.media-slider {
  position: relative;
  min-height: 470px;
  border: 1px solid #f3d3b0;
  border-radius: 14px;
  background:
    radial-gradient(circle at top, rgba(255, 241, 225, 0.85) 0%, transparent 50%),
    linear-gradient(180deg, #fffdfb 0%, #fff5ea 100%);
  overflow: hidden;
}

.media-slider__viewport {
  position: relative;
  min-height: 470px;
}

.media-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease;
  margin: 0;
  padding: 18px;
}

.media-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.media-slide img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.media-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #8b4f2b;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(120, 67, 34, 0.16);
}

.media-slider__btn--prev {
  left: 12px;
}

.media-slider__btn--next {
  right: 12px;
}

.media-slider__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.media-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #dfbb97;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.media-dot.is-active {
  background: var(--primary);
  transform: scale(1.15);
}

.media-dot:hover {
  background: #d99563;
}

.info-block h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
}

.info-block h3 {
  margin: 14px 0 10px;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--primary-dark);
}

.info-block ul,
.info-block ol {
  margin: 0;
  padding-left: 20px;
}

.info-block li {
  margin-bottom: 9px;
  line-height: 1.55;
  color: #523d2f;
}

.info-block p {
  margin: 0 0 10px;
  line-height: 1.6;
  color: #533f31;
}

.info-block p:last-child {
  margin-bottom: 0;
}

.strong {
  font-weight: 700;
  color: var(--primary-dark);
}

.mt-1 {
  margin-top: 10px;
}

.dots {
  display: flex;
  justify-content: flex-start;
  gap: 7px;
  margin: 10px 0 16px;
}

.dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #dfbb97;
}

.dot.active {
  background: var(--primary);
}

.order-btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 700;
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, var(--primary), #ff7b39);
  box-shadow: 0 10px 20px rgba(217, 72, 15, 0.26);
}

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

.products-section {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, #fffdf9 0%, var(--surface-2) 100%);
}

.promo-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.promo-grid .promo-left,
.promo-grid .promo-right {
  margin-top: 0;
  width: 100%;
}

.products-section h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(22px, 2.8vw, 34px);
}

.line {
  display: block;
  width: 76px;
  height: 4px;
  border-radius: 999px;
  margin: 10px auto 20px;
  background: linear-gradient(90deg, #f59f00, #d9480f);
}

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

.product-card {
  border: 1px solid #f0d3b3;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 10px 20px rgba(89, 48, 18, 0.08);
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #7a4c2f;
  background: #ffebd3;
  padding: 3px 9px;
  border-radius: 999px;
}

.product-card img {
  width: 100%;
  margin-top: 8px;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.product-card h3 {
  margin: 8px 0 4px;
  font-size: 18px;
}

.product-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.offer-box,
.checkout,
.info-block:not(.info-block--media) {
  border-radius: 22px;
}

.offer-box {
  margin: 30px auto 0;
  width: min(780px, 100%);
  border: 1px solid #ffbf8d;
  padding: 30px 22px;
  text-align: center;
  background:
    radial-gradient(circle at top right, #fff1df 0%, transparent 45%),
    linear-gradient(165deg, #fffefc 0%, #fff3e6 100%);
  box-shadow: 0 14px 28px rgba(191, 93, 30, 0.12);
}

.offer-box h3 {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: clamp(24px, 2.9vw, 34px);
  line-height: 1.25;
}

.offer-box p {
  margin: 0;
  color: #5a3b2a;
  font-size: 17px;
  line-height: 1.6;
}

.price-box {
  width: min(100%, 380px);
  margin: 18px auto;
  border-radius: 16px;
  border: 1px solid #f0d7cf;
  background: linear-gradient(180deg, #fffafa 0%, #fff4f1 100%);
  padding: 16px 20px;
  box-shadow: 0 8px 18px rgba(167, 78, 37, 0.08);
  text-align: center;
}

.price-box small {
  display: block;
  color: #4c3426;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 10px;
}

.price-box__values {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.price-box .old-price {
  display: inline-block;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: #8c8078;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  white-space: nowrap;
}

.price-box .new-price {
  display: inline-block;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1;
  color: #d92d20;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .price-box small {
    font-size: 18px;
  }

  .price-box {
    padding: 14px 16px;
  }

  .price-box__values {
    gap: 6px 10px;
  }
}

.note {
  display: block;
  margin-top: 12px;
  color: #8f4d25;
  font-weight: 600;
}

.checkout {
  margin-top: 30px;
  border: 1px solid #f3d3ad;
  background:
    radial-gradient(circle at top left, #fff6ea 0%, transparent 45%),
    linear-gradient(145deg, #fffdf9 0%, #fff6ee 100%);
  padding: 22px;
  box-shadow: 0 12px 24px rgba(114, 57, 24, 0.08);
}

.checkout h2 {
  margin: 0 0 16px;
  text-align: center;
  font-size: clamp(22px, 3vw, 34px);
  color: #4c2f1f;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px;
}

.left,
.right {
  background: #fff;
  border: 1px solid #efd2b1;
  border-radius: 16px;
  padding: 16px;
}

.left label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #5c3e2c;
}

.shipping-field {
  margin-top: 6px;
}

.left input:not([type="radio"]):not([type="hidden"]),
.left textarea,
.left select {
  width: 100%;
  /* margin-bottom: 11px; */
  padding: 11px;
  font-size: 16px;
  border: 1px solid #e5c8a7;
  border-radius: 10px;
  background: #fffdfa;
  color: #3f2c1f;
}

.left input:not([type="radio"]):not([type="hidden"]):focus,
.left textarea:focus,
.left select:focus {
  outline: 2px solid #ffd7a8;
  border-color: #d67f4b;
}

.shipping-title {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
  color: #3f4348;
}

.shipping-options {
  border: 2px solid #d1d6dc;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 20, 20, 0.02);
}

.shipping-option {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  padding: 15px 20px;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
  background: #fff;
}

.shipping-option + .shipping-option {
  border-top: 2px solid #d1d6dc;
}

.shipping-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.shipping-option__radio {
  width: 25px;
  height: 25px;
  border: 2px solid #d3d8de;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 1px 4px rgba(32, 35, 38, 0.12);
  float: left;
  gap: 5px;
}

.shipping-option__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap;
  margin-left: 40px;
  margin-top: 4px;
}

.shipping-option__name {
  font-size: 18px;
  font-weight: 500;
  color: #4e5358;
  line-height: 1.2;
  white-space: nowrap;
}

.shipping-option__price {
  font-size: 18px;
  font-weight: 500;
  color: #4e5358;
  line-height: 1.2;
  white-space: nowrap;
}

.shipping-option input:checked + .shipping-option__radio::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f0672a;
}

.shipping-option input:focus-visible + .shipping-option__radio {
  outline: 2px solid #ffd7a8;
  outline-offset: 2px;
}

.product-preview {
  margin-top: 18px;
}

.product-preview__title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  color: #3f4348;
}

.product-preview__card {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 150px;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 20px;
  border: 2px solid #ff6a30;
  border-radius: 14px;
  background: #fff;
}

.product-preview__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  padding: 7px 12px 8px;
  border-radius: 0 12px 0 12px;
  background: #ff6a30;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.product-preview__media img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.product-preview__details h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: #47484d;
}

.product-preview__details p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #4e5358;
  line-height: 1.3;
}

.product-preview__quantity {
  justify-self: end;
  display: grid;
  grid-template-columns: 38px 58px 38px;
  align-items: stretch;
  border: 2px solid #cfd4da;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.preview-qty-btn,
.product-preview__quantity input {
  height: 44px;
  border: 0;
  background: #fff;
  color: #55585d;
}

.preview-qty-btn {
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
}

.product-preview__quantity input {
  width: 100%;
  padding: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  appearance: textfield;
  border-left: 2px solid #cfd4da;
  border-right: 2px solid #cfd4da;
}

.product-preview__quantity input::-webkit-outer-spin-button,
.product-preview__quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

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

.right h4 {
  margin: 0 0 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed #ebd2ba;
  padding: 11px 0;
}

.summary-row--quantity {
  align-items: center;
}

.quantity-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid #e9d1ba;
  border-radius: 12px;
  background: #fffaf5;
}

.quantity-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.qty-btn {
  width: 42px;
  height: 42px;
  border: 1px solid #d9b896;
  border-radius: 10px;
  background: #fff;
  color: #734629;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: background 0.16s ease, border-color 0.16s ease;
}

.qty-btn:hover {
  background: #fff2e6;
  border-color: #cd9b70;
}

.qty-btn:active {
  background: #ffe7d2;
}

.qty-btn:focus-visible {
  outline: 2px solid #ffbe78;
  outline-offset: 2px;
}

.quantity-box input {
  width: 92px;
  height: 42px;
  padding: 0 34px 0 10px;
  border: 1px solid #d9b896;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: #2f221a;
  background: #fff;
  appearance: textfield;
}

.quantity-box input:focus {
  outline: 3px solid #ffe1c3;
  border-color: #cd9b70;
  box-shadow: none;
}

.quantity-box input::-webkit-outer-spin-button,
.quantity-box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-unit {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  border: 1px solid #efd3b6;
  background: #fff6ec;
  color: #8a5631;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
  box-shadow: none;
}

.summary-row.total {
  border-bottom: 0;
  color: #c92b00;
  font-size: 26px;
  font-weight: 700;
}

.place-order {
  width: 100%;
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  padding: 14px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--success), #52b788);
  box-shadow: 0 10px 22px rgba(43, 138, 62, 0.28);
}

.page-footer {
  margin-top: 28px;
  text-align: center;
  color: #fff;
  padding: 26px 10px;
  background:
    radial-gradient(circle at top center, rgba(255, 228, 197, 0.24) 0%, transparent 38%),
    linear-gradient(120deg, #8d5638, #b8744d);
}

.page-footer a {
  text-decoration: none;
  color: #ffe8cc;
  margin: 0 8px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.page-footer a:hover {
  border-bottom-color: #ffd7aa;
}

.page-footer p {
  margin: 8px 0 0;
  font-size: 13px;
  color: #ffe7ce;
}

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

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

  .promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .info-block--media {
    grid-template-columns: 1fr;
  }

  .media-slider,
  .media-slider__viewport {
    min-height: 360px;
  }

  .media-slide img {
    min-height: 324px;
  }

  .top-header__inner {
    min-height: auto;
    padding: 10px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .top-header__contacts {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }

  .brand-logo {
    font-size: 24px;
  }

  .triple {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .landing-wrap,
  .top-header__inner {
    width: 95vw;
  }

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

  .info-block,
  .products-section,
  .checkout {
    padding: 14px;
  }

  .summary-row--quantity {
    align-items: flex-start;
    flex-direction: column;
  }

  .quantity-box {
    width: 100%;
    justify-content: space-between;
  }

  .quantity-input-wrap {
    flex: 1;
    margin: 0 8px;
  }

  .quantity-box input {
    width: 100%;
  }

  .shipping-option {
    grid-template-columns: 36px 1fr;
    padding: 14px 12px;
  }

  .product-preview__card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .product-preview__badge {
    font-size: 13px;
  }

  .product-preview__media {
    margin-top: 18px;
  }

  .product-preview__media img {
    width: 84px;
    height: 84px;
  }

  .product-preview__details h4 {
    font-size: 17px;
  }

  .product-preview__details p {
    font-size: 15px;
  }

  .product-preview__quantity {
    justify-self: start;
    grid-template-columns: 36px 54px 36px;
  }

  .preview-qty-btn,
  .product-preview__quantity input {
    height: 40px;
  }

  .preview-qty-btn {
    font-size: 22px;
  }

  .product-preview__quantity input {
    font-size: 16px;
  }

  .shipping-option__row {
    gap: 10px;
  }

  .shipping-option__name,
  .shipping-option__price {
    font-size: 18px;
  }
}
