* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Larke;
}

body {
    color: #333;
}

/* Homepage catalogues grouped beneath the Popular section. */
.home-category-sections{
    width:auto;
    max-width:none;
    margin:10px 9% 90px;
}

.home-category-section{
    margin-top:64px;
}

.home-category-heading{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:30px;
    padding-bottom:0;
    border-bottom:0;
}

.home-category-heading h2{
    width:100%;
    margin:0;
    color:#333;
    font-size:36px;
    font-weight:700;
    letter-spacing:2px;
    text-align:center;
}

.home-category-heading a{
    position:absolute;
    right:0;
    color:#9c674d;
    font-size:14px;
    font-weight:700;
    text-decoration:none;
}

.home-category-heading a:hover{
    color:#E5A484;
}

.category-page .home-category-sections{
    display:none;
}

@media screen and (max-width:600px){
    .home-category-sections{
        width:auto;
        margin:0 9% 54px;
    }

    .home-category-section{
        margin-top:42px;
        content-visibility:auto;
        contain-intrinsic-size:620px;
    }

    .home-category-heading{
        margin-bottom:16px;
        padding-bottom:0;
        margin-bottom:30px;
    }

    .home-category-heading h2{
        font-size:28px;
        letter-spacing:1px;
    }
}

html,
body{
    width:100%;
    min-width:0;
    max-width:100%;
}

html.side-panel-open,
body.side-panel-open{
    overflow: hidden;
    overscroll-behavior: none;
}


html.product-modal-open,
body.product-modal-open{
    overflow:hidden;
    overscroll-behavior:none;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 9%;
    background: rgba(255,255,255,.92);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /*border-bottom: 1px solid #f3f3f3; /*line under header*/
    
}

/*The Logo*/
.logo{
    font-size: 30px;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    transition: .25s ease;
    cursor: pointer;
}

.logo:hover{
    color: #E5A484;
    transform: scale(1.02);

}
.addie{
    transition: transform .18s ease, boxshadow .25s ease, background-color .25s ease;

}

.addie:hover{
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 8px 18px rgba(229, 164, 132, .35);
}

.addie:active{
    transform: scale(.92);
}

.nav-icons{
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Avoid continuously repainting a blurred fixed surface while phones scroll. */
@media screen and (max-width:600px){
    header{
        background:#fff;
        backdrop-filter:none;
        -webkit-backdrop-filter:none;
    }
}

.category-back-button{
    display:block;
    width:42px;
    height:42px;
    flex:0 0 42px;
    background-image:url("../images/Icon Folder/Back Icon_Black.PNG");
    background-position:center;
    background-repeat:no-repeat;
    background-size:24px 24px;
    transition:transform .2s ease,opacity .2s ease;
}

.category-back-button:hover{transform:translateX(-2px);opacity:.8;}
.category-back-button:active{
    transform:scale(.92);
    background-image:url("../images/Icon Folder/Back Icon_Gray.PNG");
}

.category-page header{
    height:78px;
    padding-top:0;
    padding-bottom:0;
    flex-wrap:nowrap;
    align-items:center;
}

.category-page .header-brand-controls,
.category-page .nav-icons{
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
}

.category-page .category-back-button,
.category-page .main_box,
.category-page .nav-icons > *{
    flex-shrink:0;
}

@media screen and (max-width:600px){
    .category-page header{
        height:70px;
        padding:0 14px;
    }

    .category-page .nav-icons{
        gap:10px;
    }

    .category-page .search-image{
        width:20px;
        height:20px;
    }

    .category-page .wishlist-nav-image,
    .category-page .account-image{
        width:21px;
        height:21px;
    }
    
    .category-page #cart-icon,
    .category-page .cart-image{
        width:23px;
    }
}

/* Heading Cart icon*/
#cart-icon {
    position: relative;
    display: flex;
    width: 30px;
    cursor: pointer;
    transition: transform .25s ease, opacity .25s ease;
}

.cart-image{
    width:30px;
    display: block;
    object-fit: contain;
}
 #cart-icon:hover{
    transform:translateY(-2px) scale(1.08);
    opacity:.9;
 }

/* Heading Cart Icon item dot*/
#cart-icon .cart-item-count{
    position: absolute;
    top: 0;
    right: -6px;
    width: 20px;
    height: 20px;
    background: #E5A484;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
    padding-top: 1px;
    box-sizing: border-box;
    font-variant-numeric: tabular-nums;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
}   

#search-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .25s ease;
}

#search-icon:hover{
    transform: scale(1.08);
    opacity: .8;
}
.search-image{
    width: 25px;
    height: 25px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}


/*CATALOG*/
.shop{
    padding: 100px 9% 30px;
}

/*Catalogue Title*/
.section-title{
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
}

/*Products Spacing*/
.product-content {
    justify-content:center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
    gap: 30px;
}

.product-box{
    min-width: 0;
    display: flex;
    flex-direction: column;
   
    /*Floating Thing*/
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    transition: transform .3s ease, box-shadow .3s ease; /*stops from others animating unnecessarily*/
    border: 1px solid #f2f2f2;
    cursor: pointer;
}

/*floating thing*/
.product-box:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
}

/*Products image Design*/
.product-box .img-box {
    position: relative;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f8f8;
    

   /* display: flex;
    border-radius: 10px;
    overflow: hidden;*/
}
/*
.product-box{
    display: flex;
    flex-direction: column;
    height: 100%;
}
 */

/*Products image */
.img-box img {
    width: 100%;
    height: auto;
    /*object-fit:cover;*/
    transition: 0.5s;

}

.img-box:hover img{
    transform: scale(1.05);
}

/*hidding scrollbar*/
.listCart::-webkit-scrollbar{
    width: 0;
}

.product-box .product-title {
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 3px;
    line-height: 1.4;

    display: block;
    width: 100%;
    max-width: 100%;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.product-box .price-and-cart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

/*Price of product*/
.price-and-cart .price{
    font-size: 15px;
    font-weight: 500;
    color: #666;
}

/*Square around cart icon on product*/
.price-and-cart .addie {
    padding: 10px;
    background: #E5A484;
    border-radius: 12px;
    width: 35px;
    color: #fff;
    cursor: pointer;
}

/* ==========================================================
   SIDE BAR
========================================================== */

.sidebar-toggle{
    position: fixed;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.header-brand-controls{
    display: flex;
    align-items: center;
    gap: 6px;
}

.main_box{
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.sidebar-open{
    position: relative;
    z-index: 1002;
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border: 1px solid #d9d9d9;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .25s ease, opacity .25s ease;
}

@media (hover: hover){
    .sidebar-open:hover{
        transform: scale(1.08);
        opacity: .8;
    }
}

.sidebar-open:active{
    transform: scale(.92);
}

.sidebar-open:hover,
.sidebar-open:active,
.sidebar-open:focus{
    border-color: #d9d9d9;
    background-color: #fff;
    color: #000;
}

.sidebar-toggle:focus-visible ~ header .sidebar-open{
    outline: 2px solid #333;
    outline-offset: 3px;
}

.sidebar-open img{
    display: block;
    width: 10px;
    height: 10px;
    object-fit: contain;
}

.sidebar-backdrop{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: auto;
    z-index: 1098;
    background: rgba(20, 15, 12, .38);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: opacity .3s ease, visibility .3s ease;
}

.sidebar_menu{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1099;
    display: flex;
    width: min(330px, 86vw);
    height: auto;
    max-height: none;
    padding:
        max(24px, env(safe-area-inset-top, 0px))
        22px
        max(24px, env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    color: #333;
    background: #fff;
    border-right: 1px solid #e0e0e0;
    box-shadow: 2px 0 10px rgba(93, 93, 93, .13);
    transform: translate3d(-100%, 0, 0);
    transition: transform .35s ease;
    will-change: transform;
    contain: layout paint;
}

.sidebar-toggle:checked ~ .sidebar-backdrop{
    opacity: 1;
    visibility: visible;
}

.sidebar-toggle:checked ~ .sidebar_menu{
    transform: translate3d(0, 0, 0);
}

.sidebar-toggle:checked ~ header .sidebar-open{
    opacity: 0;
    pointer-events: none;
}

.sidebar-header{
    position: relative;
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px 18px 16px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

.sidebar-header > span{
    position: static;
    margin-left: 8px;
    transform: translateY(10px);
    font-size: 32px;
    color: #E5A484;
}

.sidebar-close{
    display: grid;
    margin-left: auto;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.sidebar-close:hover{
    background: rgba(255, 255, 255, .2);
    transform: rotate(5deg);
}

.sidebar-close img{
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.menu2{
    margin-top: 22px;
}

.sidebar-section-title{
    margin: 0 16px 10px 24px;
    color: #999;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.menu2 ul{
    list-style: none;
}

.menu2 li{
    position: relative;
}

.menu2 li:not(:last-child)::after{
    content: "";
    position: absolute;
    right: 24px;
    bottom: 0;
    left: 24px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        #dedede 18%,
        #dedede 82%,
        transparent
    );
}

.menu2 a{
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 15px 16px;
    border-radius: 10px;
    color: #333;
    font-size: 17px;
    text-decoration: none;
    transition: background-color .2s ease, padding-left .2s ease;
}

.menu2 a span{
    display: flex;
    align-items: center;
    line-height: 20px;
}

.sidebar-item-icon{
    display: block;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    object-fit: contain;
    transform: translateY(-1px);
}

.menu2 a:hover,
.menu2 a:focus-visible,
.menu2 a:active{
    padding-left: 22px;
    background: #ededed;
    outline: none;
}

.social_media{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: auto;
    padding-top: 24px;
}

.social_media a{
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #f0f0f0;
    transition: background-color .2s ease, transform .2s ease;
}

.social_media a:hover{
    background: #e2e2e2;
    transform: translateY(-2px);
}

.social_media img{
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

@media screen and (max-width: 600px){
    .sidebar-open{
        width: 21px;
        height: 21px;
    }

    .sidebar-open img{
        width: 8px;
        height: 8px;
    }

    .sidebar_menu{
        width: min(260px, 72vw);
        padding:
            max(16px, env(safe-area-inset-top, 0px))
            16px
            max(16px, env(safe-area-inset-bottom, 0px));
        box-shadow: 2px 0 10px rgba(93, 93, 93, .13);
    }
}

@media (prefers-reduced-motion: reduce){
    .sidebar-backdrop{
        transition: none;
    }

    .sidebar_menu{
        transition: transform .35s ease;
    }
}

@media screen and (max-width: 600px){
    .cart,
    .wishlist{
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
}



/* ==========================================================
   HOMEPAGE CART
========================================================== */

.cart {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 360px;
    height: auto;

    background: #fff;
    box-shadow: -2px 0 10px rgba(93,93,93,.13);

    z-index: 1002;

    display: flex;
    flex-direction: column;

    transform: translate3d(100%, 0, 0);
    transition: transform .35s ease;
    will-change: transform;
    contain: layout paint;
}

.cart.active{
    transform: translate3d(0, 0, 0);
}


/*Your Cart*/
.cart-title{
   /* text-align: center;*/
    font-size: 30px;
    padding: 20px;
    margin: 0;
    color: #E5A484;
    background-color: rgba(243, 243, 243, 0.932);
    font-size: 38px;
    font-weight: 600;
    border-left: 1px solid #f7f7f7; 
    border-bottom: 2px solid #e6e6e6; 
}

.cart-title-count{
    color: #555;
    font-size: .5em;
    font-weight: 500;
}

@media screen and (min-width:601px) and (max-width:1440px){
    .cart-title{
        display:flex;
        align-items:center;
        gap:7px;
        padding-right:125px;
        white-space:nowrap;
    }

    .cart-title-count{flex:0 0 auto;}
}

/*scroll bar for cart*/
.cart-content{
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.cart-box {
    position: relative;
    display: block;
    margin: 18px;
    padding: 0;
    overflow: hidden;
    border-bottom: 1px solid #f1f1f1;
    border-radius: 10px 0 0 10px;
}

.cart-box-main{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    padding-bottom:18px;
    background:#fff;
    touch-action:pan-y;
    transform:translate3d(0, 0, 0);
    transition:transform .34s cubic-bezier(.22, 1, .36, 1);
    will-change:transform;
    backface-visibility:hidden;
}

.cart-box-main.is-dragging{
    transition:none;
}

.cart-box.is-swiped .cart-box-main{
    transform:translate3d(-222px, 0, 0);
}

.cart-swipe-actions{
    position:absolute;
    inset:0 0 0 auto;
    display:flex;
    width:222px;
}

.cart-swipe-actions[aria-hidden="true"]{
    visibility:hidden;
}

.cart-swipe-action{
    display:flex;
    flex:1;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:8px 4px;
    border:0;
    color:#fff;
    font:inherit;
    font-size:11px;
    cursor:pointer;
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
    transition:background-color .15s ease, opacity .15s ease;
    transform:none;
}

.cart-swipe-action.cart-move-wishlist{
     background:#e8b097; 
    }

.cart-swipe-action.cart-share{
     background:#333; 
    }

.cart-swipe-action.cart-delete{
     background:#d9534f; 
    }

.cart-box.swipe-dragging{
     background:#d9534f; 
    }

.cart-box.delete-armed{
     background:#d9534f; 
    }
.cart-box.delete-armed .cart-swipe-action:not(.cart-delete){
     opacity:.42; 
    }

.cart-box.delete-armed .cart-delete{ 
    background:#bd2f2b; 
}

.cart-swipe-action.cart-move-wishlist,
.cart-swipe-action.cart-share,
.cart-swipe-action.cart-delete{
     width:auto; height:auto; 
    }

.cart-swipe-action img,
.cart-swipe-action.cart-move-wishlist img{
     width:25px; height:25px;
      object-fit:contain; 
    }

.cart-swipe-action:focus-visible{ 
    outline:3px solid #fff; 
    outline-offset:-4px; 
}
e
.cart-swipe-action.cart-move-wishlist:active{
    background:#d89a7c;
    opacity:.86;
    transform:none;
}

@media (prefers-reduced-motion: reduce){
    .cart-box-main{ transition:none; }
}

/*Image in cart*/
.cart-img{
    display:block;
    width:100%;
    height:100%;
    border-radius:10px;
    object-fit:cover;
}

.cart-detail{
    display: grid;
    gap: 8px;
    margin-right: auto;
}

.cart-product-title{
    font-size: 16px;
    line-height: 1;
}

.cart-price {
    font-weight:500;
}

.cart-quantity{
    display: flex;
    align-items: stretch;
    width: 100px;
    height: 24px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: white;
    overflow: hidden;
}

.cart-quantity button{
    background: transparent;
    width: 30px;
    flex: 0 0 30px;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: .2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
}

.cart-quantity button img{
    display:block;
    width:8px;
    height:8px;
    object-fit:contain;
    pointer-events:none;
}

.number{
    flex: 0 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    line-height: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    border-left: 1px solid #ececec;
    border-right: 1px solid #ececec;
}

.cart-item-actions{
    display:flex;
    flex:0 0 auto;
    align-items:center;
    gap:10px;
    margin-right:12px;
}

.cart-item-actions .cart-move-wishlist{
    display:flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    padding:0;
    border:0;
    background:transparent;
    cursor:pointer;
    transition:.2s ease;
}

.cart-item-actions .cart-move-wishlist:hover,
.cart-item-actions .cart-move-wishlist:focus-visible{
    transform:scale(1.15);
    opacity:.7;
}

.cart-item-actions .cart-move-wishlist img{
    display:block;
    width:30px;
    height:30px;
    object-fit:contain;
}

.cart-remove{
    width: 30px;
    height: 30px;
    left: -55px;
    cursor: pointer;
    transition: .2s ease;
}

.cart-variants {
    font-size: 13px;
    color: #888;
    font-weight: 500;
    margin: 1px 0 3px;
    letter-spacing: 0.2px;
}


.cart-remove:hover{
    transform:scale(1.15);
    opacity: .7;
}

.cart-variants span {
    display: inline;
}

/*Money position*/
.total{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ececec; /*Line in Cart*/
    padding: 20px;
    font-size: 18px;
   padding-top: 20px;
   padding-right: 20px;
   margin-top: auto;
}

.total-price{
    margin-left: 10px;
    font-weight: 600;
}

.btn-buy{
    display: block;
    width: calc(100% - 40px);
    padding: 14px;
    background: #E5A484;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin: 25px auto 0;
    cursor: pointer;
    transition: .25s ease;
}

.btn-buy:hover{
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(229,164,132,.45);
}
.btn-buy:hover{
    transform: translateY(0) scale(.98);
}

.flying-image{
    position: fixed;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;

    pointer-events: none;

    z-index: 100001;

    transition:
        left .65s cubic-bezier(.25,.8,.25,1),
        top .65s cubic-bezier(.25,.8,.25,1),
        width .65s ease,
        height .65s ease,
        opacity .65s ease;
}


.cart-empty{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:60px 25px;
    color:#888;
}

.continue-shopping{
    margin-top:25px;
    padding:12px 28px;
    border:none;
    border-radius:30px;

    background:#E5A484;
    color:white;

    font-size:15px;
    font-weight:600;

    cursor:pointer;
    transition:.3s;
}

/*CLOSE IMAGE*/
#cart-close{
    width: 22px;

    height: 22px;

    object-fit: contain;
    display:block;
    cursor: pointer;
}

.cart-header-actions{
    position:absolute;
    top:25px;
    right:24px;
    z-index:4;
    display:flex;
    align-items:center;
    gap:10px;
}

.cart-menu-toggle,
.cart-close-button{
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    padding:0;
    border:0;
    background:transparent;
    cursor:pointer;
}

.cart-menu-toggle img{
    width:25px;
    height:25px;
    display:block;
    object-fit:contain;
    transform:translateY(1px);
}

.cart-menu-toggle img{
    transition:transform .25s ease,opacity .25s ease;
}

.cart-menu-toggle:hover img{
    transform:translateY(-2px) scale(1.08);
    opacity:.8;
}

.cart-menu-toggle:active img{transform:translateY(1px) scale(.92);}
.cart-close-button #cart-close{
    width:22px;
    height:22px;
    padding:0;
    box-sizing:border-box;
    object-fit:contain;
    opacity:1;
}

.cart-actions-menu{
    position:absolute;
    top:42px;
    right:38px;
    min-width:150px;
    width:max-content;
    padding:6px;
    border:1px solid #ececec;
    border-radius:10px;
    background:#fff;
    box-shadow:0 10px 28px rgba(51,51,51,.16);}

.cart-actions-menu[hidden]{
    display:none;
}

.cart-actions-menu button{
    width:100%;min-height:40px;
    padding:11px 12px;
    border:0;
    border-radius:7px;
    background:transparent;
    color:#333;
    font:inherit;
    line-height:1;
    text-align:left;
    white-space:nowrap;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:9px;
}

.cart-actions-menu button:hover,
.cart-actions-menu button:focus-visible{
    background:#f5f5f5;
    outline:none;
}

.cart-actions-menu .cart-delete-all{
    color:#b33939;
}

.cart-actions-menu button img{
    width:16px;
    height:16px;
    flex:0 0 16px;
    display:block;
    object-fit:contain;
    transform:translateY(-2px);
}

.wishlist-header-actions{
    position:absolute;
    top:25px;
    right:24px;
    z-index:4;
    display:flex;
    align-items:center;
    gap:10px;
}

.wishlist-menu-toggle,.wishlist-close-button{
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    padding:0;
    border:0;
    background:transparent;
    cursor:pointer;
}

.wishlist-menu-toggle img{
    width:25px;
    height:25px;
    display:block;
    object-fit:contain;
    transform:translateY(1px);transition:transform .25s ease,opacity .25s ease;
}

.wishlist-menu-toggle:hover img{
    transform:translateY(-2px) scale(1.08);
    opacity:.8;
}

.wishlist-menu-toggle:active img{
    transform:translateY(1px) scale(.92);
}

.wishlist-header-actions #wishlist-close{
    position:static;
    width:22px;
    height:22px;
    padding:0;
    box-sizing:border-box;
    object-fit:contain;
    opacity:1;
}

.wishlist-actions-menu{
    position:absolute;
    top:42px;
    right:38px;
    min-width:165px;
    width:max-content;
    padding:6px;
    border:1px solid #ececec;border-radius:10px;background:#fff;box-shadow:0 10px 28px rgba(51,51,51,.16);}

.wishlist-actions-menu[hidden]{
    display:none;
}

.wishlist-actions-menu button{
    width:100%;
    min-height:40px;
    padding:11px 12px;
    border:0;
    border-radius:7px;
    background:transparent;
    color:#333;
    font:inherit;
    line-height:1;
    text-align:left;
    white-space:nowrap;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:9px;
}

.wishlist-actions-menu button:hover,
.wishlist-actions-menu button:focus-visible{
    background:#f5f5f5;
    outline:none;
}

.wishlist-actions-menu button img{
    width:16px;
    height:16px;
    flex:0 0 16px;
    display:block;
    object-fit:contain;
    transform:translateY(-2px);
}



@media screen and (min-width:601px) and (max-width:1440px){
    .cart-header-actions{right:27px;}
}

.continue-shopping:hover{
    background:#d99273;
    transform:translateY(-2px);
}

@media screen and (max-width:600px){
    .cart-header-actions{
        top:13px;
        right:27px;
        gap:9px;
    }

    .wishlist-header-actions{
        top:13px;
        right:27px;
        gap:9px;
    }

    .cart-menu-toggle,
    .cart-close-button{
        width:36px;
        height:36px;
        padding:0;
    }

    .wishlist-menu-toggle,
    .wishlist-close-button{
        width:36px;
        height:36px;
        padding:0;
    }

    .cart-menu-toggle img{
        width:25px;
        height:25px;
    }

    .cart-close-button #cart-close{
        width:22px;
        height:22px;
        padding:0;
        box-sizing:border-box;
        opacity:1;
    }
}

.continue-shopping:active{
    transform:scale(.97);
}

.empty-cart-icon{
    width:70px;
    opacity:.25;
    margin-bottom:18px;
}

/*Numbers in cart*/
.cart-quantity .number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    cursor: default;
}

@media (hover:hover) and (pointer:fine){
    .increment:hover{
        background: rgba(229,164,132,.18);
        color:#E5A484;
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }

    .decrement:hover{
        background: rgba(229,164,132,.18);
        color:#E5A484;
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
    }
}

.cart-quantity button:active{
    background: #E5A484;
    color: white;
    transform: scale(.95);
}

.cart-quantity .quantity{
    color: #999;

}



    


/*.cart-content .cart-box:nth-child(even){
    background-color: rgba(243, 243, 243, 0.932);
    /*border-bottom: 1px solid #cccccc;
    border-top: 1px solid #cccccc;*
}*/


.cart-empty h3{
    font-size:22px;
    color:#444;
    margin-bottom:10px;
}

.cart-empty p{
    font-size:15px;
    line-height:1.5;
}


.search-bar{
    position: fixed;
    top: 88px;
    left: 0;

    width: 100%;
    padding: 0 25px;

    background: white;

    box-sizing: border-box;

    max-height: 0;
    overflow: hidden;

    opacity: 0;

    z-index: 999;

    transition: all .35s ease;
    
    
}

.search-bar.active{
    max-height: 100px;
    padding: 15px 25px;

    opacity: 1;
}
.search-input-wrapper{

    position: relative;

    width: 100%;

}
#search-close{

    position: absolute;

    right: 24px;
    top: 50%;

    transform: translateY(-50%);

    width: 16px;

    cursor: pointer;

    opacity: .6;

    transition: .25s ease;

    z-index: 2;

}

#search-close:hover{

    opacity: 1;
    transform: translateY(-50%) scale(1.08);

}

#search-input{
    width: 100%;
    padding: 14px 48px 14px 18px;

    border: 1px solid #ddd;
    border-radius: 30px;

    outline: none;

    font-size: 15px;

    transition: .25s ease;
}

#search-input:focus{
    border-color: #E5A484;
    box-shadow: 0 0 10px rgba(229,164,132,.25);
}

/* iOS zooms the viewport when a focused input is smaller than 16px. */
@media screen and (max-width:600px){
    #search-input{
        font-size:16px;
    }
}

.no-results{
    display: none;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results h2{
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.no-results p{
    font-size: 16px;
}


/* FILTER BAR */

.filter-bar{
    position: fixed;
    top: 155px;
    left: 0;

    width: 100%;
    display: flex;
    justify-content: center; /*change to inbtwn if you want the filter bar spaced*/
    gap: 10px; 
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;

    background: white;

    max-height: 0;
    overflow: hidden;

    opacity: 0;

    padding: 0 20px;

    z-index: 998;

    transition: all .35s ease;
}

.filter-bar.active{
    max-height: 120px;
    opacity: 1;
    padding: 15px 20px 20px;
}

.filter-btn{
    padding: 10px 20px;
    border: 1px solid #E5A484;
    background: white;
    color: #E5A484;
    border-radius: 999px;
    cursor: pointer;
    font-size: 15px;
    transition: .3s;
    white-space: nowrap;
    flex-shrink: 1;
}

.filter-btn:hover{
    background: #E5A484;
    color: white;
}

.filter-btn.active{
    background: #E5A484;
    color: white;
}


/* ==========================================================
   WISHLIST
========================================================== */
.wishlist{

    position: fixed;

    top: 0;
    bottom: 0;

    right: 0;

    width: 360px;

    height: auto;

    background: #fff;

    box-shadow: -2px 0 10px rgba(93,93,93,.13);

    z-index: 1002;

    display: flex;

    flex-direction: column;

    transform: translateX(100%);

    transition: transform .35s ease;

}

.wishlist-content{

    flex: 1;

    overflow-y: auto;

    min-height: 0;

    contain: layout paint;

}

.wishlist.active{

    transform: translateX(0);

}

.wishlist-title{

    padding: 20px;

    font-size: 38px;

    font-weight: 600;

    color: #E5A484;

    background: rgba(243,243,243,.93);

    border-bottom: 2px solid #e6e6e6;

}

#wishlist-close{

    position: absolute;

    top: 32px;

    right: 25px;

    width: 22px;

    height: 22px;

    object-fit: contain;

    cursor: pointer;

}

#cart-close,
#wishlist-close{
    transition:transform .25s ease, opacity .25s ease;
}

#cart-close:hover,
#wishlist-close:hover{
    transform:translateY(-2px) scale(1.08);
    opacity:.8;
}

#cart-close:active,
#wishlist-close:active{
    transform:scale(.92);
}

#search-close:active{
    transform:translateY(-50%) scale(.92);
}

.wishlist-item{

    display: flex;

    align-items: center;

    gap: 0;

    padding: 18px;

    border-bottom: 1px solid #f1f1f1;

}

.wishlist-item > img{

    width: 82px;

    height: 82px;

    object-fit: cover;

    border-radius: 10px;

}

#wishlist-nav-icon{

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: .25s ease;

}

.wishlist-nav-image{

    width: 26px;
    display: block;
    object-fit: contain;

}

#wishlist-nav-icon:hover{

    transform: scale(1.08);

    opacity: .8;

}

.wishlist-details{

    display: flex;

    flex-direction: column;

    gap: 8px;

    flex: 1;

    padding-right: 45px;

    /* shorter adcart button
    .wishlist-details{

    display: flex;

    flex-direction: column;

    gap: 6px;

}
    */

}


.wishlist-details span{

    color: #666;

    font-size: 15px;

}

.wishlist-item{
    position: relative;

}

.wishlist-remove{

    position: absolute;

    top: calc(50% - 15px);

    right: 20px;

    width: 30px;

    height: 30px;

    padding: 0;

    border: none;

    border-radius: 0;

    background: transparent;

    display: flex;

    justify-content: center;

    align-items: center;

    cursor: pointer;

    box-shadow: none;

    transition: .2s ease;

}

.wishlist-remove:hover{

    transform: scale(1.15);

    opacity: .7;

}

.wishlist-remove-icon{

    width: 30px;

    height: 30px;

    display: block;

    object-fit: contain;

}

.wishlist-add-cart{

    width: 80%;

    margin-top: 10px;

    padding: 9px 13px;

    border: none;

    border-radius: 8px;

    background: #E5A484;

    color: white;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: .25s ease;

}

.wishlist-add-cart:hover{

    transform: translateY(-2px);

}
.wishlist-footer{

    padding: 20px;

    border-top: 1px solid #ececec;
    margin-top: auto;

}

.clear-wishlist{

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    padding: 14px;

    border: 1px solid #dddddd;

    border-radius: 10px;

    background-color: rgba(243, 243, 243, 0.932);

    color: #666;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: .25s ease;

}

.clear-wishlist:hover,
.clear-wishlist.is-confirming{

    color: #d9534f;

    border-color: #d9534f;

}

.clear-wishlist-icon{

    width: 18px;

    height: 18px;

    object-fit: contain;

}

@media (min-width:601px){
    .clear-wishlist.is-confirming{
        color:#d9534f;
        border-color:#d9534f;
    }
}

.wishlist-add-cart:active{

    transform: scale(.96);

}


.wishlist-btn{

    position: absolute;

    top: 12px;
    left: 12px;

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,.95);

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;

    box-shadow: 0 6px 18px rgba(0,0,0,.12);

    transition: .25s ease;

    z-index: 2;
    padding: 0;

}

.wishlist-icon{

    width: 18px;
    height: 18px;

    object-fit: contain;

    display: block;
    transform: translate(0px, 1px);

    transition: .25s ease;

}

.wishlist-btn:hover{

    transform: scale(1.08);

}

.wishlist-btn:active{

    transform: scale(.92);

}


/* ---------- EMPTY WISHLIST ---------- */

.wishlist-empty{

    display: none;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 60px 25px;

    color: #888;

    animation: fadeWishlist .3s ease;

}

.wishlist-empty-icon{

    width: 70px;

    opacity: .25;

    margin-bottom: 18px;

}

.wishlist-empty h3{

    font-size: 22px;

    color: #444;

    margin-bottom: 10px;

}

.wishlist-empty p{

    font-size: 15px;

    line-height: 1.5;

    margin-bottom: 25px;

}

.wishlist-continue{

    padding: 12px 28px;

    border: none;

    border-radius: 30px;

    background: #E5A484;

    color: white;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: .25s ease;

}

.wishlist-continue:hover{

    transform: translateY(-2px);

}

.wishlist-continue:active{

    transform: scale(.97);

}

@keyframes fadeWishlist{

    from{

        opacity: 0;

        transform: translateY(10px);

    }

    to{

        opacity: 1;

        transform: translateY(0);

    }

}

@keyframes heartPop{

    0%{

        transform: scale(1);

    }

    50%{

        transform: scale(.8);

    }

    100%{

        transform: scale(1.15);

    }

}
.heart-pop{

    animation: heartPop .25s ease;

}


/* ==========================================
   ACCOUNT
========================================== */

#account-icon{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:.25s ease;
}

.account-image{
    width:26px;
    height:26px;
    display:block;
    object-fit:contain;
}

.account-image.has-profile-image{
    border-radius:50%;
    object-fit:cover;
}

.account-initials{
    display:none;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    border-radius:50%;
    background:#E5A484;
    color:#fff;
    font-size:11px;
    font-weight:800;
    letter-spacing:.03em;
    text-transform:uppercase;
}

#account-icon.show-initials .account-image{
    display:none;
}

#account-icon.show-initials .account-initials{
    display:flex;
}

#account-icon:has(.home-account-menu:not([hidden])){
    transform:none;
    opacity:1;
}

.home-account-menu{
    position:absolute;
    top:calc(100% + 14px);
    right:0;
    z-index:1200;
    width:250px;
    padding:18px;
    border:1px solid #eee;
    border-radius:14px;
    background:#fff;
    box-shadow:0 18px 45px rgba(0,0,0,.16);
    cursor:default;
    text-align:left;
}

.home-account-name{
    margin:0 0 5px;
    color:#333;
    font-size:16px;
    font-weight:700;
}

.home-account-email{
    overflow:hidden;
    margin:0 0 16px;
    color:#777;
    font-size:13px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.home-account-menu a,
.home-account-menu button{
    display:block;
    width:100%;
    padding:11px 14px;
    border-radius:9px;
    font-size:14px;
    font-weight:600;
    text-align:center;
    text-decoration:none;
}

.home-account-menu a{
    margin-bottom:8px;
    border:1px solid #E5A484;
    background:#fff;
    color:#E5A484;
}

.home-account-menu button{
    border:0;
    background:#333;
    color:#fff;
    cursor:pointer;
}

@media (max-width:600px){
    .home-account-menu{
        position:fixed;
        top:76px;
        right:12px;
        width:min(270px, calc(100vw - 24px));
    }
}

#account-icon:hover{
    transform:scale(1.08);
    opacity:.8;
}

.account-modal-icon{
    width:60px;
    height:60px;
    object-fit:contain;
    display:block;
    margin:0 auto 18px;
}

.account-header{
    text-align:center;
    margin-bottom:30px;
}

.account-header h2{
    font-size:32px;
    margin-bottom:10px;
}

.account-header p{
    color:#777;
    font-size:15px;
}

.account-form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.input-group{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.input-group label{
    font-size:14px;
    font-weight:600;
}

.input-group input{
    padding:14px 16px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:15px;
    outline:none;
}

.input-group input:focus{
    border-color:#E5A484;
}

.account-options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14px;
}

.signin-btn,
.create-account-btn{
    width:100%;
    padding:15px;
    border:none;
    border-radius:14px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
}

.signin-btn{
    background:#E5A484;
    color:white;
}

.create-account-btn{
    background:white;
    border:1px solid #ddd;
    color:#555;
    -webkit-appearance:none;
    appearance:none;
}

.account-divider{
    text-align:center;
    margin:25px 0;
    color:#888;
}

.account-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .3s ease,
        visibility .3s ease;

    z-index: 99999;
}

.account-overlay.active{
    opacity: 1;
    visibility: visible;
}

.account-modal{
    width:100%;
    max-width:460px;
    max-height:90vh;

    background:#fff;
    border-radius:22px;

    padding:40px;

    position:relative;

    overflow-y:auto;
    scrollbar-width:none;
    -ms-overflow-style:none;

    box-shadow:0 25px 70px rgba(0,0,0,.18);

    transform:scale(.95);
    opacity:0;

    transition:
        transform .3s ease,
        opacity .3s ease;
}

.account-overlay.active .account-modal{
    transform: scale(1);
    opacity: 1;
}

.account-modal::-webkit-scrollbar{
    display:none;
    width:0;
    height:0;
}

@media screen and (max-width:600px){
    .account-overlay{
        padding:16px;
    }

    .account-modal{
        width:100%;
        max-width:360px;
        max-height:calc(100dvh - 32px);
        padding:24px;
        border-radius:18px;
    }

    .account-modal-icon{
        width:44px;
        height:44px;
        margin-bottom:12px;
    }

    .account-header{
        margin-bottom:20px;
    }

    .account-header h2{
        margin-bottom:6px;
        font-size:26px;
    }

    .account-header p{
        font-size:14px;
    }

    .account-form,
    .register-form{
        gap:14px;
    }

    .input-group input{
        padding:12px 14px;
    }

    .signin-btn,
    .create-account-btn{
        padding:13px;
    }

    .account-divider{
        margin:18px 0;
    }

}

.account-close{
    display:none;
}


/* =========================
   ACCOUNT VIEWS
========================= */
.signin-view,
.register-view{
    transition: opacity .3s ease, transform .3s ease;
}

.signin-view{
    display:block;
    opacity:1;
    transform:translateX(0);
}

.signin-view.hide{
    display:none;
    opacity:0;
    transform:translateX(-20px);
}

.register-view{
    display:none;
    opacity:0;
    transform:translateX(20px);
}

.register-view.active{
    display:block;
    opacity:1;
    transform:translateX(0);
}

.register-form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.register-name-row{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
}

.register-name-row .input-group{
    min-width:0;
}

.register-name-row input{
    width:100%;
    min-width:0;
}

.terms-check{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin:18px 0;
    font-size:14px;
    color:#666;
}
.register-btn,
.back-to-signin-btn{
    width:100%;
    padding:14px;
    border-radius:12px;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.25s ease;
}
.register-btn{
    background:#E5A484;
    color:#fff;
    border:none;
    margin-top:20px;
}

.register-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 22px rgba(229,164,132,.35);
}
.back-to-signin-btn{
    margin-top:18px;
    background:#fff;
    color:#E5A484;
    border:1px solid #E5A484;
}

.back-to-signin-btn:hover{
    background:#E5A484;
    color:#fff;
}

.back-to-signin-btn{
    margin-top:18px;
    padding:14px;
    border:1px solid #E5A484;
    border-radius:12px;
    background:white;
    color:#E5A484;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.25s ease;
}

.back-to-signin-btn:hover{
    background:#E5A484;
    color:white;
}

@media screen and (max-width:600px){
    .register-view .account-modal-icon{
        display:none;
    }

    .register-view .account-header{
        margin-bottom:14px;
    }

    .register-view .account-header h2{
        font-size:24px;
    }

    .register-form{
        gap:10px;
    }

    .register-form .input-group{
        gap:4px;
    }

    .register-form .input-group input{
        padding:10px 12px;
    }

    .register-form .terms-check{
        margin:6px 0;
    }

    .register-btn{
        margin-top:4px;
        padding:12px;
    }

    .register-view > .account-divider{
        margin:14px 0;
    }

    .back-to-signin-btn{
        margin-top:0;
        padding:12px;
    }
}

@media screen and (max-width:380px){
    .register-name-row{
        grid-template-columns:1fr;
        gap:10px;
    }
}



/* ---------- CONFIRM POPUP ---------- */

.confirm-overlay{

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.55);

    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    transition: .3s ease;

    z-index: 99999;

}

.confirm-overlay.active{

    opacity: 1;
    visibility: visible;

}

.confirm-box{

    width: 90%;
    max-width: 380px;

    background: white;

    border-radius: 18px;

    padding: 28px;

    text-align: center;

    transform: scale(.9);

    transition: .3s ease;

}

.confirm-overlay.active .confirm-box{

    transform: scale(1);

}

/* Move confirmation uses the standard soft rise without a zoom effect. */
.move-wishlist-confirm-overlay .confirm-box{
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .3s ease, transform .3s ease;
}

.move-wishlist-confirm-overlay.active .confirm-box{
    opacity: 1;
    transform: translateY(0);
}

.confirm-icon{

    width: 48px;

    margin-bottom: 18px;

}

.confirm-box h2{

    font-size: 26px;

    margin-bottom: 12px;

    color: #333;

}

.confirm-box p{

    color: #666;

    line-height: 1.5;

    margin-bottom: 24px;

}

.confirm-buttons{

    display: flex;

    gap: 12px;

}

.confirm-buttons button{

    flex: 1;

    padding: 12px;

    border-radius: 10px;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: .25s ease;

}

.confirm-cancel{

    background: white;

    border: 1px solid #ddd;

    color: #555;

}

.confirm-cancel:hover{

    background: #f5f5f5;

}

.confirm-clear{

    background: #E5A484;

    border: none;

    color: white;

}

.confirm-clear:hover{

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(229,164,132,.35);

}

/* ---------- PRODUCT MODAL ---------- */

.product-modal-overlay{

    position: fixed;

    inset: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    background: rgba(0,0,0,.45);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    opacity: 0;

    visibility: hidden;

    transition: .3s ease;

    z-index: 99998;

}

.product-modal-overlay.active{

    opacity: 1;

    visibility: visible;

}

.product-modal-overlay.active .product-modal{

    transform: scale(1);

}

.product-modal-image{

    width: 100%;

    border-radius: 14px;

    margin-bottom: 18px;

}

.product-modal-price{

    display: block;

    font-size: 16px;

    font-weight: 600;

    color: #E5A484;

    margin-bottom: 18px;
    margin-top: 8px;

    margin-left: 0;

}

.product-modal-description{

    color: #666;

    line-height: 1.6;

    margin-bottom: 22px;

}

.product-modal-cart{

    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 12px;

    background: #E5A484;

    color: white;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition: .25s ease;

     margin-top: 28px;

}

.product-modal-cart:hover{

    transform: translateY(-2px);

}

.product-modal-close{

    position: absolute;

    top: 38px;

    right: 38px;

    width: 38px;

    height: 38px;

    border: none;

    border-radius: 50%;

    background: rgba(255,255,255,.95);

    box-shadow: 0 6px 16px rgba(0,0,0,.18);

    display: flex;

    justify-content: center;

    align-items: center;

    cursor: pointer;

    z-index: 20;

    transition: .25s ease;

}
.product-modal-close-icon{

    width: 14px;

    height: 14px;

    object-fit: contain;

    display: block;

}
.product-modal-close:hover{

    transform: scale(1.08);

}

.product-modal-close:active{

    transform: scale(.94);

}

.product-modal-favorite{
    display: inline-block;
    width: fit-content;
    padding: 0;
    margin: -8px 0 18px;

    background: transparent;
    border: none;
    cursor: pointer;
    color: #74b816;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.product-modal-favorite:hover{
    color: #5c940d;
}


.product-modal{
    width: min(94vw, 700px);
    background: #fff;
    border-radius: 26px;
    padding: 26px;
}

.product-modal-top{
    display: flex;
    align-items: stretch;
    gap: 18px;
}

.product-modal-left{
    flex: 0 0 130px;
}

.product-modal-right{
    flex: 1 1 auto;
    min-width: 0;
}

.product-modal-image{
    width: 160px;
    height: 160px;
    border-radius: 18px;
    object-fit: cover;
    display: block;
    margin: 0;
}

.product-modal-header{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 10px;
    flex: 1;
}

.product-modal-title{
    flex: 1;
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
}

.product-modal-color-options button,
.product-modal-size-options button{
    border: 1px solid #d8d8d8;
    background: #ffffff;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-modal-color-options button:hover,
.product-modal-size-options button:hover{
    border-color: #d89a72;
}

.product-modal-color-options button.selected,
.product-modal-size-options button.selected{
    background: #E5A484;
    color: #ffffff;
    border-color: #E5A484;
    font-weight: 600;
}

.product-modal-color-options,
.product-modal-size-options{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:10px;
}

.product-modal-color-btn,
.product-modal-size-btn{
    padding:10px 18px;
    border:1px solid #e8e8e8;
    border-radius:999px;
    background:#fff;
    color:#444;
    font-size:14px;
    cursor:pointer;
    transition:.25s ease;
}

.product-modal-color-btn:hover,
.product-modal-size-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 14px rgba(0,0,0,.08);
}

.product-modal-color-btn.active,
.product-modal-size-btn.active{
    background:#E5A484;
    border-color:#E5A484;
    color:#fff;
}

.product-modal-colors,
.product-modal-sizes{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 18px;
}

.product-modal-colors h3,
.product-modal-sizes h3{
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
    color: #444;
}

.product-modal-color-options,
.product-modal-size-options{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.product-modal-description-row{
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
}

.product-modal-description{
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-modal-read-more{
    flex: 0 0 auto;
    color: #a8a8a8;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* Keep the add-to-cart modal compact on laptop screens. */
@media screen and (min-width: 601px) and (max-width: 1200px){
    .product-modal{
        width: min(86vw, 560px);
        padding: 20px;
    }

    .product-modal-left{
        flex-basis: 120px;
    }

    .product-modal-image{
        width: 120px;
        height: 120px;
    }

    .product-modal-right{
        height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .product-modal-title{
        font-size: 22px;
    }

    .product-modal-header{
        margin-bottom: 0;
        flex: 0 0 auto;
    }

    .product-modal-price{
        margin: 0;
    }

    .product-modal-favorite{
        margin: 0;
    }

    .product-modal-description{
        margin: 0;
        font-size: 13px;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-modal-description-row{
        display: flex;
        align-items: baseline;
        gap: 6px;
        min-width: 0;
    }

    .product-modal-description{
        flex: 0 1 auto;
        min-width: 0;
    }

    .product-modal-read-more{
        flex: 0 0 auto;
        color: #a8a8a8;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
    }

    .product-modal-title{
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-modal-colors,
    .product-modal-sizes{
        margin-top: 14px;
    }
}

 /*-----------FOOTER----------------*/
 
 
.container2{
    max-width: 1170px;
    margin: auto;
}
/*Old form
.row2{
    display: flex;
    flex-wrap: wrap;
}*/

.row2{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap: 20px;
    flex-wrap:wrap;
}

.footer ul{
    list-style:none;
}

/*the Background Size*/
.footer{
padding: 90px 0 70px;
background: #FCFCFC;
border-top: 1px solid #ECECEC;
margin-top:50px;
    
}

.footer-col{
    width: 25%;
    padding: 0 15px;
    padding:0 15px;
    
    
}

/*Headings*/
.footer-col h4{
    font-size:22px;
    font-weight:600;
    color:#222;
    margin-bottom:28px;
    position:relative;
    display:inline-block;
}
.footer-col h4::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-10px;
    width:36px;
    height:2px;
    background:#E5A484;
    border-radius:999px;
    transition:width .3s ease;
}

.footer-col:hover h4::after{
    width:52px;
}

.footer-col ul li{
    margin-bottom:14px;
}

.footer-col ul li:not(:last-child){
    margin-bottom: 10px;
}

/*Shipping, Merch, Giftcards...*/
.footer-col ul li a{
    font-size: 15px;
    text-transform: capitalize;
    line-height:1.7;
    white-space:nowrap;
    text-decoration: none;
    font-weight: 300;
    color: #555;
    display: block;
    transition: .25s ease;

}
.footer-col ul li a:hover{
    color: #ffffff;
    padding-left: 8px;

}

.social-links{
    display:flex;
    gap:14px;
    align-items:center;
    margin-top:20px;
}
.social-links a{
    display:flex;
    align-items:center;
    justify-content:center;

    width:42px;
    min-width:42px;
    height:42px;

    border:1px solid #EAEAEA;
    border-radius:50%;

    background:#fff;

    transition:all .25s ease;
}
.social-links img{
    width:18px;
    height:18px;
    object-fit:contain;
}

.social-links a:hover{
    transform:translateY(-4px);

    border-color:#E5A484;

    box-shadow:0 10px 24px rgba(229,164,132,.22);
}

.footer-col ul li a{
    transition:.25s ease;
}

.footer-col ul li a:hover{
    color:#E5A484;
    padding-left:6px;
}

.footer-bottom{
    margin-top: 70px;
}

.footer-divider{
    width:100%;
    height:1px;
    background:#EAEAEA;
    margin-bottom:28px;
}

.footer-bottom-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

.footer-copyright{
    font-size:13px;
    color:#888;
}

.footer-bottom-links{
    display:flex;
    gap:24px;
}

.footer-bottom-links a{
    text-decoration:none;
    color:#777;
    font-size:14px;
    transition:.25s ease;
}

.footer-bottom-links a:hover{
    color:#E5A484;
}

.footer-bottom-links a{
    transition:.25s ease;
}

.footer-bottom-links a:hover{
    color:#E5A484;
}

@media screen and (min-width:601px) and (max-width:1200px) {
    .footer{
        padding:90px 9% 70px;
    }

    .social-links{
        display:grid;
        grid-template-columns:repeat(2, 42px);
        gap:14px;
    }

    .social-links a{
        width:42px;
        min-width:42px;
        height:42px;
    }

    .footer-bottom-content{
        flex-direction:column;
        align-items:center;
        justify-content:center;
        text-align:center;
    }

    .footer-bottom-links{
        justify-content:center;
    }
}





@media screen and (max-width:600px) {

/* Keep the catalogue inside the phone viewport, including narrow devices. */
.shop{
    width:100%;
    padding-right:9%;
    padding-left:9%;
}

.product-content{
    width:100%;
    min-width:0;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
}

.product-box,
.product-box .img-box,
.product-box .price-and-cart{
    width:100%;
    min-width:0;
    max-width:100%;
}

/* Compact the add-to-cart modal while preserving vertical scrolling. */
.product-modal-overlay{
    padding:
        max(14px, env(safe-area-inset-top, 0px))
        14px
        max(14px, env(safe-area-inset-bottom, 0px));
}

/* Flexible product option groups used by the homepage product modal. */
.product-modal-options-dynamic{
    display:flex;
    flex-direction:column;
}

.product-modal-option-group{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    margin:0;
}

.product-modal-option-group h3{
    margin:0 0 10px;
    font-size:16px;
    font-weight:600;
    color:#444;
}

.product-modal-option-values{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    width:100%;
}

.product-modal-option-values.has-one-option{
    width:auto;
}

.product-modal-option-btn{
    padding:10px 18px;
    border:1px solid #e8e8e8;
    border-radius:999px;
    background:#fff;
    color:#444;
    font:inherit;
    font-size:14px;
    cursor:pointer;
    transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.product-modal-option-btn:hover{
    transform:translateY(-2px);
    border-color:#E5A484;
    box-shadow:0 6px 14px rgba(0,0,0,.08);
}

.product-modal-option-btn.active{
    background:#E5A484;
    border-color:#E5A484;
    color:#fff;
}

.product-modal{
    width: 100%;
    max-height: calc(
        100dvh
        - max(28px, env(safe-area-inset-top, 0px))
        - env(safe-area-inset-bottom, 0px)
    );
    box-sizing: border-box;
    padding: 18px;
    border-radius: 20px;
    overflow-y: auto;
}

.product-modal-top{
    gap: 12px;
}

.product-modal-left{
    flex-basis: 96px;
}

.product-modal-image{
    width: 96px;
    height: 96px;
    border-radius: 14px;
}

.product-modal-right{
    height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-modal-title{
    font-size: 20px;
}

.product-modal-header{
    margin-bottom: 0;
    flex: 0 0 auto;
}

.product-modal-price{
    margin: 0;
}

.product-modal-favorite{
    margin: 0;
}

.product-modal-description{
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-modal-description-row{
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

.product-modal-description{
    flex: 0 1 auto;
    min-width: 0;
}

.product-modal-read-more{
    flex: 0 0 auto;
    color: #a8a8a8;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.product-modal-title{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-modal-colors,
.product-modal-sizes{
    margin-top: 14px;
}

.product-modal-color-btn,
.product-modal-size-btn{
    padding: 8px 14px;
}

.product-modal-cart{
    margin-top: 18px;
    padding: 12px;
}

/* ==========================
   FOOTER
========================== */

.wishlist{
    width:100%;
}

.wishlist-title{
    font-size:30px;
    padding:18px;
}


.footer{
    padding:60px 28px 35px;
}

.container2{
    width:100%;
}

.row2{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:42px;
}

.footer-col{
    width:100%;
    max-width:320px;
    text-align:center;
    padding:0;
}

.footer-col h4{
    font-size:26px;
    margin-bottom:22px;
}

.footer-col ul{
    margin-top:18px;
}

.footer-col ul li{
    margin-bottom:14px;
}

.footer-col ul li a{
    font-size:16px;
    line-height:1.8;
}

.social-links{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;

    width:100%;

    margin:18px auto 0;
}

.social-links img{
    width:18px;
    height:18px;
    object-fit:contain;
}

.social-links a:hover{
    border-color:#E5A484;
    transform:translateY(-2px);
}

.social-links a{
    display:flex;
    align-items:center;
    justify-content:center;

    width:42px;
    height:42px;

    border:1px solid #EAEAEA;
    border-radius:50%;

    background:#fff;

    transition:all .25s ease;
}
.footer-bottom{
    margin-top:50px;
}

.footer-bottom-content{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:16px;
}

.footer-copyright{
    text-align:center;
}

.footer-bottom-links{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
}



   .filter-bar{
    justify-content: center;
    gap: 8px;
}
   .filter-btn{
    flex: 1 1 70px;
    max-width: 95px;

    padding: 8px 6px;

    font-size: 13px;
    text-align: center;
}

    .product-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .cart{
        width: 100%;
    }

    .price-and-cart .addie{
        width: 28px;
        padding:8px;
        border-radius: 10px;

    }

    .product-box{
        padding: 8px;
    }

    .product-box .product-title{
        margin-top: 6px;
    }

    .price-and-cart .price{
        font-size: 16px;

    }


.toast{
    width: calc(100% - 32px);
    max-width: 420px;
    font-size: 14px;
    text-align: center;
}
}

 @keyframes cartBounce{
    0%{
        transform: scale(1);
    }

    40%{
        transform: scale(1.25);
    }

    70%{
        transform: scale(.9);
    }

    100%{
        transform: scale(1);
    }
}

.cart-bounce{
    animation: cartBounce .45s ease;
}

@keyframes badgePop{
    0%{
        transform: scale(1);
    }

    50%{
        transform: scale(1.35);
    }

    100%{
        transform: scale(1);
    }
}

.badge-pop{
    animation: badgePop .3s ease;
}

/* ---------- TOAST NOTIFICATION ---------- */

.toast{
    position: fixed;
    top: 95px;
    left: 50%;
    width: max-content;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    transform: translateX(-50%) translateY(-20px);

    background: rgba(229, 164, 132, 0.96);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    padding: 14px 24px;
    border-radius: 30px;

    font-size: 15px;
    font-weight: 500;
    text-align: center;

    box-shadow: 0 10px 25px rgba(0,0,0,.18);

    opacity: 0;
    pointer-events: none;

    transition: all .35s ease;
    border: 1px solid rgba(255,255,255,.25);
    letter-spacing: .3px;
    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 9999;
}

.toast.show{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success{
    background: rgba(59, 217, 67, 0.95);
}

.toast.warning{
    background: rgba(229, 164, 132, .96);
}

.cart-product-link,
.wishlist-product-link{
    display: block;
    flex: 0 0 auto;
}

.cart-product-link{
    width:92px;
    height:112px;
    min-height:112px;
    align-self:center;
    overflow:hidden;
    margin-right:18px;
    border-radius:14px;
}

@media screen and (max-width:600px){
    .cart-product-link,
    .wishlist-product-link{margin-right:14px;}
}

.wishlist-product-link{
    width: 92px;
    height: 112px;
    min-height: 112px;
    overflow: hidden;
    margin-right: 18px;
    border-radius: 14px;
}

.wishlist-product-link .wishlist-img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-title-link,
.wishlist-title-link{
    color: inherit;
    text-decoration: none;
}

.cart-title-link:hover,
.wishlist-title-link:hover{
    color:#777;
    text-shadow:none;
}

@media screen and (max-width: 600px){
    .toast{
        width: fit-content;
        max-width: calc(100vw - 32px);
        padding: 11px 18px;
        font-size: 14px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Subtle boundary around the add-to-cart modal. */
.product-modal{
    border: 1px solid #d9d9d9;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
    filter: none;
}

.product-modal-read-more:hover,
.product-modal-read-more:focus-visible,
.product-modal-read-more:active{
    color: #E5A484;
}

.product-modal-image-link{
    display: block;
    width: fit-content;
    cursor: pointer;
}

.product-modal-title-link{
    display: block;
    flex: 1;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.product-modal-sizes + .product-modal-cart{
    margin-top: 56px;
}

.product-modal-options-group{
    box-sizing: border-box;
    margin-top: 48px;
    padding: 16px;
    border: 1px solid #E4E4E4;
    border-radius: 20px;
}

.product-modal-options-dynamic{
    display:flex;
    flex-direction:column;
}

.product-modal-option-group{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    margin:0;
}

.product-modal-option-group h3{
    margin:0 0 10px;
    font-size:16px;
    font-weight:600;
    color:#444;
}

.product-modal-option-values{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    width:100%;
}

.product-modal-option-btn{
    padding:10px 18px;
    border:1px solid #e8e8e8;
    border-radius:999px;
    background:#fff;
    color:#444;
    font:inherit;
    font-size:14px;
    cursor:pointer;
    transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.product-modal-option-btn:hover{
    transform:translateY(-2px);
    border-color:#E5A484;
    box-shadow:0 6px 14px rgba(0,0,0,.08);
}

.product-modal-option-btn.active{
    background:#E5A484;
    border-color:#E5A484;
    color:#fff;
}

.product-modal-options-group .product-modal-colors{
    margin-top: 0;
}

.product-modal-options-group .product-modal-section-divider{
    margin: 20px 0;
}

@media screen and (max-width: 600px){
    .product-modal-sizes + .product-modal-cart{
        margin-top: 42px;
    }
}

.product-modal-section-divider{
    display: block;
    width: 100%;
    height: 1px;
    margin: 24px 0;
    background: linear-gradient(
        to right,
        #E4E4E4 12%,
        #E4E4E4 88%,
        transparent
    );
}

.product-modal-section-divider + .product-modal-sizes{
    margin-top: 0;
}

.product-modal-top + .product-modal-colors{
    margin-top: 48px;
}

@media screen and (max-width: 600px){
    .product-modal-top + .product-modal-colors{
        margin-top: 32px;
    }
}

/* Rounded divider boundary around the product preview block. */
.product-modal-top{
    box-sizing: border-box;
    padding: 16px;
    border: 1px solid #E4E4E4;
    border-radius: 20px;
}

@media screen and (max-width: 600px){
    .product-modal-top{
        padding: 12px;
        border-radius: 16px;
    }

    .product-modal-options-group{
        margin-top: 32px;
        padding: 12px;
        border-radius: 16px;
    }
}

@media screen and (max-width: 600px){
    .product-modal-top{
        padding: 16px;
        gap: 14px;
    }

    .product-modal-left{
        flex-basis: 112px;
    }

    .product-modal-image{
        width: 112px;
        height: 112px;
    }

    .product-modal-right{
        height: 112px;
    }

    .product-modal-title{
        font-size: 22px;
    }

    .product-modal-price{
        font-size: 17px;
    }

    .product-modal-favorite{
        font-size: 15px;
    }

    .product-modal-description,
    .product-modal-read-more{
        font-size: 14px;
    }
}

.product-modal-options-group + .product-modal-cart{
    margin-top: 48px;
}

/* Match the product page's circular favorite control beside the modal cart action. */
.product-modal-actions{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:48px;
}

.product-modal-actions .product-modal-cart{
    flex:1 1 auto;
    width:auto;
    margin:0;
}

/* Keep the product details compact inside the modal. */
.product-modal-right{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    gap:6px;
}

.product-modal-header,
.product-modal-price,
.product-modal-description-row{
    flex:0 0 auto;
    margin:0;
}

.product-modal-reviews{
    display:flex;
    align-items:center;
    gap:7px;
    color:#6e6e6e;
    font-size:13px;
    line-height:1;
}

.product-modal-review-stars{
    color:#d4af37;
    font-size:15px;
    letter-spacing:1px;
}

/* Replace the legacy one-line truncation with a three-line preview. */
.product-modal-description{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    line-clamp:3;
    overflow:hidden;
    white-space:normal;
}

.product-modal-favorite{
    width:52px;
    min-width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    margin:0;
    position:relative;
    flex-shrink:0;
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:50%;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
    color:inherit;
    transition:all .25s ease;
}

.product-modal-favorite:hover{
    color:inherit;
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(0,0,0,.12);
}

.product-modal-favorite:active{
    transform:scale(.94);
}

.product-modal-favorite span{
    display:none;
}

.product-modal-favorite-icon{
    width:100%;
    height:100%;
    display:block;
    object-fit:contain;
}

@media screen and (max-width:600px){
    .product-modal-actions{
        margin-top:32px;
    }
}

@media screen and (max-width: 600px){
    .product-modal-options-group + .product-modal-cart{
        margin-top: 32px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1200px){
    .product-modal{
        width: min(50vw, 320px);
        padding: 12px;
        border-radius: 18px;
    }

    .product-modal-top{
        padding: 8px;
        gap: 10px;
    }

    .product-modal-left{
        flex-basis: 76px;
    }

    .product-modal-image,
    .product-modal-right{
        height: 76px;
    }

    .product-modal-image{
        width: 76px;
    }

    .product-modal-options-group{
        margin-top: 18px;
        padding: 8px;
        border-radius: 14px;
    }

    .product-modal-options-group + .product-modal-cart{
        margin-top: 18px;
    }
}

.product-modal{
    padding-bottom: 48px;
}

@media screen and (max-width: 600px){
    .product-modal{
        padding-bottom: 32px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1200px){
    .product-modal{
        padding-bottom: 18px;
    }
}

@media screen and (max-width: 600px){
    .wishlist-btn{
        top: 10px;
        left: 10px;
        width: 34px;
        height: 34px;
    }

    .wishlist-icon{
        width: 16px;
        height: 16px;
    }
}

.product-modal-overlay{
    background: rgba(0, 0, 0, .55);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.search-open .shop{
    padding-top: 280px;
}

body.search-open .section-title{
    display: none;
}

@media screen and (max-width: 600px){
    body.search-open .shop{
        padding-top: 232px;
    }
}

@media screen and (min-width: 601px) and (max-width: 1023px){
    body.search-open::before{
        top: 88px;
        height: 160px;
    }

    body.search-open .shop{
        padding-top: 248px;
    }
}

.toast{
    z-index: 100000;
}

@media screen and (min-width: 601px) and (max-width: 1023px){
    .product-content{
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .price-and-cart .price{
        font-size: 14px;
        white-space: nowrap;
    }

    .price-and-cart .addie{
        width: 24px;
        padding: 5px;
        border-radius: 8px;
    }

    .wishlist-btn{
        top: 8px;
        left: 8px;
        width: 28px;
        height: 28px;
    }

    .wishlist-icon{
        width: 13px;
        height: 13px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1200px){
    .price-and-cart .price{
        white-space: nowrap;
    }
}

@media screen and (max-width: 600px){
    header{
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .logo{
        font-size: 24px;
        letter-spacing: 1.5px;
    }

    .nav-icons{
        gap: 12px;
    }

    .search-image{
        width: 21px;
        height: 21px;
    }

    .wishlist-nav-image,
    .account-image{
        width: 22px;
    }

    .account-image,
    .account-initials{
        width:22px;
        height:22px;
    }

    .account-initials{
        font-size:9px;
    }

    #cart-icon,
    .cart-image{
        width: 24px;
    }

    #cart-icon .cart-item-count{
        top: -2px;
        right: -5px;
        width: 16px;
        height: 16px;
        font-size: 10px;
    }

    .section-title{
        font-size: 28px;
        letter-spacing: 1px;
        margin-bottom: 22px;
    }

    .search-bar{
        top: 64px;
    }

    .filter-bar{
        top: 140px;
    }
}

@media screen and (max-width: 600px){
    header{
        height: 72px;
        padding: 0 9%;
    }

    .search-bar{
        top: 72px;
    }

    .search-bar.active{
        padding: 0 25px 15px;
    }

    .filter-bar{
        top: 134px;
    }
}

@media screen and (min-width: 601px) and (max-width: 1200px){
    header{
        height: 88px;
        padding: 0 9%;
    }

    .search-bar{
        top: 96px;
    }

    .search-bar.active{
        padding: 0 25px 15px;
    }

    .filter-bar{
        top: 166px;
    }
}

@media screen and (min-width: 601px) and (max-width: 1200px){
    body.search-open::before{
        content: "";
        position: fixed;
        inset: 0 0 auto;
        height: 260px;
        background: #fff;
        pointer-events: none;
        z-index: 997;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1200px){
    body.search-open::before{
        top: 88px;
        height: 192px;
        z-index: 1001;
    }

    header{
        z-index: 1004;
        background: rgba(255, 255, 255, .92);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .search-bar{
        z-index: 1003;
    }

    .filter-bar{
        z-index: 1002;
    }
}

@media screen and (min-width: 601px) and (max-width: 1200px){
    .search-bar{
        padding-left: 9%;
        padding-right: 9%;
    }

    .search-bar.active{
        padding: 0 9% 15px;
    }

    .filter-bar{
        padding-left: 9%;
        padding-right: 9%;
    }

    .filter-bar.active{
        padding: 15px 9% 20px;
    }
}

.search-bar{
    padding-left: 9%;
    padding-right: 9%;
}

.search-bar.active{
    padding: 0 9% 15px;
}

.filter-bar{
    padding-left: 9%;
    padding-right: 9%;
}

/* Keep search filters evenly sized, with a maximum of ten per row. */
.filter-bar{
    display:grid;
    grid-template-columns:repeat(var(--filter-columns, 4), minmax(0, 1fr));
    align-items:center;
}

.filter-bar.active{
    max-height:calc(120px + var(--additional-filter-space, 0px));
}

.filter-bar .filter-btn{
    width:100%;
    max-width:none;
    min-width:0;
    padding:10px clamp(3px, 1vw, 20px);
    overflow:hidden;
    font-size:clamp(9px, 1.15vw, 15px);
    text-overflow:ellipsis;
}

body.search-open .shop{
    padding-top:calc(280px + var(--additional-filter-space, 0px));
}

@media screen and (max-width:600px){
    .filter-bar{
        gap:5px;
        grid-template-columns:repeat(var(--mobile-filter-columns, 4), minmax(0, 1fr));
    }

    .filter-bar.active{
        max-height:calc(120px + var(--additional-mobile-filter-space, 0px));
    }

    .filter-bar .filter-btn{
        padding:8px 2px;
        font-size:clamp(7px, 2.2vw, 11px);
    }

    body.search-open .shop{
        padding-top:calc(232px + var(--additional-mobile-filter-space, 0px));
    }
}

@media screen and (min-width:601px) and (max-width:1023px){
    body.search-open .shop{
        padding-top:calc(248px + var(--additional-filter-space, 0px));
    }
}

.filter-bar.active{
    padding: 15px 9% 20px;
}

.filter-bar{
    top: 150px;
}

@media screen and (max-width: 600px){
    .filter-bar{
        top: 132px;
    }
}

@media screen and (min-width: 601px) and (max-width: 1200px){
    .filter-bar{
        top: 160px;
    }
}

@media screen and (max-width: 600px){
    body.search-open::before{
        content: "";
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        height: 160px;
        background: #fff;
        pointer-events: none;
        z-index: 997;
    }

    header{
        z-index: 1000;
    }

    .search-bar{
        z-index: 999;
    }

    .filter-bar{
        z-index: 998;
    }
}

@media screen and (max-width: 600px){
    .search-bar{
        top: 80px;
    }

    .filter-bar{
        top: 142px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1200px){
    .search-bar{
        top: 104px;
    }

    .filter-bar{
        top: 168px;
    }
}

@media screen and (min-width: 1201px){
    .search-bar.active::before{
        content: "";
        position: absolute;
        top: -12px;
        left: 0;
        width: 100%;
        height: 12px;
        background: #fff;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1440px){
    .search-bar{
        top: 120px;
    }

    .filter-bar{
        top: 184px;
    }
}

@media screen and (min-width:1441px){
    .search-bar{
        top:100px;
    }

    .filter-bar{
        top:168px;
    }
}

@media screen and (min-width:1201px){
    body.search-open::before{
        content:"";
        position:fixed;
        top:0;
        right:0;
        left:0;
        height:calc(198px + var(--filter-bar-height, 60px));
        background:#fff;
        pointer-events:none;
        z-index:997;
    }

    .search-bar{
        z-index:999;
    }

    .filter-bar{
        z-index:998;
    }
}

body.search-open::before{
    pointer-events:auto;
}

@media screen and (min-width:601px) and (max-width:1023px){
    .search-bar{
        top:104px;
    }

    .filter-bar{
        top:172px;
    }

    body.search-open .shop{
        padding-top:calc(256px + var(--additional-filter-space, 0px));
    }
}

/* Raised panels for the add-to-cart modal sections. */
.product-modal-top,
.product-modal-options-group{
    border: 1px solid #dedede;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .06);
}

.product-modal-cart{
    border: 1px solid #d98d69;
    box-shadow: 0 3px 8px rgba(201, 133, 98, .14);
}

.product-modal-cart:active{
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(201, 133, 98, .12);
}

/* Define the image edge separately from its surrounding section panel. */
.product-modal-image{
    box-sizing: border-box;
    border: 1px solid #e1e1e1;
}

/* Keep the laptop catalogue at five products per row. */
/* Compact, consistent cart and wishlist headers on phones. */
@media screen and (max-width:600px){
    .cart-title,
    .wishlist-title{
        flex:0 0 auto;
        min-height:64px;
        margin:0;
        padding:
            max(15px, env(safe-area-inset-top, 0px))
            125px
            15px
            20px;
        display:flex;
        align-items:center;
        gap:7px;
        background:#fff;
        border:0;
        border-bottom:1px solid #ece8e5;
        color:#333;
        font-size:24px;
        line-height:1.15;
        font-weight:600;
        letter-spacing:-.3px;
        white-space:nowrap;
        flex-wrap:nowrap;
    }

    .cart-title-count{
        color:#8a817d;
        font-size:14px;
        font-weight:500;
    }

    .cart-title,
    .wishlist-title{
        color:#E5A484;
    }

    #cart-close,
    #wishlist-close{
        top:max(7px, calc(env(safe-area-inset-top, 0px) + 7px));
        right:12px;
        width:21px;
        height:21px;
        padding:11px;
        box-sizing:content-box;
        object-fit:contain;
        opacity:.88;
    }

    .cart .total{
        flex:0 0 auto;
        margin:0;
        padding:14px 20px 10px;
    }

    .cart .btn-buy{
        flex:0 0 auto;
        margin:14px auto max(14px, env(safe-area-inset-bottom, 0px));
        padding:13px 14px;
    }

    .cart .btn-buy + br,
    .cart .btn-buy + br + br{
        display:none;
    }
}

@media screen and (min-width:1024px){
    .product-content{
        grid-template-columns:repeat(5, minmax(0, 220px));
    }
}

/* Align the footer with the navbar and catalogue gutters. */
.footer{
    padding-left:9%;
    padding-right:9%;
}

.footer .container2{
    width:100%;
    max-width:none;
    margin-left:auto;
    margin-right:auto;
}

/* Use the established portrait size for every current and future product. */
.product-box .img-box{
    width:100%;
    aspect-ratio:2 / 3;
}

.product-box .img-box > img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}

/* Compact cart summary on tablet and laptop screens. */
@media screen and (min-width:601px) and (max-width:1440px){
    .cart .total{
        flex:0 0 auto;
        margin:0;
        padding:11px 18px 7px;
        font-size:16px;
    }

    .cart .btn-buy{
        flex:0 0 auto;
        width:calc(100% - 36px);
        margin:9px auto 10px;
        padding:11px 14px;
        font-size:16px;
    }

    .cart .btn-buy + br,
    .cart .btn-buy + br + br{
        display:none;
    }
}

/* Compact homepage navigation on laptop screens. */
@media screen and (min-width:1024px) and (max-width:1440px){
    header{
        height:70px;
        padding-top:0;
        padding-bottom:0;
    }

    .logo{
        font-size:27px;
    }

    .nav-icons{
        gap:15px;
    }

    #cart-icon,
    .cart-image{
        width:27px;
    }

    .search-bar{
        top:104px;
    }

    .filter-bar{
        top:168px;
    }

    .cart-title{
        flex:0 0 70px;
        height:70px;
        min-height:70px;
        display:flex;
        align-items:center;
        gap:7px;
        padding:0 125px 0 18px;
        font-size:27px;
        line-height:1;
    }

    #cart-close{
        top:22.5px;
        right:22px;
        width:25px;
        height:25px;
        object-fit:contain;
    }
}

/*
 * Keep the homepage attached to the browser viewport after returning from
 * another page or changing responsive modes. Percentage widths can otherwise
 * be resolved against a stale, phone-sized containing block in Chromium.
 */
html{
    width:100vw;
    max-width:none;
    overflow-x:hidden;
}

body{
    width:100%;
    max-width:none;
    overflow-x:hidden;
}

header{
    width:100vw;
    max-width:none;
}

/* Full-size shared drawers on tablet and laptop viewports. */
@media screen and (min-width:601px){
    .cart,
    .wishlist{
        width:clamp(420px, 32vw, 480px);
    }
}

/* Match Wishlist action positions to their Cart drawer counterparts. */
.wishlist-remove{
    right:30px;
}

#wishlist-close{
    top:32px;
    right:31px;
}

@media screen and (min-width:601px) and (max-width:1440px){
    #wishlist-close{right:34px;}
}

@media screen and (max-width:600px){
    #wishlist-close{
        top:20px;
        right:34px;
        width:22px;
        height:22px;
        padding:0;
        box-sizing:border-box;
        opacity:1;
    }
}

/* Keep modal copy compact now that the review summary is shown under the title. */
.product-modal-description-row,
.product-modal .product-modal-description-row{
    display:flex;
    align-items:baseline;
    flex-wrap:nowrap;
    gap:0;
    min-width:0;
}

.product-modal-description,
.product-modal .product-modal-description{
    display:block;
    flex:0 1 auto;
    min-width:0;
    width:auto;
    max-width:none;
    -webkit-line-clamp:unset;
    line-clamp:unset;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:clip;
}

.product-modal-read-more{
    display:block;
    flex:0 0 auto;
    margin:0;
    white-space:nowrap;
}

.product-modal .product-modal-read-more::before{
    content:"... ";
}

/* Let modal copy expand beyond the legacy one-line, fixed-height layout. */
.product-modal-right{
    height:auto;
}

.product-modal-description-row{
    display:block;
}

.product-modal-description{
    max-width:100%;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    line-clamp:3;
    white-space:normal;
    overflow:hidden;
}

.product-modal-read-more{
    display:inline-block;
    margin-top:4px;
}

/* Preserve the three-line description preview on tablet and laptop layouts. */
@media screen and (min-width:601px){
    .product-modal .product-modal-right{
        height:auto;
    }

    .product-modal .product-modal-description-row{
        display:block;
    }

    .product-modal .product-modal-description{
        width:100%;
        max-width:100%;
        display:-webkit-box;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:3;
        line-clamp:3;
        white-space:normal;
        overflow:hidden;
    }
}

/* Final modal copy layout: a one-line description with its link beside it. */
.product-modal .product-modal-description-row{
    display:flex;
    align-items:baseline;
    flex-wrap:nowrap;
    gap:0;
    min-width:0;
}

.product-modal .product-modal-description{
    display:inline-block;
    flex:0 1 max-content;
    min-width:0;
    width:max-content;
    max-width:calc(100% - 84px);
    -webkit-line-clamp:unset;
    line-clamp:unset;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:clip;
}

.product-modal .product-modal-read-more{
    display:inline-block;
    flex:0 0 auto;
    margin:0;
    white-space:nowrap;
}

/* Distribute product details across the full height of the modal image. */
.product-modal .product-modal-right{
    align-self:stretch;
    height:auto;
    justify-content:space-between;
    gap:0;
}

/* Keep the review summary compact and on one line in every modal size. */
.product-modal .product-modal-reviews{
    display:flex;
    align-items:center;
    flex-wrap:nowrap;
    gap:5px;
    min-width:0;
    max-width:100%;
    white-space:nowrap;
}

.product-modal .product-modal-reviews[hidden]{
    display:none;
}

.product-modal .product-modal-review-stars{
    flex:0 0 auto;
    font-size:clamp(11px, 4vw, 15px);
    letter-spacing:.5px;
}

.product-modal .product-modal-review-summary{
    flex:0 1 auto;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size:clamp(10px, 3.5vw, 13px);
    white-space:nowrap;
}

/* Smaller add-to-cart modal and controls on phones. */
@media screen and (max-width:600px){
    .product-modal-overlay{
        padding:10px;
    }

    .product-modal{
        width:min(92vw, 360px);
        max-height:calc(100dvh - 20px);
        padding:12px;
        padding-top:18px;
        padding-bottom:26px;
        border-radius:26px;
    }

    .product-modal-top{
        padding:10px;
        gap:10px;
        border-radius:20px;
    }

    .product-modal-left{
        flex-basis:100px;
    }

    .product-modal-image{
        width:100px;
        height:100px;
        border-radius:18px;
    }

    .product-modal .product-modal-right{
        align-self:center;
        height:90px;
    }

    .product-modal .product-modal-title{
        font-size:18px;
    }

    .product-modal .product-modal-price{
        font-size:14px;
    }

    .product-modal .product-modal-description,
    .product-modal .product-modal-read-more{
        font-size:12px;
    }

    .product-modal .product-modal-review-stars{
        font-size:11px;
        letter-spacing:0;
    }

    .product-modal .product-modal-review-summary{
        font-size:10px;
    }

    .product-modal-options-group{
        margin-top:20px;
        padding:10px;
        border-radius:20px;
    }

    .product-modal-option-group h3{
        margin-bottom:7px;
        font-size:14px;
    }

    .product-modal-option-values{
        gap:7px;
    }

    .product-modal-option-btn{
        padding:7px 12px;
        font-size:12px;
    }

    .product-modal-section-divider{
        margin:14px 0;
    }

    .product-modal-actions{
        gap:9px;
        margin-top:20px;
    }

    .product-modal-favorite{
        width:44px;
        min-width:44px;
        height:44px;
    }

    .product-modal-actions .product-modal-cart{
        padding:11px;
        font-size:14px;
    }
}

/* Final responsive drawer alignment override. */
.cart-header-actions,
.wishlist-header-actions{right:27px;}

.cart-close-button,
.wishlist-close-button{
    width:36px;
    height:36px;
    padding:0;
    display:grid;
    place-items:center;
}

.cart-close-button #cart-close,
.wishlist-close-button #wishlist-close{
    position:static;
    width:22px;
    height:22px;
    padding:0;
    box-sizing:border-box;
}



