/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    font-family: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    font-weight: 300;
    color: #222;
    background: #fff;
}

:root {
    --container: 100%;
    --muted: #777;
    --border: #e7e7e7;
    --beige: #d9b88a;
    --beige-dark: #c9a574;
    --sale: #e53935;
    --black: #000;
    --primary: #c9a574;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { font-weight: 400; margin: 0 0 10px; }
p { margin: 0 0 12px; }

/* Announcement bars */
.announcement { font-size: 13px; line-height: 1; color: #111; }
.announcement--promo { background: var(--beige); border-bottom: 1px solid var(--border); }
.announcement .container { height: 34px; display: flex; align-items: center; justify-content: center; }

/* Header bar */
.header-bar { background: #fff; }
.hb { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; }
.logo { text-align: center; }
.logo img { max-height: 60px; }
.logo .logo-mark { font-weight: 400; letter-spacing: 3px; }
.logo .logo-sub { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.hb-right { display: flex; gap: 12px; justify-self: end; }
.icon-btn { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn svg { display: block; }
.icon-btn--ghost { border: none; }

/* Nav toggle (mobile hamburger) */
.nav-toggle { display: none; padding: 0; margin: 0; background: none; border: none; width: 32px; height: 32px; gap: 5px; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: #000; transition: transform 0.2s ease, opacity 0.2s ease; transform-origin: center; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav { position: fixed; inset: 0; z-index: 999; display: flex; pointer-events: none; visibility: hidden; }
.mobile-nav.is-open { pointer-events: auto; visibility: visible; }
.mobile-nav__backdrop { flex: 1; background: rgba(0,0,0,0.2); opacity: 0; transition: opacity 0.25s ease; }
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }
.mobile-nav__panel { width: min(320px, 82vw); background: #fff; box-shadow: 6px 0 24px rgba(0,0,0,0.12); transform: translateX(-100%); transition: transform 0.25s ease; display: flex; flex-direction: column; padding: 28px 24px; gap: 28px; }
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__close { align-self: flex-end; width: 24px; height: 24px; border: none; background: none; position: relative; cursor: pointer; padding: 0; }
.mobile-nav__close span { position: absolute; left: 0; top: 50%; width: 100%; height: 2px; background: #000; }
.mobile-nav__close span:first-child { transform: translateY(-50%) rotate(45deg); }
.mobile-nav__close span:last-child { transform: translateY(-50%) rotate(-45deg); }
.mobile-nav__menu { display: flex; flex-direction: column; gap: 18px; font-size: 16px; letter-spacing: 0.5px; text-transform: uppercase; }
.mobile-nav__menu li a { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.mobile-nav__menu li.sale a { color: var(--sale); }
.mobile-nav__arrow { font-size: 30px; line-height: 14px; margin-top: -5px; }
.mobile-nav__footer { margin-top: auto; display: flex; flex-direction: column; gap: 18px; font-size: 15px; }

.lang-desktop { display: block; }
.icon-account svg, .icon-wishlist svg, .icon-cart svg { width: 20px; height: 20px; }
body.nav-open { overflow: hidden; }

/* Navigation */
.main-nav { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 50px; gap: 24px; position: relative; padding-top: 14px; }
.menu { display: flex; gap: 28px; grid-column: 1 / -1; justify-self: center; }
.menu a { font-size: 14px; letter-spacing: .6px; text-transform: uppercase; }
.menu .sale a { color: var(--sale); font-weight: 400; }
.nav-actions { grid-column: 3; justify-self: end; }
.search {
    width: 260px;
    height: 34px;
    position: absolute;
    right: 40px;
    top: 7px;
    padding: 0 36px 0 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background-color: #fafaff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px 18px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f4ef 0%, #fff 50%, #f0e6d8 100%);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 165, 116, 0.1) 0%, transparent 70%);
    animation: heroFloat 20s ease-in-out infinite;
}
.hero-content { position: relative; z-index: 1; }
.hero-title { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 10px; }
.hero-number {
    font-size: 120px;
    font-weight: 500;
    color: var(--beige-dark);
    line-height: 1;
    text-shadow: 2px 2px 0 #fff;
}
.hero-text {
    font-size: 36px;
    font-weight: 400;
    text-align: left;
    line-height: 1.2;
    color: #333;
}
.hero-subtitle {
    font-size: 18px;
    letter-spacing: 4px;
    color: var(--muted);
    margin-top: 10px;
}

@keyframes heroFloat {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

/* CTA Section */
.cta-section { padding: 50px 0; background: linear-gradient(to bottom, #fff, #f9f6f2); }
.cta-content h2 { font-size: 36px; margin-bottom: 16px; color: #222; }
.cta-text { font-size: 18px; color: #555; max-width: 700px; margin: 0 auto 24px; line-height: 1.6; }
.cta-deadline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--beige);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    margin-bottom: 16px;
}
.deadline-icon, .action-icon { font-size: 20px; }
.cta-action { font-size: 18px; color: #333; margin-top: 16px; }

/* Prizes Section */
.prizes-section { padding: 60px 0; background: #fff; }
.prizes-header h2 { font-size: 32px; margin-bottom: 12px; letter-spacing: 2px; }
.prizes-subtitle { font-size: 18px; color: #555; margin-bottom: 40px; }

.prizes-gallery { margin-bottom: 30px; }
.prizes-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.prize-card {
    background: #f9f9f9;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.prize-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.prize-card img { width: 100%; height: 200px; object-fit: cover; }
.prize-text {
    padding: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}
.prize-icon { margin-right: 6px; }

.prizes-extra {
    background: linear-gradient(135deg, #f8f4ef 0%, #fff 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    text-align: center;
}
.prize-feature { font-size: 16px; color: #333; }

.voucher-section { margin-bottom: 40px; }
.voucher-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--beige) 0%, #e8d4b8 100%);
    border-radius: 16px;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}
.voucher-card img { width: 250px; height: 200px; object-fit: cover; }
.voucher-text {
    padding: 24px;
    font-size: 16px;
    color: #333;
    flex: 1;
}

.prizes-additional {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}
.additional-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}
.gift-icon { font-size: 28px; }
.additional-header h3 { margin: 0; font-size: 22px; }
.prizes-additional p { font-size: 16px; color: #555; margin: 0; }

/* Contest Intro */
.contest-intro { padding: 40px 0 20px; background: #fff; }
.page-header h2 { font-size: 32px; margin-bottom: 12px; }
.page-header .subtitle { color: var(--muted); font-size: 16px; }

/* Selection Info */
.selection-info {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
}
.selection-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 15px;
}
.counter-value { font-weight: 500; font-size: 24px; color: var(--beige-dark); }
.selected-products { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.selected-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--beige);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
}
.chip-number {
    background: var(--beige-dark);
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
}
.chip-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chip-remove:hover { color: var(--sale); }

/* Products Section */
.products-section { padding: 40px 0 60px; background: #f5f5f5; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid transparent;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
.product-card.selected { border-color: var(--beige-dark); }
.product-card.selected .product-check { opacity: 1; }

.product-image { position: relative; aspect-ratio: 1; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-image img { transform: scale(1.05); }

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.product-card:hover .product-overlay { opacity: 1; }
.btn-details {
    background: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-details:hover { background: var(--beige); }

.product-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: var(--beige-dark);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-info { padding: 16px; text-align: center; }
.product-name { font-size: 14px; font-weight: 400; margin: 0; color: #333; }

/* Form Section */
.form-section { padding: 60px 0; background: #fff; }
.form-wrapper { background: #f5f5f5; padding: 40px; border-radius: 12px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; max-width: 700px; margin: 0 auto; padding: 30px; }
.form-card h3 { font-size: 22px; margin-bottom: 8px; }
.form-subtitle { color: var(--muted); margin-bottom: 24px; }

/* Material Design Fields */
.md-field { position: relative; padding-top: 18px; margin-bottom: 8px; }
.md-field label {
    position: absolute;
    top: 20px;
    left: 0;
    font-size: 16px;
    color: var(--muted);
    pointer-events: none;
    transition: all 0.16s ease;
    transform-origin: left top;
}
.md-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
    padding: 12px 0 6px;
    font-family: inherit;
    font-size: 16px;
    color: #111;
    transition: border-color 0.16s ease;
}
.md-input:focus { outline: none; border-bottom-color: var(--beige-dark); }
.md-field.has-value label,
.md-field.is-focused label { top: 0; transform: scale(0.85); color: var(--black); }

/* Reason Field */
.reason-field { margin-bottom: 16px; }
.reason-label {
    display: block;
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
    font-weight: 400;
}
.reason-field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    font-family: inherit;
    font-size: 15px;
    resize: vertical;
    transition: border-color 0.2s;
}
.reason-field textarea:focus {
    outline: none;
    border-color: var(--beige-dark);
}

.btn-primary {
    background: var(--black);
    color: #fff;
    border: none;
    padding: 12px 36px;
    font-weight: 400;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.2s;
}
.btn-primary:hover { background: #333; color: #fff; }

/* Thanks Section */
.thanks-section { padding: 80px 0; text-align: center; }
.thanks-card { max-width: 600px; margin: 0 auto; }
.thanks-icon { font-size: 80px; color: #28a745; margin-bottom: 20px; }
.thanks-section h1 { font-size: 32px; margin-bottom: 16px; }
.thanks-socials { display: flex; gap: 12px; justify-content: center; margin-top: 30px; }

/* Login */
.login-section { padding: 80px 0; min-height: 60vh; display: flex; align-items: center; }
.login-wrapper { max-width: 420px; margin: 0 auto; }
.login-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.login-card h2 { font-size: 24px; margin-bottom: 8px; text-align: center; }
.login-subtitle { color: var(--muted); text-align: center; margin-bottom: 30px; }
.login-footer { text-align: center; font-size: 14px; color: var(--muted); }
.login-footer a { color: var(--beige-dark); }

/* Admin */
.admin-wrapper { min-height: 60vh; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-header h1 { margin: 0; }
.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.stat-icon { font-size: 32px; color: var(--beige-dark); margin-bottom: 10px; }
.stat-value { font-size: 42px; font-weight: 500; color: #333; }
.stat-label { color: var(--muted); font-size: 14px; }
.admin-nav { display: flex; gap: 10px; }

/* Modal */
.modal-content { border-radius: 12px; }
.modal-header { border-bottom: 1px solid var(--border); }
.modal-title { font-weight: 400; }
.product-description { color: #555; line-height: 1.6; }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--border); padding-top: 60px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 36px 20px; }
.footer-col h4 { font-weight: 400; font-size: 14px; margin-bottom: 12px; }
.footer-col .links li { margin: 8px 0; }
.footer-col .links a { font-size: 11pt; line-height: 16pt; }
.footer-brand p { color: #444; font-size: 10pt; line-height: 16pt; margin-left: 10px; }
.footer-brand .logo img { max-height: 40px; margin-bottom: 12px; }
.logo.small { text-align: left; }
.logo.small .logo-mark { font-size: 16px; }
.logo.small .logo-sub { font-size: 11px; }
.socials { display: flex; gap: 10px; }
.social { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; font-weight: 400; }
.footer-bottom { border-top: 1px solid var(--border); padding: 14px 0; font-size: 13px; color: var(--muted); text-align: center; }

/* Responsive */
@media (max-width: 991px) {
    :root { --container: 100%; }
    .container { padding: 0 20px; }
    .announcement .container { height: 32px; font-size: 12px; }
    .header-bar { border-bottom: 1px solid var(--border); }
    .hb { grid-template-columns: auto 1fr auto; height: 72px; }
    .hb-left { display: flex; align-items: center; gap: 16px; }
    .nav-toggle { display: inline-flex; }
    .lang-desktop { display: none; }
    .logo { justify-self: center; }
    .logo img { max-height: 50px; }
    .hb-right { gap: 8px; }
    .icon-btn { border: none; width: 32px; height: 32px; }
    .main-nav { display: none; }
    .nav-actions { display: none; }
    .search { display: none; }
    .dekstop-only { display: none; }
    .footer-menu { width: 100% !important; }
    .hero-number { font-size: 80px; }
    .hero-text { font-size: 24px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .prizes-row { grid-template-columns: 1fr; gap: 16px; }
    .prize-card img { height: 180px; }
    .voucher-card { flex-direction: column; }
    .voucher-card img { width: 100%; height: 180px; }
}
@media (max-width: 575px) {
    .container { padding: 0 16px; }
    .hb { height: 64px; }
    .hb-left { gap: 12px; }
    .icon-btn { width: 30px; height: 30px; }
    .mobile-nav__panel { width: min(320px, 86vw); padding: 24px 22px; }
    .mobile-nav__menu { gap: 16px; }
    .hero-title { flex-direction: column; gap: 10px; }
    .hero-text { text-align: center; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .footer-top { grid-template-columns: 1fr; }
    .cta-content h2 { font-size: 28px; }
    .cta-text { font-size: 16px; }
    .cta-deadline { padding: 10px 16px; font-size: 14px; }
    .prizes-header h2 { font-size: 24px; }
    .prize-text { padding: 16px; font-size: 13px; }
}
