@font-face {
  font-family: "Kendamil Serif";
  src: url("../fonts/Kendamil_Serif-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Elza";
  src: url("../fonts/Elza-Condensed.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Elza";
  src: url("../fonts/Elza-CondensedBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.product-page {
  margin: 0;
  background: #fbf6ee;
  color: #071f60;
  font-family: "Elza", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.35;
  padding-bottom: 77px;
}

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

button {
  font-family: inherit;
}

.top-banner {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 5px;
  background: #071f60;
  color: #fff;
  font-size: 16px;
}

.site-header {
  height: 63px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-bottom: 1px solid #ddd;
  background: #f6f2eb;
}

.nav {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 25px;
}

.mobile-menu {
  display: none;
}

.nav-left {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: clamp(24px, 2.4vw, 42px);
  margin-left: 20px;
  font-family: "Elza", Arial, Helvetica, sans-serif;
  font-size: 21px;
  font-weight: 320;
}

.nav-left a {
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.nav-left a:hover,
.nav-left a:focus-visible {
  border-bottom-color: #071f60;
}

.logo-img {
  display: block;
  width: auto;
  height: 58px;
  max-width: 181px;
  object-fit: contain;
}

.formula-text-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #071f60;
  font-family: "Elza", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.formula-text-logo--header {
  min-width: 181px;
}

.formula-text-logo--footer {
  color: inherit;
  font-size: 28px;
  margin-bottom: 18px;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 38px;
  margin-left: auto;
}

.nav-icon {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}

.user-icon {
  width: 30px;
  height: 30px;
}

.flag-icon {
  width: 24px;
  height: 24px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

@media (min-width: 1181px) {
  .flag-icon,
  .user-icon {
    display: none;
  }

  .nav-right {
    gap: 28px;
  }
}

.cart-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #071f60;
}

.cart-icon {
  width: 35px;
  height: 27px;
  display: block;
  flex-shrink: 0;
}

.cart-count {
  position: relative;
  top: 1px;
  color: #071f60;
  font-size: 18px;
  line-height: 1;
}

.add-basket-button svg,
.chat-button svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.product-hero {
  display: grid;
  grid-template-columns: 880px 508px;
  gap: 75px;
  padding: 28px 50px 64px;
}

.breadcrumbs {
  display: flex;
  gap: 6px;
  margin-bottom: 26px;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.main-image-card {
  position: relative;
  display: flex;
  aspect-ratio: 1 / 1;
  height: auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}

.award-badge {
  position: absolute;
  top: 12px;
  left: 52px;
  width: 57px;
  height: auto;
  z-index: 2;
}

.main-product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.product-hero--sold-out .main-product-image {
  filter: grayscale(1);
  opacity: 0.72;
}

.product-hero--sold-out .main-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(88, 88, 88, 0.52);
  pointer-events: none;
}

.product-sold-out-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 5px;
  background: rgba(7, 31, 96, 0.84);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.thumbnail-row {
  display: grid;
  width: 560px;
  grid-template-columns: repeat(4, 128px);
  gap: 16px;
  margin-top: 16px;
}

.thumb {
  width: 128px;
  height: 130px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

.thumb.is-active {
  border: 1px solid #071f60;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.review-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2px;
}

.stars {
  display: flex;
  gap: 2px;
  color: #d7a857;
  font-family: Arial, sans-serif;
  font-size: 32px;
  line-height: 1;
}

.review-line strong {
  font-size: 16px;
  font-weight: 600;
}

.review-context {
  color: #61708f;
  font-size: 13px;
  line-height: 1.2;
}

.review-summary {
  display: inline-block;
  margin-bottom: 4px;
  color: #61708f;
  font-size: 16px;
}

.product-info h1 {
  margin: 0 0 18px;
  font-family: "Kendamil Serif", Georgia, serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}

.product-meta {
  margin: 0 0 28px;
  font-size: 17px;
}

.product-stock-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 22px !important;
  padding: 7px 14px;
  border-radius: 5px;
  background: #777b84;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.product-bullets {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  font-weight: 700;
}

.product-bullets li {
  position: relative;
  padding-left: 22px;
}

.product-bullets li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 7px;
  height: 12px;
  border-right: 2px solid #178331;
  border-bottom: 2px solid #178331;
  transform: rotate(45deg);
}

.product-info p {
  margin: 0 0 26px;
}

.purchase-box {
  margin-top: 70px;
}

.purchase-option {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid #071f60;
  background: #fff;
  cursor: pointer;
}

.purchase-option.is-selected {
  box-shadow: inset 0 0 0 1px #071f60;
}

.purchase-option--disabled {
  border-color: #d8d8d2;
  background: #f2f2ee;
  color: #8a8a83;
  cursor: not-allowed;
}

.purchase-option--disabled .option-top,
.purchase-option--disabled .option-left,
.purchase-option--disabled .option-details,
.purchase-option--disabled .option-details a,
.purchase-option--disabled .option-note {
  color: inherit;
}

.purchase-option--disabled .radio-dot {
  border-color: #adada6;
  background: #e6e6e0;
}

.purchase-option--disabled .option-details {
  background: #e8e8e2;
}

.purchase-option--disabled .option-details span::before {
  background: #adada6;
}

.purchase-option--disabled .option-details a {
  pointer-events: none;
  text-decoration-color: #adada6;
}

.purchase-option:focus-within {
  outline: 3px solid rgba(7, 31, 96, 0.28);
  outline-offset: 2px;
}

.purchase-option + .purchase-option {
  margin-top: 10px;
}

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

.option-top {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 22px;
  font-weight: 700;
}

.bundle-price {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 9px;
  white-space: nowrap;
}

.bundle-price--sale {
  color: #168144;
}

.bundle-price__was {
  color: #8f8f87;
  font-size: 0.78em;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.bundle-price__now {
  color: #168144;
  font-weight: 800;
}

.purchase-option--disabled .bundle-price__was,
.purchase-option--disabled .bundle-price__now {
  color: inherit;
}

.option-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.radio-dot {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid #071f60;
  border-radius: 50%;
}

.radio-dot::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #071f60;
}

.radio-dot.empty::after {
  display: none;
}

.option-details {
  display: grid;
  gap: 8px;
  padding: 36px 44px 24px;
  background: #e7f2dd;
  font-size: 18px;
}

.option-details span {
  position: relative;
  padding-left: 20px;
}

.option-details span::before,
.delivery-note::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #071f60;
}

.option-details a {
  width: fit-content;
  margin-left: 20px;
  font-weight: 700;
  text-decoration: underline;
}

.option-details .option-note {
  width: fit-content;
  margin-left: 20px;
  padding-left: 0;
  font-weight: 700;
}

.option-details .option-note::before {
  display: none;
}

.pack-picker {
  margin-top: 30px;
}

.pack-picker h2 {
  margin: 0 0 18px;
  font-family: "Kendamil Serif", Georgia, serif;
  font-size: 34px;
  font-weight: 500;
}

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

.pack-buttons button {
  min-height: 54px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid #b8d8ed;
  background: #fff;
  color: #071f60;
  padding: 7px 10px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.05;
  cursor: pointer;
}

.pack-buttons button small {
  display: block;
  color: #168144;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.pack-buttons .is-active {
  border-color: #071f60;
  background: #e7f2dd;
}

.pack-buttons button:disabled {
  border-color: #9a9da5;
  background: #eeeeee;
  color: #777b84;
  cursor: not-allowed;
}

.pack-note {
  margin: 12px 0 0;
  color: #071f60;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.add-basket-button {
  display: flex;
  width: 100%;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
  border: 0;
  background: #071f60;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.add-basket-button:disabled,
.sticky-cart button:disabled {
  background: #777b84;
  color: #fff;
  cursor: not-allowed;
}

.add-basket-button svg {
  width: 28px;
  height: 28px;
}

.delivery-note {
  position: relative;
  display: grid;
  gap: 4px;
  margin: 22px 0 0 52px !important;
  color: #071f60;
  font-family: "Elza", Arial, Helvetica, sans-serif;
  line-height: 1.2;
}

.delivery-note::before {
  top: 18px;
  left: -20px;
}

.delivery-note > span {
  color: #8a2118;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.delivery-note strong {
  display: block;
  color: #071f60;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.delivery-note small {
  display: block;
  color: #31406f;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
}

.product-assurance {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(7, 31, 96, 0.14);
  border-radius: 8px;
  background: #fffdf9;
  color: #071f60;
}

.product-assurance h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
}

.product-assurance ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-assurance li {
  position: relative;
  padding-left: 18px;
  color: #071f60;
  font-size: 15px;
  line-height: 1.35;
}

.product-assurance li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d89212;
}

.product-assurance p {
  margin: 0;
  color: #071f60;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.product-benefits {
  display: grid;
  max-width: 1060px;
  grid-template-columns: repeat(4, 1fr);
  gap: 76px;
  margin: 0 auto 104px;
  text-align: center;
}

.product-benefits article {
  min-width: 0;
}

.product-benefits img {
  display: block;
  width: 118px;
  height: 118px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.product-benefits h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1;
}

.product-benefits p {
  margin: 0;
  font-size: 18px;
}

.product-details {
  max-width: 1022px;
  margin: 0 auto 84px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #9cb67f;
}

.tabs button {
  border: 0;
  background: transparent;
  color: #071f60;
  font-family: "Kendamil Serif", Georgia, serif;
  font-size: 25px;
  font-weight: 500;
  text-align: left;
  padding: 0 0 6px;
}

.tabs button:nth-child(2),
.tabs button:nth-child(3) {
  text-align: center;
}

.tabs .is-active {
  border-bottom: 2px solid #14202d;
}

.preparation-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 120px;
  padding-top: 58px;
}

.prep-left h2 {
  margin: 0 0 12px;
  font-family: "Kendamil Serif", Georgia, serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}

.prep-left p,
.prep-steps p {
  margin: 0 0 24px;
}

.prep-left table {
  width: 230px;
  margin-top: 30px;
  border-collapse: collapse;
  border: 1px solid #9cb67f;
}

.prep-left th,
.prep-left td {
  width: 50%;
  height: 64px;
  border-bottom: 1px solid #9cb67f;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}

.prep-left td {
  border-bottom: 0;
}

.prep-steps h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}

.product-tab-panel[hidden] {
  display: none;
}

.nutrition-panel,
.ingredients-panel {
  padding-top: 42px;
}

.nutrition-panel__intro {
  max-width: 620px;
  margin-bottom: 20px;
}

.nutrition-panel h2,
.ingredients-panel h2 {
  margin: 0 0 12px;
  color: #071f60;
  font-family: "Kendamil Serif", Georgia, serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}

.nutrition-panel p,
.ingredients-panel p {
  margin: 0;
  color: #14202d;
  font-size: 16px;
  line-height: 1.55;
}

.ingredients-panel {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 42px;
}

.facts-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #9a7004;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.facts-table {
  width: 100%;
  margin-top: 26px;
  border-collapse: collapse;
  border: 1px solid #9cb67f;
}

.facts-table th,
.facts-table td {
  width: 50%;
  height: 60px;
  border-bottom: 1px solid #9cb67f;
  color: #071f60;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}

.facts-table td {
  border-bottom: 0;
}

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

.nutrition-group {
  border: 1px solid rgba(7, 31, 96, 0.16);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.nutrition-group h3 {
  margin: 0 0 8px;
  color: #071f60;
  font-size: 17px;
  font-weight: 800;
}

.nutrition-group dl {
  margin: 0;
}

.nutrition-group dl > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(7, 31, 96, 0.1);
  padding: 8px 0;
}

.nutrition-group dl > div:first-child {
  border-top: 0;
}

.nutrition-group dt,
.nutrition-group dd {
  color: #071f60;
  font-size: 13px;
  line-height: 1.25;
}

.nutrition-group dd {
  margin: 0;
  text-align: right;
}

.nutrition-group dd strong {
  display: block;
  font-weight: 800;
}

.nutrition-group dd span {
  display: block;
  margin-top: 2px;
  color: #53617a;
  font-size: 11px;
}

.key-ingredients-list,
.ingredient-notes {
  margin: 16px 0 0;
  padding-left: 18px;
}

.key-ingredients-list li,
.ingredient-notes li {
  margin-bottom: 8px;
  color: #071f60;
  font-size: 15px;
  line-height: 1.35;
}

.ingredients-copy {
  font-size: 15px;
}

.label-note {
  margin-top: 16px;
  border-left: 3px solid #d99a13;
  background: #f7f0e3;
  padding: 12px 14px;
  font-size: 14px;
}

.facts-source {
  display: inline-flex;
  margin-top: 14px;
  color: #071f60;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quiz-banner {
  display: flex;
  min-height: 96px;
  align-items: end;
  justify-content: center;
  background: #071f60;
  color: #fff;
  padding-bottom: 4px;
}

.quiz-banner h2 {
  margin: 0;
  font-family: "Kendamil Serif", Georgia, serif;
  font-size: 40px;
  font-weight: 500;
}

.product-footer {
  background: #071f60;
  color: #fff;
  padding: 72px 0 26px;
}

.footer-grid {
  display: grid;
  width: min(1405px, calc(100% - 80px));
  grid-template-columns: 330px 150px 160px 170px 370px;
  gap: 58px;
  margin: 0 auto;
}

.footer-brand img {
  display: block;
  width: 194px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-newsletter p {
  margin: 0;
}

.product-footer h3 {
  margin: 0 0 14px;
  font-family: "Kendamil Serif", Georgia, serif;
  font-size: 25px;
  font-weight: 600;
}

.product-footer a {
  display: block;
  margin-bottom: 14px;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 28px;
}

.social-row a {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.social-row svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.whatsapp-link {
  margin-top: 32px;
  font-size: 10px;
}

.footer-legal {
  margin: 62px 0 0;
  text-align: center;
}

.footer-legal a {
  display: inline;
  margin-bottom: 0;
}

.sticky-cart {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: grid;
  height: 77px;
  align-items: center;
  justify-content: center;
  grid-template-columns: auto auto 390px;
  gap: 18px;
  background: #edf8e5;
  color: #071f60;
}

.sticky-cart button {
  height: 46px;
  border: 0;
  background: #071f60;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.chat-button {
  position: fixed;
  right: 36px;
  bottom: 35px;
  z-index: 30;
  display: flex;
  width: 65px;
  height: 65px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #071f60;
  color: #fff;
  cursor: pointer;
}

.chat-button svg {
  width: 31px;
  height: 31px;
  fill: #fff;
  stroke: #fff;
}

@media (max-width: 1180px) {
  .top-banner {
    min-height: 28px;
    height: auto;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
  }

  .site-header {
    height: 58px;
  }

  .nav {
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    padding: 0 14px;
  }

  .mobile-menu {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .mobile-menu span {
    width: 22px;
    height: 2px;
    display: block;
    background: #071f60;
  }

  .nav-left {
    display: none;
  }

  .logo {
    justify-self: center;
  }

  .logo-img {
    width: auto;
    height: 50px;
  }

  .nav-right {
    justify-self: end;
    gap: 14px;
    margin-left: 0;
  }

  .flag-icon,
  .user-icon {
    display: none;
  }

  .cart-icon {
    width: 31px;
    height: 24px;
  }

  .cart-count {
    font-size: 14px;
  }
}

@media (max-width: 1200px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .product-info {
    padding-top: 0;
  }

  .main-image-card {
    height: auto;
  }

  .product-benefits,
  .preparation-layout,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ingredients-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .product-details {
    width: calc(100% - 48px);
  }
}

@media (max-width: 720px) {
  body.product-page {
    padding-bottom: 122px;
  }

  .product-nav {
    display: flex;
    justify-content: space-between;
    padding: 0 18px;
  }

  .product-nav-links {
    display: none;
  }

  .product-logo img {
    width: 150px;
  }

  .product-actions {
    gap: 12px;
  }

  .product-actions svg {
    width: 24px;
    height: 24px;
  }

  .product-hero {
    padding: 22px 18px 46px;
  }

  .main-image-card {
    height: auto;
  }

  .main-product-image {
    width: 100%;
    padding: 0;
  }

  .thumbnail-row,
  .pack-buttons,
  .product-benefits,
  .tabs,
  .preparation-layout,
  .footer-grid,
  .sticky-cart {
    grid-template-columns: 1fr;
  }

  .thumb {
    height: 180px;
  }

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

  .purchase-box {
    margin-top: 42px;
  }

  .option-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
  }

  .product-benefits {
    width: calc(100% - 36px);
    gap: 34px;
    margin-bottom: 60px;
  }

  .tabs button,
  .tabs button:nth-child(2),
  .tabs button:nth-child(3) {
    text-align: left;
  }

  .preparation-layout {
    gap: 36px;
  }

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

  .quiz-banner h2 {
    font-size: 32px;
  }

  .product-footer {
    padding-bottom: 120px;
  }

  .footer-grid {
    width: calc(100% - 36px);
    gap: 32px;
  }

  .sticky-cart {
    height: auto;
    padding: 14px 18px;
    gap: 10px;
  }

  .sticky-cart button {
    width: 100%;
  }

  .chat-button {
    right: 18px;
    bottom: 94px;
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 720px) {
  body.product-page {
    background: #fbf6ee;
    font-size: 16px;
    line-height: 1.3;
    padding-bottom: 112px;
  }

  .top-banner {
    min-height: 28px;
    height: auto;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
  }

  .site-header {
    height: 58px;
  }

  .nav {
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    padding: 0 14px;
  }

  .mobile-menu {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .mobile-menu span {
    width: 22px;
    height: 2px;
    display: block;
    background: #071f60;
  }

  .nav-left {
    display: none;
  }

  .logo {
    justify-self: center;
  }

  .logo-img {
    width: auto;
    height: 50px;
  }

  .nav-right {
    justify-self: end;
    gap: 14px;
    margin-left: 0;
  }

  .flag-icon,
  .user-icon {
    display: none;
  }

  .cart-icon {
    width: 31px;
    height: 24px;
  }

  .cart-count {
    font-size: 14px;
  }

  .product-announcement {
    height: 28px;
    font-size: 13px;
    line-height: 28px;
  }

  .product-header {
    top: 28px;
    height: 58px;
    box-shadow: 0 1px 0 rgba(7, 31, 96, 0.08);
  }

  .product-nav {
    display: grid;
    height: 58px;
    grid-template-columns: 44px 1fr 44px;
    padding: 0 16px;
  }

  .product-nav::before {
    content: "";
    display: block;
    width: 28px;
    height: 16px;
    align-self: center;
    justify-self: start;
    border-top: 2px solid #071f60;
    border-bottom: 2px solid #071f60;
  }

  .product-logo {
    grid-column: 2;
    justify-self: center;
  }

  .product-logo img {
    width: 142px;
  }

  .product-actions {
    grid-column: 3;
    justify-self: end;
    gap: 0;
  }

  .product-actions > :not(.cart-link) {
    display: none;
  }

  .cart-link {
    gap: 2px;
    font-size: 13px;
  }

  .product-hero {
    display: block;
    padding: 0 0 34px;
  }

  .product-gallery {
    margin-bottom: 24px;
  }

  .breadcrumbs {
    display: none;
  }

  .main-image-card {
    height: auto;
    border-radius: 0 0 28px 28px;
  }

  .main-product-image {
    width: 100%;
    height: 100%;
    padding: 0;
  }

  .thumbnail-row {
    width: calc(100% - 32px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 12px auto 0;
  }

  .thumb {
    width: 100%;
    height: 76px;
    border-radius: 12px;
    overflow: hidden;
  }

  .thumb img {
    object-fit: cover;
    padding: 0;
  }

  .product-info {
    padding: 0 18px;
  }

  .review-line {
    gap: 8px;
    margin-bottom: 8px;
  }

  .stars {
    font-size: 20px;
  }

  .review-line strong,
  .review-summary,
  .product-meta {
    font-size: 14px;
  }

  .product-info h1 {
    margin-bottom: 10px;
    font-size: 34px;
    line-height: 0.96;
  }

  .product-meta {
    margin-bottom: 18px;
  }

  .product-bullets {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 18px;
    background: #fff;
  }

  .product-bullets li {
    padding-left: 20px;
  }

  .product-info p {
    margin-bottom: 16px;
  }

  .purchase-box {
    margin-top: 24px;
  }

  .purchase-option {
    border-radius: 16px;
    overflow: hidden;
  }

  .option-top {
    min-height: auto;
    padding: 14px;
    font-size: 17px;
  }

  .option-details {
    gap: 7px;
    padding: 16px 18px;
    font-size: 15px;
  }

  .pack-picker {
    margin-top: 24px;
  }

  .pack-picker h2 {
    margin-bottom: 12px;
    font-size: 28px;
  }

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

  .pack-buttons button {
    min-height: 56px;
    height: auto;
    padding: 7px 6px;
    border-radius: 999px;
    font-size: 16px;
  }

  .pack-buttons button small {
    font-size: 10px;
  }

  .pack-note {
    margin-top: 10px;
    font-size: 14px;
  }

  .add-basket-button {
    height: 52px;
    margin-top: 20px;
    border-radius: 999px;
    font-size: 15px;
  }

  .delivery-note {
    margin: 16px 0 0 20px !important;
    font-size: 15px;
  }

  .product-assurance {
    margin-top: 18px;
    padding: 16px;
  }

  .product-assurance h2 {
    font-size: 17px;
  }

  .product-assurance li,
  .product-assurance p {
    font-size: 14px;
  }

  .product-benefits {
    width: calc(100% - 36px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 8px auto 44px;
  }

  .product-benefits article {
    padding: 16px 10px;
    border-radius: 18px;
    background: #fff;
  }

  .product-benefits img {
    width: 58px;
    height: 58px;
    margin-bottom: 10px;
  }

  .product-benefits h3 {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .product-benefits p {
    font-size: 13px;
  }

  .product-details {
    width: calc(100% - 36px);
    margin-bottom: 44px;
  }

  .tabs {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .tabs button {
    flex: 0 0 auto;
    font-size: 20px;
    white-space: nowrap;
  }

  .preparation-layout {
    padding-top: 28px;
  }

  .nutrition-panel,
  .ingredients-panel {
    padding-top: 28px;
  }

  .nutrition-panel h2,
  .ingredients-panel h2 {
    font-size: 28px;
  }

  .nutrition-group {
    padding: 14px;
  }

  .ingredients-copy {
    font-size: 14px;
  }

  .prep-left h2 {
    font-size: 30px;
  }

  .prep-left table {
    width: 100%;
  }

  .quiz-banner {
    min-height: 82px;
    padding: 18px;
    text-align: center;
  }

  .quiz-banner h2 {
    font-size: 28px;
    line-height: 1;
  }

  .product-footer {
    padding: 42px 0 116px;
  }

  .sticky-cart {
    grid-template-columns: 1fr auto;
    padding: 12px 16px 14px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 24px rgba(7, 31, 96, 0.12);
  }

  .sticky-cart span,
  .sticky-cart strong {
    align-self: center;
  }

  .sticky-cart button {
    grid-column: 1 / -1;
    height: 50px;
    border-radius: 999px;
  }

  .chat-button {
    display: none;
  }
}

@media (max-width: 390px) {
  .product-info h1 {
    font-size: 31px;
  }

  .main-image-card {
    height: auto;
  }

  .pack-buttons button {
    font-size: 14px;
  }
}
