/*
Theme Name: VOREX Kitchen
Description: Arabic RTL storefront for VOREX kitchen appliances and WooCommerce.
Version: 3.2.0
Requires PHP: 7.4
Text Domain: vorex
*/
@font-face{font-family:Cairo;src:url(assets/cairo.ttf) format("truetype");font-style:normal;font-weight:200 1000;font-display:swap}
:root {
    --petrol: #103b40;
    --deep: #0c2a2d;
    --gold: #e1bd78;
    --paper: #fcfaf6;
    --ink: #183432;
    --muted: #546963;
    --line: #e5e0d6;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 Cairo, Tahoma, sans-serif; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .26em; }
img { max-width: 100%; height: auto; vertical-align: middle; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #9a7335; outline-offset: 3px; }
.wrap { width: min(1350px, calc(100% - 96px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.screen-reader-text:focus { width: auto; height: auto; clip-path: none; z-index: 9999; background: white; padding: 12px; }

.mast { background: #fffefa; }
.nav { min-height: 84px; display: grid; grid-template-columns: 1fr minmax(220px, 540px) 1fr; align-items: center; gap: 28px; }
.logo { justify-self: start; }
.logo img { width: 142px; display: block; }
.mast-search { position: relative; display: flex; }
.mast-search input[type=search] { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #f8f7f3; padding-inline: 15px 46px; }
.mast-search button { position: absolute; inset-inline-end: 0; inset-block: 0; width: 46px; border: 0; color: var(--petrol); background: transparent; display: grid; place-items: center; }
.search-icon { width: 15px; height: 15px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.search-icon::after { content: ""; width: 7px; height: 2px; background: currentColor; position: absolute; bottom: -3px; right: -5px; transform: rotate(45deg); }
.actions { justify-self: end; display: flex; align-items: center; gap: 19px; font-weight: 750; font-size: .9rem; white-space: nowrap; }
.actions a { display: inline-flex; align-items: center; gap: 8px; }
.actions .cart-link { background: var(--petrol); color: white; padding: 8px 14px; border-radius: 7px; }
.bag-icon { display: inline-block; width: 15px; height: 12px; position: relative; }
.bag-icon { border: 1.5px solid currentColor; border-radius: 2px; margin-top: 4px; }
.bag-icon::before { content: ""; width: 5px; height: 6px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; position: absolute; left: 2.5px; top: -6px; }
.subnav { border-top: 1px solid #eeeae2; border-bottom: 1px solid var(--line); }
.links { display: flex; align-items: center; justify-content: center; gap: 34px; font-size: .9rem; font-weight: 750; }
.links a { display: block; padding: 8px 0; }
.links [aria-current=page] { box-shadow: inset 0 -2px #b78e4f; }

.eyebrow { color: var(--gold); display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 800; }
.eyebrow::before { content: ""; display: block; width: 25px; height: 1px; background: currentColor; }
.button-main, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce a.button.alt, .woocommerce button.button.alt {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    background: var(--gold); color: var(--deep); border: 0; border-radius: 7px; font-weight: 850; padding: 11px 20px; line-height: 1.55;
}
.button-main:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover { background: #efcf93; color: var(--deep); text-decoration: none; }

.section { padding-block: 38px 44px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.section-title h2 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 900; line-height: 1.3; }
.section-title > a { flex-shrink: 0; font-size: .88rem; font-weight: 850; color: var(--petrol); }
.feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.category:hover { text-decoration: none; border-color: #b69a67; }

.feature-grid:has(.product-card:nth-child(3)) { grid-template-columns: repeat(3,minmax(0,1fr)); }
.feature-grid:has(.product-card:nth-child(4)) { grid-template-columns: repeat(4,minmax(0,1fr)); }
.product-card { border: 1px solid #e8e1d6; border-radius: 12px; overflow: hidden; background: #fffefa; display: flex; flex-direction: column; }
.product-picture { background: #fbf9f3; display: grid; place-items: center; padding: 18px; height: clamp(220px,25vw,330px); border-bottom: 1px solid #eee8dc; }
.product-picture img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.product-info { display: flex; flex-direction: column; flex: 1; gap: 11px; padding: 18px 20px; }
.product-info h3 { font-size: 1.13rem; font-weight: 850; line-height: 1.4; }
.product-info p { color: var(--muted); font-size: .88rem; }
.price, .woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--petrol); font-weight: 800; }

.site-footer { background: var(--deep); color: var(--paper); padding: 34px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-inner small { color: #c6d7cf; }
.page-body { padding-block: 36px 46px; min-height: 58vh; }
.page-body h1 { font-size: clamp(1.8rem,4vw,3rem); margin-bottom: 14px; line-height: 1.32; }
.page-body h2 { margin-block: 12px; }
.woocommerce div.product div.images img, .woocommerce ul.products li.product img { background: #f2eee6; border-radius: 12px; aspect-ratio: 1; object-fit: contain; padding: 14px; }
.woocommerce div.product div.summary { padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; background: #fffefa; }
.woocommerce div.product .woocommerce-product-details__short-description { margin-bottom: 18px; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .product-search input, .woocommerce .woocommerce-ordering select, .woocommerce .quantity .qty {
    border: 1px solid #bcc7bd; border-radius: 7px; padding: .6rem .7rem; max-width: 100%; background: white; color: var(--ink);
}
.woocommerce table.shop_table, .woocommerce-checkout #payment, .woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { background: white; border-radius: 10px; border: 1px solid var(--line); }
.woocommerce #payment div.payment_box { background: #eaf0ea; color: var(--ink); }
.woocommerce #payment div.payment_box::before { border-bottom-color: #eaf0ea; }
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 14px 28px; align-items: start; }
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.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-checkout #order_review_heading { padding-top: 7px; }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.woocommerce-checkout form.checkout:has(> .woocommerce-NoticeGroup) #customer_details { grid-row: 2 / span 2; }
.woocommerce-checkout #place_order { width: 100%; }
.woocommerce-checkout label { font-weight: 700; }
.woocommerce-cart table.cart img { width: 86px; }
.woocommerce-cart .cart-collaterals .cart_totals { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 17px; }
.woocommerce a.checkout-button { width: 100%; }
.product-search { margin-bottom: 22px; }
.product-search input { width: min(74%, 335px); }

@media (max-width: 850px) {
    .wrap { width: calc(100% - 36px); }
    .nav { gap: 13px; }
}
@media (max-width: 610px) {
    .wrap { width: calc(100% - 28px); }
    .nav { grid-template-columns: 1fr 1fr; gap: 9px; padding-block: 11px; }
    .logo img { width: 111px; }
    .mast-search { grid-column: 1 / -1; grid-row: 2; }
    .mast-search input[type=search] { height: 39px; font-size: .85rem; }
    .actions { gap: 12px; font-size: .76rem; }
    .actions .cart-link { padding: 6px 9px; }
    .links { gap: 25px; font-size: .82rem; }
    .links a { padding: 5px 0; }
    .eyebrow { font-size: .75rem; }
    .section { padding-block: 24px 26px; }
    .section-title { margin-bottom: 12px; }
    .section-title h2 { font-size: 1.37rem; }
    .section-title > a { font-size: .73rem; }
    .feature-grid, .feature-grid:has(.product-card:nth-child(n+3)) { gap: 8px; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .product-picture { height: clamp(125px,40vw,205px); padding: 10px; }
    .product-info { padding: 10px; gap: 9px; }
    .product-info h3 { font-size: .88rem; }
    .product-info p, .product-buy { font-size: .75rem; }
    .footer-inner { font-size: .84rem; }
    .footer-inner small { width: 100%; }
    .page-body { padding-block: 22px 32px; }
    .woocommerce-checkout form.checkout { display: block; }
    .woocommerce-checkout #customer_details { padding: 14px; }
    .woocommerce-checkout #order_review_heading { margin: 17px 0 9px; }
    .woocommerce-cart .cart-collaterals .cart_totals { padding: 12px; }
}
.price .woocommerce-Price-currencySymbol { margin-inline-end: .23em; }
@media (max-width: 610px) {
}
@media (max-width: 850px) {
}
@media (max-width: 610px) {
    .category:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 610px) {
}

/* Storefront */
.nav-shop { position: relative; z-index: 3; }
.nav-shop summary { cursor: pointer; list-style: none; padding: 8px 0; }
.nav-shop summary::-webkit-details-marker { display: none; }
.nav-shop summary span { margin-inline-start: 5px; }
.nav-shop ul { list-style: none; margin: 0; padding: 4px 12px; min-width: 155px; position: absolute; inset-inline-start: -12px; background: #fffefa; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 8px 24px #1834321a; }
.vorex-cart-count { display: grid; place-items: center; min-width: 1.6em; height: 1.6em; padding-inline: .25em; background: #fff3d9; color: var(--deep); border-radius: 50px; font: 850 .72rem/1 Cairo,Tahoma,sans-serif; }
.storefront-hero { display: grid; grid-template-columns: 1fr 1.35fr; margin-top: 21px; min-height: 392px; border-radius: 15px; overflow: hidden; background: var(--deep); color: var(--paper); }
.storefront-hero-copy { align-self: center; padding: 39px clamp(24px,5vw,75px) 40px 24px; }
.storefront-hero h1 { font-size: clamp(2rem,4.8vw,4.45rem); font-weight: 900; line-height: 1.2; margin-block: 11px 14px; }
.storefront-hero p { color: #deebe4; margin-bottom: 23px; font-size: 1rem; }
.storefront-hero-photo { background: #1c4849 url(assets/departments-hero.webp) center 50% / cover no-repeat; }
.departments { padding-block: 31px 25px; }
.department-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.department-card { position: relative; min-height: 200px; display: grid; align-items: end; overflow: hidden; border-radius: 12px; background: var(--petrol); color: white; }
.department-home-appliances { background: #635144; }
.department-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.department-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(transparent 24%,#091c1bcc); }
.department-card:hover { text-decoration: none; }
.department-card:hover .department-label span { background: var(--gold); color: var(--deep); }
.department-label { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 17px 20px; }
.department-label h3 { font-weight: 850; font-size: clamp(1.05rem,2.2vw,1.75rem); }
.department-label span { display: grid; place-items: center; height: 35px; width: 35px; border: 1px solid #fff9; border-radius: 50%; }
.latest-products { padding-top: 18px; }
.latest-products .product-picture { height: clamp(180px,23vw,280px); }
.latest-products .product-info .button { align-self: start; margin-top: auto; background: var(--petrol); color: white; font-size: .83rem; padding: 7px 12px; }
.latest-products .product-info .button:hover { background: #205358; color: white; }
@media(max-width: 610px) {
    .storefront-hero { grid-template-columns: 1fr; min-height: 0; margin-top: 13px; }
    .storefront-hero-copy { padding: 18px 17px 20px; }
    .storefront-hero h1 { margin-block: 5px 8px; }
    .storefront-hero p { margin-bottom: 13px; font-size: .83rem; }
    .storefront-hero .button-main { padding: 7px 13px; font-size: .82rem; }
    .storefront-hero-photo { min-height: 135px; background-position: center 53%; }
    .departments { padding-block: 22px 21px; }
    .department-grid { gap: 8px; }
    .department-card { min-height: 121px; }
    .department-label { padding: 9px; }
    .department-label span { width: 24px; height: 24px; flex-shrink: 0; font-size: .77rem; }
    .latest-products .product-picture { height: clamp(115px,39vw,205px); }
}
.catalog-departments { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.catalog-departments a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .83rem; font-weight: 750; }
.catalog-departments [aria-current=page] { color: white; background: var(--petrol); border-color: var(--petrol); }

.product-card, .woocommerce ul.products li.product { position: relative; }
.product-tools { position: absolute; z-index: 2; inset: 8px 8px auto; display: flex; justify-content: space-between; gap: 4px; pointer-events: none; }
.product-tools button, .wishlist-trigger {
    pointer-events: auto; color: var(--petrol); background: #fffefa; border: 1px solid var(--line);
    display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; padding: 4px 8px; font: 750 .74rem/1.5 Cairo,Tahoma,sans-serif;
}
.product-tools .product-save { min-width: 29px; font-size: 1rem; line-height: 1.2; }
.product-save[aria-pressed=true] { color: #a24a43; }
.wishlist-trigger { gap: 4px; font-size: .83rem; }
.wishlist-trigger span:first-child { font-size: 1.1rem; line-height: 1; }
.shop-dialog { background: var(--paper); color: var(--ink); border: 1px solid var(--line); padding: 16px; max-height: 90dvh; }
.shop-dialog::backdrop { background: #081e20a6; }
.shop-drawer { position: fixed; inset: 0 auto 0 0; margin: 0; width: min(410px, 94vw); height: 100%; max-height: 100dvh; max-width: none; border: 0; }
.shop-preview { width: min(710px, 94vw); border-radius: 12px; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 9px; margin-bottom: 14px; gap: 12px; }
.dialog-heading h2 { font-size: 1.2rem; }
.dialog-heading button, .wishlist-row button { border: 1px solid var(--line); color: var(--petrol); background: #fffefa; padding: 3px 9px; border-radius: 6px; }
.dialog-heading button { font-size: 1.33rem; line-height: 1.1; }
.preview-content { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-items: center; }
.preview-picture { background: #f2eee6; border-radius: 8px; }
.preview-picture img { width: 100%; max-height: 315px; object-fit: contain; }
.preview-info { display: grid; gap: 7px; }
.preview-info h3 { font-size: 1.1rem; line-height: 1.4; }
.preview-info p { color: var(--muted); font-size: .88rem; }
.preview-details { font-size: .84rem; text-decoration: underline; }
.wishlist-row { border-bottom: 1px solid var(--line); padding: 8px 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wishlist-row a { display: flex; align-items: center; gap: 7px; line-height: 1.35; font-size: .86rem; }
.wishlist-row img { width: 54px; height: 54px; object-fit: contain; }
.vorex-mini-cart ul { list-style: none; margin: 0; padding: 0; }
.vorex-mini-cart li { min-height: 72px; border-bottom: 1px solid var(--line); padding: 9px 2px; }
.vorex-mini-cart li a img { float: inline-end; width: 57px; max-height: 57px; object-fit: contain; }
.vorex-mini-cart li .quantity { display: block; color: var(--muted); font-size: .85rem; }
.vorex-mini-cart li .remove { color: #a24a43; margin-inline-end: 5px; font-weight: 800; }
.vorex-mini-cart .total { margin-block: 15px 10px; }
.vorex-mini-cart .buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.vorex-mini-cart .buttons a { background: var(--petrol); color: white; padding: 7px 12px; border-radius: 6px; font-size: .85rem; }
.vorex-mini-cart .buttons .checkout { background: var(--gold); color: var(--deep); }
.featured-band { background: #f2eee6; }
.footer-inner { display: grid; align-items: start; grid-template-columns: 1.5fr 1fr 1fr; column-gap: 18px; }
.footer-inner h2 { color: var(--gold); font-size: .93rem; margin-bottom: 5px; }
.footer-inner a { display: block; font-size: .88rem; }
.footer-brand p { margin-top: 8px; color: #c6d7cf; font-size: .87rem; }
.footer-inner small { grid-column: 1 / -1; border-top: 1px solid #c6d7cf40; padding-top: 11px; }
@media(max-width: 610px) {
    .actions { gap: 7px; }
    .product-tools { inset: 4px 4px auto; }
    .product-tools button { font-size: .66rem; padding: 3px 5px; }
    .preview-content { grid-template-columns: 1fr; }
    .preview-picture img { max-height: 205px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

.heart-icon { display: block; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.product-save[aria-pressed=true] .heart-icon { fill: currentColor; }
@media(max-width: 610px) {
    .heart-icon { width: 16px; height: 16px; }
}

.store-section-title { text-align: center; font-size: clamp(1.5rem,3.1vw,2.45rem); font-weight: 900; margin-bottom: 21px; line-height: 1.3; }
.experience-band { background: #f2eee6; border-block: 1px solid var(--line); }
.experience-grid, .reviews-grid, .order-steps { display: grid; gap: 13px; }
.experience-grid, .reviews-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.experience-card { background: #fffefa; border: 1px solid var(--line); border-radius: 10px; padding: 18px 21px; border-inline-start: 3px solid #ba9454; }
.experience-card h3, .order-steps h3, .review-card h3 { font-size: 1.02rem; font-weight: 850; }
.experience-card p, .order-steps p { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.order-steps { grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; padding: 0; margin: 0; }
.order-steps li { border: 1px solid var(--line); border-radius: 10px; padding: 15px; }
.step-number { display: grid; place-items: center; height: 32px; width: 32px; margin-bottom: 7px; background: var(--gold); color: var(--deep); border-radius: 50%; font-weight: 900; }
.reviews-band { background: var(--petrol); color: var(--paper); }
.review-card { background: #ffffff0c; border: 1px solid #ffffff32; border-radius: 10px; padding: 16px 19px; }
.review-card blockquote { margin: 9px 0; font-size: .9rem; }
.review-card a { color: var(--gold); font-size: .84rem; }
.review-stars { display: flex; gap: 4px; margin-top: 6px; }
.review-stars span { width: 15px; height: 15px; background: #ffffff38; clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 93%,50% 71%,21% 93%,32% 57%,2% 35%,39% 35%); }
.review-stars span.rated { background: var(--gold); }
.reviews-empty { text-align: center; color: #f3e8d6; }
@media(max-width: 760px) {
    .experience-grid, .order-steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .reviews-grid { grid-template-columns: 1fr; gap: 8px; }
    .experience-card, .order-steps li, .review-card { padding: 11px; }
    .experience-card h3, .order-steps h3 { font-size: .91rem; }
    .experience-card p, .order-steps p { font-size: .81rem; }
}
