.custom-single-product{
    max-width:1330px;
    margin:auto;
    padding:60px 20px;
}

.single-product-grid{
    display:grid;
    grid-template-columns:400px 1fr 300px;
    gap:50px;
    align-items:start;
}

.single-left img{
    width:100%;
    border-radius:20px;
    border:1px solid #dce6f4;
}

table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents a {
    color: #1e355d !important;
}
.wc-proceed-to-checkout a {
    background-image: linear-gradient(90deg, #1E355D 0%, #435778 100%) !important;
}
/**
 * HEX COLOR BOX
 */
.hex-color-box{
    width:100%;
    height:400px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    font-weight:700;
    color:#fff;
}



.single-center h1{
    font-size:22px;
    line-height:1.3;
    color:#0b2454;
    margin-bottom:20px;
}

.price-wrap{
    font-size:30px;
    font-weight:700;
    color:#0b2454;
    margin-bottom:25px;
}

.short-desc{
    color:#5e6b7c;
    line-height:1.8;
    margin-bottom:20px;
}

.single-right button.single_add_to_cart_button.button.alt {
    border-radius: 20px 20px 20px 20px !important;
    padding: 18px 52px 18px 52px !important;
    background-image: linear-gradient(90deg, #1E355D 0%, #435778 100%) !important;
}
.single-right button.single_add_to_cart_button.button.alt:hover {
   color:#fff;
}
.product-info-table{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.info-row{
    display:flex;
    gap:20px;
}

.info-row strong{
    width:160px;
    color:#0b2454;
}

.info-row span{
    color:#5d6978;
}



/**
 * RIGHT CART
 */
.single-right{
    padding-left:40px;
}

.single_add_to_cart_button{
    background:#17376e !important;
    border-radius:40px !important;
    padding:16px 30px !important;
}

.quantity{
    margin-bottom:20px;
}
.post-type-archive-product .quantity{
       margin-bottom: 0 !important;
} 
/**
|--------------------------------------------------------------------------
| QUANTITY STYLE
|--------------------------------------------------------------------------
*/

.quantity{
    display:flex !important;
    align-items:center;
    border:1px solid #d6e1ef;
    border-radius:6px;
    overflow:hidden;
    width:115px;
    height:40px;
    background:#fff;
}

.quantity .minus,
.quantity .plus{
    width:36px;
    height:40px;
    border:none;
    background:#f8fbff;
    color:#0b2454;
    font-size:20px;
    font-weight:700;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    transition:.3s;
}

.quantity .minus:hover,
.quantity .plus:hover{
    background:#edf4fc;
}

.quantity .qty{
    width:42px !important;
    height:40px !important;
    border:none !important;
    background:#fff !important;
    text-align:center;
    font-size:15px;
    font-weight:700;
    color:#0b2454;
    padding:0 !important;
    margin:0 !important;
    box-shadow:none !important;
}

.quantity .qty:focus{
    outline:none;
    box-shadow:none;
}
.short-desc p {
    border-bottom: 2px solid #9BC9E9;
  
    /*height: 40px;*/
}
.custom-single-product{
    position:relative;
    overflow:hidden;
}

.single-bg-shape{
    position:absolute;
    right:0;
    top:40px;
    width:420px;
    opacity:.35;
    z-index:0;
    pointer-events:none;
}

.single-product-grid{
    position:relative;
    z-index:2;
}
.qty-label {
    font-size: 16px;
    color: #1E355D;
    font-weight: 700;
    margin-bottom: 10px;
}

.custom-category-page{
    max-width:1330px;
    margin:auto;
    padding:36px 20px;
}

.shop-layout{
    display:flex;
    gap:30px;
}

.shop-sidebar {
    width: 288px;
    background: #eef7fd;
    padding: 25px;
    background: linear-gradient(360deg, #E8F5FF 0%, #A3CEE2 100%);
    border-radius: 20px;
    height: fit-content;
    box-shadow: 0px 15px 27.3px 0px #51ABD43B;
}
.filter-box{
    margin-bottom:35px;
}

.filter-box h4 {
    font-size: 16px;
    color: #0b2454;
    margin-bottom: 0;
    line-height: 30px;
}

.filter-box label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 400;
    font-size: 16px;
    align-items: flex-start;
    color: #000000;
}

.custom-filter-form button{
    width:100%;
    height:50px;
    border:none;
    border-radius:40px;
    background:#17376e;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}

.shop-products{
    flex:1;
}


.single-product #content{
    position:relative;
    overflow:hidden;
}

.single-product #content::after{
    content:"";
    position:absolute;
    right:0;
    top:-30px;
    display:block;
    background:url("https://carolinathreadworks.com/shop/wp-content/uploads/2026/05/Mask-group.png") no-repeat top right;
    background-size:contain;
    width:50%;
    height:100%;
}

@media screen and (max-width:1024px){
    .single-product #content::after{
        display:none;
    }
}

.single-product #content .single_add_to_cart_button::before{
    content:"";
    display:inline-block;
    width:26px;
    height:23px;
    background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2226%22%20height%3D%2223%22%20viewBox%3D%220%200%2026%2023%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M9.19126%2020.7C9.19126%2021.9682%2010.2164%2023%2011.4764%2023C12.7364%2023%2013.7615%2021.9682%2013.7615%2020.7C13.7615%2019.4318%2012.7364%2018.4%2011.4764%2018.4C10.2164%2018.4%209.19126%2019.4318%209.19126%2020.7Z%22%20fill%3D%22white%22/%3E%3Cpath%20d%3D%22M16.8591%2020.7C16.8591%2021.9682%2017.8842%2023%2019.1442%2023C20.4043%2023%2021.4294%2021.9682%2021.4294%2020.7C21.4294%2019.4318%2020.4043%2018.4%2019.1442%2018.4C17.8842%2018.4%2016.8591%2019.4318%2016.8591%2020.7Z%22%20fill%3D%22white%22/%3E%3Cpath%20d%3D%22M25.2379%203.06667H5.95741C5.6966%202.14774%205.45357%201.29153%205.24481%200.556089C5.15142%200.226933%204.85248%200%204.5124%200H0.761707C0.341042%200%200%200.343262%200%200.766667C0%201.19007%200.341042%201.53333%200.761707%201.53333H3.93782C4.78961%204.53437%206.78092%2011.5495%207.61575%2014.4905L7.32716%2015.0714C6.56673%2016.6023%207.6742%2018.4%209.37108%2018.4H22.1911C22.6117%2018.4%2022.9528%2018.0567%2022.9528%2017.6333C22.9528%2017.2099%2022.6117%2016.8667%2022.1911%2016.8667H9.37108C8.80457%2016.8667%208.43667%2016.2667%208.68976%2015.7571L8.90029%2015.3333H22.1911C22.5311%2015.3333%2022.83%2015.1065%2022.9235%2014.7773L25.9703%204.04396C26.1091%203.55509%2025.7442%203.06667%2025.2379%203.06667Z%22%20fill%3D%22white%22/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-size:contain;
    vertical-align:middle;
    margin-right:10px;
}



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

.custom-product-card {
    list-style: none !important;
    background: #fff;
    border: 1px solid #dbe6f4 !important;
    border-radius: 18px;
    padding: 20px !important;
    text-align: center !important;
    transition: .3s;
    margin-bottom: 0 !important;
}

.custom-product-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.product-image-wrap{
    width:100%;
    height:220px;
    border-radius:14px;
    overflow:hidden;
    background:#f7fbff;
    margin-bottom:20px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.product-image-wrap img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.hex-color-preview{
    width:100%;
    height:100%;
    border-radius:14px;
}

.custom-product-card h2{
    font-size:18px;
    color:#0b2454;
    line-height:1.4;
    margin-bottom:10px;
}

.thread-small{
    color:#697586;
    font-size:14px;
    margin-bottom:10px;
}

.price-wrap{
    font-size:24px;
    font-weight:700;
    color:#17376e;
    margin:10px 0;
}

.product-color-name {
    color: #1E355D;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}
.thread-small {
    display: none;
}
.card-cart-wrap .button{
    width:100%;
    border-radius:40px !important;
    background:#17376e !important;
    color:#fff !important;
    text-align:center;
}

.custom-product-card button.button.archive-cart-btn {
    padding: 5px 20px !important;
    background-color: #1E355D;
    font-size:16px;
    font-weight: 500;
}
.custom-product-card button.button.archive-cart-btn:hover{
    color:#fff;
}
.tax-product_cat .quantity {
    margin-inline: auto;
    margin-bottom: 0;
       justify-content: center;
}
.filter-box {
    margin-bottom: 10px;
    padding: 15px;
    background-color: #fff;
}
.filter-boxbrowse {
    padding: 30px;
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 30px  30px 0 0;
}
.filter-boxbrowse h3 {
    font-size: 20px;
    color: #000000;
}
.archive-qty-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
     gap: 10px;
}
.filter-box input[type="checkbox"] {
accent-color: #9BC9E9;
    border: 2px solid red !important;
    margin-top: 4px;
    width: 15px;
    height: 15px;
}
.cat-banner-inner {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
}
.cat-banner-content {
    margin: 54px 0 25px 0;
    font-size: 20px;
    line-height: 32px;
    color: #1e355d;
}
ul.cat-banner-features {
    margin: 0;
}
ul.cat-banner-features li {
    padding: 0;
    list-style: none;
    font-size: 20px;
    margin: 10px 0;
    color: #002452;
}
.tax-product_cat .ast-container {
    display: block;
}
h1.cat-banner-title {
    font-size: 32px;
    line-height: 40px;
}
.cat-banner-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 33px;
}
section.cat-banner-section {
border-bottom: 1px solid #A3CEE2;
padding-top: 36px;
}
.cat-banner-right img {
max-height: 570px;
display: block;
margin-left: auto;
}
.cat-banner-inner {
display: grid !important;
grid-template-columns: repeat(2, 1fr);
align-items: center;
}
nav.breadcrumbs {
    margin-bottom: 77px;
}
section.cat-banner-section nav.breadcrumbs {
    margin-bottom: 0px;
}
.breadcrumbs a:last-child {
    font-size: 18px; 
    font-weight: bold; 
    color: #0071a1;
}
.breadcrumbs a{
    font-size: 24px; 
    font-weight: 700; 
}
span.breadcrumb-current {
    font-size: 24px;
    color: #1e355d;
    font-weight: 300;
}

.custom-product-card {
    position: relative; 
}

.wishlist-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 999;
}

.wishlist-icon .heart-icon path {
    transition: fill 0.3s, stroke 0.3s;
}

.wishlist-icon.active .heart-icon path {
    fill: #1E355D; 
    stroke: #1E355D; 
}
@media screen and (max-width:767px){
  .single-product-grid {
    grid-template-columns: 1fr;

}
.single-right {
    padding-left: 0;
}
.shop-layout {
    flex-direction: column;
}
.shop-sidebar {
    width: 100%;
}
.products {
    grid-template-columns: repeat(1,1fr) !important;
}
.archive-qty-wrap {
    justify-content: center;
    gap: 10px;
}
.tax-product_cat .quantity {
    margin-inline: 0;
}
h1.cat-banner-title {
    font-size: 26px;
    line-height: 30px;
}
.cat-banner-inner {
    grid-template-columns: repeat(1, 1fr);
}
.cat-banner-heading {

    gap: 20px;
}
section.cat-banner-section nav.breadcrumbs {
    margin-bottom: 30px;
}
}







/* MAIN LAYOUT */

.custom-checkout-wrap{
    display:flex;
    gap:40px;
    margin:60px auto;
    align-items:flex-start;
}

.custom-checkout-left{
    width:68%;
}

.custom-checkout-right{
    width:32%;
    position:sticky;
    top:30px;
}

/* TOP ROW */

.checkout-top-row {
    display: grid;
    grid-template-columns: 140px 1fr 60px;
    padding: 28px 0;
    border-bottom: 1px solid #dce9f5;
    align-items: center;
}

.checkout-top-row h4{
    margin:0;
    font-size:18px;
    font-weight:700;
}

.checkout-top-row p{
    margin:0;
    line-height:1.7;
    color:#233b63;
}

.checkout-top-row a{
    color:#4d9cff;
    text-decoration:none;
    font-size:13px;
}

/* BILLING */

.checkout-billing-box{
    margin-top:40px;
}

.checkout-billing-box h3{
    font-size:42px;
    margin-bottom:35px;
    color:#1E355D;
}

/* TWO COLUMNS */

.woocommerce-billing-fields__field-wrapper{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
}

#billing_first_name_field,
#billing_last_name_field,
#billing_state_field,
#billing_postcode_field{
    width:48%;
}

#billing_company_field,
#billing_phone_field,
#billing_address_1_field,
#billing_address_2_field,
#billing_city_field,
#billing_country_field,
#billing_email_field{
    width:100%;
}

/* FIELDS */

.woocommerce form .form-row{
    margin:0;
}

.woocommerce form .form-row label{
    font-size:15px;
    font-weight:600;
    margin-bottom:8px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea{
    height:52px;
    border:1px solid #b8d4ee;
    border-radius:6px;
    padding:0 15px;
    font-size:15px;
    background:#fff;
}

.woocommerce form .form-row textarea{
    height:120px;
    padding-top:15px;
}

/* CHECKBOX */

.custom-shipping-checkbox{
    margin-top:25px;
    margin-bottom:35px;
}

.custom-shipping-checkbox label{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:15px;
    color:#233b63;
}

/* SHIPPING METHOD */

.custom-shipping-method h4{
    font-size:20px;
    font-weight:700;
    margin-bottom:15px;
}

.shipping-method-box{
    border:1px solid #b8d4ee;
    border-radius:8px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    color:#444;
}

/* CONTINUE BUTTON */

.custom-checkout-button{
    margin-top:45px;
}

.woocommerce-checkout-payment{
    background:transparent !important;
    border:none !important;
    padding:0 !important;
}

.wc_payment_methods,
.woocommerce-privacy-policy-text{
    display:none !important;
}

#place_order{
    width:180px !important;
    height:52px;
    background:#1E355D !important;
    border:none !important;
    border-radius:12px;
    color:#fff !important;
    font-size:16px;
    font-weight:700;
    text-transform:uppercase;
}

/* SIDEBAR */

.custom-order-summary{
    border:1px solid #b9d8f0;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
}

/* HEADER */

.summary-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px;
    border-bottom:1px solid #dce9f5;
}

.summary-header h3{
    margin:0;
    font-size:18px;
    font-weight:700;
    color:#1E355D;
}

.summary-header a{
    font-size:13px;
    color:#4d9cff;
    text-decoration:none;
}

/* COUNT */

.summary-count{
    padding:18px 20px;
    font-size:14px;
    color:#5a6d85;
}

/* PRODUCT */

.summary-product-row{
    display:flex;
    gap:15px;
    align-items:flex-start;
    padding:0 20px 25px;
}

.summary-product-image img{
    width:62px;
    border:1px solid #b9d8f0;
    border-radius:4px;
}

.summary-product-info{
    flex:1;
    font-size:15px;
    line-height:1.6;
    color:#233b63;
}

.summary-product-price{
    font-size:15px;
    font-weight:500;
    color:#233b63;
}

/* COUPON */

.summary-coupon{
    padding:18px 20px;
    border-top:1px solid #dce9f5;
    border-bottom:1px solid #dce9f5;
}

.summary-coupon a{
    color:#4d9cff;
    text-decoration:none;
    font-size:14px;
}

/* TOTALS */

.summary-totals{
    padding:20px;
}

.summary-line{
    display:flex;
    justify-content:space-between;
    margin-bottom:14px;
    font-size:15px;
    color:#233b63;
}

/* FINAL TOTAL */

.summary-final-total{
    border-top:1px solid #dce9f5;
    padding:22px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.summary-final-total span{
    font-size:16px;
    color:#233b63;
}

.summary-final-total strong{
    font-size:28px;
    color:#1E355D;
}
.woocommerce form .form-row label{
    display:none !important;
}
/* MOBILE */

@media(max-width:768px){

.custom-checkout-wrap{
    flex-direction:column;
}

.custom-checkout-left,
.custom-checkout-right{
    width:100%;
}

#billing_first_name_field,
#billing_last_name_field,
#billing_state_field,
#billing_postcode_field{
    width:100%;
}

.checkout-top-row{
    grid-template-columns:1fr;
    gap:10px;
}

}




.woocommerce-billing-fields__field-wrapper {
    gap: 8px !important;
}

#billing_first_name_field,
#billing_last_name_field,
#billing_state_field,
#billing_postcode_field {
    flex: 1 1 48% !important;
}

#payment .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 30px;
}

#payment #place_order {
    float: left !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.select2-selection.select2-selection--single {
    height: 52px !important;
    border: 1px solid #9BC9E9 !important;
    border-radius: 10px !important;
    display: flex;
    align-items: center;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
    height: 52px !important;
    border: 1px solid #9BC9E9 !important;
    border-radius: 10px !important;
    font-size: 17px !important;
    color: #000;
}

.woocommerce form .form-row input.input-text::placeholder,
.woocommerce form .form-row select::placeholder,
.woocommerce form .form-row textarea::placeholder {
    color: #000;
    font-size: 17px !important;
}

.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    color: #000 !important;
    font-size: 17px !important;
}

.select2-container--default
.select2-selection--single
.select2-selection__placeholder {
    color: #000 !important;
}

.custom-shipping-checkbox {
    margin-top: 15px;
    margin-bottom: 20px;
}

.custom-shipping-method h4 {
    font-size: 18px;
    line-height: 1.2;
}

.shipping-method-box {
    border: 1px solid #9BC9E9 !important;
    border-radius: 10px !important;
    padding: 15px;
    min-height: 60px;
    height: auto !important;
}

.summary-header h3 {
    line-height: 1.2;
}

.summary-final-total strong span {
    font-size: 40px;
    font-weight: 600;
    color: #1E355D;
    line-height: 1;
}

.woocommerce-checkout #primary {
    position: relative;
    overflow: hidden;
}

.woocommerce-checkout #primary::after {
    content: "";
    position: absolute;
    top: -80px;
    right: 0;
    max-width: 50%;
    width: 100%;
    height: 100%;
    background: url("https://carolinathreadworks.com/shop/wp-content/uploads/2026/05/Mask-group.png") no-repeat top/contain;
    z-index: -1;
    pointer-events: none !important;
}

.woocommerce-form-coupon-toggle {
    max-width: 1290px !important;
}
.woocommerce-order {
    width: 1330px;
    margin:0 auto;

}
.woocommerce-account .woocommerce {
     width: 1330px;
    margin:0 auto;
}

/* Tablet */
@media screen and (max-width:1024px) {

    .woocommerce-checkout #primary::after {
        display: none !important;
    }

    .custom-category-page {
        padding: 36px 0px;
    }

    .woocommerce-billing-fields__field-wrapper {
        flex-direction: column;
    }
    .woocommerce-order {
  width: 100% !important;

}
.woocommerce-account .woocommerce {
width: 100% !important;
}
}

/* Mobile */
@media screen and (max-width:991px) {

    .woocommerce form .form-row input.input-text::placeholder,
    .woocommerce form .form-row select::placeholder,
    .woocommerce form .form-row textarea::placeholder {
        font-size: 14px !important;
    }

    .woocommerce form .form-row input.input-text,
    .woocommerce form .form-row select,
    .woocommerce form .form-row textarea {
        font-size: 14px !important;
    }

    .summary-final-total strong span {
        font-size: 30px;
    }
        .woocommerce-order {
    width: 100%;
}
.woocommerce-account .woocommerce {
    width: 100%;
}
}

@media screen and (max-width:768px) {

    .custom-checkout-wrap {
        gap: 0 !important;
        margin: 0px auto !important;
    }
    .woocommerce-order {
    width: 100%;
}
.woocommerce-account .woocommerce {
    width: 100%;
}
form.woocommerce-form.woocommerce-form-login.login {
    margin: 0;
    padding: 0;
    border: unset;
    width: 100%;
}
}

@media screen and (max-width:576px) {

    #payment #place_order {
        width: 100% !important;
    }

    #payment .woocommerce-terms-and-conditions-wrapper {
        margin-bottom: 0;
    }

    .checkout-billing-box h3 {
        font-size: 30px;
    }

    nav.breadcrumbs {
        margin-bottom: 0px !important;
    }
}






.woocommerce form.login .form-row:last-child{
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    flex-wrap: nowrap !important;
}


.custom-register-wrap{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -8px;
}


.custom-register-wrap div{
    margin: 0;
    line-height: 1.4;
}

form.woocommerce-form.woocommerce-form-login.login {
    margin: 0;
    padding: 0;
    border: unset;
    width: 600px;
}

form.woocommerce-form.woocommerce-form-login.login  input{
border-radius:0 !important;
}
button.woocommerce-button.button.woocommerce-form-login__submit {
    background: #1E355D;
    color: #fff;
    border: 1px solid #1E355D;
    padding: 10px 30px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 22px;
    font-weight: 500;
}
.page-id-93 .woocommerce h2{
    text-align: center !important;
    font-size: 45px !important;
    font-weight: 700 !important;
}
p.woocommerce-LostPassword.lost_password a {
    color: #439DDF !important;
    text-decoration: none;
}
p.woocommerce-LostPassword.lost_password {
    font-size: 18px;
    color: #439DDF !important;
    text-decoration: none;
}
.custom-register-wrap span {
    font-size: 18px;
}
a.custom-register-link {
    color: #439DDF !important;
    text-decoration: none;
    font-size: 18px;
}


.product-image-wrap {
    position: relative;
    overflow: hidden;
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 53, 93, 0.7); /* semi-transparent blue */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image-wrap:hover .hover-overlay {
    opacity: 1;
    cursor: pointer;
}
