/* =========================================================
   BLOOMS & BALLOONS
   PRODUCT PAGE — LUXURY EDITORIAL
========================================================= */

.product-page{
    --product-ivory:#f6f0e8;
    --product-ivory-dark:#eee5db;
    --product-ink:#171513;
    --product-muted:#625b54;
    --product-line:rgba(50,43,36,.16);
    --product-gold:#c9a16b;
    --product-gold-dark:#a98250;

    background:var(--product-ivory);
    color:var(--product-ink);
    min-height:100vh;
}


/* =========================================================
   CONTAINER
========================================================= */

.product-container{
    width:min(1420px, calc(100% - 110px));
    margin:0 auto;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.product-breadcrumb-wrap{
    display:none;
}

.product-breadcrumb{
    display:flex;
    gap:10px;
    align-items:center;

    padding:20px 0;

    font-size:9px;
    letter-spacing:1.5px;
    text-transform:uppercase;

    color:#827970;
}

.product-breadcrumb a{
    color:inherit;
}

.product-breadcrumb span{
    opacity:.5;
}


/* =========================================================
   PRODUCT DETAIL
========================================================= */

.product-detail{
    padding:38px 0 0;
}

.product-detail-grid{
    display:grid;
    grid-template-columns:minmax(0, 1.35fr) minmax(430px, .8fr);
    gap:70px;

    align-items:start;
}


/* =========================================================
   GALLERY
========================================================= */

.product-gallery{
    display:grid;
    grid-template-columns:136px minmax(0,1fr);
    gap:28px;

    min-width:0;
}

.product-main-image{
    position:relative;
    width:100%;
    aspect-ratio:1 / 1.08;

    overflow:hidden;

    background:#e8dfd5;
}

.product-main-image img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;

    transition:
        transform .7s cubic-bezier(.2,.7,.2,1),
        opacity .25s ease;
}

.product-main-image:hover img{
    transform:scale(1.025);
}


/* =========================================================
   THUMBNAILS
========================================================= */

.product-thumbnails{
    display:flex;
    flex-direction:column;
    gap:8px;

    order:-1;
}

.product-thumbnail{
    position:relative;

    width:100%;
    aspect-ratio:1 / 1;

    padding:0;

    border:1px solid transparent;

    background:#e9e0d6;

    cursor:pointer;

    overflow:hidden;

    transition:
        border-color .25s ease,
        opacity .25s ease;
}

.product-thumbnail::after{
    content:"";

    position:absolute;
    inset:0;

    border:1px solid transparent;

    pointer-events:none;

    transition:border-color .25s ease;
}

.product-thumbnail img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;

    transition:transform .5s ease;
}

.product-thumbnail:hover img{
    transform:scale(1.04);
}

.product-thumbnail.is-active{
    border-color:var(--product-gold-dark);
}

.product-thumbnail.is-active::after{
    border-color:rgba(201,161,107,.55);
}


/* =========================================================
   OUT OF STOCK BADGE
========================================================= */

.product-stock-badge{
    position:absolute;

    top:18px;
    left:18px;

    z-index:5;

    padding:10px 14px;

    background:rgba(22,20,18,.94);
    color:#f6efe8;

    border:1px solid rgba(201,161,107,.45);

    font-size:8px;
    font-weight:500;
    letter-spacing:1.7px;
    line-height:1;

    text-transform:uppercase;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.product-information{
    padding:25px 25px 0 0;

    max-width:590px;
}

.product-category{
    margin-bottom:16px;

    color:#8c8279;

    font-size:9px;
    font-weight:500;

    letter-spacing:2px;
    text-transform:uppercase;
}

.product-title{
    margin:0;

    color:#181614;

    font-family:var(--serif);
    font-size:58px;
    font-weight:400;

    line-height:.98;
    letter-spacing:-1.8px;
}

.product-price-area{
    margin-top:22px;

    color:#191715;

    font-family:var(--sans);
    font-size:25px;
    font-weight:500;

    letter-spacing:-.4px;

    min-height:32px;
}

.product-price-area del{
    margin-right:8px;

    color:#938980;

    font-size:16px;
}

.product-price-area ins{
    text-decoration:none;
}

.product-short-description{
    max-width:500px;

    margin-top:26px;

    color:#3e3934;

    font-size:16px;
    line-height:1.7;
}


/* =========================================================
   VARIATIONS
========================================================= */

.product-variants{
    margin-top:35px;
}

.product-variant-group{
    padding:22px 0;

    border-top:1px solid var(--product-line);
}

.product-variant-group:last-child{
    border-bottom:1px solid var(--product-line);
}

.variant-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;

    margin-bottom:14px;
}

.variant-heading > span:first-child{
    color:#27231f;

    font-size:10px;
    font-weight:500;

    letter-spacing:1.8px;
    text-transform:uppercase;
}

.variant-selected-value{
    color:#8a8077;

    font-size:10px;
    letter-spacing:.7px;
}

.variant-options{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
}

.variant-option{
    min-height:48px;

    padding:0 23px;

    border:1px solid rgba(54,47,40,.22);

    background:transparent;
    color:#38322d;

    font-family:var(--sans);
    font-size:10px;
    font-weight:400;

    letter-spacing:1.4px;

    text-transform:uppercase;

    cursor:pointer;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        opacity .25s ease;
}

.variant-option:hover{
    border-color:var(--product-gold-dark);
}

.variant-option.is-selected{
    background:#25211e;
    border-color:#25211e;
    color:#f8f1e9;
}

.variant-option.is-disabled{
    opacity:.3;

    cursor:not-allowed;

    text-decoration:line-through;
}

.variant-message{
    margin-top:10px;

    color:#8a8077;

    font-size:10px;
    line-height:1.6;
}

.variant-message.is-error{
    color:#9a6258;
}


/* =========================================================
   ADD-ONS
========================================================= */

.product-addons{
    margin-top:4px;

    padding:22px 0;

    border-bottom:1px solid var(--product-line);
}

.product-addons-title{
    margin:0 0 16px;

    color:#27231f;

    font-size:10px;
    font-weight:500;

    letter-spacing:1.8px;
    text-transform:uppercase;
}

.product-addon{
    display:flex;
    align-items:center;
    gap:13px;

    min-height:43px;

    cursor:pointer;

    color:#413b35;

    font-size:14px;
}

.product-addon input{
    appearance:none;

    width:22px;
    height:22px;

    margin:0;

    border:1px solid rgba(55,48,41,.28);

    background:transparent;

    cursor:pointer;

    position:relative;
}

.product-addon input:checked{
    background:#24201d;
    border-color:#24201d;
}

.product-addon input:checked::after{
    content:"";

    position:absolute;

    width:5px;
    height:9px;

    left:7px;
    top:4px;

    border-right:1px solid #fff;
    border-bottom:1px solid #fff;

    transform:rotate(45deg);
}

.product-addon-price{
    margin-left:auto;

    color:#5f574f;

    font-size:13px;
}


/* =========================================================
   DELIVERY
========================================================= */

.product-delivery-note{
    margin-top:22px;

    padding:18px 0;

    border-top:1px solid var(--product-line);
}

.product-delivery-note strong{
    display:block;

    margin-bottom:5px;

    color:#312b26;

    font-size:10px;
    font-weight:500;

    letter-spacing:1.5px;
    text-transform:uppercase;
}

.product-delivery-note p{
    margin:0;

    color:#776e66;

    font-size:12px;
    line-height:1.6;
}


/* =========================================================
   STOCK
========================================================= */

.product-stock{
    display:flex;
    align-items:center;
    gap:8px;

    margin:8px 0 20px;

    color:#655d56;

    font-size:10px;
    letter-spacing:1.2px;
    text-transform:uppercase;
}

.product-stock span{
    font-size:8px;
    color:#9a866e;
}

.product-stock.is-out-of-stock{
    color:#8c5d54;
}

.product-stock.is-out-of-stock span{
    color:#8c5d54;
}


/* =========================================================
   PURCHASE
========================================================= */

.product-purchase{
    display:grid;
    grid-template-columns:160px minmax(0,1fr);
    gap:18px;

    align-items:stretch;

    margin-top:12px;
}

.quantity-control{
    display:grid;
    grid-template-columns:45px 1fr 45px;

    height:64px;

    border:1px solid rgba(55,48,41,.22);

    background:rgba(255,255,255,.15);
}

.quantity-control button{
    border:0;

    background:transparent;
    color:#27231f;

    font-size:20px;
    font-weight:300;

    cursor:pointer;

    transition:background .2s ease;
}

.quantity-control button:hover{
    background:rgba(201,161,107,.12);
}

.quantity-control input{
    width:100%;

    border:0;

    border-left:1px solid rgba(55,48,41,.13);
    border-right:1px solid rgba(55,48,41,.13);

    background:transparent;

    color:#27231f;

    font-family:var(--sans);
    font-size:16px;

    text-align:center;

    outline:none;

    appearance:textfield;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button{
    margin:0;
    appearance:none;
}

.product-add-cart{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:22px;

    min-height:64px;

    padding:0 25px;

    border:0;

    background:#d2a66e;
    color:#1f1a16;

    font-family:var(--sans);
    font-size:11px;
    font-weight:500;

    letter-spacing:1.6px;

    text-transform:uppercase;

    cursor:pointer;

    transition:
        background .25s ease,
        transform .2s ease,
        opacity .25s ease;
}

.product-add-cart:hover{
    background:#c69a61;
}

.product-add-cart:active{
    transform:translateY(1px);
}

.product-add-cart:disabled,
.product-add-cart.is-disabled{
    background:#cfc8c0;
    color:#837a72;

    cursor:not-allowed;
    opacity:.7;
}

.product-add-cart.is-loading{
    pointer-events:none;
    opacity:.7;
}


/* =========================================================
   TRUST STRIP
========================================================= */

.product-trust{
    display:grid;
    grid-template-columns:repeat(3,1fr);

    margin-top:58px;
    padding:27px 0;

    border-top:1px solid var(--product-line);
    border-bottom:1px solid var(--product-line);
}

.product-trust > div{
    display:flex;
    flex-direction:column;
    justify-content:center;

    min-height:48px;

    padding:0 25px;

    border-right:1px solid var(--product-line);
}

.product-trust > div:first-child{
    padding-left:0;
}

.product-trust > div:last-child{
    border-right:0;
}

.product-trust strong{
    margin-bottom:6px;

    color:#756c63;

    font-size:10px;
    font-weight:500;

    letter-spacing:1.5px;

    text-transform:uppercase;
}

.product-trust span{
    color:#9a9189;

    font-size:9px;
    letter-spacing:.7px;
}


/* =========================================================
   ACCORDIONS
========================================================= */

.product-accordions{
    margin-top:20px;
}

.product-accordions details{
    border-bottom:1px solid var(--product-line);
}

.product-accordions summary{
    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:22px 0;

    list-style:none;

    color:#302a25;

    font-size:10px;
    font-weight:500;

    letter-spacing:1.5px;

    text-transform:uppercase;

    cursor:pointer;
}

.product-accordions summary::-webkit-details-marker{
    display:none;
}

.product-accordions summary span{
    font-size:17px;
    font-weight:300;

    transition:transform .25s ease;
}

.product-accordions details[open] summary span{
    transform:rotate(45deg);
}

.accordion-content{
    padding:0 35px 24px 0;

    color:#716860;

    font-size:13px;
    line-height:1.8;
}

.accordion-content p{
    margin:0 0 10px;
}

.accordion-content p:last-child{
    margin-bottom:0;
}


/* =========================================================
   BRAND SECTION
========================================================= */

.product-brand-section{
    margin-top:80px;

    padding:110px 30px;

    background:#171513;

    color:#f4ede5;

    text-align:center;
}

.product-brand-inner{
    width:min(700px,100%);
    margin:auto;
}

.product-brand-section .eyebrow{
    margin-bottom:20px;

    color:#b99a70;

    font-size:9px;
    letter-spacing:3px;
    text-transform:uppercase;
}

.product-brand-section h2{
    margin:0;

    font-family:var(--serif);
    font-size:55px;
    font-weight:400;

    line-height:1;
    letter-spacing:-1px;
}

.product-brand-section p:last-child{
    max-width:480px;

    margin:25px auto 0;

    color:#aaa29b;

    font-size:13px;
    line-height:1.8;
}


/* =========================================================
   404
========================================================= */

.product-not-found{
    min-height:70vh;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    padding:100px 30px;

    text-align:center;
}

.product-not-found h1{
    margin:10px 0 15px;

    font-family:var(--serif);
    font-size:58px;
    font-weight:400;
}

.product-not-found p{
    color:#766e67;
}

.product-not-found .btn{
    display:inline-flex;

    margin-top:25px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1200px){

    .product-container{
        width:min(100% - 70px, 1200px);
    }

    .product-detail-grid{
        grid-template-columns:minmax(0,1.15fr) minmax(380px,.8fr);
        gap:45px;
    }

    .product-gallery{
        grid-template-columns:100px minmax(0,1fr);
        gap:18px;
    }

    .product-title{
        font-size:48px;
    }

    .product-information{
        padding-right:0;
    }

}


@media(max-width:900px){

    .product-container{
        width:calc(100% - 40px);
    }

    .product-detail{
        padding-top:25px;
    }

    .product-detail-grid{
        display:block;
    }

    .product-gallery{
        display:block;
    }

    .product-main-image{
        aspect-ratio:1 / 1;
    }

    .product-thumbnails{
        flex-direction:row;

        margin-top:10px;

        overflow-x:auto;

        padding-bottom:3px;

        scrollbar-width:none;
    }

    .product-thumbnails::-webkit-scrollbar{
        display:none;
    }

    .product-thumbnail{
        flex:0 0 78px;

        width:78px;
        height:78px;
    }

    .product-information{
        max-width:none;

        padding:45px 0 0;
    }

    .product-title{
        font-size:46px;
    }

    .product-short-description{
        font-size:15px;
    }

    .product-trust{
        margin-top:45px;
    }

}


@media(max-width:600px){

    .product-container{
        width:calc(100% - 28px);
    }

    .product-detail{
        padding-top:15px;
    }

    .product-main-image{
        aspect-ratio:1 / 1.08;
    }

    .product-thumbnail{
        flex-basis:68px;

        width:68px;
        height:68px;
    }

    .product-information{
        padding-top:32px;
    }

    .product-category{
        margin-bottom:12px;
    }

    .product-title{
        font-size:39px;
        letter-spacing:-1px;
    }

    .product-price-area{
        margin-top:17px;
        font-size:22px;
    }

    .product-short-description{
        margin-top:20px;

        font-size:14px;
        line-height:1.7;
    }

    .product-variants{
        margin-top:25px;
    }

    .variant-option{
        min-height:44px;
        padding:0 16px;
    }

    .product-purchase{
        grid-template-columns:1fr;

        gap:10px;
    }

    .quantity-control{
        height:56px;
    }

    .product-add-cart{
        min-height:58px;
    }

    .product-trust{
        grid-template-columns:1fr;

        margin-top:38px;
        padding:0;
    }

    .product-trust > div,
    .product-trust > div:first-child{
        min-height:70px;

        padding:18px 0;

        border-right:0;
        border-bottom:1px solid var(--product-line);
    }

    .product-trust > div:last-child{
        border-bottom:0;
    }

    .product-brand-section{
        margin-top:55px;
        padding:75px 25px;
    }

    .product-brand-section h2{
        font-size:40px;
    }

    .accordion-content{
        padding-right:0;
    }

}