/*
Theme Name: Tighmi Fakiya Souss
Author: Tighmi Fakiya Souss
Description: Bilingual Arabic and French storefront for dry fruits and specialty foods.
Version: 1.2.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: tighmi-souss
*/

:root {
    --green: #164d38;
    --green-dark: #0d3426;
    --green-soft: #386d51;
    --gold: #de9f2f;
    --gold-light: #f3d69d;
    --cream: #f8f4ec;
    --paper: #fffdf8;
    --ink: #1c2c22;
    --muted: #6c756d;
    --line: #dedfd5;
    --shadow: 0 16px 38px rgba(17, 52, 35, .09);
    --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.tighmi-ar { font-family: "Noto Kufi Arabic", Tahoma, sans-serif; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.screen-reader-text, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link:focus { position: fixed; inset-inline-start: 1rem; top: 1rem; z-index: 1000; padding: .7rem 1rem; background: white; }
.site-container { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.narrow-container { width: min(1080px, calc(100% - 48px)); }

.top-note { background: var(--green-dark); color: #f8efdb; font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.top-note .site-container { display: flex; justify-content: space-between; gap: 1rem; padding-block: 6px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,248,.96); box-shadow: 0 1px 0 rgba(22,77,56,.11); backdrop-filter: blur(12px); }
.admin-bar .site-header { top: 32px; }
.header-row { display: flex; align-items: center; gap: 2rem; min-height: 116px; }
.site-brand { display: inline-flex; align-items: center; min-width: 106px; color: var(--green); }
.brand-logo-full { display: block; width: 106px; height: auto; }
.brand-type { display: grid; line-height: 1.15; direction: ltr; }
.brand-type strong { font-family: Georgia, serif; font-size: 1.35rem; letter-spacing: .15em; }
.brand-type small { margin-top: 4px; color: var(--green-soft); font-family: Georgia, serif; font-size: .73rem; font-weight: 700; letter-spacing: .19em; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 2.4rem; flex: 1; }
.primary-nav a { position: relative; padding-block: .4rem; font-size: .9rem; font-weight: 700; color: #375344; transition: color .2s; }
.primary-nav a:hover { color: var(--green); }
.primary-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform .2s; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.language-switch { display: flex; align-items: center; gap: .46rem; direction: ltr; color: var(--muted); font-size: .8rem; font-weight: 700; }
.language-switch a { padding: .2rem; }
.language-switch a[aria-current="true"] { color: var(--green); }
.language-switch span { width: 1px; height: 15px; background: var(--line); }
.cart-link { display: inline-flex; align-items: center; gap: .25rem; color: var(--green); }
.cart-link svg { width: 27px; height: 27px; }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 4px; border-radius: 50px; background: var(--gold); color: var(--green-dark); font-size: .73rem; font-weight: 700; line-height: 1; }
.menu-toggle { display: none; width: 40px; height: 40px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--green); }

.hero { position: relative; min-height: 565px; overflow: hidden; background: #ece2cc; }
.hero-image { position: absolute; inset: 0; background: url("assets/hero.webp") center center / cover no-repeat; }
.tighmi-ar .hero-image { transform: scaleX(-1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,246,235,.96) 0%, rgba(250,246,235,.78) 26%, rgba(250,246,235,.06) 57%, transparent 100%); }
.tighmi-ar .hero::after { background: linear-gradient(270deg, rgba(250,246,235,.96) 0%, rgba(250,246,235,.78) 26%, rgba(250,246,235,.06) 57%, transparent 100%); }
.hero-inner { position: relative; z-index: 1; min-height: 565px; display: flex; align-items: center; }
.hero-copy { max-width: 540px; padding-block: 3.5rem 4.5rem; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: .55rem; color: var(--green-soft); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before, .section-kicker::before { content: ""; width: 27px; height: 2px; background: var(--gold); }
.hero h1 { max-width: 650px; margin: 1.1rem 0 1.1rem; color: var(--green-dark); font-family: Georgia, "Noto Kufi Arabic", serif; font-size: clamp(3rem, 5.8vw, 5.4rem); font-weight: 700; line-height: 1.1; letter-spacing: -.04em; }
.tighmi-ar .hero h1 { font-family: "Noto Kufi Arabic", Tahoma, sans-serif; font-size: clamp(2.4rem, 4.8vw, 4.45rem); line-height: 1.4; letter-spacing: 0; }
.hero p { max-width: 440px; margin: 0 0 1.75rem; color: #365345; font-size: 1.04rem; line-height: 1.85; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.55rem; border: 1px solid var(--green); border-radius: 7px; background: var(--green); color: white; font-size: .9rem; font-weight: 700; transition: background .2s, transform .2s, box-shadow .2s; }
.primary-button:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow); }

.categories-section { padding-block: 72px 82px; scroll-margin-top: 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 30px; }
.section-heading h2 { margin: .55rem 0 0; color: var(--green-dark); font-family: Georgia, "Noto Kufi Arabic", serif; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.25; letter-spacing: -.025em; }
.tighmi-ar .section-heading h2 { font-family: "Noto Kufi Arabic", Tahoma, sans-serif; line-height: 1.5; letter-spacing: 0; }
.section-heading p { max-width: 400px; margin: 0 0 .35rem; color: var(--muted); font-size: .87rem; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.category-card { position: relative; min-height: 270px; overflow: hidden; border-radius: var(--radius); color: white; background: var(--green); isolation: isolate; }
.category-card-image { position: absolute; inset: 0; z-index: -2; background: url("assets/categories.webp") 0 50% / 300% 100% no-repeat; transition: transform .35s; }
.category-card.is-tea-coffee .category-card-image { background-image: url("assets/category-tea-coffee.webp"); background-position: center; background-size: cover; }
.category-card.is-traditional .category-card-image { background-image: url("assets/category-traditional.webp"); background-position: center; background-size: cover; }
.category-card.is-cosmetics .category-card-image { background-image: url("assets/category-cosmetics.webp"); background-position: center; background-size: cover; }
.category-card.is-attara .category-card-image { background-position: 50% 50%; }
.category-card.is-honey-oils .category-card-image { background-position: 100% 50%; }
.category-card-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,35,23,.86), rgba(6,35,23,.12) 62%); }
.category-card:hover .category-card-image { transform: scale(1.055); }
.category-card-copy { position: absolute; inset-inline: 24px; bottom: 22px; display: grid; gap: 3px; }
.category-card-copy small { color: #f5d997; font-size: .8rem; font-weight: 700; }
.category-card-copy strong { font-size: 1.55rem; font-weight: 700; line-height: 1.45; }

.catalog-section { padding-block: 74px 100px; background: #fffdf8; scroll-margin-top: 95px; }
.catalog-heading { margin-bottom: 26px; }
.catalog-tools { display: flex; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; margin-bottom: 14px; }
.category-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { min-height: 42px; padding: .55rem 1rem; border: 1px solid #dce3da; border-radius: 30px; background: white; color: #385242; font-size: .8rem; font-weight: 700; cursor: pointer; transition: .2s; }
.filter-button:hover { border-color: var(--green); }
.filter-button.is-active { border-color: var(--green); background: var(--green); color: white; }
.catalog-search { display: flex; align-items: center; gap: 9px; width: min(290px, 100%); min-height: 44px; padding-inline: 13px; border: 1px solid #dce3da; border-radius: 7px; color: var(--green); background: white; }
.catalog-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,77,56,.09); }
.catalog-search svg { flex: 0 0 19px; width: 19px; height: 19px; }
.catalog-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .82rem; }
.catalog-search input::placeholder { color: #8a978a; }
.results-line { margin: 0 0 15px; color: var(--muted); font-size: .8rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid #e5e9e1; border-radius: 13px; background: white; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.product-card[data-category="attara"] { border-top: 3px solid var(--green-soft); }
.product-card[data-category="honey-oils"] { border-top: 3px solid #b87537; }
.product-card:hover { transform: translateY(-3px); border-color: #cbdbcf; box-shadow: 0 12px 24px rgba(24,63,42,.08); }
.product-card[hidden] { display: none; }
.product-card-image { display: flex; align-items: center; justify-content: center; width: 100%; height: auto; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
.product-card-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-card-image.no-product-image { background: radial-gradient(ellipse at 50% 46%, rgba(224, 168, 66, .16), transparent 48%), linear-gradient(135deg, #f6f4e9, #edf2eb); color: #637766; }
.product-card-image.no-product-image span { max-width: 75%; padding: .5rem .7rem; border: 1px solid rgba(22, 77, 56, .16); border-radius: 30px; background: rgba(255,255,255,.63); font-size: .75rem; font-weight: 700; text-align: center; }
.product-card-body { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: 13px 14px 14px; }
.product-category { color: var(--green-soft); font-size: .69rem; font-weight: 700; }
.product-title { display: -webkit-box; margin: 5px 0 2px; overflow: hidden; color: var(--green-dark); font-size: .93rem; font-weight: 700; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-title:hover { color: #a16514; }
.product-secondary { display: block; overflow: hidden; color: #859287; font-size: .7rem; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.product-card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; white-space: nowrap; direction: ltr; }
.product-price strong { color: var(--green); font-size: 1rem; font-weight: 700; }
.product-price small { color: var(--muted); font-size: .72rem; }
.product-package-picker { display: grid; gap: .3rem; margin: .55rem 0 .7rem; color: var(--green-soft); font-size: .72rem; font-weight: 700; }
.product-package-picker select { width: 100%; min-height: 37px; padding: .4rem .55rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--green-dark); font-family: inherit; font-size: .76rem; font-weight: 600; }
.product-package-picker select:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.add-button { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: .35rem .7rem; border: 1px solid var(--green); border-radius: 5px; color: var(--green); background: white; font-size: .69rem; font-weight: 700; white-space: nowrap; transition: .2s; }
.add-button:hover, .add-button.added { background: var(--green); color: white; }
.product-card .added_to_cart { display: none; }
.no-results { margin-block: 3rem; padding: 2rem; border-radius: 12px; background: var(--cream); color: var(--muted); text-align: center; }
.no-results[hidden] { display: none; }

.site-footer { background: var(--green-dark); color: #ecf2e9; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 3rem; padding-block: 60px 45px; }
.footer-brand { width: 92px; padding: 0; border-radius: 0; background: transparent; line-height: 0; }
.footer-brand img { display: block; width: 100%; height: auto; }
.site-footer h2 { margin: 0 0 1rem; color: var(--gold-light); font-size: .9rem; }
.site-footer p { max-width: 360px; margin: .8rem 0 0; color: #c8d8cb; font-size: .81rem; line-height: 1.9; }
.site-footer a { display: block; width: fit-content; margin-bottom: .65rem; color: #e6efe5; font-size: .81rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 17px; border-top: 1px solid rgba(255,255,255,.16); color: #a9c5b2; font-size: .7rem; }

.whatsapp-float {
    position: fixed;
    inset-inline-end: clamp(1rem, 3vw, 1.75rem);
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .62rem 1rem .62rem .75rem;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    background: #168c50;
    box-shadow: 0 8px 24px rgba(9, 46, 31, .28);
    color: #fff;
    text-decoration: none;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.whatsapp-float:hover { background: #117541; box-shadow: 0 10px 28px rgba(9,46,31,.34); color: #fff; transform: translateY(-2px); }
.whatsapp-float:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.whatsapp-float__icon { display: block; width: 30px; height: 30px; flex: 0 0 30px; }
.whatsapp-float__text { display: grid; gap: .12rem; text-align: start; font-size: .82rem; font-weight: 700; line-height: 1.2; }
.whatsapp-float__text small { color: rgba(255,255,255,.9); font-size: .68rem; font-weight: 500; letter-spacing: .02em; }

.inner-page { min-height: 65vh; padding-block: 60px 95px; }
.page-heading { margin-bottom: 32px; }
.page-heading h1, .simple-entry h1 { margin: .4rem 0 0; color: var(--green-dark); font-family: Georgia, "Noto Kufi Arabic", serif; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.tighmi-ar .page-heading h1, .tighmi-ar .simple-entry h1 { font-family: "Noto Kufi Arabic", Tahoma, sans-serif; line-height: 1.5; }
.page-content { padding: clamp(18px, 4vw, 40px); border: 1px solid #e7e7dc; border-radius: 16px; background: white; }
.page-content a:not(.button):not(.checkout-button) { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* WooCommerce cart, checkout, notices and product pages */
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info { border-top-color: var(--green); background: #edf5ee; color: var(--green-dark); }
.woocommerce .woocommerce-error { border-top-color: #ac493b; }
.woocommerce a.remove { color: #9a483d !important; }
.woocommerce table.shop_table { border-color: var(--line); border-radius: 8px; border-collapse: separate; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 13px; }
.woocommerce table.shop_table th { color: var(--green-dark); }
.woocommerce table.shop_table img { display: none; }
.woocommerce .quantity .qty { width: 78px; min-height: 42px; padding: .35rem; border: 1px solid var(--line); border-radius: 5px; }
.woocommerce .button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    min-height: 43px; padding: .7rem 1.05rem; border-radius: 6px; border: 1px solid var(--green); background: var(--green); color: white; font-family: inherit; font-size: .85rem; font-weight: 700;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce a.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: var(--green-dark); color: white; }
.woocommerce a.button:disabled, .woocommerce button.button:disabled { opacity: .55; }
.woocommerce-cart-form .actions .coupon { display: flex; gap: 8px; }
.woocommerce-cart-form .actions .coupon input { min-height: 43px; border: 1px solid var(--line); border-radius: 5px; }
.woocommerce .cart-collaterals .cart_totals { float: none; width: min(100%, 480px); margin-inline-start: auto; }
.woocommerce .cart-collaterals .cart_totals h2, .woocommerce-checkout h3 { color: var(--green-dark); font-size: 1.25rem; }
.woocommerce form .form-row { margin-bottom: 15px; }
.woocommerce form .form-row label { margin-bottom: 6px; font-weight: 700; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce .select2-container .select2-selection--single {
    min-height: 46px; padding: .6rem .75rem; border: 1px solid #cdd8cf; border-radius: 6px; background: #fff; color: var(--ink); font-family: inherit;
}
.woocommerce form .form-row textarea { min-height: 100px; }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 31px; }
.woocommerce-checkout #payment { background: #eef4ee; border-radius: 9px; }
.woocommerce-checkout #payment div.payment_box { background: #dfeadd; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #dfeadd; }
.tighmi-shipping-note { padding: .85rem 1rem; border-inline-start: 3px solid var(--gold); border-radius: 4px; background: #fff6e4; color: #553f1d; font-size: .82rem; }
.woocommerce-checkout #customer_details { display: block; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce-checkout-review-order { margin-top: 20px; }
.tighmi-cart-unit { display: block; color: var(--muted); font-size: .75rem; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.woocommerce div.product .single-category-art { position: relative; display: flex; align-items: center; justify-content: center; align-self: start; aspect-ratio: 1 / 1; min-height: 0; border-radius: 18px; background: #fff; overflow: hidden; }
.woocommerce div.product .single-category-art.no-product-image { background: radial-gradient(ellipse at 50% 46%, rgba(224, 168, 66, .16), transparent 48%), linear-gradient(135deg, #f6f4e9, #edf2eb); }
.woocommerce div.product .single-category-art .single-product-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.single-category-art span { position: absolute; inset-inline: 14px; bottom: 14px; padding: .35rem .7rem; border-radius: 5px; background: rgba(13,52,38,.82); color: white; font-size: .7rem; width: fit-content; }
.woocommerce div.product .summary { float: none; width: auto; padding-top: 15px; }
.woocommerce div.product .product_title { color: var(--green-dark); font-family: Georgia, "Noto Kufi Arabic", serif; font-size: clamp(2rem, 3.5vw, 3.3rem); line-height: 1.3; }
.tighmi-ar .woocommerce div.product .product_title { font-family: "Noto Kufi Arabic", Tahoma, sans-serif; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--green); font-size: 1.6rem; font-weight: 700; }
.tighmi-price-unit { color: var(--muted); font-size: .85rem; font-weight: 500; }
.tighmi-package-options { margin: 1rem 0 1.25rem; }
.tighmi-package-options-heading { margin: 0 0 .65rem; color: var(--green-dark); font-size: .9rem; font-weight: 700; }
.tighmi-package-options-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tighmi-package-option { display: inline-flex; min-width: 76px; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--green-dark); text-align: center; text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.tighmi-package-option:hover, .tighmi-package-option:focus-visible { border-color: var(--green); }
.tighmi-package-option.is-current { border-color: var(--green); background: var(--green); color: #fff; }
.tighmi-package-option-size { font-size: .8rem; font-weight: 700; }
.tighmi-package-option-price { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.tighmi-package-option.is-current .tighmi-package-option-price { color: rgba(255,255,255,.85); }
.woocommerce div.product form.cart { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.woocommerce div.product form.cart .quantity { float: none; margin: 0; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related { grid-column: 1 / -1; }
.woocommerce div.product .related > h2 { color: var(--green-dark); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none; width: auto; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.woocommerce ul.products li.product img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 8px; background: #fff; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--green-dark); font-size: 1rem; }
.woocommerce ul.products li.product .price { color: var(--green); }
.woocommerce .woocommerce-order { padding: 1.5rem; border-radius: 12px; background: white; }

@media (max-width: 1100px) {
    .site-brand { min-width: 106px; }
    .primary-nav { gap: 1.4rem; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
    .site-container, .narrow-container { width: min(100% - 30px, 680px); }
    .top-note { font-size: .67rem; }
    .top-note .site-container span:last-child { display: none; }
    .header-row { min-height: 94px; gap: .8rem; }
    .brand-logo-full { width: 88px; }
    .site-brand { flex: 1; min-width: 0; }
    .header-actions { gap: .55rem; }
    .language-switch { font-size: .72rem; }
    .menu-toggle { display: block; }
    .primary-nav { position: absolute; inset-inline: 0; top: 100%; display: none; padding: 16px 24px 20px; border-top: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
    .primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
    .hero, .hero-inner { min-height: 540px; }
    .hero::after { background: linear-gradient(90deg, rgba(250,246,235,.97), rgba(250,246,235,.8) 53%, rgba(250,246,235,.12)); }
    .tighmi-ar .hero::after { background: linear-gradient(270deg, rgba(250,246,235,.97), rgba(250,246,235,.8) 53%, rgba(250,246,235,.12)); }
    .hero-copy { max-width: 500px; }
    .category-grid { gap: 12px; }
    .category-card { min-height: 210px; }
    .category-card-copy { inset-inline: 14px; bottom: 14px; }
    .category-card-copy strong { font-size: 1.1rem; }
    .catalog-tools { flex-wrap: wrap; }
    .catalog-search { width: 100%; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .woocommerce-checkout #customer_details { display: block; }
    .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
    .header-row { min-height: 84px; }
    .brand-logo-full { width: 78px; }
    .language-switch { gap: .22rem; }
    .cart-link svg { width: 23px; height: 23px; }
    .hero, .hero-inner { min-height: 595px; }
    .hero-image { background-position: 61% center; }
    .hero::after { background: linear-gradient(180deg, rgba(250,246,235,.96) 0%, rgba(250,246,235,.92) 53%, rgba(250,246,235,.02) 100%); }
    .tighmi-ar .hero::after { background: linear-gradient(180deg, rgba(250,246,235,.96) 0%, rgba(250,246,235,.92) 53%, rgba(250,246,235,.02) 100%); }
    .hero-inner { align-items: start; }
    .hero-copy { padding-top: 2.9rem; }
    .hero h1 { font-size: 2.6rem; }
    .tighmi-ar .hero h1 { font-size: 2.45rem; }
    .hero p { font-size: .9rem; }
    .categories-section { padding-block: 48px 58px; }
    .section-heading { align-items: start; flex-direction: column; gap: .5rem; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-card { min-height: 150px; }
    .category-card-image { background-size: 300% 100%; }
    .category-card-copy strong { font-size: 1.3rem; }
    .catalog-section { padding-block: 56px 72px; }
    .category-filters { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; padding-bottom: 4px; }
    .filter-button { flex: 0 0 auto; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .product-card-image { height: auto; }
    .product-card-body { padding: 11px 10px 12px; }
    .product-title { font-size: .84rem; }
    .product-secondary { font-size: .63rem; }
    .product-card-bottom { align-items: center; gap: 4px; }
    .product-price { gap: 2px; }
    .product-price strong { font-size: .88rem; }
    .product-price small { font-size: .62rem; }
    .add-button { min-height: 30px; padding-inline: .5rem; font-size: .62rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 45px 28px; }
    .footer-bottom { flex-direction: column; gap: .25rem; }
    .whatsapp-float { gap: .52rem; padding: .56rem .85rem .56rem .68rem; }
    .whatsapp-float__icon { width: 27px; height: 27px; flex-basis: 27px; }
    .whatsapp-float__text { font-size: .78rem; }
    .whatsapp-float__text small { font-size: .65rem; }
    .inner-page { padding-block: 42px 70px; }
    .page-content { padding: 18px; }
    .woocommerce div.product { grid-template-columns: 1fr; gap: 20px; }
    .woocommerce div.product .single-category-art { min-height: 0; }
    .woocommerce div.product .summary { padding-top: 0; }
    .woocommerce ul.products { grid-template-columns: 1fr 1fr; gap: 10px; }
    .woocommerce ul.products li.product { padding: 10px; }
    .woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
