/* =========================================================
   HOMEPAGE
========================================================= */


/* =========================================================
   HERO
========================================================= */

.home-hero {
    position: relative;

    width: 100%;
}

.hero-slider {
    position: relative;

    width: 100%;
    height: min(720px, calc(100vh - 120px));

    min-height: 580px;

    overflow: hidden;

    background: #00409e;
}

.hero-slide {
    position: absolute;

    inset: 0;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;

    z-index: 2;
}

.hero-slide-image {
    position: absolute;

    inset: 0;
}

.hero-slide-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.04);

    transition: transform 6s ease;
}

.hero-slide.active .hero-slide-image img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.70) 0%,
            rgba(0, 0, 0, 0.42) 42%,
            rgba(0, 0, 0, 0.10) 100%
        );
}

.hero-container {
    position: relative;

    z-index: 3;

    height: 100%;

    display: flex;
    align-items: center;
}

.hero-content {
    width: min(100%, 650px);

    color: var(--white);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 20px;

    color: var(--accent-light);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-eyebrow::before {
    content: "";

    width: 35px;
    height: 1px;

    margin-right: 12px;

    background: var(--accent-light);
}

.hero-content h1 {
    margin-bottom: 24px;

    color: var(--white);

    font-size: clamp(48px, 6vw, 84px);

    line-height: 1.04;
}

.hero-content h1 span {
    display: block;

    color: var(--accent-light);
}

.hero-content p {
    max-width: 550px;

    margin-bottom: 32px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 16px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}

.btn-outline-light-custom {
    color: var(--white);

    background: transparent;

    border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-light-custom:hover {
    color: var(--primary);

    background: var(--white);

    border-color: var(--white);
}


/* =========================================================
   HERO CONTROLS
========================================================= */

.hero-control {
    position: absolute;

    top: 50%;

    z-index: 5;

    width: 48px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--white);

    border: 1px solid rgba(255, 255, 255, 0.35);

    transform: translateY(-50%);

    cursor: pointer;

    transition: var(--transition);
}

.hero-control:hover {
    color: var(--primary);

    background: var(--white);

    border-color: var(--white);
}

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}


/* =========================================================
   HERO INDICATORS
========================================================= */

.hero-indicators {
    position: absolute;

    right: 0;
    bottom: 30px;
    left: 0;

    z-index: 5;

    display: flex;
    justify-content: center;

    gap: 8px;
}

.hero-indicators button {
    width: 35px;
    height: 2px;

    padding: 0;

    background: rgba(255, 255, 255, 0.4);

    cursor: pointer;

    transition: var(--transition);
}

.hero-indicators button.active {
    width: 55px;

    background: var(--white);
}


/* =========================================================
   VALUE STRIP
========================================================= */

.value-strip {
    position: relative;

    z-index: 5;

    background: var(--white);

    border-bottom: 1px solid var(--border);
}

.value-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
}

.value-item {
    min-height: 115px;

    display: flex;
    align-items: center;

    gap: 16px;

    padding: 20px 25px;

    border-right: 1px solid var(--border);
}

.value-item:first-child {
    padding-left: 0;
}

.value-item:last-child {
    padding-right: 0;

    border-right: 0;
}

.value-icon {
    flex-shrink: 0;

    width: 48px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--accent);

    background: var(--surface-soft);

    border-radius: 50%;

    font-size: 20px;
}

.value-item h3 {
    margin-bottom: 3px;

    font-family: var(--font-body);

    font-size: 13px;
    font-weight: 700;
}

.value-item p {
    margin: 0;

    color: var(--text-light);

    font-size: 11px;
}


/* =========================================================
   GENERAL HOME SECTIONS
========================================================= */

.home-section {
    padding: 100px 0;
}

.categories-section {
    background: var(--surface-soft);
}

.products-section {
    background: var(--white);
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;
}

.section-heading-centered {
    max-width: 650px;

    margin: 0 auto 45px;

    text-align: center;
}

.section-heading-centered .eyebrow {
    justify-content: center;
}

.section-title {
    margin-bottom: 0;

    font-size: clamp(36px, 4vw, 52px);
}

.section-heading-centered p {
    margin: 15px 0 0;

    color: var(--text-secondary);

    font-size: 14px;
}

.section-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding-bottom: 5px;

    color: var(--primary);

    border-bottom: 1px solid var(--primary);

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;

    transition: var(--transition);
}

.section-link:hover {
    gap: 13px;

    color: var(--accent);

    border-color: var(--accent);
}


/* =========================================================
   CATEGORY GRID
========================================================= */

.category-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}

.category-card {
    position: relative;

    min-height: 410px;

    overflow: hidden;

    background: #eee;
}

.category-image {
    position: absolute;

    inset: 0;
}

.category-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.72),
            rgba(0, 0, 0, 0.02) 70%
        );
}

.category-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.06);
}

.category-content {
    position: absolute;

    right: 25px;
    bottom: 25px;
    left: 25px;

    z-index: 2;
}

.category-content h3 {
    margin-bottom: 8px;

    color: var(--white);

    font-size: 25px;
}

.category-content span {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: rgba(255, 255, 255, 0.8);

    font-size: 11px;
}

.category-content span i {
    transition: transform 0.3s ease;
}

.category-card:hover .category-content span i {
    transform: translateX(4px);
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.product-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;
}

.product-card {
    position: relative;

    min-width: 0;
    background: #dbedff;
    padding: 7px;
    border-radius: 10px;
}

.product-image {
    position: relative;

    aspect-ratio: 0.88;

    overflow: hidden;

    border-radius: 10px;

    background: var(--surface-soft);
}

.product-image > a {
    display: block;

    width: 100%;
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.65s ease;
}

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

.product-label {
    position: absolute;

    top: 14px;
    left: 14px;

    z-index: 3;

    padding: 6px 10px;

    color: var(--white);

    background: var(--primary);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.product-label.bestseller {
    background: var(--accent);
}

.product-wishlist {
    position: absolute;

    top: 12px;
    right: 12px;

    z-index: 4;

    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--primary);

    background: rgba(255, 255, 255, 0.92);

    border-radius: 50%;

    cursor: pointer;

    transition: var(--transition);
}

.product-wishlist:hover,
.product-wishlist.active {
    color: var(--white);

    background: var(--accent);
}

.product-wishlist i {
    font-size: 16px;
}

.product-quick-actions {
    position: absolute;

    right: 12px;
    bottom: 12px;
    left: 12px;

    z-index: 4;

    transform: translateY(10px);

    opacity: 0;

    transition: var(--transition);
}

.product-card:hover .product-quick-actions {
    opacity: 1;

    transform: translateY(0);
}

.quick-view {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 42px;

    color: var(--primary);

    background: var(--white);

    font-size: 11px;
    font-weight: 700;

    transition: var(--transition);
}

.quick-view:hover {
    color: var(--white);

    background: var(--primary);
}

.product-info {
    padding-top: 17px;
}

.product-category {
    margin-bottom: 5px;

    color: var(--text-light);

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-title {
    margin-bottom: 8px;

    font-family: var(--font-body);

    font-size: 14px;
    font-weight: 600;

    line-height: 1.4;
}

.product-title a {
    transition: var(--transition);
}

.product-title a:hover {
    color: var(--accent);
}

.product-rating {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 7px;

    color: var(--text-light);

    font-size: 10px;
}

.stars {
    color: var(--accent);

    letter-spacing: 1px;
}

.product-price {
    display: flex;
    align-items: center;

    gap: 8px;
}

.current-price {
    color: var(--primary);

    font-size: 14px;
    font-weight: 700;
}

.old-price {
    color: var(--text-light);

    font-size: 12px;

    text-decoration: line-through;
}

.section-button {
    display: flex;
    justify-content: center;

    margin-top: 50px;
}


/* =========================================================
   PROMOTION
========================================================= */

.promotion-section {
    padding: 0 0 100px;

    background: var(--white);
}

.promotion-banner {
    position: relative;

    min-height: 490px;

    overflow: hidden;
}

.promotion-image {
    position: absolute;

    inset: 0;
}

.promotion-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.promotion-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.05)
        );
}

.promotion-content {
    position: relative;

    z-index: 2;

    max-width: 560px;

    padding: 90px 70px;

    color: var(--white);
}

.promotion-content .eyebrow {
    margin-bottom: 18px;
}

.promotion-content h2 {
    margin-bottom: 18px;

    color: var(--white);

    font-size: clamp(38px, 4vw, 58px);
}

.promotion-content h2 span {
    display: block;

    color: var(--accent-light);
}

.promotion-content p {
    max-width: 470px;

    margin-bottom: 22px;

    color: rgba(255, 255, 255, 0.8);

    font-size: 14px;
}

.promotion-meta {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-bottom: 28px;

    color: rgba(255, 255, 255, 0.85);

    font-size: 12px;
}

.promotion-meta strong {
    color: var(--accent-light);
}

.promotion-divider {
    width: 1px;
    height: 18px;

    background: rgba(255, 255, 255, 0.35);
}


/* =========================================================
   BEST SELLERS
========================================================= */

.best-sellers-section {
    background: var(--surface-soft);
}


/* =========================================================
   BRAND SECTION
========================================================= */

.brand-section {
    padding: 110px 0;

    color: var(--white);

    background: var(--primary);
}

.brand-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}

.brand-text .eyebrow {
    color: var(--accent-light);
}

.brand-text h2 {
    margin-bottom: 25px;

    color: var(--white);

    font-size: clamp(40px, 4vw, 58px);
}

.brand-text h2 span {
    display: block;

    color: var(--accent-light);
}

.brand-text > p {
    max-width: 560px;

    margin-bottom: 30px;

    color: #aaa;

    font-size: 14px;
    line-height: 1.9;
}

.brand-features {
    border-top: 1px solid #303030;
}

.brand-feature {
    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 20px;

    padding: 25px 0;

    border-bottom: 1px solid #303030;
}

.brand-feature-number {
    color: var(--accent-light);

    font-family: var(--font-heading);

    font-size: 16px;
}

.brand-feature h3 {
    margin-bottom: 5px;

    color: var(--white);

    font-family: var(--font-body);

    font-size: 14px;
}

.brand-feature p {
    margin: 0;

    color: #888;

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   REVIEWS
========================================================= */

.reviews-section {
    background: var(--white);
}

.reviews-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.review-card {
    padding: 35px;

    background: var(--surface-soft);

    border: 1px solid var(--border);
}

.review-card.featured-review {
    color: var(--white);

    background: var(--primary);

    border-color: var(--primary);
}

.review-stars {
    margin-bottom: 20px;

    color: var(--accent);

    font-size: 13px;

    letter-spacing: 2px;
}

.review-card blockquote {
    min-height: 120px;

    margin: 0 0 30px;

    color: var(--text-secondary);

    font-family: var(--font-heading);

    font-size: 18px;
    line-height: 1.6;
}

.featured-review blockquote {
    color: #ddd;
}

.review-author {
    display: flex;
    align-items: center;

    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--white);

    background: var(--accent);

    border-radius: 50%;

    font-size: 12px;
    font-weight: 700;
}

.review-author strong,
.review-author span {
    display: block;
}

.review-author strong {
    color: var(--primary);

    font-size: 12px;
}

.featured-review .review-author strong {
    color: var(--white);
}

.review-author span {
    margin-top: 2px;

    color: var(--text-light);

    font-size: 9px;
}


/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter-section {
    padding: 0 0 100px;

    background: var(--white);
}

.newsletter-box {
    display: grid;

    grid-template-columns: 1fr 1fr;

    column-gap: 80px;

    align-items: center;

    padding: 65px 70px;

    background: var(--surface-soft);

    border: 1px solid var(--border);
}

.newsletter-content h2 {
    margin-bottom: 12px;

    font-size: clamp(32px, 3vw, 45px);
}

.newsletter-content p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 13px;
}

.newsletter-form {
    display: flex;

    align-items: stretch;

    gap: 8px;
}

.newsletter-input {
    position: relative;

    flex: 1;
}

.newsletter-input i {
    position: absolute;

    top: 50%;
    left: 16px;

    color: var(--text-light);

    transform: translateY(-50%);
}

.newsletter-input input {
    width: 100%;
    height: 50px;

    padding: 0 15px 0 45px;

    color: var(--text);

    background: var(--white);

    border: 1px solid var(--border);

    outline: none;

    font-size: 12px;
}

.newsletter-input input:focus {
    border-color: var(--primary);
}

.newsletter-form .btn-custom {
    flex-shrink: 0;

    height: 50px;
}

.newsletter-note {
    grid-column: 2;

    margin-top: 10px;

    color: var(--text-light);

    font-size: 9px;
}


/* =========================================================
   RESPONSIVE — 1199
========================================================= */

@media (max-width: 1199px) {

    .hero-slider {
        height: 650px;
    }

    .category-card {
        min-height: 350px;
    }

    .product-grid {
        gap: 18px;
    }

    .brand-content {
        gap: 60px;
    }

}


/* =========================================================
   RESPONSIVE — 991
========================================================= */

@media (max-width: 991px) {

    .hero-slider {
        height: 620px;

        min-height: 550px;
    }

    .hero-content {
        max-width: 580px;
    }

    .hero-control {
        width: 42px;
        height: 42px;
    }

    .hero-prev {
        left: 20px;
    }

    .hero-next {
        right: 20px;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-item {
        border-bottom: 1px solid var(--border);
    }

    .value-item:nth-child(2) {
        border-right: 0;
    }

    .value-item:nth-child(3),
    .value-item:nth-child(4) {
        border-bottom: 0;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

        row-gap: 35px;
    }

    .brand-content {
        grid-template-columns: 1fr;

        gap: 50px;
    }

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

    .review-card blockquote {
        min-height: auto;
    }

    .newsletter-box {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 50px;
    }

    .newsletter-note {
        grid-column: auto;

        margin-top: -20px;
    }

}


/* =========================================================
   RESPONSIVE — 767
========================================================= */

@media (max-width: 767px) {

    .hero-slider {
        height: 620px;

        min-height: 0;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.70),
                rgba(0, 0, 0, 0.28)
            );
    }

    .hero-content {
        max-width: 90%;
    }

    .hero-content h1 {
        font-size: clamp(42px, 11vw, 62px);
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-control {
        top: auto;
        bottom: 25px;

        transform: none;
    }

    .hero-prev {
        left: 16px;
    }

    .hero-next {
        right: 16px;
    }

    .hero-indicators {
        bottom: 45px;
    }

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

    .value-item,
    .value-item:first-child,
    .value-item:last-child {
        min-height: 90px;

        padding: 17px 0;

        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .value-item:last-child {
        border-bottom: 0;
    }

    .home-section {
        padding: 70px 0;
    }

    .section-heading-row {
        align-items: flex-start;

        margin-bottom: 30px;
    }

    .section-title {
        font-size: 35px;
    }

    .category-grid {
        gap: 10px;
    }

    .category-card {
        min-height: 280px;
    }

    .category-content {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }

    .category-content h3 {
        font-size: 19px;
    }

    .product-grid {
        gap: 28px 12px;
    }

    .product-image {
        aspect-ratio: 0.85;
    }

    .product-quick-actions {
        display: none;
    }

    .product-wishlist {
        width: 34px;
        height: 34px;
    }

    .product-title {
        font-size: 13px;
    }

    .promotion-section {
        padding-bottom: 70px;
    }

    .promotion-banner {
        min-height: 550px;
    }

    .promotion-content {
        padding: 55px 25px;
    }

    .promotion-overlay {
        background:
            linear-gradient(
                to top,
                rgba(0, 0, 0, 0.78),
                rgba(0, 0, 0, 0.20)
            );
    }

    .brand-section {
        padding: 75px 0;
    }

    .brand-text h2 {
        font-size: 40px;
    }

    .review-card {
        padding: 28px;
    }

    .newsletter-section {
        padding-bottom: 70px;
    }

    .newsletter-box {
        padding: 35px 22px;
    }

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

    .newsletter-form .btn-custom {
        width: 100%;
    }

}


/* =========================================================
   RESPONSIVE — 480
========================================================= */

@media (max-width: 480px) {

    .hero-slider {
        height: 590px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn-custom {
        width: 100%;
    }

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

    .category-card {
        min-height: 360px;
    }

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

        gap: 28px 10px;
    }

    .product-label {
        top: 9px;
        left: 9px;

        padding: 5px 7px;

        font-size: 7px;
    }

    .product-wishlist {
        top: 8px;
        right: 8px;

        width: 31px;
        height: 31px;
    }

    .product-wishlist i {
        font-size: 14px;
    }

    .product-info {
        padding-top: 12px;
    }

    .product-category {
        font-size: 8px;
    }

    .product-title {
        font-size: 12px;
    }

    .current-price {
        font-size: 13px;
    }

    .product-rating {
        font-size: 9px;
    }

    .promotion-banner {
        min-height: 500px;
    }

    .promotion-content {
        padding: 45px 20px;
    }

}