/*
Theme Name: Dalali Boutique
Author: Dalali
Description: بوتيك دلالي العربي للملابس والحقائب والجمال، متوافق مع WooCommerce.
Version: 2.0.0
Text Domain: dalali
*/
:root {
  --wine: #742f48;
  --dark: #30252b;
  --cream: #faf7f2;
  --rose: #ecd9dd;
  --muted: #75646b;
  --line: #e7dfe0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--dark); font: 16px/1.85 Tahoma, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--wine); }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; }
.skip-link { position: absolute; top: -100px; right: 15px; background: white; padding: 12px; z-index: 100; }
.skip-link:focus { top: 5px; }
.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.topbar { background: var(--wine); color: white; text-align: center; padding: 7px 16px; font-size: 12px; letter-spacing: .2px; }
.header { background: #fffdf9; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 98px; }
.brand img { width: 166px; height: 65px; object-fit: contain; display: block; }
.brand .custom-logo-link img { width: 166px; height: 65px; }
.nav-list { display: flex; flex-wrap: wrap; list-style: none; gap: 26px; padding: 0; margin: 0; font-size: 14px; }
.cart-link { white-space: nowrap; font-size: 14px; border: 1px solid var(--line); padding: 7px 15px; border-radius: 30px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 610px; background: #eee1df; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 60px clamp(28px, 6vw, 100px); }
.eyebrow { font-size: 13px; letter-spacing: .5px; color: var(--wine); }
h1, h2, h3 { line-height: 1.5; }
.hero h1 { font-size: clamp(35px, 4.7vw, 67px); font-weight: 400; margin: 18px 0 22px; }
.hero p { max-width: 420px; color: #66515b; margin-bottom: 28px; }
.hero-photo { width: 100%; height: 610px; object-fit: contain; object-position: center; display: block; background: #f2e9e5; }
.button, .woocommerce a.button, .woocommerce button.button, .woocommerce button.button.alt, .woocommerce input.button, .wp-element-button { display: inline-block; padding: 12px 29px; border: 1px solid var(--wine); border-radius: 3px; background: var(--wine); color: white; cursor: pointer; font-weight: 400; line-height: 1.7; }
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover { background: #582337; color: white; }
.hero-secondary { margin-top: 18px; font-size: 13px; border-bottom: 1px solid #9d7382; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.benefits span + span { border-inline-start: 1px solid var(--line); }
.section { padding-block: 65px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.section-heading h2 { font-size: 29px; font-weight: 400; margin: 5px 0 0; }
.text-link { color: var(--wine); font-size: 13px; border-bottom: 1px solid var(--wine); white-space: nowrap; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { border: 1px solid var(--line); padding: 30px 20px; background: white; transition: transform .2s; }
.category-card:hover { transform: translateY(-4px); }
.category-card h3 { font-size: 20px; font-weight: 400; margin: 0 0 9px; }
.category-card p { color: var(--muted); font-size: 13px; margin: 0; }
.category-card:nth-child(even) { background: #f2e6e6; }
.story { display: grid; grid-template-columns: 1fr 1fr; background: #f0e7df; }
.story h2 { font-size: 34px; font-weight: 400; margin-top: 0; }
.story > div { padding: 45px; }
.story p { color: var(--muted); max-width: 500px; }
.story-mark { display: grid; place-items: center; background: #ead9dc; }
.story-mark img { width: min(100%, 340px); height: auto; }
.empty-products { text-align: center; padding: 40px 24px; border: 1px solid var(--line); background: white; color: var(--muted); }
.page-content { padding-block: 48px 70px; min-height: 55vh; }
.page-content > h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 400; margin-top: 0; }
.prose { max-width: 780px; margin-inline: auto; }
.footer { background: #32242c; color: #f8edf1; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 45px; }
.footer h2 { font-size: 27px; margin-top: 0; font-weight: 400; }
.footer h3 { font-size: 15px; margin-top: 0; }
.footer p, .footer a { font-size: 13px; color: #e1cdd5; }
.footer a:hover { color: white; }
.footer ul { padding: 0; list-style: none; margin: 0; }
.footer-bottom { margin-top: 35px; border-top: 1px solid #654653; padding-top: 18px; color: #d7bac6; font-size: 11px; display: flex; justify-content: space-between; gap: 15px; }
.woocommerce ul.products li.product img { border-radius: 4px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px; font-weight: 400; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--wine); }
.woocommerce input.input-text, .woocommerce textarea, .woocommerce select { border: 1px solid #b09ca3; background: white; padding: 9px; border-radius: 3px; width: 100%; }
.woocommerce div.product div.images img { border-radius: 5px; }
.woocommerce div.product .product_title { font-size: 32px; font-weight: 400; }
.woocommerce table.shop_table { background: white; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--wine); }
.woocommerce-breadcrumb { margin-bottom: 30px !important; }
.woocommerce .quantity .qty { min-height: 52px; }
@media (max-width: 780px) {
  .container { width: calc(100% - 32px); }
  .header-inner { flex-wrap: wrap; gap: 8px 18px; padding-block: 12px; }
  .brand img { width: 125px; height: 50px; }
  .header nav { order: 3; width: 100%; overflow-x: auto; }
  .nav-list { flex-wrap: nowrap; gap: 22px; padding-block: 8px; white-space: nowrap; font-size: 13px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 36px 25px; }
  .hero h1 { font-size: 39px; margin: 10px 0; }
  .hero-photo { height: 460px; object-position: center; }
  .benefits { font-size: 10px; gap: 8px; }
  .section { padding-block: 40px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-card { padding: 22px 14px; }
  .category-card h3 { font-size: 17px; }
  .section-heading h2 { font-size: 25px; }
  .story { grid-template-columns: 1fr; }
  .story > div { padding: 28px; }
  .story-mark img { max-width: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .category-card { transition: none; }
}
