.elementor-7406 .elementor-element.elementor-element-5722eab{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0em 2em;--row-gap:0em;--column-gap:2em;}.elementor-7406 .elementor-element.elementor-element-58f3473{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-7406 .elementor-element.elementor-element-60655cf{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-woocommerce-product-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-7406 .elementor-element.elementor-element-992f5a2 .elementor-heading-title{color:#FFFFFF;}.elementor-widget-woocommerce-product-meta .product_meta .detail-container:not(:last-child):after{border-color:var( --e-global-color-text );}.woocommerce .elementor-widget-woocommerce-product-price .price{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.woocommerce .elementor-7406 .elementor-element.elementor-element-8da4b2a .price{color:var( --e-global-color-accent );}.elementor-widget-woocommerce-product-add-to-cart .added_to_cart{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-7406 .elementor-element.elementor-element-01309db .cart button, .elementor-7406 .elementor-element.elementor-element-01309db .cart .button{transition:all 0.2s;}.elementor-7406 .elementor-element.elementor-element-01309db .quantity .qty{transition:all 0.2s;}.elementor-7406 .elementor-element.elementor-element-7d602e3{--display:flex;}.elementor-7406 .elementor-element.elementor-element-a9fd197{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:2em;--padding-bottom:3em;--padding-left:1em;--padding-right:1em;}.woocommerce .elementor-widget-woocommerce-product-related.elementor-wc-products .products > h2{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .woocommerce-loop-product__title{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .woocommerce-loop-product__title, .elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .price{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .price ins{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .price ins .amount{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .price del{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .price del .amount{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .price del {font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .button{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-woocommerce-product-related.elementor-wc-products .added_to_cart{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-7406 .elementor-element.elementor-element-2e22e35.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-7406 .elementor-element.elementor-element-2e22e35.elementor-wc-products ul.products li.product span.onsale{display:block;}.elementor-7406 .elementor-element.elementor-element-fdc604e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(max-width:1024px){.elementor-7406 .elementor-element.elementor-element-2e22e35.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(min-width:480px){.elementor-7406 .elementor-element.elementor-element-5722eab{--content-width:1403px;}.elementor-7406 .elementor-element.elementor-element-58f3473{--width:54%;}.elementor-7406 .elementor-element.elementor-element-60655cf{--width:56%;}}@media(max-width:479px){.elementor-7406 .elementor-element.elementor-element-5722eab{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-7406 .elementor-element.elementor-element-7d602e3{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-7406 .elementor-element.elementor-element-a9fd197{--padding-top:0em;--padding-bottom:0em;--padding-left:0em;--padding-right:0em;}.elementor-7406 .elementor-element.elementor-element-2e22e35{padding:0px 0px 0px 0px;}.elementor-7406 .elementor-element.elementor-element-2e22e35.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS *//* ============================================
   PRODUCT GALLERY → 2x2 GRID (Dark Background)
   ============================================ */

/* 1. Dark background around the gallery */
.woocommerce div.product div.images,
.elementor-widget-woocommerce-product-images .woocommerce-product-gallery {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    max-width: 900px;
    margin: 0 auto;
}

/* 2. Kill the default WooCommerce flex layout */
.woocommerce-product-gallery .flex-viewport {
    display: none !important;
}

.woocommerce-product-gallery .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 33px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    float: none !important;
}

/* 3. Each thumbnail = large square tile */
.woocommerce-product-gallery .flex-control-thumbs li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background-color: #1a1a1a;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce-product-gallery .flex-control-thumbs li:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
}

/* 4. Thumbnail images fill the tile */
.woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1;.woocommerce-product-gallery .flex-control-thumbs
    object-fit: cover;
    display: block;
    border-radius: 6px;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.woocommerce-product-gallery .flex-control-thumbs li img:hover,
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    opacity: 1;
}

/* 5. Show ALL thumbnails (WooCommerce hides extras by default) */
.woocommerce-product-gallery .flex-control-thumbs li:nth-child(n+5) {
    display: block !important;
}


.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item) {
    border-radius: 11px;
    padding: 11px;
}

















/* ============================================
   QUANTITY BOX - PILL SHAPE (Pure CSS)
   ============================================ */

.quantity.quantity-with-arrows {
    display: inline-grid !important;
    grid-template-columns: 40px 60px 40px !important;
    grid-template-areas: "minus qty plus" !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #e08a2c !important;
    border-radius: 50px !important;
    padding: 0 !important;
    background: transparent !important;
    width: 140px !important;
    height: 46px !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    float: none !important;
    gap: 0 !important;
}

/* Number - Middle column */
.quantity.quantity-with-arrows input.qty {
    grid-area: qty !important;
    background: transparent !important;
    border: none !important;
    color: #e08a2c !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-align: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    -moz-appearance: textfield !important;
    position: static !important;
    transform: none !important;
}

.quantity.quantity-with-arrows input.qty::-webkit-outer-spin-button,
.quantity.quantity-with-arrows input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Minus - Left column */
.quantity.quantity-with-arrows a.minus {
    grid-area: minus !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    color: #e08a2c !important;
    text-decoration: none !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    order: unset !important;
    float: none !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 5 !important;
}

/* Plus - Right column */
.quantity.quantity-with-arrows a.plus {
    grid-area: plus !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    color: #e08a2c !important;
    text-decoration: none !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    order: unset !important;
    float: none !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 5 !important;
}

/* Hide the theme icons */
.quantity.quantity-with-arrows a i {
    display: none !important;
    font-size: 0 !important;
}

/* Custom +/- characters */
.quantity.quantity-with-arrows a.minus::after {
    content: "−" !important;
    font-size: 22px !important;
    line-height: 1 !important;
    color: #e08a2c !important;
    font-weight: 400 !important;
}

.quantity.quantity-with-arrows a.plus::after {
    content: "+" !important;
    font-size: 22px !important;
    line-height: 1 !important;
    color: #e08a2c !important;
    font-weight: 400 !important;
}

/* Hide the label */
.quantity.quantity-with-arrows label.screen-reader-text {
    display: none !important;
}

/* Hover */
.quantity.quantity-with-arrows a.plus:hover,
.quantity.quantity-with-arrows a.minus:hover {
    opacity: 0.6 !important;
}

/* Also override Elementor / WooCommerce parent wrappers */
.elementor-widget-woocommerce-add-to-cart form.cart .quantity,
form.cart .quantity.quantity-with-arrows {
    display: inline-grid !important;
    grid-template-columns: 40px 60px 40px !important;
    vertical-align: middle !important;
}

.woocommerce div.product form.cart div.quantity{
        width: 253px !important;
}












.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{
    padding: 20px;
}




:is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart.variations_form .woocommerce-variation-add-to-cart, :is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart:not(.grouped_form):not(.variations_form) {

    gap: 15px;
}

















/* ================================================================
   PRODUCT DESCRIPTION — PREMIUM LAYOUT
   ================================================================ */

/* ---------- 1. Main Container ---------- */
.woocommerce-Tabs-panel--description,
.woocommerce-Tabs-panel {
    max-width: 880px !important;
    margin: 0 auto !important;
    padding: 60px 30px 80px !important;
    box-sizing: border-box !important;
    color: #cfcfcf !important;
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.9 !important;
    text-align: right !important;
    direction: rtl !important;
    position: relative !important;
    overflow: hidden !important;
    letter-spacing: 0.2px !important;
}

/* Soft background gradient for depth */
.woocommerce-Tabs-panel--description {
    background:
        radial-gradient(ellipse at top center, rgba(224, 138, 44, 0.04), transparent 60%),
        transparent !important;
    border-radius: 12px !important;
}

/* ---------- 2. Paragraph Spacing ---------- */
.woocommerce-Tabs-panel p {
    margin: 0 0 22px !important;
    color: #c4c4c4 !important;
    font-size: 16px !important;
    line-height: 1.95 !important;
    text-align: right !important;
    letter-spacing: 0.15px !important;
}

.woocommerce-Tabs-panel p:empty,
.woocommerce-Tabs-panel p:has(> br:only-child),
.woocommerce-Tabs-panel p:has(> img:only-child):empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

/* ---------- 3. Headings — Editorial Style ---------- */
.woocommerce-Tabs-panel h1,
.woocommerce-Tabs-panel h2,
.woocommerce-Tabs-panel h3 {
    color: #ffffff !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.3px !important;
    text-align: center !important;
    margin: 60px 0 28px !important;
    padding: 0 !important;
    position: relative !important;
}

/* Big decorative heading underline */
.woocommerce-Tabs-panel h1::after,
.woocommerce-Tabs-panel h2::after {
    content: "" !important;
    display: block !important;
    width: 48px !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent, #e08a2c, transparent) !important;
    margin: 20px auto 0 !important;
    border-radius: 2px !important;
}

.woocommerce-Tabs-panel h1 { font-size: 32px !important; }
.woocommerce-Tabs-panel h2 { font-size: 26px !important; }
.woocommerce-Tabs-panel h3 { font-size: 21px !important; }

/* Sub-headings — orange accent */
.woocommerce-Tabs-panel h4 {
    color: #e08a2c !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-align: center !important;
    margin: 40px 0 20px !important;
}

.woocommerce-Tabs-panel h5 {
    color: #e08a2c !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    text-align: center !important;
    margin: 30px 0 16px !important;
}

.woocommerce-Tabs-panel h6 {
    color: #a8a8a8 !important;
    font-size: 14.5px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    text-align: center !important;
    margin: 20px 0 !important;
    padding: 0 20px !important;
    letter-spacing: 0.2px !important;
}

/* Hide duplicate product title at top */
.woocommerce-Tabs-panel > h1:first-child,
.woocommerce-Tabs-panel > h2:first-child {
    display: none !important;
}

/* ---------- 4. Text Emphasis ---------- */
.woocommerce-Tabs-panel strong,
.woocommerce-Tabs-panel b {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.woocommerce-Tabs-panel em,
.woocommerce-Tabs-panel i {
    color: #e08a2c !important;
    font-style: italic !important;
}

/* ---------- 5. Images — Elevated Presentation ---------- */
.woocommerce-Tabs-panel img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Single images centered, max height */
.woocommerce-Tabs-panel p > img:only-child,
.woocommerce-Tabs-panel p > a:only-child > img,
.woocommerce-Tabs-panel > img {
    max-height: 480px !important;
    width: auto !important;
    margin: 40px auto !important;
}

/* Hover lift effect */
.woocommerce-Tabs-panel img:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 50px rgba(224, 138, 44, 0.15) !important;
}

/* Two-column image grid — for grouped images */
.woocommerce-Tabs-panel p > a {
    display: inline-block !important;
    vertical-align: top !important;
    margin: 8px !important;
    width: calc(50% - 20px) !important;
    text-decoration: none !important;
    border: none !important;
}

.woocommerce-Tabs-panel p > a > img {
    width: 100% !important;
    max-height: 380px !important;
    object-fit: cover !important;
    margin: 0 !important;
}

/* If a paragraph has 3+ images, make them a 3-col grid */
.woocommerce-Tabs-panel p:has(a:nth-child(3)) > a {
    width: calc(33.33% - 16px) !important;
    margin: 6px !important;
}

/* ---------- 6. Lists — Premium Bullets ---------- */
.woocommerce-Tabs-panel ul,
.woocommerce-Tabs-panel ol {
    list-style: none !important;
    margin: 24px 0 32px !important;
    padding: 0 8px 0 0 !important;
    text-align: right !important;
}

.woocommerce-Tabs-panel ul li,
.woocommerce-Tabs-panel ol li {
    position: relative !important;
    padding: 14px 32px 14px 16px !important;
    margin-bottom: 8px !important;
    color: #c4c4c4 !important;
    font-size: 15.5px !important;
    line-height: 1.8 !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border-radius: 8px !important;
    border-right: 2px solid rgba(224, 138, 44, 0.4) !important;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease !important;
}

.woocommerce-Tabs-panel ul li:hover {
    background: rgba(224, 138, 44, 0.06) !important;
    border-right-color: #e08a2c !important;
    transform: translateX(-4px) !important;
}

/* Diamond bullet marker */
.woocommerce-Tabs-panel ul li::before {
    content: "◆" !important;
    position: absolute !important;
    right: 12px !important;
    top: 19px !important;
    color: #e08a2c !important;
    font-size: 10px !important;
    line-height: 1 !important;
}

/* Numbered list */
.woocommerce-Tabs-panel ol {
    counter-reset: ol-counter !important;
}

.woocommerce-Tabs-panel ol li {
    counter-increment: ol-counter !important;
    padding-right: 52px !important;
}

.woocommerce-Tabs-panel ol li::before {
    content: counter(ol-counter) !important;
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 26px !important;
    height: 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(224, 138, 44, 0.15) !important;
    color: #e08a2c !important;
    border-radius: 50% !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* ---------- 7. Links ---------- */
.woocommerce-Tabs-panel a {
    color: #e08a2c !important;
    text-decoration: none !important;
    border-bottom: 1px solid transparent !important;
    transition: border-color 0.25s ease, opacity 0.25s ease !important;
}

.woocommerce-Tabs-panel a:hover {
    border-bottom-color: #e08a2c !important;
    opacity: 0.85 !important;
}

/* External link arrow hint */
.woocommerce-Tabs-panel a[href^="http"]:not([href*="sultanlaser"])::after {
    content: " ↗" !important;
    font-size: 12px !important;
    opacity: 0.6 !important;
}

/* ---------- 8. Clean Junk / Empty Elements ---------- */
.woocommerce-Tabs-panel .plp-page-title,
.woocommerce-Tabs-panel .plp-range-introduction-slot-wrapper,
.woocommerce-Tabs-panel .cl6pfke,
.woocommerce-Tabs-panel .gd8xc1c,
.woocommerce-Tabs-panel .c1lpg3h5,
.woocommerce-Tabs-panel .v1gpv7o0,
.woocommerce-Tabs-panel .v19w64p3,
.woocommerce-Tabs-panel .v18by0fb,
.woocommerce-Tabs-panel [data-pub-id],
.woocommerce-Tabs-panel [data-pub-ga],
.woocommerce-Tabs-panel [data-version-id],
.woocommerce-Tabs-panel div:empty,
.woocommerce-Tabs-panel span:empty {
    display: none !important;
}

/* Hide p tags containing only &nbsp; */
.woocommerce-Tabs-panel p:not(:has(*)):not(:has(img)):not(:has(a)) {
    font-size: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
}

/* ---------- 9. Optional: Section Divider ---------- */
.woocommerce-Tabs-panel hr {
    border: none !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(224, 138, 44, 0.3), transparent) !important;
    margin: 50px auto !important;
    width: 60% !important;
}

/* ---------- 10. Mobile Responsive ---------- */
@media (max-width: 768px) {
    .woocommerce-Tabs-panel {
        padding: 40px 18px 60px !important;
        font-size: 15px !important;
    }

    .woocommerce-Tabs-panel h1 { font-size: 24px !important; }
    .woocommerce-Tabs-panel h2 { font-size: 20px !important; }
    .woocommerce-Tabs-panel h3 { font-size: 18px !important; }

    .woocommerce-Tabs-panel p > a,
    .woocommerce-Tabs-panel p:has(a:nth-child(3)) > a {
        width: 100% !important;
        margin: 10px 0 !important;
    }

    .woocommerce-Tabs-panel img {
        max-height: 400px !important;
    }

    .woocommerce-Tabs-panel ul li {
        padding: 12px 30px 12px 12px !important;
        font-size: 15px !important;
    }
    
    .custom-card-image-wrap{
        height: 176px !important;
    }
}























/* EQUAL HEIGHT PRODUCT CARDS - ELEMENTOR + WOOCOMMERCE */

/* Preserve the original Elementor/WooCommerce grid */
.woocommerce .elementor-element.elementor-products-grid ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 25px 0 !important;
}

.woocommerce ul.products[class*="columns-"]:not(.products-apply-isotope, .swiper-wrapper) {
    gap: 26px!important;

}

/* Equal-height product cards */
.woocommerce .elementor-element.elementor-products-grid ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    height: auto !important;
    box-sizing: border-box !important;
}

/* Consistent image height */
.woocommerce .elementor-element.elementor-products-grid ul.products li.product img {
    width: 100% !important;
    height: 280px !important;
    object-fit: contain !important;
}

/* Consistent title area */
.woocommerce .elementor-element.elementor-products-grid ul.products li.product .woocommerce-loop-product__title {
    min-height: 50px;
}

/* Align prices and buttons */
.woocommerce .elementor-element.elementor-products-grid ul.products li.product .price {
    margin-top: auto !important;
}

.woocommerce .elementor-element.elementor-products-grid ul.products li.product .button {
    margin-top: 12px !important;
}

/* Mobile image size */
@media (max-width: 767px) {
    .woocommerce .elementor-element.elementor-products-grid ul.products li.product img {
        height: 180px !important;
    }

    .custom-card-image-wrap {
    height: 176px !important;

}

.elementor-element.elementor-element-992f5a2.elementor-widget.elementor-widget-woocommerce-product-title.elementor-page-title.elementor-widget-heading.animated.fadeInRight {
    margin-top: 2em;
}
}













/* ==========================================================================
   RELATED PRODUCTS - FORCE 4 PRODUCTS IN 1 ROW
   ========================================================================== */

/* Outer Container */
.related.products {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 40px auto !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
}

/* Force 4-Column Grid Layout on UL */
.related.products ul.products,
.related.products ul.products.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Neutralize LI Element Overrides from Theme */
.related.products ul.products li.product,
.related.products ul.products li.product.type-product {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    float: none !important;
}

/* Hide theme default inner elements */
.related.products ul.products li.product > a:not(.custom-card-container *),
.related.products ul.products li.product > div:not(.custom-card-container) {
    display: none !important;
}

/* Custom Card Layout */
.custom-card-container {
    background-color: #121212 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    text-align: center !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
    display: block !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.custom-card-container:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6) !important;
}

/* IMAGE CONTAINER */
.custom-card-image-wrap {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 220px;
    overflow: hidden !important;
    border-radius: 6px !important;
    background-color: #ffffff !important;
}

/* Overlaying Both Images for Hover Effect */
.custom-card-image-wrap img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out !important;
}

.custom-card-image-wrap img.custom-main-img {
    opacity: 1 !important;
    z-index: 2 !important;
    transform: scale(1) !important;
}

.custom-card-image-wrap img.custom-hover-img {
    opacity: 0 !important;
    z-index: 1 !important;
    transform: scale(1.05) !important;
}

.custom-card-container:hover .custom-card-image-wrap img.custom-main-img {
    opacity: 0 !important;
}

.custom-card-container:hover .custom-card-image-wrap img.custom-hover-img {
    opacity: 1 !important;
    z-index: 3 !important;
    transform: scale(1) !important;
}

/* BADGE ON SALE */
.custom-onsale-badge {
    position: absolute !important;
    top: 24px !important;
    right: 24px !important;
    background-color: #f36e21 !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    padding: 3px 7px !important;
    border-radius: 2px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    z-index: 10 !important;
}

/* TYPOGRAPHY & PRICE */
.custom-product-details {
    margin-top: 15px !important;
}

.custom-product-cats {
    font-size: 10px !important;
    text-transform: uppercase !important;
    color: #888888 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 5px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.custom-product-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3 !important;
}

.custom-product-title a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.custom-product-price,
.custom-product-price mark,
.custom-product-price ins {
    background: transparent !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.custom-product-price del {
    color: #777777 !important;
    font-weight: 400 !important;
    margin-right: 6px !important;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .related.products ul.products,
    .related.products ul.products.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .related.products ul.products,
    .related.products ul.products.products {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 1024px) {
.custom-card-image-wrap {
    height: 273px !important;

}
}



























/* ==========================================================================
   STYLE MODERNE POUR LES VARIATIONS WVS & BOUTONS
   ========================================================================== */

/* Structure du tableau des variations */
.variations_form.cart table.variations {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 16px !important;
    margin-bottom: 20px !important;
}

.variations_form.cart table.variations tr {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.variations_form.cart table.variations th.label {
    padding: 0 0 8px 0 !important;
    text-align: right !important; /* Adapté au site RTL */
    width: 100% !important;
}

.variations_form.cart table.variations th.label label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.variations_form.cart table.variations td.value {
    width: 100% !important;
    padding: 0 !important;
}

/* Liste des boutons de variations */
ul.variable-items-wrapper.button-variable-items-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Style individuel de chaque bouton de variation */
ul.variable-items-wrapper li.variable-item.button-variable-item {
    background-color: #1a1a1a !important;
    border: 1px solid #333333 !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    min-height: 42px !important;
    min-width: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.25s ease-in-out !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* Texte à l'intérieur des boutons */
ul.variable-items-wrapper li.variable-item .variable-item-span {
    color: #cccccc !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

/* Effet au survol (Hover) */
ul.variable-items-wrapper li.variable-item.button-variable-item:hover {
    border-color: #f36e21 !important;
    background-color: #242424 !important;
}

ul.variable-items-wrapper li.variable-item.button-variable-item:hover .variable-item-span {
    color: #ffffff !important;
}

/* Option sélectionnée (Active / Checked) */
ul.variable-items-wrapper li.variable-item.button-variable-item.selected,
ul.variable-items-wrapper li.variable-item.button-variable-item[aria-checked="true"] {
    background-color: #f36e21 !important;
    border-color: #f36e21 !important;
    box-shadow: 0 0 10px rgba(243, 110, 33, 0.4) !important;
}

ul.variable-items-wrapper li.variable-item.button-variable-item.selected .variable-item-span,
ul.variable-items-wrapper li.variable-item.button-variable-item[aria-checked="true"] .variable-item-span {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Option indisponible / hors stock */
ul.variable-items-wrapper li.variable-item.disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    text-decoration: line-through !important;
    border-color: #222222 !important;
}

/* Bouton Réinitialiser (Reset) */
a.reset_variations {
    display: inline-block !important;
    margin-top: 10px !important;
    color: #888888 !important;
    font-size: 12px !important;
    text-decoration: underline !important;
    transition: color 0.2s ease !important;
}

a.reset_variations:hover {
    color: #f36e21 !important;
}




/* ==========================================================================
   CORRECTION DEFINITIVE DES VALEURS SELECTIONNEES (WVS)
   ========================================================================== */

/* Alignement LTR strict sur la cellule d'en-tête */
.variations_form.cart table.variations th.label {
    direction: ltr !important;
    text-align: left !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    float: none !important;
    width: 100% !important;
    gap: 6px !important;
}

/* Alignement et réinitialisation du libellé principal */
.variations_form.cart table.variations th.label label {
    direction: ltr !important;
    text-align: left !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Valeur sélectionnée injectée par WVS */
.variations_form.cart table.variations th.label .woo-selected-variation-item-name {
    direction: ltr !important;
    text-align: left !important;
    float: none !important;
    display: inline-block !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #f36e21 !important; /* Couleur accentuée pour la valeur */
    font-weight: 500 !important;
    font-size: 14px !important;
}

/* Supprimer le deux-points automatique de WVS (: devant la valeur) */
.variations_form.cart table.variations th.label .woo-selected-variation-item-name::before {
    content: "" !important;
    display: none !important;
}

/* Sécurité contre les anciens float/text-align à droite */
.variations_form.cart table.variations th.label *,
.variations_form.cart table.variations th.label *::before,
.variations_form.cart table.variations th.label *::after {
    text-align: left !important;
}




















/* ==========================================================================
   MASQUER L'ONGLET ET LE CONTENU SI LES ATTRIBUTS SONT VIDES
   ========================================================================== */

/* 1. Masquer le panneau de contenu s'il n'y a aucun texte dans les td */
#tab-additional_information:has(td:empty),
.woocommerce-Tabs-panel--additional_information:has(td:empty) {
    display: none !important;
}

/* 2. Alternative globale : Masquer l'onglet si les attributs sont vides */
ul.tabs li.additional_information_tab {
    display: none !important;
}




















th.label label {
    direction: rtl;
    unicode-bidi: plaintext;
    display: inline-block;
}

.woocommerce .elementor-7406 .elementor-element.elementor-element-8da4b2a .price {

    padding: 0px!important;
}

#main div.container div.elementor:nth-of-type(2) div.elementor-element:nth-of-type(1) div.e-con-inner div.elementor-element:nth-of-type(2) div.elementor-element:nth-of-type(5) div.woocommerce-product-details__short-description p {
    padding: 0px!important;
}

.rtl.woocommerce .product form.cart .variations tr th.label {

    justify-content: flex-end!important;
}/* End custom CSS */