:root {
    --dark: #011936;
    --light: #ffffff;
    --accent: #249bda;
    --light-blue: #f5faff;
    --pale-blue: #ebf2fb;
    --gray: #acbcd0;
    --error: #fe5f55;
    --radius: 4px;
    --pill: 50px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Geologica', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    background: var(--light);
    line-height: 1.5;
    font-weight: 400;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Підкреслення-анімація для лінків (фірмова фішка бренду) */
.underline-link {
    position: relative;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .3s ease;
}
.underline-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -3px;
    height: 1px;
    background: var(--accent);
    width: 0;
    transition: width .5s;
}
.underline-link:hover::after { width: 100%; }

/* ===== Header ===== */
.site-header {
    background: #eef4fa;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--pale-blue);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle:hover span { background: var(--accent); }

.logo {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--dark);
}
.logo span { color: var(--accent); }

.logo-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.logo-icon { flex-shrink: 0; }
.logo-word { font-size: 19px; letter-spacing: 0.5px; }
.logo-word span { color: var(--accent); }

.main-nav {
    display: flex;
    gap: 32px;
}
.main-nav a {
    font-weight: 400;
    font-size: 16px;
    color: var(--dark);
    position: relative;
    transition: color .3s ease;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 1px;
    background: var(--accent);
    width: 0;
    transition: width .5s;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.cart-link {
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: none;
    color: var(--dark);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color .3s ease;
}
.cart-link svg {
    width: 24px;
    height: 24px;
    display: block;
}
.cart-link:hover { color: var(--accent); }

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--error);
    color: var(--light);
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Hero ===== */
.hero {
    padding: 30px 0 35px;
}
.hero .container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.hero-subtitle {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
}
.hero h1 {
    font-family: 'Geologica', sans-serif;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 500;
    line-height: 1.1;
    max-width: 900px;
}
.hero p {
    font-size: clamp(16px, 1.6vw, 20px);
    color: var(--dark);
    opacity: .7;
    max-width: 1050px;
}

/* ===== Catalog ===== */
.catalog-section { padding: 5px 0 38px; }

.search-form {
    display: flex;
    gap: 10px;
    max-width: 460px;
    margin: 0 0 32px;
}
.search-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    background: var(--pale-blue);
    border-radius: var(--pill);
    font-size: 15px;
    font-family: inherit;
    color: var(--dark);
}
.search-form input::placeholder { color: var(--gray); }
.search-form input:focus { outline: 2px solid var(--accent); }
.search-form button {
    background: var(--dark);
    color: var(--light);
    border: none;
    padding: 0 28px;
    border-radius: var(--pill);
    font-weight: 400;
    font-size: 15px;
    cursor: pointer;
    transition: background .3s ease;
}
.search-form button:hover { background: var(--accent); }

.category-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 28px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.category-filters::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 16px;
    background: var(--pale-blue);
    border-radius: var(--pill);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    color: var(--dark);
    transition: all .3s ease;
}
.filter-chip:hover { background: var(--gray); color: var(--light); }
.filter-chip.active {
    background: var(--dark);
    color: var(--light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px 14px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--pale-blue);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .3s ease;
}
.product-card:hover { box-shadow: 0 6px 20px rgba(1, 25, 54, .08); }
.product-image {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--light);
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }

.product-info { display: flex; flex-direction: column; gap: 5px; flex: 1; padding: 11px 14px 10px; }
.product-name {
    display: block;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    min-height: 42px;
    color: var(--dark);
    transition: color .3s ease;
}
.product-name:hover { color: var(--accent); }

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}
.product-price {
    font-size: 19px;
    font-weight: 500;
    color: var(--dark);
}

.cart-icon-wrap { position: relative; display: inline-flex; }
.cart-badge-mini {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: var(--light);
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.btn-cart-icon {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: color .3s ease, transform .2s ease;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}
.btn-cart-icon:hover { color: var(--accent); transform: scale(1.1); }
.btn-cart-icon.in-cart { color: var(--accent); }

.btn-add, .btn-add-large {
    width: 100%;
    background: var(--dark);
    color: var(--light);
    border: none;
    padding: 13px;
    border-radius: var(--pill);
    font-weight: 400;
    font-size: 15px;
    cursor: pointer;
    transition: background .3s ease;
    font-family: inherit;
}
.btn-add:hover, .btn-add-large:hover { background: var(--accent); }
.btn-add-large.in-cart { background: var(--accent); }

.empty-state {
    text-align: center;
    padding: 70px 20px;
    color: var(--gray);
    font-size: 16px;
}
.empty-state a { color: var(--accent); font-weight: 500; }

/* ===== Product detail ===== */
.product-detail-section { padding: 40px 0 38px; }
.breadcrumbs { font-size: 14px; color: var(--gray); margin-bottom: 32px; }
.breadcrumbs a { color: var(--accent); }

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 90px;
}
.product-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.product-detail-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-main-image { cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22m15%2015%206%206%22%20stroke%3D%22white%22%20stroke-width%3D%224%22%2F%3E%3Ccircle%20cx%3D%229.5%22%20cy%3D%229.5%22%20r%3D%226%22%20stroke%3D%22white%22%20stroke-width%3D%224%22%2F%3E%3Cpath%20d%3D%22m15%2015%206%206%22%20stroke%3D%22%23011936%22%20stroke-width%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%229.5%22%20cy%3D%229.5%22%20r%3D%226%22%20fill%3D%22white%22%20fill-opacity%3D%22.85%22%20stroke%3D%22%23011936%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M7%209.5h5m-2.5-2.5v5%22%20stroke%3D%22%23011936%22%20stroke-width%3D%221.2%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 9 9, zoom-in; transition: opacity .2s ease; }
.gallery-main-image:hover { opacity: .9; }
.gallery-main-image.no-zoom { cursor: default; }
.gallery-main-image.no-zoom:hover { opacity: 1; }

.product-gallery { display: flex; flex-direction: column; gap: 14px; }
.product-thumbs { display: flex; gap: 12px; flex-wrap: wrap; }
.product-thumb {
    width: 76px;
    height: 76px;
    object-fit: cover;
    background: var(--pale-blue);
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .3s ease, opacity .3s ease;
    opacity: .65;
}
.product-thumb:hover { opacity: 1; }
.product-thumb.active { border-color: var(--accent); opacity: 1; }

/* ===== Лайтбокс: перегляд фото у збільшеному вигляді ===== */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(1, 25, 54, .92);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    touch-action: none;
}
.lightbox-overlay.open { display: flex; }

.lightbox-viewport {
    width: 88vw;
    max-width: 1400px;
    height: 72vh;
    overflow: hidden;
    position: relative;
}

.lightbox-track {
    display: flex;
    height: 100%;
    transition: transform .35s ease;
}

.lightbox-slide {
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22m15%2015%206%206%22%20stroke%3D%22white%22%20stroke-width%3D%224%22%2F%3E%3Ccircle%20cx%3D%229.5%22%20cy%3D%229.5%22%20r%3D%226%22%20stroke%3D%22white%22%20stroke-width%3D%224%22%2F%3E%3Cpath%20d%3D%22m15%2015%206%206%22%20stroke%3D%22%23011936%22%20stroke-width%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%229.5%22%20cy%3D%229.5%22%20r%3D%226%22%20fill%3D%22white%22%20fill-opacity%3D%22.85%22%20stroke%3D%22%23011936%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M7%209.5h5m-2.5-2.5v5%22%20stroke%3D%22%23011936%22%20stroke-width%3D%221.2%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 9 9, zoom-in;
    transition: transform .25s ease;
    border-radius: 4px;
    user-select: none;
    touch-action: none;
}
.lightbox-image.zoomed {
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
    cursor: grab;
}
.lightbox-image.zoomed.is-dragging {
    cursor: grabbing;
    transition: none;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--light);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    opacity: .8;
    transition: opacity .2s ease;
    z-index: 2;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.12);
    border: none;
    color: var(--light);
    font-size: 32px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
    z-index: 2;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.24); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light);
    font-size: 14px;
    opacity: .8;
    z-index: 2;
}

.lightbox-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    max-width: 88vw;
    overflow-x: auto;
    padding: 4px 2px;
}
.lightbox-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: .5;
    border: 2px solid transparent;
    transition: opacity .25s ease, border-color .25s ease;
}
.lightbox-thumb:hover { opacity: .85; }
.lightbox-thumb.active { opacity: 1; border-color: var(--accent); }

@media (max-width: 640px) {
    .lightbox-prev, .lightbox-next { width: 44px; height: 44px; font-size: 26px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-thumb { width: 48px; height: 48px; }
}

.product-detail-info h1 {
    font-family: 'Geologica', sans-serif;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 20px;
}
.product-detail-price { font-size: 34px; font-weight: 500; color: var(--dark); margin-bottom: 20px; }
.product-detail-desc { color: var(--dark); opacity: .7; margin-bottom: 24px; font-size: 16px; }

.stock-status { font-weight: 500; font-size: 15px; margin-bottom: 24px; }
.stock-status.in-stock { color: var(--accent); }
.stock-status.out-stock { color: var(--accent); }

.add-form-detail { display: flex; gap: 14px; align-items: center; margin-bottom: 28px;}
.add-form-detail input[type=number] {
    width: 74px;
    padding: 13px;
    border: none;
    background: var(--pale-blue);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    text-align: center;
}
.btn-add-large { width: auto; padding: 14px 32px; }

.related-section h2 {
    font-family: 'Geologica', sans-serif;
    font-size: clamp(24px, 2.4vw, 36px);
    font-weight: 500;
    margin-bottom: 28px;
}

/* ===== Cart ===== */
.cart-section, .checkout-section { padding: 48px 0 90px; }
.cart-section h1, .checkout-section h1 {
    font-family: 'Geologica', sans-serif;
    font-size: clamp(32px, 3.5vw, 52px);
    font-weight: 500;
    margin-bottom: 36px;
}

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 18px 12px; text-align: left; border-bottom: 1px solid var(--pale-blue); }
.cart-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--gray); font-weight: 400; }
.cart-product-cell { display: flex; align-items: center; gap: 14px; font-weight: 400; }
.cart-product-cell img { border-radius: var(--radius); background: var(--pale-blue); }

.qty-input { width: 60px; padding: 8px; border: none; background: var(--pale-blue); border-radius: var(--radius); font-family: inherit; text-align: center; }
.remove-cell { text-align: center; }
.btn-remove { background: none; border: none; color: var(--error); font-size: 18px; cursor: pointer; font-weight: 500; }

.cart-summary {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 24px;
}
.btn-secondary {
    background: var(--pale-blue);
    border: none;
    padding: 13px 24px;
    border-radius: var(--pill);
    font-weight: 400;
    cursor: pointer;
    font-family: inherit;
    color: var(--dark);
    transition: background .3s ease;
}
.btn-secondary:hover { background: var(--gray); color: var(--light); }
.cart-total { font-size: 22px; }
.cart-total strong { color: var(--dark); font-weight: 500; }

.cart-checkout-btn { text-align: right; margin-top: 28px; }
.btn-checkout {
    display: inline-block;
    background: var(--dark);
    color: var(--light);
    padding: 16px 36px;
    border-radius: var(--pill);
    font-weight: 400;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background .3s ease;
}
.btn-checkout:hover { background: var(--accent); }

/* ===== Checkout ===== */
.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.checkout-form { display: flex; flex-direction: column; gap: 28px; }
.checkout-form label { font-weight: 400; font-size: 13px; color: var(--gray); display: flex; flex-direction: column; gap: 8px; }
.checkout-form input, .checkout-form textarea {
    padding: 0 0 14px;
    border: none;
    border-bottom: 1px solid var(--dark);
    border-radius: 0;
    background: transparent;
    font-family: inherit;
    font-size: 17px;
    font-weight: 400;
    color: var(--dark);
}
.checkout-form input:focus, .checkout-form textarea:focus { outline: none; border-bottom-color: var(--accent); }
.checkout-form textarea { resize: none; }

.checkout-summary { background: var(--pale-blue); padding: 28px; border-radius: var(--radius); }
.checkout-summary h3 { font-weight: 500; margin-bottom: 18px; }
.checkout-item { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; border-bottom: 1px solid rgba(1,25,54,.08); }
.checkout-total { display: flex; justify-content: space-between; font-weight: 500; font-size: 19px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--dark); }

.success-box { background: var(--pale-blue); border-radius: var(--radius); padding: 40px; text-align: center; }
.success-box h2 { color: var(--accent); margin-bottom: 14px; font-weight: 500; }
.success-box p { margin-bottom: 24px; }
.error-box { background: #fff0ef; border-left: 3px solid var(--error); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 24px; color: var(--error); font-weight: 500; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: var(--light); margin-top: 60px; }
.blog-strip + .site-footer { margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 60px 20px 40px; max-width: 1280px; margin: 0 auto; }
.footer-col { display: block; }
.footer-col h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.footer-col h3 span { color: var(--accent); }
.footer-col h4 { color: var(--accent); font-weight: 500; margin-bottom: 14px; font-size: 15px; }
.footer-col p { opacity: .8; font-size: 14px; margin-bottom: 8px; }
.footer-col-link {
    color: inherit;
    border-radius: var(--radius);
    padding: 12px;
    margin: -12px;
    transition: background .25s ease;
}
.footer-col-link:hover { background: rgba(255,255,255,.06); }
.footer-col-link:hover h4 { color: var(--light); }
.footer-col-link:hover h3 span { color: var(--light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: 13px; opacity: .6; }
.footer-bottom a { color: var(--light); text-decoration: underline; }
.footer-sitemap { display: flex; flex-direction: column; gap: 8px; }
.footer-sitemap a { color: var(--light); opacity: .8; font-size: 14px; }
.footer-sitemap a:hover { opacity: 1; text-decoration: underline; }

/* ===== Прості контентні сторінки (галерея, планограма, тощо) ===== */
.content-page h1 { margin-bottom: 8px; }
.content-page .lead { font-size: 17px; opacity: .75; max-width: 700px; margin-bottom: 40px; }
.info-block { max-width: 760px; display: flex; flex-direction: column; gap: 32px; font-size: 16px; color: var(--dark); line-height: 1.7; margin-bottom: 20px; }
.info-block h3 { font-size: 15px; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.info-block p { opacity: .85; }

.steps-list { display: flex; flex-direction: column; gap: 24px; max-width: 800px; }
.steps-list .step { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--pale-blue); }
.steps-list .step:last-child { border-bottom: none; }
.steps-list .step-num { font-size: 28px; font-weight: 700; color: var(--accent); min-width: 50px; }
.steps-list .step-body h4 { font-size: 17px; margin-bottom: 6px; }
.steps-list .step-body p { opacity: .8; font-size: 15px; line-height: 1.6; }

.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 800px; margin: 24px 0 40px; }
.pricing-card { border: 1px solid var(--pale-blue); border-radius: 14px; padding: 24px; }
.pricing-card h4 { font-size: 16px; margin-bottom: 10px; }
.pricing-card .price { font-size: 20px; font-weight: 600; color: var(--accent); margin-top: 12px; }

.gallery-cat { margin-bottom: 44px; }
.gallery-cat h3 { font-size: 18px; margin-bottom: 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery-item { border-radius: 12px; overflow: hidden; background: var(--pale-blue); }
.gallery-item img { width: 100%; height: 160px; object-fit: cover; display: block; }
.gallery-item span { display: block; padding: 10px 12px; font-size: 13px; color: var(--dark); opacity: .8; }

.instructions-list { display: flex; flex-direction: column; gap: 14px; max-width: 700px; }
.instructions-list .instr-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border: 1px solid var(--pale-blue); border-radius: 12px; }
.instructions-list .instr-row a { color: var(--accent); font-weight: 500; font-size: 14px; }

.blog-list { display: flex; flex-direction: column; gap: 0; max-width: 800px; }
.blog-list .blog-item { padding: 18px 0; border-bottom: 1px solid var(--pale-blue); font-size: 16px; color: var(--dark); }
.blog-list .blog-item:last-child { border-bottom: none; }

.stub-note { max-width: 600px; padding: 20px 24px; background: var(--pale-blue); border-radius: 12px; font-size: 14px; color: var(--dark); opacity: .8; line-height: 1.6; }

/* ===== Admin ===== */
.admin-body { background: var(--pale-blue); font-family: 'Geologica', sans-serif; }
.admin-wrap { max-width: 1080px; margin: 0 auto; padding: 40px 24px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.admin-header h1 { font-size: 26px; font-weight: 500; }
.admin-header nav a { font-size: 14px; color: var(--dark); }
.admin-header nav a:hover { color: var(--accent); }
.admin-table { width: 100%; background: var(--light); border-collapse: collapse; border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--pale-blue); font-size: 14px; }
.admin-table th { background: var(--dark); color: var(--light); font-weight: 400; }
.admin-form { background: var(--light); padding: 32px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 18px; max-width: 520px; }
.admin-form label { font-weight: 400; font-size: 13px; color: var(--gray); display: flex; flex-direction: column; gap: 8px; }
.admin-form input, .admin-form select, .admin-form textarea {
    padding: 12px 14px; border: none; background: var(--pale-blue); border-radius: var(--radius); font-family: inherit; font-size: 15px; font-weight: 400; color: var(--dark);
}
.login-box { max-width: 400px; margin: 100px auto; background: var(--light); padding: 40px; border-radius: var(--radius); }
.login-box h1 { text-align: center; margin-bottom: 28px; font-size: 24px; font-weight: 500; }
.btn-primary { background: var(--dark); color: var(--light); border: none; padding: 14px; border-radius: var(--pill); font-weight: 400; cursor: pointer; font-family: inherit; font-size: 15px; transition: background .3s ease; }
.btn-primary:hover { background: var(--accent); }
.btn-danger { background: var(--error); color: var(--light); border: none; padding: 9px 16px; border-radius: var(--pill); font-weight: 400; cursor: pointer; font-size: 13px; font-family: inherit; }
.btn-edit { background: var(--dark); color: var(--light); padding: 9px 16px; border-radius: var(--pill); font-weight: 400; font-size: 13px; display: inline-block; transition: background .3s ease; }
.btn-edit:hover { background: var(--accent); }
.admin-actions { display: flex; gap: 8px; }
.logout-link { color: var(--error); font-weight: 500; font-size: 14px; }

/* ===== Висувне меню (гамбургер): пошук + категорії ===== */
.menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(1, 25, 54, .55);
    z-index: 200;
}
.menu-backdrop.open { display: block; }

.menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: var(--light);
    z-index: 201;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform .3s ease;
    overflow-y: auto;
}
.menu-drawer.open { transform: translateX(0); }

.menu-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.menu-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--dark);
    cursor: pointer;
    padding: 0;
}
.menu-close:hover { color: var(--accent); }

.menu-login-btn {
    display: block;
    text-align: center;
    background: var(--pale-blue);
    color: var(--dark);
    padding: 12px;
    border-radius: var(--pill);
    font-weight: 400;
    font-size: 15px;
    transition: background .3s ease, color .3s ease;
}
.menu-login-btn:hover { background: var(--dark); color: var(--light); }

.menu-search-form {
    display: flex;
    gap: 8px;
}
.menu-search-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: var(--pale-blue);
    border-radius: var(--pill);
    font-size: 15px;
    font-family: inherit;
    color: var(--dark);
}
.menu-search-form input::placeholder { color: var(--gray); }
.menu-search-form input:focus { outline: 2px solid var(--accent); }
.menu-search-form button {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    background: var(--dark);
    color: var(--light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease;
}
.menu-search-form button:hover { background: var(--accent); }

.menu-categories {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.menu-categories a {
    padding: 12px 10px;
    border-radius: var(--radius);
    color: var(--dark);
    font-size: 15px;
    transition: background .2s ease, color .2s ease;
}
.menu-categories a:hover {
    background: var(--pale-blue);
    color: var(--accent);
}

.menu-bottom-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header-inner { position: relative; }
    .header-left .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        white-space: nowrap;
    }
    .main-nav { display: none; }
    .product-detail { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }

    /* Каталог: по 2 товари в ряд на мобільних */
    .catalog-section { padding: 16px 0 32px; }
    .catalog-section .container { padding-left: 10px; padding-right: 10px; }
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .product-card { min-width: 0; }
    .product-image { aspect-ratio: 1 / 1; }
    .product-info { gap: 3px; padding: 7px 9px 8px; }
    .product-name {
        font-size: 13px;
        line-height: 1.25;
        min-height: 49px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-footer { gap: 4px; }
    .product-price {
        font-size: 14px;
        line-height: 1.15;
        white-space: nowrap;
    }
    .btn-cart-icon {
        font-size: 20px;
        padding: 2px;
    }
    .btn-cart-icon svg { width: 19px; height: 19px; }
    .cart-badge-mini {
        top: -6px;
        right: -6px;
        min-width: 14px;
        height: 14px;
        font-size: 9px;
    }
}

/* ===== POSMOBRAND footer — close recreation of the current site ===== */
.pm-footer {
    margin-top: 80px;
    background: #eef4fa;
    color: #071b36;
    font-size: 14px;
}
.pm-footer a {
    color: #071b36;
}
.pm-footer__top {
    padding-top: 58px;
    padding-bottom: 52px;
}
.pm-footer__brand {
    display: inline-flex;
    align-items: baseline;
    margin-bottom: 55px;
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -1.4px;
}
.pm-footer__brand b {
    color: #249bda;
    font-weight: 500;
}
.pm-footer__grid {
    display: grid;
    grid-template-columns: 1fr .9fr 1fr 1.65fr;
    gap: 70px;
}
.pm-footer__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}
.pm-footer__title {
    width: 100%;
    padding-bottom: 17px;
    margin-bottom: 7px;
    border-bottom: 1px solid #c8d5e2;
    font-size: 14px;
    font-weight: 500;
}
.pm-footer__column > a:not(.pm-footer__dealer) {
    position: relative;
    line-height: 1.45;
    opacity: .78;
    transition: opacity .2s ease;
}
.pm-footer__column > a:not(.pm-footer__dealer):hover {
    opacity: 1;
}
.pm-footer__dealer {
    width: 100%;
    min-height: 48px;
    margin-top: 19px;
    padding: 0 8px 0 18px;
    border: 1px solid #071b36;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .2s ease, color .2s ease;
}
.pm-footer__dealer:hover {
    background: #071b36;
    color: #fff;
}
.pm-footer__arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #249bda;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.pm-footer__contacts {
    gap: 0;
}
.pm-footer__contact-row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-bottom: 28px;
}
.pm-footer__contact-row a {
    font-size: 14px;
    line-height: 1.5;
}
.pm-footer__address {
    display: flex;
    flex-direction: column;
    gap: 5px;
    line-height: 1.5;
    opacity: .78;
}
.pm-footer__schedule {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 28px;
    line-height: 1.5;
}
.pm-footer__subtitle {
    margin-bottom: 5px;
    font-weight: 500;
}
.pm-footer__schedule span {
    opacity: .78;
}
.pm-footer__bottom {
    min-height: 82px;
    border-top: 1px solid #c8d5e2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.pm-footer__social,
.pm-footer__bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}
.pm-footer__social > span,
.pm-footer__bottom-links {
    font-size: 12px;
    opacity: .72;
}
.pm-footer__social a {
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.pm-footer__bottom-links a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1000px) {
    .pm-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 45px 55px;
    }
}
@media (max-width: 650px) {
    .pm-footer {
        margin-top: 55px;
    }
    .pm-footer__top {
        padding-top: 38px;
        padding-bottom: 38px;
    }
    .pm-footer__brand {
        margin-bottom: 38px;
        font-size: 24px;
    }
    .pm-footer__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .pm-footer__column {
        padding: 20px 0;
        border-top: 1px solid #c8d5e2;
    }
    .pm-footer__title {
        border: 0;
        padding: 0;
        margin-bottom: 8px;
        font-size: 16px;
    }
    .pm-footer__contacts {
        padding-bottom: 5px;
    }
    .pm-footer__dealer {
        max-width: 260px;
    }
    .pm-footer__bottom {
        padding-top: 24px;
        padding-bottom: 24px;
        flex-direction: column;
        align-items: flex-start;
    }
    .pm-footer__social,
    .pm-footer__bottom-links {
        align-items: flex-start;
        gap: 10px 18px;
    }
}

/* Header logo: POSMO dark blue, BRAND blue — same palette as footer */
.logo .logo-word { color: #071b36; }
.logo .logo-word span { color: #249bda; }

/* ===== Product status + SKU ===== */
.product-title-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: -4px 0 28px;
}

.product-availability,
.product-sku {
    font-family: 'Geologica', sans-serif;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 400;
}

.product-order-status {
    display: inline-block;
}

.product-order-status.out-stock,
.product-order-status.in-stock {
    color: var(--accent);
}

.product-sku {
    color: var(--gray);
}

@media (min-width: 768px) {
    .product-title-meta {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        margin-bottom: 30px;
    }

    .product-availability,
    .product-sku {
        font-size: 13px;
    }
}

@media (min-width: 1200px) {
    .product-title-meta {
        gap: 30px;
    }

    .product-availability,
    .product-sku {
        font-size: 15px;
    }
}


@media (max-width: 640px) {
    .category-filters {
        gap: 6px;
        margin-left: -20px;
        margin-right: -20px;
        margin-bottom: 22px;
        padding: 2px 20px 6px;
    }

    .filter-chip {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* ===== Category title icon ===== */
.category-title-row {
    position: relative;
    display: block;
}

.category-title-icon {
    position: absolute;
    left: 0;
    top: 50%;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.category-title-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-title-row h1 {
    margin: 0;
    padding-left: 62px;
}

.category-description {
    width: 100%;
    max-width: none;
    margin-top: 12px;
}

@media (max-width: 640px) {
    .category-title-icon {
        width: 38px;
        height: 38px;
    }

    .category-title-row h1 {
        padding-left: 47px;
        font-size: 25px;
    }

    .category-description {
        margin-top: 9px;
        font-size: 14px;
        line-height: 1.45;
    }
}

/* ===== Breadcrumbs ===== */
.hero-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 13px;
    line-height: 1.3;
    color: var(--gray);
}

.hero-breadcrumbs a {
    color: var(--accent);
    transition: opacity .2s ease;
}

.hero-breadcrumbs a:hover {
    opacity: .7;
}

.hero-breadcrumbs .current {
    color: var(--gray);
}

@media (max-width: 640px) {
    .hero-breadcrumbs {
        gap: 5px;
        font-size: 12px;
    }
}


/* ===== Blog cards before footer ===== */
.blog-strip {
    padding: 0 0 26px;
}

.blog-strip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.blog-strip-head h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}

.blog-strip-head > a {
    color: var(--accent);
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.blog-strip-head > a:hover {
    text-decoration: underline;
}

/* Той самий вигляд карток, що й на /blog */
.blog-strip .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.blog-strip .gallery-item {
    min-width: 0;
}

.blog-strip .gallery-item a {
    display: block;
    width: 100%;
}

.blog-strip .gallery-item img,
.blog-strip .blog-no-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.blog-strip .blog-no-image {
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

@media (max-width: 900px) {
    .blog-strip .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .blog-strip {
        padding: 0 0 20px;
    }

    .blog-strip-head {
        margin-bottom: 14px;
    }

    .blog-strip-head h2 {
        font-size: 23px;
    }

    .blog-strip .gallery-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        margin-left: -20px;
        margin-right: -20px;
        padding: 0 20px 8px;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .blog-strip .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .blog-strip .gallery-item {
        flex: 0 0 78vw;
        max-width: 320px;
        scroll-snap-align: start;
    }

    .blog-strip .gallery-item img,
    .blog-strip .blog-no-image {
        aspect-ratio: 16 / 10;
    }
}


/* ===== Centralized page styles ===== */

/* ===== Header / drawer ===== */
.header-inner {
            position: relative;
        }

        .main-nav {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            align-items: center;
            white-space: nowrap;
        }

        .menu-drawer {
            width: 340px;
            max-width: 90vw;
            background: #eef4fa;
            gap: 0;
            padding: 18px;
        }

        .menu-drawer-header {
            padding-bottom: 16px;
            margin-bottom: 18px;
            border-bottom: 1px solid rgba(1,25,54,.08);
        }

        .drawer-section + .drawer-section {
            margin-top: 24px;
        }

        .drawer-section-title {
            margin: 0 0 10px;
            padding: 0 2px;
            color: #718399;
            font-size: 11px;
            line-height: 1;
            font-weight: 600;
            letter-spacing: .1em;
            text-transform: uppercase;
        }

        .drawer-category-grid {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .drawer-category-link {
            min-width: 0;
            min-height: 50px;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: flex-start;
            gap: 12px;
            padding: 9px 10px;
            border: 1px solid rgba(1,25,54,.06);
            border-radius: 10px;
            background: rgba(255,255,255,.58);
            color: var(--dark);
            transition: background .2s ease, border-color .2s ease, transform .2s ease;
        }

        .drawer-category-link:hover {
            background: #fff;
            border-color: rgba(36,155,218,.22);
            transform: translateX(2px);
            color: var(--dark);
        }

        .drawer-cat-icon {
            width: 30px;
            height: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 9px;
            background: #dceaf6;
            color: #15529d;
        }

        .drawer-cat-icon svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.7;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .drawer-category-name {
            display: block;
            min-width: 0;
            font-size: 14px;
            line-height: 1.25;
            font-weight: 500;
        }

        .drawer-feature-list {
            display: flex;
            flex-direction: column;
            border-top: 1px solid rgba(1,25,54,.07);
        }

        .drawer-feature-link {
            display: flex;
            align-items: center;
            gap: 12px;
            min-height: 52px;
            padding: 10px 2px;
            border-bottom: 1px solid rgba(1,25,54,.07);
            color: var(--dark);
            transition: color .2s ease;
        }

        .drawer-feature-link:hover {
            color: var(--accent);
        }

        .drawer-feature-icon {
            width: 32px;
            height: 32px;
            flex: 0 0 32px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 9px;
            background: rgba(255,255,255,.7);
            color: #15529d;
        }

        .drawer-feature-icon svg {
            width: 17px;
            height: 17px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.7;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .drawer-feature-text {
            min-width: 0;
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 1px;
        }

        .drawer-feature-text strong {
            font-size: 14px;
            line-height: 1.25;
            font-weight: 500;
        }

        .drawer-feature-text small {
            color: #8192a5;
            font-size: 11px;
            line-height: 1.3;
        }

        .drawer-chevron {
            color: #94a4b5;
            font-size: 20px;
            line-height: 1;
        }

        .drawer-info-links {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 14px;
            padding-top: 2px;
        }

        .drawer-info-links a {
            color: #50667d;
            font-size: 13px;
            transition: color .2s ease;
        }

        .drawer-info-links a:hover {
            color: var(--accent);
        }

/* ===== Footer contact row ===== */
.pm-footer__brand-line{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:32px;
}
.pm-footer__brand-side{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:5px;
}
.pm-footer__brand{
    margin-bottom:0 !important;
    display:inline-flex;
    align-items:center;
    gap:0;
    white-space:nowrap;
}
.pm-footer__brand svg{
    width:28px;
    height:28px;
    flex:0 0 28px;
}
.pm-footer__brand-text{
    display:inline-flex;
    align-items:baseline;
    gap:0;
}
.pm-footer__quick-phone{
    font-weight:500;
    font-size:14px;
    line-height:1.2;
    text-decoration:none;
    white-space:nowrap;
    color:#6f7d8c !important;
}
.pm-footer__messengers{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    margin-top:0;
    margin-left:auto;
}
.pm-footer__messenger{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:48px;
    height:48px;
    text-decoration:none;
}
.pm-footer__messenger svg{
    width:40px;
    height:40px;
}
.pm-footer__messenger--telegram{color:#229ED9 !important;}
.pm-footer__messenger--viber{color:#7360F2 !important;}
.pm-footer__messenger--whatsapp{color:#25D366 !important;}

@media (max-width:650px){
    .pm-footer__brand-line{
        align-items:flex-start;
        gap:12px;
        margin-bottom:26px;
    }
    .pm-footer__quick-phone{
        font-size:13px;
    }
    .pm-footer__messengers{
        gap:6px;
        margin-left:auto;
        justify-content:flex-end;
    }
    .pm-footer__messenger{
        width:44px;
        height:44px;
    }
    .pm-footer__messenger svg{
        width:36px;
        height:36px;
    }
}

/* ===== Catalog hero / portfolio ===== */
.hero .hero-title{margin:0;}
.hero .hero-description{margin:0;}
.hero{padding-bottom:20px;}
.catalog-section{padding-top:0;}
.hero-description-wrap{width:100%;}
.hero-description-toggle{
    display:none;
    margin-top:6px;
    padding:0;
    border:0;
    background:none;
    color:#7b8490;
    font:inherit;
    font-size:14px;
    cursor:pointer;
    text-decoration:underline;
}

@media (max-width:650px){
    .hero-description-wrap:not(.is-open) .hero-description{
        display:-webkit-box;
        -webkit-line-clamp:3;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    .hero-description-toggle{
        display:inline-block;
    }
}

/* ===== Catalog hero / portfolio ===== */

/* ===== Product page ===== */
.product-consultation{
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);
    gap:42px;
    align-items:start;
    margin:-28px 0 48px;
    padding:28px 30px;
    background:#eef4fa;
    border:1px solid #dbe7f1;
    border-radius:18px;
    color:#011936;
}

.product-consultation-copy{
    max-width:560px;
    margin-bottom:0;
}

.product-consultation-kicker{
    display:inline-block;
    margin-bottom:10px;
    color:#249bda;
    font-size:12px;
    font-weight:700;
    letter-spacing:.11em;
    text-transform:uppercase;
}

.product-consultation h2{
    margin:0 0 10px;
    color:#011936;
    font-size:28px;
    line-height:1.22;
    font-weight:600;
}

.product-consultation-copy p{
    margin:0;
    color:#5f7180;
    font-size:15px;
    line-height:1.65;
}

.product-consultation-form{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.product-consultation-form label{
    display:flex;
    flex-direction:column;
    gap:6px;
    color:#708293;
    font-size:12px;
}

.product-consultation-form input,
.product-consultation-form textarea{
    width:100%;
    box-sizing:border-box;
    border:1px solid #d3dee8;
    outline:none;
    background:#fff !important;
    background-color:#fff !important;
    color:#011936 !important;
    -webkit-text-fill-color:#011936;
    font:inherit;
    font-size:16px;
    line-height:1.45;
    border-radius:12px;
    transition:border-color .2s ease;
}

.product-consultation-form input:invalid,
.product-consultation-form textarea:invalid,
.product-consultation-form input:placeholder-shown,
.product-consultation-form textarea:placeholder-shown{
    background:#fff !important;
    background-color:#fff !important;
    color:#011936 !important;
    -webkit-text-fill-color:#011936;
}

.product-consultation-form input:-webkit-autofill,
.product-consultation-form input:-webkit-autofill:hover,
.product-consultation-form input:-webkit-autofill:focus,
.product-consultation-form textarea:-webkit-autofill,
.product-consultation-form textarea:-webkit-autofill:hover,
.product-consultation-form textarea:-webkit-autofill:focus{
    -webkit-box-shadow:0 0 0 1000px #fff inset !important;
    box-shadow:0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color:#011936 !important;
}

.product-consultation-form textarea{
    min-height:118px;
    padding:13px 14px;
    resize:vertical;
}

.product-consultation-form input{
    height:46px;
    padding:0 14px;
}

.product-consultation-form input::placeholder,
.product-consultation-form textarea::placeholder{
    color:#aeb8c2;
    font-size:16px;
    opacity:1;
}

.product-consultation-form input:focus,
.product-consultation-form textarea:focus{
    background:#fff !important;
    background-color:#fff !important;
    color:#011936 !important;
    -webkit-text-fill-color:#011936;
    border-color:#249bda;
}

.consultation-bottom-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
    align-items:end;
}

.consultation-phone{
    min-width:0;
}

.product-consultation-form .consultation-submit{
    min-width:150px;
    height:46px;
    align-self:end;
    margin:0;
}

.consultation-hp{
    position:absolute !important;
    left:-9999px !important;
    width:1px !important;
    height:1px !important;
    opacity:0 !important;
    pointer-events:none !important;
}

@media(max-width:900px){
    .product-consultation{
        grid-template-columns:1fr;
        gap:24px;
    }
}

@media(max-width:650px){
    .product-consultation{
        margin:-20px 0 38px;
        padding:22px 18px;
        border-radius:15px;
    }

    .product-consultation-copy{
        margin-bottom:0;
    }

    .product-consultation h2{
        font-size:24px;
    }

    .consultation-bottom-row{
        grid-template-columns:1fr;
    }

    .product-consultation-form .consultation-submit{
        width:100%;
        min-width:0;
    }
}

/* ===== Product page ===== */

/* ===== Shipping & payment page ===== */
.policy-page-custom{
    background:var(--page, #f7f9fb);
}

.policy-page-custom .container{
    max-width:1280px;
}

.policy-box{
    max-width:980px;
    padding:34px 38px;
    background:#fff;
    border:1px solid rgba(1,25,54,.08);
    border-radius:20px;
}

.policy-box h1{
    margin:0 0 32px !important;
}

.policy-section + .policy-section{
    margin-top:42px;
    padding-top:34px;
    border-top:1px solid rgba(1,25,54,.08);
}

.policy-section h2{
    margin:0 0 18px;
    font-size:25px;
    line-height:1.25;
    font-weight:600;
}

.policy-section p{
    margin:0 0 15px;
    color:#465762;
    font-size:15px;
    line-height:1.75;
}

.policy-section strong{
    color:#011936;
    font-weight:600;
}

.policy-section a{
    color:#249bda;
}

.policy-section ul{
    margin:0 0 17px;
    padding-left:22px;
}

.policy-section li{
    margin-bottom:8px;
    color:#465762;
    font-size:15px;
    line-height:1.7;
}

@media(max-width:700px){
    .policy-box{
        padding:24px 20px;
        border-radius:16px;
    }

    .policy-section + .policy-section{
        margin-top:32px;
        padding-top:28px;
    }

    .policy-section h2{
        font-size:21px;
    }

    .policy-section p,
    .policy-section li{
        font-size:14px;
    }
}

/* ===== Branded racks page ===== */
.branded-page{
    background:var(--page, #f7f9fb);
}

.branded-page .container{
    max-width:1280px;
}

.branded-hero{
    margin-bottom:54px;
    padding:42px 44px;
    background:#eef4fa;
    border-radius:22px;
}

.branded-hero-content{
    max-width:930px;
}

.branded-kicker{
    display:inline-block;
    margin-bottom:10px;
    color:#249bda;
    font-size:12px;
    font-weight:700;
    letter-spacing:.11em;
    text-transform:uppercase;
}

.branded-hero h1{
    max-width:900px;
    margin:0 0 20px !important;
}

.branded-lead{
    max-width:1040px;
    margin:0 0 14px;
    color:#42515d;
    font-size:17px;
    line-height:1.72;
}

.branded-block{
    margin:0 0 58px;
}

.branded-section-head{
    max-width:850px;
    margin-bottom:24px;
}

.branded-section-head h2,
.branded-cta h2{
    margin:0 0 10px;
    font-size:32px;
    line-height:1.2;
    font-weight:600;
}

.branded-section-head p{
    margin:0;
    color:#64747e;
    font-size:16px;
    line-height:1.65;
}

.branded-steps{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.branded-step{
    display:grid;
    grid-template-columns:74px 1fr;
    gap:20px;
    align-items:start;
    padding:22px 24px;
    background:#fff;
    border:1px solid rgba(1,25,54,.08);
    border-radius:16px;
}

.branded-step-num{
    color:#249bda;
    font-size:28px;
    font-weight:700;
    line-height:1;
}

.branded-step-body h3{
    margin:0 0 7px;
    font-size:18px;
    font-weight:600;
}

.branded-step-body p{
    max-width:900px;
    margin:0;
    color:#52636d;
    font-size:15px;
    line-height:1.65;
}

.branded-benefits{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}

.branded-benefit{
    min-width:0;
    padding:24px;
    background:#fff;
    border:1px solid rgba(1,25,54,.08);
    border-radius:16px;
}

.branded-benefit > span{
    display:inline-block;
    margin-bottom:24px;
    color:#249bda;
    font-size:13px;
    font-weight:700;
}

.branded-benefit h3{
    margin:0 0 8px;
    font-size:18px;
}

.branded-benefit p{
    margin:0;
    color:#52636d;
    font-size:14px;
    line-height:1.65;
}

.branded-cta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    margin-top:18px;
    padding:30px 32px;
    background:#011936;
    color:#fff;
    border-radius:20px;
}

.branded-cta > div{
    max-width:760px;
}

.branded-cta .branded-kicker{
    color:#6fc3ef;
}

.branded-cta h2{
    color:#fff;
}

.branded-cta p{
    margin:0;
    color:rgba(255,255,255,.75);
    font-size:15px;
    line-height:1.6;
}

.branded-cta-btn{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:0 20px;
    background:#fff;
    color:#011936;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
}

@media(max-width:900px){
    .branded-benefits{
        grid-template-columns:1fr;
    }

    .branded-cta{
        align-items:flex-start;
        flex-direction:column;
    }
}

@media(max-width:650px){
    .branded-hero{
        margin-left:-6px;
        margin-right:-6px;
        padding:26px 20px;
        border-radius:16px;
    }

    .branded-lead{
        font-size:15px;
    }

    .branded-section-head h2,
    .branded-cta h2{
        font-size:26px;
    }

    .branded-step{
        grid-template-columns:48px 1fr;
        gap:12px;
        padding:18px;
    }

    .branded-step-num{
        font-size:22px;
    }

    .branded-step-body h3{
        font-size:16px;
    }

    .branded-cta{
        padding:24px 20px;
        border-radius:16px;
    }
}

/* ===== Contacts page ===== */
.contacts-page{
    background:var(--page, #f7f9fb);
}

.contacts-page .container{
    max-width:1280px;
}

.contacts-kicker{
    display:inline-block;
    margin-bottom:10px;
    color:#249bda;
    font-size:12px;
    font-weight:700;
    letter-spacing:.11em;
    text-transform:uppercase;
}

.contacts-hero{
    margin-bottom:28px;
    padding:40px 42px;
    background:#eef4fa;
    border-radius:22px;
}

.contacts-hero-copy{
    max-width:900px;
}

.contacts-hero h1{
    margin:0 0 16px !important;
}

.contacts-hero p{
    max-width:900px;
    margin:0;
    color:#42515d;
    font-size:17px;
    line-height:1.7;
}

.contacts-main-grid{
    display:grid;
    grid-template-columns:1.25fr 1fr 1fr;
    gap:16px;
    margin-bottom:16px;
}

.contacts-card,
.contacts-info-card{
    padding:26px;
    background:#fff;
    border:1px solid rgba(1,25,54,.08);
    border-radius:17px;
}

.contacts-card h2,
.contacts-info-card h2,
.contacts-social h2{
    margin:0 0 18px;
    font-size:23px;
    line-height:1.25;
    font-weight:600;
}

.contacts-list{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.contacts-row{
    display:flex;
    align-items:center;
    gap:13px;
    padding:12px;
    margin:0 -12px;
    border-radius:11px;
    color:#011936;
    text-decoration:none;
    transition:background .2s ease;
}

.contacts-row:hover{
    background:#f2f7fb;
    color:#011936;
}

.contacts-icon{
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:#e6f1f8;
    color:#15529d;
}

.contacts-icon svg{
    width:19px;
    height:19px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.contacts-row span:last-child{
    display:flex;
    min-width:0;
    flex-direction:column;
}

.contacts-row small{
    margin-bottom:1px;
    color:#82919c;
    font-size:11px;
}

.contacts-row strong{
    font-size:14px;
    font-weight:600;
    word-break:break-word;
}

.contacts-address{
    display:flex;
    flex-direction:column;
    gap:6px;
    color:#52636d;
    font-size:15px;
    line-height:1.55;
}

.contacts-address strong{
    color:#011936;
    font-weight:600;
}

.contacts-schedule{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.contacts-schedule > div{
    display:flex;
    flex-direction:column;
    gap:3px;
    padding-bottom:13px;
    border-bottom:1px solid rgba(1,25,54,.07);
}

.contacts-schedule > div:last-child{
    padding-bottom:0;
    border-bottom:0;
}

.contacts-schedule span{
    color:#71818d;
    font-size:13px;
}

.contacts-schedule strong{
    color:#011936;
    font-size:15px;
    font-weight:600;
}

.contacts-info-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    margin-bottom:16px;
}

.contacts-info-card p{
    margin:0 0 13px;
    color:#52636d;
    font-size:15px;
    line-height:1.7;
}

.contacts-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:22px;
}

.contacts-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 18px;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
}

.contacts-btn-primary{
    background:#011936;
    color:#fff;
}

.contacts-btn-primary:hover{
    background:#249bda;
    color:#fff;
}

.contacts-btn-secondary{
    border:1px solid rgba(1,25,54,.16);
    background:#fff;
    color:#011936;
}

.contacts-btn-secondary:hover{
    border-color:#249bda;
    color:#249bda;
}

.contacts-social{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:28px 30px;
    background:#011936;
    border-radius:18px;
    color:#fff;
}

.contacts-social .contacts-kicker{
    color:#6fc3ef;
}

.contacts-social h2{
    margin-bottom:0;
    color:#fff;
}

.contacts-social-links{
    display:flex;
    gap:10px;
}

.contacts-social-links a{
    display:inline-flex;
    align-items:center;
    gap:9px;
    min-height:42px;
    padding:0 15px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:50px;
    color:#fff;
    font-size:13px;
    text-decoration:none;
}

.contacts-social-links a:hover{
    background:#fff;
    color:#011936;
}

@media(max-width:950px){
    .contacts-main-grid{
        grid-template-columns:1fr 1fr;
    }

    .contacts-main-grid .contacts-card:first-child{
        grid-column:1 / -1;
    }
}

@media(max-width:700px){
    .contacts-hero{
        margin-left:-6px;
        margin-right:-6px;
        padding:26px 20px;
        border-radius:16px;
    }

    .contacts-hero p{
        font-size:15px;
    }

    .contacts-main-grid,
    .contacts-info-grid{
        grid-template-columns:1fr;
    }

    .contacts-main-grid .contacts-card:first-child{
        grid-column:auto;
    }

    .contacts-social{
        align-items:flex-start;
        flex-direction:column;
        padding:24px 20px;
    }

    .contacts-social-links{
        width:100%;
        flex-direction:column;
    }

    .contacts-social-links a{
        justify-content:space-between;
        width:100%;
    }
}

/* ===== Planogram page ===== */
.planogram-page{
    background:var(--page, #f7f9fb);
}

.planogram-page .container{
    max-width:1280px;
}

.planogram-kicker{
    display:inline-block;
    margin-bottom:10px;
    color:#249bda;
    font-size:12px;
    font-weight:700;
    letter-spacing:.11em;
    text-transform:uppercase;
}

.planogram-hero{
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);
    align-items:center;
    gap:36px;
    margin-bottom:54px;
    padding:42px 44px;
    background:#eef4fa;
    border-radius:22px;
}

.planogram-hero-copy{
    min-width:0;
    max-width:620px;
}

.planogram-hero-visual{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
}

.planogram-hero-visual img{
    display:block;
    width:100%;
    max-width:720px;
    height:auto;
}

.planogram-hero h1{
    margin:0 0 18px !important;
}

.planogram-hero p{
    max-width:1050px;
    margin:0;
    color:#42515d;
    font-size:17px;
    line-height:1.72;
}

.planogram-block{
    margin-bottom:58px;
}

.planogram-section-head{
    max-width:850px;
    margin-bottom:24px;
}

.planogram-section-head h2,
.planogram-cooperation h2{
    margin:0 0 10px;
    font-size:32px;
    line-height:1.2;
    font-weight:600;
}

.planogram-section-head p{
    margin:0;
    color:#64747e;
    font-size:16px;
    line-height:1.65;
}

.planogram-zones{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
}

.planogram-zone{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    min-height:68px;
    padding:12px 14px;
    background:#fff;
    border:1px solid rgba(1,25,54,.08);
    border-radius:14px;
    color:#354753;
    font-size:14px;
    line-height:1.35;
}

.planogram-zone-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 38px;
    width:38px;
    height:38px;
    border-radius:11px;
    background:#eef6fb;
    color:#249bda;
}

.planogram-zone-icon svg{
    display:block;
    width:22px;
    height:22px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.planogram-zone-name{
    display:block;
    min-width:0;
    font-weight:500;
}

.planogram-features{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}

.planogram-feature{
    padding:24px;
    background:#fff;
    border:1px solid rgba(1,25,54,.08);
    border-radius:16px;
}

.planogram-feature-num{
    display:block;
    margin-bottom:22px;
    color:#249bda;
    font-size:13px;
    font-weight:700;
}

.planogram-feature h3{
    margin:0 0 8px;
    font-size:18px;
    font-weight:600;
}

.planogram-feature p{
    margin:0;
    color:#52636d;
    font-size:14px;
    line-height:1.65;
}

.planogram-cooperation{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.planogram-cooperation-column{
    padding:30px;
    background:#fff;
    border:1px solid rgba(1,25,54,.08);
    border-radius:18px;
}

.planogram-cooperation-column p{
    margin:0 0 14px;
    color:#52636d;
    font-size:15px;
    line-height:1.65;
}

.planogram-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    margin-top:8px;
    padding:0 18px;
    background:#011936;
    color:#fff;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
}

.planogram-btn:hover{
    background:#249bda;
    color:#fff;
}

@media(max-width:900px){
    .planogram-hero{
        grid-template-columns:1fr;
        gap:24px;
    }

    .planogram-hero-copy{
        max-width:none;
    }

    .planogram-hero-visual img{
        max-width:700px;
    }

    .planogram-zones{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .planogram-features,
    .planogram-cooperation{
        grid-template-columns:1fr;
    }
}

@media(max-width:650px){
    .planogram-hero{
        margin-left:-6px;
        margin-right:-6px;
        padding:26px 20px;
        border-radius:16px;
    }

    .planogram-hero p{
        font-size:15px;
    }

    .planogram-hero-visual{
        margin:4px -8px -4px;
    }

    .planogram-section-head h2,
    .planogram-cooperation h2{
        font-size:26px;
    }

    .planogram-zones{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }

    .planogram-zone{
        flex-direction:column;
        align-items:flex-start;
        justify-content:flex-start;
        gap:9px;
        min-height:108px;
        padding:12px;
        border-radius:13px;
        font-size:13px;
        line-height:1.28;
    }

    .planogram-zone-icon{
        flex-basis:34px;
        width:34px;
        height:34px;
        border-radius:10px;
    }

    .planogram-zone-icon svg{
        width:20px;
        height:20px;
    }

    .planogram-cooperation-column{
        padding:22px 20px;
    }
}

/* ===== Privacy policy page ===== */
.legal-page{
    max-width:920px;
}

.legal-page h1{
    margin-bottom:30px;
}

.legal-page h2{
    margin:34px 0 14px;
    font-size:24px;
    line-height:1.3;
}

.legal-page p{
    margin:0 0 15px;
    font-size:16px;
    line-height:1.75;
    color:#42515d;
}

.legal-page ul{
    margin:0 0 18px;
    padding-left:22px;
}

.legal-page li{
    margin-bottom:7px;
    line-height:1.6;
    color:#42515d;
}

@media(max-width:700px){
    .legal-page h2{
        font-size:21px;
        margin-top:28px;
    }

    .legal-page p,
    .legal-page li{
        font-size:15px;
    }
}

/* ===== Offer agreement page ===== */
.offer-page{
    background:var(--page, #f7f9fb);
}

.offer-page .container{
    max-width:1280px;
}

.offer-box{
    max-width:980px;
    padding:34px 38px;
    background:#fff;
    border:1px solid rgba(1,25,54,.08);
    border-radius:20px;
}

.offer-box h1{
    margin:0 0 32px !important;
}

.offer-section + .offer-section{
    margin-top:42px;
    padding-top:34px;
    border-top:1px solid rgba(1,25,54,.08);
}

.offer-section h2{
    margin:0 0 18px;
    font-size:25px;
    line-height:1.25;
    font-weight:600;
}

.offer-section p{
    margin:0 0 15px;
    color:#465762;
    font-size:15px;
    line-height:1.75;
}

.offer-section p:last-child{
    margin-bottom:0;
}

.offer-section strong{
    color:#011936;
    font-weight:600;
}

.offer-section a{
    color:#249bda;
}

@media(max-width:700px){
    .offer-box{
        padding:24px 20px;
        border-radius:16px;
    }

    .offer-section + .offer-section{
        margin-top:32px;
        padding-top:28px;
    }

    .offer-section h2{
        font-size:21px;
    }

    .offer-section p{
        font-size:14px;
    }
}

/* ===== About page ===== */
.about-page{
    background:var(--page, #f7f9fb);
}

.about-page .container{
    max-width:1280px;
}

.about-kicker{
    display:inline-block;
    margin-bottom:10px;
    color:#249bda;
    font-size:12px;
    font-weight:700;
    letter-spacing:.11em;
    text-transform:uppercase;
}

.about-hero{
    margin-bottom:18px;
    padding:40px 42px;
    background:#eef4fa;
    border-radius:22px;
}

.about-hero h1{
    max-width:950px;
    margin:0 0 20px !important;
}

.about-hero p{
    max-width:1050px;
    margin:0 0 14px;
    color:#465762;
    font-size:17px;
    line-height:1.72;
}

.about-hero p:last-child{
    margin-bottom:0;
}

.about-section{
    display:grid;
    grid-template-columns:minmax(250px,.8fr) minmax(0,1.5fr);
    gap:50px;
    margin-bottom:18px;
    padding:34px 36px;
    background:#fff;
    border:1px solid rgba(1,25,54,.08);
    border-radius:18px;
}

.about-soft{
    background:#f1f6fa;
}

.about-section-title h2{
    margin:0;
    font-size:27px;
    line-height:1.24;
    font-weight:600;
    letter-spacing:-.02em;
}

.about-text p{
    margin:0 0 15px;
    color:#4a5b66;
    font-size:15px;
    line-height:1.75;
}

.about-text p:last-child{
    margin-bottom:0;
}

.about-values{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    margin-bottom:18px;
}

.about-value{
    min-width:0;
    padding:24px;
    background:#fff;
    border:1px solid rgba(1,25,54,.08);
    border-radius:16px;
}

.about-value > span{
    display:block;
    margin-bottom:24px;
    color:#249bda;
    font-size:13px;
    font-weight:700;
}

.about-value h3{
    margin:0 0 9px;
    font-size:18px;
    font-weight:600;
}

.about-value p{
    margin:0;
    color:#52636d;
    font-size:14px;
    line-height:1.65;
}

.about-cta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:32px;
    padding:30px 32px;
    background:#011936;
    border-radius:20px;
    color:#fff;
}

.about-cta > div:first-child{
    max-width:760px;
}

.about-cta .about-kicker{
    color:#6fc3ef;
}

.about-cta h2{
    margin:0 0 10px;
    color:#fff;
    font-size:28px;
    line-height:1.25;
}

.about-cta p{
    margin:0;
    color:rgba(255,255,255,.75);
    font-size:15px;
    line-height:1.65;
}

.about-actions{
    flex:0 0 auto;
    display:flex;
    flex-wrap:wrap;
    gap:9px;
}

.about-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 17px;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
}

.about-btn-light{
    border:1px solid rgba(255,255,255,.25);
    color:#fff;
}

.about-btn-light:hover{
    background:rgba(255,255,255,.08);
    color:#fff;
}

.about-btn-primary{
    background:#fff;
    color:#011936;
}

.about-btn-primary:hover{
    background:#e8f3fa;
    color:#011936;
}

@media(max-width:950px){
    .about-section{
        grid-template-columns:1fr;
        gap:20px;
    }

    .about-values{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .about-cta{
        align-items:flex-start;
        flex-direction:column;
    }
}

@media(max-width:650px){
    .about-hero{
        margin-left:-6px;
        margin-right:-6px;
        padding:26px 20px;
        border-radius:16px;
    }

    .about-hero p{
        font-size:15px;
    }

    .about-section{
        gap:16px;
        padding:22px 20px;
    }

    .about-section-title h2{
        font-size:23px;
    }

    .about-values{
        grid-template-columns:1fr;
    }

    .about-value{
        padding:20px;
    }

    .about-cta{
        padding:24px 20px;
        border-radius:16px;
    }

    .about-actions{
        width:100%;
        flex-direction:column;
    }

    .about-btn{
        width:100%;
    }
}

/* ===== Returns page ===== */
.returns-page{
    background:var(--page, #f7f9fb);
}

.returns-page .container{
    max-width:1280px;
}

.returns-box{
    max-width:980px;
    padding:34px 38px;
    background:#fff;
    border:1px solid rgba(1,25,54,.08);
    border-radius:20px;
}

.returns-box h1{
    margin:0 0 32px !important;
}

.returns-section h2,
.returns-help h2{
    margin:0 0 18px;
    font-size:25px;
    line-height:1.25;
    font-weight:600;
}

.returns-section p,
.returns-help p{
    margin:0 0 15px;
    color:#465762;
    font-size:15px;
    line-height:1.75;
}

.returns-section p:last-child{
    margin-bottom:0;
}

.returns-help{
    margin-top:40px;
    padding-top:32px;
    border-top:1px solid rgba(1,25,54,.08);
}

.returns-kicker{
    display:inline-block;
    margin-bottom:9px;
    color:#249bda;
    font-size:12px;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.returns-help p{
    max-width:760px;
}

.returns-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:22px;
}

.returns-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 18px;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
}

.returns-btn-primary{
    background:#011936;
    color:#fff;
}

.returns-btn-primary:hover{
    background:#249bda;
    color:#fff;
}

.returns-btn-secondary{
    background:#fff;
    border:1px solid rgba(1,25,54,.15);
    color:#011936;
}

.returns-btn-secondary:hover{
    border-color:#249bda;
    color:#249bda;
}

@media(max-width:700px){
    .returns-box{
        padding:24px 20px;
        border-radius:16px;
    }

    .returns-section h2,
    .returns-help h2{
        font-size:21px;
    }

    .returns-section p,
    .returns-help p{
        font-size:14px;
    }
}

/* ===== Blog article ===== */
.blog-article{
		max-width:900px;
		margin:0 auto;
	}

	.blog-article-text{
		font-size:16px;
		line-height:1.7;
	}

	.blog-article-text h2{
		margin:32px 0 12px;
		font-size:26px;
		line-height:1.25;
	}

	.blog-article-text h3{
		margin:24px 0 10px;
		font-size:21px;
		line-height:1.3;
	}

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

	.blog-article-text ul,
	.blog-article-text ol{
		margin:0 0 18px;
		padding-left:24px;
	}

	.blog-article-text li{
		margin-bottom:6px;
	}

	.blog-article-text img{
		display:block;
		max-width:100%;
		height:auto;
		margin:22px auto;
		border-radius:8px;
	}

	.blog-back{
		max-width:900px;
		margin:30px auto 0;
	}

	@media (max-width:700px)
	{
		.blog-article-text{
			font-size:15px;
			line-height:1.65;
		}

		.blog-article-text h2{
			font-size:22px;
			margin-top:26px;
		}

		.blog-article-text h3{
			font-size:19px;
		}
	}

/* ===== Blog listing ===== */
/* Сітка карток блогу */
.blog-page .gallery-grid{
	display:grid;
	grid-template-columns:repeat(4, minmax(0, 1fr));
	gap:22px;
}

.blog-page .gallery-item{
	min-width:0;
}

.blog-page .gallery-item a{
	display:block;
	width:100%;
}

.blog-page .gallery-item img,
.blog-page .blog-no-image{
	display:block;
	width:100%;
	aspect-ratio:4/3;
	object-fit:cover;
	border-radius:8px;
}

.blog-page .blog-no-image{
	background:#f2f2f2;
	display:flex;
	align-items:center;
	justify-content:center;
	color:#999;
	font-size:14px;
}

/* Планшети */
@media (max-width:900px){
	.blog-page .gallery-grid{
		grid-template-columns:repeat(2, minmax(0, 1fr));
		gap:16px;
	}
}

/* Мобільні */
@media (max-width:600px){
	.blog-page .gallery-grid{
		grid-template-columns:1fr;
		gap:18px;
	}

	.blog-page .gallery-item img,
	.blog-page .blog-no-image{
		aspect-ratio:16/10;
	}
}

/* ===== Gallery article ===== */
.gallery-article{
		max-width:900px;
		margin:0 auto;
	}

	.gallery-main-image img{
		display:block;
		max-width:100%;
		height:auto;
		margin:0 auto 22px;
		border-radius:8px;
	}

	.gallery-article-text{
		font-size:16px;
		line-height:1.7;
	}

	.gallery-article-text h2{
		margin:32px 0 12px;
		font-size:26px;
		line-height:1.25;
	}

	.gallery-article-text h3{
		margin:24px 0 10px;
		font-size:21px;
		line-height:1.3;
	}

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

	.gallery-article-text ul,
	.gallery-article-text ol{
		margin:0 0 18px;
		padding-left:24px;
	}

	.gallery-article-text li{
		margin-bottom:6px;
	}

	.gallery-article-text img{
		display:block;
		max-width:100%;
		height:auto;
		margin:22px auto;
		border-radius:8px;
	}

	.gallery-back{
		max-width:900px;
		margin:30px auto 0;
	}

	@media (max-width:700px)
	{
		.gallery-article-text{
			font-size:15px;
			line-height:1.65;
		}

		.gallery-article-text h2{
			font-size:22px;
			margin-top:26px;
		}

		.gallery-article-text h3{
			font-size:19px;
		}
	}

/* ===== Gallery listing ===== */
.gallery-page .lead{
    max-width:none;
    width:100%;
}

.gallery-description-wrap{
    width:100%;
}

.gallery-description-toggle{
    display:none;
    margin-top:6px;
    padding:0;
    border:0;
    background:none;
    color:#7b8490;
    font:inherit;
    font-size:14px;
    cursor:pointer;
    text-decoration:underline;
}

.gallery-page .gallery-cat{
	margin:0 0 34px;
}

.gallery-page .gallery-cat h3{
	margin:0 0 16px;
}

.gallery-page .gallery-grid{
	display:grid;
	grid-template-columns:repeat(4, minmax(0, 1fr));
	gap:22px;
}

.gallery-page .gallery-item{
	min-width:0;
}

.gallery-page .gallery-item a{
	display:block;
	width:100%;
}

.gallery-page .gallery-item img,
.gallery-page .gallery-no-image{
	display:block;
	width:100%;
	aspect-ratio:4/3;
	object-fit:cover;
	border-radius:8px;
}

.gallery-page .gallery-no-image{
	background:#f2f2f2;
	display:flex;
	align-items:center;
	justify-content:center;
	color:#999;
	font-size:14px;
}

@media (max-width:900px){
	.gallery-page .gallery-grid{
		grid-template-columns:repeat(2, minmax(0, 1fr));
		gap:16px;
	}
}

@media (max-width:600px){
	.gallery-description-wrap:not(.is-open) .gallery-description{
		display:-webkit-box;
		-webkit-line-clamp:3;
		-webkit-box-orient:vertical;
		overflow:hidden;
		margin-bottom:0;
	}

	.gallery-description-toggle{
		display:inline-block;
		margin-bottom:34px;
	}

	.gallery-description-wrap.is-open .gallery-description{
		margin-bottom:0;
	}

	.gallery-description-wrap.is-open .gallery-description-toggle{
		display:none;
	}

	.gallery-page .gallery-grid{
		grid-template-columns:1fr;
		gap:18px;
	}

	.gallery-page .gallery-item img,
	.gallery-page .gallery-no-image{
		aspect-ratio:16/10;
	}
}

/* ===== Reusable helpers ===== */
.card-link{
    display:block;
    width:100%;
    color:inherit;
    text-decoration:none;
}
.inherit-link{
    color:inherit;
    text-decoration:none;
}
.portfolio-strip{margin-top:55px;}
.product-dimensions{
    width:100%;
    margin:0 0 22px;
    border-collapse:collapse;
    font-size:14px;
}
.product-dimensions td{
    padding:8px 0;
    border-bottom:1px solid #e5e5e5;
}
.product-dimensions td:first-child{
    padding-right:12px;
    color:#777;
}
.product-dimensions td:last-child{
    text-align:right;
    font-weight:500;
}
.cart-product-thumb{
    width:80px;
    height:60px;
    object-fit:cover;
    border-radius:4px;
}
.login-form{max-width:420px;}

/* Admin helpers */
.admin-nav{display:flex;gap:18px;align-items:center;}
.admin-toolbar{margin-bottom:20px;}
.btn-link{display:inline-block;text-decoration:none;}
.admin-empty{color:#999;padding:24px 0;}
.admin-empty-cell{text-align:center;padding:24px;color:#999;}
.admin-product-thumb{width:56px;height:44px;object-fit:cover;border-radius:4px;background:var(--pale-blue);}
.inline-form{display:inline;}
.admin-order-card{max-width:100%;margin-bottom:20px;}
.admin-order-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;}
.admin-order-meta{color:#999;font-size:13px;}
.admin-order-status-form{display:flex;gap:8px;align-items:center;}
.admin-order-details{margin-top:10px;font-size:14px;}
.admin-order-table{margin-top:12px;}
.admin-order-total{text-align:right;margin-top:10px;font-weight:800;font-size:16px;}
.admin-form-title{margin-bottom:20px;}
.admin-photo-title{margin:36px 0 16px;}
.admin-photo-grid{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:24px;}
.admin-photo-item{position:relative;}
.admin-photo-img{width:120px;height:120px;object-fit:cover;border-radius:4px;background:var(--pale-blue);}
.admin-photo-delete-form{position:absolute;top:6px;right:6px;}
.btn-danger-small{padding:4px 9px;}
.admin-muted{color:#999;}
.admin-muted-bottom{color:#999;margin-bottom:20px;}
.admin-muted-top{color:#999;margin-top:24px;}
.hash-output{width:100%;height:40px;}
.admin-warning{color:red;font-weight:bold;}

@media(max-width:600px){
    .portfolio-strip{margin-top:40px;}
}

/* ===== Consultation success popup ===== */
.consultation-success-popup{
    position:fixed;
    top:22px;
    left:50%;
    z-index:9999;
    display:flex;
    align-items:center;
    gap:12px;
    width:min(430px,calc(100% - 28px));
    box-sizing:border-box;
    padding:15px 16px;
    background:#fff;
    border:1px solid #d8e6f0;
    border-radius:14px;
    box-shadow:0 16px 45px rgba(1,25,54,.18);
    color:#011936;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translate(-50%,-18px);
    transition:opacity .22s ease,transform .22s ease,visibility .22s ease;
}

.consultation-success-popup.is-visible{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translate(-50%,0);
}

.consultation-success-icon{
    flex:0 0 34px;
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:50%;
    background:#e8f7ee;
    color:#21874b;
    font-size:20px;
    font-weight:700;
}

.consultation-success-text{
    min-width:0;
    display:flex;
    flex:1;
    flex-direction:column;
    gap:2px;
}

.consultation-success-text strong{
    font-size:15px;
    line-height:1.3;
}

.consultation-success-text span{
    color:#667988;
    font-size:13px;
    line-height:1.45;
}

.consultation-success-close{
    flex:0 0 auto;
    width:30px;
    height:30px;
    padding:0;
    border:0;
    background:transparent;
    color:#8292a0;
    font-size:24px;
    line-height:30px;
    cursor:pointer;
}

@media(max-width:650px){
    .consultation-success-popup{
        top:12px;
        width:calc(100% - 20px);
        padding:13px 14px;
        border-radius:12px;
    }
}

/* Акційна ціна: каталог, категорії, схожі товари та сторінка товару. */
.product-image,.product-detail-image{position:relative;}
.product-sale-badge{position:absolute;top:16px;left:16px;z-index:2;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:96px;height:40px;padding:0 16px;border:0;border-radius:999px;background:#ff6058;color:#fff;font-size:13px;font-weight:400;line-height:1;letter-spacing:normal;box-shadow:none;white-space:nowrap;pointer-events:none;}
.product-old-price{display:block;margin-bottom:3px;color:#8b929c;font-size:13px;font-weight:400;line-height:1.2;text-decoration:line-through;text-decoration-thickness:1px;white-space:nowrap;}
.product-current-price{display:block;line-height:1.2;}
.product-detail-price .product-old-price{font-size:19px;margin-bottom:5px;}
@media(max-width:600px){
    .product-card .product-sale-badge{top:10px;left:10px;width:76px;height:32px;padding:0 12px;font-size:12px;}
    .product-card .product-old-price{font-size:11px;margin-bottom:3px;}
    .product-detail-price .product-old-price{font-size:16px;}
}

/* Гортання головного фото без відкриття галереї. */
.product-gallery .gallery-main-image{touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none;}

/* Плавна зміна головного фото; плашка Акція залишається на місці. */
.product-detail-image .product-slide-incoming{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;z-index:1;}
