﻿* { box-sizing: border-box; margin: 0; padding: 0; }

/* Видим для поисковиков и скринридеров, скрыт визуально */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --primary: #28796f;
    --primary-hover: #1f625a;
    --bg: #f7f8f6;
    --card-bg: #ffffff;
    --img-bg: #f1f3f1;
    --text: #222222;
    --text-muted: #66716d;
    --border: #dde5e1;
    --footer-bg: #243936;
    --footer-text: #e8ddd8;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===== PROMO BAR ===== */
.promo-bar {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 9px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.promo-bar a { color: #fff; text-decoration: underline; }

/* ===== HEADER ===== */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.logo {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.5px;
}
.logo:hover { color: var(--primary); }

.search-form {
    display: flex;
    flex: 1 1 240px;
    gap: 6px;
}
.search-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    background: #fff;
}
.search-form input:focus { outline: none; border-color: var(--primary); }

.search-form button,
.btn {
    background: var(--primary);
    border: none;
    color: #fff;
    padding: 9px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s;
}
.search-form button:hover,
.btn:hover { background: var(--primary-hover); }

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}
.header-actions a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
}
.cart-link i { font-size: 1.3rem; vertical-align: middle; }
.empty-results { grid-column: 1 / -1; text-align: center; padding: 32px 16px; color: var(--text); }
.empty-results p { margin-bottom: 10px; }
.empty-results .btn { margin-top: 8px; }

.header-phone { color: var(--primary) !important; white-space: nowrap; }
.header-phone i { font-size: 0.9rem; margin-right: 2px; }
.header-actions a:hover { color: var(--primary); }

.admin-link {
    font-size: 0.8rem;
    background: rgba(61,139,122,0.12);
    color: var(--primary) !important;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(61,139,122,0.3);
}
.admin-link:hover { background: rgba(61,139,122,0.22) !important; }

.message {
    background: #e8f4f1;
    border: 1px solid #b8ddd7;
    padding: 10px 14px;
    border-radius: 8px;
    margin: 16px 0;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
    position: relative;
    background: linear-gradient(135deg, #3d8b7a, #266358);
    border-radius: 12px;
    margin: 20px 0;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    padding: 28px 60px 36px;
    opacity: 0;
    transition: opacity 0.5s ease;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.carousel-slide.active { display: flex; opacity: 1; }
.carousel-slide.fade-out { display: flex; opacity: 0; }

.slide-content {
    flex: 1;
    text-align: left;
}
.slide-image {
    flex-shrink: 0;
    width: 220px;
    height: 180px;
    background: rgba(255,255,255,0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    overflow: hidden;
}
.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    box-sizing: border-box;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.slide-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 20px;
    padding: 4px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.carousel-slide h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.15);
}
.carousel-slide p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
    max-width: 400px;
}
.carousel-slide .btn {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
}
.carousel-slide .btn:hover { background: rgba(255,255,255,0.9); color: var(--primary-hover); }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}
.carousel-btn:hover { background: rgba(255,255,255,0.35); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.dot.active { background: #fff; }

/* ===== PROMO BANNER (mid-page) ===== */
.promo-banner {
    background: linear-gradient(135deg, var(--primary), #266358);
    border-radius: 10px;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 20px 0;
    color: #fff;
}
.promo-banner-text h3 {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    font-weight: normal;
    margin-bottom: 3px;
}
.promo-banner-text p { font-size: 0.82rem; opacity: 0.85; }
.promo-banner .btn { background: #fff; color: var(--primary); font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.promo-banner .btn:hover { background: rgba(255,255,255,0.9); }

/* ===== SECTION TITLES ===== */
main > section > h2 {
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
    font-size: 1.6rem;
    margin: 32px 0 16px;
    color: var(--text);
}

/* ===== CATEGORY TILES ===== */
.category-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    margin: 16px 0 32px;
}
.category-tile {
    background: var(--card-bg);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.15s, transform 0.15s, color 0.15s, border-color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 14px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    min-height: 80px;
}
.category-tile:hover {
    box-shadow: 0 6px 18px rgba(61,139,122,0.15);
    transform: translateY(-2px);
    color: var(--primary);
    border-color: var(--primary);
}

/* Keep category-links (chip style, used in catalog filter area) */
.category-links {
    display: flex;
    gap: 12px;
    margin: 16px 0;
    flex-wrap: wrap;
}
.category-links a {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.15s, color 0.15s;
}
.category-links a:hover { border-color: var(--primary); color: var(--primary); }
.category-links a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* ===== PRODUCT CARD ===== */
.product-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 1px 5px rgba(0,0,0,0.07);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.product-card img,
.product-card .image-placeholder {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: var(--img-bg);
    display: block;
    padding: 8px;
    box-sizing: border-box;
}
.product-card .image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaaaaa;
    font-size: 0.85rem;
}

.product-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
    font-size: 0.95rem;
    margin: 12px 14px 4px;
    line-height: 1.4;
}
.product-card .price {
    font-weight: 700;
    color: var(--primary);
    margin: 0 14px 10px;
    font-size: 1.05rem;
}

/* Old (strikethrough) price */
.price-old {
    color: #aaa;
    text-decoration: line-through;
    font-size: 0.85rem;
    font-weight: normal;
    margin-right: 6px;
}

/* Discount badge (round) */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

/* ===== CARD ACTIONS ===== */
.card-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: auto;
    padding: 0 14px 14px;
}
.card-actions .btn,
.card-actions a { flex: 1; text-align: center; }

.btn-sm { padding: 7px 10px; font-size: 0.85rem; }

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ===== FILTER BAR ===== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 12px 0 20px;
}
@media (max-width: 600px) {
    .filter-bar { gap: 10px; }
    .filter-group { flex: 1 1 calc(50% - 10px); }
    .filter-group--check { flex: 1 1 100%; flex-direction: row; align-items: center; }
    .filter-bar .btn { flex: 1; }
}
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-group--check { justify-content: flex-end; padding-bottom: 2px; }
.filter-label { font-size: 0.75rem; color: #888; font-weight: 500; }
.filter-price { display: flex; align-items: center; gap: 6px; }
.filter-input {
    width: 80px;
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
}
.filter-input:focus { outline: none; border-color: var(--primary); }
.filter-dash { color: #aaa; }
.filter-select {
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--card-bg);
    cursor: pointer;
}
.filter-select:focus { outline: none; border-color: var(--primary); }
.filter-check { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; cursor: pointer; white-space: nowrap; }
.filter-check input[type="checkbox"] { accent-color: var(--primary); width: 15px; height: 15px; }

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 32px 0;
}
.page-btn {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.15s, color 0.15s;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-info { color: #888; font-size: 0.9rem; }

/* ===== TABLE ===== */
table.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
table.cart-table th,
table.cart-table td {
    border-bottom: 1px solid var(--border);
    padding: 12px 10px;
    text-align: left;
}

/* ===== FORMS ===== */
.form-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 12px;
    font-family: inherit;
}
.form-input:focus { outline: none; border-color: var(--primary); }

/* ===== PRODUCT DETAIL ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin: 24px 0 40px;
}
.product-images { position: sticky; top: 80px; }
.product-images img {
    width: 100%;
    border-radius: 12px;
    object-fit: contain;
    background: var(--img-bg);
    display: block;
}
.product-images .image-placeholder {
    width: 100%;
    height: 360px;
    border-radius: 12px;
    background: var(--img-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaaaaa;
}
.product-info h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 16px;
}
.product-price-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.product-price { font-size: 2rem; font-weight: 700; color: var(--primary); }

.stock-badge { font-size: 0.8rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.stock-badge.in-stock { background: #e8f4f1; color: #2e7d4f; }
.stock-badge.out-of-stock { background: #fdecea; color: #c0392b; }

.product-description { color: var(--text-muted); line-height: 1.65; margin-bottom: 24px; }

.add-to-cart-form { display: flex; gap: 12px; align-items: center; margin-bottom: 32px; }
.add-to-cart-form .quantity-input {
    width: 72px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    text-align: center;
}
.btn-large { padding: 12px 28px; font-size: 1rem; }

.product-specs h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #444;
}

@media (max-width: 720px) {
    .product-detail { grid-template-columns: 1fr; gap: 24px; }
    .product-images { position: static; }
}

/* ===== CART / CHECKOUT ===== */
.cart-product {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 190px;
}
.cart-product__image {
    width: 80px;
    height: 80px;
    aspect-ratio: 1;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--img-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
}
.cart-product__image img {
    width: 100%;
    height: 100%;
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    padding: 2px;
}
.cart-product__placeholder {
    padding: 8px;
    color: #8a8a8a;
    font-size: 0.72rem;
    line-height: 1.2;
    text-align: center;
}
.cart-product__name {
    color: #213633;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}
.cart-product__name:hover { color: var(--primary); }
.cart-summary { margin-top: 20px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cart-total { font-size: 1.1rem; margin: 0; }
.order-total { margin: 16px 0 24px; font-size: 1.1rem; }
.checkout-form { max-width: 520px; }
.checkout-form label { display: block; margin-bottom: 4px; font-weight: 500; }
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 16px;
    font-family: inherit;
    font-size: 1rem;
}
.checkout-form input:focus,
.checkout-form select:focus { outline: none; border-color: var(--primary); }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--footer-bg);
    margin-top: 48px;
    padding: 40px 0 28px;
}
.footer-inner { text-align: center; font-size: 0.9rem; }
.footer-inner p { color: var(--footer-text); margin: 6px 0; opacity: 0.8; }
.footer-inner p a { color: inherit; text-decoration: none; transition: opacity 0.15s; }
.footer-inner p a:hover { text-decoration: underline; }

.footer-nav {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.footer-nav a { color: var(--footer-text); text-decoration: none; font-size: 0.85rem; opacity: 0.8; transition: opacity 0.15s; }
.footer-nav a:hover { opacity: 1; }

/* ===== BURGER / NAV ===== */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.burger-btn span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
    display: flex;
    gap: 0;
    padding: 0 16px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.main-nav a {
    text-decoration: none;
    color: #444;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 10px 16px;
    display: inline-block;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 4px;
    align-items: center;
    padding: 10px 0;
    font-size: 0.85rem;
    color: #aaa;
    list-style: none;
    margin: 0 0 8px;
}
.breadcrumb li + li::before { content: "›"; margin-right: 4px; color: #ccc; }
.breadcrumb a { color: #888; text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li { white-space: nowrap; }
.breadcrumb li:last-child { color: #444; overflow: hidden; text-overflow: ellipsis; }

/* ===== REVIEWS ===== */
.reviews-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
    gap: 24px;
    align-items: stretch;
    margin: 8px 0 24px;
}
.reviews-hero__copy {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
    background: var(--surface);
}
.reviews-hero__copy h1 { margin: 8px 0 12px; max-width: 760px; }
.reviews-hero__copy p { max-width: 760px; color: var(--text-muted); line-height: 1.65; margin-bottom: 18px; }
.reviews-hero__panel {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 22px;
    background: var(--surface-muted);
}
.reviews-hero__panel strong { display: block; margin-bottom: 12px; }
.reviews-hero__panel ul { margin: 0; padding-left: 18px; color: var(--text-muted); }
.reviews-hero__panel li { margin-bottom: 8px; line-height: 1.5; }
.review-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 24px;
}
.review-trust div {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    background: var(--card-bg);
}
.review-trust i { color: var(--primary); margin-bottom: 10px; }
.review-trust strong { display: block; margin-bottom: 4px; }
.review-trust span { color: var(--text-muted); font-size: 0.9rem; line-height: 1.45; }
.review-list { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.review-card { border: 1px solid var(--border); border-radius: 8px; padding: 16px; background: var(--card-bg); }
.review-header { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.review-name { font-size: 1rem; }
.review-rating { color: var(--primary); font-size: 1.1rem; }
.review-date { color: #aaa; font-size: 0.85rem; margin-left: auto; }
.review-text { color: #444; }
.reviews-empty {
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 22px;
    margin: 20px 0 24px;
    background: var(--surface);
}
.reviews-empty h2 { margin-bottom: 10px; }
.reviews-empty p { color: var(--text-muted); max-width: 760px; line-height: 1.65; }
.review-form-section {
    display: grid;
    grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 28px;
}
.review-form-copy p { color: var(--text-muted); line-height: 1.6; }
.review-form { max-width: 560px; }
.review-form label { display: block; margin: 0 0 6px; font-weight: 600; }
.review-form .form-input { margin-bottom: 14px; }
.form-error { color: #c1714a; margin: -6px 0 12px; }
@media (max-width: 820px) {
    .reviews-hero,
    .review-form-section { grid-template-columns: 1fr; }
    .review-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .reviews-hero__copy,
    .reviews-hero__panel,
    .reviews-empty { padding: 18px; }
    .review-trust { grid-template-columns: 1fr; }
    .review-date { margin-left: 0; width: 100%; }
}

/* ===== BLOG ===== */
.blog-content { max-width: 720px; line-height: 1.7; }
.blog-content p { margin-bottom: 14px; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    z-index: 1000;
    flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 0.875rem; color: #ddd; flex: 1 1 300px; }
.cookie-btn { flex-shrink: 0; white-space: nowrap; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 20px 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item summary { font-weight: 600; cursor: pointer; list-style: none; padding-right: 20px; position: relative; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; color: var(--primary); font-size: 1.2rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 10px; color: var(--text-muted); line-height: 1.6; }

/* ===== SALES ===== */
.sales-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 20px 0; }
.sale-card { border: 2px solid var(--primary); border-radius: 10px; padding: 20px; background: #f0f8f6; }
.sale-card .sale-badge { display: inline-block; background: var(--primary); color: #fff; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 10px; }
.sale-card h3 { font-family: Georgia, serif; font-weight: normal; margin-bottom: 8px; }
.sale-card .sale-price { color: var(--primary); font-weight: bold; font-size: 1.1rem; }
.sale-card .sale-old-price { color: #aaa; text-decoration: line-through; font-size: 0.9rem; margin-left: 8px; }

/* ===== RELATED PRODUCTS ===== */
.related-products { margin-top: 48px; border-top: 1px solid var(--border); padding-top: 32px; }
.related-products h2 { font-family: Georgia, serif; font-weight: normal; margin-bottom: 20px; }

/* ===== BRAND SEO LINKS ===== */
.brand-seo-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; font-size: 0.88rem; }
.brand-seo-label { color: var(--text-muted); font-weight: 500; }
.brand-seo-links a { background: #e8f4f1; color: var(--primary); border-radius: 20px; padding: 3px 12px; text-decoration: none; transition: background 0.2s; }
.brand-seo-links a:hover { background: #c8e8e2; }

/* ===== ANALYTICS ===== */
.analytics-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.analytics-card { background: linear-gradient(135deg, #e8f4f1, #c8e8e2); border-radius: 12px; padding: 24px 20px; text-align: center; }
.analytics-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.analytics-value { font-family: Georgia, serif; font-size: 1.8rem; color: var(--text); margin-bottom: 4px; }
.analytics-sub { font-size: 0.85rem; color: var(--primary); }
.analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 768px) {
    .analytics-cards { grid-template-columns: 1fr; }
    .analytics-grid { grid-template-columns: 1fr; }
}

/* ===== ORDER TRACKING ===== */
.track-form { max-width: 520px; margin-bottom: 28px; }
.track-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.track-error { background: #fdf0ed; border: 1px solid #e8b4a0; color: #a04020; border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; }
.track-result { background: #f7fcfb; border: 1px solid #b8ddd7; border-radius: 12px; padding: 24px; max-width: 680px; }
.track-result h2 { font-family: Georgia, serif; font-weight: normal; margin-bottom: 4px; }

.order-steps { display: flex; align-items: center; margin: 24px 0; }
.step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.step span { font-size: 0.78rem; color: #aaa; white-space: nowrap; }
.step.done span, .step.current span { color: var(--text-muted); }

.step-dot { width: 16px; height: 16px; border-radius: 50%; background: #ddd; border: 2px solid #ddd; transition: background 0.2s; }
.step.done .step-dot { background: var(--primary); border-color: var(--primary); }
.step.current .step-dot { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(61,139,122,0.2); }

.step-line { flex: 1; height: 2px; background: #ddd; margin-bottom: 22px; min-width: 20px; }
.step-line.done { background: var(--primary); }

/* ===== MISC ===== */
.category-description { color: var(--text-muted); margin: 8px 0 16px; max-width: 680px; }

/* ===== BLOG ===== */
.blog-subtitle { color: var(--text-muted); margin-bottom: 28px; font-size: 1rem; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 8px;
}
.blog-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover {
    box-shadow: 0 6px 24px rgba(61,139,122,0.15);
    transform: translateY(-3px);
}
.blog-card-top {
    height: 6px;
    background: linear-gradient(90deg, var(--primary), #266358);
}
.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.blog-card-title {
    font-family: Georgia, serif;
    font-size: 1.15rem;
    font-weight: normal;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.4;
}
.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 18px;
}
.blog-card-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
}
.blog-card:hover .blog-card-link { text-decoration: underline; }

/* Blog article page */
.blog-article {
    max-width: 720px;
    margin: 0 auto;
    padding: 8px 0 40px;
}
.blog-article-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.blog-article-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.blog-article-date { color: var(--text-muted); }
.blog-article-back {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.blog-article-back:hover { text-decoration: underline; }
.blog-article-title {
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 16px;
}
.blog-article-excerpt {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    border-left: 3px solid var(--primary);
    padding-left: 16px;
    margin: 0;
}
.blog-article-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.blog-back-btn {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}
.blog-back-btn:hover { text-decoration: underline; }

/* Blog article content */
.blog-content { font-size: 1rem; }
.blog-content h2 { font-family: Georgia, serif; font-size: 1.4rem; font-weight: normal; margin: 32px 0 12px; color: var(--text); }
.blog-content h3 { font-size: 1.05rem; font-weight: 600; margin: 24px 0 8px; color: var(--text); }
.blog-content p { line-height: 1.75; margin-bottom: 16px; color: var(--text); }
.blog-content ul, .blog-content ol { padding-left: 24px; margin-bottom: 16px; }
.blog-content li { line-height: 1.7; margin-bottom: 6px; color: var(--text); }
.blog-content strong { color: var(--text); font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; padding: 10px 12px; gap: 8px; }
    .logo { font-size: 1.2rem; flex: 1; }
    .header-actions { gap: 12px; }
    .header-phone { display: none; }
    .search-form { flex: 1 1 100%; order: 3; }
    .burger-btn { display: flex; }
    .main-nav { display: none; flex-direction: column; border-top: 1px solid var(--border); padding: 8px 0; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 16px; border-bottom: 1px solid #f0ebe5; font-size: 1rem; }
    .main-nav a:last-child { border-bottom: none; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .carousel-slide { padding: 20px 16px 24px; flex-direction: row; gap: 12px; }
    .slide-content { text-align: left; }
    .slide-image { width: 110px; height: 100px; flex-shrink: 0; }
    .carousel-slide h2 { font-size: 1.1rem; margin-bottom: 6px; }
    .carousel-slide p { font-size: 0.82rem; margin-bottom: 10px; }
    .slide-badge { font-size: 0.75rem; padding: 3px 10px; margin-bottom: 8px; }
    .category-tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .category-tile { padding: 14px 8px; font-size: 0.8rem; }
    .promo-banner { flex-direction: column; text-align: center; padding: 24px 20px; }
    .card-actions { flex-direction: row; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-article-title { font-size: 1.4rem; }
}

/* ===== KROHA FAMILY PRODUCT UI REFRESH ===== */
:root {
    --accent: #d99a3a;
    --accent-soft: #fff3df;
    --surface: #ffffff;
    --surface-muted: #eef4f1;
    --shadow-soft: 0 10px 30px rgba(35, 57, 54, 0.08);
}

body { line-height: 1.5; }
.container { max-width: 1180px; }
.site-header { background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); }
.logo { font-family: "Segoe UI", Arial, sans-serif; font-weight: 800; letter-spacing: 0; color: #213633; }
.search-form { flex: 1 1 360px; max-width: 560px; }
.search-form input { min-height: 42px; border-radius: 8px; border-color: #cfdad5; }
.search-form button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; border-radius: 8px; }
.main-nav { justify-content: center; background: #fff; }
.main-nav a { color: #344541; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.shop-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 24px;
    align-items: stretch;
    min-height: 430px;
    margin: 24px 0 18px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background:
        linear-gradient(115deg, rgba(255,255,255,0.96), rgba(255,255,255,0.72)),
        radial-gradient(circle at 86% 18%, rgba(217,154,58,0.18), transparent 30%),
        linear-gradient(135deg, #eef6f3, #fffaf2);
    box-shadow: var(--shadow-soft);
}
.shop-hero__content { display: flex; flex-direction: column; justify-content: center; max-width: 680px; }
.shop-hero h2 { max-width: 640px; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.02; letter-spacing: 0; color: #1f302d; margin-bottom: 16px; }
.shop-hero p { max-width: 620px; color: var(--text-muted); font-size: 1.05rem; margin-bottom: 18px; }
.hero-search { display: flex; gap: 10px; margin: 4px 0 16px; max-width: 620px; }
.hero-search input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid #cbd8d2; border-radius: 8px; font: inherit; background: #fff; }
.hero-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(40,121,111,0.12); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-category-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.hero-category { display: flex; flex-direction: column; gap: 12px; min-height: 132px; padding: 18px; color: #1f302d; text-decoration: none; background: rgba(255,255,255,0.86); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 4px 18px rgba(35,57,54,0.06); transition: transform 0.16s, border-color 0.16s, box-shadow 0.16s; }
.hero-category:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow-soft); color: var(--primary); }
.hero-category__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: var(--surface-muted); color: var(--primary); font-size: 1.15rem; }
.hero-category span:last-child { font-weight: 800; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 32px; }
.trust-strip div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: start; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.trust-strip i { grid-row: span 2; color: var(--accent); font-size: 1.1rem; margin-top: 2px; }
.trust-strip strong { color: #243936; font-size: 0.94rem; }
.trust-strip span { color: var(--text-muted); font-size: 0.84rem; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 34px 0 16px; }
.section-head h2 { font-family: "Segoe UI", Arial, sans-serif; font-size: 1.55rem; line-height: 1.2; margin: 0; color: #213633; }
.section-head a { color: var(--primary); font-weight: 800; text-decoration: none; }
.section-head a:hover { text-decoration: underline; }
main > section > h2 { font-family: "Segoe UI", Arial, sans-serif; font-weight: 800; }

.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.guide-card { min-height: 118px; padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; justify-content: space-between; transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s; }
.guide-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.guide-card strong { font-size: 1.02rem; color: #213633; }
.guide-card span { color: var(--text-muted); font-size: 0.88rem; }

.product-grid { grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 18px; }
.product-grid--featured { grid-template-columns: repeat(4, 1fr); }
.product-card--pro { border: 1px solid var(--border); border-radius: 8px; box-shadow: none; min-height: 100%; }
.product-card--pro:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.product-card__media { position: relative; display: block; background: var(--img-bg); color: inherit; text-decoration: none; }
.product-card__media img,
.product-card__media .image-placeholder { height: 220px; padding: 14px; object-fit: contain; background: var(--img-bg); }
.product-badge { position: absolute; top: 10px; left: 10px; padding: 5px 9px; border-radius: 999px; background: #e8f6ef; color: #23704f; border: 1px solid #bfe4ce; font-size: 0.72rem; font-weight: 800; }
.product-badge--muted { background: #f5f2ea; color: #7d6b3d; border-color: #e5d9b8; }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px; }
.product-card__meta { color: var(--text-muted); font-size: 0.78rem; margin-bottom: 6px; }
.product-card--pro h3 { margin: 0 0 10px; font-family: "Segoe UI", Arial, sans-serif; font-weight: 750; font-size: 0.95rem; line-height: 1.35; min-height: 2.6em; }
.product-card--pro h3 a { color: #213633; text-decoration: none; }
.product-card--pro h3 a:hover { color: var(--primary); }
.spec-chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 28px; margin-bottom: 10px; }
.spec-chips span { display: inline-flex; align-items: center; max-width: 100%; padding: 4px 8px; border-radius: 999px; background: var(--surface-muted); color: #40504c; font-size: 0.74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card--pro .price { margin: auto 0 12px; color: #172a27; font-size: 1.15rem; }
.card-actions { padding: 0; gap: 8px; }
.card-actions form { flex: 1; display: flex; }
.card-actions form .btn { width: 100%; }
.btn { border-radius: 8px; }
.btn-outline { background: #fff; }
.btn-outline:hover { color: #fff; }
.category-tiles--pro .category-tile { border-radius: 8px; min-height: 92px; box-shadow: none; }

.catalog-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 12px 0 14px; }
.catalog-header h1 { font-size: 2rem; line-height: 1.15; color: #213633; }
.catalog-summary { min-width: 150px; padding: 14px 18px; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.catalog-summary strong { display: block; font-size: 1.5rem; color: var(--primary); }
.catalog-summary span { color: var(--text-muted); font-size: 0.85rem; }
.category-links--tabs { margin-bottom: 14px; }
.category-links--tabs a { border-radius: 8px; }
.catalog-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; align-items: start; }
.filter-sidebar { position: sticky; top: 128px; }
.filter-bar--side { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin: 0; padding: 16px; border-radius: 8px; box-shadow: none; }
.filter-title { display: flex; align-items: center; gap: 8px; color: #213633; font-weight: 800; }
.filter-bar--side .filter-price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-input, .filter-select { width: 100%; min-height: 40px; border-radius: 8px; background: #fff; }
.filter-input--wide { width: 100%; }
.filter-check--card { padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.search-result-note { margin-bottom: 12px; color: var(--text-muted); }

.product-detail--pro { grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); gap: 34px; }
.product-gallery { display: grid; gap: 12px; }
.product-gallery img { border: 1px solid var(--border); border-radius: 8px; background: var(--img-bg); max-height: 640px; }
.product-buybox { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 22px; box-shadow: var(--shadow-soft); }
.product-meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; color: var(--text-muted); font-size: 0.84rem; }
.product-meta-row a, .product-meta-row span { padding: 4px 8px; background: var(--surface-muted); border-radius: 999px; color: var(--text-muted); text-decoration: none; }
.product-buybox h1 { font-family: "Segoe UI", Arial, sans-serif; font-weight: 800; font-size: 1.65rem; color: #213633; }
.product-price { color: #172a27; }
.key-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.key-specs div { padding: 12px; background: #f7faf8; border: 1px solid var(--border); border-radius: 8px; }
.key-specs strong { display: block; color: var(--text-muted); font-size: 0.76rem; margin-bottom: 4px; }
.key-specs span { color: #213633; font-weight: 750; }
.add-to-cart-form--pro { margin: 18px 0 10px; }
.add-to-cart-form--pro .btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.consultation-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-bottom: 16px; }
.buybox-benefits { display: grid; gap: 8px; margin: 14px 0 22px; }
.buybox-benefits div { display: flex; align-items: center; gap: 10px; color: #344541; font-size: 0.92rem; }
.buybox-benefits i { color: var(--accent); width: 18px; }
.product-description-block { border-top: 1px solid var(--border); padding-top: 18px; }
.product-description-block h2, .product-specs h2 { font-family: "Segoe UI", Arial, sans-serif; font-size: 1.05rem; font-weight: 800; color: #213633; }
.product-specs-accordion {
    border-top: 1px solid var(--border);
    padding-top: 18px;
}
.product-specs-accordion summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    color: #213633;
    font-size: 1.05rem;
    font-weight: 800;
    list-style: none;
}
.product-specs-accordion summary::-webkit-details-marker { display: none; }
.product-specs-accordion summary i { color: var(--primary); transition: transform 0.18s ease; }
.product-specs-accordion[open] summary i { transform: rotate(180deg); }
.product-specs-accordion .product-specs-table { margin-top: 8px; }
table.cart-table th { width: 34%; color: var(--text-muted); font-weight: 700; }
table.cart-table td { color: #213633; }

@media (max-width: 980px) {
    .shop-hero { grid-template-columns: 1fr; padding: 24px; }
    .hero-category-panel { grid-template-columns: repeat(4, 1fr); }
    .hero-category { min-height: 110px; }
    .trust-strip, .guide-grid, .product-grid--featured { grid-template-columns: repeat(2, 1fr); }
    .catalog-layout { grid-template-columns: 1fr; }
    .filter-sidebar { position: static; }
    .filter-bar--side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .filter-title, .filter-check--card { grid-column: 1 / -1; }
    .product-detail--pro { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .promo-bar { font-size: 0.78rem; }
    .search-form button span { display: none; }
    .shop-hero { margin-top: 14px; padding: 18px; min-height: 0; }
    .shop-hero h2 { font-size: 2rem; }
    .hero-search { flex-direction: column; }
    .hero-category-panel { grid-template-columns: 1fr 1fr; }
    .trust-strip, .guide-grid, .product-grid--featured { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .catalog-header { align-items: stretch; flex-direction: column; }
    .catalog-summary { text-align: left; }
    .filter-bar--side { grid-template-columns: 1fr; }
    .section-head { align-items: start; flex-direction: column; }
    .key-specs { grid-template-columns: 1fr; }
    .product-buybox { padding: 16px; }
    .add-to-cart-form { align-items: stretch; }
    .add-to-cart-form .quantity-input { width: 76px; }
    .cart-product {
        grid-template-columns: 72px minmax(140px, 1fr);
        min-width: 180px;
    }
    .cart-product__image { width: 72px; height: 72px; }
}

/* Remove browser underlines from product UI controls and navigation cards. */
.shop-hero a,
.trust-strip a,
.section-head a,
.guide-card,
.hero-category,
.category-tile,
.category-links a,
.brand-seo-links a,
.product-card a,
.product-meta-row a,
.catalog-summary a,
.filter-bar a,
.pagination a,
.breadcrumb a,
.btn,
.header-actions a,
.main-nav a {
    text-decoration: none;
}

.shop-hero a:hover,
.section-head a:hover,
.guide-card:hover,
.hero-category:hover,
.category-tile:hover,
.category-links a:hover,
.brand-seo-links a:hover,
.product-card a:hover,
.product-meta-row a:hover,
.filter-bar a:hover,
.pagination a:hover,
.breadcrumb a:hover,
.btn:hover,
.header-actions a:hover,
.main-nav a:hover {
    text-decoration: none;
}

/* Global link reset: keep site UI from falling back to browser blue/underline. */
a,
a:visited,
a:hover,
a:active,
a:focus {
    color: inherit;
    text-decoration: none;
}

/* ===== CONSULTATION LEAD FORM ===== */
.consultation-section {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
    gap: 28px;
    align-items: start;
    margin: 42px 0 10px;
    padding: 28px;
    background: linear-gradient(135deg, #ffffff, #f2f8f5);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}
.consultation-copy h2 {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 1.8rem;
    line-height: 1.15;
    margin-bottom: 12px;
    color: #213633;
}
.consultation-copy p {
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 16px;
}
.consultation-list {
    display: grid;
    gap: 8px;
    list-style: none;
    color: #344541;
}
.consultation-list li {
    display: flex;
    gap: 9px;
    align-items: center;
}
.consultation-list i { color: var(--primary); }
.consultation-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
}
.consultation-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #344541;
    font-size: 0.84rem;
    font-weight: 750;
}
.consultation-form input,
.consultation-form select,
.consultation-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #cbd8d2;
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-weight: 400;
}
.consultation-form textarea { resize: vertical; }
.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(40,121,111,0.12);
}
.consultation-form label:has(textarea),
.consultation-form .btn,
.consultation-form__title { grid-column: 1 / -1; }
.consultation-form__title {
    color: #213633;
    font-weight: 850;
    font-size: 1rem;
}
.consultation-form--compact {
    margin: 12px 0 16px;
    grid-template-columns: 1fr;
    box-shadow: none;
    background: #f7faf8;
}
.consultation-form--compact label,
.consultation-form--compact .btn,
.consultation-form--compact .consultation-form__title { grid-column: auto; }

@media (max-width: 820px) {
    .consultation-section { grid-template-columns: 1fr; padding: 20px; }
    .consultation-form { grid-template-columns: 1fr; }
    .consultation-form label:has(textarea),
    .consultation-form .btn,
    .consultation-form__title { grid-column: auto; }
}

/* Footer text should use one consistent color instead of mixed opacity levels. */
.site-footer,
.site-footer p,
.site-footer a,
.footer-nav a,
.footer-inner p,
.footer-inner p a {
    color: var(--footer-text);
    opacity: 1;
}
.footer-nav a,
.footer-inner p {
    color: rgba(232, 221, 216, 0.86);
}
.footer-nav a:hover,
.footer-inner p a:hover {
    color: #ffffff;
    opacity: 1;
}

.footer-inner p a {
    color: rgba(232, 221, 216, 0.86);
}

/* ===== VISUAL HERO + PHOTO CATEGORIES ===== */
.shop-hero--visual {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.88fr);
    background:
        linear-gradient(115deg, rgba(255,255,255,0.98), rgba(255,255,255,0.78)),
        radial-gradient(circle at 82% 14%, rgba(217,154,58,0.26), transparent 28%),
        radial-gradient(circle at 92% 72%, rgba(40,121,111,0.16), transparent 30%),
        linear-gradient(135deg, #eef6f3, #fff8ec);
}
.eyebrow--accent::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(217,154,58,0.16);
}
.hero-visual {
    display: grid;
    gap: 14px;
    align-content: center;
}
.hero-product-collage {
    position: relative;
    min-height: 250px;
}
.hero-product-shot {
    position: absolute;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 18px 42px rgba(35,57,54,0.14);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hero-product-shot:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(35,57,54,0.18);
}
.hero-product-shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    background: #f7faf8;
}
.hero-product-shot span {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: #213633;
    font-size: 0.72rem;
    font-weight: 850;
    box-shadow: 0 4px 16px rgba(35,57,54,0.12);
}
.hero-product-shot--1 { width: 58%; height: 210px; left: 0; top: 22px; z-index: 3; }
.hero-product-shot--2 { width: 45%; height: 155px; right: 0; top: 0; z-index: 2; }
.hero-product-shot--3 { width: 43%; height: 135px; right: 8%; bottom: 0; z-index: 4; }
.hero-category-panel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero-category--photo {
    min-height: 104px;
    padding: 10px;
    gap: 8px;
}
.hero-category__photo {
    width: 100%;
    aspect-ratio: 1.35;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f7faf8;
    overflow: hidden;
}
.hero-category__photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}
.hero-category--photo span:last-child,
.hero-category--accent span:last-child {
    font-size: 0.8rem;
    line-height: 1.15;
}
.hero-category--accent {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.hero-category--accent .hero-category__icon {
    background: rgba(255,255,255,0.16);
    color: #fff;
}
.consultation-section--near-hero {
    margin-top: 22px;
    border-color: rgba(40,121,111,0.24);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(245,250,248,0.98)),
        linear-gradient(90deg, rgba(40,121,111,0.08), rgba(217,154,58,0.10));
}
.guide-card--accent {
    border-color: rgba(217,154,58,0.42);
    background: linear-gradient(135deg, #fff, var(--accent-soft));
}
.category-tiles--photo {
    grid-template-columns: repeat(3, 1fr);
}
.category-tile--photo {
    justify-content: flex-start;
    min-height: 138px;
    padding: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: 42% 1fr;
    text-align: left;
}
.category-tile__image {
    height: 100%;
    min-height: 138px;
    display: grid;
    place-items: center;
    background: #f2f7f4;
    color: var(--primary);
}
.category-tile__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
}
.category-tile__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 18px;
}
.category-tile__body strong {
    color: #213633;
    font-size: 1rem;
}
.category-tile__body small {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
}
.product-badge,
.spec-chips span {
    border-radius: 8px;
}
.product-badge {
    background: var(--accent-soft);
    color: #8b5b12;
    border-color: rgba(217,154,58,0.34);
}

@media (max-width: 980px) {
    .shop-hero--visual { grid-template-columns: 1fr; }
    .hero-product-collage { min-height: 220px; }
    .hero-category-panel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .category-tiles--photo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .hero-product-collage { min-height: 190px; }
    .hero-product-shot--1 { width: 62%; height: 170px; }
    .hero-product-shot--2 { width: 45%; height: 126px; }
    .hero-product-shot--3 { width: 43%; height: 112px; }
    .hero-category-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-category--photo { min-height: 116px; }
    .category-tile--photo { grid-template-columns: 38% 1fr; }
}

/* ===== HERO VISIBILITY FIX ===== */
.shop-hero--visual {
    align-items: center;
    overflow: visible;
}
.hero-visual {
    min-width: 0;
    gap: 16px;
}
.hero-product-collage {
    position: static;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
    grid-template-rows: repeat(2, minmax(132px, 1fr));
    gap: 12px;
}
.hero-product-shot,
.hero-product-shot--1,
.hero-product-shot--2,
.hero-product-shot--3 {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    min-height: 132px;
    display: block;
}
.hero-product-shot--1 {
    grid-row: 1 / span 2;
    min-height: 276px;
}
.hero-product-shot img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: contain;
    padding: 18px;
}
.hero-product-shot--1 img {
    padding: 20px;
}
.hero-product-shot span {
    left: 12px;
    bottom: 12px;
}
.hero-category-panel {
    align-items: stretch;
}
.hero-category--photo {
    min-height: 128px;
}
.hero-category__photo {
    min-height: 78px;
}
.category-tiles--photo {
    align-items: stretch;
}
.category-tile--photo {
    min-width: 0;
}
.category-tile__image img {
    object-fit: contain;
    padding: 18px;
}

@media (max-width: 980px) {
    .hero-product-collage {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: auto;
    }
    .hero-product-shot,
    .hero-product-shot--1,
    .hero-product-shot--2,
    .hero-product-shot--3 {
        grid-row: auto;
        min-height: 170px;
    }
}
@media (max-width: 640px) {
    .hero-product-collage {
        grid-template-columns: 1fr;
    }
    .hero-product-shot,
    .hero-product-shot--1,
    .hero-product-shot--2,
    .hero-product-shot--3 {
        min-height: 210px;
    }
    .hero-category--photo {
        min-height: 132px;
    }
    .category-tile--photo {
        min-height: 150px;
    }
}

/* ===== BRAND LOGO ===== */
.logo-image {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 0;
}
.logo-image img {
    display: block;
    width: auto;
    height: 56px;
    max-width: 206px;
    object-fit: contain;
}
.logo-image:hover {
    opacity: 0.92;
}

@media (max-width: 768px) {
    .logo-image img {
        width: auto;
        height: 46px;
    }
}
@media (max-width: 390px) {
    .logo-image img {
        height: 42px;
    }
}
/* ===== COMPACT HOME HERO FOR UPCOMING CAROUSEL ===== */
.shop-hero--visual {
    min-height: 0;
    margin: 16px 0 14px;
    padding: 22px;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.9fr);
    gap: 18px;
}
.shop-hero__content {
    max-width: 560px;
}
.shop-hero h2 {
    max-width: 540px;
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    line-height: 1.08;
    margin-bottom: 10px;
}
.shop-hero p {
    max-width: 540px;
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.hero-search {
    max-width: 540px;
    margin: 2px 0 12px;
}
.hero-search input {
    min-height: 42px;
}
.hero-actions .btn {
    padding: 8px 14px;
}
.hero-visual {
    gap: 10px;
}
.hero-product-collage {
    grid-template-rows: repeat(2, minmax(104px, 1fr));
    gap: 10px;
}
.hero-product-shot,
.hero-product-shot--1,
.hero-product-shot--2,
.hero-product-shot--3 {
    min-height: 104px;
}
.hero-product-shot--1 {
    min-height: 218px;
}
.hero-product-shot img,
.hero-product-shot--1 img {
    padding: 12px;
}
.hero-product-shot span {
    left: 8px;
    bottom: 8px;
    padding: 4px 7px;
    font-size: 0.68rem;
}
.hero-category-panel {
    gap: 8px;
}
.hero-category--photo,
.hero-category--accent {
    min-height: 92px;
    padding: 8px;
    gap: 6px;
}
.hero-category__photo {
    min-height: 58px;
}
.hero-category__icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
}
.hero-category--photo span:last-child,
.hero-category--accent span:last-child {
    font-size: 0.76rem;
}

@media (max-width: 980px) {
    .shop-hero--visual {
        padding: 20px;
        gap: 14px;
    }
    .hero-product-shot,
    .hero-product-shot--1,
    .hero-product-shot--2,
    .hero-product-shot--3 {
        min-height: 142px;
    }
}

@media (max-width: 640px) {
    .shop-hero--visual {
        margin-top: 12px;
        padding: 16px;
    }
    .shop-hero h2 {
        font-size: 1.55rem;
    }
    .shop-hero p {
        font-size: 0.9rem;
    }
    .hero-product-shot,
    .hero-product-shot--1,
    .hero-product-shot--2,
    .hero-product-shot--3 {
        min-height: 150px;
    }
    .hero-category--photo,
    .hero-category--accent {
        min-height: 98px;
    }
}

/* ===== HOME PROMO CAROUSEL ===== */
.promo-carousel {
    margin: 16px 0 14px;
    border-radius: 8px;
    background: #213633;
    box-shadow: var(--shadow-soft);
}
.promo-carousel__slide {
    min-height: 214px;
    padding: 26px 70px 34px;
    background:
        linear-gradient(110deg, rgba(33,54,51,0.94), rgba(33,54,51,0.76)),
        linear-gradient(135deg, #28796f, #d99a3a);
}
.promo-carousel__slide--sale {
    background:
        linear-gradient(110deg, rgba(33,54,51,0.94), rgba(33,54,51,0.74)),
        linear-gradient(135deg, #28796f, #d99a3a);
}
.promo-carousel__slide--news {
    background:
        linear-gradient(110deg, rgba(33,54,51,0.94), rgba(33,54,51,0.72)),
        linear-gradient(135deg, #365f8f, #e0b15a);
}
.promo-carousel__slide--guide {
    background:
        linear-gradient(110deg, rgba(33,54,51,0.94), rgba(33,54,51,0.72)),
        linear-gradient(135deg, #5f7662, #d77c5f);
}
.promo-carousel .slide-content {
    max-width: 620px;
}
.promo-carousel .slide-badge {
    border-radius: 8px;
    background: rgba(255,255,255,0.14);
}
.promo-carousel h2 {
    max-width: 640px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: clamp(1.45rem, 2.5vw, 2.35rem);
    font-weight: 850;
    line-height: 1.08;
}
.promo-carousel p {
    max-width: 560px;
    color: rgba(255,255,255,0.88);
}
.promo-carousel .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
}
.promo-carousel__aside {
    width: 210px;
    min-height: 150px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    text-align: center;
}
.promo-carousel__aside i {
    font-size: 2rem;
    color: #f5d28e;
}
.promo-carousel__aside strong {
    font-size: 2rem;
    line-height: 1;
}
.promo-carousel__aside span {
    max-width: 130px;
    color: rgba(255,255,255,0.82);
    font-size: 0.82rem;
}
.promo-carousel .carousel-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1rem;
}
.promo-carousel .carousel-dots {
    bottom: 13px;
}
.promo-carousel .dot {
    width: 22px;
    height: 4px;
    border-radius: 999px;
}

@media (max-width: 760px) {
    .promo-carousel__slide {
        min-height: 0;
        padding: 22px 48px 34px;
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }
    .promo-carousel h2 {
        font-size: 1.35rem;
    }
    .promo-carousel p {
        font-size: 0.9rem;
    }
    .promo-carousel__aside {
        width: 100%;
        min-height: 96px;
        grid-template-columns: auto 1fr;
        justify-items: start;
        text-align: left;
    }
    .promo-carousel__aside span {
        max-width: none;
        grid-column: 2;
    }
}

@media (max-width: 480px) {
    .promo-carousel__slide {
        padding: 18px 16px 38px;
    }
    .promo-carousel .carousel-btn {
        top: auto;
        bottom: 9px;
        transform: none;
        width: 30px;
        height: 30px;
    }
    .promo-carousel .carousel-prev {
        left: 10px;
    }
    .promo-carousel .carousel-next {
        right: 10px;
    }
    .promo-carousel .carousel-dots {
        bottom: 22px;
    }
}
