/* HERO SECTION */
.hero {
    height: calc(100vh - 76px);
    min-height: 650px;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.88) 0%, rgba(19, 34, 56, 0.82) 100%),
                url('https://images.unsplash.com/photo-1539109136881-3be0616acf4b?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(11, 15, 25, 0.95) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    z-index: 2;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: 100%;
    padding: 0 4rem;
}

.hero-content {
    max-width: 100%;
    width: 100%;
    position: relative;
    z-index: 3;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(19, 27, 46, 0.85);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1.4rem;
    letter-spacing: -1.2px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    max-width: 100%;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 15px 36px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* FEATURED SECTION */
.featured {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tabs button {
    padding: 10px 26px;
    border: 1px solid var(--border-blue);
    background: var(--bg-card);
    color: var(--text-muted);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.category-tabs button.active,
.category-tabs button:hover {
    background: var(--royal-blue);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
    transform: translateY(-2px);
}

.collection-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.total-products-indicator {
    background: #0d121f;
    border: 1px solid var(--border-dark);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
}

.total-products-indicator strong {
    color: #ffffff;
}

/* HORIZONTAL PRODUCT SLIDER / CAROUSEL */
.product-slider-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 3.5rem;
}

.product-slider-viewport {
    overflow: hidden;
    width: 100%;
    padding: 10px 0 20px;
}

.product-slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.slider-card-item {
    flex: 0 0 calc(25% - 1.125rem);
    min-width: calc(25% - 1.125rem);
    box-sizing: border-box;
}

.slider-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(13, 18, 31, 0.92);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 12;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.slider-nav-btn:hover {
    background: var(--gold);
    color: #0b0f19;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.slider-prev-btn {
    left: -22px;
}

.slider-next-btn {
    right: -22px;
}

.medium-card {
    border-radius: 16px;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.medium-img-wrap {
    height: 240px;
    position: relative;
    overflow: hidden;
    background: #090c14;
}

.card-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.card-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease, transform 0.4s ease;
}

.medium-card:hover .card-featured-img {
    transform: scale(1.05);
}

/* CAROUSEL ARROW BUTTONS OVERLAY */
.card-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(11, 15, 25, 0.85);
    border: 1.5px solid var(--gold);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.medium-img-wrap:hover .card-arrow-btn,
.product-card-img-wrapper:hover .card-arrow-btn {
    opacity: 1;
}

.card-arrow-btn.prev-btn {
    left: 10px;
}

.card-arrow-btn.next-btn {
    right: 10px;
}

.card-arrow-btn:hover {
    background: var(--gold);
    color: #0b0f19 !important;
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.15);
}

.card-img-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.card-img-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.card-img-dots .dot.active {
    width: 16px;
    border-radius: 50px;
    background: var(--gold);
}

.medium-info {
    padding: 1.2rem;
}

.medium-info h3 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.product-title-link {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.product-title-link:hover {
    color: var(--gold);
}

.product-card-img-wrapper .badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gold);
    color: #0b0f19;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.wishlist-toggle-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(11, 15, 25, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.wishlist-toggle-btn:hover,
.wishlist-toggle-btn.active {
    background: var(--gold);
    color: #0b0f19;
    border-color: var(--gold);
    transform: scale(1.1);
}

.product-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.product-info h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-main);
}

.product-category {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.product-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gold);
}

.product-old-price {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-card-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: auto;
}

.product-btn {
    padding: 10px;
    font-size: 0.85rem;
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.view-all {
    text-align: center;
    margin-top: 3.5rem;
}

/* SARTORIAL PROCESS SECTION */
.process-section {
    padding: 6rem 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.process-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 18px;
    padding: 2.2rem 1.6rem;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.process-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    background: var(--bg-card-hover);
}

.process-step-num {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.25);
    letter-spacing: -1px;
}

.process-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--royal-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.4rem;
    border: 1px solid var(--border-blue);
}

.process-card h3 {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 0.6rem;
}

.process-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* WHY CHOOSE */
.why-choose {
    padding: 6rem 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.feature-card i {
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 1.2rem;
    transition: var(--transition);
}

.feature-card:hover i {
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.15rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* NEWSLETTER */
.newsletter-section {
    padding: 5rem 0;
    background: var(--royal-blue);
    border-top: 1px solid var(--border-gold);
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-content h2 {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
    color: var(--text-main);
}

.newsletter-content p {
    color: var(--text-muted);
    margin-bottom: 2.2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 14px 22px;
    border-radius: 50px;
    border: 1px solid var(--border-gold);
    background: rgba(11, 15, 25, 0.8);
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

.newsletter-form input::placeholder {
    color: #64748b;
}

#newsletterMessage {
    margin-top: 1rem;
    color: #4ade80;
    font-weight: 500;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 5rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .slider-card-item {
        flex: 0 0 calc(33.333% - 1rem);
        min-width: calc(33.333% - 1rem);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 75vh;
        padding: 4rem 0 3rem;
    }

    .hero-tag {
        font-size: 0.78rem;
        padding: 5px 14px;
    }
    
    .hero h1 {
        font-size: 2.6rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .hero-btn {
        padding: 12px 24px;
        font-size: 0.92rem;
        width: 100%;
        text-align: center;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .slider-card-item {
        flex: 0 0 calc(50% - 0.75rem);
        min-width: calc(50% - 0.75rem);
    }

    .slider-prev-btn {
        left: -10px;
    }

    .slider-next-btn {
        right: -10px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .featured, .why-choose, .newsletter-section {
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 2.05rem;
        letter-spacing: -0.5px;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .slider-card-item {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .category-tabs {
        gap: 0.5rem;
    }

    .category-tabs button {
        padding: 7px 16px;
        font-size: 0.8rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
        min-width: unset;
    }
}