/* ======= БАЗА ======= */

.aqv-single {
  --aqv-bg: #f7f4ef;
  --aqv-bg-soft: #ffffff;
  --aqv-border: #e5e7eb;
  --aqv-ink: #111827;
  --aqv-muted: #6b7280;
  --aqv-accent: #c49a3d;
  --aqv-accent-soft: #f3e3b9;
  --aqv-radius-lg: 1.25rem;
  --aqv-radius-md: 0.9rem;
  --aqv-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  color: var(--aqv-ink);
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.aqv-single__article {
  margin: 0 auto;
}

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

.aqv-single__header {
  background: radial-gradient(circle at top left, #f3efe6 0, #ffffff 45%, #f7f4ef 100%);
  border-radius: var(--aqv-radius-lg);
  padding: 1.75rem 2rem 1.75rem;
  box-shadow: var(--aqv-shadow-soft);
  margin-bottom: 2rem;
}

.aqv-single__header-main {
  max-width: 900px;
}

.aqv-single__title {
  font-size: clamp(1.9rem, 2.4vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 0.4rem;
}

.aqv-single__producer-line {
  font-size: 0.95rem;
  color: var(--aqv-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: baseline;
}

.aqv-single__producer-label {
  font-weight: 500;
}

.aqv-single__producer-name a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.aqv-single__producer-name a:hover {
  border-bottom-color: rgba(0, 0, 0, 0.35);
}

.aqv-single__location-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  color: var(--aqv-muted);
}

.aqv-flag {
  width: 20px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.5);
}

.aqv-single__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.aqv-pill {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.8);
  color: var(--aqv-muted);
}

.aqv-pill--style {
  background: rgba(196, 154, 61, 0.16);
  color: #7b5a16;
  border-color: rgba(196, 154, 61, 0.25);
}

.aqv-pill--status {
  background: rgba(248, 113, 113, 0.11);
  color: #991b1b;
  border-color: rgba(248, 113, 113, 0.25);
}

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

.aqv-single__layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1.9fr) minmax(220px, 260px);
  gap: 1.75rem 2rem;
}

/* планшет: две колонки */
@media (max-width: 1024px) {
  .aqv-single__layout {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1.7fr);
    grid-template-areas:
      "left main"
      "left right";
  }
  .aqv-single__sidebar--left { grid-area: left; }
  .aqv-single__main         { grid-area: main; }
  .aqv-single__sidebar--right { grid-area: right; }
}

/* мобильный: одна колонка */
@media (max-width: 768px) {
  .aqv-single__layout {
    grid-template-columns: 1fr;
  }
}

/* ======= САЙДБАРЫ ======= */

.aqv-single__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.aqv-single__section {
  background: var(--aqv-bg-soft);
  border-radius: var(--aqv-radius-lg);
  border: 1px solid var(--aqv-border);
  padding: 1.3rem 1.4rem 1.5rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.aqv-section-title {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--aqv-muted);
}

/* big bottle в левом сайдбаре */

.aqv-single__section--bottle {
  padding: 1.1rem 1.1rem 1.4rem;
}

.aqv-bottle--sidebar {
  position: relative;
  margin: 0;
  padding: 0.85rem 0.9rem 1.6rem;
  border-radius: var(--aqv-radius-md);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.aqv-bottle--sidebar img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.aqv-bottle__label {
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  transform: translateX(-50%);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(17, 24, 39, 0.9);
  color: #f9fafb;
}

/* technical details */

.aqv-tech-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.aqv-tech-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 0.75rem;
  font-size: 0.94rem;
}

.aqv-tech-row dt {
  margin: 0;
  color: var(--aqv-muted);
}
.aqv-tech-row dd {
  margin: 0;
}

.aqv-maturation-notes {
  margin-top: 1rem;
  font-size: 0.9rem;
}
.aqv-maturation-notes__title {
  margin: 0 0 0.3rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--aqv-muted);
}

/* ======= MAIN CONTENT ======= */

.aqv-single__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.aqv-single__content {
  background: #ffffff;
  border-radius: var(--aqv-radius-lg);
  padding: 1.5rem 1.7rem 1.8rem;
  border: 1px solid var(--aqv-border);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.aqv-single__content p {
  line-height: 1.6;
  margin-bottom: 1rem;
}
.aqv-single__content h2,
.aqv-single__content h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.6rem;
}

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

.aqv-single__section--gallery {
  padding-top: 1.3rem;
}

.aqv-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.1rem;
}

.aqv-gallery__item {
  position: relative;
  border-radius: var(--aqv-radius-md);
  border: 1px solid var(--aqv-border);
  background: #ffffff;
  padding: 0.8rem 0.8rem 1.4rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aqv-gallery__item img {
  width: 100%;
  max-width: 140px;
  height: auto;
  object-fit: contain;
}

.aqv-gallery__label {
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  transform: translateX(-50%);
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.9);
  color: #f9fafb;
}

/* ======= ABOUT PRODUCER ======= */

.aqv-single__section--producer {
  margin-top: 0.25rem;
}

.aqv-producer-card__name {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.aqv-producer-card__name a {
  color: var(--aqv-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.aqv-producer-card__name a:hover {
  border-bottom-color: rgba(17, 24, 39, 0.45);
}

.aqv-producer-card__location {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: var(--aqv-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.aqv-producer-card__address {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
}

.aqv-producer-card__desc {
  font-size: 0.94rem;
  line-height: 1.55;
  margin-bottom: 0.8rem;
}

.aqv-producer-card__link {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--aqv-accent);
  border-bottom: 1px solid rgba(196, 154, 61, 0.4);
}
.aqv-producer-card__link:hover {
  border-bottom-color: rgba(196, 154, 61, 0.85);
}

/* соцсети */

.aqv-producer-card__socials {
  margin-bottom: 0.75rem;
}

.aqv-social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.aqv-social-list__item {
  font-size: 0.8rem;
}

.aqv-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--aqv-border);
  background: #f9fafb;
  text-decoration: none;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--aqv-muted);
}

.aqv-social-list__item.is-active .aqv-social-icon {
  border-color: rgba(196, 154, 61, 0.7);
  background: #fffaf0;
  color: #7b5a16;
}
.aqv-social-list__item.is-active .aqv-social-icon:hover {
  box-shadow: 0 4px 10px rgba(148, 163, 184, 0.5);
}

/* ======= RIGHT SIDEBAR (botanicals) ======= */

.aqv-single__section--botanicals .aqv-botanicals__title {
  margin: 0 0 0.3rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--aqv-muted);
}

.aqv-botanicals,
.aqv-features {
  font-size: 0.9rem;
  line-height: 1.5;
}

.aqv-muted {
  font-size: 0.9rem;
  color: var(--aqv-muted);
}

/* ======= RELATED ======= */

.aqv-single__related {
  margin-top: 2.5rem;
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 1.5rem 0 0.5rem;
}

.aqv-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.4rem;
  margin-top: 1rem;
}

.aqv-related-card__inner {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border-radius: var(--aqv-radius-md);
  border: 1px solid var(--aqv-border);
  padding: 0.75rem 0.75rem 1rem;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.aqv-related-card__inner:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  border-color: rgba(148, 163, 184, 0.9);
}

.aqv-related-card__thumb {
  display: flex;
  justify-content: center;
  margin-bottom: 0.6rem;
}

.aqv-related-card__thumb img {
  width: 90px;
  height: auto;
  object-fit: contain;
}

.aqv-related-card__title {
  font-size: 0.9rem;
  text-align: center;
  color: var(--aqv-ink);
  margin: 0;
}
