/* Wudd Distributions — main styles */
:root {
  --wudd-primary: #4B1F2A;
  --wudd-primary-2: #6A3340;
  --wudd-accent: #C6A66B;
  --wudd-accent-soft: #E8DCC5;
  --wudd-bg: #FAF8F4;
  --wudd-surface: #FFFFFF;
  --wudd-surface-alt: #F3EDE4;
  --wudd-text: #241A1D;
  --wudd-muted: #75676B;
  --wudd-border: #E8DED3;
  --wudd-success: #315C48;
  --wudd-radius: 22px;
  --wudd-shadow: 0 18px 50px rgba(75, 31, 42, 0.10);
  --wudd-container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--wudd-bg);
  color: var(--wudd-text);
  font-family: "Tajawal", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-container { width: min(calc(100% - 36px), var(--wudd-container)); margin-inline: auto; }
.narrow-container { max-width: 860px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto !important; width: auto; height: auto; padding: 12px 16px; background: #fff; color: #000; z-index: 99999; top: 8px; inset-inline-start: 8px; }

.announcement-bar { background: var(--wudd-primary); color: #fff; font-size: 13px; letter-spacing: .1px; text-align: center; padding: 7px 0; }
.site-header { position: sticky; top: 0; z-index: 1000; background: color-mix(in srgb, var(--wudd-bg) 92%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: .25s ease; }
.site-header.is-scrolled { border-bottom-color: var(--wudd-border); box-shadow: 0 8px 28px rgba(45, 25, 30, .05); }
.header-inner { min-height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.site-branding { justify-self: center; }
.brand-wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-arabic { color: var(--wudd-primary); font-size: 34px; font-weight: 800; letter-spacing: 1px; }
.brand-subtitle { margin-top: 5px; color: var(--wudd-muted); font-size: 10px; font-weight: 600; letter-spacing: 2px; }
.custom-logo { max-height: 58px; width: auto; }
.main-navigation { justify-self: start; }
.main-navigation ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.main-navigation a { font-size: 14px; font-weight: 600; color: #493B3F; position: relative; padding: 8px 0; }
.main-navigation a::after { content: ""; position: absolute; inset-inline: 0; bottom: 1px; height: 1px; background: var(--wudd-accent); transform: scaleX(0); transition: .2s ease; }
.main-navigation a:hover::after, .main-navigation .current-menu-item > a::after { transform: scaleX(1); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.header-icon, .menu-toggle, .menu-close { width: 42px; height: 42px; border: 0; border-radius: 50%; display: inline-grid; place-items: center; background: transparent; color: var(--wudd-primary); transition: .2s ease; }
.header-icon:hover, .menu-toggle:hover { background: var(--wudd-surface-alt); }
.cart-link { position: relative; }
.cart-count { position: absolute; top: 1px; inset-inline-end: 0; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 10px; background: var(--wudd-primary); color: #fff; font-size: 10px; line-height: 1; }
.menu-toggle, .menu-close { display: none; }
.menu-overlay { display: none; }

.hero-section { padding: 44px 0 62px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 72px; }
.hero-content { padding-block: 40px; }
.eyebrow { display: inline-block; color: var(--wudd-accent); font-size: 13px; font-weight: 800; letter-spacing: .5px; margin-bottom: 14px; }
.hero-content h1, .section-heading h2, .page-header h1, .custom-cta h2 { margin: 0; color: var(--wudd-primary); font-size: clamp(38px, 5vw, 68px); line-height: 1.15; letter-spacing: -.7px; }
.hero-content p { max-width: 590px; margin: 24px 0 0; color: var(--wudd-muted); font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wp-element-button { min-height: 50px; padding: 12px 24px; border: 1px solid transparent; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 14px; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { transform: translateY(-2px); }
.button-primary, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--wudd-primary); color: #fff; }
.button-primary:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover { background: var(--wudd-primary-2); color: #fff; }
.button-ghost { border-color: var(--wudd-border); background: transparent; color: var(--wudd-primary); }
.button-ghost:hover { border-color: var(--wudd-primary); background: #fff; }
.button-secondary { background: #fff; border-color: var(--wudd-border); color: var(--wudd-primary); }
.button-light { background: #fff; color: var(--wudd-primary); }
.button svg, .text-link svg { width: 18px; height: 18px; }
html[dir="rtl"] .button svg, html[dir="rtl"] .text-link svg { transform: scaleX(-1); }
.hero-note { margin-top: 22px; color: var(--wudd-muted); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.hero-note span { color: var(--wudd-success); font-weight: 800; }
.hero-visual { min-height: 570px; position: relative; border-radius: 300px 300px 32px 32px; background: linear-gradient(145deg, #EFE3D5 0%, #D9C3A8 100%); box-shadow: var(--wudd-shadow); isolation: isolate; background-size: cover; background-position: center; }
.hero-visual::before { content: ""; position: absolute; width: 180px; height: 180px; border: 1px solid rgba(75,31,42,.14); border-radius: 50%; top: -32px; inset-inline-start: -45px; z-index: -1; }
.hero-visual::after { content: ""; position: absolute; width: 110px; height: 110px; background: var(--wudd-primary); opacity: .08; border-radius: 50%; bottom: 40px; inset-inline-end: -28px; z-index: -1; }
.visual-arch { position: absolute; inset: 52px 72px 68px; border: 1px solid rgba(75,31,42,.16); border-radius: 240px 240px 18px 18px; }
.gift { position: absolute; display: grid; place-items: center; color: var(--wudd-primary); box-shadow: 0 22px 40px rgba(75,31,42,.14); }
.gift::before { content: ""; position: absolute; top: -8px; left: 50%; width: 22px; height: 16px; border: 2px solid currentColor; border-bottom: 0; border-radius: 20px 20px 0 0; transform: translateX(-50%); }
.gift span { font-size: 15px; font-weight: 800; }
.gift-one { width: 170px; height: 210px; background: #FFF9F0; border-radius: 12px 12px 70px 70px; bottom: 72px; left: 50%; transform: translateX(-50%); }
.gift-two { width: 120px; height: 145px; background: var(--wudd-primary); color: #fff; border-radius: 10px 10px 46px 46px; bottom: 50px; left: 65px; transform: rotate(-7deg); }
.gift-three { width: 120px; height: 150px; background: #D5B878; border-radius: 10px 10px 46px 46px; bottom: 55px; right: 54px; transform: rotate(7deg); }
.visual-flower { position: absolute; color: rgba(75,31,42,.45); font-size: 32px; }
.flower-one { top: 120px; left: 100px; }
.flower-two { top: 90px; right: 95px; font-size: 20px; }
.hero-badge { position: absolute; bottom: 26px; inset-inline-start: -28px; padding: 16px 20px; border-radius: 16px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); box-shadow: 0 16px 35px rgba(75,31,42,.12); display: flex; flex-direction: column; }
.hero-badge strong { color: var(--wudd-primary); font-size: 15px; }
.hero-badge span { color: var(--wudd-muted); font-size: 12px; }
.has-image .hero-badge { inset-inline-start: 24px; }

.trust-strip { border-block: 1px solid var(--wudd-border); background: rgba(255,255,255,.55); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { padding: 22px 30px; text-align: center; display: flex; flex-direction: column; gap: 2px; position: relative; }
.trust-grid > div:not(:last-child)::after { content: ""; position: absolute; top: 22%; bottom: 22%; inset-inline-end: 0; width: 1px; background: var(--wudd-border); }
.trust-grid strong { color: var(--wudd-primary); font-size: 14px; }
.trust-grid span { color: var(--wudd-muted); font-size: 12px; }

.section { padding: 96px 0; }
.section-heading { margin-bottom: 38px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2 { font-size: clamp(32px, 4vw, 48px); }
.section-heading--center { justify-content: center; text-align: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--wudd-primary); font-size: 13px; font-weight: 700; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card { border-radius: var(--wudd-radius); overflow: hidden; background: var(--wudd-surface); border: 1px solid var(--wudd-border); transition: transform .25s ease, box-shadow .25s ease; }
.category-card:hover { transform: translateY(-6px); box-shadow: var(--wudd-shadow); }
.category-image { aspect-ratio: 4 / 4.7; display: grid; place-items: center; background: linear-gradient(145deg, #F4EEE5, #E6D7C6); background-size: cover; background-position: center; overflow: hidden; }
.category-card:nth-child(2) .category-image { background: linear-gradient(145deg, #F4E8E8, #E7CCCC); }
.category-card:nth-child(3) .category-image { background: linear-gradient(145deg, #E9E6DD, #D6D0C0); }
.category-card:nth-child(4) .category-image { background: linear-gradient(145deg, #EEE5E1, #DCCBC3); }
.category-symbol { width: 110px; height: 150px; border-radius: 60px 60px 18px 18px; background: rgba(255,255,255,.72); color: var(--wudd-primary); box-shadow: 0 20px 35px rgba(75,31,42,.09); display: grid; place-items: center; font-size: 42px; }
.category-copy { padding: 20px 22px 22px; }
.category-copy span { color: var(--wudd-muted); font-size: 12px; }
.category-copy h3 { margin: 4px 0 0; color: var(--wudd-primary); font-size: 20px; }
.products-section { background: #F4EFE8; }
.section-action { text-align: center; margin-top: 40px; }
.process-wrap { background: var(--wudd-surface); border: 1px solid var(--wudd-border); border-radius: 34px; padding: 64px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.process-grid article { position: relative; padding: 28px; border-radius: 20px; background: var(--wudd-bg); border: 1px solid var(--wudd-border); }
.step-number { display: inline-grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: var(--wudd-primary); color: #fff; font-size: 12px; font-weight: 800; }
.process-grid h3 { margin: 20px 0 7px; color: var(--wudd-primary); font-size: 21px; }
.process-grid p { margin: 0; color: var(--wudd-muted); font-size: 14px; }
.custom-cta-section { padding-top: 0; }
.custom-cta { min-height: 300px; padding: 54px 64px; border-radius: 34px; background: var(--wudd-primary); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.custom-cta::after { content: "وُد"; position: absolute; inset-inline-end: 28px; bottom: -70px; font-size: 190px; font-weight: 800; color: rgba(255,255,255,.035); line-height: 1; }
.eyebrow--light { color: var(--wudd-accent-soft); }
.custom-cta h2 { color: #fff; font-size: clamp(32px, 4vw, 50px); position: relative; z-index: 1; }
.custom-cta p { max-width: 650px; color: rgba(255,255,255,.72); position: relative; z-index: 1; }
.custom-cta .button { flex: 0 0 auto; position: relative; z-index: 1; }

.site-footer { background: #21191B; color: rgba(255,255,255,.72); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 70px; padding-bottom: 52px; }
.brand-wordmark--footer { align-items: flex-start; }
.brand-wordmark--footer .brand-arabic { color: #fff; }
.brand-wordmark--footer .brand-subtitle { color: rgba(255,255,255,.5); }
.footer-brand p { max-width: 420px; margin: 24px 0; font-size: 14px; }
.footer-title { margin: 0 0 20px; color: #fff; font-size: 15px; }
.footer-menu, .footer-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-menu a, .footer-list a { font-size: 13px; transition: color .2s ease; }
.footer-menu a:hover, .footer-list a:hover { color: #fff; }
.social-links { display: flex; gap: 8px; }
.social-links a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; display: grid; place-items: center; color: #fff; }
.social-links a:hover { background: #fff; color: var(--wudd-primary); }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; font-size: 11px; }
.footer-bottom p { margin: 0; }

.content-area { padding: 72px 0 100px; }
.page-header { margin-bottom: 40px; }
.page-header h1 { font-size: clamp(34px, 5vw, 54px); }
.archive-description { color: var(--wudd-muted); }
.page-featured-image { margin-bottom: 38px; border-radius: 24px; overflow: hidden; }
.entry-content { padding: 44px; border-radius: 26px; background: #fff; border: 1px solid var(--wudd-border); box-shadow: 0 18px 55px rgba(75,31,42,.05); }
.entry-content h2, .entry-content h3 { color: var(--wudd-primary); line-height: 1.35; margin-top: 1.6em; }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content p, .entry-content li { color: #55484C; }
.entry-content a { color: var(--wudd-primary); text-decoration: underline; text-decoration-color: var(--wudd-accent); text-underline-offset: 3px; }
.entry-content ul { padding-inline-start: 22px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--wudd-border); border-radius: 22px; overflow: hidden; }
.post-card-image { display: block; aspect-ratio: 16/10; overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-card-image img { transform: scale(1.04); }
.post-card-body { padding: 24px; }
.post-meta { font-size: 11px; color: var(--wudd-muted); }
.post-card h2 { margin: 7px 0; font-size: 20px; color: var(--wudd-primary); }
.post-card p { color: var(--wudd-muted); font-size: 14px; }
.empty-state { padding: 70px 30px; text-align: center; border: 1px solid var(--wudd-border); border-radius: 28px; background: #fff; }
.empty-state h1 { color: var(--wudd-primary); }
.error-number { display: block; color: var(--wudd-accent); font-size: 70px; font-weight: 800; line-height: 1; }
.empty-state .hero-actions { justify-content: center; }

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb { color: var(--wudd-muted); font-size: 12px; margin-bottom: 28px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--wudd-primary); }
.woocommerce-products-header__title, .woocommerce div.product .product_title { color: var(--wudd-primary); font-size: clamp(32px, 4vw, 48px); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: auto; margin: 0; float: none; padding: 0 0 20px; background: #fff; border: 1px solid var(--wudd-border); border-radius: 20px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--wudd-shadow); }
.woocommerce ul.products li.product a img { margin: 0 0 18px; aspect-ratio: 1/1.15; object-fit: cover; background: var(--wudd-surface-alt); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 18px; color: var(--wudd-primary); font-size: 16px; }
.woocommerce ul.products li.product .price { padding: 0 18px; color: var(--wudd-primary); font-size: 15px; font-weight: 800; }
.woocommerce ul.products li.product .button { margin: 10px 18px 0; min-height: 43px; padding: 9px 18px; font-size: 12px; }
.woocommerce span.onsale { min-height: auto; min-width: auto; padding: 6px 12px; line-height: 1.2; top: 12px; inset-inline-start: 12px; inset-inline-end: auto; background: var(--wudd-primary); border-radius: 999px; font-size: 11px; }
.woocommerce div.product { background: #fff; padding: 32px; border: 1px solid var(--wudd-border); border-radius: 26px; }
.woocommerce div.product div.images img { border-radius: 18px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--wudd-primary); font-weight: 800; }
.woocommerce div.product form.cart .button { min-height: 52px; }
.woocommerce .quantity .qty { min-height: 48px; border: 1px solid var(--wudd-border); border-radius: 12px; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--wudd-accent); background: #fff; border-radius: 12px; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--wudd-accent); }
.woocommerce table.shop_table { border-color: var(--wudd-border); border-radius: 16px; background: #fff; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .select2-container--default .select2-selection--single { min-height: 50px; border: 1px solid var(--wudd-border); border-radius: 12px; background: #fff; padding: 10px 14px; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border-color: var(--wudd-border); border-radius: 18px; background: #fff; }
.woocommerce-checkout #payment { background: #F4EFE8; border-radius: 18px; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto 1fr auto; min-height: 72px; }
  .site-branding { justify-self: center; }
  .menu-toggle { display: inline-grid; justify-self: start; }
  .main-navigation { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(84vw, 360px); background: #fff; padding: 80px 28px 30px; z-index: 1100; transform: translateX(calc(-100% - 20px)); transition: transform .3s ease; box-shadow: 20px 0 60px rgba(35,20,25,.14); }
  html[dir="rtl"] .main-navigation { transform: translateX(calc(100% + 20px)); }
  .main-navigation.is-open { transform: translateX(0); }
  .main-navigation ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .main-navigation a { display: block; padding: 12px 0; font-size: 16px; }
  .menu-close { display: inline-grid; position: absolute; top: 18px; inset-inline-end: 18px; }
  .menu-overlay { position: fixed; inset: 0; background: rgba(31,18,22,.45); z-index: 1050; opacity: 0; visibility: hidden; transition: .25s ease; }
  .menu-overlay.is-visible { display: block; opacity: 1; visibility: visible; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-content { text-align: center; padding-block: 20px; }
  .hero-content p { margin-inline: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .hero-visual { min-height: 500px; max-width: 650px; width: 100%; margin-inline: auto; }
  .category-grid, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .process-wrap { padding: 46px 28px; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .site-container { width: min(calc(100% - 24px), var(--wudd-container)); }
  .announcement-bar { font-size: 11px; }
  .header-actions .header-icon:first-child { display: none; }
  .brand-arabic { font-size: 28px; }
  .brand-subtitle { font-size: 8px; }
  .hero-section { padding: 24px 0 42px; }
  .hero-content h1 { font-size: 40px; }
  .hero-content p { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 390px; border-radius: 200px 200px 24px 24px; }
  .visual-arch { inset: 38px 36px 50px; }
  .gift-one { width: 126px; height: 165px; }
  .gift-two, .gift-three { width: 88px; height: 118px; }
  .gift-two { left: 28px; }
  .gift-three { right: 28px; }
  .hero-badge { inset-inline-start: 12px; bottom: 12px; }
  .trust-grid { grid-template-columns: 1fr; padding: 8px 0; }
  .trust-grid > div { padding: 14px; }
  .trust-grid > div:not(:last-child)::after { top: auto; bottom: 0; left: 20%; right: 20%; width: auto; height: 1px; }
  .section { padding: 68px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
  .category-grid { gap: 12px; }
  .category-copy { padding: 14px; }
  .category-copy h3 { font-size: 16px; }
  .category-symbol { width: 78px; height: 108px; font-size: 30px; }
  .process-wrap { border-radius: 24px; padding: 38px 18px; }
  .custom-cta { padding: 38px 24px; border-radius: 24px; align-items: flex-start; flex-direction: column; }
  .custom-cta .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .entry-content { padding: 26px 20px; border-radius: 20px; }
  .post-grid { grid-template-columns: 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { padding-inline: 12px; font-size: 13px; }
  .woocommerce ul.products li.product .price { padding-inline: 12px; font-size: 13px; }
  .woocommerce ul.products li.product .button { margin-inline: 12px; padding: 8px 10px; }
  .woocommerce div.product { padding: 18px; }
}

@media (max-width: 390px) {
  .category-grid, .woocommerce ul.products { grid-template-columns: 1fr; }
}
