/* =========================
RESET Jun 24 (1)
========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #2d2d2d;
  line-height: 1.6;
}

/* =========================
HEADER
========================= */

.site-header {
  width: 100%;
}

.header-content {
  height: 240px;
  padding: 12px 50px;
  background: url('/assets/images/header-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .header-content {
    height: 120px;
    padding: 10px 20px;
  }
}

.brand-area {
  display: flex;
  align-items: flex-start;
  padding-top: 6px;
}

.site-icon {
  height: 42px;
  width: auto;
  display: block;
}

/* =========================
HAMBURGER
========================= */

.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #2d2d2d;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}

/* =========================
NAV BAR
========================= */

.nav-bar {
  width: 100%;
  background: #f7f7f7;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-bar {
    display: none;
    flex-direction: column;
  }

  .nav-bar.open {
    display: flex;
  }
}

.nav-right {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

@media (max-width: 768px) {
  .nav-right {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
  }
}

.nav-right a {
  text-decoration: none;
  color: #2d2d2d;
  font-weight: 600;
  font-size: 14px;
}

/* =========================
DROPDOWN
========================= */

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #eee;
  padding: 10px;
  min-width: 220px;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

@media (min-width: 769px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    display: block;
    padding: 8px 10px;
    font-size: 13px;
    color: #444;
  }
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 0;
    text-align: center;
  }

  .dropdown-menu.is-open {
    display: block;
  }

  .dropdown-menu a {
    display: block !important;
    padding: 8px 10px !important;
  }
}

/* =========================
BREADCRUMBS
========================= */

.breadcrumbs {
  max-width: 1050px;
  margin: 18px auto 0;
  padding: 0 20px;
  font-size: 13px;
  color: #888;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumbs a {
  color: #777;
  text-decoration: none;
}

.current-page {
  color: #2d2d2d;
  font-weight: 600;
}

/* =========================
LAYOUT
========================= */

.container {
  max-width: 1050px;
  margin: 40px auto;
  padding: 20px;
  display: flex;
  gap: 50px;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 20px;
    margin: 20px auto;
  }
}

.left-block {
  flex: 1.1;
}

.right-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* =========================
MAIN IMAGE
========================= */

.product-image-container {
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}

.product-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
DETAIL GALLERY
========================= */

.detail-gallery {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gallery-item {
  width: calc(33.333% - 8px);
  display: block;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
}

/* =========================
TYPOGRAPHY
========================= */

h1 {
  font-size: 2.2rem;
  margin: 0;
  font-weight: 700;
}

.story-text {
  color: #444;
  margin-bottom: 26px;
  line-height: 1.5;
}

h3 {
  font-size: 1.15rem;
  margin: 0;
  color: #a3b18a;
  line-height: 1.4;
}

/* =========================
AUTHOR NOTE
========================= */

.author-note-box {
  margin-top: 18px;
  padding: 16px;
  background: #fcfcfc;
  border-left: 4px solid #a3b18a;
  color: #333;
  font-size: 0.95rem;
}

/* =========================
EXTRA LINKS
========================= */

.extra-links-section {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

.extra-link {
  font-size: 0.95rem;
  color: #7b2d2d;
  text-decoration: underline;
}

/* =========================
BUTTON
========================= */

.buy-button {
  background: #a3b18a;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* =========================
SWITCHER
========================= */

.platform-switcher {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.switch-tab {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid #ddd;
  background: #f7f7f7;
  cursor: pointer;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.switch-tab.active {
  background: #a3b18a;
  color: #fff;
  border-color: #a3b18a;
}

/* =========================
TAGS
========================= */

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tag {
  background: #f0f0f0;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* =========================
META
========================= */

.meta-date {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0;
}

/* =========================
PRODUCT GRID
========================= */

.product-grid {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.product-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* =========================
SHOWCASE (DESKTOP)
========================= */

.product-showcase {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

.showcase-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.showcase-viewport {
  overflow: hidden;
  width: 100%;
}

.showcase-track {
  display: flex;
  gap: 18px;
  transition: transform 0.4s ease;
}

.showcase-item {
  flex: 0 0 calc((100% - 36px) / 3);
}

.showcase-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

/* =========================
MOBILE FIX (GRID MODE)
========================= */

@media (max-width: 768px) {

  .showcase-btn {
    display: none !important;
  }

  .showcase-wrapper {
    display: block;
  }

  .showcase-viewport {
    overflow: visible;
  }

  .showcase-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    transform: none !important;
  }

  .showcase-item {
    flex: unset;
    width: 100%;
  }

  .product-showcase {
    padding: 0 12px;
  }
}

/* =========================
FOOTER
========================= */

.site-footer {
  width: 100%;
  margin-top: 60px;
  padding: 40px 20px;
  border-top: 2px solid #e0e0e0;
  background: #fafafa;
}

.footer-container {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.footer-line {
  font-size: 13px;
  color: #555;
}

/* =========================
SHARE-BUTTONS
========================= */

.share-buttons {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.share-title {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.7;
}

.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-btn {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  border: none;
}

.share-btn.telegram  { background: #0088cc; }
.share-btn.x         { background: #000000; }
.share-btn.pinterest { background: #E60023; }
.share-btn.facebook  { background: #1877F2; }
.share-btn.copy      { background: #666666; }

/* =========================
SMART MONTHS GRID
========================= */

.smart-months-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.smart-month-card {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  text-decoration: none;
  color: #2d2d2d;
  background: #fafafa;
  transition: background 0.2s, border-color 0.2s;
}

.smart-month-card:hover {
  background: #f0f4ec;
  border-color: #a3b18a;
}

.smart-month-label {
  font-weight: 700;
  font-size: 0.95rem;
}

.smart-month-sub {
  font-size: 0.78rem;
  color: #888;
  margin-top: 4px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .smart-months-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
ABOUT PAGE
========================= */

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 8px;
  border: 1.5px solid #c8d9b8;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.about-stat-number {
  font-size: 1.05rem;
  font-weight: 700;
  color: #4a7c4e;
  line-height: 1.3;
}

.about-stat-label {
  font-size: 0.75rem;
  color: #666;
  margin-top: 5px;
  line-height: 1.3;
}

.about-section {
  margin-top: 24px;
}

.about-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

.about-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

.about-faq {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.faq-item {
  padding: 14px 0 14px 14px;
  border-left: 3px solid #a3b18a;
}

.faq-question {
  font-weight: 700;
  font-size: 0.95rem;
  color: #2d2d2d;
  margin-bottom: 6px;
}

.faq-answer {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.faq-divider {
  border: none;
  border-top: 1px solid #eaeaea;
  margin: 0;
}

/* =========================
STUDIO NOTES — ARTICLE GRID
(index page)
========================= */

.article-grid {
  max-width: 1050px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.article-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #2d2d2d;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.article-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.article-card-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.article-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: #2d2d2d;
}

.article-card-excerpt {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

.article-card-meta {
  font-size: 0.78rem;
  color: #aaa;
  margin-top: auto;
}

/* =========================
ARTICLE CATEGORY BADGE
========================= */

.article-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a3b18a;
  background: #f0f4ec;
  padding: 3px 10px;
  border-radius: 20px;
}

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================
ARTICLE BODY
========================= */

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.article-body h2 {
  font-size: 1.3rem;
  color: #2d2d2d;
  margin-top: 28px;
  margin-bottom: 10px;
}

.article-body h3 {
  font-size: 1.05rem;
  color: #a3b18a;
  margin-top: 20px;
  margin-bottom: 8px;
}

.article-body p {
  margin: 0 0 16px;
}

.article-body ul,
.article-body ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.article-body li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.article-body a {
  color: #7a9e6e;
  text-decoration: underline;
}

.article-body blockquote {
  border-left: 3px solid #a3b18a;
  margin: 20px 0;
  padding: 10px 0 10px 16px;
  color: #555;
  font-style: italic;
}

/* =========================
READ ALSO (left block)
========================= */

.article-read-also {
  margin-top: 24px;
  padding: 14px 16px;
  background: #f7f7f2;
  border-radius: 8px;
  border-left: 3px solid #a3b18a;
}

.read-also-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #a3b18a;
  margin-bottom: 10px;
}

.read-also-heading svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.read-also-item {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #e0dfd8;
  text-decoration: none;
  color: #2d2d2d;
  font-size: 0.88rem;
  line-height: 1.4;
  transition: color 0.2s;
}

.read-also-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.read-also-item:hover {
  color: #7a9e6e;
}

@media (max-width: 768px) {
  .read-also-item {
    font-size: 0.9rem;
    padding: 10px 0;
  }
}

/* =========================
ARTICLE ADDITIONAL IMAGES
========================= */

.article-images {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.article-image-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid #eee;
}

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

/* =========================
FONT SIZE SWITCHER
(article pages only)
========================= */

.font-size-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.font-size-label {
  font-size: 0.8rem;
  color: #aaa;
  margin-right: 4px;
}

.font-size-btn {
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  color: #888;
  line-height: 1;
  padding: 4px 8px;
  transition: background 0.15s, color 0.15s;
}

.font-size-btn:nth-child(2) { font-size: 0.8rem; }
.font-size-btn:nth-child(3) { font-size: 1rem;   }
.font-size-btn:nth-child(4) { font-size: 1.2rem; }

.font-size-btn.active {
  background: #a3b18a;
  color: #fff;
  border-color: #a3b18a;
}

/* =========================
ICON TITLE — aligned
========================= */

.icon-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-title svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}


/* =========================
CONTACT PAGE
========================= */

.contact-info-block {
  margin-top: 24px;
}

.contact-info-text {
  font-size: 0.95rem;
  color: #555;
  margin: 6px 0 0;
  line-height: 1.5;
}

.contact-link {
  color: #7a9e6e;
  text-decoration: underline;
}

.contact-social-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.contact-social-btn:hover {
  opacity: 0.85;
}

.contact-social-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.contact-social-btn.instagram {
  background: #C13584;
}

.contact-social-btn.pinterest {
  background: #E60023;
}

.contact-social-btn.facebook {
  background: #1877F2;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2d2d2d;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #2d2d2d;
  background: #fafafa;
  transition: border-color 0.2s;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #a3b18a;
  background: #fff;
}

.contact-field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-human-check {
  margin-top: 4px;
}

.contact-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
}

.contact-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #a3b18a;
}

.contact-submit {
  margin-top: 6px;
}

.contact-success {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #f0f4ec;
  border-left: 4px solid #a3b18a;
  border-radius: 8px;
  margin-top: 10px;
}

.contact-success svg {
  width: 24px;
  height: 24px;
  color: #7a9e6e;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-success p {
  font-size: 1rem;
  color: #2d2d2d;
  line-height: 1.6;
  margin: 0;
}


/* =========================
CONTACT INFO CARDS
========================= */

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.contact-info-card {
  background: #f7f7f2;
  border-radius: 8px;
  padding: 16px 18px;
  border-left: 3px solid #a3b18a;
}

.contact-info-card .icon-title {
  margin-bottom: 8px;
}

.contact-info-card .contact-social-links {
  margin-top: 10px;
}


/* =========================
FOOTER NEWSLETTER
========================= */

.footer-newsletter {
  background: #f0f4ec;
  border-top: 2px solid #c8d9b8;
  padding: 32px 20px;
  text-align: center;
}

.footer-newsletter-inner {
  max-width: 520px;
  margin: 0 auto;
}

.footer-newsletter-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d2d2d;
  margin: 0 0 6px;
}

.footer-newsletter-sub {
  font-size: 0.9rem;
  color: #555;
  margin: 0 0 16px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-newsletter-input {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  padding: 10px 14px;
  border: 1px solid #c8d9b8;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #2d2d2d;
  background: #fff;
}

.footer-newsletter-input:focus {
  outline: none;
  border-color: #a3b18a;
}

.footer-newsletter-btn {
  padding: 10px 22px;
  background: #a3b18a;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.footer-newsletter-btn:hover {
  background: #8a9e72;
}

.footer-newsletter-legal {
  font-size: 0.75rem;
  color: #999;
  margin: 10px 0 0;
}


/* =========================
MAILERLITE FORM OVERRIDE
Встраивается в .footer-newsletter
========================= */

.footer-newsletter .ml-form-embedContainer {
  margin: 0 auto !important;
}

.footer-newsletter .ml-form-embedWrapper {
  background-color: transparent !important;
  border: none !important;
  max-width: 400px !important;
  margin: 0 auto !important;
}

.footer-newsletter .ml-form-embedBody {
  padding: 0 !important;
}

.footer-newsletter .ml-form-embedContent {
  display: none !important;
}

.footer-newsletter .ml-form-fieldRow input {
  border-radius: 6px !important;
  border-color: #c8d9b8 !important;
  font-family: Arial, sans-serif !important;
  font-size: 0.95rem !important;
  padding: 10px 14px !important;
}

.footer-newsletter .ml-form-fieldRow input:focus {
  border-color: #a3b18a !important;
  outline: none !important;
}

.footer-newsletter .ml-form-embedSubmit button {
  background-color: #a3b18a !important;
  border-radius: 6px !important;
  font-family: Arial, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  padding: 10px !important;
}

.footer-newsletter .ml-form-embedSubmit button:hover {
  background-color: #8a9e72 !important;
}

.footer-newsletter .ml-form-successContent h4 {
  font-size: 1rem !important;
  color: #2d2d2d !important;
}
