*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Open Sans", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #444444;
  background-color: #fbfbfb;
  background-image: linear-gradient(rgba(251, 251, 251, 0.88), rgba(251, 251, 251, 0.88)), url("../images/teaboom-pattern.png");
  background-repeat: repeat, repeat;
  background-size: auto, 520px;
  background-attachment: fixed, fixed;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer__inner, .page, .site-header__inner {
  width: min(100% - 1.5rem, 1200px);
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .site-footer__inner, .page, .site-header__inner {
    width: min(100% - 2.5rem, 1200px);
  }
}
@media (min-width: 1440px) {
  .site-footer__inner, .page, .site-header__inner {
    width: min(100% - 3.75rem, 1320px);
  }
}

.site-header {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
  box-shadow: 0 4px 16px rgba(32, 32, 32, 0.04);
}
.site-header__top {
  background: rgba(230, 219, 174, 0.1607843137);
  border-bottom: 1px solid rgba(92, 99, 47, 0.12);
  padding: 0.75rem 0;
}
.site-header__bottom {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
  padding: 0.55rem 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-header__inner--nav {
  flex-wrap: nowrap;
  gap: 1.25rem;
}
@media (max-width: 767px) {
  .site-header__inner--nav {
    flex-direction: column;
    align-items: stretch;
  }
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #202020;
  min-width: 0;
}
.site-header__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .site-header__logo {
    width: 48px;
    height: 48px;
  }
}
.site-header__name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.site-header__title {
  font-size: 1.125rem;
  font-weight: 700;
}
.site-header__subtitle {
  font-size: 0.75rem;
  color: #666666;
}
@media (max-width: 479px) {
  .site-header__subtitle {
    display: none;
  }
}
.site-header__contacts {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}
@media (min-width: 768px) {
  .site-header__contacts {
    display: flex;
  }
}
.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  color: #202020;
  text-decoration: none;
}
.site-header__phone:hover {
  color: #5c632f;
}
.site-header__email {
  font-size: 0.8125rem;
  color: #666666;
  text-decoration: none;
}
.site-header__email:hover {
  color: #5c632f;
}
.site-header__hours {
  margin: 0;
  font-size: 0.75rem;
  color: #999999;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.site-header__icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgb(94.6078431373%, 92.2352941176%, 82.5294117647%);
  color: #5c632f;
  cursor: default;
}
.site-header__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 50px;
  background: #5c632f;
  color: #f7f3e8;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.site-nav {
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  white-space: nowrap;
}
.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #202020;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav a:hover, .site-nav a.is-active {
  color: #5c632f;
  border-bottom-color: #5c632f;
}
.site-nav__gift {
  color: #cc6600 !important;
}

.site-search {
  display: none;
  align-items: stretch;
  flex: 1 1 220px;
  max-width: 360px;
  margin-left: auto;
}
@media (min-width: 768px) {
  .site-search {
    display: flex;
  }
}
.site-search__input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 0.85rem;
  border: 1px solid #e6e6e6;
  border-right: 0;
  border-radius: 50px 0 0 50px;
  background: #ffffff;
  color: #999999;
  cursor: default;
}
.site-search__input:disabled {
  opacity: 1;
}
.site-search__btn {
  width: 46px;
  height: 38px;
  border: none;
  border-radius: 0 50px 50px 0;
  background: #5c632f;
  color: #f7f3e8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.page {
  padding: 0.65rem 0 2.5rem;
}
@media (min-width: 768px) {
  .page {
    padding: 0.85rem 0 3.25rem;
  }
}
@media (min-width: 1440px) {
  .page {
    padding: 1rem 0 4rem;
  }
}

.breadcrumbs {
  margin-bottom: 0.4rem;
}
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0;
  font-size: 0.8125rem;
  color: #666666;
  line-height: 1.5;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin: 0 0.4rem;
  color: #999999;
}
.breadcrumbs a {
  color: #666666;
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: #202020;
  text-decoration: underline;
}
.breadcrumbs span[aria-current=page] {
  color: #202020;
  font-weight: 600;
}

.page-title {
  margin: 0 0 0.75rem;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.25;
  color: #202020;
}
@media (min-width: 768px) {
  .page-title {
    font-size: 1.875rem;
    margin-bottom: 0.9rem;
  }
}
@media (min-width: 1440px) {
  .page-title {
    font-size: 2.125rem;
  }
}

.layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 1.5rem 1.75rem;
  }
}
@media (min-width: 1440px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2rem;
  }
}

.categories {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(32, 32, 32, 0.04);
}
.categories__title {
  margin: 0;
  padding: 0.85rem 1.1rem;
  background: #202020;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.categories__list {
  background: #ffffff;
}
.categories a {
  display: block;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid #f0f0f0;
  color: #202020;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.categories a:hover {
  background: #e6dbae;
  color: #202020;
}
.categories a.is-current {
  background: transparent;
  color: #202020;
  box-shadow: inset 3px 0 0 #5c632f;
  font-weight: 700;
}
.categories a.is-current:hover {
  background: transparent;
}
.categories li:last-child a {
  border-bottom: none;
}

.product {
  display: grid;
  gap: 1.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(32, 32, 32, 0.06);
}
@media (min-width: 768px) {
  .product {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.5rem 1.75rem;
    padding: 1.35rem;
    align-items: start;
  }
}
@media (min-width: 1440px) {
  .product {
    grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
    gap: 2rem 2.5rem;
    padding: 1.75rem 2rem;
  }
}
@media (min-width: 768px) {
  .product__gallery {
    position: sticky;
    top: 1rem;
  }
}
.product__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  aspect-ratio: 1/1;
}
.product__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 0.2rem 0.45rem;
  background: #d62828;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}
.product__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product__info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}
.product__category {
  margin: 0;
  font-size: 0.9375rem;
  color: #666666;
}
.product__category a {
  color: #202020;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product__category a:hover {
  color: #8a7600;
}
.product__sku {
  margin: 0;
  font-size: 0.875rem;
  color: #666666;
}
.product__sku-value {
  font-weight: 600;
  color: #202020;
  font-variant-numeric: tabular-nums;
}
.product__packaging {
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}
.product__packaging-legend {
  margin-bottom: 0.65rem;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: #202020;
}
.product__packaging-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .product__packaging-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.625rem;
  }
}
.product__packaging-btn {
  min-height: 2.75rem;
  padding: 0.625rem 0.5rem;
  border: 1.5px solid #e6e6e6;
  border-radius: 2px;
  background: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #202020;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.product__packaging-btn:focus-visible {
  outline: 2px solid #5c632f;
  outline-offset: 2px;
}
.product__packaging-btn:hover {
  border-color: #5c632f;
}
.product__packaging-btn.is-active {
  border-color: #5c632f;
  background: #ffffff;
  color: #202020;
  box-shadow: inset 0 0 5px rgba(92, 99, 47, 0.16), inset 0 0 2px rgba(92, 99, 47, 0.1);
}
.product__purchase {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-top: 0.15rem;
  padding-top: 1rem;
  border-top: 1px solid #e6e6e6;
  min-width: 0;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .product__purchase {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1.25rem;
  }
}
@media (min-width: 1440px) {
  .product__purchase {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1.25rem;
  }
}
.product__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.85rem;
  flex: 1 1 auto;
  min-width: 0;
}
.product__price {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: #d62828;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (min-width: 1440px) {
  .product__price {
    font-size: 2rem;
  }
}
.product__price-value {
  white-space: nowrap;
}
.product__price-currency {
  font-size: 0.72em;
  font-weight: 700;
}
.product__price-old {
  margin: 0;
  font-size: 1rem;
  color: #888888;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.product__price-old s {
  text-decoration-thickness: 1.5px;
}
.product__price-old[hidden] {
  display: none;
}
.product__cart {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 3rem;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .product__cart {
    width: auto;
    flex: 1 1 13.5rem;
    max-width: 20rem;
  }
}
@media (min-width: 1440px) {
  .product__cart {
    width: auto;
    flex: 0 1 13.5rem;
    max-width: 20rem;
  }
}
.product__cart.is-in-cart .product__cart-btn {
  visibility: hidden;
  pointer-events: none;
}
.product__cart.is-in-cart .product__cart-qty {
  visibility: visible;
  pointer-events: auto;
}
.product__cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 0;
  background: #e6dbae;
  color: #000000;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.product__cart-btn:focus-visible {
  outline: 2px solid #5c632f;
  outline-offset: 2px;
}
.product__cart-btn:hover {
  background: #5c632f;
  color: #fff;
}
.product__cart-btn:active {
  background: #515828;
  color: #fff;
}
.product__cart-icon {
  flex-shrink: 0;
}
.product__cart-qty {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: stretch;
  width: 100%;
  min-height: 3rem;
  border: none;
  border-radius: 0;
  background: #5c632f;
  color: #f7f3e8;
  visibility: hidden;
  pointer-events: none;
}
.product__cart-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  border: none;
  background: transparent;
  color: inherit;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.product__cart-qty-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}
.product__cart-qty-btn:active {
  background: rgba(0, 0, 0, 0.15);
}
.product__cart-qty-value {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: inherit;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  user-select: none;
}
.product__cart-qty-value [data-cart-count] {
  font-variant-numeric: tabular-nums;
}
.product__description {
  margin: 0;
  padding: 0;
  border-top: none;
}
.product__description-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #202020;
}
.product__description-body {
  position: relative;
}
.product__description-body.is-collapsed {
  max-height: 9.6em;
  overflow: hidden;
}
.product__description-body.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.2em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96) 70%);
  pointer-events: none;
}
.product__description-text {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #444444;
}
.product__description-text:last-child {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .product__description-text {
    font-size: 1rem;
  }
}
.product__description-more {
  margin-top: 0.45rem;
  padding: 0;
  border: 0;
  background: none;
  color: #8a7600;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.product__description-more:hover {
  color: #202020;
}
.product__description-more[hidden] {
  display: none;
}

.site-footer {
  border-top: 1px solid #e6e6e6;
  background: #fefcef;
}
.site-footer__inner {
  padding: 1.1rem 0;
  text-align: center;
  color: #666666;
  font-size: 0.8125rem;
}
.site-footer__inner p {
  margin: 0;
}
