/* ============================================================
   MAISON THEME — home.css
============================================================ */
.input-text.qty.text{
    display: none;
}
/* HERO */
.hero {
    height: 70vh;
    display: grid;
    grid-template-columns: 2fr 1fr;
    overflow: hidden;
    position: relative;
}
.hero-left {
    background: var(--black);
    display: flex;
    align-items: flex-end;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}
.hero-bg-text {
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%) rotate(-90deg);
    font-family: var(--font-serif);
    font-size: 180px;
    color: rgba(255,255,255,0.03);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -5px;
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-tag::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.hero-title {
    font-family: var(--font-serif);
    font-size: 72px;
    line-height: 1.05;
    color: var(--white);
    font-weight: 300;
}
.hero_dress_title{
    font-size: 22px;
    color: white;
    margin-bottom: 32px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-subtitle {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1.8;
    max-width: 340px;
    margin-bottom: 48px;
}
.hero-right {
    position: relative;
    overflow: hidden;
    background: var(--gray-light);
}
.hero-image {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    object-position: top;
}
.hero-right:hover .hero-image { transform: scale(1.03); }
.hero-image-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8e0d5 0%, #d4c9ba 50%, #c5b8a8 100%);
}
.hero-image-text {
    font-family: var(--font-serif);
    font-size: 120px;
    color: rgba(255,255,255,0.4);
    font-style: italic;
}
a.hero-product-link {
    display: flex;
    height: 100%;
}
.hero-badge {
    position: absolute;
    top: 40px; right: 40px;
    width: 100px; height: 100px;
    border: 1px solid var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: spin 20s linear infinite;
    background: white;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-badge span { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; line-height: 1.6; }
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray);
    z-index: 10;
}
.scroll-line {
    width: 1px; height: 50px;
    background: var(--gray);
    animation: scrollDown 1.5s ease-in-out infinite;
}
@keyframes scrollDown {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* MARQUEE */
.marquee-section {
    background: var(--black);
    padding: 18px 0;
    overflow: hidden;
    display: flex;
}
.marquee-track {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    flex-shrink: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 60px;
}
.marquee-item::after { content: '✦'; color: var(--gold); }

/* АКЦИИ */
.sale-section { background: var(--black); padding: 100px 60px; }
.sale-section .section-label { color: var(--gold); }
.sale-section .section-title { color: white; }
.sale-section .btn-secondary { color: rgba(255,255,255,0.4); border-color: rgba(255,255,255,0.2); }
.sale-section .btn-secondary:hover { color: var(--gold); border-color: var(--gold); }

.sale-grid {
    display: grid;
    grid-template-columns: 1.5fr 25% 25%;
    gap: 2px;
    max-height: 700px;
    margin-top: 60px;
}
.sale-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    height: 100%;
    width: 100%;
    background: #1a1a1a;
}
.sale-card--hero { aspect-ratio: auto; min-height: 500px; }
.sale-card-bg {
    width: 100%; height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s ease;
    position: absolute;
    inset: 0;
}
.sale-card:hover .sale-card-bg { transform: scale(1.05); }
.sale-card-bg-1 { background: linear-gradient(160deg, #2a1f1f 0%, #1a0f0f 100%); }
.sale-card-bg-2 { background: linear-gradient(160deg, #1f2a20 0%, #0f1a10 100%); }
.sale-card-bg-3 { background: linear-gradient(160deg, #1f1f2a 0%, #0f0f1a 100%); }
.sale-card img.sale-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.sale-hero-content {
    position: absolute;
    bottom: 60px; left: 50px;
    z-index: 2;
}
.sale-hero-label {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.sale-hero-title {
    font-family: var(--font-serif);
    font-size: 64px;
    color: white;
    line-height: 1;
    margin-bottom: 24px;
    font-weight: 300;
}
.sale-hero-title span { display: block; font-style: italic; color: var(--gold-light); }

.sale-badge {
    position: absolute;
    top: 24px; right: 24px;
    background: var(--gold);
    color: var(--black);
    padding: 6px 14px;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 500;
    z-index: 3;
}
.sale-card-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s;
    z-index: 2;
}
.sale-card:hover .sale-card-info { transform: translateY(0); opacity: 1; }
.sale-card-name {
    font-family: var(--font-serif);
    font-size: 22px;
    color: white;
    margin-bottom: 8px;
}
.sale-card-price { display: flex; align-items: center; gap: 12px; }
.price-old { color: var(--gray); text-decoration: line-through; font-size: 13px; }
.price-new { color: var(--gold); font-size: 18px; font-family: var(--font-serif); }

/* НОВИНКИ */
.section-products { padding: 100px 60px; }

/* NEWSLETTER */
.newsletter-section {
    background: var(--black);
    padding: 100px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: 'MAISON';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-serif);
    font-size: 300px;
    color: rgba(255,255,255,0.02);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -10px;
}
.newsletter-label {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    position: relative;
}
.newsletter-title {
    font-family: var(--font-serif);
    font-size: 60px;
    color: white;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 16px;
    position: relative;
}
.newsletter-title em { font-style: italic; color: var(--gold-light); }
.newsletter-sub {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 48px;
    position: relative;
}
.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}
.newsletter-input {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-right: none;
    color: white;
    padding: 18px 24px;
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 1px;
    outline: none;
    transition: border-color 0.3s;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-input:focus { border-color: var(--gold); }
.newsletter-btn {
    background: var(--gold);
    color: var(--black);
    border: none;
    padding: 18px 32px;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.3s;
}
.newsletter-btn:hover { background: var(--gold-light); }

@media (max-width: 1024px) {
    .hero {grid-template-columns: 1fr 1fr; height: auto; }
    .hero-right { height: auto; }
    .hero-left { padding: 40px 20px; min-height: 30vh; }
    .hero-title { font-size: 52px; }
    .sale-section, .section-products, .newsletter-section { padding: 70px 24px; }
    .sale-grid { grid-template-columns: 1fr 1fr; max-height: none; }
    .sale-card--hero { grid-column: 1 / -1; }
    .sale-hero-title{
        font-size: 52px;
    }
    .sale-card--hero {
        min-height: 375px;
    }
}
@media (max-width: 768px) {
    .sale-card--hero {
        min-height: 335px;
    }
    .sale-card-name{
        font-size: 16px;
    }
    .sale-section, .section-products, .newsletter-section {
        padding: 50px 20px;
    }
    .sale-hero-title{
        font-size: 46px;
    }
   
}
@media (max-width: 640px) {
    .sale-hero-title{
        font-size: 32px;
    }
    .hero_dress_title{
        text-align: center;
    }
    .sale-card--hero {
        min-height: 265px;
    }
    .hero { grid-template-columns: 1fr;}
    .hero-title { font-size: 38px; }
    .hero-right{ display:  none;}
    .hero-left{ width: 100%;}
    .hero-title br{
        display: none;
    }
     .sale-card-name{
        font-size: 14px;
    }
    .hero-content {
        position: relative;
        z-index: 2;
        display: flex;
        margin: 0 auto;
        flex-direction: column;
        align-items: center;
    }
    .hero-scroll{
        display: none;
    }
    .sale-card--hero {
        max-width: 100%;
    }
    .sale-grid { grid-template-columns: 1fr 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-input { border-right: 1px solid rgba(255,255,255,0.15); border-bottom: none; }
}
