/*
 * Мебель Дельта — CMS Components
 * Styles for CMS-only classes (section headers, inner pages, modals, forms)
 * These classes have NO analogs in the static design files
 */

/* ========================================
 * SHARED CMS COMPONENTS
 * ======================================== */

/* === Section Header (universal for CMS sections) === */
.section-header { text-align: center; margin-bottom: var(--sp-12); }
.section-header__label { font-size: var(--fs-sm); color: var(--c-gold); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: var(--sp-4); }
.section--dark .section-header__label { color: var(--c-gold); }
.section-header__title { font-family: var(--f-heading); font-size: var(--fs-4xl); line-height: 1.15; margin-bottom: var(--sp-4); }
@media (min-width: 768px) { .section-header__title { font-size: var(--fs-5xl); } }
.section-header__desc { color: var(--c-text-muted); font-size: var(--fs-lg); max-width: 42rem; margin: 0 auto; line-height: 1.7; }
.section--dark .section-header__desc { color: rgba(255,255,255,0.7); }
.section--dark .section-header__title { color: #fff; }

/* === Section Footer (centered link block) === */
.section-footer { text-align: center; margin-top: var(--sp-12); }

/* === Animate Up (CMS equivalent of fade-in) === */
.animate-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.animate-up.visible { opacity: 1; transform: translateY(0); }

/* === Button Variants (CMS-only) === */
.btn--outline-dark { background: transparent; border: 1px solid var(--c-graphite); color: var(--c-graphite); }
.btn--outline-dark:hover { background: var(--c-graphite); color: #fff; }
.btn--sm { padding: 10px 20px; font-size: var(--fs-xs); }

/* === Form Components === */
.form-checkbox-label { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--c-text-muted); cursor: pointer; }
.form-checkbox-label input[type="checkbox"] { margin-top: 3px; accent-color: var(--c-gold); }
.form-checkbox-label a { color: var(--c-gold); text-decoration: underline; }
.form-checkbox-label a:hover { color: var(--c-gold-hover); }
.form-message { font-size: var(--fs-sm); padding: var(--sp-3) var(--sp-4); border-radius: 4px; display: none; }
.form-message:not(:empty) { display: block; }
.form-message--success { background: rgba(45,95,76,0.1); color: var(--c-emerald); border: 1px solid rgba(45,95,76,0.2); }
.form-message--error { background: rgba(114,47,55,0.1); color: var(--c-burgundy); border: 1px solid rgba(114,47,55,0.2); }

/* === WhatsApp Float (CMS variant) === */
.whatsapp-float { position: fixed; bottom: 2rem; left: 2rem; z-index: 90; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: all 0.3s var(--ease); animation: whatsappPulse 2s ease infinite; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); color: #fff; }
.whatsapp-float svg { width: 28px; height: 28px; }

/* === Container Narrow (blog articles) === */
.container--narrow { max-width: 800px; }

/* === Modal CMS Overrides === */
.modal__overlay { position: absolute; inset: 0; background: rgba(44,45,47,0.8); }
.modal__container { position: relative; background: var(--c-white); max-width: 480px; width: 100%; padding: var(--sp-8); transform: translateY(-20px); transition: transform var(--duration) var(--ease); z-index: 1; }
.modal.active .modal__container { transform: translateY(0); }
.modal__header { margin-bottom: var(--sp-6); }
.modal__header h2 { font-family: var(--f-heading); font-size: var(--fs-3xl); margin-bottom: var(--sp-2); }
.modal__header p { color: var(--c-text-muted); font-size: var(--fs-sm); }
.modal__form .form-group { margin-bottom: var(--sp-4); }


/* ========================================
 * CATALOG PAGE — Categories Grid
 * ======================================== */
.catalog-page { padding-top: 2rem; }
.catalog__categories-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
@media (min-width: 768px) { .catalog__categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .catalog__categories-grid { grid-template-columns: repeat(3, 1fr); } }

.catalog-category-card { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; border-radius: 4px; }
.catalog-category-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.catalog-category-card:hover .catalog-category-card__image { transform: scale(1.08); }
.catalog-category-card__placeholder { width: 100%; height: 100%; background: var(--c-light); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.catalog-category-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: var(--sp-6); transition: background 0.4s var(--ease); }
.catalog-category-card:hover .catalog-category-card__overlay { background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%); }
.catalog-category-card__title { font-family: var(--f-heading); font-size: var(--fs-3xl); color: #fff; line-height: 1.2; margin-bottom: var(--sp-1); }
.catalog-category-card__count { font-size: var(--fs-sm); color: rgba(255,255,255,0.7); }


/* ========================================
 * CATALOG — Products Grid
 * ======================================== */
.catalog__products-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
@media (min-width: 768px) { .catalog__products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .catalog__products-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card { background: var(--c-white); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--duration) var(--ease); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card__image { display: block; position: relative; overflow: hidden; aspect-ratio: 4/3; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease); }
.product-card:hover .product-card__image img { transform: scale(1.05); }
.product-card__placeholder { width: 100%; height: 100%; background: var(--c-light); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.product-card__badge { position: absolute; top: var(--sp-3); left: var(--sp-3); padding: 4px 12px; font-size: var(--fs-xs); color: #fff; background: var(--c-emerald); z-index: 1; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.product-card__body { padding: var(--sp-6); }
.product-card__title { font-family: var(--f-heading); font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.product-card__title a { transition: color var(--duration) var(--ease); }
.product-card__title a:hover { color: var(--c-emerald); }
.product-card__material { font-size: var(--fs-sm); color: var(--c-gold); margin-bottom: var(--sp-2); letter-spacing: 0.05em; }
.product-card__desc { font-size: var(--fs-sm); color: var(--c-text-muted); line-height: 1.6; margin-bottom: var(--sp-4); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__price { font-family: var(--f-heading); font-size: var(--fs-2xl); color: var(--c-text); margin-bottom: var(--sp-4); }


/* ========================================
 * PRODUCT DETAIL PAGE
 * ======================================== */
.product-page { padding-top: 2rem; }
.product__layout { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); }
@media (min-width: 768px) { .product__layout { grid-template-columns: 1.2fr 1fr; gap: var(--sp-12); } }

.product__gallery { position: relative; }
.product__main-image { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--c-light); }
.product__main-image img { width: 100%; height: 100%; object-fit: cover; }
.product__badge { position: absolute; top: var(--sp-4); left: var(--sp-4); padding: 4px 14px; font-size: var(--fs-xs); color: #fff; background: var(--c-emerald); z-index: 1; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.product__thumbs { display: flex; gap: var(--sp-2); margin-top: var(--sp-3); overflow-x: auto; scrollbar-width: thin; }
.product__thumb { width: 72px; height: 72px; object-fit: cover; cursor: pointer; border: 2px solid transparent; transition: border-color var(--duration) var(--ease); opacity: 0.7; flex-shrink: 0; }
.product__thumb:hover, .product__thumb.active { border-color: var(--c-gold); opacity: 1; }

.product__info { padding: var(--sp-4) 0; }
.product__category-label { font-size: var(--fs-xs); color: var(--c-gold); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: var(--sp-4); display: block; }
.product__title { font-family: var(--f-heading); font-size: var(--fs-4xl); line-height: 1.15; margin-bottom: var(--sp-6); }
@media (min-width: 768px) { .product__title { font-size: var(--fs-5xl); } }
.product__price { font-family: var(--f-heading); font-size: var(--fs-3xl); margin-bottom: var(--sp-6); color: var(--c-text); }
.product__short-desc { color: var(--c-text-muted); line-height: 1.7; margin-bottom: var(--sp-8); font-size: var(--fs-base); }

.product__specs { margin-bottom: var(--sp-8); }
.product__spec { display: flex; justify-content: space-between; padding: var(--sp-3) 0; border-bottom: 1px solid var(--c-border-light); }
.product__spec-label { font-size: var(--fs-sm); color: var(--c-text-muted); }
.product__spec-value { font-size: var(--fs-sm); font-weight: 600; color: var(--c-text); }

.product__features { margin-bottom: var(--sp-8); }
.product__features h3 { font-family: var(--f-heading); font-size: var(--fs-xl); margin-bottom: var(--sp-4); }
.product__features ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.product__features li { padding-left: var(--sp-6); position: relative; font-size: var(--fs-sm); color: var(--c-text-muted); line-height: 1.6; }
.product__features li::before { content: '✓'; position: absolute; left: 0; color: var(--c-emerald); font-weight: 700; }

.product__actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

.product__description { margin-top: var(--sp-16); padding-top: var(--sp-12); border-top: 1px solid var(--c-border); }
.product__description h2 { font-size: var(--fs-3xl); margin-bottom: var(--sp-6); }
.product__description-content { color: var(--c-text-muted); line-height: 1.8; font-size: var(--fs-base); }
.product__description-content p { margin-bottom: var(--sp-4); }
.product__description-content h3 { font-family: var(--f-heading); font-size: var(--fs-xl); color: var(--c-text); margin: var(--sp-8) 0 var(--sp-4); }

.product__related { margin-top: var(--sp-16); padding-top: var(--sp-12); border-top: 1px solid var(--c-border); }
.product__related h2 { font-size: var(--fs-3xl); margin-bottom: var(--sp-8); }


/* ========================================
 * BLOG PAGE
 * ======================================== */
.blog-page { padding-top: 2rem; }
.blog__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); }
@media (min-width: 768px) { .blog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog__grid { grid-template-columns: repeat(3, 1fr); } }
.blog__grid--full { }

/* Blog Card — using static styles from layout.css */


/* ========================================
 * BLOG POST — Magazine Style
 * ======================================== */

/* --- Magazine Hero (full-bleed cover) --- */
.mag-hero { position: relative; min-height: 70vh; display: flex; align-items: flex-end; overflow: hidden; }
.mag-hero__bg { position: absolute; inset: 0; }
.mag-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.mag-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,22,0.92) 0%, rgba(20,20,22,0.4) 40%, rgba(20,20,22,0.15) 100%); }
.mag-hero__content { position: relative; z-index: 2; padding: var(--sp-16) 0 var(--sp-12); width: 100%; }
.mag-hero__category { display: inline-block; font-size: var(--fs-xs); letter-spacing: 0.25em; text-transform: uppercase; color: var(--c-gold); border: 1px solid var(--c-gold); padding: 6px 16px; margin-bottom: var(--sp-6); }
.mag-hero__title { font-family: var(--f-heading); font-size: clamp(2rem, 5vw, 3.5rem); color: #fff; line-height: 1.1; margin-bottom: var(--sp-6); max-width: 48rem; letter-spacing: -0.02em; }
.mag-hero__meta { display: flex; align-items: center; gap: var(--sp-4); font-size: var(--fs-sm); color: rgba(255,255,255,0.6); flex-wrap: wrap; }
.mag-hero__author { color: rgba(255,255,255,0.9); font-weight: 500; }
.mag-hero__sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.3); }

/* --- Magazine Article Body --- */
.mag-article { padding: var(--sp-16) 0 var(--sp-12); }
.mag-article__body { color: var(--c-text); font-size: 1.125rem; line-height: 1.9; }
.mag-article__body::after { content: ''; display: table; clear: both; }
.mag-article__body p { margin-bottom: var(--sp-8); }
.mag-article__body h2 { font-family: var(--f-heading); font-size: var(--fs-3xl); line-height: 1.2; margin: var(--sp-16) 0 var(--sp-6); padding-top: var(--sp-8); position: relative; clear: both; }
.mag-article__body h2::before { content: ''; position: absolute; top: 0; left: 0; width: 40px; height: 3px; background: var(--c-gold); }
.mag-article__body h3 { font-family: var(--f-heading); font-size: var(--fs-2xl); margin: var(--sp-10) 0 var(--sp-4); clear: both; }

/* Magazine float images: alternate left/right */
.mag-article__body img {
    width: 55%; height: auto;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    margin: var(--sp-2) var(--sp-8) var(--sp-6) 0;
    float: left;
    shape-margin: var(--sp-6);
}
.mag-article__body img:nth-of-type(even) {
    float: right;
    margin: var(--sp-2) 0 var(--sp-6) var(--sp-8);
}
/* Full-width images when wrapped in <figure> or with .full class */
.mag-article__body figure,
.mag-article__body img.full {
    float: none; width: 100%;
    margin: var(--sp-10) 0;
    clear: both;
}
.mag-article__body figure img { width: 100%; float: none; margin: 0; }
.mag-article__body figcaption { font-size: var(--fs-sm); color: var(--c-text-muted); margin-top: var(--sp-3); font-style: italic; text-align: center; }
@media (max-width: 768px) {
    .mag-article__body img,
    .mag-article__body img:nth-of-type(even) { float: none; width: 100%; margin: var(--sp-6) 0; }
}

/* Drop cap for first paragraph */
.mag-article__body.drop-cap > p:first-of-type::first-letter {
    float: left; font-family: var(--f-heading); font-size: 4.5rem; line-height: 0.8;
    padding: 0.1em 0.12em 0 0; color: var(--c-gold); font-weight: 700;
}

.mag-article__body ul, .mag-article__body ol { margin: var(--sp-6) 0; padding-left: var(--sp-8); }
.mag-article__body li { margin-bottom: var(--sp-3); line-height: 1.75; }
.mag-article__body blockquote { font-family: var(--f-heading); font-size: var(--fs-2xl); font-style: italic; color: var(--c-gold); border-left: 3px solid var(--c-gold); padding: var(--sp-6) 0 var(--sp-6) var(--sp-8); margin: var(--sp-12) 0; line-height: 1.5; clear: both; }
.mag-article__body strong { color: var(--c-graphite); }
.mag-article__body a { color: var(--c-gold); border-bottom: 1px solid rgba(201,169,97,0.3); transition: border-color var(--duration) var(--ease); }
.mag-article__body a:hover { border-bottom-color: var(--c-gold); }

/* --- Tags --- */
.mag-article__tags { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-12); padding-top: var(--sp-8); border-top: 1px solid var(--c-border); }
.mag-tag { font-size: var(--fs-sm); color: var(--c-gold); background: rgba(201,169,97,0.08); padding: 6px 16px; letter-spacing: 0.04em; transition: all var(--duration) var(--ease); border: 1px solid rgba(201,169,97,0.15); }
.mag-tag:hover { background: rgba(201,169,97,0.15); color: var(--c-gold); }

/* --- Article Footer --- */
.mag-article__footer { margin-top: var(--sp-12); padding-top: var(--sp-8); border-top: 1px solid var(--c-border); }
.mag-article__footer-meta { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--c-text-muted); }

/* --- Page content styles (for generic pages) --- */
.page-content h2 { font-family: var(--f-heading); font-size: var(--fs-2xl); margin: var(--sp-8) 0 var(--sp-4); }
.page-content h3 { font-family: var(--f-heading); font-size: var(--fs-xl); margin: var(--sp-6) 0 var(--sp-3); }
.page-content p { margin-bottom: var(--sp-4); line-height: 1.75; color: var(--c-text-muted); }
.page-content ul, .page-content ol { margin: var(--sp-4) 0; padding-left: var(--sp-6); }
.page-content li { margin-bottom: var(--sp-2); line-height: 1.7; color: var(--c-text-muted); }
.page-content strong { color: var(--c-text); }

/* Legacy compat */
.blog-post__related { margin-top: var(--sp-16); padding-top: var(--sp-12); border-top: 1px solid var(--c-border); }
.blog-post__related h3 { font-size: var(--fs-3xl); margin-bottom: var(--sp-8); }


/* ========================================
 * PORTFOLIO PAGE
 * ======================================== */
.portfolio-page { padding-top: 2rem; }
.portfolio__filters { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-10); justify-content: center; }
.portfolio__filter { padding: 8px 20px; font-size: var(--fs-sm); letter-spacing: 0.05em; text-transform: uppercase; color: var(--c-text-muted); border: 1px solid var(--c-border); background: transparent; cursor: pointer; transition: all var(--duration) var(--ease); }
.portfolio__filter:hover { border-color: var(--c-gold); color: var(--c-gold); }
.portfolio__filter.active { background: var(--c-graphite); color: #fff; border-color: var(--c-graphite); }

.portfolio__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
@media (min-width: 768px) { .portfolio__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .portfolio__grid { grid-template-columns: repeat(4, 1fr); } }
.portfolio__grid--masonry .portfolio__item:nth-child(1),
.portfolio__grid--masonry .portfolio__item:nth-child(4),
.portfolio__grid--masonry .portfolio__item:nth-child(7) { grid-row: span 2; }

.portfolio__item { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 3/4; }
.portfolio__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.4,0,.2,1); }
.portfolio__item:hover img { transform: scale(1.08); }
.portfolio__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: var(--sp-4); opacity: 0; transition: opacity 0.4s var(--ease); }
.portfolio__item:hover .portfolio__overlay { opacity: 1; }
.portfolio__title { color: #fff; font-family: var(--f-heading); font-size: var(--fs-lg); margin-bottom: var(--sp-1); }
.portfolio__cat { color: var(--c-gold); font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; }
.portfolio__desc { color: rgba(255,255,255,0.7); font-size: var(--fs-xs); margin-top: var(--sp-2); line-height: 1.5; }


/* ========================================
 * CONTACTS PAGE
 * ======================================== */
.contacts-page { padding-top: 2rem; }
.contacts__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); }
@media (min-width: 768px) { .contacts__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-12); } }

.contacts__info { display: flex; flex-direction: column; gap: var(--sp-6); }
.contacts__card { background: var(--c-white); padding: var(--sp-6); box-shadow: var(--shadow-sm); transition: all var(--duration) var(--ease); }
.contacts__card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contacts__card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-3); }
.contacts__value { display: block; font-size: var(--fs-base); color: var(--c-text-muted); line-height: 1.7; margin-top: var(--sp-1); transition: color var(--duration) var(--ease); }
a.contacts__value:hover { color: var(--c-gold); }
.contacts__actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-4); }
.contacts__map { min-height: 400px; border-radius: 12px; overflow: hidden; background: var(--c-light); }


/* ========================================
 * REVIEWS PAGE
 * ======================================== */
.reviews-page { padding-top: 2rem; }
.reviews__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
@media (min-width: 768px) { .reviews__grid { grid-template-columns: repeat(2, 1fr); } }

/* Review card (page variant — taller, with quote mark) */
.review-card--full { padding: var(--sp-8); display: flex; flex-direction: column; }
.review-card__meta { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.review-card__city { color: var(--c-text-muted); font-size: var(--fs-sm); }
.review-card__date { color: var(--c-text-light); font-size: var(--fs-xs); }
.review-card__city + .review-card__date::before { content: '·'; margin-right: var(--sp-2); color: var(--c-text-light); }
.review-card__source { display: inline-block; font-size: var(--fs-xs); color: var(--c-text-light); background: var(--c-light); padding: 2px 10px; border-radius: 2px; margin-left: auto; }
.review-card__author { display: flex; align-items: center; gap: var(--sp-2); border-top: 1px solid rgba(0,0,0,0.06); padding-top: var(--sp-4); margin-top: var(--sp-4); }
.review-card--full .review-card__footer { margin-top: auto; }

/* Empty state */
.reviews__empty { text-align: center; padding: var(--sp-16) 0; }
.reviews__empty-icon { font-size: 3rem; margin-bottom: var(--sp-4); opacity: 0.6; }
.reviews__empty-title { font-family: var(--f-heading); font-size: var(--fs-2xl); margin-bottom: var(--sp-3); }
.reviews__empty-text { color: var(--c-text-muted); font-size: var(--fs-base); }

/* Form section */
.reviews__form-section { margin-top: var(--sp-16); padding-top: var(--sp-12); border-top: 1px solid var(--c-border); max-width: 720px; margin-left: auto; margin-right: auto; }

/* Form header */
.reviews__form-header { text-align: center; margin-bottom: var(--sp-10); }
.reviews__form-label { margin-bottom: var(--sp-3); }
.reviews__form-title { font-size: var(--fs-3xl); margin-bottom: var(--sp-4); }
.reviews__form-desc { color: var(--c-text-muted); font-size: var(--fs-base); line-height: 1.6; }

/* Form layout */
.reviews__form { display: flex; flex-direction: column; gap: var(--sp-6); }
.reviews__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
@media (max-width: 640px) { .reviews__form-row { grid-template-columns: 1fr; } }

/* Rating select */
.reviews__rating-select { position: relative; max-width: 240px; }
.reviews__rating-select select.form-input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }

/* Form textarea */
.reviews__form textarea.form-input { resize: vertical; min-height: 140px; }

/* Form footer */
.reviews__form-footer { display: flex; align-items: center; gap: var(--sp-6); flex-wrap: wrap; }
.reviews__form-footer .btn { min-width: 200px; }
.reviews__form-note { font-size: var(--fs-xs); color: var(--c-text-light); font-style: italic; }


/* ========================================
 * APPOINTMENT FORM SECTION
 * ======================================== */
.section--appointment { background: var(--c-graphite); color: #fff; }
.appointment-form-section { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); align-items: center; }
@media (min-width: 768px) { .appointment-form-section { grid-template-columns: 1.2fr 1fr; gap: var(--sp-16); } }

.appointment-form__info { }
.appointment-form__title { font-family: var(--f-heading); font-size: var(--fs-4xl); line-height: 1.1; margin-bottom: var(--sp-6); color: #fff; }
@media (min-width: 768px) { .appointment-form__title { font-size: var(--fs-5xl); } }
.appointment-form__text { color: rgba(255,255,255,0.7); font-size: var(--fs-lg); line-height: 1.7; margin-bottom: var(--sp-8); }
.appointment-form__contacts { display: flex; flex-direction: column; gap: var(--sp-4); }
.appointment-form__contact-item { display: flex; align-items: center; gap: var(--sp-3); color: rgba(255,255,255,0.8); font-size: var(--fs-sm); }
.appointment-form__contact-item a { color: #fff; }
.appointment-form__contact-item a:hover { color: var(--c-gold); }
.appointment-form__contact-icon { color: var(--c-gold); flex-shrink: 0; }

.appointment-form { background: rgba(255,255,255,0.06); backdrop-filter: blur(8px); padding: var(--sp-8); border: 1px solid rgba(255,255,255,0.1); }
.appointment-form__field { margin-bottom: var(--sp-4); }
.appointment-form__field label { display: block; margin-bottom: var(--sp-2); font-size: var(--fs-sm); font-weight: 500; color: rgba(255,255,255,0.7); }
.appointment-form__field input,
.appointment-form__field textarea { width: 100%; padding: 14px 18px; border: 1px solid rgba(255,255,255,0.15); font-size: var(--fs-base); background: rgba(255,255,255,0.08); color: #fff; transition: border-color var(--duration) var(--ease); font-family: var(--f-body); }
.appointment-form__field input::placeholder,
.appointment-form__field textarea::placeholder { color: rgba(255,255,255,0.4); }
.appointment-form__field input:focus,
.appointment-form__field textarea:focus { outline: none; border-color: var(--c-gold); }
.appointment-form__consent { margin-bottom: var(--sp-4); }
.appointment-form__consent label { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: var(--fs-sm); color: rgba(255,255,255,0.6); cursor: pointer; }
.appointment-form__consent input[type="checkbox"] { margin-top: 3px; accent-color: var(--c-gold); }
.appointment-form__consent a { color: var(--c-gold); }
.appointment-form__submit { width: 100%; }
.appointment-form__note { font-size: var(--fs-xs); color: rgba(255,255,255,0.4); margin-top: var(--sp-3); text-align: center; }

/* === Section Label (alternate naming) === */
.section__label { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--c-gold); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: var(--sp-4); }

/* === Cookie Consent Notice Bar === */
.notice-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: var(--c-graphite); border-top: 1px solid rgba(201,169,97,0.2); padding: var(--sp-4) 0; box-shadow: 0 -4px 20px rgba(0,0,0,0.3); }
.notice-bar__inner { max-width: var(--container-max, 1320px); margin: 0 auto; padding: 0 var(--container-px, 1.5rem); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap; }
.notice-bar__text { color: rgba(255,255,255,0.75); font-size: var(--fs-sm); line-height: 1.5; flex: 1; min-width: 200px; }
.notice-bar__text a { color: var(--c-gold); text-decoration: underline; }
.notice-bar__text a:hover { color: var(--c-gold-hover); }
.notice-bar__actions { display: flex; gap: var(--sp-3); flex-shrink: 0; }
.notice-bar__btn { padding: 8px 20px; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; transition: background var(--duration) var(--ease), color var(--duration) var(--ease); border: none; letter-spacing: 0.03em; }
.notice-bar__btn--accept { background: var(--c-gold); color: var(--c-graphite); }
.notice-bar__btn--accept:hover { background: var(--c-gold-hover); color: #fff; }
.notice-bar__btn--decline { background: transparent; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.2); }
.notice-bar__btn--decline:hover { color: #fff; border-color: rgba(255,255,255,0.5); }
@media (max-width: 600px) { .notice-bar__inner { flex-direction: column; text-align: center; } .notice-bar__actions { width: 100%; justify-content: center; } }
