* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #0d0d0d;
    color: #f3f4f6;
    display: flex;
    justify-content: center;
    padding: 20px 10px 60px;
}

.product-card {
    width: 100%;
    max-width: 520px;
    background: #141416;
    border: 1px solid #26262b;
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

.top-announcement {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #f5d77f;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    padding: 9px 10px;
    border-radius: 12px;
    margin-bottom: 14px;
    line-height: 1.35;
}

.hero-header-banner {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 16px;
    background: #070709;
    border: 1px solid #2b2b30;
    overflow: visible;
    z-index: 20;
    margin-bottom: 16px;
}

.hero-banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 16px;
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.35) 100%);
    pointer-events: none;
}

.header-main-row {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 30;
}

.menu-dropdown,
.lang-dropdown {
    position: relative;
}

.menu-btn,
.lang-btn,
.callback-icon {
    background: rgba(18, 18, 22, 0.88);
    color: #f9fafb;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 11px;
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    list-style: none;
    user-select: none;
    backdrop-filter: blur(6px);
}

.menu-btn::-webkit-details-marker,
.lang-btn::-webkit-details-marker {
    display: none;
}

.menu-btn,
.callback-icon {
    width: 40px;
    padding: 0;
}

.menu-btn {
    font-size: 1.15rem;
}

.header-right-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-content,
.lang-content {
    position: absolute;
    top: calc(100% + 6px);
    background: #18181c;
    border: 1px solid #32323a;
    border-radius: 14px;
    padding: 6px;
    min-width: 210px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-content {
    left: 0;
}

.lang-content {
    right: 0;
    min-width: 115px;
}

.menu-content a,
.lang-content a {
    color: #f3f4f6;
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.menu-content a:hover,
.lang-content a:hover {
    background: rgba(212, 175, 55, 0.16);
    color: #f5d77f;
}

.menu-group-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    padding: 8px 12px 4px;
    font-weight: 700;
}

.mini-flag {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    overflow: hidden;
    display: inline-flex;
    flex-direction: column;
    position: relative;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.flag-ua-top { height: 50%; background: #0057b7; }
.flag-ua-bot { height: 50%; background: #ffd700; }
.flag-gb { background: #012169; }
.flag-gb-cross-h { position: absolute; top: 40%; left: 0; right: 0; height: 20%; background: #c8102e; }
.flag-gb-cross-v { position: absolute; left: 42%; top: 0; bottom: 0; width: 16%; background: #c8102e; }
.flag-ru-top { height: 33.33%; background: #ffffff; }
.flag-ru-mid { height: 33.33%; background: #0039a6; }
.flag-ru-bot { height: 33.34%; background: #d52b1e; }

.promo-tagline {
    font-size: 0.96rem;
    font-weight: 600;
    color: #f3f4f6;
    line-height: 1.42;
    padding: 0 6px;
    margin-bottom: 6px;
}

h1 {
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.25;
    padding: 0 6px;
    margin-bottom: 12px;
    color: #ffffff;
}

.gold-text {
    color: #d4af37;
    font-weight: 700;
}

.product-image-container {
    width: 100%;
    margin-bottom: 14px;
}

.single-photo-slider {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-photo {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid #26262b;
    display: block;
}

.single-photo-slider .about-photo,
#mainGalleryPhoto {
    height: 320px;
    max-height: 320px;
    object-position: center;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.slider-arrow-btn {
    background: #1c1c21;
    color: #f5d77f;
    border: 1px solid #34343d;
    border-radius: 10px;
    width: 44px;
    height: 36px;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
}

.slider-arrow-btn:hover {
    background: rgba(212, 175, 55, 0.18);
    transform: translateY(-1px);
}

.slider-counter {
    font-size: 0.85rem;
    font-weight: 700;
    color: #d1d5db;
    min-width: 48px;
    text-align: center;
}

.btn-buy {
    width: 100%;
    background: linear-gradient(135deg, #d4af37, #b68d1e);
    color: #111111;
    border: none;
    border-radius: 13px;
    padding: 13px 16px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-buy:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.main-buy-btn { margin-bottom: 16px; }
.info-container { margin-bottom: 16px; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.info-item {
    background: #1c1c21;
    border: 1px solid #2b2b32;
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.delivery-dropdown-box {
    margin-top: 10px;
    background: #1c1c21;
    border: 1px solid #2e2e36;
    border-radius: 12px;
    padding: 12px;
    font-size: 0.88rem;
    line-height: 1.45;
}

.info-buy-btn {
    margin-top: 10px;
    padding: 9px 12px;
    font-size: 0.84rem;
}

.tab-section {
    background: #19191d;
    border: 1px solid #28282f;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.tab-section summary {
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    font-size: 1rem;
}

.tab-content {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #d1d5db;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reviews-section { margin-top: 16px; }
.reviews-section h2 { font-size: 1.15rem; margin-bottom: 10px; }

.reviews-slider {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
}

.review-card {
    flex: 0 0 215px;
    min-height: 225px;
    background: rgba(35, 35, 40, 0.72);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.review-card[open] {
    border-color: rgba(212, 175, 55, 0.45);
    background: rgba(42, 42, 48, 0.85);
}

.review-card summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.review-card summary::-webkit-details-marker { display: none; }

.review-card summary::before {
    content: "▸";
    color: #d1d5db;
    font-size: 0.85rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.review-card[open] summary::before {
    transform: rotate(90deg);
    color: #d4af37;
}

.review-card summary p {
    margin: 0;
    color: #f3f4f6;
    font-size: 0.92rem;
    line-height: 1.38;
    font-weight: 500;
}

.review-card summary small {
    margin-top: auto;
    color: #d1d5db;
    font-size: 0.8rem;
    line-height: 1.3;
}

.admin-reply {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    line-height: 1.35;
    color: #e5e7eb;
}

.admin-reply span {
    display: block;
    color: #d4af37;
    font-weight: 700;
    margin-bottom: 2px;
}

.admin-reply p { margin: 0; }

.callback-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.callback-content {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #18181c;
    border: 1px solid #32323a;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 26px;
    color: #9ca3af;
    cursor: pointer;
}

.phone-input {
    width: 100%;
    background: #111114;
    border: 1px solid #32323a;
    border-radius: 11px;
    padding: 11px 12px;
    color: #ffffff;
    font-size: 0.92rem;
    margin-bottom: 10px;
}

.price-box {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 12px;
    margin: 12px 0;
}

.price-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: #f5d77f;
    display: block;
    margin-bottom: 4px;
}

.price-row {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
}

.old-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 0.9rem;
}

.new-price {
    color: #d4af37;
    font-size: 1.35rem;
    font-weight: 800;
}

.price-saving {
    font-size: 0.78rem;
    color: #86efac;
    margin-top: 4px;
}

.timer-display {
    font-size: 1.8rem;
    font-weight: 800;
    color: #d4af37;
    margin-top: 8px;
}

/* --- СТИЛІ ДЛЯ КНОПКИ ІНСТРУКЦІЇ --- */
.header-left-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.instruction-btn {
    background: rgba(18, 18, 22, 0.88);
    color: #f9fafb;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 11px;
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    transition: 0.2s;
    opacity: 1;
}

.instruction-btn:hover {
    background: #d4af37;
    color: #111111;
    border-color: #d4af37;
    opacity: 1;
}