/* EL HAIK WooCommerce styling. WooCommerce's general stylesheet stays loaded underneath. */

.woocommerce ul.products,.grid-4,ul.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(236px,47%),1fr));gap:clamp(24px,3vw,40px) clamp(14px,2vw,28px);margin:0;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product,ul.products li.product{float:none;width:auto;margin:0;padding:0;list-style:none}
.card{display:flex;flex-direction:column;gap:12px;min-width:0;height:100%}
.card-media{position:relative;aspect-ratio:4/5;overflow:hidden;background:var(--surface-2)}
.card-image{display:block;width:100%;height:100%}
.card-media img,.woocommerce ul.products li.product .card-media img{width:100%;height:100%;margin:0;object-fit:cover;transition:transform .5s ease}
.card:hover .card-media img{transform:scale(1.03)}
.badge{position:absolute;top:10px;inset-inline-start:10px;padding:4px 9px 3px;background:var(--bg);color:var(--ink);font-size:11px;font-weight:500;letter-spacing:.14em;text-transform:uppercase}
.heart{position:absolute;top:2px;inset-inline-end:2px;background:color-mix(in srgb,var(--bg) 82%,transparent);border-radius:50%}
.heart[aria-pressed="true"] svg,.wish-wide[aria-pressed="true"] svg{fill:currentColor}
.quick{position:absolute;left:10px;right:10px;bottom:10px;min-height:44px;background:var(--bg);color:var(--ink);border:0;cursor:pointer;font-size:12px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;opacity:0;transform:translateY(6px);transition:opacity .2s,transform .2s}
.card:hover .quick,.quick:focus-visible{opacity:1;transform:none}
@media (hover:none){.quick{inset-inline:auto 6px;bottom:6px;padding-inline:12px;font-size:11px;letter-spacing:.12em;opacity:1;transform:none}}
.card-body{display:flex;flex-direction:column;gap:4px;flex:1}
.card-cat{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.card-title{font-size:clamp(18px,1.6vw,21px)!important}
.card-rating{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.card-rating .star-rating{float:none;margin:0;font-size:12px;color:var(--gold-text)}
.card .price,.woocommerce .card .price,.woocommerce ul.products li.product .card .price{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin:0;color:var(--ink);font-size:17px;font-weight:500}
.woocommerce ul.products li.product .card .price del{color:var(--muted);opacity:1;font-weight:400}
.woocommerce ul.products li.product .card .price ins{color:var(--sale);text-decoration:none;font-weight:500}
.card a,.woocommerce ul.products li.product a{color:inherit}
.woocommerce ul.products li.product .card-add{margin-top:auto}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink);font-size:24px;font-weight:500}
.price del{opacity:1;font-weight:400;color:var(--muted)}
.price ins{text-decoration:none;color:var(--sale);background:none}
.sizes{font-size:13px;letter-spacing:.14em;color:var(--muted);white-space:pre-wrap}
.card-add{width:100%;min-height:46px;margin-top:auto;padding-inline:10px;font-size:11.5px;letter-spacing:.16em}
.card-body .sizes{margin-bottom:8px}
[aria-busy="true"]{opacity:.6;pointer-events:none}

.wrap.crumbs.woocommerce-breadcrumb{margin:0 auto;padding:14px clamp(16px,4vw,44px) 0;color:var(--muted);font-size:14px}
.wrap.crumbs.woocommerce-breadcrumb a{color:var(--muted)}
.wrap.crumbs.woocommerce-breadcrumb a:hover{color:var(--gold-text)}

@media (max-width:860px){.wrap.crumbs.woocommerce-breadcrumb,.crumbs{padding-top:48px}}

/* Archive */
.woocommerce-products-header{display:flex;flex-direction:column;gap:12px;margin-bottom:clamp(20px,3vw,32px)}
.woocommerce-products-header__title,.page-main--shop>h1.page-title,.woocommerce .page-title{font-family:var(--font-display);font-weight:400;font-size:clamp(34px,4.6vw,58px);line-height:1.08;margin:0 0 10px}
.term-description{max-width:68ch;color:var(--muted)}
.subcats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.subcats a{display:inline-flex;align-items:center;min-height:44px;padding-inline:16px;border:1px solid var(--line)}
.subcats a:hover{border-color:var(--gold)}
.subcats a[aria-current]{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}
.shop-bar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px 28px;padding-block:14px;margin-bottom:28px;border-block:1px solid var(--line)}
.shop-filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.shop-filters fieldset{display:flex;align-items:center;gap:6px;margin:0;padding:0;border:0}
.shop-filters legend{float:inline-start;margin-inline-end:6px;font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.chip{position:relative;display:inline-flex}
.chip input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.chip span{display:grid;place-items:center;min-width:44px;height:44px;padding-inline:8px;border:1px solid var(--line)}
.chip input:checked+span{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}
.chip input:focus-visible+span{outline:2px solid var(--focus);outline-offset:2px}
.filter-price input{width:84px;height:44px;padding-inline:10px;background:var(--bg);border:1px solid var(--line);border-radius:0}
.shop-sort{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none;margin:0;color:var(--muted);font-size:15px}
.woocommerce-ordering select{height:44px;padding-inline:10px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:0}
.woocommerce nav.woocommerce-pagination{margin-top:40px}
.woocommerce nav.woocommerce-pagination ul{display:flex;justify-content:center;gap:6px;border:0;margin:0}
.woocommerce nav.woocommerce-pagination ul li{border:0;float:none}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:44px;min-height:44px;padding:0;display:grid;place-items:center;border:1px solid var(--line);color:var(--ink);background:transparent}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}
.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--surface-2);color:var(--ink)}

/* Product page */
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(24px,5vw,72px);align-items:start;position:relative}
.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:auto;margin:0}
.woocommerce div.product div.images img{width:100%}
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:8px;padding:0}
.woocommerce div.product div.images .flex-control-thumbs li{float:none;width:auto}
.woocommerce div.product .product_title{font-family:var(--font-display);font-weight:400;font-size:clamp(31px,3.6vw,46px);line-height:1.1;margin-bottom:10px}
.woocommerce div.product .woocommerce-product-rating{margin-bottom:8px}
.woocommerce .star-rating,.woocommerce .woocommerce-product-rating .star-rating{color:var(--gold-text)}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--muted);margin-block:14px}
.woocommerce div.product form.cart{margin-block:18px}
.woocommerce div.product form.cart .variations{margin-bottom:12px;border:0}
.woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{display:block;padding:0;text-align:start;border:0;background:none}
.woocommerce div.product form.cart .variations label{font-size:12.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase}
.woocommerce div.product form.cart .variations select{width:100%;min-width:0;height:50px;margin:6px 0 10px;padding-inline:12px;background-color:var(--bg);color:var(--ink);border:1px solid var(--muted);border-radius:0}
.woocommerce div.product form.cart .reset_variations{display:inline-block;margin-bottom:8px;font-size:14px;color:var(--muted)}
.woocommerce .quantity .qty{width:84px;height:54px;padding:0;background:var(--bg);color:var(--ink);border:1px solid var(--muted);border-radius:0}
.woocommerce div.product form.cart div.quantity{float:none;margin-block:0 8px;margin-inline:0 8px;display:inline-flex}
.woocommerce div.product form.cart .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 28px;border:1px solid var(--primary);border-radius:0;background:var(--primary);color:var(--on-primary);font-size:13px;font-weight:500;letter-spacing:.18em;line-height:1.2;text-transform:uppercase;float:none}
.woocommerce div.product form.cart .button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--primary-hover);border-color:var(--primary-hover);color:var(--on-primary)}
.woocommerce button.button:disabled,.woocommerce button.button.disabled,.woocommerce button.button.alt.disabled,.woocommerce button.button.alt.disabled:hover{background:var(--surface-2);color:var(--muted);border-color:var(--line);opacity:1}
.wish-wide{display:inline-flex;gap:8px;margin-inline-start:0;margin-top:8px;min-height:54px;padding-inline:20px}
.wish-wide svg{flex:none}
.reassure{margin-top:14px;font-size:15px;color:var(--muted)}
.woocommerce div.product .product_meta{font-size:15px;color:var(--muted);margin-top:14px}
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1;margin-top:clamp(24px,4vw,48px)}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:8px 28px;margin:0 0 20px;padding:0;border-bottom:1px solid var(--line);overflow:visible}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0;padding:0;background:none;border:0;border-radius:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:inline-flex;align-items:center;min-height:48px;padding:0;color:var(--muted);font-weight:500}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-bottom:2px solid var(--gold)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--ink)}
.woocommerce div.product .woocommerce-tabs .panel h2{font-family:var(--font-display);font-weight:400;font-size:26px;margin-bottom:12px}
.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1/-1;margin-top:clamp(32px,5vw,64px)}
.woocommerce div.product .related>h2,.woocommerce div.product .upsells>h2{font-family:var(--font-display);font-weight:400;font-size:clamp(28px,3.4vw,42px);margin-bottom:24px}
.woocommerce div.product .woocommerce-notices-wrapper{grid-column:1/-1}
.woocommerce span.onsale{min-width:0;min-height:0;padding:4px 9px;border-radius:0;background:var(--bg);color:var(--ink);font-size:11px;font-weight:500;line-height:1.4;letter-spacing:.14em;text-transform:uppercase;top:10px;inset-inline:10px auto}
.woocommerce table.shop_attributes{border-top:1px solid var(--line)}
.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{border-bottom:1px solid var(--line);background:none!important;font-style:normal}

/* Measurement form, printed by the EL HAIK Store Manager plugin */
.ehsm-measure{margin-block:6px 16px;padding:18px;background:var(--surface-2);border:1px solid var(--line)}
.ehsm-measure__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 14px;margin-bottom:6px}
.ehsm-measure__title{font-family:var(--font-display);font-size:20px;margin:0}
.ehsm-measure__help{margin:0 0 12px;font-size:15px;color:var(--muted)}
.ehsm-measure__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ehsm-measure__field{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:500}
.ehsm-measure__field .required{color:var(--sale);text-decoration:none}
.ehsm-measure__input{position:relative;display:block}
.ehsm-measure__input input{width:100%;height:50px;padding-block:0;padding-inline:12px 40px;background:var(--bg);color:var(--ink);border:1px solid var(--muted);border-radius:0;appearance:textfield;-moz-appearance:textfield}
.ehsm-measure__input input::-webkit-inner-spin-button,.ehsm-measure__input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.ehsm-measure__unit{position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);font-size:14px;color:var(--muted)}
.ehsm-measure__hint{font-size:13px;font-weight:400;color:var(--muted);line-height:1.35}
.ehsm-measure__note{margin:12px 0 0;font-size:14px;color:var(--muted)}
.ehsm-size-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px;text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px}
@media (max-width:560px){.ehsm-measure__grid{grid-template-columns:minmax(0,1fr)}}

/* Size guide */
.ehsm-guide{padding:clamp(20px,4vw,36px)}
.ehsm-guide h2{font-family:var(--font-display);font-weight:400;font-size:28px;margin-block:0 8px;margin-inline:0 44px}
.ehsm-guide__note{color:var(--muted);margin-bottom:16px}
.ehsm-guide__scroll{overflow-x:auto}
.ehsm-guide table{width:100%;min-width:440px;border-collapse:collapse}
.ehsm-guide th,.ehsm-guide td{padding:11px 10px;border-bottom:1px solid var(--line);text-align:start}
.ehsm-guide h3{font-family:var(--font-display);font-weight:400;font-size:21px;margin:20px 0 6px}

/* Quick View */
.modal-box:has(.qv){width:min(100%,1060px)}
.qv{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)}
.qv-media{position:relative;min-height:100%;background:var(--surface-2)}
.qv-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.qv-summary{display:flex;flex-direction:column;gap:8px;padding:clamp(20px,3vw,32px)}
.qv-title{font-size:30px;margin-inline-end:36px}
.qv .woocommerce-product-details__short-description{color:var(--muted);font-size:15.5px}
.qv form.cart .variations{width:100%;border:0;margin-bottom:8px}
.qv form.cart .variations th,.qv form.cart .variations td{display:block;padding:0;text-align:start}
.qv form.cart .variations label{font-size:12.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase}
.qv form.cart .variations select{width:100%;height:48px;margin-block:6px 8px;padding-inline:12px;background:var(--bg);color:var(--ink);border:1px solid var(--muted);border-radius:0}
.qv .single_variation_wrap .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.qv .ehsm-measure{flex-basis:100%;margin-top:0}
.qv .quantity .qty{width:76px;height:54px;background:var(--bg);color:var(--ink);border:1px solid var(--muted)}
.qv .button{min-height:54px;padding:0 24px;border:1px solid var(--primary);background:var(--primary);color:var(--on-primary);font-size:13px;font-weight:500;letter-spacing:.18em;text-transform:uppercase;cursor:pointer;border-radius:0}
.qv .price{font-size:21px;font-weight:500;margin:0}
.qv .ehsm-measure__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:760px){.qv{grid-template-columns:minmax(0,1fr)}.qv-media{min-height:0;height:280px;overflow:hidden}.qv .ehsm-measure__grid{grid-template-columns:minmax(0,1fr)}}

/* Notices */
.woocommerce-error,.woocommerce-info,.woocommerce-message{margin-bottom:20px;padding-block:14px;padding-inline:44px 16px;background:var(--surface-2);color:var(--ink);border-top:2px solid var(--gold);list-style:none}
.woocommerce-error{border-top-color:var(--sale)}
.woocommerce-error::before,.woocommerce-info::before,.woocommerce-message::before{top:14px;inset-inline:16px auto;color:var(--gold-text)}
.woocommerce-error::before{color:var(--sale)}
.woocommerce-message .button,.woocommerce-info .button{min-height:40px;padding-inline:16px;font-size:12px;float:inline-end}

/* Cart and checkout */
.woocommerce table.shop_table{border:0;border-collapse:collapse;border-radius:0;color:var(--ink)}
.woocommerce table.shop_table th{font-size:12.5px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:14px 10px;border-top:0;border-bottom:1px solid var(--line)}
.woocommerce table.cart img,.woocommerce-cart table.cart img{width:84px;aspect-ratio:4/5;object-fit:cover}
.woocommerce table.cart .product-name a{font-family:var(--font-display);font-size:19px}
.woocommerce td.product-name dl.variation,.woocommerce-checkout-review-order-table dl.variation,.wc-item-meta{margin:6px 0 0;font-size:14px;color:var(--muted)}
.woocommerce td.product-name dl.variation dt,.woocommerce-checkout-review-order-table dl.variation dt{font-weight:500;float:inline-start;clear:both;margin-block:0;margin-inline:0 4px}
.woocommerce td.product-name dl.variation dd,.woocommerce-checkout-review-order-table dl.variation dd{margin:0}
.woocommerce td.product-name dl.variation dd p,.woocommerce-checkout-review-order-table dl.variation dd p{margin:0}
.woocommerce-checkout-review-order-table .product-name{width:60%}
.woocommerce-checkout-review-order-table dl.variation dd,.woocommerce-checkout-review-order-table .woocommerce-Price-amount{white-space:nowrap}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger{z-index:5}
.woocommerce a.remove{color:var(--sale)!important}
.woocommerce a.remove:hover{background:var(--sale);color:var(--bg)!important}
.woocommerce .cart-collaterals .cart_totals{float:none;width:min(100%,440px);margin-inline-start:auto}
.woocommerce .cart-collaterals .cart_totals h2,.woocommerce-checkout h3,#order_review_heading{font-family:var(--font-display);font-weight:400;font-size:26px;margin-bottom:12px}
.woocommerce form .form-row{margin:0 0 12px;padding:0}
.woocommerce form .form-row label{font-size:14px;font-weight:500;margin-bottom:4px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container--default .select2-selection--single{min-height:50px;padding:10px 12px;background:var(--bg);color:var(--ink);border:1px solid var(--muted);border-radius:0}
.select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--ink);line-height:28px;padding-inline-start:0}
.select2-dropdown{background:var(--surface);color:var(--ink);border-color:var(--line)}
.woocommerce form .form-row textarea{min-height:110px}
.woocommerce-checkout #payment{background:var(--surface-2);border-radius:0}
.woocommerce-checkout #payment div.payment_box{background:var(--surface);color:var(--ink)}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:var(--surface)}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid var(--line)}
#add_payment_method #payment div.form-row,.woocommerce-checkout #payment div.form-row{padding:16px}
.woocommerce-checkout #order_review{margin-top:8px}
.woocommerce-order-details,.woocommerce-customer-details{margin-top:28px}
.woocommerce-order-details__title,.woocommerce-column__title{font-family:var(--font-display);font-weight:400;font-size:26px;margin-bottom:12px}
.woocommerce ul.order_details{margin:0 0 24px;padding:0;display:flex;flex-wrap:wrap;gap:12px 28px}
.woocommerce ul.order_details li{float:none;margin:0;padding:0;border:0}
.wc-item-meta{list-style:none;padding:0}
.wc-item-meta li{display:flex;gap:6px}
.wc-item-meta li p{margin:0}
@media (min-width:980px){
  .woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:clamp(28px,5vw,64px);align-items:start}
  .woocommerce-checkout #customer_details{grid-column:1;grid-row:1 / span 3}
  .woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2{float:none;width:100%}
  .woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{grid-column:2}
}
.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:flex;align-items:center;min-height:46px;border-bottom:1px solid var(--line)}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{color:var(--gold-text)}
.woocommerce-form-login,.woocommerce-form-register,.woocommerce form.login,.woocommerce form.register{border:1px solid var(--line);border-radius:0;background:var(--surface)}

/* Right to left. WooCommerce's own right-to-left stylesheet loads underneath. */
[dir="rtl"] .woocommerce form .form-row label,[dir="rtl"] .woocommerce table.shop_table,[dir="rtl"] .woocommerce table.shop_table th{text-align:right}
/* Prices keep "1 090 MAD" order. The amount itself is isolated, because WordPress's HTML filter drops WooCommerce's <bdi>. */
[dir="rtl"] .woocommerce-Price-amount,[dir="rtl"] .woocommerce-Price-amount bdi,[dir="rtl"] .product_meta .sku{unicode-bidi:isolate;direction:ltr}
html:lang(ar) .card-add,html:lang(ar) .quick,html:lang(ar) .badge,html:lang(ar) .card-cat{font-size:14px}
html:lang(ar) .woocommerce div.product form.cart .button,html:lang(ar) .woocommerce a.button,html:lang(ar) .woocommerce button.button{font-size:15.5px}
html:lang(ar) .woocommerce table.shop_table th{font-size:15px}
html:lang(ar) .shop-filters legend,html:lang(ar) .woocommerce div.product form.cart .variations label,html:lang(ar) .qv form.cart .variations label{font-size:15px}

@media (max-width:860px){
  .woocommerce div.product{grid-template-columns:minmax(0,1fr)}
  .shop-bar{align-items:flex-start}
}
@media (max-width:640px){
  .woocommerce table.shop_table_responsive tr td{padding:8px 0;border-bottom:0}
  .woocommerce table.shop_table_responsive tr{display:block;padding-block:12px;border-bottom:1px solid var(--line)}
}
