/* ====================================================================
   Лавка Ашрама — стили v3.0.1
   ==================================================================== */

/* ==================== ШРИФТЫ ==================== */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: optional;
    src: url('/templates/Default/fonts/cormorant-garamond-v21-cyrillic_latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 700;
    font-display: optional;
    src: url('/templates/Default/fonts/cormorant-garamond-v21-cyrillic_latin-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Philosopher';
    font-style: normal;
    font-weight: 400;
    font-display: optional;
    src: url('/templates/Default/fonts/philosopher-v21-cyrillic_latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Philosopher';
    font-style: normal;
    font-weight: 700;
    font-display: optional;
    src: url('/templates/Default/fonts/philosopher-v21-cyrillic_latin-700.woff2') format('woff2');
}

/* ==================== ПЕРЕМЕННЫЕ ==================== */
:root {
    --bg-deep: #0c0a14;
    --bg-card: #1e1a2f;
    --bg-soft: rgba(30, 26, 47, 0.6);
    --gold: #d4af37;
    --gold-light: #e6c468;
    --gold-bright: #f0c45a;
    --gold-dark: #b8860b;
    --purple: #6a1b9a;
    --text-main: #e0d6c8;
    --text-soft: #d0c8e0;
    --text-muted: #b8a9c9;
    --border: rgba(212, 175, 55, 0.25);
    --border-hover: rgba(212, 175, 55, 0.6);
    --shadow-card: 0 4px 18px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.6);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 60px;
}

/* ==================== СБРОС ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
body {
    font-family: 'Philosopher', system-ui, -apple-system, sans-serif;
    background: radial-gradient(ellipse at 50% 0%, #1e1a2f 0%, #0a0812 100%);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-bright); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* ==================== КОНТЕЙНЕР ==================== */
.shop-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==================== HEADER ==================== */
.shop-header {
    background: rgba(10, 8, 18, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.shop-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.shop-header__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 1px;
}
.shop-header__logo:hover { color: var(--gold-bright); }
.shop-header__nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}
.shop-header__nav a {
    font-size: 0.95rem;
    color: var(--text-main);
}
.shop-header__nav a:hover { color: var(--gold); }
.shop-header__back {
    padding: 8px 18px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: var(--radius-pill);
    color: var(--gold) !important;
    font-weight: 700;
    font-size: 0.9rem;
}
.shop-header__back:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold);
    color: var(--gold-bright) !important;
}

/* ==================== HERO ==================== */
.shop-hero {
    padding: 4rem 1.5rem 3rem;
    text-align: center;
}
.shop-hero__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
    background: linear-gradient(180deg, #f7e08a 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}
.shop-hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-soft);
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.55;
}
.shop-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== КНОПКИ ==================== */
.btn-shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1);
    cursor: pointer;
    font-family: 'Philosopher', sans-serif;
    white-space: nowrap;
}
.btn-shop--primary {
    background: linear-gradient(135deg, var(--purple), var(--gold-dark));
    color: #fff;
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(106, 27, 154, 0.4);
}
.btn-shop--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(106, 27, 154, 0.6);
    color: #fff;
}
.btn-shop--ghost {
    background: transparent;
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.5);
}
.btn-shop--ghost:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold);
    color: var(--gold-bright);
}
.btn-shop--gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-deep);
    border-color: var(--gold-bright);
}
.btn-shop--gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
    color: var(--bg-deep);
}
.btn-shop--sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-shop--full { width: 100%; }

/* ==================== СЕКЦИИ ==================== */
.shop-section { padding: 3rem 0; }
.shop-section__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: var(--gold-light);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
.shop-section__subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-style: italic;
}

/* ==================== КАТЕГОРИИ ==================== */
.shop-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.shop-category {
    background: var(--bg-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.8rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}
.shop-category:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
    color: var(--text-main);
}
.shop-category__icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.4));
}
.shop-category__name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold-light);
}
.shop-category__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==================== ПОИСК ==================== */
.shop-search-wrap {
    max-width: 520px;
    margin: 0 auto 1.5rem;
}
.shop-search-input {
    width: 100%;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: rgba(30, 26, 47, 0.8);
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
}
.shop-search-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* ==================== ФИЛЬТРЫ ==================== */
.shop-filters {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.shop-filter {
    background: rgba(44, 42, 62, 0.8);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s;
}
.shop-filter:hover,
.shop-filter.active {
    background: var(--gold);
    color: var(--bg-deep);
    border-color: var(--gold);
    font-weight: 700;
}

/* ==================== СЕТКА ТОВАРОВ ==================== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.8rem;
    margin-bottom: 3rem;
}
.shop-card {
    background: var(--bg-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    position: relative;
}
.shop-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
}
.shop-card__badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.4rem;
    z-index: 2;
}
.shop-card__badge {
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.shop-card__badge--new {
    background: linear-gradient(135deg, #27ae60, #16a085);
    color: #fff;
}
.shop-card__badge--popular {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-deep);
}
.shop-card__head {
    padding: 2rem 1.5rem 1rem;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}
.shop-card__icon {
    font-size: 3.5rem;
    line-height: 1;
    filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.5));
    margin-bottom: 0.8rem;
    display: inline-block;
}
.shop-card__subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.4rem;
}
.shop-card__name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1.2;
}
.shop-card__body {
    padding: 0 1.5rem 1rem;
    flex: 1;
}
.shop-card__desc {
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.45;
    margin-bottom: 1rem;
}
.shop-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.shop-card__tag {
    background: rgba(106, 27, 154, 0.25);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-muted);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
}
.shop-card__foot {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.shop-card__price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold-bright);
    line-height: 1;
}
.shop-card__price small {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'Philosopher', sans-serif;
    font-weight: 400;
    margin-left: 2px;
}
.shop-card__actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* ==================== ШАГИ ==================== */
.shop-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}
.shop-step {
    background: var(--bg-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.8rem 1.5rem;
    text-align: center;
    position: relative;
    transition: all 0.25s;
}
.shop-step:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}
.shop-step__num {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--gold-dark));
    border: 2px solid var(--gold);
    color: #fff;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 6px 18px rgba(106, 27, 154, 0.5);
}
.shop-step__icon {
    font-size: 2rem;
    margin-bottom: 0.6rem;
    display: block;
}
.shop-step__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}
.shop-step__desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==================== FAQ ==================== */
.shop-faq { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--bg-soft);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.2rem 1.4rem;
    margin-bottom: 1rem;
}
.faq-item__q {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-item__q::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--gold);
    transition: transform 0.2s;
    flex-shrink: 0;
}
.faq-item.open .faq-item__q::after { content: "−"; }
.faq-item__a {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.55;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.open .faq-item__a {
    max-height: 3000px;
    margin-top: 0.5rem;
}

/* ==================== BREADCRUMBS ==================== */
.product-breadcrumbs {
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.product-breadcrumbs a { color: var(--gold); }
.product-breadcrumbs span { margin: 0 0.5rem; opacity: 0.6; }

/* ==================== PRODUCT HERO ==================== */
.product-hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}
.product-hero__visual {
    background: radial-gradient(ellipse at 50% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
}
.product-hero__icon {
    font-size: 7rem;
    line-height: 1;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6));
    display: inline-block;
}
.product-hero__info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.product-hero__category {
    display: inline-block;
    background: rgba(106, 27, 154, 0.3);
    color: var(--gold-light);
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    align-self: flex-start;
    border: 1px solid var(--border);
}
.product-hero__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--gold-light);
    line-height: 1.15;
}
.product-hero__subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}
.product-hero__short {
    font-size: 1.05rem;
    color: var(--text-soft);
    line-height: 1.55;
}
.product-hero__price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-bright);
    line-height: 1;
    margin: 0.5rem 0;
}
.product-hero__price small {
    font-size: 1rem;
    color: var(--text-muted);
    font-family: 'Philosopher', sans-serif;
    font-weight: 400;
}
.product-hero__delivery {
    background: rgba(212, 175, 55, 0.08);
    border-left: 3px solid var(--gold);
    padding: 0.8rem 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.9rem;
    color: var(--text-soft);
}
.product-hero__delivery strong {
    color: var(--gold-light);
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}
.product-hero__actions .btn-shop {
    flex: 1;
    min-width: 200px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.product-tag {
    background: rgba(106, 27, 154, 0.3);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==================== PRODUCT CONTENT ==================== */
.product-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.product-block {
    background: var(--bg-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.8rem 1.6rem;
    margin-bottom: 1.5rem;
}
.product-block__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 1rem;
}
.product-block p {
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.product-block p:last-child { margin-bottom: 0; }
.product-includes { list-style: none; padding: 0; }
.product-includes li {
    padding: 0.6rem 0 0.6rem 1.8rem;
    position: relative;
    color: var(--text-soft);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    line-height: 1.4;
}
.product-includes li:last-child { border-bottom: none; }
.product-includes li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 1rem;
}

.product-support {
    background: linear-gradient(135deg, rgba(106, 27, 154, 0.15), rgba(212, 175, 55, 0.1));
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-md);
    padding: 1.8rem 1.5rem;
    text-align: center;
}
.product-support__icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.product-support__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 0.8rem;
}
.product-support__text {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* ==================== MODAL ==================== */
.shop-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    padding: 1rem;
    overflow-y: auto;
    backdrop-filter: blur(8px);
}
.shop-modal.open {
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-modal__inner {
    background: var(--bg-card);
    border: 1px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.shop-modal__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--gold-light);
    text-align: center;
    margin-bottom: 1rem;
}
.shop-modal__text {
    color: var(--text-soft);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.shop-modal__price {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold-bright);
    margin-top: 0.4rem;
}
.shop-modal__form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.shop-modal__actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.shop-modal__actions .btn-shop {
    flex: 1;
    min-width: 140px;
}
.shop-modal__secure {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

/* ==================== ФОРМЫ ==================== */
.form-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 0.4rem;
    font-weight: 500;
}
.form-label .req { color: var(--gold); }
.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(20, 15, 30, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.form-input:focus,
.form-textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}
.form-hint {
    font-size: 0.8rem;
    color: #8a7baa;
    margin-top: 0.4rem;
    line-height: 1.4;
}
.form-check {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--text-soft);
    line-height: 1.5;
    cursor: pointer;
}
.form-check input {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    cursor: pointer;
    flex-shrink: 0;
}
.form-check a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px dotted rgba(212, 175, 55, 0.5);
}

/* ==================== УТИЛИТАРНЫЕ СТРАНИЦЫ ==================== */
.page-centered {
    max-width: 640px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    text-align: center;
}
.page-centered__icon {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1rem;
}
.page-centered__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    color: var(--gold-light);
    margin-bottom: 1rem;
}
.page-centered__text {
    font-size: 1.05rem;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.page-centered__card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.8rem;
    margin: 2rem 0;
    text-align: left;
}
.page-centered__card h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold-light);
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
}
.page-centered__card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.page-centered__card ul li {
    padding: 0.5rem 0 0.5rem 1.8rem;
    position: relative;
    color: var(--text-soft);
    line-height: 1.5;
    font-size: 0.95rem;
}
.page-centered__card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: 700;
}
.page-centered__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.page-centered__note {
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--gold);
    padding: 1rem 1.2rem;
    border-radius: 0 12px 12px 0;
    font-size: 0.88rem;
    color: var(--text-soft);
    margin-top: 2rem;
    text-align: left;
    line-height: 1.55;
}
.success-order-num {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-bright);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-family: monospace;
    margin-bottom: 1rem;
}

/* ==================== ДОКУМЕНТЫ ==================== */
.doc-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}
.doc-back {
    display: inline-block;
    color: var(--gold);
    text-decoration: none;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}
.doc-back:hover { color: var(--gold-bright); }
.doc-h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.doc-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}
.doc-h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--gold-light);
    margin: 2rem 0 1rem;
}
.doc-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.8rem;
    margin-bottom: 1.5rem;
}
.doc-card h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold-light);
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
}
.doc-card p {
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}
.doc-card p:last-child { margin-bottom: 0; }
.doc-dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem 1.5rem;
    align-items: baseline;
}
.doc-dl dt {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.doc-dl dd {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
}
.doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.doc-list li {
    padding: 0.5rem 0 0.5rem 1.8rem;
    position: relative;
    color: var(--text-soft);
    line-height: 1.55;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
.doc-list li:last-child { border-bottom: none; }
.doc-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}
.doc-steps {
    counter-reset: ds;
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}
.doc-steps li {
    counter-increment: ds;
    padding: 0.8rem 0 0.8rem 2.5rem;
    position: relative;
    color: var(--text-soft);
    line-height: 1.5;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
.doc-steps li:last-child { border-bottom: none; }
.doc-steps li::before {
    content: counter(ds);
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--gold-dark));
    border: 1px solid var(--gold);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.doc-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}
.doc-method {
    background: rgba(20, 15, 30, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 14px;
    padding: 1.2rem 1rem;
    text-align: center;
    transition: all 0.2s;
}
.doc-method:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}
.doc-method__icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}
.doc-method__name {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}
.doc-method__desc {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.35;
}
.doc-time {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-bright);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}
.doc-note {
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--gold);
    padding: 1rem 1.2rem;
    border-radius: 0 12px 12px 0;
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-top: 2rem;
    line-height: 1.55;
}
.doc-note strong { color: var(--gold-light); }

/* ==================== ФОРМА form.php ==================== */
.form-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}
.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.form-header__icon {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}
.form-header__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 4.5vw, 2.3rem);
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.form-header__sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 520px;
    margin: 0 auto;
}
.form-card {
    background: var(--bg-soft);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem 1.8rem;
}
.form-group { margin-bottom: 1.4rem; }
.form-note {
    background: rgba(212, 175, 55, 0.08);
    border-left: 3px solid var(--gold);
    padding: 1rem 1.2rem;
    border-radius: 0 12px 12px 0;
    font-size: 0.85rem;
    color: var(--text-soft);
    line-height: 1.55;
    margin-bottom: 1.8rem;
}
.form-submit {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--purple), var(--gold-dark));
    color: #fff;
    border: 1px solid var(--gold);
    border-radius: var(--radius-pill);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(106, 27, 154, 0.5);
}
.order-info {
    background: rgba(106, 27, 154, 0.15);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem 1.4rem;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-soft);
}
.order-info strong { color: var(--gold-light); }
.err-block {
    background: rgba(231, 76, 60, 0.15);
    border-left: 3px solid #e74c3c;
    padding: 1rem;
    border-radius: 0 12px 12px 0;
    color: #ffb3a7;
    margin-bottom: 1.5rem;
}
.form-success {
    text-align: center;
    padding: 2rem 0;
}
.form-success__icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.form-success__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
}
.form-success p {
    color: var(--text-soft);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.form-footnote {
    text-align: center;
    color: #8a7baa;
    font-size: 0.85rem;
    margin-top: 1.5rem;
    line-height: 1.5;
}
.form-footnote a { color: var(--gold); }

/* ==================== COOKIE-БАННЕР ==================== */
.shop-cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(12, 10, 20, 0.97);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--border);
    padding: 1.2rem 1.5rem;
    z-index: 9998;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    animation: cookieIn 0.3s ease;
}
@keyframes cookieIn {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.shop-cookie__text {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: 720px;
}
.shop-cookie__text a {
    color: var(--gold);
    border-bottom: 1px dotted rgba(212, 175, 55, 0.5);
}
.shop-cookie__actions {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}

/* ==================== FOOTER ==================== */
.shop-footer {
    background: rgba(10, 8, 18, 0.95);
    border-top: 1px solid var(--border);
    padding: 2.5rem 1.5rem 1.5rem;
    margin-top: 4rem;
}
.shop-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}
.shop-footer__col h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    border-left: 3px solid var(--gold);
    padding-left: 0.8rem;
}
.shop-footer__col ul {
    list-style: none;
    padding: 0;
}
.shop-footer__col ul li {
    margin-bottom: 0.5rem;
}
.shop-footer__col ul li a {
    color: var(--text-main);
    font-size: 0.88rem;
}
.shop-footer__col ul li a:hover { color: var(--gold); }
.shop-footer__bottom {
    max-width: 1280px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.shop-footer__bottom p { margin-bottom: 0.5rem; }
.shop-footer__inn {
    color: var(--gold);
    font-weight: 500;
}
.shop-footer__disclaimer {
    font-size: 0.75rem;
    color: #5a4a7a;
    margin-top: 1rem;
}

/* ==================== TOAST ==================== */
.shop-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--bg-deep);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    z-index: 10000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    max-width: 90vw;
    text-align: center;
    animation: toastIn 0.3s ease;
    font-size: 0.95rem;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ==================== АДАПТИВ ==================== */
@media (max-width: 900px) {
    .product-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .product-content { grid-template-columns: 1fr; }
    .product-hero__visual { padding: 3rem 1.5rem; }
    .product-hero__icon { font-size: 5rem; }
}
@media (max-width: 768px) {
    .shop-container { padding: 0 1rem; }
    .shop-header { padding: 0.8rem 0; }
    .shop-header__nav { gap: 1rem; }
    .shop-header__nav a { font-size: 0.85rem; }
    .shop-hero { padding: 2.5rem 1rem 2rem; }
    .shop-grid { gap: 1.2rem; grid-template-columns: 1fr; }
    .shop-categories { grid-template-columns: 1fr; }
    .shop-steps { grid-template-columns: 1fr 1fr; }
    .shop-modal__inner { padding: 1.5rem 1.2rem; }
    .shop-modal__actions { flex-direction: column; }
    .shop-modal__actions .btn-shop { width: 100%; }
    .doc-wrap,
    .form-wrap { padding: 1rem 0.5rem 3rem; }
    .doc-card,
    .form-card { padding: 1.2rem 1rem; border-radius: 16px; }
    .doc-dl { grid-template-columns: 1fr; gap: 0.2rem 0; }
    .doc-dl dt { font-size: 0.8rem; margin-top: 0.6rem; }
    .shop-cookie {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    .shop-cookie__actions {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .shop-steps { grid-template-columns: 1fr; }
    .shop-hero__title { font-size: 1.7rem; }
    .product-hero__price { font-size: 2.4rem; }
    .shop-card__price { font-size: 1.4rem; }
}

/* ==================== СЛУЖЕБНОЕ ==================== */
.hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}