:root {
    --gold: #C5A059;
    --black: #0a0a0a;
    --white: #ffffff;
    --gray: #1a1a1a;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    background: var(--black); 
    color: var(--white); 
    font-family: 'Montserrat', sans-serif; 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased; 
}

.container { 
    max-width: 1440px; 
    margin: 0 auto; 
    padding: 0 5%; 
}

/* Typography & Elements */
.btn { 
    display: inline-block; 
    padding: 18px 40px; 
    background: var(--gold); 
    color: #fff; 
    text-decoration: none; 
    text-transform: uppercase; 
    letter-spacing: 0.2em; 
    font-size: 11px; 
    font-weight: 700; 
    border: none; 
    cursor: pointer; 
    transition: var(--transition); 
    text-align: center;
}

.btn:hover { 
    background: #b08d48; 
    transform: translateY(-3px); 
}

.btn--full { 
    width: 100%; 
}

/* Header */
.header { 
    position: absolute; 
    width: 100%; 
    padding: 30px 0; 
    z-index: 100; 
}

.nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.nav__logo { 
    font-size: 26px; 
    font-weight: 700; 
    letter-spacing: 0.4em; 
    text-transform: uppercase; 
}

.nav__menu { 
    display: flex; 
    list-style: none; 
    gap: 40px; 
}

.nav__menu a { 
    color: #fff; 
    text-decoration: none; 
    font-size: 11px; 
    letter-spacing: 0.2em; 
    text-transform: uppercase; 
    opacity: 0.7; 
    transition: 0.3s; 
}

.nav__menu a:hover { 
    opacity: 1; 
    color: var(--gold); 
}

.nav__controls { 
    display: flex; 
    align-items: center; 
    gap: 25px; 
}

.lang-switch__btn { 
    background: none; 
    border: none; 
    color: #fff; 
    cursor: pointer; 
    font-size: 11px; 
    font-weight: 700; 
    opacity: 0.4; 
    padding: 5px; 
    transition: 0.3s; 
}

.lang-switch__btn.active { 
    opacity: 1; 
    color: var(--gold); 
    border-bottom: 1px solid var(--gold); 
}

.nav__cart { 
    position: relative; 
    cursor: pointer; 
    z-index: 101;
}

.cart-count { 
    position: absolute; 
    top: -10px; 
    right: -10px; 
    background: var(--gold); 
    font-size: 10px; 
    width: 18px; 
    height: 18px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 700; 
}

/* Hero */
.hero { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    position: relative; 
}

.hero__bg { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to right, rgba(0,0,0,0.8) 30%, transparent), 
                url('https://images.unsplash.com/photo-1539109136881-3be0616acf4b?q=80&w=1974') center/cover no-repeat; 
    z-index: 1; 
}

.hero__content { 
    position: relative; 
    z-index: 2; 
}

.hero__title { 
    font-family: 'Playfair Display', serif; 
    font-size: clamp(3rem, 10vw, 7rem); 
    line-height: 1; 
    margin-bottom: 20px; 
    font-weight: 400; 
}

.hero__title span { 
    font-style: italic; 
    color: var(--gold); 
}

.hero__subtitle { 
    max-width: 500px; 
    margin-bottom: 40px; 
    color: rgba(255,255,255,0.7); 
    font-weight: 300; 
    line-height: 1.8; 
}

/* Grid: 3 columns Desktop, 1 Mobile */
.products { 
    padding: 120px 0; 
}

.products__grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 60px 30px; 
}

@media (max-width: 1024px) { 
    .products__grid { grid-template-columns: repeat(2, 1fr); } 
}

@media (max-width: 768px) { 
    .products__grid { grid-template-columns: 1fr; } 
    .hero__title { font-size: 3.5rem; } 
    .nav__menu { display: none; }
}

/* Card Slider & Images Fix */
.card {
    display: flex;
    flex-direction: column;
}

.card__slider { 
    position: relative; 
    width: 100%;
    aspect-ratio: 3/4; 
    overflow: hidden; 
    margin-bottom: 25px; 
    background: var(--gray); 
}

.card__slides { 
    display: flex; 
    width: 100%;
    height: 100%;
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scrollbar-width: none; 
    -ms-overflow-style: none;
    scroll-behavior: smooth; 
}

.card__slides::-webkit-scrollbar { 
    display: none; 
}

.card__slide { 
    min-width: 100%; 
    width: 100%;
    height: 100%;
    scroll-snap-align: start; 
    object-fit: cover; 
}

/* Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

/* Info */
.card__title { 
    font-family: 'Playfair Display', serif; 
    font-size: 24px; 
    margin-bottom: 10px; 
}

.card__price { 
    color: var(--gold); 
    font-weight: 700; 
    font-size: 18px; 
    margin-bottom: 15px; 
}

.card__desc { 
    font-size: 13px; 
    color: #888; 
    margin-bottom: 20px; 
    line-height: 1.6; 
}

/* Selection Buttons */
.size-selector { 
    display: flex; 
    gap: 8px; 
    margin-bottom: 15px; 
    flex-wrap: wrap;
}

.size-btn { 
    padding: 10px 16px; 
    border: 1px solid #333; 
    background: none; 
    color: #fff; 
    cursor: pointer; 
    font-size: 11px; 
    transition: 0.3s; 
}

.size-btn.active { 
    border-color: var(--gold); 
    background: rgba(197, 160, 89, 0.1); 
}

.color-selector { 
    display: flex; 
    gap: 12px; 
    margin-bottom: 20px; 
}

.color-dot-wrapper { 
    width: 28px; 
    height: 28px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 1px solid transparent; 
    cursor: pointer; 
    transition: 0.3s;
}

.color-dot-wrapper.active { 
    border-color: var(--gold); 
}

.color-dot { 
    width: 18px; 
    height: 18px; 
    border-radius: 50%; 
    border: 1px solid rgba(255,255,255,0.1); 
}

.card__specs { 
    list-style: none; 
    font-size: 11px; 
    color: #555; 
    padding-top: 15px; 
    border-top: 1px solid #222; 
    margin-bottom: 25px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

/* Side Drawer Fix (Mobile & Desktop) */
.cart-drawer { 
    position: fixed; 
    inset: 0; 
    z-index: 2000; 
    visibility: hidden; 
    transition: 0.4s; 
}

.cart-drawer.active { 
    visibility: visible; 
}

.cart-drawer__overlay { 
    position: absolute; 
    inset: 0; 
    background: rgba(0,0,0,0.8); 
    backdrop-filter: blur(4px); 
    opacity: 0; 
    transition: 0.4s; 
}

.cart-drawer.active .cart-drawer__overlay { 
    opacity: 1; 
}

.cart-drawer__content { 
    position: absolute; 
    right: -100%; 
    top: 0; 
    width: 100%; 
    max-width: 450px; 
    height: 100%; 
    background: #0c0c0c; 
    padding: 40px; 
    transition: var(--transition); 
    display: flex; 
    flex-direction: column; 
    z-index: 2001;
}

.cart-drawer.active .cart-drawer__content { 
    right: 0; 
}

.cart-drawer__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

/* Кнопка закриття кошика */
.close-btn {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 35px;
    cursor: pointer;
    line-height: 1;
    padding: 10px;
    transition: 0.3s;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.checkout-form input { 
    width: 100%; 
    background: #1a1a1a; 
    border: 1px solid #333; 
    padding: 14px; 
    color: #fff; 
    margin-bottom: 12px; 
    font-family: inherit; 
    font-size: 14px;
}

.total-box { 
    display: flex; 
    justify-content: space-between; 
    margin: 25px 0; 
    font-weight: 700; 
    font-size: 18px; 
    border-top: 1px solid #333; 
    padding-top: 20px; 
}

/* Modal */
.modal { 
    position: fixed; 
    inset: 0; 
    z-index: 3000; 
    display: none; 
    align-items: center; 
    justify-content: center; 
    padding: 20px; 
}

.modal.active { 
    display: flex; 
}

.modal__overlay { 
    position: absolute; 
    inset: 0; 
    background: rgba(0,0,0,0.95); 
}

.modal__content { 
    position: relative; 
    background: #0c0c0c; 
    padding: 50px; 
    border: 1px solid var(--gold); 
    width: 100%; 
    max-width: 700px; 
    text-align: center; 
}

.modal__close { 
    position: absolute; 
    top: 15px; 
    right: 15px; 
    background: none; 
    border: none; 
    color: var(--gold); 
    font-size: 30px; 
    cursor: pointer; 
}

/* Footer */
.footer { 
    padding: 80px 0 40px; 
    border-top: 1px solid #222; 
    margin-top: 100px; 
}

.footer__grid { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
}

.footer__links { 
    list-style: none; 
    display: flex; 
    gap: 30px; 
}

.footer__links a { 
    color: #666; 
    text-decoration: none; 
    font-size: 12px; 
    text-transform: uppercase; 
    transition: 0.3s; 
}

.footer__links a:hover { 
    color: var(--gold); 
}

@media (max-width: 768px) {
    .footer__grid { flex-direction: column; gap: 30px; text-align: center; }
    .footer__links { justify-content: center; width: 100%; }
}
/* Reviews Section */
.reviews {
    padding: 100px 0;
    border-top: 1px solid #222;
    text-align: center;
}

.reviews__title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.reviews__slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.reviews__slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.reviews__slides::-webkit-scrollbar { display: none; }

.review-card {
    min-width: 100%;
    scroll-snap-align: start;
    padding: 40px;
}

.review-card__text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-style: italic;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 30px;
}

.review-card__author {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    font-weight: 700;
}

/* Dots for Reviews */
#reviews-dots {
    margin-top: 40px;
    position: static;
    transform: none;
    justify-content: center;
}

@media (max-width: 768px) {
    .reviews__title { font-size: 32px; }
    .review-card__text { font-size: 18px; }
}