/* V2ASHCHUK — faithful components mapped to Figma desktop (1920px) and mobile (360px).
 * Author: Эмиль. Scoped styles supersede earlier theme defaults without !important.
 * Layout: CSS Grid / Flexbox; fixed positioning reserved for navigation.
 */
:root {
  --v2-figma-rule: rgba(0, 0, 0, .12);
  --v2-figma-dark-rule: rgba(255, 255, 255, .16);
  --v2-figma-muted: rgba(0, 0, 0, .6);
}
.v2-section-heading span { background-color: var(--v2-figma-rule); }
.v2-hero-image { background-color: #000; }
.v2-product-name, .v2-news-card h3, .v2-news-card p { overflow-wrap: break-word; }
.v2-product-grid { row-gap: 24px; }
.v2-product-name { margin-top: 8px; }
.v2-about-grid { width: 100%; }

/* Brand story — Figma 3712:2215 / 3712:10245. */
.v2-about-page { background: #000; color: #fff; }
.v2-history { padding: 24px 0 60px; }
.v2-about-page .v2-breadcrumb { color: rgba(255,255,255,.6); display: flex; gap: 12px; align-items: center; }
.v2-about-page .v2-breadcrumb a { color: #fff; }
.v2-history-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 80px; align-items: stretch; }
.v2-history-copy { min-width: 0; min-height: 560px; display: flex; flex-direction: column; justify-content: space-between; gap: 70px; }
.v2-history-title { display: flex; align-items: center; gap: 24px; }
.v2-history-title h1 { font: 700 64px/72px var(--font-display); text-transform: uppercase; margin: 0; white-space: nowrap; }
.v2-history-title span { flex: 1; min-width: 16px; height: 1px; background: var(--v2-figma-dark-rule); }
.v2-history-text { color: rgba(255,255,255,.6); font: 400 16px/24px var(--font-main); }
.v2-history-text p:last-child { margin-bottom: 0; }
.v2-history-image { width: 100%; min-height: 560px; aspect-ratio: 1.6; overflow: hidden; }
.v2-history-image img { height: 100%; width: 100%; object-fit: cover; }
.v2-about-page .v2-history-image.v2-empty-image { background: #151515; }
.v2-about-page .v2-history-image.v2-empty-image::before { color: rgba(255,255,255,.10); }
.v2-about-page .v2-reviews { padding-block: 60px 80px; }
.v2-about-page .v2-faq-section { padding-block: 60px 120px; }
.v2-about-page .v2-section-heading span { background: var(--v2-figma-dark-rule); }
.v2-about-page .v2-section-heading h2 { color: #fff; }
.v2-about-page .v2-review-carousel .v2-review-card {
  background: transparent; color: #fff; border-color: var(--v2-figma-dark-rule);
}
.v2-about-page .v2-review-text { color: rgba(255,255,255,.6); }
.v2-about-page .v2-review-more, .v2-about-page .v2-review-meta strong { color: #fff; }
.v2-about-page .v2-review-meta time { color: rgba(255,255,255,.6); }
.v2-about-page .v2-review-carousel .v2-review-card:hover { background: #0d0d0d; border-color: rgba(255,255,255,.35); }
.v2-about-page .v2-carousel-progress { background: rgba(255,255,255,.28); }
.v2-about-page .v2-carousel-progress > span { background: #fff; }
.v2-about-page .v2-carousel-arrow { background: #fff; color: #000; border-color: #fff; }
.v2-about-page .v2-carousel-arrow:hover { background: #000; color: #fff; }
.v2-about-page .v2-faq-item { border-color: var(--v2-figma-dark-rule); }
.v2-about-page .v2-faq-item summary { color: #fff; }
.v2-about-page .v2-faq-item summary:hover { background: rgba(255,255,255,.07); }
.v2-about-page .v2-faq-content { color: rgba(255,255,255,.6); border-color: var(--v2-figma-dark-rule); }
.v2-about-page .v2-contact-card { color: #fff; border-color: var(--v2-figma-dark-rule); background: #000; }
.v2-about-page .v2-contact-card > p { color: rgba(255,255,255,.6); }
.v2-about-page .v2-card-divider { background: var(--v2-figma-dark-rule); }
.v2-about-page .v2-contact-form input:not([type='checkbox']),
.v2-about-page .v2-contact-form textarea { background: #000; border-color: rgba(255,255,255,.38); color: #fff; }
.v2-about-page .v2-contact-form input::placeholder,
.v2-about-page .v2-contact-form textarea::placeholder { color: rgba(255,255,255,.5); }
.v2-about-page .v2-contact-form .v2-button { background: #fff; color: #000; border-color: #fff; }
.v2-about-page .v2-contact-form .v2-button:hover { background: #000; color: #fff; }
.v2-about-page .v2-contact-form .v2-consent { color: rgba(255,255,255,.7); }

/* Delivery — Figma 83:3199 / 3712:10650. Content is entered by the store owner. */
.v2-delivery-content { padding-top: 32px; padding-bottom: 80px; }
.v2-delivery-content .v2-breadcrumb { margin-bottom: 40px; }
.v2-delivery-content > h1 { font: 700 64px/72px var(--font-display); margin-bottom: 48px; }
.v2-delivery-part { border-bottom: 1px solid var(--v2-figma-rule); padding: 24px 0 32px; }
.v2-delivery-part:first-of-type { padding-top: 0; }
.v2-delivery-part:last-of-type { border-bottom: 0; }
.v2-delivery-part h2, .v2-delivery-editor h2, .v2-delivery-editor h3 { font: 700 24px/32px var(--font-display); text-transform: uppercase; margin: 0 0 16px; }
.v2-delivery-text, .v2-delivery-editor { font: 400 16px/24px var(--font-main); max-width: 1380px; color: rgba(0,0,0,.62); }
.v2-delivery-text strong { color: #000; }
.v2-delivery-text p, .v2-delivery-editor p { max-width: 1000px; margin-bottom: 12px; }
.v2-delivery-editor h2, .v2-delivery-editor h3 { border-top: 1px solid var(--v2-figma-rule); margin-top: 30px; padding-top: 26px; color: #000; }
.v2-delivery-page .v2-faq-section { padding-block: 80px 120px; }

/* Reviews page — Figma 83:3582 / 3712:10923. */
.v2-reviews-page .v2-review-heading-wrap { padding-top: 32px; }
.v2-reviews-page .v2-review-heading-wrap .v2-breadcrumb { margin-bottom: 32px; }
.v2-reviews-page .v2-review-heading-wrap h1 { font-size: 64px; line-height: 72px; margin: 0; }
.v2-reviews-page .v2-reviews { padding-top: 40px; padding-bottom: 60px; }
.v2-reviews-page .v2-reviews .v2-section-heading { display: none; }
.v2-review-cta-section { padding-bottom: 120px; }
.v2-review-cta { background: #000; color: #fff; padding: 40px; min-height: 160px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.v2-review-cta h2 { font: 700 36px/44px var(--font-display); margin: 0 0 8px; text-transform: uppercase; }
.v2-review-cta p { font: 400 16px/24px var(--font-main); color: rgba(255,255,255,.6); margin: 0; }
.v2-review-cta-button { min-width: 256px; padding: 20px 32px; min-height: 60px; background: #fff; border: 1px solid #fff; color: #000; font: 700 14px/20px var(--font-main); text-decoration: underline; text-transform: uppercase; text-underline-offset: 3px; transition: color .25s ease, background .25s ease; }
.v2-review-cta-button:hover { background: #000; color: #fff; }
.v2-review-dialog { width: min(660px, calc(100vw - 32px)); max-width: 100%; max-height: calc(100dvh - 32px); overflow-y: auto; margin: auto; border: 0; padding: 32px; background: #fff; color: #000; }
.v2-review-dialog::backdrop { background: rgba(0,0,0,.56); }
.v2-review-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--v2-figma-rule); margin-bottom: 24px; }
.v2-review-dialog-head h2 { font: 700 32px/40px var(--font-display); margin-bottom: 8px; }
.v2-review-dialog-head p { margin: 0; color: var(--v2-figma-muted); }
.v2-review-dialog-head button { border: 0; background: transparent; color: #000; font-size: 28px; line-height: 1; padding: 2px 8px; }
.v2-review-dialog .v2-contact-form input:not([type='checkbox']),
.v2-review-dialog .v2-contact-form textarea,
.v2-review-dialog .v2-contact-form select { min-height: 60px; padding: 16px; width: 100%; border: 1px solid #000; background: #fff; }
.v2-review-dialog .v2-contact-form textarea { resize: vertical; }
.v2-review-dialog .v2-contact-form .v2-button { width: 100%; }

/* Adjust to each canonical design breakpoint, no artificial mobile zoom. */
@media (max-width: 1199px) {
  .v2-history-grid { gap: 36px; }
  .v2-history-title h1 { font-size: clamp(38px, 4.2vw, 64px); line-height: 1.14; }
  .v2-history-copy { min-height: 470px; }
  .v2-history-image { min-height: 470px; }
}
@media (max-width: 767px) {
  .v2-history { padding: 16px 0 40px; }
  .v2-history .v2-breadcrumb { margin-bottom: 24px; }
  .v2-history-grid { display: flex; flex-direction: column; gap: 32px; }
  .v2-history-copy { min-height: 0; gap: 24px; }
  .v2-history-title h1 { font-size: 36px; line-height: 44px; white-space: normal; }
  .v2-history-title span { display: none; }
  .v2-history-text { font-size: 14px; line-height: 20px; }
  .v2-history-image { min-height: 0; width: 100%; aspect-ratio: 320/360; }
  .v2-about-page .v2-reviews { padding-block: 40px; }
  .v2-about-page .v2-faq-section { padding-block: 40px 80px; }
  .v2-delivery-content { padding-top: 16px; padding-bottom: 40px; }
  .v2-delivery-content .v2-breadcrumb { margin-bottom: 24px; }
  .v2-delivery-content > h1 { font-size: 36px; line-height: 44px; margin-bottom: 20px; }
  .v2-delivery-part { padding: 16px 0 24px; }
  .v2-delivery-part h2, .v2-delivery-editor h2, .v2-delivery-editor h3 { font-size: 20px; line-height: 28px; }
  .v2-delivery-text, .v2-delivery-editor { font-size: 14px; line-height: 20px; }
  .v2-delivery-page .v2-faq-section { padding-block: 40px 80px; }
  .v2-reviews-page .v2-review-heading-wrap { padding-top: 20px; }
  .v2-reviews-page .v2-review-heading-wrap h1 { font-size: 36px; line-height: 44px; }
  .v2-reviews-page .v2-review-heading-wrap .v2-breadcrumb { margin-bottom: 24px; }
  .v2-reviews-page .v2-reviews { padding-top: 28px; padding-bottom: 40px; }
  .v2-review-cta-section { padding-bottom: 80px; }
  .v2-review-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 24px; gap: 24px; }
  .v2-review-cta h2 { font-size: 24px; line-height: 32px; }
  .v2-review-cta p { font-size: 14px; line-height: 20px; }
  .v2-review-cta-button { width: 100%; min-width: 0; }
  .v2-review-dialog { padding: 16px; }
  .v2-review-dialog-head h2 { font-size: 28px; line-height: 36px; }
  .v2-review-dialog .v2-contact-form input:not([type='checkbox']),
  .v2-review-dialog .v2-contact-form textarea,
  .v2-review-dialog .v2-contact-form select { min-height: 56px; padding: 12px; }
}
