/*
Theme Name: Future Of Fashion
Description: Future Of Fashion v2.1 mobile-first WooCommerce fashion theme.
Version: 2.1.0
Author: Future Of Fashion
Text Domain: future-of-fashion
*/

/* =========================================================
   ROOT
========================================================= */

:root{
    --ink:#0b0b0b;
    --gold:#f4c400;
    --bg:#f7f7f5;
    --line:#e7e7e7;
}

*{
    box-sizing:border-box;
}

html{
    margin:0;
    padding:0;
}

body{
    margin:0;
    padding:0;
    font-family:Arial,sans-serif;
    color:var(--ink);
    line-height:1.55;
    background:#fff;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}


/* =========================================================
   CONTAINER
========================================================= */

.container{
    width:min(1200px,92%);
    margin-left:auto;
    margin-right:auto;
}


/* =========================================================
   TOP BAR
========================================================= */

.topbar{
    background:#090909;
    color:#fff;
    font-size:12px;
    padding:7px 0;
}

.topbar .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}


/* =========================================================
   HEADER
========================================================= */

.header{
    position:sticky;
    top:0;
    z-index:99;
    background:#fff;
    border-bottom:1px solid var(--line);
}

.head{
    height:70px;
    display:flex;
    align-items:center;
    gap:25px;
}

.logo{
    display:flex;
    align-items:center;
    font-size:21px;
    font-weight:900;
    flex-shrink:0;
}

.logo b{
    color:#d5a900;
}

.logo img{
    width:185px;
    height:auto;
    display:block;
}

.menu{
    display:flex;
    align-items:center;
    gap:20px;
    margin-left:auto;
    font-weight:700;
    font-size:14px;
}

.menu a{
    transition:.2s ease;
}

.menu a:hover{
    color:#c49b00;
}

.actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex-shrink:0;
}

.icon{
    width:36px;
    height:36px;
    border:1px solid var(--line);
    border-radius:50%;
    display:grid;
    place-items:center;
}

.mobile{
    display:none;
    background:#111;
    color:#fff;
    border:0;
    border-radius:5px;
    padding:9px 12px;
    cursor:pointer;
    font-size:16px;
}


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

.hero{
    width:min(1200px,92%);
    margin-left:auto;
    margin-right:auto;
    background:#0a0a0a;
    color:#fff;
    overflow:hidden;
}

.hero-grid{
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
    min-height:560px;
}

.hero-copy{
    min-width:0;
    padding:70px;
    display:flex;
    justify-content:center;
    flex-direction:column;
}

.eyebrow{
    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:3px;
    font-size:12px;
    font-weight:800;
}

.hero h1{
    font-size:clamp(45px,6vw,76px);
    line-height:.98;
    margin:15px 0;
    letter-spacing:-3px;
}

.hero p{
    color:#ccc;
    max-width:520px;
    font-size:16px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:var(--gold);
    color:#111;
    padding:13px 23px;
    border-radius:5px;
    font-weight:900;
    transition:.2s ease;
}

.btn:hover{
    background:#fff;
    color:#111;
}


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

.hero-image{
    width:100%;
    min-width:0;
    height:560px;
    overflow:hidden;
    background:#111;
}

.hero-image > img{
    display:block;
    width:100%;
    height:100%;
    max-width:none;
    object-fit:cover;
    object-position:center center;
}


/* =========================================================
   SECTIONS
========================================================= */

.section{
    padding:65px 0;
}

.headrow{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:20px;
    margin-bottom:25px;
}

.headrow h2{
    margin:0;
    font-size:31px;
}

.headrow p{
    margin:0;
    color:#666;
}


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

.grid4{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}


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

.cat{
    position:relative;
    min-height:180px;
    padding:20px;
    display:flex;
    align-items:end;
    overflow:hidden;
    background:#ddd;
    border-radius:9px;
    color:#fff;
    font-size:20px;
    font-weight:900;
}

.cat:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        transparent,
        rgba(0,0,0,.65)
    );
}

.cat span{
    position:relative;
    z-index:2;
}

.cats-demo .cat{
    min-height:180px;
    padding:0;
    background:#eee;
}

.cats-demo .cat img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    max-width:none;
    object-fit:cover;
}

.cats-demo .cat span{
    padding:20px;
}


/* =========================================================
   PRODUCTS
========================================================= */

.product{
    position:relative;
}


/* =========================================================
   PRODUCT IMAGE BOX
========================================================= */

.thumb{
    position:relative !important;
    width:100% !important;
    height:320px !important;
    min-height:320px !important;
    max-height:320px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    background:#f7f7f5 !important;
    border-radius:8px !important;
}

.thumb a{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

.thumb img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
}

.product h3{
    font-size:14px;
    margin:9px 0 2px;
}

.stars{
    color:#b08b00;
    font-size:12px;
}

.price{
    font-weight:900;
}

.demo-product .thumb{
    position:relative;
}

.demo-sale{
    position:absolute;
    left:8px;
    top:8px;
    background:var(--gold);
    padding:4px 7px;
    border-radius:4px;
    font-size:10px;
    color:#111;
}


/* =========================================================
   FEATURES
========================================================= */

.features{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    border:1px solid #ddd;
}

.feature{
    text-align:center;
    padding:25px 12px;
    border-right:1px solid #ddd;
}

.feature:last-child{
    border-right:0;
}


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

.newsletter{
    background:#0b0b0b;
    color:#fff;
    text-align:center;
    padding:55px 15px;
}

.newsletter h2{
    font-size:32px;
}

.newsletter input{
    padding:14px;
    border:0;
    width:min(350px,70%);
}

.newsletter button{
    padding:14px 18px;
    border:0;
    background:var(--gold);
    font-weight:900;
    cursor:pointer;
}


/* =========================================================
   FOOTER
========================================================= */

.footer{
    background:#0b0b0b;
    color:#ccc;
    padding:50px 0 20px;
}

.footgrid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:30px;
}

.footer h3{
    color:#fff;
}

.copy{
    text-align:center;
    border-top:1px solid #292929;
    margin-top:30px;
    padding-top:18px;
    font-size:12px;
}


/* =========================================================
   WOOCOMMERCE
========================================================= */

.woocommerce ul.products{
    display:grid !important;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.woocommerce ul.products li.product{
    width:auto !important;
    float:none !important;
    margin:0 !important;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
    background:#111;
    color:#fff;
    border-radius:5px;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover{
    background:var(--gold);
    color:#111;
}


/* =========================================================
   MOBILE PANEL
========================================================= */

.mobile-panel{
    display:none;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:900px){

    .menu{
        display:none;
    }

    .mobile{
        display:block;
        margin-left:auto;
    }

    .head{
        height:70px;
    }

    .logo img{
        width:155px;
    }


    /* Hero */

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

    .hero-copy{
        padding:50px 6%;
    }

    .hero-image{
        width:100%;
        height:420px;
        min-height:420px;
    }

    .hero-image > img{
        width:100%;
        height:100%;
        object-fit:cover;
        object-position:center center;
    }


    /* Grid */

    .grid4,
    .woocommerce ul.products{
        grid-template-columns:repeat(2,1fr) !important;
    }


    /* Features */

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


    /* Footer */

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


    /* Categories */

    .cats-demo .cat{
        min-height:150px;
    }


    /* Product Image */

    .product .thumb{
        height:260px !important;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:560px){

    .topbar .right{
        display:none;
    }

    .head{
        height:62px;
        gap:8px;
    }

    .logo{
        font-size:17px;
    }

    .logo img{
        width:132px;
    }

    .actions{
        margin-left:0;
    }

    .icon{
        width:34px;
        height:34px;
    }


    /* Hero */

    .hero-grid{
        display:flex;
        flex-direction:column;
    }

    .hero-copy{
        padding:40px 5%;
    }

    .hero h1{
        font-size:47px;
    }

    .hero-image{
        width:100%;
        height:auto;
        min-height:0;
        aspect-ratio:16 / 9;
    }

    .hero-image > img{
        width:100%;
        height:100%;
        object-fit:cover;
        object-position:center center;
    }


    /* Sections */

    .section{
        padding:45px 0;
    }

    .headrow{
        align-items:flex-start;
        flex-direction:column;
    }

    .headrow h2{
        font-size:27px;
    }


    /* Grid */

    .grid4{
        gap:10px;
    }


    /* Category */

    .cat{
        min-height:135px;
        padding:13px;
        font-size:16px;
    }

    .cats-demo .cat{
        min-height:130px;
    }

    .cats-demo .cat span{
        padding:13px;
    }


    /* WooCommerce */

    .woocommerce ul.products{
        gap:12px !important;
    }


    /* Product Image */

    .product .thumb{
        height:220px !important;
    }


    /* Features */

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

    .feature{
        padding:20px 7px;
    }


    /* Footer */

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


    /* Newsletter */

    .newsletter input{
        width:65%;
    }


    /* Cart Remove */

    .woocommerce-cart-form__cart-item{
        position:relative !important;
    }

    .woocommerce-cart-form__cart-item .product-remove{
        display:block !important;
        position:absolute !important;
        top:10px !important;
        right:10px !important;
        width:32px !important;
        height:32px !important;
        z-index:20 !important;
        text-align:center !important;
    }

    .woocommerce-cart-form__cart-item .product-remove a.remove{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        width:30px !important;
        height:30px !important;
        margin:0 !important;
        padding:0 !important;
        background:#111 !important;
        color:#fff !important;
        border-radius:50% !important;
        font-size:22px !important;
        line-height:30px !important;
        text-decoration:none !important;
        opacity:1 !important;
        visibility:visible !important;
    }

    .woocommerce-cart-form__cart-item .product-remove a.remove:hover{
        background:var(--gold) !important;
        color:#111 !important;
    }

    .woocommerce-cart-form__cart-item td.product-name{
        padding-right:45px !important;
    }

}


/* =========================================================
   MOBILE CATEGORIES SUBMENU
========================================================= */

@media(max-width:900px){

    .mobile-menu-panel
    .menu-item-has-children
    > .sub-menu{

        display:none !important;
        position:static !important;
        width:100% !important;
        min-width:0 !important;
        background:#f7f7f7 !important;
        box-shadow:none !important;
        padding:0 0 5px 15px !important;
        margin:0 !important;
        opacity:1 !important;
        visibility:visible !important;
        height:auto !important;
        max-height:none !important;
        overflow:visible !important;
    }

    .mobile-menu-panel
    .menu-item-has-children.mobile-open
    > .sub-menu{

        display:block !important;
    }

    .mobile-menu-panel
    .sub-menu li{
        border-bottom:1px solid #e5e5e5;
    }

    .mobile-menu-panel
    .sub-menu li a{
        display:block !important;
        padding:13px 8px !important;
        font-size:15px !important;
        font-weight:600 !important;
        color:#333 !important;
    }

    .mobile-menu-panel
    .menu-item-has-children
    > a::after{

        content:"⌄";
        float:right;
        font-size:20px;
        font-weight:bold;
    }

    .mobile-menu-panel
    .menu-item-has-children.mobile-open
    > a::after{

        content:"⌃";
    }

}


/* =========================================================
   CHECKOUT DESKTOP
========================================================= */

@media (min-width:769px){

    body.woocommerce-checkout .ff-checkout-layout{
        box-sizing:border-box !important;
        padding-right:30px !important;
    }

}


/* =========================================================
   CHECKOUT LAYOUT
========================================================= */

.ff-checkout-layout{
    display:flex;
    flex-direction:row;
    align-items:flex-start;
    gap:30px;
    width:100%;
    justify-content:flex-start;
    flex-wrap:nowrap;
}

.ff-checkout-details{
    flex:1 1 auto;
    min-width:0;
}

.ff-checkout-order{
    width:380px;
    flex:0 0 380px;
    margin:0;
    padding:0;
}


/* =========================================================
   CHECKOUT MOBILE
========================================================= */

@media (max-width:768px){

    .ff-checkout-layout{
        display:flex !important;
        flex-direction:column !important;
        width:100% !important;
        gap:25px !important;
    }

    .ff-checkout-details{
        width:100% !important;
        flex:0 0 auto !important;
        order:1 !important;
    }

    .ff-checkout-order{
        width:100% !important;
        flex:0 0 auto !important;
        order:2 !important;
    }

}


/* =========================================================
   FINAL PRODUCT IMAGE FIX
   Fixed size + full image visible
========================================================= */

.product .thumb{
    width:100% !important;
    height:320px !important;
    aspect-ratio:auto !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:#f7f7f5 !important;
}

.product .thumb a{
    width:100% !important;
    height:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

.product .thumb img{
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
    object-position:center center !important;
    display:block !important;
}


/* =========================================================
   FINAL PRODUCT IMAGE - TABLET
========================================================= */

    @media(max-width:900px){

    .product .thumb{
        height:260px !important;
    }

}


/* =========================================================
   FINAL PRODUCT IMAGE - MOBILE
========================================================= */

     @media(max-width:560px){

    .product .thumb{
        height:220px !important;
    }

}


/* =========================================================
   HOME PAGE PRODUCT IMAGE - FIXED SIZE
========================================================= */

.product .thumb{
    position:relative !important;
    width:100% !important;
    height:320px !important;
    min-height:320px !important;
    max-height:320px !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:#f7f7f5 !important;
}

.product .thumb a{
    width:100% !important;
    height:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

.product .thumb img{
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
    display:block !important;
}


/* OUT OF STOCK */

.product .thumb .ff-out-of-stock{
    position:absolute !important;
    top:10px !important;
    left:10px !important;
    z-index:99 !important;

    display:block !important;
    width:auto !important;

    padding:6px 9px !important;

    background:#0b0b0b !important;
    color:#fff !important;

    font-size:11px !important;
    font-weight:700 !important;
    line-height:1.2 !important;

    border-radius:4px !important;

    pointer-events:none !important;
}

/* TABLET */

@media(max-width:900px){

    .product .thumb{
        height:260px !important;
        min-height:260px !important;
        max-height:260px !important;
    }

}


/* MOBILE */

@media(max-width:560px){

    .product .thumb{
        height:220px !important;
        min-height:220px !important;
        max-height:220px !important;
    }

    .product .thumb .ff-out-of-stock{
        top:8px !important;
        left:8px !important;
        padding:6px 8px !important;
        font-size:10px !important;
    }

}
.ff-product-image-box{
    position:relative !important;
    width:100% !important;
    height:320px !important;
    min-height:320px !important;
    max-height:320px !important;
    overflow:hidden !important;
    display:block !important;
    background:#f7f7f5 !important;
    border-radius:8px !important;
}

.ff-product-image-box > a{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

.ff-product-image-box > a > img{
    width:100% !important;
    height:100% !important;
    min-width:100% !important;
    min-height:100% !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:cover !important;
    object-position:center !important;
    display:block !important;
}

.ff-product-image-box > .ff-out-of-stock{
    position:absolute !important;
    top:10px !important;
    left:10px !important;
    z-index:999 !important;
}
/* Future Of Fashion - Product Image Fix */

.product .thumb.ff-product-image-box{
    width:100% !important;
    height:320px !important;
    padding:0 !important;
    margin:0 !important;
    overflow:hidden !important;
    position:relative !important;
}

.product .thumb.ff-product-image-box > a{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    margin:0 !important;
    padding:0 !important;
    display:block !important;
}

.product .thumb.ff-product-image-box > a > img{
    width:100% !important;
    height:100% !important;
    margin:0 !important;
    padding:0 !important;
    display:block !important;
    object-fit:cover !important;
}
.product .thumb > a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}

.product .thumb {
    margin: 0 !important;
    padding: 0 !important;
}

/* Out of stock badge - always on image */
.ff-product-image-box{
    position: relative !important;
}

.ff-product-image-box .ff-out-of-stock{
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 20 !important;
    display: block !important;
}

.ff-product-image-box > a{
    position: relative !important;
    display: block !important;
}

.ff-product-image-box .ff-out-of-stock{
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 20 !important;
    display: block !important;
}
/* FORCE CENTER WINTER SEE MORE BUTTON */

section.section .container .ff-see-more-wrap {
    display: flex !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 50px 0 65px !important;
    padding: 0 !important;
}

section.section .container .ff-see-more-wrap a.ff-see-more {
    display: inline-flex !important;
    float: none !important;
    width: auto !important;
    min-width: 170px !important;
    height: 50px !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 30px !important;
    margin: 0 auto !important;

    background: #f4c400 !important;
    color: #111 !important;
    border: 2px solid #f4c400 !important;
    border-radius: 7px !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.12) !important;
}

section.section .container .ff-see-more-wrap a.ff-see-more:hover {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}

@media (max-width: 600px) {
    section.section .container .ff-see-more-wrap {
        margin: 35px 0 45px !important;
    }
}
