/*
 * Storefront homepage refresh
 * Scoped to the homepage body class. The category mega-menu markup,
 * mega-menu-site.css and its interaction script are intentionally untouched.
 */
body.storefront-homepage {
    --store-ink: #20342d;
    --store-deep: #173d33;
    --store-accent: #b86f50;
    --store-muted: #6c7772;
    --store-paper: #f7f5f0;
    --store-line: #e8e5dc;
    color: var(--store-ink);
    background: #fff;
}

body.storefront-homepage .announcement-bar {
    background: var(--store-deep) !important;
}

body.storefront-homepage .announcement-bar-item p {
    padding-top: 8px;
    padding-bottom: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .045em;
}

body.storefront-homepage .tf-top-bar {
    background: #fbfaf7 !important;
    border-bottom: 1px solid var(--store-line);
}

body.storefront-homepage .tf-top-bar_wrap {
    min-height: 40px;
    padding: 6px 0;
}

body.storefront-homepage .tf-top-bar .top-bar-text,
body.storefront-homepage .tf-top-bar a {
    color: var(--store-ink);
    font-size: 12px;
}

body.storefront-homepage #header {
    background: #fff;
    border-bottom: 1px solid rgba(32, 52, 45, .09);
    box-shadow: 0 5px 20px rgba(30, 45, 39, .035);
}

body.storefront-homepage #header .wrapper-header {
    min-height: 116px;
}

@media (min-width: 1200px) {
    body.storefront-homepage #header .storefront-logo-column {
        flex: 0 0 25%;
        width: 25%;
        max-width: 25%;
    }

    body.storefront-homepage #header .storefront-menu-column {
        flex: 0 0 58.333333%;
        width: 58.333333%;
        max-width: 58.333333%;
    }
}

body.storefront-homepage #header .logo-header img {
    width: 336px;
    max-width: 100%;
    max-height: 116px;
    height: auto;
    object-fit: contain;
}

body.storefront-homepage #header .box-nav-ul .item-link {
    color: var(--store-ink);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .015em;
}

body.storefront-homepage #header .box-nav-ul .item-link:hover {
    color: var(--store-accent);
}

body.storefront-homepage #header .nav-icon .nav-icon-item {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f6f4ef;
    color: var(--store-ink);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

body.storefront-homepage #header .nav-icon .nav-icon-item:hover {
    background: #eae6dc;
    color: var(--store-deep);
    transform: translateY(-1px);
}

body.storefront-homepage #header .nav-icon .count-box {
    background-color: var(--store-accent) !important;
}

/* Keep the existing contact links accessible without letting them dominate the hero. */
body.storefront-homepage #hemen-ara,
body.storefront-homepage #hemen-ara1 {
    right: 16px !important;
    width: 62px !important;
    height: 62px !important;
}

body.storefront-homepage #hemen-ara {
    bottom: 18px !important;
}

body.storefront-homepage #hemen-ara1 {
    bottom: 88px !important;
}

body.storefront-homepage #hemen-ara .hemen-ara,
body.storefront-homepage #hemen-ara1 .hemen-ara1 {
    top: 0 !important;
    right: 0 !important;
    width: 62px !important;
    height: 62px !important;
}

body.storefront-homepage #hemen-ara .hemen-ara-fill,
body.storefront-homepage #hemen-ara1 .hemen-ara-fill {
    top: 7px !important;
    right: 7px !important;
    width: 48px !important;
    height: 48px !important;
}

body.storefront-homepage #hemen-ara .hemen-ara-crc,
body.storefront-homepage #hemen-ara1 .hemen-ara-crc {
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
}

/* Story/category strip above the hero */
body.storefront-homepage .tf-sw-collection-1 {
    max-width: 1370px;
    margin: 10px auto 0;
    padding: 0 22px;
}

body.storefront-homepage .collection-item-circle .collection-image {
    width: 82px;
    height: 82px;
    margin: 0 auto;
    padding: 3px;
    border: 1px solid #d8cfc0;
    background: #fff;
}

body.storefront-homepage .collection-item-circle .collection-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

body.storefront-homepage .collection-item-circle .collection-content {
    margin-top: 10px;
}

body.storefront-homepage .collection-item-circle .collection-content .title {
    color: var(--store-ink);
    font-size: 12px;
    font-weight: 600;
}

/* Main campaign slider */
body.storefront-homepage .tf-slideshow {
    width: calc(100% - 56px);
    max-width: 1640px;
    margin: 18px auto 0;
    overflow: hidden;
    border-radius: 24px;
    background: var(--store-paper);
    box-shadow: 0 18px 48px rgba(35, 46, 40, .08);
}

body.storefront-homepage .tf-slideshow .tf-sw-slideshow,
body.storefront-homepage .tf-slideshow .swiper-wrapper,
body.storefront-homepage .tf-slideshow .swiper-slide {
    height: 100%;
}

body.storefront-homepage .tf-slideshow .wrap-slider {
    height: clamp(430px, 42vw, 610px);
    overflow: hidden;
    border-radius: 24px;
    background: #f5f2eb;
}

body.storefront-homepage .tf-slideshow .wrap-slider::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, rgba(247, 245, 240, .97) 0%, rgba(247, 245, 240, .91) 31%, rgba(247, 245, 240, .60) 49%, rgba(247, 245, 240, 0) 72%);
}

body.storefront-homepage .tf-slideshow .wrap-slider > img {
    object-position: right center;
}

body.storefront-homepage .tf-slideshow .wrap-slider .box-content {
    z-index: 2;
}

body.storefront-homepage .tf-slideshow .wrap-slider .box-content .container {
    max-width: 1320px;
    padding-right: 36px;
    padding-left: 36px;
}

body.storefront-homepage .tf-slideshow .wrap-slider h1 {
    max-width: 620px;
    margin-bottom: 18px;
    color: var(--store-deep);
    font-size: clamp(38px, 5vw, 66px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.045em;
    text-wrap: balance;
}

body.storefront-homepage .tf-slideshow .wrap-slider p {
    max-width: 500px;
    margin-bottom: 28px;
    color: #56635d;
    font-size: 16px;
    line-height: 1.7;
}

body.storefront-homepage .tf-slideshow .wrap-slider .tf-btn {
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--store-deep) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(23, 61, 51, .17);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
}

body.storefront-homepage .tf-slideshow .wrap-slider .tf-btn:hover {
    background: #0f2f27 !important;
    transform: translateY(-2px);
}

body.storefront-homepage .tf-slideshow .wrap-pagination {
    bottom: 20px;
}

/* Homepage sections and editorial hierarchy */
body.storefront-homepage section.flat-spacing-4,
body.storefront-homepage section.flat-spacing-5,
body.storefront-homepage section.flat-spacing-1,
body.storefront-homepage section.flat-spacing-6,
body.storefront-homepage section.flat-spacing-7 {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
}

body.storefront-homepage section .container {
    max-width: 1380px;
}

body.storefront-homepage .flat-categorie {
    background: #fbfaf7;
}

body.storefront-homepage .flat-title,
body.storefront-homepage .flat-title-v2 {
    margin-bottom: 24px;
    text-align: left;
}

body.storefront-homepage .flat-title .title,
body.storefront-homepage .flat-title-v2 .title {
    display: block;
    color: var(--store-ink);
    font-size: clamp(23px, 2.2vw, 31px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.025em;
    text-transform: none;
}

body.storefront-homepage .flat-title .sub-title {
    max-width: 680px;
    margin-top: 9px;
    color: var(--store-muted);
    font-size: 14px;
    line-height: 1.65;
}

body.storefront-homepage .flat-categorie .container-full {
    max-width: 1480px;
    padding-right: 32px;
    padding-left: 32px;
    margin: 0 auto;
}

body.storefront-homepage .flat-categorie .collection-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.08 / 1;
    border-radius: 18px;
    background: #ebe8e1;
}

body.storefront-homepage .flat-categorie .collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

body.storefront-homepage .flat-categorie .collection-inner:hover .collection-image img {
    transform: scale(1.045);
}

body.storefront-homepage .flat-categorie .collection-title {
    min-height: 38px;
    height: auto;
    padding: 0 15px;
    border-radius: 999px;
    background: #fff;
    color: var(--store-ink);
    box-shadow: 0 5px 18px rgba(26, 36, 31, .10);
    font-size: 13px;
    font-weight: 600;
}

body.storefront-homepage .flat-categorie .collection-title:hover {
    background: var(--store-deep);
    color: #fff;
}

/* Product catalog cards */
body.storefront-homepage .grid-layout[data-grid="grid-5"] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}

body.storefront-homepage .tf-sw-product-sell .swiper-slide {
    height: auto;
}

body.storefront-homepage .card-product {
    height: 100%;
    padding: 7px;
    overflow: hidden;
    border: 1px solid #ece9e2;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 5px 17px rgba(35, 46, 40, .035);
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

body.storefront-homepage .card-product:hover {
    transform: translateY(-4px);
    border-color: #d9d3c7;
    box-shadow: 0 15px 32px rgba(35, 46, 40, .10);
}

body.storefront-homepage .card-product .card-product-wrapper {
    aspect-ratio:  .78 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: #f4f2ee;
}

body.storefront-homepage .card-product .card-product-wrapper .product-img {
    width: 100%;
    height: 100%;
}

body.storefront-homepage .card-product .card-product-wrapper img,
body.storefront-homepage .card-product .card-product-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.storefront-homepage .card-product .card-product-info {
    gap: 6px;
    padding: 12px 6px 7px;
}

body.storefront-homepage .card-product .card-product-info .title {
    height: 36px;
    color: var(--store-ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
}

body.storefront-homepage .card-product .card-product-info .rating {
    color: #c49a52;
    font-size: 11px;
}

body.storefront-homepage .card-product .card-product-info .price {
    color: var(--store-deep);
    font-size: 15px;
    font-weight: 700;
}

body.storefront-homepage .card-product .card-product-info .old-price {
    color: #969b96;
    font-size: 12px;
}

body.storefront-homepage .card-product .card-product-info .text-muted {
    color: #89918d !important;
    font-size: 10px;
}

body.storefront-homepage .card-product .card-product-wrapper .list-product-btn .box-icon {
    border-radius: 50%;
    box-shadow: 0 5px 14px rgba(25, 36, 31, .10);
}

/* Lookbook, testimonials and service promises */
body.storefront-homepage .flat-spacing-6 .flat-title {
    margin-bottom: 16px;
}

body.storefront-homepage .flat-spacing-6 .wrap-lookbook,
body.storefront-homepage .flat-spacing-6 .wrap-lookbook .image {
    overflow: hidden;
    border-radius: 20px;
}

body.storefront-homepage .flat-spacing-6 .wrap-lookbook img {
    width: 100%;
    transition: transform .5s ease;
}

body.storefront-homepage .flat-spacing-6 .wrap-lookbook:hover img {
    transform: scale(1.025);
}

body.storefront-homepage .flat-testimonial {
    background: #f7f5f0;
}

body.storefront-homepage .flat-testimonial .testimonial-item.style-column {
    height: 100%;
    padding: 26px 24px;
    border: 1px solid #e9e5dc;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(35, 46, 40, .045);
}

body.storefront-homepage .flat-testimonial .testimonial-item .author .name {
    color: var(--store-ink);
    font-weight: 700;
}

body.storefront-homepage .flat-testimonial .testimonial-item .author .metas {
    color: var(--store-muted);
    font-size: 12px;
}

body.storefront-homepage .flat-testimonial .testimonial-item .text {
    color: #5d6963;
    font-size: 14px;
    line-height: 1.75;
}

body.storefront-homepage .flat-iconbox {
    background: #fff;
}

body.storefront-homepage .flat-iconbox .tf-icon-box {
    min-height: 148px;
    padding: 24px 18px;
    border: 1px solid var(--store-line);
    border-radius: 16px;
    background: #fbfaf7;
}

body.storefront-homepage .flat-iconbox .tf-icon-box img {
    width: auto;
    max-width: 54px;
    height: 48px !important;
    object-fit: contain;
    margin-bottom: 12px;
}

body.storefront-homepage .flat-iconbox .tf-icon-box .title {
    color: var(--store-ink);
    font-size: 14px;
    font-weight: 700;
}

body.storefront-homepage .flat-iconbox .tf-icon-box p {
    margin-top: 5px;
    color: var(--store-muted);
    font-size: 12px;
    line-height: 1.5;
}

/* Footer: clear, warm contrast while preserving all existing dynamic links */
body.storefront-homepage #footer {
    border-top: 1px solid #e4e0d6;
    background: #f2f1eb;
    color: var(--store-ink);
}

body.storefront-homepage #footer .footer-body {
    padding-top: 62px;
    padding-bottom: 50px;
}

body.storefront-homepage #footer .footer-heading h6 {
    color: var(--store-deep);
    font-size: 14px;
    font-weight: 700;
}

body.storefront-homepage #footer .footer-menu_item,
body.storefront-homepage #footer .footer-menu_item a,
body.storefront-homepage #footer .footer-infor p,
body.storefront-homepage #footer .footer-menu-list a {
    color: #626e68;
    font-size: 13px;
    line-height: 1.75;
}

body.storefront-homepage #footer .footer-menu-list a:hover,
body.storefront-homepage #footer .footer-infor a:hover {
    color: var(--store-accent);
}

body.storefront-homepage #footer .form-newsletter input {
    min-height: 46px;
    border: 1px solid #ddd8cc;
    border-radius: 999px;
    background: #fff;
}

body.storefront-homepage #footer .form-newsletter .tf-btn {
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    background: var(--store-deep);
    color: #fff;
}

body.storefront-homepage #footer .footer-bottom {
    border-top: 1px solid #e2ded4;
}

body.storefront-homepage #footer .footer-bottom-wrap {
    min-height: 62px;
}

body.storefront-homepage .tf-toolbar-bottom {
    border-top: 1px solid var(--store-line);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -6px 24px rgba(32, 52, 45, .06);
}

body.storefront-homepage .tf-toolbar-bottom .toolbar-icon,
body.storefront-homepage .tf-toolbar-bottom .toolbar-label {
    color: var(--store-ink);
}

@media (max-width: 1199px) {
    body.storefront-homepage .grid-layout[data-grid="grid-5"] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    body.storefront-homepage .tf-slideshow .wrap-slider {
        height: clamp(410px, 48vw, 560px);
    }
}

@media (max-width: 991px) {
    body.storefront-homepage #header .wrapper-header {
        min-height: 108px;
    }

    body.storefront-homepage #header .logo-header img {
        width: 290px;
        max-width: 100%;
        max-height: 100px;
    }

    body.storefront-homepage .tf-slideshow {
        width: calc(100% - 32px);
        margin-top: 14px;
        border-radius: 20px;
    }

    body.storefront-homepage .tf-slideshow .wrap-slider {
        height: 470px;
        border-radius: 20px;
    }

    body.storefront-homepage .grid-layout[data-grid="grid-5"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.storefront-homepage section.flat-spacing-4,
    body.storefront-homepage section.flat-spacing-5,
    body.storefront-homepage section.flat-spacing-1,
    body.storefront-homepage section.flat-spacing-6,
    body.storefront-homepage section.flat-spacing-7 {
        padding-top: 42px !important;
        padding-bottom: 42px !important;
    }
}

@media (max-width: 767px) {
    body.storefront-homepage .tf-top-bar {
        display: none !important;
    }

    body.storefront-homepage .tf-sw-collection-1 {
        margin-top: 6px;
        padding: 0 12px;
    }

    body.storefront-homepage .collection-item-circle .collection-image {
        width: 66px;
        height: 66px;
    }

    body.storefront-homepage .collection-item-circle .collection-content {
        margin-top: 7px;
    }

    body.storefront-homepage .collection-item-circle .collection-content .title {
        font-size: 10px;
    }

    body.storefront-homepage .tf-slideshow {
        width: calc(100% - 24px);
        margin-top: 12px;
        border-radius: 17px;
    }

    body.storefront-homepage .tf-slideshow .wrap-slider {
        height: 480px;
        border-radius: 17px;
    }

    body.storefront-homepage .tf-slideshow .wrap-slider > img {
        object-position: 90% center;
    }

    body.storefront-homepage .tf-slideshow .wrap-slider::after {
        background: linear-gradient(180deg, rgba(247, 245, 240, .02) 0%, rgba(247, 245, 240, .02) 38%, rgba(247, 245, 240, .30) 100%);
    }

    body.storefront-homepage .tf-slideshow .wrap-slider .box-content {
        top: auto;
        bottom: 16px;
        transform: none;
    }

    body.storefront-homepage .tf-slideshow .wrap-slider .box-content .container {
        width: calc(100% - 28px);
        max-width: none;
        padding: 17px 16px;
        border: 1px solid rgba(226, 220, 208, .85);
        border-radius: 15px;
        background: rgba(255, 255, 255, .91);
        box-shadow: 0 10px 30px rgba(30, 42, 36, .10);
        -webkit-backdrop-filter: blur(9px);
        backdrop-filter: blur(9px);
    }

    body.storefront-homepage .tf-slideshow .wrap-slider h1 {
        max-width: 360px;
        margin-bottom: 14px;
        font-size: clamp(31px, 9vw, 40px);
        line-height: 1.03;
    }

    body.storefront-homepage .tf-slideshow .wrap-slider p {
        max-width: 310px;
        margin-bottom: 20px;
        font-size: 13px;
        line-height: 1.55;
    }

    body.storefront-homepage .tf-slideshow .wrap-slider .tf-btn {
        min-height: 43px;
        padding: 0 18px;
        font-size: 12px;
    }

    body.storefront-homepage .tf-slideshow .wrap-pagination {
        bottom: 14px;
    }

    body.storefront-homepage .flat-categorie .container-full {
        padding-right: 15px;
        padding-left: 15px;
    }

    body.storefront-homepage .flat-title,
    body.storefront-homepage .flat-title-v2 {
        margin-bottom: 18px;
    }

    body.storefront-homepage .flat-title .title,
    body.storefront-homepage .flat-title-v2 .title {
        font-size: 22px;
    }

    body.storefront-homepage .flat-title .sub-title {
        font-size: 13px;
    }

    body.storefront-homepage .flat-categorie .collection-image {
        aspect-ratio: .86 / 1;
        border-radius: 13px;
    }

    body.storefront-homepage .flat-categorie .collection-title {
        min-height: 32px;
        padding: 0 11px;
        font-size: 11px;
    }

    body.storefront-homepage .grid-layout[data-grid="grid-5"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.storefront-homepage .card-product {
        padding: 5px;
        border-radius: 13px;
    }

    body.storefront-homepage .card-product .card-product-wrapper {
        border-radius: 9px;
    }

    body.storefront-homepage .card-product .card-product-info {
        padding: 9px 4px 5px;
    }

    body.storefront-homepage .card-product .card-product-info .title {
        height: 34px;
        font-size: 11px;
        line-height: 16px;
    }

    body.storefront-homepage .card-product .card-product-info .price {
        font-size: 13px;
    }

    body.storefront-homepage .card-product .card-product-info .old-price {
        font-size: 10px;
    }

    body.storefront-homepage .flat-iconbox .tf-icon-box {
        min-height: 132px;
        padding: 18px 14px;
    }

    body.storefront-homepage #hemen-ara {
        display: none !important;
    }

    body.storefront-homepage #hemen-ara1 {
        right: 10px !important;
        bottom: 92px !important;
        width: 42px !important;
        height: 42px !important;
    }

    body.storefront-homepage #hemen-ara1 .hemen-ara1 {
        top: 0 !important;
        right: 0 !important;
        width: 42px !important;
        height: 42px !important;
        animation: none !important;
    }

    body.storefront-homepage #hemen-ara1 .hemen-ara-fill {
        top: 4px !important;
        right: 4px !important;
        width: 34px !important;
        height: 34px !important;
    }

    body.storefront-homepage #hemen-ara1 .hemen-ara-crc {
        top: 8px !important;
        right: 8px !important;
        width: 26px !important;
        height: 26px !important;
        animation: none !important;
    }

    body.storefront-homepage #footer .footer-body {
        padding-top: 42px;
        padding-bottom: 32px;
    }
}

@media (max-width: 420px) {
    body.storefront-homepage .tf-slideshow .wrap-slider {
        height: 460px;
    }

    body.storefront-homepage .tf-slideshow .wrap-slider h1 {
        max-width: 300px;
        font-size: 32px;
    }

    body.storefront-homepage .tf-sw-collection-1 .swiper-slide {
        width: 68px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.storefront-homepage *,
    body.storefront-homepage *::before,
    body.storefront-homepage *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
