
:root {
    --espresso: #211B14;
    --charcoal: #2C2620;
    --bone: #F5F0E6;
    --bone-2: #ECE4D5;
    --leather: #8A5A2B;
    --cognac: #B5712F;
    --cognac-dark: #8F571F;
    --gold: #C9A24B;
    --text: #2A2520;
    --text-light: #6E6356;
    --surface: #FFFFFF;
    --line: rgba(42,37,32,0.12);
    --container: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bone);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
    font-family: 'Oswald', 'Segoe UI', sans-serif;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.section-wrap { max-width: var(--container); margin: 0 auto; }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(1.5rem, 5vw, 4rem);
    color: #fff;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(20,16,11,0.55) 0%, rgba(20,16,11,0.25) 35%, rgba(20,16,11,0.75) 100%),
        radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
}

.logo {
    position: relative;
    z-index: 3;
    width: clamp(130px, 26vw, 180px);
    height: auto;
    margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
    background: #fff;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    animation: fadeUp 1s ease both;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 7vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.hero-divider {
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: clamp(1.2rem, 3vw, 1.8rem) 0;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    max-width: 640px;
    color: rgba(255,255,255,0.92);
    margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.75rem;
    background: var(--cognac);
    color: #fff;
    border-radius: 2px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.95rem;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.cta-button:hover {
    background: var(--cognac-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.scroll-cue {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 14px;
}

.scroll-cue::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    background: rgba(255,255,255,0.85);
    border-radius: 2px;
    animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { opacity: 0; transform: translateY(0); }
    40% { opacity: 1; }
    80% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 0; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content, .scroll-cue::before { animation: none; }
    html { scroll-behavior: auto; }
}

/* ===== MAIN / SECTIONS ===== */
main { max-width: var(--container); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2rem); }

.about {
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
    text-align: center;
    background: var(--bone-2);
    border-radius: 4px;
    margin-bottom: clamp(3rem, 7vw, 5rem);
}

.about h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--espresso);
    margin-bottom: 1.5rem;
}

.about h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 1rem auto 0;
}

.about p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.05rem;
}

.products h2 {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.75rem);
    color: var(--espresso);
    margin-bottom: 0.75rem;
}

.products .subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(33,27,20,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(33,27,20,0.16);
}

.product-card a { display: block; }

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover img { transform: scale(1.07); }

.product-card h3 {
    padding: 1.1rem 1.1rem 0.4rem;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--espresso);
}

.product-card .price {
    padding: 0 1.1rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--cognac);
}

.buy-link {
    display: block;
    padding: 0.9rem 1.1rem 1.2rem;
    color: var(--leather);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s;
}

.product-card:hover .buy-link { color: var(--cognac-dark); }

/* ===== FOOTER ===== */
footer {
    background: var(--espresso);
    color: rgba(255,255,255,0.85);
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 2rem) 2rem;
    margin-top: clamp(3rem, 7vw, 5rem);
}

.footer-content {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    width: clamp(180px, 30vw, 240px);
    height: auto;
    background: #fff;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
}

.contact h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.footer-content p { margin-bottom: 0.5rem; }

.social-links { margin-top: 0.8rem; }

.social-links a {
    display: inline-block;
    margin-right: 0.75rem;
    padding: 0.6rem 1.2rem;
    background: var(--cognac);
    border-radius: 2px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    transition: background 0.3s, transform 0.2s;
}

.social-links a:hover { background: var(--gold); color: var(--espresso); transform: translateY(-2px); }

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
}

/* ===== PRODUCT PAGE ===== */
.product-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245,240,230,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem clamp(1.25rem, 4vw, 2rem);
}

.back-link {
    color: var(--leather);
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

.back-link:hover { color: var(--cognac-dark); }

.header-logo { height: 44px; width: auto; }

.product-page {
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(1.5rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 3.5rem);
}

.main-image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bone-2);
}

.main-image {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(33,27,20,0.12);
    transition: opacity 0.3s ease-in-out;
    cursor: zoom-in;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s, opacity 0.2s;
    z-index: 2;
    color: var(--espresso);
    opacity: 0;
}

.product-gallery:hover .gallery-nav { opacity: 1; }

.gallery-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.gallery-thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    border: 2px solid transparent;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.gallery-thumb.active {
    border-color: var(--cognac);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,12,8,0.94);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.active { display: flex; }

#lightbox-img {
    max-width: 92vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 3px;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 28px;
    color: #fff;
    font-size: 2.6rem;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 1001;
    line-height: 1;
}

.lightbox-close:hover { transform: scale(1.2); }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 1001;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.3); }

.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

.category {
    color: var(--cognac);
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.85rem;
}

.product-info h1 {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    margin: 0.5rem 0;
    color: var(--espresso);
}

.code {
    color: var(--text-light);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.description {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 2rem;
    color: var(--text);
}

.specs {
    background: var(--bone-2);
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.specs h3 {
    color: var(--espresso);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.specs table { width: 100%; border-collapse: collapse; }
.specs tr { border-bottom: 1px solid var(--line); }
.specs tr:last-child { border-bottom: none; }
.specs td { padding: 0.7rem 0.5rem; }
.specs td:first-child { font-weight: 600; color: var(--text-light); width: 45%; }

.buy-button {
    display: inline-block;
    padding: 1rem 2.25rem;
    background: var(--cognac);
    color: #fff;
    border-radius: 2px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.buy-button:hover {
    background: var(--cognac-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(143,87,31,0.4);
}

.back-button {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.back-button:hover { color: var(--cognac); }

.products-page { max-width: var(--container); margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem); }

.products-page h1 {
    text-align: center;
    font-size: clamp(1.9rem, 5vw, 2.75rem);
    color: var(--espresso);
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.products-page h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 1rem auto 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .product-page { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .gallery-nav { opacity: 1; background: rgba(255,255,255,0.92); }
    .footer-content { flex-direction: column; text-align: center; align-items: center; }
    .product-card img { height: 240px; }
}

@media (max-width: 480px) {
    .gallery-thumb { width: 64px; height: 64px; }
    .social-links a { display: block; margin: 0.4rem auto; max-width: 220px; }
    .lightbox-close { right: 16px; }
}
