/*
Theme Name: H2K Trade Rebuild
Theme URI: https://h2kperfumes.com
Author: H2K
Description: Clean bilingual WooCommerce theme rebuilt from the original Shopify Trade storefront structure.
Version: 2.6.0
Text Domain: h2k-trade
Requires at least: 6.0
Requires PHP: 7.4
*/
:root{--gold:#e5b53d;--gold2:#ffcc4b;--black:#050505;--paper:#fff;--muted:#6d6d6d;--line:#e7e7e7;--max:1280px;--radius:8px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Tahoma,sans-serif;color:#171717;background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}button,input,select,textarea{font:inherit}.h2k-wrap{width:min(var(--max),calc(100% - 40px));margin-inline:auto}
.announcement{height:38px;background:linear-gradient(90deg,#c9a24e,var(--gold2));overflow:hidden;display:flex;align-items:center;font-weight:700;font-size:14px;color:#17120a;white-space:nowrap}
.announcement-track{display:flex;width:max-content;min-width:max-content;will-change:transform;animation:h2k-announcement-scroll 24s linear infinite}
.announcement-group{display:flex;align-items:center;flex-shrink:0;gap:110px;padding-inline:55px}
.announcement-group span{display:block;flex-shrink:0}
.h2k-lang-ar .announcement-track{animation-direction:reverse}
@keyframes h2k-announcement-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.announcement:hover .announcement-track{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.announcement-track{animation:none;transform:none}.announcement-group:nth-child(2){display:none}}
.site-header{background:#000;color:#fff;border-bottom:1px solid #1d1d1d;position:sticky;top:0;z-index:900}.header-inner{height:58px;display:flex;align-items:center;gap:34px}.brand{font-size:20px;letter-spacing:.03em;white-space:nowrap}.main-nav{display:flex;list-style:none;gap:28px;margin:0;padding:0;flex:1;align-items:center}.main-nav a{font-size:14px}.main-nav a:hover,.current-menu-item>a{color:var(--gold2)}.header-actions{display:flex;align-items:center;gap:17px}.header-actions svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.lang-switch{font-size:13px;white-space:nowrap}.cart-link{position:relative}.cart-count{position:absolute;inset-inline-end:-9px;top:-8px;min-width:16px;height:16px;border-radius:99px;background:var(--gold2);color:#000;font-size:10px;display:grid;place-items:center;padding:0 4px;font-weight:700}.menu-toggle{display:none;background:none;border:0;color:#fff;padding:0;width:26px}.menu-toggle span{display:block;height:2px;background:#fff;margin:5px 0}
.hero{background:#000}.hero img{width:100%;height:auto;object-fit:cover}.tagline{min-height:36px;background:linear-gradient(90deg,#c9a24e,var(--gold2));display:flex;align-items:center;justify-content:center;padding:8px 20px;text-align:center;font-size:15px}.section{padding:56px 0}.section-dark{background:#000;color:#fff}.section-title{font-size:28px;margin:0 0 28px;font-weight:500}.view-all{display:table;margin:30px auto 0;background:#817970;color:#fff;border-radius:5px;padding:13px 32px}.wide-banner img{width:100%;object-fit:cover}
.products-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.products-grid.six{grid-template-columns:repeat(6,minmax(0,1fr))}.product-card{background:#fff;color:#151515;border-radius:var(--radius);overflow:hidden;min-width:0;display:flex;flex-direction:column}.product-card .thumb{aspect-ratio:1/1;overflow:hidden;background:#f4f4f4}.product-card .thumb.arch{border-radius:50% 50% 0 0}.product-card .thumb img{width:100%;height:100%;object-fit:cover;transition:.25s}.product-card:hover .thumb img{transform:scale(1.02)}.product-card-body{padding:14px;display:flex;flex-direction:column;gap:8px;flex:1}.product-title{font-size:14px;line-height:1.45;min-height:41px}.product-price{font-size:15px;display:flex;flex-direction:column;gap:3px;min-height:43px}.product-price .h2k-old-price{display:block;color:#777;font-size:13px}.product-price del{color:#777;text-decoration-thickness:1px}.product-price .h2k-sale-price{font-weight:700;color:#171717}.product-price .h2k-current-price{font-weight:600;color:#171717}.product-price ins{text-decoration:none}.product-card .button{margin-top:auto;border:1px solid #8f8882;border-radius:6px;padding:11px;text-align:center;color:#666}.section-dark .product-card{border:1px solid #1b1b1b}
.categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.category-card{border-radius:var(--radius);overflow:hidden;background:#fff}.category-card img{width:100%;aspect-ratio:1/1.22;object-fit:cover}.category-card h3{font-weight:400;font-size:18px;margin:0;padding:17px 20px}
.features{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:stretch}.accordion details{border-top:1px solid var(--line)}.accordion details:last-child{border-bottom:1px solid var(--line)}.accordion summary{list-style:none;cursor:pointer;padding:17px 4px;font-size:16px;position:relative;padding-inline-end:28px}.accordion summary::-webkit-details-marker{display:none}.accordion summary:after{content:'⌄';position:absolute;inset-inline-end:5px}.accordion details[open] summary:after{content:'⌃'}.accordion p{margin:0;padding:0 4px 18px;color:#666;line-height:1.7}.feature-image img{width:100%;height:100%;min-height:530px;object-fit:cover;border-radius:var(--radius)}
.story-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.story-card{background:#101010;border:1px solid #1c1c1c;border-radius:var(--radius);padding:22px;color:#d1d1d1;line-height:1.7}.story-card strong{display:block;color:#fff;margin-bottom:8px}.story-card a{display:inline-block;color:#fff;font-weight:700;margin-top:15px}
.newsletter{text-align:center;background:#f4f4f4;padding:62px 20px}.newsletter h2{font-size:38px;margin:0 0 13px}.newsletter p{margin:0 0 25px;color:#666}.newsletter-form{display:flex;width:min(460px,100%);margin:auto}.newsletter-form input{flex:1;min-width:0;padding:14px;border:1px solid #aaa;border-inline-end:0;border-radius:6px 0 0 6px}.newsletter-form button{width:58px;background:#fff;border:1px solid #aaa;border-inline-start:0;border-radius:0 6px 6px 0}.site-footer{background:#000;color:#fff;padding:40px 0}.footer-inner{text-align:center}.footer-links{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;list-style:none;padding:0;margin:18px 0;color:#c8c8c8;font-size:13px}.socials{display:flex;justify-content:center;gap:15px;margin:20px 0}.copyright{color:#777;font-size:12px}
main>.woocommerce,.woocommerce-page main{width:min(var(--max),calc(100% - 40px));margin:auto;padding:52px 0}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;border:1px solid #eee;border-radius:8px;padding:10px}.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:cover;border-radius:6px;margin:0 0 12px!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:1.45}.woocommerce ul.products li.product .button{width:100%;text-align:center;border:1px solid #888;background:#fff;color:#555;border-radius:6px;padding:11px}.woocommerce div.product{display:grid;grid-template-columns:1fr 1fr;gap:42px}.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none!important;width:auto!important}
.h2k-lang-ar{direction:rtl}.h2k-lang-ar .header-inner{direction:ltr}.h2k-lang-ar .main-nav{direction:rtl;justify-content:flex-start}.h2k-lang-ar .header-actions{direction:rtl}.h2k-lang-ar .section-title,.h2k-lang-ar .product-card-body,.h2k-lang-ar .category-card h3,.h2k-lang-ar .accordion,.h2k-lang-ar .story-card,.h2k-lang-ar .woocommerce{text-align:right;direction:rtl}.h2k-lang-ar .products-grid,.h2k-lang-ar .categories,.h2k-lang-ar .features,.h2k-lang-ar .story-grid,.h2k-lang-ar .woocommerce ul.products{direction:rtl}.h2k-lang-ar .newsletter-form{direction:rtl}.h2k-lang-ar .newsletter-form input{border-inline-end:1px solid #aaa;border-inline-start:0;border-radius:0 6px 6px 0}.h2k-lang-ar .newsletter-form button{border-inline-start:1px solid #aaa;border-inline-end:0;border-radius:6px 0 0 6px}
@media(max-width:1100px){.products-grid,.products-grid.six,.woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}.story-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.h2k-wrap{width:calc(100% - 28px)}.menu-toggle{display:block}.header-inner{gap:14px;position:relative}.brand{flex:1}.main-nav{display:none;position:absolute;top:58px;left:-14px;right:-14px;background:#000;padding:20px;flex-direction:column;align-items:stretch;z-index:20}.main-nav.open{display:flex}.products-grid,.products-grid.six,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}.categories,.features{grid-template-columns:1fr}.story-grid{grid-template-columns:1fr}.section{padding:42px 0}.feature-image img{min-height:0}.woocommerce div.product{grid-template-columns:1fr}}
@media (max-width: 520px) {
    .announcement {
        font-size: 12px;
    }

    .brand {
        font-size: 16px;
    }

    .header-actions {
        gap: 10px;
    }

    .products-grid,
    .products-grid.six,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .hero {
        width: 100%;
        height: auto;
        min-height: 0;
        overflow: hidden;
        background: #000;
    }

    .hero img {
        display: block;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    .section-title {
        font-size: 25px;
    }

    .newsletter h2 {
        font-size: 31px;
    }
}


/* ===== WooCommerce full-site polish v2.3 ===== */
.woocommerce-page main,.woocommerce main,main.h2k-content{width:min(var(--max),calc(100% - 40px));margin-inline:auto;padding:46px 0 70px}
.woocommerce .woocommerce-breadcrumb{font-size:13px;color:#777;margin:0 0 24px}
.woocommerce .woocommerce-breadcrumb a{color:#333}
.woocommerce-products-header{margin-bottom:28px}
.woocommerce-products-header__title.page-title,.woocommerce .page-title{font-size:32px;font-weight:500;margin:0 0 22px}
.woocommerce .woocommerce-result-count{margin:10px 0 24px;color:#777;font-size:14px}
.woocommerce .woocommerce-ordering{margin:0 0 24px}
.woocommerce .woocommerce-ordering select{min-width:220px;border:1px solid #d7d7d7;border-radius:6px;background:#fff;padding:11px 38px 11px 12px;color:#222}
.woocommerce nav.woocommerce-pagination{margin-top:38px}
.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:7px;justify-content:center}
.woocommerce nav.woocommerce-pagination ul li{border:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{display:grid;place-items:center;min-width:40px;height:40px;border:1px solid #ddd;border-radius:5px;padding:0;color:#222}
.woocommerce nav.woocommerce-pagination ul li span.current{background:#000;color:#fff;border-color:#000}

/* Product cards across shop/category/search */
.woocommerce ul.products{clear:both}
.woocommerce ul.products li.product{background:#fff;display:flex;flex-direction:column;padding:0!important;overflow:hidden;border:1px solid #ececec!important;transition:transform .2s,border-color .2s}
.woocommerce ul.products li.product:hover{transform:translateY(-2px);border-color:#cdb26c!important}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block}
.woocommerce ul.products li.product a img{border-radius:0!important;aspect-ratio:1/1;object-fit:cover;background:#f5f5f5}
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0 14px!important;margin:12px 0 8px!important;min-height:42px;font-weight:500;color:#181818}
.woocommerce ul.products li.product .price{padding:0 14px;margin:0 0 12px!important;display:flex!important;flex-direction:column;gap:3px;color:#171717!important;font-size:15px!important;min-height:42px}
.woocommerce ul.products li.product .price del{opacity:1;color:#777;font-size:13px}
.woocommerce ul.products li.product .price ins{text-decoration:none;font-weight:700;color:#111}
.woocommerce ul.products li.product .button{margin:0 14px 14px!important;margin-top:auto!important}
.woocommerce span.onsale{background:var(--gold2);color:#000;min-height:auto;min-width:auto;line-height:1;padding:8px 10px;border-radius:4px;top:10px;inset-inline-start:10px;inset-inline-end:auto;margin:0;font-size:12px}

/* Single product */
.woocommerce div.product{align-items:start}
.woocommerce div.product div.images{margin-bottom:0}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{border-radius:10px;overflow:hidden;background:#f7f7f7}
.woocommerce div.product div.images img{width:100%}
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-top:10px}
.woocommerce div.product div.images .flex-control-thumbs li{width:auto!important;float:none!important}
.woocommerce div.product div.images .flex-control-thumbs img{border:1px solid #eee;border-radius:5px;opacity:.65}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active{opacity:1;border-color:#222}
.woocommerce div.product .summary{padding-top:10px}
.woocommerce div.product .product_title{font-size:34px;line-height:1.25;font-weight:500;margin:0 0 16px}
.woocommerce div.product p.price,.woocommerce div.product span.price{font-size:21px;color:#111;display:flex;flex-direction:column;gap:5px;margin:0 0 22px}
.woocommerce div.product p.price del,.woocommerce div.product span.price del{font-size:15px;color:#777;opacity:1}
.woocommerce div.product p.price ins,.woocommerce div.product span.price ins{text-decoration:none;font-weight:700}
.woocommerce div.product .woocommerce-product-details__short-description{color:#555;line-height:1.8;margin-bottom:24px}
.woocommerce div.product form.cart{margin:22px 0 24px}
.woocommerce div.product form.cart .variations{margin-bottom:18px}
.woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{display:block;width:100%;text-align:start;padding:0 0 8px}
.woocommerce div.product form.cart .variations label{font-weight:600}
.woocommerce div.product form.cart .variations select{width:100%;max-width:100%;border:1px solid #ccc;border-radius:6px;padding:12px;background:#fff}
.woocommerce div.product form.cart .reset_variations{display:inline-block;margin-top:8px;font-size:13px;color:#777}
.woocommerce .quantity .qty{width:74px;height:46px;border:1px solid #bbb;border-radius:6px;padding:8px}
.woocommerce div.product form.cart .button{height:46px;background:#000;color:#fff;border-radius:6px;padding:0 27px;font-weight:600}
.woocommerce div.product form.cart .button:hover{background:#2a2a2a}
.woocommerce div.product .product_meta{border-top:1px solid #eee;padding-top:18px;color:#777;font-size:13px;display:flex;flex-direction:column;gap:7px}
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1;margin-top:36px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0!important;margin:0 0 24px!important;border-bottom:1px solid #ddd}
.woocommerce div.product .woocommerce-tabs ul.tabs:before{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0!important;background:transparent!important;margin:0 18px 0 0!important;padding:0!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:13px 0!important;font-weight:500}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{border-bottom:2px solid #000}
.woocommerce div.product .woocommerce-tabs .panel{line-height:1.8;color:#444}
.woocommerce section.related.products,.woocommerce section.upsells.products{grid-column:1/-1;margin-top:46px}
.woocommerce section.related.products>h2,.woocommerce section.upsells.products>h2{font-size:28px;font-weight:500;margin-bottom:24px}

/* Forms, notices and buttons */
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--gold);background:#faf8f1;border-radius:5px}
.woocommerce-message:before,.woocommerce-info:before{color:#9b761d}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:#000;color:#fff;border-radius:6px;font-weight:500;padding:13px 20px}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover{background:#2b2b2b;color:#fff}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce .select2-container--default .select2-selection--single{border:1px solid #ccc;border-radius:6px;padding:11px;background:#fff;min-height:44px}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:20px;padding:0}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{height:42px}

/* Cart */
.woocommerce-cart-form,.cart-collaterals,.woocommerce-checkout-review-order,.woocommerce-checkout .col2-set,.woocommerce-account .woocommerce-MyAccount-content{background:#fff}
.woocommerce table.shop_table{border:1px solid #e5e5e5;border-radius:8px;border-collapse:separate;overflow:hidden}
.woocommerce table.shop_table th{background:#fafafa;font-weight:600;padding:16px}
.woocommerce table.shop_table td{padding:16px;border-top:1px solid #eee}
.woocommerce table.shop_table .product-thumbnail img{width:72px;border-radius:5px}
.woocommerce-cart table.cart td.actions .coupon{display:flex;gap:8px}
.woocommerce-cart table.cart td.actions .coupon .input-text{width:180px!important;border:1px solid #bbb;border-radius:6px;padding:10px!important}
.woocommerce .cart-collaterals{display:flex;justify-content:flex-end;margin-top:28px}
.woocommerce .cart-collaterals .cart_totals{float:none;width:min(480px,100%);border:1px solid #e4e4e4;border-radius:8px;padding:22px}
.woocommerce .cart-collaterals .cart_totals h2{font-size:24px;margin-top:0}
.woocommerce .wc-proceed-to-checkout a.checkout-button{background:#000;font-size:16px;padding:15px}

/* Checkout */
.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:38px;align-items:start}
.woocommerce-checkout form.checkout .col2-set{width:100%;float:none}
.woocommerce-checkout form.checkout #order_review_heading,.woocommerce-checkout form.checkout #order_review{width:100%;float:none}
.woocommerce-checkout form.checkout #order_review_heading{grid-column:2;margin:0;font-size:24px}
.woocommerce-checkout form.checkout #order_review{grid-column:2;border:1px solid #e5e5e5;border-radius:8px;padding:20px}
.woocommerce-checkout form.checkout .col2-set{grid-column:1;grid-row:1/3}
.woocommerce-checkout #payment{background:#f7f7f7;border-radius:7px}
.woocommerce-checkout #payment div.payment_box{background:#fff}
.woocommerce-checkout #payment div.payment_box:before{border-bottom-color:#fff}
.woocommerce-checkout #place_order{width:100%;padding:16px;font-size:16px}

/* My account */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:240px minmax(0,1fr);gap:32px;align-items:start}
.woocommerce-account .woocommerce:before,.woocommerce-account .woocommerce:after{display:none}
.woocommerce-account .woocommerce-MyAccount-navigation{float:none;width:auto;border:1px solid #e4e4e4;border-radius:8px;overflow:hidden}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0}
.woocommerce-account .woocommerce-MyAccount-navigation li{border-bottom:1px solid #eee}
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child{border-bottom:0}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:14px 17px}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:#000;color:#fff}
.woocommerce-account .woocommerce-MyAccount-content{float:none;width:auto;border:1px solid #e4e4e4;border-radius:8px;padding:24px;min-height:280px}
.woocommerce-account .u-columns{display:grid;grid-template-columns:1fr 1fr;gap:25px}
.woocommerce-account .u-column1,.woocommerce-account .u-column2{width:auto!important;float:none!important;border:1px solid #e5e5e5;border-radius:8px;padding:22px}

/* Empty states */
.woocommerce-info,.cart-empty.woocommerce-info{text-align:start}
.return-to-shop{margin-top:20px}

/* RTL corrections */
.h2k-lang-ar .woocommerce .woocommerce-ordering{float:left}
.h2k-lang-ar .woocommerce .woocommerce-result-count{float:right}
.h2k-lang-ar .woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0 0 0 18px!important}
.h2k-lang-ar .woocommerce-checkout form.checkout #order_review_heading,.h2k-lang-ar .woocommerce-checkout form.checkout #order_review{grid-column:1}
.h2k-lang-ar .woocommerce-checkout form.checkout .col2-set{grid-column:2}
.h2k-lang-ar .woocommerce-cart table.cart td.actions .coupon{float:right}
.h2k-lang-ar .woocommerce-cart table.cart td.actions>button{float:left}

@media(max-width:900px){
 .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
 .woocommerce-checkout form.checkout{grid-template-columns:1fr}
 .woocommerce-checkout form.checkout .col2-set,.woocommerce-checkout form.checkout #order_review_heading,.woocommerce-checkout form.checkout #order_review,.h2k-lang-ar .woocommerce-checkout form.checkout .col2-set,.h2k-lang-ar .woocommerce-checkout form.checkout #order_review_heading,.h2k-lang-ar .woocommerce-checkout form.checkout #order_review{grid-column:1;grid-row:auto}
 .woocommerce-account .woocommerce{grid-template-columns:1fr}
 .woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;overflow:auto}
 .woocommerce-account .woocommerce-MyAccount-navigation li{border-bottom:0;border-inline-end:1px solid #eee;white-space:nowrap}
}
@media(max-width:680px){
 .woocommerce-page main,.woocommerce main,main.h2k-content{width:calc(100% - 24px);padding:30px 0 50px}
 .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .woocommerce div.product .product_title{font-size:27px}
 .woocommerce div.product form.cart .button{width:calc(100% - 84px)}
 .woocommerce table.shop_table_responsive tr td,.woocommerce-page table.shop_table_responsive tr td{padding:13px 12px}
 .woocommerce-cart table.cart td.actions .coupon{float:none!important;width:100%;margin-bottom:10px}
 .woocommerce-cart table.cart td.actions .coupon .input-text{width:100%!important}
 .woocommerce-cart table.cart td.actions .coupon button{width:auto}
 .woocommerce-cart table.cart td.actions>button{float:none!important;width:100%}
 .woocommerce-account .u-columns{grid-template-columns:1fr}
}
@media(max-width:430px){.woocommerce ul.products{grid-template-columns:1fr}.woocommerce div.product form.cart .button{width:100%;margin-top:10px}.woocommerce .quantity{float:none!important}}


/* v2.5 — consistent product-card layout in Arabic and English */
.products-grid{align-items:stretch}
.product-card{height:100%;box-shadow:none}
.product-card>a:first-child{display:block;flex:0 0 auto}
.product-card-body{padding:12px 12px 14px;gap:7px;min-height:170px}
.product-card-body>a:has(.product-title){display:block}
.product-title{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  min-height:42px;
  max-height:42px;
  font-size:14px;
  line-height:1.5;
  overflow-wrap:anywhere;
}
.product-price{
  min-height:54px;
  justify-content:flex-start;
  gap:2px;
  line-height:1.25;
  font-variant-numeric:tabular-nums;
}
.product-price .h2k-old-price{min-height:17px;line-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-price .h2k-sale-price,.product-price .h2k-current-price{display:block;min-height:36px;font-size:14px;line-height:1.25;font-weight:700}
.product-price .woocommerce-Price-amount{white-space:nowrap}
.product-card .button{display:flex;align-items:center;justify-content:center;min-height:40px;line-height:1.2;padding:9px 8px;margin-top:auto}
.h2k-lang-ar .product-title,.h2k-lang-ar .product-price{text-align:right}
.h2k-lang-en .product-title,.h2k-lang-en .product-price{text-align:left}

/* WooCommerce shop/category cards */
.woocommerce ul.products{align-items:stretch}
.woocommerce ul.products li.product{height:100%;display:flex!important;flex-direction:column!important}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:flex!important;flex-direction:column;flex:1}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  min-height:42px;
  max-height:42px;
}
.woocommerce ul.products li.product .price{min-height:54px!important;line-height:1.25!important;font-variant-numeric:tabular-nums}
.woocommerce ul.products li.product .price del{display:block;min-height:17px;line-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.woocommerce ul.products li.product .price ins,.woocommerce ul.products li.product .price>.h2k-sale-price,.woocommerce ul.products li.product .price>.h2k-current-price{display:block;min-height:34px;line-height:1.25}
.woocommerce ul.products li.product .button{min-height:40px;display:flex!important;align-items:center;justify-content:center}

@media(max-width:1100px){
 .product-card-body{min-height:166px}
}
@media(max-width:520px){
 .product-card-body{min-height:156px}
 .product-title{min-height:auto;max-height:none;-webkit-line-clamp:3}
 .product-price{min-height:48px}
}

/* v2.6 — keep WooCommerce product images visible in Arabic/RTL and with cache/lazy-load plugins */
.h2k-lang-ar .products-grid .thumb,
.h2k-lang-ar .woocommerce ul.products li.product a img,
.h2k-lang-ar .woocommerce div.product div.images,
.h2k-lang-ar .woocommerce-product-gallery,
.h2k-lang-ar .woocommerce-product-gallery__wrapper,
.h2k-lang-ar .woocommerce-product-gallery__image{
  direction:ltr;
}
.h2k-lang-ar .products-grid .thumb img,
.h2k-lang-ar .woocommerce ul.products li.product a img,
.h2k-lang-ar .woocommerce-product-gallery img,
.h2k-lang-ar img.wp-post-image{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  max-width:100%!important;
}
.h2k-lang-ar .woocommerce ul.products li.product a img{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1;
  object-fit:cover;
}
.h2k-lang-ar .woocommerce-product-gallery__wrapper{
  margin:0!important;
}
.h2k-lang-ar .woocommerce-product-gallery__image a,
.h2k-lang-ar .woocommerce-product-gallery__image img{
  width:100%!important;
}

/* v2.7 — mobile hero image: show the full banner without side cropping */
@media (max-width: 520px) {
    .hero,
    .hero picture {
        width: 100%;
        height: auto;
        min-height: 0;
        overflow: hidden;
        background: #000;
    }

    .hero img,
    .hero picture img {
        display: block;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center center !important;
    }
}