@font-face {
  font-family: "ABeeZee";
  src: url(../fonts/ABeeZee-Regular.ttf);
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url(../fonts/Poppins-VariableFont_wght.otf);
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
}
body {
  margin: 0;
  font-family: 'ABeeZee', sans-serif;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}
:root {
  --page-width: 1420px;
  --page-padding: 30px;
  --color-text: 0, 0, 0;
  --color-background: 255, 255, 255;
  --color-sale: 224, 32, 32;
  --color-discount: 238, 71, 0;
  --color-button-background: 44, 44, 44;
  --color-button-text: 255, 255, 255;
  --color-entry-line: 0, 0, 0;
  --color-light-text: 0, 0, 0;
  --announcement-bg: 61, 153, 222;
  --announcement-text: 255, 255, 255;
  --footer-bg: 61, 153, 222;
  --footer-text: 255, 255, 255;
}
@media (max-width: 959px) {
  :root {
    --page-padding: 20px;
  }
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
  padding: 0;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}
.container {
  max-width: calc(var(--page-width) + 2 * var(--page-padding));
  margin: 0 auto;
  padding: 0 var(--page-padding);
}

/* ---- COLOR SCHEMES ---- */
.color-scheme-6 {
  --color-background: 61, 153, 222;
  --color-text: 255, 255, 255;
  --color-light-text: 253, 253, 253;
  --color-button-background: 61, 56, 25;
  --color-button-text: 255, 255, 255;
}
.color-scheme-7 {
  --color-background: 255, 255, 255;
  --color-text: 61, 56, 25;
  --color-light-text: 0, 0, 0;
  --color-button-background: 0, 145, 255;
  --color-button-text: 255, 255, 255;
}
.color-scheme-4 {
  --color-background: 255, 255, 255;
  --color-text: 0, 0, 0;
  --color-light-text: 0, 0, 0;
  --color-button-background: 44, 44, 44;
  --color-button-text: 255, 255, 255;
}

/* ---- TYPOGRAPHY ---- */
.title3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 1.2;
}
.title6 {
  font-size: 23px;
}
.body1 {
  font-size: 22px;
}
.body2 {
  font-size: 18px;
}
.body3 {
  font-size: 16px;
}
.body4 {
  font-size: 14px;
}
.body5 {
  font-size: 13px;
}
.body6 {
  font-size: 12px;
}
.title-font-bold {
  font-weight: 700 !important;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
@media (max-width: 959px) {
  .title3 {
    font-size: 26px;
  }
  .body3 {
    font-size: 14px;
  }
}

/* ---- HEADER (упрощённый) ---- */
.announcement-bar {
  background: rgb(var(--announcement-bg));
  color: rgb(var(--announcement-text));
  padding: 10px 30px;
  text-align: center;
  font-weight: bold;
}
@media (max-width: 959px) {
  .announcement-bar {
    padding: 6px 10px;
  }
}
.header-section {
  background: #fff;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  /* только логотип по центру */
}
.header-logo img {
  height: 60px;
  width: auto;
}
@media (max-width: 959px) {
  .header-logo img {
    height: 45px;
  }
}

/* ---- PRODUCT DETAIL ---- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px 0;
}
.product-media {
  flex: 1 1 50%;
}
.product-info {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.media-main img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.media-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.media-thumbnails img {
  width: calc(16.66% - 8.5px);
  aspect-ratio: 1/1;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
}
.media-thumbnails img.active-thumb {
  border-color: #000;
}

.product-title {
  margin: 0;
}
.product-price {
  display: flex;
  align-items: center;
  gap: 12px;
}
.current-price {
  font-size: 28px;
  font-weight: bold;
  color: rgb(var(--color-sale));
}
.compare-price {
  font-size: 20px;
  color: rgb(var(--color-light-text));
  text-decoration: line-through;
}

.sell-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 15px 0;
}
.sell-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sell-info-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.variant-group {
  margin: 10px 0;
}
.variant-label {
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.variant-option {
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 8px 20px;
  cursor: pointer;
  background: #fff;
  transition: all 0.1s;
}
.variant-option.selected {
  border: 2px solid #000;
  padding: 7px 19px;
}
.variant-option input {
  display: none;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}
.qty-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 20px;
}
#quantity {
  width: 60px;
  text-align: center;
  border: 1px solid #ccc;
  height: 40px;
}

.buy-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}
.btn {
  padding: 14px 28px;
  font-weight: 700;
  text-align: center;
  background: rgb(var(--color-button-background));
  color: rgb(var(--color-button-text));
  border: none;
  width: 100%;
}
.btn-secondary {
  background: #fff;
  color: #000;
  border: 1px solid #000;
}

.product-description {
  margin: 30px 0;
  line-height: 1.6;
}
.product-description img {
  margin: 10px 0;
}

@media (max-width: 959px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 0;
  }
  .media-thumbnails img {
    width: calc(33.33% - 7px);
  }
}

/* ---- ORDER FORM (перед футером) ---- */
.order-section {
  background: #f5f5f5;
  padding: 50px 0;
  margin-top: 20px;
}
.order-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  font-size: 16px;
  background: #fff;
}
.order-btn {
  background: #3D3819;
  color: #fff;
  padding: 16px 25px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  width: 100%;
  cursor: pointer;
}

/* ---- POPUP ---- */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.popup {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.popup h3 {
  margin-bottom: 20px;
  color: #2d6a4f;
}
.popup p {
  margin-bottom: 25px;
}
.popup-close {
  background: #2d6a4f;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

/* ---- FAQ ---- */
.faq-section {
  background: #f9f9f9;
  padding: 60px 0;
  margin-top: 30px;
}
.faq-item {
  border-bottom: 1px solid #ddd;
}
.faq-question {
  padding: 20px 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.faq-answer {
  padding: 0 0 20px;
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* ---- TEXT COLUMNS ---- */
.text-columns-section {
  padding: 60px 0;
}
.text-columns-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
}
.text-column-card {
  flex: 1;
  text-align: left;
}
.text-column-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.text-column-card .subtitle {
  margin-top: 15px;
  font-weight: 600;
  font-size: 24px;
}

/* ---- SIGNUP ---- */
.signup-section {
  background: rgb(var(--footer-bg));
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.signup-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 20px auto 0;
}
.signup-input {
  flex: 1;
  padding: 14px;
  border: none;
}
.signup-btn {
  background: #3D3819;
  color: #fff;
  padding: 14px 28px;
  border: none;
  font-weight: bold;
}

/* ---- FOOTER ---- */
.footer {
  background: rgb(var(--footer-bg));
  color: rgb(var(--footer-text));
  padding: 60px 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-col {
  flex: 1 1 200px;
}
.footer-title {
  font-weight: bold;
  margin-bottom: 20px;
}
.footer-links a {
  display: block;
  margin: 8px 0;
  opacity: 0.9;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.payment-icons svg {
  height: 30px;
  width: auto;
  margin-left: 8px;
}
@media (max-width: 959px) {
  .footer-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .text-columns-grid {
    flex-direction: column;
  }
  .signup-form {
    flex-direction: column;
  }
}
.recommended-section {
  padding: 60px 0;
  background: #fff;
}

.recommended-grid {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.recommended-card {
  flex: 0 0 calc(25% - 22.5px);
  min-width: 200px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 15px;
  text-align: center;
}

.recommended-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  margin-bottom: 15px;
}

.recommended-title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 16px;
}

.recommended-price {
  color: rgb(var(--color-sale));
  font-weight: bold;
  font-size: 18px;
}

.recommended-compare {
  text-decoration: line-through;
  color: #888;
  margin-left: 8px;
  font-size: 14px;
}

@media (max-width: 959px) {
  .recommended-card {
    flex: 0 0 45%;
  }
}