/* EasyPrint Product Options Pro - Frontend 0.6.2 */
.epop-product-options,
.epop-artwork-upload{
    box-sizing:border-box;
    direction:rtl;
    text-align:right;
    font-family:inherit;
}
.epop-product-options *,
.epop-artwork-upload *{box-sizing:border-box}

.epop-product-options{
    --epop-accent:var(--global-palette1,#0f8f97);
    --epop-accent-dark:#08737b;
    --epop-text:var(--global-palette3,#17212f);
    --epop-muted:#7d8792;
    --epop-line:#dfe5ea;
    --epop-soft:#f8fafb;
    width:100%;
    max-width:100%;
    margin:14px 0 10px;
    padding:14px;
    background:#fff;
    border:1px solid #d9e0e6;
    border-radius:14px;
    box-shadow:0 3px 12px rgba(18,35,63,.055);
}

.epop-product-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:0 0 13px;
    margin:0 0 12px;
    border-bottom:1px solid #edf1f4;
}
.epop-head-copy{min-width:0;flex:1}
.epop-product-head h3{
    margin:0 0 3px;
    color:var(--epop-text);
    font-size:18px;
    line-height:1.3;
    font-weight:800;
}
.epop-product-head p{
    margin:0;
    color:var(--epop-muted);
    font-size:11px;
    line-height:1.55;
}
.epop-live-price{
    min-width:104px;
    flex:0 0 auto;
    padding:8px 10px;
    background:#fff;
    border:1px solid #dce3e9;
    border-radius:8px;
    text-align:center;
    box-shadow:0 1px 2px rgba(18,35,63,.025);
}
.epop-live-price small{
    display:block;
    margin-bottom:2px;
    color:#7f8994;
    font-size:9px;
    line-height:1.2;
}
.epop-live-price strong{
    display:block;
    color:var(--epop-accent-dark);
    font-size:13px;
    line-height:1.25;
    font-weight:800;
    white-space:nowrap;
}
.epop-live-price .woocommerce-Price-amount{color:inherit}

.epop-set{margin:0;padding:0}
.epop-field{
    position:relative;
    margin:0 0 12px;
    padding:0;
}
.epop-field:last-child{margin-bottom:4px}
.epop-label-row{
    display:block;
    margin:0 0 5px;
    padding:0;
    text-align:right;
}
.epop-label-row label{
    display:block;
    margin:0;
    padding:0;
    color:var(--epop-text);
    font-size:12px;
    line-height:1.4;
    font-weight:800;
}
.epop-label-row em,
.epop-artwork-title em{
    color:#d83b42;
    font-style:normal;
    margin-inline-start:2px;
}
.epop-label-row small{
    display:block;
    margin-top:2px;
    color:#8a949e;
    font-size:9px;
    line-height:1.45;
}

.epop-select-wrap{position:relative}
.epop-select-wrap::after{
    content:'⌄';
    position:absolute;
    left:12px;
    top:50%;
    transform:translateY(-57%);
    color:#51606f;
    font-size:15px;
    line-height:1;
    pointer-events:none;
}
.epop-input[type=text],
.epop-input[type=number],
textarea.epop-input,
select.epop-input{
    display:block;
    width:100%!important;
    max-width:100%!important;
    min-height:44px!important;
    height:44px;
    margin:0!important;
    padding:8px 12px!important;
    color:#26313d!important;
    background:#fff!important;
    border:1px solid #d6dde4!important;
    border-radius:8px!important;
    box-shadow:0 1px 2px rgba(18,35,63,.018)!important;
    outline:0!important;
    font:inherit;
    font-size:11.5px!important;
    font-weight:500;
    line-height:1.3;
    text-align:right;
    transition:border-color .15s ease,box-shadow .15s ease;
}
select.epop-input{
    appearance:none;
    -webkit-appearance:none;
    padding-left:34px!important;
    background:#fff!important;
    background-image:none!important;
}
.epop-input:hover{border-color:#b9c5cf!important}
.epop-input:focus{
    border-color:var(--epop-accent)!important;
    box-shadow:0 0 0 2px rgba(15,143,151,.09)!important;
    background:#fff!important;
}
textarea.epop-input{height:auto;min-height:76px!important;resize:vertical}

.epop-choices{
    display:grid;
    width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
}
.epop-choice{
    position:relative;
    display:flex;
    min-width:0;
    min-height:56px;
    align-items:center;
    justify-content:flex-start;
    gap:8px;
    margin:0!important;
    padding:8px 10px;
    overflow:hidden;
    cursor:pointer;
    background:#fff;
    border:1px solid #d8dfe6;
    border-radius:8px;
    box-shadow:0 1px 2px rgba(18,35,63,.025);
    transition:border-color .15s ease,box-shadow .15s ease,background .15s ease,transform .15s ease;
}
.epop-choice:hover{
    border-color:#aebbc7;
    box-shadow:0 2px 7px rgba(18,35,63,.05);
}
.epop-choice input[type=radio]{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    margin:0!important;
    padding:0!important;
    opacity:0!important;
    pointer-events:none;
}
.epop-choice:has(input:checked){
    border-color:var(--epop-accent);
    background:#fbffff;
    box-shadow:0 0 0 1px rgba(15,143,151,.10),0 2px 6px rgba(18,35,63,.04);
}
.epop-choice-check{
    position:absolute;
    top:6px;
    right:6px;
    display:none;
    width:19px;
    height:19px;
    place-items:center;
    color:#fff;
    background:var(--epop-accent);
    border-radius:50%;
    font-size:10px;
    line-height:1;
    font-weight:800;
    box-shadow:0 1px 3px rgba(15,143,151,.20);
}
.epop-choice:has(input:checked) .epop-choice-check{display:grid}
.epop-choice-image{
    display:block;
    width:50px;
    height:50px;
    flex:0 0 50px;
    overflow:hidden;
    background:#f4f6f8;
    border:1px solid #edf0f2;
    border-radius:7px;
}
.epop-choice-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.epop-choice-text{
    display:flex;
    flex:1;
    min-width:0;
    flex-direction:column;
    justify-content:center;
    gap:2px;
}
.epop-choice-text b{
    color:#24303b;
    font-size:11px;
    line-height:1.35;
    font-weight:750;
    overflow-wrap:anywhere;
}
.epop-choice-text small{
    color:#0f7f70;
    font-size:9px;
    line-height:1.3;
}
.epop-choice:has(input:checked) .epop-choice-text{padding-inline-end:17px}

.epop-display-radio{display:block}
.epop-display-radio .epop-choice{
    min-height:40px;
    margin-bottom:6px!important;
    padding:7px 10px;
}
.epop-display-radio .epop-choice:last-child{margin-bottom:0!important}

.epop-display-buttons .epop-choice{
    min-height:42px;
    justify-content:center;
    text-align:center;
}
.epop-display-buttons .epop-choice-text{align-items:center}

.epop-display-cards .epop-choice,
.epop-display-large_cards .epop-choice{
    min-height:64px;
    padding:8px;
}
.epop-display-large_cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.epop-display-large_cards .epop-choice-image{width:58px;height:46px;flex-basis:58px}

.epop-display-image_cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
}
.epop-display-image_cards .epop-choice{
    min-height:76px;
    padding:7px;
}
.epop-display-image_cards .epop-choice-image{
    width:62px;
    height:58px;
    flex-basis:62px;
}

.epop-display-swatch{
    grid-template-columns:repeat(auto-fit,minmax(72px,1fr));
    gap:7px;
}
.epop-display-swatch .epop-choice{
    min-height:112px;
    padding:6px;
    flex-direction:column;
    justify-content:flex-start;
    text-align:center;
}
.epop-display-swatch .epop-choice-image{
    width:100%;
    height:64px;
    flex:0 0 64px;
}
.epop-display-swatch .epop-choice-text{
    width:100%;
    align-items:center;
    padding-inline-end:0!important;
}
.epop-display-swatch .epop-choice-text b{font-size:10px}
.epop-display-swatch .epop-choice-check{top:5px;right:5px}

.epop-number-stepper{
    display:inline-grid;
    grid-template-columns:38px 58px 38px;
    direction:ltr;
    overflow:hidden;
    border:1px solid #d4dce3;
    border-radius:8px;
    background:#fff;
}
.epop-number-stepper .epop-input[type=number]{
    width:58px!important;
    min-height:40px!important;
    height:40px!important;
    padding:0 4px!important;
    border:0!important;
    border-radius:0!important;
    text-align:center!important;
    box-shadow:none!important;
    -moz-appearance:textfield;
}
.epop-number-stepper .epop-input::-webkit-inner-spin-button,
.epop-number-stepper .epop-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.epop-number-btn{
    width:38px;
    height:40px;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    color:#fff;
    background:var(--epop-accent);
    font-size:18px;
    font-weight:700;
    cursor:pointer;
}
.epop-number-btn:hover{background:var(--epop-accent-dark)}

/* Artwork now lives inside the same white configurator card. */
.epop-artwork-upload{
    width:100%;
    margin:14px 0 0;
    padding:13px 0 0;
    border-top:1px solid #edf1f4;
    background:transparent;
}
.epop-artwork-title{display:block;margin:0 0 6px;padding:0}
.epop-artwork-title label{
    display:block;
    margin:0;
    color:var(--epop-text);
    font-size:12px;
    line-height:1.4;
    font-weight:800;
}
.epop-artwork-title small{
    display:block;
    margin-top:2px;
    color:#89939e;
    font-size:8.8px;
    line-height:1.4;
}
.epop-dropzone{
    position:relative;
    display:flex;
    min-height:58px;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:8px 10px;
    cursor:pointer;
    text-align:right;
    background:#fff;
    border:1px dashed #b9c5cf;
    border-radius:8px;
    transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
.epop-dropzone:hover,
.epop-dropzone.is-dragging{
    border-color:var(--epop-accent);
    background:#fbffff;
    box-shadow:0 0 0 2px rgba(15,143,151,.06);
}
.epop-dropzone input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.epop-upload-icon{
    display:grid;
    width:36px;
    height:36px;
    flex:0 0 36px;
    place-items:center;
    color:#fff;
    background:var(--epop-accent);
    border-radius:8px;
    font-size:19px;
    line-height:1;
    font-weight:800;
}
.epop-upload-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}
.epop-upload-copy strong{color:#26323d;font-size:11px;line-height:1.35;font-weight:750}
.epop-upload-copy small{color:#8a949f;font-size:8.6px;line-height:1.35;white-space:normal}
.epop-file-status{display:none;margin-top:6px;padding:6px 8px;border-radius:6px;font-size:9px}
.epop-file-status.ok{display:flex;flex-direction:column;gap:3px;color:#24613f;background:#f5faf7;border:1px solid #d7eadf}
.epop-file-status.ok span{display:flex;justify-content:space-between;gap:8px;overflow-wrap:anywhere}
.epop-file-status.ok small{flex:none;opacity:.78}
.epop-file-status.error{display:block;color:#9e2b35;background:#fff5f5;border:1px solid #f0d2d5}

/* WooCommerce quantity + CTA, visually connected to the configurator. */
.single-product form.cart:has(.epop-product-options){
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:stretch;
    gap:9px 8px!important;
}
.single-product form.cart:has(.epop-product-options) .epop-product-options{
    flex:0 0 100%!important;
    width:100%!important;
    margin-right:0!important;
    margin-left:0!important;
}
.single-product form.cart:has(.epop-product-options) .quantity{
    display:flex!important;
    flex:0 0 auto;
    align-items:stretch;
    margin:0!important;
    border:1px solid #d5dde4;
    border-radius:8px;
    overflow:hidden;
    background:#fff;
}
.single-product form.cart:has(.epop-product-options) .quantity .qty{
    width:56px!important;
    min-height:44px!important;
    height:44px!important;
    margin:0!important;
    padding:0 5px!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    text-align:center!important;
    background:#fff!important;
}
.epop-woo-qty-btn{
    width:38px;
    min-height:44px;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    color:#fff;
    background:var(--global-palette1,#0f8f97);
    font-size:18px;
    font-weight:800;
    cursor:pointer;
}
.epop-woo-qty-btn:hover{background:#08737b}
.single-product form.cart:has(.epop-product-options) .single_add_to_cart_button{
    flex:1 1 190px;
    min-height:44px;
    margin:0!important;
    border-radius:8px!important;
    font-size:13px!important;
    font-weight:800!important;
    box-shadow:0 4px 10px rgba(15,143,151,.14)!important;
}

@media(max-width:782px){
    .epop-product-options{padding:13px}
    .epop-product-head h3{font-size:17px}
}
@media(max-width:520px){
    .epop-product-options{padding:12px;border-radius:12px}
    .epop-product-head{gap:9px;align-items:flex-start}
    .epop-live-price{min-width:92px;padding:7px 8px}
    .epop-product-head p{font-size:9.7px}
    .epop-choices,
    .epop-display-cards,
    .epop-display-image_cards,
    .epop-display-large_cards{grid-template-columns:repeat(2,minmax(0,1fr))}
    .epop-display-swatch{grid-template-columns:repeat(3,minmax(0,1fr))}
    .epop-choice{padding:6px 7px}
    .epop-choice-image{width:44px;height:44px;flex-basis:44px}
    .epop-display-image_cards .epop-choice-image{width:52px;height:50px;flex-basis:52px}
    .epop-display-swatch .epop-choice{min-height:100px}
    .epop-display-swatch .epop-choice-image{height:56px;flex-basis:56px}
}
@media(max-width:390px){
    .epop-product-head{display:block}
    .epop-live-price{width:100%;margin-top:8px;text-align:right}
    .epop-display-swatch{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* 0.6.2 - Exact RTL inline dropdown layout.
 * Physical layout: field label on the RIGHT, white dropdown on the LEFT.
 * The row itself uses LTR only to make CSS grid columns deterministic across RTL themes.
 * Arabic content inside both cells remains RTL.
 */
.epop-field-select{
    direction:ltr!important;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(105px,29%);
    grid-template-rows:auto;
    column-gap:12px;
    align-items:center;
    width:100%;
    margin:0!important;
    padding:9px 0!important;
    border-bottom:1px solid #edf1f4;
}
.epop-field-select:first-child{border-top:0}
.epop-field-select:last-child{margin-bottom:4px!important}
.epop-field-select .epop-label-row{
    direction:rtl!important;
    grid-column:2;
    grid-row:1;
    align-self:center;
    margin:0!important;
    padding:0!important;
    min-width:0;
    text-align:right!important;
}
.epop-field-select .epop-label-row label{
    display:block;
    margin:0!important;
    padding:0!important;
    color:var(--epop-text);
    font-size:11.5px;
    line-height:1.35;
    font-weight:800;
    text-align:right!important;
    white-space:normal;
}
/* Product-field notes/descriptions are intentionally hidden in the storefront. */
.epop-field .epop-label-row small{
    display:none!important;
}
.epop-field-select .epop-select-wrap{
    direction:rtl!important;
    grid-column:1;
    grid-row:1;
    width:100%;
    min-width:0;
    margin:0!important;
}
.epop-field-select select.epop-input{
    direction:rtl!important;
    width:100%!important;
    min-height:36px!important;
    height:36px!important;
    margin:0!important;
    padding:6px 11px 6px 32px!important;
    color:#26313d!important;
    background:#fff!important;
    background-image:none!important;
    border:1px solid #cfd8e1!important;
    border-radius:5px!important;
    box-shadow:none!important;
    font-size:10.5px!important;
    line-height:1.2!important;
    text-align:right!important;
}
.epop-field-select select.epop-input:hover{border-color:#b6c3cf!important}
.epop-field-select select.epop-input:focus{
    background:#fff!important;
    border-color:var(--epop-accent)!important;
    box-shadow:0 0 0 2px rgba(15,143,151,.07)!important;
}
.epop-field-select .epop-select-wrap::after{
    left:10px;
    right:auto;
    font-size:13px;
}
.epop-field:not(.epop-field-select) + .epop-field-select{margin-top:2px!important}
.epop-field-select + .epop-field:not(.epop-field-select){margin-top:12px!important}

@media(max-width:520px){
    .epop-field-select{
        grid-template-columns:minmax(0,1fr) minmax(96px,32%);
        column-gap:8px;
        padding:8px 0!important;
    }
    .epop-field-select select.epop-input{
        min-height:35px!important;
        height:35px!important;
        font-size:10px!important;
    }
    .epop-field-select .epop-label-row label{font-size:11px}
}

/* 0.6.3 - WooCommerce product gallery and tabs polish requested from storefront review. */

/* Compact product gallery thumbnails. Kadence/WooCommerce themes sometimes leave a
 * tall list-item box around small source thumbnails. We own the geometry here so
 * the strip stays compact and consistent without changing the full-size gallery. */
.single-product .woocommerce-product-gallery .flex-control-thumbs{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
    width:100%!important;
    margin:12px 0 0!important;
    padding:0!important;
    list-style:none!important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li{
    float:none!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:4/3;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#fff!important;
    border:1px solid #d9e1e7!important;
    border-radius:8px!important;
    box-shadow:0 1px 3px rgba(18,35,63,.04)!important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:5px!important;
    object-fit:contain!important;
    object-position:center!important;
    background:#fff!important;
    border:0!important;
    border-radius:7px!important;
    opacity:.72!important;
    transition:opacity .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease!important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li:hover{
    border-color:var(--global-palette1,#0f8f97)!important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li img:hover{
    opacity:1!important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active{
    opacity:1!important;
    box-shadow:inset 0 0 0 2px var(--global-palette1,#0f8f97)!important;
}

/* Product description/reviews tabs use the site's primary CTA color so they feel
 * like part of the same design system as the Add to cart button. */
.single-product .woocommerce-tabs ul.tabs{
    display:flex!important;
    direction:rtl!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:0!important;
    width:100%!important;
    margin:24px 0 18px!important;
    padding:0!important;
    overflow:hidden!important;
    background:var(--global-palette1,#0f8f97)!important;
    border:1px solid var(--global-palette1,#0f8f97)!important;
    border-radius:8px!important;
    box-shadow:none!important;
}
.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs::after{
    display:none!important;
    content:none!important;
}
.single-product .woocommerce-tabs ul.tabs li{
    position:relative!important;
    display:block!important;
    flex:0 0 auto!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
}
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after{
    display:none!important;
    content:none!important;
}
.single-product .woocommerce-tabs ul.tabs li a{
    display:flex!important;
    min-height:44px!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    padding:9px 24px!important;
    color:#fff!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    font-weight:800!important;
    text-decoration:none!important;
    box-shadow:none!important;
    opacity:.88!important;
}
.single-product .woocommerce-tabs ul.tabs li + li a{
    border-right:1px solid rgba(255,255,255,.22)!important;
}
.single-product .woocommerce-tabs ul.tabs li a:hover{
    color:#fff!important;
    background:rgba(0,0,0,.08)!important;
    opacity:1!important;
}
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li.active a:hover{
    color:#fff!important;
    background:rgba(0,0,0,.16)!important;
    opacity:1!important;
    box-shadow:inset 0 -3px 0 rgba(255,255,255,.95)!important;
}

@media(max-width:600px){
    .single-product .woocommerce-product-gallery .flex-control-thumbs{
        gap:8px!important;
    }
    .single-product .woocommerce-tabs ul.tabs li{
        flex:1 1 0!important;
    }
    .single-product .woocommerce-tabs ul.tabs li a{
        width:100%!important;
        min-height:42px!important;
        padding:8px 10px!important;
        font-size:12px!important;
    }
}

/* 0.7.0 - Product tabs palette and custom tab content. */
.single-product .woocommerce-tabs ul.tabs{
    background:#06a9b7!important;
    border-color:#06a9b7!important;
}
.single-product .woocommerce-tabs ul.tabs li a{
    color:#fff!important;
}
.single-product .woocommerce-tabs ul.tabs li a:hover{
    background:rgba(0,0,0,.08)!important;
}
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li.active a:hover{
    background:#058e9a!important;
    color:#fff!important;
    box-shadow:inset 0 -3px 0 #fff!important;
}
.epop-product-tab-content{direction:rtl;text-align:right}
.epop-template-download-button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:42px!important;
    padding:9px 18px!important;
    border:1px solid #06a9b7!important;
    border-radius:7px!important;
    background:#06a9b7!important;
    color:#fff!important;
    font-weight:800!important;
    text-decoration:none!important;
    box-shadow:none!important;
}
.epop-template-download-button:hover,
.epop-template-download-button:focus{
    background:#058e9a!important;
    border-color:#058e9a!important;
    color:#fff!important;
}

/* 0.7.1 - Kadence/WooCommerce resilient tabs styling. */
:root{--epop-tabs-accent:#06a9b7;--epop-tabs-accent-dark:#058e9a}
.single-product .woocommerce-tabs ul.wc-tabs,
.single-product .woocommerce-tabs ul.tabs,
.single-product .wc-tabs-wrapper ul.wc-tabs,
.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce div.product .woocommerce-tabs ul.wc-tabs{
    background:var(--epop-tabs-accent)!important;
    border:1px solid var(--epop-tabs-accent)!important;
    border-color:var(--epop-tabs-accent)!important;
}
.single-product .woocommerce-tabs ul.wc-tabs > li,
.single-product .woocommerce-tabs ul.tabs > li,
.single-product .wc-tabs-wrapper ul.wc-tabs > li,
.woocommerce div.product .woocommerce-tabs ul.tabs > li{
    background:transparent!important;
    border:0!important;
}
.single-product .woocommerce-tabs ul.wc-tabs > li > a,
.single-product .woocommerce-tabs ul.tabs > li > a,
.single-product .wc-tabs-wrapper ul.wc-tabs > li > a,
.woocommerce div.product .woocommerce-tabs ul.tabs > li > a{
    color:#fff!important;
    background:transparent!important;
}
.single-product .woocommerce-tabs ul.wc-tabs > li.active > a,
.single-product .woocommerce-tabs ul.tabs > li.active > a,
.single-product .wc-tabs-wrapper ul.wc-tabs > li.active > a,
.woocommerce div.product .woocommerce-tabs ul.tabs > li.active > a{
    color:#fff!important;
    background:var(--epop-tabs-accent-dark)!important;
    box-shadow:inset 0 -3px 0 #fff!important;
}
.single-product .woocommerce-tabs ul.wc-tabs > li > a:hover,
.single-product .woocommerce-tabs ul.tabs > li > a:hover,
.single-product .wc-tabs-wrapper ul.wc-tabs > li > a:hover{
    color:#fff!important;
    background:rgba(0,0,0,.08)!important;
}

/* 0.7.2 - Product gallery main-image visibility fix.
 * Scope is intentionally limited to the large WooCommerce gallery image. It does
 * not alter thumbnail opacity, slider dimensions, zoom behaviour, or option UI. */
.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image.flex-active-slide img {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    filter:none!important;
    -webkit-filter:none!important;
}
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image.flex-active-slide,
.single-product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image.flex-active-slide {
    visibility:visible!important;
    opacity:1!important;
}
/* Some lazy-load/theme layers place opacity on the anchor instead of the img. */
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image.flex-active-slide > a {
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
}


/* 0.7.3 - Narrow storefront corrections from visual QA.
 * Scope is limited to price typography, select value readability, and Woo quantity.
 * No gallery, tabs, upload, option pricing, or product data rules are changed here. */
.single-product .summary > .price,
.single-product .summary p.price,
.single-product .summary .price > .woocommerce-Price-amount,
.single-product .summary .price .woocommerce-Price-amount,
.single-product .summary .price bdi{
    direction:ltr!important;
    unicode-bidi:isolate!important;
    text-align:right!important;
    white-space:nowrap!important;
}
.single-product .summary .price bdi,
.epop-live-price strong,
.epop-live-amount{
    font-variant-numeric:tabular-nums!important;
    letter-spacing:0!important;
}

/* Keep the exact RTL row geometry from 0.6.2, only increase the chosen value size. */
.epop-field-select select.epop-input{
    font-size:12.5px!important;
    font-weight:500!important;
    line-height:1.25!important;
}
.epop-field-select select.epop-input option{
    font-size:12.5px!important;
    direction:rtl!important;
    text-align:right!important;
}

/* Stable quantity control: minus on the left, number centered, plus on the right.
 * Force LTR only inside this numeric control so the surrounding Arabic layout stays RTL. */
.single-product form.cart:has(.epop-product-options) .quantity{
    direction:ltr!important;
    flex:0 0 118px!important;
    width:118px!important;
    min-width:118px!important;
    height:44px!important;
    display:grid!important;
    grid-template-columns:36px minmax(44px,1fr) 36px!important;
    align-items:stretch!important;
    border:1px solid #cfd9e2!important;
    border-radius:8px!important;
    overflow:hidden!important;
    background:#fff!important;
    box-shadow:none!important;
}
.single-product form.cart:has(.epop-product-options) .quantity .epop-woo-qty-btn{
    width:36px!important;
    min-width:36px!important;
    height:42px!important;
    min-height:42px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:0!important;
    border-radius:0!important;
    background:var(--global-palette1,#06a9b7)!important;
    color:#fff!important;
    box-shadow:none!important;
    font-size:18px!important;
    line-height:1!important;
}
.single-product form.cart:has(.epop-product-options) .quantity .epop-woo-minus{grid-column:1!important}
.single-product form.cart:has(.epop-product-options) .quantity .qty{
    grid-column:2!important;
    width:100%!important;
    min-width:0!important;
    height:42px!important;
    min-height:42px!important;
    margin:0!important;
    padding:0 4px!important;
    border:0!important;
    border-left:1px solid #e3e8ed!important;
    border-right:1px solid #e3e8ed!important;
    border-radius:0!important;
    background:#fff!important;
    color:#26313d!important;
    box-shadow:none!important;
    text-align:center!important;
    direction:ltr!important;
    font-size:13px!important;
    font-weight:600!important;
    appearance:textfield!important;
    -moz-appearance:textfield!important;
}
.single-product form.cart:has(.epop-product-options) .quantity .qty::-webkit-outer-spin-button,
.single-product form.cart:has(.epop-product-options) .quantity .qty::-webkit-inner-spin-button{
    -webkit-appearance:none!important;
    margin:0!important;
}
.single-product form.cart:has(.epop-product-options) .quantity .epop-woo-plus{grid-column:3!important}
.single-product form.cart:has(.epop-product-options) .single_add_to_cart_button{
    min-width:0!important;
}

@media(max-width:480px){
    .single-product form.cart:has(.epop-product-options) .quantity{
        flex-basis:112px!important;
        width:112px!important;
        min-width:112px!important;
        grid-template-columns:34px minmax(42px,1fr) 34px!important;
    }
    .single-product form.cart:has(.epop-product-options) .quantity .epop-woo-qty-btn{
        width:34px!important;
        min-width:34px!important;
    }
}

/* EasyPrint 0.7.4: product title weight only. */
.single-product .entry-title,
.single-product .product_title.entry-title{
    font-weight:600!important;
}

/* EasyPrint 0.8.0 - variable numeric dimensions. */
.epop-number-stepper{position:relative}.epop-number-stepper .epop-number-unit{display:flex;align-items:center;justify-content:center;padding:0 8px;min-width:34px;border-inline-start:1px solid #e4e9ef;border-inline-end:1px solid #e4e9ef;background:#f8fafc;color:#5f6b7a;font-size:12px;font-weight:700;white-space:nowrap}.epop-type-numeric_range .epop-number-stepper input[type=number]{direction:ltr;text-align:center}.epop-type-numeric_range .epop-label-row small{display:block}
.epop-type-numeric_range .epop-number-stepper{grid-template-columns:38px minmax(64px,78px) auto 38px}.epop-type-numeric_range .epop-number-stepper .epop-input[type=number]{width:100%!important;min-width:64px!important}
