/*
Theme Name: Attarof
Theme URI: http://attarof.ir
Author: Attarof
Description: قالب اختصاصی فروشگاه محصولات گیاهی و عطاری عطاروف
Version: 1.0.0
Text Domain: attarof
Requires at least: 6.6
Requires PHP: 8.1
*/

@font-face {
  font-family: "Attarof Titr";
  src: local("B Titr"), local("B Titr Bold"), local("BTitr"), local("BTitrBd");
  font-display: swap;
  font-style: normal;
  font-weight: 700 900;
}

@font-face {
  font-family: "Attarof Nazanin";
  src: local("B Nazanin"), local("BNazanin"), local("B Nazanin Regular");
  font-display: swap;
  font-style: normal;
  font-weight: 400 900;
}

:root {
  --attarof-font-heading: "Attarof Titr", "B Titr", "BTitr", Tahoma, sans-serif;
  --attarof-font-body: "Attarof Nazanin", "B Nazanin", "BNazanin", Tahoma, sans-serif;
  --attarof-green-950: #102e24;
  --attarof-green-800: #204f3c;
  --attarof-green-650: #2f684f;
  --attarof-green-100: #e8f0e9;
  --attarof-cream: #faf7ef;
  --attarof-paper: #fffdf8;
  --attarof-saffron: #d99632;
  --attarof-saffron-soft: #f4dfb9;
  --attarof-ink: #172820;
  --attarof-muted: #485950;
  --attarof-line: #d8ddd5;
  --attarof-radius: 24px;
  --attarof-shadow: 0 18px 55px rgba(27, 55, 45, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--attarof-ink);
  background: var(--attarof-cream);
  font-family: var(--attarof-font-body);
  line-height: 1.8;
  direction: rtl;
  overflow-x: clip;
}
h1, h2, h3, h4, h5, h6,
.brand-name,
.page-title,
.woocommerce-loop-product__title,
.woocommerce div.product .product_title {
  font-family: var(--attarof-font-heading);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.announcement {
  background: var(--attarof-green-950);
  color: #fff;
  font-size: .82rem;
  text-align: center;
  padding: 8px 16px;
}
.announcement strong { color: #f5d9a6; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, .94);
  border-bottom: 1px solid rgba(40, 87, 68, .09);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: block; width: 48px; height: 48px; }
.brand-copy { display: block; }
.footer-symbol { width: 44px; height: 44px; border-radius: 14px; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 16px 16px 7px 16px; background: var(--attarof-green-800); color: #fff;
  transform: rotate(-4deg); box-shadow: 0 8px 22px rgba(40, 87, 68, .22);
}
.brand-mark svg { width: 26px; transform: rotate(4deg); }
.brand-name { display: block; color: var(--attarof-green-950); font-size: 1.4rem; font-weight: 900; line-height: 1.15; }
.brand-tagline { display: block; margin-top: 3px; color: var(--attarof-muted); font-size: .69rem; }
.primary-nav ul { display: flex; justify-content: center; align-items: center; gap: 26px; padding: 0; margin: 0; list-style: none; }
.primary-nav a { font-size: .9rem; font-weight: 700; transition: color .2s ease; }
.primary-nav a:hover { color: var(--attarof-green-650); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-link {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--attarof-line); border-radius: 14px; background: #fff; color: var(--attarof-green-950);
}
.icon-link svg { width: 20px; }
.cart-count { min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; border-radius: 10px; background: var(--attarof-saffron); color: #fff; font-size: .66rem; font-weight: 800; }
.menu-toggle { display: none; cursor: pointer; }

.hero { position: relative; overflow: hidden; padding: 72px 0 54px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(circle at 86% 16%, rgba(217,150,50,.17), transparent 26%), radial-gradient(circle at 12% 80%, rgba(63,118,93,.13), transparent 28%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 66px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border: 1px solid #d6e2d7; border-radius: 999px; background: #f5faf5; color: var(--attarof-green-800); font-size: .77rem; font-weight: 800; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--attarof-saffron); box-shadow: 0 0 0 4px var(--attarof-saffron-soft); }
.hero h1 { margin: 22px 0 18px; color: var(--attarof-green-950); font-size: clamp(2.45rem, 5vw, 4.8rem); line-height: 1.23; letter-spacing: -.05em; }
.hero h1 span { color: var(--attarof-green-650); position: relative; white-space: nowrap; }
.hero h1 span::after { content: ""; position: absolute; height: 10px; right: 0; left: 0; bottom: 2px; z-index: -1; border-radius: 99px; background: var(--attarof-saffron-soft); transform: rotate(-1deg); }
.hero-copy > p { max-width: 600px; margin: 0 0 30px; color: var(--attarof-muted); font-size: 1.03rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 10px 23px; border-radius: 15px; font-size: .9rem; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--attarof-green-800); color: #fff; box-shadow: 0 12px 30px rgba(40,87,68,.20); }
.btn-secondary { border: 1px solid var(--attarof-line); background: var(--attarof-paper); color: var(--attarof-green-950); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: var(--attarof-muted); font-size: .78rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before { content: "✓"; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: var(--attarof-green-100); color: var(--attarof-green-800); font-size: .7rem; font-weight: 900; }

.hero-visual { position: relative; min-height: 490px; display: grid; place-items: center; }
.botanical-card { position: relative; width: min(460px, 100%); aspect-ratio: 1 / 1.02; overflow: hidden; border-radius: 46% 46% 18% 46%; background: linear-gradient(145deg, #dce9dc, #a7c6ad); box-shadow: var(--attarof-shadow); }
.botanical-card::before, .botanical-card::after { content: ""; position: absolute; border-radius: 50%; filter: blur(1px); }
.botanical-card::before { width: 260px; height: 260px; left: -50px; top: -35px; background: rgba(255,255,255,.32); }
.botanical-card::after { width: 190px; height: 190px; right: -45px; bottom: -30px; background: rgba(33,76,55,.14); }
.jar { position: absolute; bottom: 48px; width: 112px; border: 8px solid rgba(255,255,255,.75); border-top-width: 15px; border-radius: 22px 22px 32px 32px; background: linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.55)), var(--jar-color); box-shadow: 0 18px 35px rgba(28,63,48,.18); }
.jar::before { content: ""; position: absolute; height: 15px; top: -27px; right: -6px; left: -6px; border-radius: 6px 6px 3px 3px; background: #5d4938; }
.jar::after { content: attr(data-label); position: absolute; top: 43%; right: 8px; left: 8px; padding: 5px 2px; text-align: center; border-radius: 8px; background: #fffaf0; color: #4c514a; font-size: .69rem; font-weight: 800; }
.jar-one { height: 205px; right: 68px; --jar-color: #c7824d; transform: rotate(3deg); }
.jar-two { height: 164px; right: 176px; --jar-color: #8eaa6c; transform: rotate(-4deg); }
.jar-three { height: 135px; right: 272px; --jar-color: #d9aa58; transform: rotate(5deg); }
.leaf { position: absolute; width: 92px; height: 38px; border-radius: 100% 0 100% 0; background: var(--attarof-green-800); transform-origin: right center; opacity: .92; }
.leaf-a { right: 52px; top: 95px; transform: rotate(-35deg); }
.leaf-b { right: 105px; top: 72px; transform: rotate(-72deg) scale(.7); }
.leaf-c { left: 50px; bottom: 102px; transform: rotate(135deg) scale(.82); background: var(--attarof-saffron); }
.floating-note { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.8); border-radius: 15px; background: rgba(255,253,248,.92); box-shadow: 0 12px 35px rgba(31,61,49,.12); font-size: .76rem; font-weight: 800; backdrop-filter: blur(8px); }
.floating-note::before { content: "✦"; color: var(--attarof-saffron); font-size: 1rem; }
.note-one { right: -18px; top: 55px; }
.note-two { left: -12px; bottom: 65px; }

.benefits { padding: 0 0 72px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--attarof-line); border-radius: 22px; background: var(--attarof-paper); box-shadow: 0 12px 35px rgba(31,61,49,.05); }
.benefit { display: flex; align-items: center; gap: 12px; padding: 21px 22px; }
.benefit + .benefit { border-right: 1px solid var(--attarof-line); }
.benefit-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; background: var(--attarof-green-100); color: var(--attarof-green-800); font-size: 1.1rem; }
.benefit strong { display: block; font-size: .84rem; }
.benefit small { display: block; color: var(--attarof-muted); font-size: .69rem; }

.section { padding: 76px 0; }
.section-light { background: var(--attarof-paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2 { margin: 8px 0 0; color: var(--attarof-green-950); font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.35; }
.section-heading p { max-width: 570px; margin: 8px 0 0; color: var(--attarof-muted); font-size: .88rem; }
.text-link { color: var(--attarof-green-650); font-size: .83rem; font-weight: 900; white-space: nowrap; }

.category-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card { position: relative; min-height: 195px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; padding: 24px; border-radius: var(--attarof-radius); background: var(--card-bg, #e8efe5); transition: transform .25s ease, box-shadow .25s ease; }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--attarof-shadow); }
.category-card::before { content: ""; position: absolute; width: 180px; height: 180px; top: -72px; left: -35px; border-radius: 50%; background: rgba(255,255,255,.32); }
.category-card::after { content: attr(data-icon); position: absolute; left: 25px; top: 20px; color: rgba(31,70,53,.54); font-size: 3.4rem; }
.category-card h3 { margin: 0; color: var(--attarof-green-950); font-size: 1.15rem; }
.category-card p { margin: 5px 0 0; color: #65746c; font-size: .76rem; }
.category-cards--dynamic {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.category-card--dynamic {
  min-height: 230px;
  padding: 23px;
}
.category-card--dynamic::after {
  z-index: 1;
  left: 22px;
  top: 18px;
  font-size: 3rem;
}
.category-card__content {
  position: relative;
  z-index: 2;
  display: block;
}
.category-card--dynamic h3 {
  font-size: 1.28rem;
  line-height: 1.5;
}
.category-card--dynamic p {
  min-height: 3.35em;
  font-size: .96rem;
  line-height: 1.75;
}
.category-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid rgba(23,55,45,.1);
  color: #35584a;
  font-size: .88rem;
  font-weight: 900;
}
.category-card__meta b {
  font-size: 1.15rem;
  transition: transform .2s ease;
}
.category-card--dynamic:hover .category-card__meta b {
  transform: translateX(-4px);
}
.category-card__image {
  position: absolute;
  z-index: 1;
  width: 82px;
  height: 82px;
  top: 16px;
  left: 17px;
  object-fit: cover;
  border: 5px solid rgba(255,255,255,.62);
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(31,70,53,.1);
}
.category-card--dynamic.has-image::after {
  display: none;
}

@media (max-width: 1120px) {
  .category-cards--dynamic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .category-cards--dynamic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .category-cards--dynamic { grid-template-columns: 1fr; }
  .category-card--dynamic { min-height: 205px; }
  .category-card--dynamic p { min-height: 0; }
}

.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; overflow: hidden; padding: 12px 12px 18px; border: 1px solid var(--attarof-line); border-radius: 22px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--attarof-shadow); }
.woocommerce ul.products li.product a img { aspect-ratio: 1 / 1; object-fit: cover; margin: 0 0 15px; border-radius: 16px; background: #eef2eb; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 5px; color: var(--attarof-green-950); font-size: .93rem; }
.woocommerce ul.products li.product .price { padding: 0 5px; color: var(--attarof-green-650); font-size: .9rem; font-weight: 900; }
.woocommerce ul.products li.product .button { width: calc(100% - 10px); margin: 12px 5px 0; padding: 11px 14px; border-radius: 12px; background: var(--attarof-green-800); color: #fff; text-align: center; font-size: .78rem; }
.woocommerce span.onsale { min-width: auto; min-height: auto; top: 22px; right: 22px; left: auto; padding: 5px 10px; border-radius: 999px; background: var(--attarof-saffron); line-height: 1.4; }

.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.story-art { position: relative; min-height: 360px; overflow: hidden; border-radius: 34px 34px 12px 34px; background: linear-gradient(145deg, #2f604c, #17372d); }
.story-art::before { content: "عطاروف"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.08); font-size: clamp(4rem, 10vw, 8rem); font-weight: 900; transform: rotate(-8deg); }
.story-art::after { content: "☘"; position: absolute; left: 48px; bottom: 24px; color: #e8c98e; font-size: 9rem; transform: rotate(-18deg); }
.story-copy h2 { margin: 12px 0 18px; color: var(--attarof-green-950); font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1.45; }
.story-copy p { color: var(--attarof-muted); }
.story-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0 30px; padding: 0; list-style: none; }
.story-list li { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; }
.story-list li::before { content: "✓"; color: var(--attarof-green-650); font-weight: 900; }

.newsletter { padding: 28px 0 80px; }
.newsletter-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 36px; padding: 38px 42px; border-radius: 28px; background: var(--attarof-green-950); color: #fff; }
.newsletter h2 { margin: 0 0 7px; font-size: 1.55rem; }
.newsletter p { margin: 0; color: rgba(255,255,255,.7); font-size: .84rem; }
.newsletter .btn { background: var(--attarof-saffron); color: #fff; }

.site-footer { padding: 58px 0 24px; background: #122d25; color: rgba(255,255,255,.75); }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, .65fr); gap: 45px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { max-width: 320px; color: rgba(255,255,255,.55); font-size: .8rem; }
.footer-title { margin: 5px 0 16px; color: #fff; font-size: .88rem; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 7px 0; font-size: .76rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); font-size: .7rem; }

.page-shell { min-height: 50vh; padding: 56px 0 80px; }
.page-title { margin: 0 0 30px; color: var(--attarof-green-950); font-size: clamp(2rem, 4vw, 3.2rem); }
.attarof-content { max-width: 900px; margin-inline: auto; color: var(--attarof-ink); }
.attarof-content h2 { margin: 42px 0 12px; color: var(--attarof-green-950); font-size: 1.45rem; }
.attarof-content p, .attarof-content li { color: var(--attarof-muted); }
.attarof-lead { margin: -10px 0 34px; color: var(--attarof-green-800) !important; font-size: 1.08rem; line-height: 2; }
.attarof-values, .attarof-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; }
.attarof-values > div, .attarof-info-card { padding: 24px; border: 1px solid var(--attarof-line); border-radius: 18px; background: var(--attarof-paper); }
.attarof-values strong, .attarof-info-card strong { display: block; margin-bottom: 7px; color: var(--attarof-green-950); }
.attarof-values p { margin: 0; font-size: .82rem; }
.attarof-contact-grid { grid-template-columns: repeat(2, 1fr); }
.attarof-info-card { display: flex; flex-direction: column; }
.attarof-info-card a, .attarof-info-card span { color: var(--attarof-green-650); font-weight: 800; }
.attarof-info-card small { margin-top: 6px; color: var(--attarof-muted); }
.attarof-notice { margin: 30px 0; padding: 18px 20px; border-right: 4px solid var(--attarof-saffron); border-radius: 12px; background: #fff6e6; color: #69563b; }
.attarof-faq details { margin: 12px 0; padding: 18px 20px; border: 1px solid var(--attarof-line); border-radius: 15px; background: var(--attarof-paper); }
.attarof-faq summary { cursor: pointer; color: var(--attarof-green-950); font-weight: 800; }
.attarof-faq details p { margin: 12px 0 0; }
.woocommerce .quantity .qty, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce select { padding: 12px; border: 1px solid var(--attarof-line); border-radius: 10px; background: #fff; }
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button { border-radius: 12px; background: var(--attarof-green-800); color: #fff; }

/* WooCommerce shop, product archive and single-product pages. */
.attarof-commerce { min-height: 60vh; padding: 34px 0 86px; }
.attarof-commerce .woocommerce-breadcrumb { margin: 0 0 24px; color: var(--attarof-muted); font-size: .78rem; }
.attarof-commerce .woocommerce-breadcrumb a { color: var(--attarof-green-650); }
.shop-hero { position: relative; overflow: hidden; margin-bottom: 34px; padding: 38px 44px; border: 1px solid #dce5da; border-radius: 28px; background: linear-gradient(135deg, #edf4eb 0%, #fff9ec 100%); }
.shop-hero::after { content: "☘"; position: absolute; left: -30px; bottom: -75px; color: rgba(40,87,68,.08); font-size: 15rem; transform: rotate(-20deg); }
.shop-hero-copy, .shop-search { position: relative; z-index: 1; }
.shop-hero-copy { width: 100%; max-width: none; }
.shop-hero h1 { margin: 14px 0 8px; color: var(--attarof-green-950); font-size: clamp(2.1rem, 4vw, 3.65rem); line-height: 1.3; }
.shop-hero p { max-width: none; margin: 0; color: var(--attarof-muted); }
.shop-hero-intro { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.shop-hero-copy:has(.shop-hero-more[open]) .shop-hero-intro { display: none; }
.shop-hero-more { width: 100%; max-width: none; margin-top: 12px; color: var(--attarof-muted); }
.shop-hero-more[open] { margin-top: 18px; }
.shop-hero-more summary { width: fit-content; cursor: pointer; color: var(--attarof-green-800); font-weight: 900; }
.shop-hero-more p { margin-top: 8px; }
.shop-promises { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; color: var(--attarof-green-800); font-size: .74rem; font-weight: 800; }
.shop-promises span::before { content: "✓"; margin-left: 5px; color: var(--attarof-saffron); }
.shop-search { display: grid; grid-template-columns: auto minmax(280px, 560px); align-items: center; gap: 10px 14px; width: min(100%, 760px); margin-top: 22px; padding: 12px; border: 1px solid rgba(40,87,68,.12); border-radius: 18px; background: rgba(255,255,255,.82); box-shadow: 0 12px 30px rgba(39,73,60,.06); }
.shop-search strong { display: block; color: var(--attarof-green-950); white-space: nowrap; }
.shop-search form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.shop-search .search-field { width: 100%; min-width: 0; padding: 13px 15px; border: 1px solid var(--attarof-line); border-radius: 12px; background: #fff; font: inherit; }
.shop-search button { padding: 10px 17px; border: 0; border-radius: 12px; background: var(--attarof-green-800); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.shop-search small { grid-column: 2; display: block; color: var(--attarof-muted); font-size: .68rem; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 24px; padding: 14px 17px; border: 1px solid var(--attarof-line); border-radius: 15px; background: var(--attarof-paper); }
.shop-toolbar::after { content: ""; display: table; clear: both; }
.shop-toolbar .woocommerce-notices-wrapper { width: 100%; }
.shop-toolbar .woocommerce-result-count, .shop-toolbar .woocommerce-ordering { float: none; margin: 0; }
.shop-toolbar .woocommerce-result-count { color: var(--attarof-muted); font-size: .77rem; }
.shop-toolbar .woocommerce-ordering select { min-width: 185px; padding: 10px 12px; border: 1px solid var(--attarof-line); border-radius: 10px; background: #fff; color: var(--attarof-ink); font: inherit; }
.woocommerce ul.products li.product .woocommerce-placeholder { aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 15px; border-radius: 16px; background: linear-gradient(145deg, #edf3ea, #dce8dc); }
.woocommerce nav.woocommerce-pagination { margin-top: 34px; }
.woocommerce nav.woocommerce-pagination ul { overflow: visible; border: 0; }
.woocommerce nav.woocommerce-pagination ul li { margin: 0 3px; border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--attarof-line); border-radius: 11px; background: #fff; }
.woocommerce nav.woocommerce-pagination ul li span.current { border-color: var(--attarof-green-800); background: var(--attarof-green-800); color: #fff; }

.back-to-shop { display: inline-flex; margin-bottom: 22px; color: var(--attarof-green-650); font-size: .8rem; font-weight: 800; }
.attarof-single-product > .product { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 34px 58px; }
.attarof-single-product .woocommerce-product-gallery, .attarof-single-product .summary { float: none !important; width: auto !important; margin: 0 !important; }
.attarof-single-product .woocommerce-product-gallery { align-self: start; padding: 15px; border: 1px solid var(--attarof-line); border-radius: 26px; background: var(--attarof-paper); box-shadow: 0 15px 45px rgba(31,61,49,.07); }
.attarof-single-product .woocommerce-product-gallery__wrapper { overflow: hidden; border-radius: 18px; }
.attarof-single-product .woocommerce-product-gallery img { border-radius: 18px; background: linear-gradient(145deg, #edf3ea, #dce8dc); }
.attarof-single-product .summary { align-self: center; padding: 18px 0; }
.attarof-single-product .product_title { margin: 0 0 15px; color: var(--attarof-green-950); font-size: clamp(2.1rem, 4vw, 3.25rem); line-height: 1.35; }
.attarof-single-product .woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.attarof-single-product .price { margin: 8px 0 19px; color: var(--attarof-green-650) !important; font-size: 1.55rem !important; font-weight: 900; }
.product-price-placeholder { margin: 8px 0 19px; padding: 12px 15px; border-radius: 12px; background: #fff6e4; color: #7d6137; font-size: .82rem; font-weight: 800; }
.attarof-single-product .woocommerce-product-details__short-description { margin: 0 0 20px; color: var(--attarof-muted); }
.attarof-single-product form.cart { display: flex; align-items: stretch; gap: 9px; margin: 22px 0 !important; }
.attarof-single-product form.cart .quantity { margin: 0 !important; }
.attarof-single-product .quantity .qty { height: 50px; }
.attarof-single-product .single_add_to_cart_button { min-height: 50px; padding: 10px 25px !important; background: var(--attarof-green-800) !important; color: #fff !important; }
.product-assurances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 22px 0; }
.product-assurances span { padding: 11px 9px; border: 1px solid var(--attarof-line); border-radius: 12px; background: var(--attarof-paper); color: var(--attarof-muted); text-align: center; font-size: .68rem; }
.product-assurances b { color: var(--attarof-green-650); }
.attarof-single-product .product_meta { padding-top: 16px; border-top: 1px solid var(--attarof-line); color: var(--attarof-muted); font-size: .74rem; }
.attarof-single-product .product_meta > span { display: block; margin: 5px 0; }
.attarof-single-product .woocommerce-tabs, .attarof-single-product .related, .attarof-single-product .upsells { grid-column: 1 / -1; float: none !important; width: 100% !important; }
.attarof-single-product .woocommerce-tabs { margin-top: 20px; padding: 30px; border: 1px solid var(--attarof-line); border-radius: 23px; background: var(--attarof-paper); }
.attarof-single-product .woocommerce-tabs ul.tabs { display: flex; gap: 8px; margin: 0 0 24px !important; padding: 0 !important; }
.attarof-single-product .woocommerce-tabs ul.tabs::before, .attarof-single-product .woocommerce-tabs ul.tabs li::before, .attarof-single-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.attarof-single-product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 11px !important; background: var(--attarof-green-100) !important; }
.attarof-single-product .woocommerce-tabs ul.tabs li a { padding: 9px 17px !important; color: var(--attarof-green-800) !important; }
.attarof-single-product .woocommerce-tabs ul.tabs li.active { background: var(--attarof-green-800) !important; }
.attarof-single-product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.attarof-single-product .related, .attarof-single-product .upsells { margin-top: 45px; }
.attarof-single-product .related > h2, .attarof-single-product .upsells > h2 { margin-bottom: 24px; color: var(--attarof-green-950); font-size: 1.8rem; }
.attarof-single-product .related ul.products li.product,
.attarof-single-product .upsells ul.products li.product {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.attarof-single-product .related ul.products li.product .woocommerce-loop-product__link,
.attarof-single-product .upsells ul.products li.product .woocommerce-loop-product__link {
  display: block;
  width: 100%;
}
.attarof-single-product .related ul.products li.product img,
.attarof-single-product .upsells ul.products li.product img {
  width: 100%;
}
.attarof-single-product .related ul.products li.product .price,
.attarof-single-product .upsells ul.products li.product .price {
  display: block;
  margin-top: 10px;
}
.attarof-single-product .related ul.products li.product .button,
.attarof-single-product .upsells ul.products li.product .button {
  display: flex;
  width: calc(100% - 10px);
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  white-space: normal;
}
.attarof-single-product .woocommerce-Tabs-panel > h2:first-child { display: none; }
.attarof-product-specs {
  max-width: 920px;
  color: var(--attarof-ink);
}
.attarof-product-specs p {
  margin: 0;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(40,87,68,.09);
  line-height: 1.9;
}
.attarof-product-specs p:nth-child(odd) {
  background: rgba(232,240,233,.42);
}
.attarof-product-specs p:first-child {
  border-radius: 14px 14px 0 0;
}
.attarof-product-specs p:last-child {
  border-bottom: 0;
  border-radius: 0 0 14px 14px;
}
.attarof-product-specs strong {
  display: inline-block;
  min-width: 125px;
  margin-left: 8px;
  color: var(--attarof-green-950);
  font-family: var(--attarof-font-heading);
  font-size: 1.02rem;
}
.woocommerce-error, .woocommerce-info, .woocommerce-message { border-top-color: var(--attarof-green-650); border-radius: 13px; background: var(--attarof-paper); }
.woocommerce-info::before, .woocommerce-message::before { color: var(--attarof-green-650); }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .primary-nav { display: none; grid-column: 1 / -1; }
  .primary-nav.is-open { display: block; padding-bottom: 20px; }
  .primary-nav ul { flex-direction: column; gap: 12px; }
  .menu-toggle { display: inline-flex; }
  .header-actions .account-link { display: none; }
  .hero-grid, .story-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { min-height: 440px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(3) { border-right: 0; border-top: 1px solid var(--attarof-line); }
  .benefit:nth-child(4) { border-top: 1px solid var(--attarof-line); }
  .category-cards { grid-template-columns: repeat(2, 1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-hero { padding: 34px 28px; }
  .shop-search { grid-template-columns: 1fr; width: 100%; }
  .shop-search small { grid-column: auto; }
  .attarof-single-product > .product { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 26px, 1180px); }
  .announcement { font-size: .7rem; }
  .header-inner { min-height: 70px; }
  .brand-tagline { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.2rem; }
  .brand-logo { width: 42px; height: 42px; }
  .hero { padding-top: 48px; }
  .hero h1 { max-width: 100%; font-size: clamp(2rem, 10vw, 2.35rem); letter-spacing: -.035em; }
  .hero h1 span { white-space: normal; }
  .hero-copy > p { font-size: .91rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .hero-actions .btn { min-width: 0; padding-inline: 12px; font-size: .8rem; }
  .hero-visual { min-height: 350px; }
  .botanical-card { width: 340px; max-width: 100%; }
  .jar { transform: scale(.8); transform-origin: bottom; }
  .jar-one { right: 34px; }
  .jar-two { right: 120px; }
  .jar-three { right: 200px; }
  .note-one { right: 2px; }
  .note-two { left: 2px; }
  .benefit-grid, .category-cards, .story-list, .newsletter-box, .footer-grid { grid-template-columns: 1fr; }
  .benefit + .benefit { border-right: 0; border-top: 1px solid var(--attarof-line); }
  .section { padding: 58px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .category-card { min-height: 170px; }
  .woocommerce ul.products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .woocommerce ul.products li.product { padding: 8px 8px 14px; border-radius: 17px; }
  .newsletter-box { padding: 28px 24px; }
  .footer-bottom { flex-direction: column; }
  .attarof-values, .attarof-contact-grid { grid-template-columns: 1fr; }
  .attarof-commerce { padding-top: 22px; }
  .shop-hero { padding: 28px 22px; border-radius: 22px; }
  .shop-hero h1 { font-size: 2.2rem; }
  .shop-search { padding: 18px; }
  .shop-search form { grid-template-columns: 1fr; }
  .shop-toolbar { align-items: stretch; flex-direction: column; }
  .shop-toolbar .woocommerce-ordering select { width: 100%; }
  .attarof-single-product > .product { gap: 22px; }
  .attarof-single-product .woocommerce-product-gallery { padding: 10px; border-radius: 19px; }
  .attarof-single-product .product_title { font-size: 2.25rem; }
  .product-assurances { grid-template-columns: 1fr; }
  .attarof-single-product .woocommerce-tabs { padding: 20px 16px; }
  .attarof-single-product .woocommerce-tabs ul.tabs { overflow-x: auto; }
}

/* Dedicated herbal product advisor page */
.advisor-page-shell {
  position: relative;
  overflow: hidden;
  padding: 28px 0 90px;
  background:
    radial-gradient(circle at 92% 3%, rgba(217,150,50,.16), transparent 24%),
    radial-gradient(circle at 5% 31%, rgba(47,104,79,.12), transparent 25%),
    var(--attarof-cream);
}
.advisor-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: #43564c;
  font-size: .95rem;
}
.advisor-breadcrumb a {
  color: var(--attarof-green-650);
  font-weight: 800;
}
.advisor-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: center;
  gap: 58px;
  overflow: hidden;
  padding: 52px 56px;
  border: 1px solid rgba(32,79,60,.13);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255,254,250,.94), rgba(235,244,234,.9));
  box-shadow: 0 26px 70px rgba(20,54,42,.09);
}
.advisor-hero::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  left: -150px;
  bottom: -190px;
  border-radius: 50%;
  background: rgba(217,150,50,.13);
}
.advisor-hero__copy,
.advisor-hero__visual {
  position: relative;
  z-index: 1;
}
.advisor-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid rgba(47,104,79,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: var(--attarof-green-800);
  font-size: .94rem;
  font-weight: 900;
}
.advisor-eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #39a06e;
  box-shadow: 0 0 0 5px rgba(57,160,110,.13);
}
.advisor-hero h1 {
  max-width: 760px;
  margin: 18px 0 15px;
  font-size: clamp(2.65rem, 5vw, 4.7rem);
  line-height: 1.3;
}
.advisor-hero h1 span {
  color: var(--attarof-green-650);
}
.advisor-hero__lead {
  max-width: 65ch;
  margin: 0;
  color: var(--attarof-muted);
  font-size: 1.2rem;
  line-height: 2;
}
.advisor-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 25px;
}
.advisor-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  color: #365047;
  font-size: .94rem;
  font-weight: 800;
}
.advisor-hero__trust span::before {
  content: "✓";
  margin-left: 6px;
  color: var(--attarof-green-650);
}
.advisor-hero__visual {
  min-height: 390px;
  display: grid;
  place-items: center;
}
.advisor-orb {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 48% 48% 19% 48%;
  background: linear-gradient(145deg, #d9ead9, #9fc4aa);
  box-shadow: 0 24px 65px rgba(32,79,60,.18);
}
.advisor-orb__core {
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  border: 8px solid rgba(255,255,255,.55);
  border-radius: 42px;
  background: linear-gradient(145deg, var(--attarof-green-950), var(--attarof-green-650));
  color: #fff;
  font-family: var(--attarof-font-heading);
  font-size: 2rem;
  box-shadow: 0 20px 42px rgba(16,46,36,.24);
  transform: rotate(-4deg);
}
.advisor-orb__core span {
  transform: rotate(4deg);
}
.advisor-orb__leaf {
  position: absolute;
  width: 86px;
  height: 34px;
  border-radius: 100% 0 100% 0;
  background: var(--attarof-green-800);
  opacity: .88;
}
.advisor-orb__leaf--one { top: 56px; right: 35px; transform: rotate(-33deg); }
.advisor-orb__leaf--two { bottom: 62px; left: 24px; background: var(--attarof-saffron); transform: rotate(142deg); }
.advisor-mini-prompt {
  position: absolute;
  max-width: 190px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 14px;
  background: rgba(255,254,250,.93);
  color: #30473d;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.7;
  box-shadow: 0 14px 35px rgba(20,54,42,.12);
  backdrop-filter: blur(12px);
}
.advisor-mini-prompt--one { top: 38px; left: -24px; }
.advisor-mini-prompt--two { right: -12px; bottom: 42px; }
.advisor-disclosure {
  display: flex;
  gap: 12px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(142,96,28,.16);
  border-radius: 15px;
  background: #fff7e7;
  color: #634d2d;
  font-size: .94rem;
  line-height: 1.8;
}
.advisor-disclosure strong { color: #5a421f; }
.advisor-chat-section {
  padding: 74px 0 30px;
}
.advisor-section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}
.advisor-section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.advisor-section-heading p {
  margin: 0;
  color: var(--attarof-muted);
  font-size: 1.08rem;
}
.advisor-chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  align-items: start;
  gap: 24px;
}
.advisor-chat-card {
  padding: 18px;
  border: 1px solid rgba(32,79,60,.12);
  border-radius: 28px;
  background: rgba(255,253,248,.75);
  box-shadow: 0 24px 65px rgba(20,54,42,.1);
}
.advisor-chat-guide {
  position: sticky;
  top: 110px;
  padding: 22px;
  border: 1px solid rgba(32,79,60,.12);
  border-radius: 23px;
  background: rgba(255,254,250,.88);
  box-shadow: 0 18px 46px rgba(20,54,42,.075);
}
.advisor-chat-guide h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}
.advisor-chat-guide > p {
  margin: 0 0 16px;
  color: var(--attarof-muted);
  font-size: .96rem;
}
.advisor-prompt-list {
  display: grid;
  gap: 9px;
}
.advisor-prompt {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(32,79,60,.12);
  border-radius: 12px;
  background: #f2f7f0;
  color: #29473a;
  font-family: var(--attarof-font-body);
  font-size: .94rem;
  font-weight: 800;
  line-height: 1.65;
  text-align: right;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.advisor-prompt:hover {
  border-color: rgba(47,104,79,.38);
  background: #e7f1e5;
  transform: translateX(-2px);
}
.advisor-guide-note {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--attarof-line);
  color: #5e4a2e;
  font-size: .88rem;
  line-height: 1.75;
}
.advisor-content-section {
  padding: 62px 0 10px;
}
.advisor-feature-grid,
.advisor-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.advisor-feature-card,
.advisor-category-card {
  padding: 24px;
  border: 1px solid rgba(32,79,60,.11);
  border-radius: 21px;
  background: rgba(255,254,250,.82);
  box-shadow: 0 12px 35px rgba(20,54,42,.055);
}
.advisor-feature-card__number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 13px;
  background: var(--attarof-green-100);
  color: var(--attarof-green-800);
  font-weight: 900;
}
.advisor-feature-card h3,
.advisor-category-card h3 {
  margin: 0 0 7px;
  font-size: 1.28rem;
}
.advisor-feature-card p,
.advisor-category-card p {
  margin: 0;
  color: var(--attarof-muted);
  font-size: 1rem;
  line-height: 1.9;
}
.advisor-category-grid {
  margin-top: 18px;
}
.advisor-category-card {
  min-height: 190px;
  background: linear-gradient(145deg, rgba(238,246,236,.92), rgba(255,250,239,.9));
}
.advisor-category-card span {
  display: inline-grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 13px;
  border-radius: 14px;
  background: #fff;
  color: var(--attarof-green-650);
  font-size: 1.25rem;
  box-shadow: 0 8px 22px rgba(20,54,42,.07);
}
.advisor-safety {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  margin: 62px 0;
  padding: 25px 28px;
  border: 1px solid rgba(142,96,28,.17);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff8e9, #fffdf8);
  color: #5c492e;
}
.advisor-safety__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #f3dfb6;
  color: #71501f;
  font-size: 1.25rem;
  font-weight: 900;
}
.advisor-safety h2 {
  margin: 0 0 5px;
  color: #523e22;
  font-size: 1.5rem;
}
.advisor-safety p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.95;
}
.advisor-faq {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0 62px;
}
.advisor-faq > h2 {
  margin: 0 0 22px;
  text-align: center;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}
.advisor-faq details {
  margin: 10px 0;
  padding: 17px 20px;
  border: 1px solid rgba(32,79,60,.12);
  border-radius: 16px;
  background: rgba(255,254,250,.84);
}
.advisor-faq summary {
  cursor: pointer;
  color: var(--attarof-green-950);
  font-family: var(--attarof-font-heading);
  font-size: 1.14rem;
  font-weight: 900;
}
.advisor-faq details p {
  margin: 12px 0 0;
  color: var(--attarof-muted);
  font-size: 1rem;
  line-height: 1.95;
}
.advisor-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 36px;
  border-radius: 26px;
  background: var(--attarof-green-950);
  color: #fff;
}
.advisor-final-cta h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 1.7rem;
}
.advisor-final-cta p {
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 1rem;
}
.advisor-final-cta .btn {
  flex: 0 0 auto;
  background: var(--attarof-saffron);
  color: #fff;
}

@media (max-width: 980px) {
  .advisor-hero {
    grid-template-columns: 1fr;
    padding: 42px;
  }
  .advisor-hero__visual { min-height: 340px; }
  .advisor-chat-layout { grid-template-columns: 1fr; }
  .advisor-chat-guide { position: static; }
  .advisor-prompt-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .advisor-page-shell { padding-top: 18px; }
  .advisor-breadcrumb { font-size: .88rem; }
  .advisor-hero {
    gap: 25px;
    padding: 28px 21px;
    border-radius: 24px;
  }
  .advisor-hero h1 { font-size: clamp(2.25rem, 11vw, 3rem); }
  .advisor-hero__lead { font-size: 1.06rem; }
  .advisor-hero__actions { display: grid; }
  .advisor-hero__actions .btn { width: 100%; }
  .advisor-hero__trust { display: grid; gap: 7px; }
  .advisor-hero__visual { min-height: 285px; }
  .advisor-orb { width: 280px; }
  .advisor-orb__core { width: 110px; height: 110px; border-radius: 32px; font-size: 1.6rem; }
  .advisor-mini-prompt { max-width: 150px; font-size: .78rem; }
  .advisor-mini-prompt--one { left: -3px; top: 15px; }
  .advisor-mini-prompt--two { right: -2px; bottom: 18px; }
  .advisor-chat-section { padding-top: 52px; }
  .advisor-chat-card { padding: 8px; border-radius: 21px; }
  .advisor-prompt-list { grid-template-columns: 1fr; }
  .advisor-feature-grid,
  .advisor-category-grid { grid-template-columns: 1fr; }
  .advisor-content-section { padding-top: 48px; }
  .advisor-safety { grid-template-columns: 1fr; margin-block: 44px; padding: 21px; }
  .advisor-final-cta { align-items: stretch; flex-direction: column; padding: 26px 22px; }
  .advisor-final-cta .btn { width: 100%; }
}

/* Readability pass: larger Persian copy across the storefront. */
body { font-size: 1.0625rem; line-height: 1.9; }
.announcement { font-size: .95rem; }
.brand-tagline { font-size: .82rem; }
.primary-nav a { font-size: 1rem; }
.eyebrow { font-size: .9rem; }
.hero-copy > p { font-size: 1.12rem; }
.btn { font-size: 1rem; }
.hero-trust { font-size: .9rem; }
.benefit strong { font-size: .96rem; }
.benefit small { font-size: .84rem; }
.section-heading p { font-size: 1rem; }
.text-link { font-size: .95rem; }
.category-card h3 { font-size: 1.25rem; }
.category-card p { font-size: .9rem; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.08rem; }
.woocommerce ul.products li.product .price { font-size: 1.03rem; }
.woocommerce ul.products li.product .button { font-size: .94rem; }
.story-list li { font-size: .95rem; }
.newsletter p { font-size: .97rem; }
.footer-brand p { font-size: .95rem; }
.footer-title { font-size: 1.02rem; }
.footer-links li { font-size: .9rem; }
.footer-bottom { font-size: .82rem; }
.attarof-values p { font-size: .95rem; }
.attarof-commerce .woocommerce-breadcrumb { font-size: .9rem; }
.shop-promises { font-size: .88rem; }
.shop-search small { font-size: .82rem; }
.shop-toolbar .woocommerce-result-count { font-size: .9rem; }
.back-to-shop { font-size: .92rem; }
.product-price-placeholder { font-size: .96rem; }
.product-assurances span { font-size: .84rem; }
.attarof-single-product .product_meta { font-size: .9rem; }

@media (max-width: 620px) {
  .announcement { font-size: .82rem; }
  .hero-copy > p { font-size: 1rem; }
  .hero-actions .btn { font-size: .92rem; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1rem; }
  .woocommerce ul.products li.product .price { font-size: .96rem; }
  .woocommerce ul.products li.product .button { font-size: .88rem; }
}

/* WooCommerce cart */
body.woocommerce-cart .page-shell {
  position: relative;
  overflow: hidden;
  padding: 48px 0 82px;
  background:
    radial-gradient(circle at 92% 4%, rgba(217,150,50,.13), transparent 28%),
    radial-gradient(circle at 8% 84%, rgba(63,118,93,.10), transparent 30%);
}
body.woocommerce-cart .page-title {
  margin-bottom: 24px;
  font-size: clamp(2.15rem, 4vw, 3.25rem);
}
body.woocommerce-cart .woocommerce {
  color: var(--attarof-ink);
}
.attarof-cart-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(40,87,68,.12);
  border-radius: 18px;
  background: rgba(255,253,248,.72);
  box-shadow: 0 12px 34px rgba(31,61,49,.06);
  backdrop-filter: blur(16px);
}
.attarof-cart-intro__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--attarof-green-100), #d5e5d7);
  color: var(--attarof-green-800);
  font-size: 1.35rem;
}
.attarof-cart-intro strong {
  display: block;
  color: var(--attarof-green-950);
  font-family: var(--attarof-font-heading);
  font-size: 1.2rem;
}
.attarof-cart-intro p {
  margin: 2px 0 0;
  color: var(--attarof-muted);
  font-size: .95rem;
}
body.woocommerce-cart .woocommerce-cart-form {
  float: right;
  width: calc(65% - 16px);
}
body.woocommerce-cart .cart-collaterals {
  float: left;
  width: calc(35% - 16px);
}
body.woocommerce-cart .cart-collaterals::before,
body.woocommerce-cart .cart-collaterals::after {
  display: none;
}
body.woocommerce-cart .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
}
body.woocommerce-cart table.shop_table {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(40,87,68,.12);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 23px;
  background: rgba(255,253,248,.78);
  box-shadow: 0 18px 48px rgba(31,61,49,.08);
  backdrop-filter: blur(18px);
}
body.woocommerce-cart table.shop_table th {
  padding: 16px 14px;
  border: 0;
  border-bottom: 1px solid rgba(40,87,68,.10);
  background: rgba(232,240,233,.58);
  color: var(--attarof-green-950);
  font-family: var(--attarof-font-heading);
  font-size: 1.05rem;
}
body.woocommerce-cart table.shop_table td {
  padding: 18px 14px;
  border-color: rgba(40,87,68,.08);
  background: transparent;
  vertical-align: middle;
}
body.woocommerce-cart td.product-thumbnail {
  width: 94px;
}
body.woocommerce-cart td.product-thumbnail img {
  width: 76px;
  border: 1px solid var(--attarof-line);
  border-radius: 15px;
  background: linear-gradient(145deg, #edf3ea, #fff8e9);
}
body.woocommerce-cart td.product-name a {
  color: var(--attarof-green-950);
  font-family: var(--attarof-font-heading);
  font-size: 1.08rem;
}
body.woocommerce-cart td.product-price,
body.woocommerce-cart td.product-subtotal {
  color: var(--attarof-green-650);
  font-weight: 900;
}
body.woocommerce-cart a.remove {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(165,76,60,.13);
  border-radius: 11px;
  background: rgba(255,246,244,.8);
  color: #a54c3c !important;
  font-size: 1.35rem;
  line-height: 1;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
body.woocommerce-cart a.remove:hover {
  background: #a54c3c;
  color: #fff !important;
  transform: rotate(5deg);
}
body.woocommerce-cart .quantity .qty {
  width: 72px;
  height: 46px;
  border: 1px solid var(--attarof-line);
  border-radius: 12px;
  background: rgba(255,255,255,.78);
  color: var(--attarof-ink);
  font: inherit;
  text-align: center;
}
body.woocommerce-cart td.actions {
  padding: 15px !important;
  background: rgba(250,247,239,.55) !important;
}
body.woocommerce-cart .coupon {
  display: flex;
  gap: 8px;
}
body.woocommerce-cart .coupon .input-text {
  width: 170px !important;
  min-height: 46px;
  padding: 8px 13px !important;
  border: 1px solid var(--attarof-line) !important;
  border-radius: 12px;
  background: rgba(255,255,255,.78);
  font: inherit;
}
body.woocommerce-cart button.button,
body.woocommerce-cart a.button,
body.woocommerce-cart .wc-block-components-button {
  min-height: 46px;
  padding: 10px 18px !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: var(--attarof-green-800) !important;
  color: #fff !important;
  font-family: var(--attarof-font-body) !important;
  font-size: .95rem !important;
  font-weight: 900 !important;
  line-height: 1.5 !important;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
body.woocommerce-cart button.button:hover,
body.woocommerce-cart a.button:hover,
body.woocommerce-cart .wc-block-components-button:hover {
  background: var(--attarof-green-950) !important;
  box-shadow: 0 12px 26px rgba(40,87,68,.18);
  transform: translateY(-1px);
}
body.woocommerce-cart button.button:disabled {
  opacity: .55;
}
body.woocommerce-cart .cart_totals {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 23px;
  background:
    radial-gradient(circle at 92% 0, rgba(217,150,50,.11), transparent 31%),
    linear-gradient(145deg, rgba(255,253,248,.88), rgba(238,245,236,.72));
  box-shadow: 0 20px 55px rgba(31,61,49,.11);
  backdrop-filter: blur(20px);
}
body.woocommerce-cart .cart_totals h2 {
  margin: 0 0 18px;
  color: var(--attarof-green-950);
  font-size: 1.55rem;
}
body.woocommerce-cart .cart_totals table.shop_table {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
  padding: 13px 4px;
  border: 0;
  border-bottom: 1px solid rgba(40,87,68,.09);
  background: transparent;
  font-family: var(--attarof-font-body);
  font-size: .96rem;
}
body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
  color: var(--attarof-green-950);
  font-size: 1.08rem;
}
body.woocommerce-cart .wc-proceed-to-checkout {
  padding: 18px 0 0;
}
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  width: 100%;
  min-height: 54px;
  margin: 0;
  background: linear-gradient(135deg, var(--attarof-green-800), var(--attarof-green-650)) !important;
  font-size: 1.05rem !important;
}
.attarof-cart-assurances {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}
.attarof-cart-assurances span {
  padding: 9px 11px;
  border: 1px solid rgba(40,87,68,.09);
  border-radius: 11px;
  background: rgba(255,255,255,.46);
  color: var(--attarof-muted);
  font-size: .85rem;
}
.attarof-cart-assurances b {
  margin-left: 5px;
  color: var(--attarof-green-650);
}
body.woocommerce-cart .cross-sells {
  clear: both;
  width: 100%;
  padding-top: 50px;
}
body.woocommerce-cart .cross-sells > h2 {
  color: var(--attarof-green-950);
  font-size: 1.75rem;
}
body.woocommerce-cart .woocommerce-notices-wrapper {
  clear: both;
}
body.woocommerce-cart .cart-empty {
  position: relative;
  max-width: 680px;
  margin: 18px auto 0;
  padding: 110px 30px 28px !important;
  border: 1px solid rgba(40,87,68,.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 25%, rgba(217,150,50,.13), transparent 28%),
    rgba(255,253,248,.78);
  color: var(--attarof-green-950);
  box-shadow: 0 22px 60px rgba(31,61,49,.09);
  text-align: center;
  backdrop-filter: blur(18px);
}
body.woocommerce-cart .cart-empty::before {
  content: "🛒";
  position: absolute;
  top: 28px;
  right: 50%;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-right: -31px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--attarof-green-100), #d6e6d8);
  font-size: 1.7rem;
}
body.woocommerce-cart .return-to-shop {
  margin: 18px 0 0;
  text-align: center;
}
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info {
  border-top-color: var(--attarof-green-650);
  border-radius: 15px;
  background: rgba(255,253,248,.82);
}
body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before {
  color: var(--attarof-green-650);
}

@media (max-width: 900px) {
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals {
    float: none;
    width: 100%;
  }
  body.woocommerce-cart .cart-collaterals {
    margin-top: 22px;
  }
}

/* Stable responsive header and mobile navigation */
.submenu-toggle {
  display: none;
}

.menu-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle {
  flex-direction: column;
  gap: 4px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 980px) {
  .site-header {
    overflow: visible;
  }

  .header-inner {
    position: relative;
    width: min(100% - 24px, 1180px);
    min-height: 72px;
    grid-template-columns: minmax(90px, 1fr) auto;
    gap: 10px;
  }

  .site-header .brand {
    min-width: 0;
    justify-self: end;
  }

  .site-header .brand-logo {
    width: auto;
    height: 50px;
    max-width: 150px;
  }

  .header-actions {
    min-width: 0;
    flex-wrap: nowrap;
    justify-self: start;
    gap: 6px;
  }

  .header-actions .account-link {
    display: inline-flex;
  }

  .header-actions .icon-link,
  .header-actions .advisor-action-link {
    flex: 0 0 42px;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 13px;
  }

  .advisor-action-link {
    justify-content: center;
  }

  .advisor-action-link span:not(.advisor-action-link__icon) {
    display: none;
  }

  .advisor-action-link__icon {
    width: 23px;
    height: 23px;
  }

  .cart-count {
    top: -7px;
    left: -6px;
    min-width: 20px;
    height: 20px;
    border-width: 2px;
    font-size: .66rem;
    line-height: 16px;
    transform: none;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 120;
    display: block;
    max-height: min(70dvh, 620px);
    padding: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(16, 46, 36, .12);
    border-radius: 18px;
    background: rgba(255, 253, 248, .99);
    box-shadow: 0 22px 55px rgba(16, 46, 36, .18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }

  .primary-nav.is-open {
    display: block;
    padding-bottom: 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav > ul,
  .primary-nav .menu {
    width: 100%;
    align-items: stretch;
    gap: 3px;
  }

  .primary-nav li {
    width: 100%;
  }

  .primary-nav a {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: .98rem;
    line-height: 1.7;
    text-align: right;
    white-space: normal;
  }

  .primary-nav a:hover,
  .primary-nav .current-menu-item > a,
  .primary-nav .current_page_item > a {
    background: var(--attarof-green-100);
  }

  .primary-nav a::after {
    display: none;
  }

  .primary-nav .menu-item-has-children {
    position: relative;
  }

  .primary-nav .menu-item-has-children > a {
    padding-left: 58px;
  }

  .submenu-toggle {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(16, 46, 36, .13);
    border-radius: 10px;
    background: #fff;
    color: var(--attarof-green-800);
    cursor: pointer;
  }

  .submenu-toggle svg {
    width: 17px;
    height: 17px;
    transition: transform .2s ease;
  }

  .menu-item-has-children.is-submenu-open > .submenu-toggle svg {
    transform: rotate(180deg);
  }

  .primary-nav .sub-menu,
  .primary-nav li:hover > .sub-menu,
  .primary-nav li:focus-within > .sub-menu {
    position: static;
    width: auto;
    min-width: 0;
    display: none;
    gap: 3px;
    margin: 3px 8px 7px;
    padding: 7px;
    border: 1px solid rgba(16, 46, 36, .08);
    border-radius: 13px;
    background: #f3f7f3;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-nav .menu-item-has-children.is-submenu-open > .sub-menu {
    display: grid;
  }

  .primary-nav .sub-menu a {
    min-height: 40px;
    justify-content: flex-start;
    padding: 7px 12px;
    font-size: .9rem;
  }

  body.attarof-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .announcement {
    min-height: 36px;
    padding: 7px 10px;
    font-size: .72rem;
    line-height: 1.7;
  }

  .header-inner {
    width: calc(100% - 16px);
    min-height: 64px;
    grid-template-columns: minmax(82px, 1fr) auto;
    gap: 6px;
  }

  .site-header .brand-logo {
    height: 42px;
    max-width: 112px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-actions .icon-link,
  .header-actions .advisor-action-link {
    flex-basis: 38px;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    border-radius: 12px;
  }

  .header-actions .icon-link svg {
    width: 19px;
    height: 19px;
  }

  .advisor-action-link__icon {
    width: 21px;
    height: 21px;
    font-size: .76rem;
  }

  .primary-nav {
    top: calc(100% + 6px);
    max-height: calc(100dvh - 118px);
    border-radius: 16px;
  }
}

/* Shop archive premium hero + unified search controls */
.attarof-commerce .woocommerce-breadcrumb {
  display: none;
}

.shop-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(330px, .72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  min-height: 520px;
  margin: 0 0 38px;
  padding: clamp(34px, 4.4vw, 62px);
  overflow: hidden;
  border: 1px solid rgba(16, 46, 36, .11);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 14%, rgba(203, 164, 100, .11), transparent 28%),
    linear-gradient(135deg, #fffdf8 0%, #fbf7ef 55%, #fffaf1 100%);
  box-shadow: 0 20px 58px rgba(16, 46, 36, .08);
}

.shop-hero::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: -1;
  height: 92px;
  background:
    linear-gradient(180deg, rgba(203, 164, 100, .9), rgba(203, 164, 100, .9)) 50% 28px / 100% 5px no-repeat,
    radial-gradient(120% 95px at 56% -22px, transparent 52%, #123d32 53%);
  opacity: .98;
}

.shop-hero::after {
  content: "";
  position: absolute;
  inset-inline-start: -72px;
  top: 36px;
  z-index: -1;
  width: 280px;
  height: 360px;
  opacity: .08;
  background:
    radial-gradient(ellipse at 50% 100%, transparent 45%, #4e5829 46% 48%, transparent 49%) 0 0 / 76px 92px,
    radial-gradient(ellipse at 50% 100%, transparent 45%, #4e5829 46% 48%, transparent 49%) 34px 48px / 76px 92px;
  transform: rotate(-18deg);
  pointer-events: none;
}

.shop-hero-copy,
.shop-hero-visual {
  position: relative;
  z-index: 1;
}

.shop-hero-copy {
  align-self: center;
  display: grid;
  justify-items: end;
  text-align: right;
}

.shop-hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 10px 16px 10px 18px;
  border: 1px solid rgba(203, 164, 100, .24);
  border-radius: 999px;
  background: rgba(255, 253, 248, .78);
  color: #9b7438;
  font-size: .92rem;
  font-weight: 900;
  box-shadow: 0 12px 36px rgba(16, 46, 36, .06);
  backdrop-filter: blur(12px);
}

.shop-hero-breadcrumb svg {
  order: -1;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: #f6f1e6;
  color: var(--attarof-green-800);
}

.shop-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--attarof-green-950);
  font-size: clamp(2.6rem, 4.7vw, 5rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.shop-hero p {
  max-width: 820px;
  margin: 22px 0 0;
  color: #4a5751;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 2;
}

.shop-hero-intro {
  display: block;
  overflow: visible;
  -webkit-line-clamp: initial;
  -webkit-box-orient: initial;
}

.shop-hero-more {
  justify-self: stretch;
  margin-top: 10px;
}

.shop-hero-more summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  padding: 8px 13px;
  border: 1px solid rgba(32, 79, 60, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .68);
  color: var(--attarof-green-800);
}

.shop-hero-more summary::before {
  content: "▼";
  color: var(--attarof-green-800);
  font-size: .68rem;
}

.shop-hero-visual {
  align-self: end;
  min-height: 410px;
}

.shop-hero-visual img {
  position: absolute;
  inset-inline-start: -68px;
  bottom: 20px;
  width: min(620px, 120%);
  max-width: none;
  filter: drop-shadow(0 20px 38px rgba(16, 46, 36, .14));
}

.shop-hero-quality {
  position: absolute;
  inset-inline-start: 10px;
  bottom: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(430px, 100%);
  overflow: hidden;
  border: 1px solid rgba(16, 46, 36, .09);
  border-radius: 22px;
  background: rgba(255, 253, 248, .9);
  box-shadow: 0 18px 46px rgba(16, 46, 36, .12);
  backdrop-filter: blur(12px);
}

.shop-hero-quality span {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 18px 14px;
  text-align: center;
}

.shop-hero-quality span + span {
  border-right: 1px solid rgba(16, 46, 36, .12);
}

.shop-hero-quality i {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f4efe6;
  color: var(--attarof-green-800);
}

.shop-hero-quality svg {
  width: 28px;
  height: 28px;
}

.shop-hero-quality strong {
  color: var(--attarof-green-950);
  font-size: .98rem;
  line-height: 1.5;
}

.shop-hero-quality small {
  color: #667166;
  font-size: .78rem;
  line-height: 1.7;
}

.shop-search {
  display: grid;
  grid-template-columns: minmax(140px, .35fr) minmax(280px, 1fr);
  align-items: center;
  gap: 16px 24px;
  width: min(100%, 860px);
  margin-top: 34px;
  padding: 22px 24px;
  border: 1px solid rgba(16, 46, 36, .09);
  border-radius: 24px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 18px 48px rgba(16, 46, 36, .08);
  backdrop-filter: blur(16px);
}

.shop-search strong {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  padding-inline-end: 8px;
  border-left: 1px solid rgba(16, 46, 36, .11);
  color: var(--attarof-green-950);
  font-size: 1.24rem;
  font-weight: 950;
  white-space: nowrap;
}

.woocommerce-product-search,
.search-form,
.wp-block-search__inside-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 16px;
  align-items: center;
}

.woocommerce-product-search input[type="search"],
.search-form input[type="search"],
.wp-block-search__input,
.shop-search .search-field {
  width: 100%;
  min-height: 74px;
  min-width: 0;
  padding: 0 28px;
  border: 1px solid rgba(16, 46, 36, .14);
  border-radius: 18px;
  outline: 0;
  background: #fff;
  color: var(--attarof-ink);
  font-family: var(--attarof-font-body);
  font-size: 1.08rem;
  text-align: right;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 24px rgba(16, 46, 36, .04);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.woocommerce-product-search input[type="search"]:focus,
.search-form input[type="search"]:focus,
.wp-block-search__input:focus {
  border-color: rgba(32, 79, 60, .44);
  box-shadow: 0 0 0 4px rgba(32, 79, 60, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.woocommerce-product-search button,
.search-form .search-submit,
.wp-block-search__button,
.shop-search button {
  display: inline-flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #174a38 0%, #10372b 100%);
  color: #fffdf5;
  font-family: var(--attarof-font-body);
  font-size: 1.02rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(16, 46, 36, .18);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.woocommerce-product-search button::before,
.search-form .search-submit::before,
.wp-block-search__button::before,
.shop-search button::before {
  content: "";
  width: 25px;
  height: 25px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='6.5' stroke='black' stroke-width='2.3'/%3E%3Cpath d='M16 16L20 20' stroke='black' stroke-width='2.3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='6.5' stroke='black' stroke-width='2.3'/%3E%3Cpath d='M16 16L20 20' stroke='black' stroke-width='2.3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.woocommerce-product-search button:hover,
.search-form .search-submit:hover,
.wp-block-search__button:hover,
.shop-search button:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(16, 46, 36, .22);
}

.shop-search small {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #667166;
  font-size: 1rem;
  line-height: 1.8;
}

.shop-search small svg {
  width: 18px;
  height: 18px;
  color: #3a8a47;
}

.shop-promises {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px clamp(28px, 5vw, 70px);
  width: min(100%, 760px);
  margin-top: 30px;
  color: var(--attarof-green-950);
  font-size: 1.03rem;
  font-weight: 850;
}

.shop-promises span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.shop-promises span::before {
  content: none;
}

.shop-promises svg {
  width: 25px;
  height: 25px;
  color: var(--attarof-green-800);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 0;
  padding: 0 5px;
  color: var(--attarof-green-950);
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: 0;
}

.home .woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: .98rem;
}

.attarof-single-product .product_title {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.42;
  letter-spacing: 0;
}

.attarof-single-product .related > h2,
.attarof-single-product .upsells > h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

@media (max-width: 1020px) {
  .shop-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 98px;
  }

  .shop-hero-copy {
    justify-items: center;
    text-align: center;
  }

  .shop-hero-visual {
    order: -1;
    min-height: 300px;
  }

  .shop-hero-visual img {
    right: auto;
    left: 50%;
    width: min(560px, 100%);
    transform: translateX(-50%);
  }

  .shop-hero-quality {
    inset-inline-start: 50%;
    bottom: 0;
    transform: translateX(-50%);
  }

  .shop-promises {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .shop-hero {
    padding: 24px 18px 82px;
    border-radius: 22px;
  }

  .shop-hero-breadcrumb {
    margin-bottom: 18px;
    font-size: .82rem;
  }

  .shop-hero h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.35;
  }

  .shop-hero p {
    margin-top: 15px;
    font-size: 1rem;
    line-height: 1.9;
  }

  .shop-hero-visual {
    min-height: 240px;
  }

  .shop-hero-quality {
    width: min(100%, 360px);
  }

  .shop-hero-quality span {
    padding: 13px 8px;
  }

  .shop-hero-quality i {
    width: 40px;
    height: 40px;
  }

  .shop-hero-quality svg {
    width: 22px;
    height: 22px;
  }

  .shop-hero-quality strong {
    font-size: .82rem;
  }

  .shop-hero-quality small {
    font-size: .68rem;
  }

  .shop-search {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 24px;
    padding: 16px;
    border-radius: 20px;
  }

  .shop-search strong {
    min-height: auto;
    justify-content: flex-start;
    padding: 0 0 12px;
    border-left: 0;
    border-bottom: 1px solid rgba(16, 46, 36, .1);
    font-size: 1.08rem;
  }

  .woocommerce-product-search,
  .search-form,
  .wp-block-search__inside-wrapper {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .woocommerce-product-search input[type="search"],
  .search-form input[type="search"],
  .wp-block-search__input,
  .shop-search .search-field {
    min-height: 56px;
    padding: 0 18px;
    border-radius: 15px;
    font-size: .98rem;
  }

  .woocommerce-product-search button,
  .search-form .search-submit,
  .wp-block-search__button,
  .shop-search button {
    min-height: 54px;
    border-radius: 15px;
    font-size: .96rem;
  }

  .shop-search small {
    grid-column: auto;
    justify-content: flex-start;
    font-size: .9rem;
  }

  .shop-promises {
    display: grid;
    gap: 10px;
    width: 100%;
    margin-top: 22px;
    font-size: .92rem;
    text-align: right;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .home .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: .92rem;
    line-height: 1.55;
  }

  .attarof-single-product .product_title {
    font-size: clamp(1.6rem, 8vw, 2.05rem);
  }
}

/* Shop archive hero locked to the approved reference layout. */
.attarof-commerce .shop-hero {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(420px, .82fr) minmax(640px, 1.18fr);
  grid-template-areas: "visual copy";
  align-items: stretch;
  gap: clamp(26px, 3vw, 48px);
  min-height: 610px;
  margin-bottom: 38px;
  padding: 40px clamp(34px, 3.4vw, 54px) 96px;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(18, 61, 50, .12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 8%, rgba(203, 164, 100, .08), transparent 24%),
    linear-gradient(135deg, #fffdf8 0%, #fbf8f1 56%, #fffaf1 100%);
  box-shadow: 0 22px 60px rgba(18, 61, 50, .07);
}

.attarof-commerce .shop-hero::before,
.attarof-commerce .shop-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  pointer-events: none;
}

.attarof-commerce .shop-hero::after {
  z-index: 0;
  height: 104px;
  background: #cba464;
  clip-path: polygon(0 24%, 8% 43%, 18% 57%, 29% 63%, 42% 58%, 55% 43%, 69% 27%, 82% 18%, 93% 20%, 100% 33%, 100% 100%, 0 100%);
  opacity: 1;
}

.attarof-commerce .shop-hero::before {
  z-index: 1;
  height: 96px;
  background:
    radial-gradient(circle at 73% 140%, rgba(255,255,255,.04), transparent 36%),
    linear-gradient(135deg, #123d32, #174f3c 58%, #103a30);
  clip-path: polygon(0 27%, 8% 47%, 18% 61%, 29% 67%, 42% 62%, 55% 47%, 69% 31%, 82% 22%, 93% 24%, 100% 37%, 100% 100%, 0 100%);
}

.attarof-commerce .shop-hero-copy,
.attarof-commerce .shop-hero-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
  direction: rtl;
}

.attarof-commerce .shop-hero-copy {
  grid-area: copy;
  width: 100%;
  max-width: none;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: right;
}

.attarof-commerce .shop-hero-breadcrumb {
  align-self: flex-start;
  margin: 0 0 26px;
  padding: 11px 17px;
  border: 1px solid rgba(203, 164, 100, .30);
  border-radius: 999px;
  background: rgba(255,255,255,.80);
  color: #98733d;
  box-shadow: 0 10px 30px rgba(18, 61, 50, .06);
}

.attarof-commerce .shop-hero-breadcrumb svg {
  width: 21px;
  height: 21px;
}

.attarof-commerce .shop-hero h1 {
  margin: 0 0 18px;
  color: #123d32;
  font-size: clamp(3.15rem, 4.25vw, 4.35rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.attarof-commerce .shop-hero p {
  width: 100%;
  max-width: 760px;
  margin: 0;
  color: #46534d;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.95;
}

.attarof-commerce .shop-hero-intro {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.attarof-commerce .shop-hero-more {
  max-width: 760px;
}

.attarof-commerce .shop-hero-visual {
  grid-area: visual;
  min-height: 470px;
  align-self: stretch;
}

.attarof-commerce .shop-hero-visual img {
  position: absolute;
  right: auto;
  bottom: 26px;
  left: -62px;
  width: calc(100% + 100px);
  max-width: none;
  height: calc(100% - 6px);
  object-fit: cover;
  object-position: 66% 52%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: .98;
  -webkit-mask-image: radial-gradient(ellipse 94% 92% at 48% 52%, #000 55%, rgba(0,0,0,.86) 66%, transparent 84%);
  mask-image: radial-gradient(ellipse 94% 92% at 48% 52%, #000 55%, rgba(0,0,0,.86) 66%, transparent 84%);
}

.attarof-commerce .shop-hero-quality {
  position: absolute;
  right: auto;
  bottom: 39px;
  left: -16px;
  z-index: 3;
  width: min(460px, calc(100% + 26px));
  min-height: 174px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  direction: ltr;
  overflow: hidden;
  border: 1px solid rgba(203, 164, 100, .22);
  border-radius: 28px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 18px 48px rgba(18,61,50,.13);
  backdrop-filter: blur(14px);
}

.attarof-commerce .shop-hero-quality span {
  min-width: 0;
  padding: 20px 12px 17px;
  direction: rtl;
  text-align: center;
}

.attarof-commerce .shop-hero-quality span + span {
  border-right: 0;
  border-left: 1px solid rgba(18,61,50,.10);
}

.attarof-commerce .shop-hero-quality i {
  width: 56px;
  height: 56px;
  margin: 0 auto 9px;
  color: #1c6046;
  background: linear-gradient(145deg, #fffdf7, #f2ede2);
}

.attarof-commerce .shop-hero-quality svg {
  width: 27px;
  height: 27px;
}

.attarof-commerce .shop-hero-quality strong {
  display: block;
  color: #123d32;
  font-size: .96rem;
  line-height: 1.55;
}

.attarof-commerce .shop-hero-quality small {
  display: block;
  margin-top: 3px;
  color: #68736d;
  font-size: .73rem;
  line-height: 1.65;
}

.attarof-commerce .shop-search {
  width: 100%;
  max-width: none;
  margin: 30px 0 0;
  padding: 22px 24px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 178px;
  gap: 14px 22px;
  align-items: center;
  direction: ltr;
  border: 1px solid rgba(18,61,50,.10);
  border-radius: 27px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 18px 45px rgba(18,61,50,.07);
  backdrop-filter: blur(12px);
}

.attarof-commerce .shop-search strong {
  grid-column: 2;
  grid-row: 1;
  min-height: 72px;
  padding-right: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  direction: rtl;
  border-left: 1px solid rgba(18,61,50,.12);
  color: #123d32;
  font-size: 1.15rem;
  font-weight: 900;
  white-space: nowrap;
}

.attarof-commerce .shop-search form,
.attarof-commerce .shop-search form.woocommerce-product-search {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  direction: rtl;
}

.attarof-commerce .shop-search .search-field {
  flex: 1 1 auto;
  order: 0;
  min-width: 0;
  width: auto;
  height: 72px;
  min-height: 72px;
  padding: 0 24px;
  direction: rtl;
  border: 1px solid rgba(18,61,50,.15);
  border-radius: 19px;
  background: #fff;
  color: #123d32;
  font-size: 1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.attarof-commerce .shop-search .search-field:focus {
  border-color: rgba(18,61,50,.42);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(18,61,50,.08);
}

.attarof-commerce .shop-search button,
.attarof-commerce .shop-search form.woocommerce-product-search button {
  flex: 0 0 140px;
  order: 1;
  width: 140px;
  height: 72px;
  min-height: 72px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 19px;
  background: linear-gradient(135deg, #164b39, #0f382d) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(18,61,50,.20);
}

.attarof-commerce .shop-search button::before {
  width: 24px;
  height: 24px;
  color: #fff !important;
}

.attarof-commerce .shop-search small {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  direction: rtl;
  color: #6d7772;
  font-size: .84rem;
  line-height: 1.75;
}

.attarof-commerce .shop-promises {
  width: 100%;
  margin: 24px 0 0;
  padding: 0 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  direction: rtl;
  color: #123d32;
  font-size: .96rem;
  font-weight: 900;
}

.attarof-commerce .shop-promises span {
  min-width: 0;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  white-space: nowrap;
}

.attarof-commerce .shop-promises span + span {
  border-right: 1px solid rgba(18,61,50,.10);
}

.attarof-commerce .shop-promises svg {
  width: 23px;
  height: 23px;
  color: #246a46;
}

@media (max-width: 1120px) {
  .attarof-commerce .shop-hero {
    grid-template-columns: minmax(340px, .78fr) minmax(520px, 1.22fr);
    gap: 18px;
    padding-right: 28px;
    padding-left: 28px;
  }

  .attarof-commerce .shop-hero h1 {
    font-size: clamp(2.7rem, 4.7vw, 3.7rem);
  }

  .attarof-commerce .shop-search {
    grid-template-columns: minmax(0, 1fr) 145px;
    gap: 12px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .attarof-commerce .shop-search button,
  .attarof-commerce .shop-search form.woocommerce-product-search button {
    flex-basis: 116px;
    width: 116px;
  }
}

@media (max-width: 930px) {
  .attarof-commerce .shop-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual";
    min-height: 0;
    padding: 34px 28px 92px;
  }

  .attarof-commerce .shop-hero-copy {
    align-items: stretch;
  }

  .attarof-commerce .shop-hero-visual {
    width: min(620px, 100%);
    min-height: 390px;
    justify-self: center;
  }

  .attarof-commerce .shop-hero-visual img {
    right: auto;
    bottom: 30px;
    left: 50%;
    width: min(680px, 118%);
    height: 390px;
    transform: translateX(-50%);
  }

  .attarof-commerce .shop-hero-quality {
    bottom: 28px;
    left: 50%;
    width: min(470px, 96%);
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .attarof-commerce .shop-hero {
    gap: 18px;
    padding: 24px 14px 82px;
    border-radius: 23px;
  }

  .attarof-commerce .shop-hero-breadcrumb {
    margin-bottom: 18px;
    padding: 9px 13px;
    font-size: .82rem;
  }

  .attarof-commerce .shop-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .attarof-commerce .shop-hero p {
    font-size: .94rem;
    line-height: 1.85;
  }

  .attarof-commerce .shop-search {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 22px;
    padding: 14px;
    border-radius: 21px;
  }

  .attarof-commerce .shop-search strong {
    grid-column: 1;
    grid-row: auto;
    min-height: auto;
    padding: 0 2px 4px;
    border-left: 0;
    font-size: 1rem;
  }

  .attarof-commerce .shop-search form,
  .attarof-commerce .shop-search form.woocommerce-product-search {
    grid-column: 1;
    grid-row: auto;
    gap: 9px;
  }

  .attarof-commerce .shop-search .search-field {
    height: 58px;
    min-height: 58px;
    padding: 0 16px;
    border-radius: 16px;
  }

  .attarof-commerce .shop-search button,
  .attarof-commerce .shop-search form.woocommerce-product-search button {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    font-size: 0;
  }

  .attarof-commerce .shop-search small {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    font-size: .76rem;
    text-align: right;
  }

  .attarof-commerce .shop-promises {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 18px;
  }

  .attarof-commerce .shop-promises span {
    justify-content: flex-start;
    padding: 0;
    border: 0 !important;
  }

  .attarof-commerce .shop-hero-visual {
    min-height: 330px;
  }

  .attarof-commerce .shop-hero-visual img {
    bottom: 46px;
    width: 120%;
    height: 310px;
  }

  .attarof-commerce .shop-hero-quality {
    bottom: 22px;
    min-height: 132px;
    border-radius: 20px;
  }

  .attarof-commerce .shop-hero-quality span {
    padding: 13px 5px 11px;
  }

  .attarof-commerce .shop-hero-quality i {
    width: 42px;
    height: 42px;
    margin-bottom: 6px;
  }

  .attarof-commerce .shop-hero-quality svg {
    width: 21px;
    height: 21px;
  }

  .attarof-commerce .shop-hero-quality strong {
    font-size: .78rem;
  }

  .attarof-commerce .shop-hero-quality small {
    font-size: .63rem;
    line-height: 1.5;
  }
}

/* Shop hero polish pass */
.attarof-commerce .shop-hero {
  grid-template-columns: minmax(420px, .86fr) minmax(540px, 1.14fr);
  grid-template-areas: "visual copy";
  align-items: center;
  gap: clamp(38px, 5.4vw, 92px);
  min-height: 560px;
  padding: clamp(38px, 4.8vw, 66px) clamp(38px, 5vw, 72px) 106px;
  background:
    radial-gradient(circle at 87% 12%, rgba(203, 164, 100, .12), transparent 24%),
    radial-gradient(circle at 15% 42%, rgba(78, 88, 41, .06), transparent 30%),
    linear-gradient(135deg, #fffdf8 0%, #fbf8f1 56%, #fffaf0 100%);
}

.attarof-commerce .shop-hero::before {
  z-index: 0;
  height: 74px;
  background:
    linear-gradient(180deg, rgba(203, 164, 100, .9), rgba(203, 164, 100, .9)) 50% 14px / 100% 4px no-repeat,
    radial-gradient(120% 86px at 58% -24px, transparent 55%, #123d32 56%);
}

.attarof-commerce .shop-hero-copy {
  grid-area: copy;
  max-width: 790px;
  justify-self: stretch;
  justify-items: end;
  align-self: center;
}

.attarof-commerce .shop-hero-visual {
  grid-area: visual;
  min-height: 430px;
  align-self: end;
}

.attarof-commerce .shop-hero-visual img {
  right: auto;
  left: -18px;
  bottom: 70px;
  width: min(650px, 118%);
  border-radius: 0 42px 16px 0;
  object-fit: cover;
}

.attarof-commerce .shop-hero-quality {
  right: auto;
  left: 0;
  bottom: 48px;
  width: min(440px, 98%);
  border-radius: 24px;
}

.attarof-commerce .shop-hero-breadcrumb {
  margin-bottom: 22px;
}

.attarof-commerce .shop-hero h1 {
  font-size: clamp(2.7rem, 4.3vw, 4.75rem);
  line-height: 1.22;
}

.attarof-commerce .shop-hero p {
  max-width: 780px;
  color: #4a5650;
}

.attarof-commerce .shop-search {
  grid-template-columns: minmax(126px, .3fr) minmax(0, 1fr);
  gap: 14px 20px;
  width: min(100%, 820px);
  margin-top: 30px;
  padding: 20px 22px;
  border-radius: 24px;
}

.attarof-commerce .shop-search strong {
  min-height: 78px;
  justify-content: center;
  padding-inline: 8px 18px;
  font-size: 1.16rem;
}

.attarof-commerce .shop-search form.woocommerce-product-search {
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  direction: ltr;
}

.attarof-commerce .shop-search .search-field {
  grid-column: 2;
  min-height: 78px;
  height: 78px;
  direction: rtl;
}

.attarof-commerce .shop-search button {
  grid-column: 1;
  min-height: 78px;
  height: 78px;
  background: linear-gradient(135deg, #174a38 0%, #0f352a 100%) !important;
  color: #fffaf0 !important;
  font-weight: 950;
}

.attarof-commerce .shop-search button::before {
  color: #fffaf0;
}

.attarof-commerce .shop-search small {
  grid-column: 2;
  justify-self: center;
  color: #69746d;
}

.attarof-commerce .shop-promises {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  margin-top: 28px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  color: var(--attarof-green-950);
}

@media (max-width: 1180px) {
  .attarof-commerce .shop-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual";
    padding-bottom: 92px;
  }

  .attarof-commerce .shop-hero-copy {
    justify-items: center;
    text-align: center;
  }

  .attarof-commerce .shop-hero-visual {
    width: min(680px, 100%);
    min-height: 330px;
    justify-self: center;
  }

  .attarof-commerce .shop-hero-visual img {
    left: 50%;
    bottom: 44px;
    width: min(620px, 100%);
    transform: translateX(-50%);
  }

  .attarof-commerce .shop-hero-quality {
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
  }

  .attarof-commerce .shop-promises {
    justify-content: center;
    margin-bottom: 0;
  }
}

@media (max-width: 720px) {
  .attarof-commerce .shop-hero {
    min-height: 0;
    padding: 24px 18px 82px;
  }

  .attarof-commerce .shop-hero h1 {
    font-size: clamp(2rem, 9.2vw, 2.7rem);
  }

  .attarof-commerce .shop-hero-visual {
    min-height: 250px;
  }

  .attarof-commerce .shop-hero-visual img {
    bottom: 50px;
  }

  .attarof-commerce .shop-hero-quality {
    bottom: 8px;
  }

  .attarof-commerce .shop-search {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .attarof-commerce .shop-search strong {
    min-height: auto;
    justify-content: flex-start;
    padding: 0 0 12px;
  }

  .attarof-commerce .shop-search form.woocommerce-product-search {
    grid-template-columns: 1fr;
    direction: rtl;
  }

  .attarof-commerce .shop-search .search-field,
  .attarof-commerce .shop-search button {
    grid-column: auto;
    min-height: 54px;
    height: 54px;
  }

  .attarof-commerce .shop-search small {
    grid-column: auto;
    justify-self: start;
    text-align: right;
  }

  .attarof-commerce .shop-promises {
    justify-content: start;
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav,
  .menu-toggle__line,
  .submenu-toggle svg {
    transition-duration: .01ms;
  }
}

@media (max-width: 768px) {
  body.woocommerce-cart .page-shell { padding: 32px 0 62px; }
  body.woocommerce-cart .page-title { margin-bottom: 18px; }
  body.woocommerce-cart table.shop_table_responsive tr {
    margin-bottom: 13px;
    padding: 12px;
    border: 1px solid rgba(40,87,68,.11);
    border-radius: 18px;
    background: rgba(255,253,248,.76);
  }
  body.woocommerce-cart table.shop_table_responsive tr td {
    padding: 10px 4px;
    border-color: rgba(40,87,68,.08);
  }
  body.woocommerce-cart table.shop_table_responsive tr td.product-thumbnail {
    display: block;
    width: 100%;
    text-align: center !important;
  }
  body.woocommerce-cart table.shop_table_responsive tr td.product-thumbnail::before {
    display: none;
  }
  body.woocommerce-cart td.product-thumbnail img { width: 92px; }
  body.woocommerce-cart td.actions { display: block !important; }
  body.woocommerce-cart .coupon {
    float: none !important;
    display: grid;
    grid-template-columns: 1fr auto;
  }
  body.woocommerce-cart .coupon .input-text { width: 100% !important; }
  body.woocommerce-cart td.actions > .button {
    width: 100%;
    margin-top: 9px !important;
  }
}

@media (max-width: 480px) {
  .attarof-cart-intro { align-items: flex-start; padding: 14px; }
  .attarof-cart-intro__icon { width: 40px; height: 40px; }
  .attarof-cart-intro strong { font-size: 1.08rem; }
  .attarof-cart-intro p { font-size: .88rem; }
  body.woocommerce-cart .cart_totals { padding: 19px 16px; border-radius: 20px; }
  body.woocommerce-cart .coupon { grid-template-columns: 1fr; }
  body.woocommerce-cart .coupon button { width: 100%; }
  body.woocommerce-cart .cart-empty { padding: 105px 18px 24px !important; }
}

/* WooCommerce checkout */
body.woocommerce-checkout .page-shell {
  position: relative;
  overflow: hidden;
  padding: 46px 0 86px;
  background:
    radial-gradient(circle at 94% 7%, rgba(217,150,50,.14), transparent 27%),
    radial-gradient(circle at 4% 78%, rgba(63,118,93,.12), transparent 29%);
}
body.woocommerce-checkout .page-title {
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 4vw, 3.2rem);
}
body.woocommerce-checkout .page-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .woocommerce {
  direction: rtl;
  color: var(--attarof-ink);
}
.attarof-checkout-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  padding: 17px 19px;
  border: 1px solid rgba(40,87,68,.12);
  border-radius: 19px;
  background: rgba(255,253,248,.76);
  box-shadow: 0 14px 38px rgba(31,61,49,.07);
  backdrop-filter: blur(17px);
}
.attarof-checkout-intro__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--attarof-green-100), #d5e5d7);
  color: var(--attarof-green-800);
  font-size: 1.25rem;
  font-weight: 900;
}
.attarof-checkout-intro strong {
  display: block;
  color: var(--attarof-green-950);
  font-family: var(--attarof-font-heading);
  font-size: 1.25rem;
}
.attarof-checkout-intro p {
  margin: 3px 0 0;
  color: var(--attarof-muted);
  font-size: .96rem;
}
.attarof-checkout-intro__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}
.attarof-checkout-intro__badges span {
  padding: 7px 10px;
  border: 1px solid rgba(40,87,68,.1);
  border-radius: 999px;
  background: rgba(232,240,233,.7);
  color: var(--attarof-green-800);
  font-size: .82rem;
  white-space: nowrap;
}
body.woocommerce-checkout .wc-block-checkout {
  align-items: start;
  gap: 28px;
  max-width: none;
  margin: 0;
}
body.woocommerce-checkout .wc-block-checkout__main {
  width: calc(64% - 14px);
  padding-left: 0;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  position: sticky;
  top: 24px;
  width: calc(36% - 14px);
  padding-right: 0;
}
body.woocommerce-checkout .wc-block-checkout__main > .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout form.checkout .col2-set,
body.woocommerce-checkout #order_review {
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid rgba(40,87,68,.12);
  border-radius: 22px;
  background: rgba(255,253,248,.8);
  box-shadow: 0 18px 48px rgba(31,61,49,.075);
  backdrop-filter: blur(18px);
}
body.woocommerce-checkout .wc-block-components-checkout-step__heading {
  margin-bottom: 17px;
}
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3 {
  color: var(--attarof-green-950);
  font-family: var(--attarof-font-heading);
}
body.woocommerce-checkout .wc-block-components-checkout-step__title {
  font-size: 1.35rem;
}
body.woocommerce-checkout .wc-block-components-checkout-step__description {
  color: var(--attarof-muted);
  font-size: .9rem;
}
body.woocommerce-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-combobox {
  margin-top: 12px;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row textarea {
  min-height: 54px;
  padding-right: 15px !important;
  padding-left: 15px !important;
  border: 1px solid #d6e0d7 !important;
  border-radius: 13px !important;
  outline: 0;
  background: rgba(255,255,255,.9) !important;
  color: var(--attarof-ink) !important;
  font-family: var(--attarof-font-body) !important;
  font-size: 1rem !important;
  text-align: right;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox input:focus,
body.woocommerce-checkout .wc-block-components-textarea:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout form .form-row input.input-text:focus,
body.woocommerce-checkout form .form-row textarea:focus {
  border-color: var(--attarof-green-650) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(63,118,93,.11) !important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox label {
  right: 14px;
  left: auto;
  color: #6a776f;
  font-family: var(--attarof-font-body);
  font-size: .92rem;
  transform-origin: top right;
}
body.woocommerce-checkout .wc-block-components-text-input.is-active label {
  transform: translateY(6px) scale(.78);
}
body.woocommerce-checkout .wc-block-components-address-form {
  gap: 0 12px;
}
body.woocommerce-checkout .wc-block-components-checkbox,
body.woocommerce-checkout .wc-block-components-radio-control__option {
  padding: 12px 13px;
  border: 1px solid rgba(40,87,68,.10);
  border-radius: 13px;
  background: rgba(247,250,246,.74);
}
body.woocommerce-checkout .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-radio-control__label {
  padding-right: 8px;
  padding-left: 0;
  color: var(--attarof-ink);
}
body.woocommerce-checkout .wc-block-components-radio-control__option-checked {
  border-color: rgba(63,118,93,.4);
  background: rgba(232,240,233,.76);
}
body.woocommerce-checkout .wc-block-components-radio-control__input:checked {
  border-color: var(--attarof-green-650);
}
body.woocommerce-checkout .wc-block-components-order-summary {
  padding: 0;
}
body.woocommerce-checkout .wc-block-components-order-summary__button-text {
  color: var(--attarof-green-950);
  font-family: var(--attarof-font-heading);
  font-size: 1.35rem;
}
body.woocommerce-checkout .wc-block-components-order-summary-item {
  padding: 15px 0;
  border-bottom-color: rgba(40,87,68,.09);
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
  border: 1px solid var(--attarof-line);
  border-radius: 13px;
  background: #fff;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
  padding-right: 13px;
  padding-left: 0;
}
body.woocommerce-checkout .wc-block-components-product-name {
  color: var(--attarof-green-950);
  font-family: var(--attarof-font-heading);
  font-size: 1rem;
}
body.woocommerce-checkout .wc-block-components-totals-wrapper {
  padding: 14px 0;
  border-top-color: rgba(40,87,68,.1);
}
body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value {
  font-size: .96rem;
}
body.woocommerce-checkout .wc-block-components-totals-footer-item {
  color: var(--attarof-green-950);
  font-weight: 900;
}
body.woocommerce-checkout .wc-block-components-totals-coupon-link {
  color: var(--attarof-green-650);
}
body.woocommerce-checkout .wc-block-components-button,
body.woocommerce-checkout #place_order,
body.woocommerce-checkout button.button,
body.woocommerce-checkout a.button {
  min-height: 54px;
  padding: 12px 20px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, var(--attarof-green-800), var(--attarof-green-650)) !important;
  color: #fff !important;
  font-family: var(--attarof-font-body) !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  box-shadow: 0 13px 28px rgba(40,87,68,.17);
  transition: transform .2s ease, box-shadow .2s ease;
}
body.woocommerce-checkout .wc-block-components-button:hover,
body.woocommerce-checkout #place_order:hover {
  box-shadow: 0 17px 32px rgba(40,87,68,.24);
  transform: translateY(-1px);
}
body.woocommerce-checkout .wc-block-checkout__actions {
  padding-top: 20px;
  border-top: 1px solid rgba(40,87,68,.09);
}
body.woocommerce-checkout .wc-block-checkout__actions_row {
  flex-direction: row-reverse;
}
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button {
  color: var(--attarof-green-650);
}
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message {
  border: 1px solid rgba(40,87,68,.13);
  border-radius: 15px;
  background: rgba(255,253,248,.86);
}
body.woocommerce-checkout .wc-block-components-validation-error {
  color: #a54c3c;
  font-size: .84rem;
}

@media (max-width: 900px) {
  .attarof-checkout-intro {
    grid-template-columns: auto 1fr;
  }
  .attarof-checkout-intro__badges {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout__sidebar {
    width: 100%;
  }
  body.woocommerce-checkout .wc-block-checkout__sidebar {
    position: static;
  }
}

@media (max-width: 600px) {
  body.woocommerce-checkout .page-shell {
    padding: 30px 0 62px;
  }
  .attarof-checkout-intro {
    align-items: start;
    margin-bottom: 17px;
    padding: 14px;
    border-radius: 17px;
  }
  .attarof-checkout-intro__icon {
    width: 41px;
    height: 41px;
  }
  .attarof-checkout-intro strong {
    font-size: 1.1rem;
  }
  .attarof-checkout-intro p {
    font-size: .88rem;
  }
  .attarof-checkout-intro__badges {
    display: none;
  }
  body.woocommerce-checkout .wc-block-checkout {
    gap: 16px;
  }
  body.woocommerce-checkout .wc-block-checkout__main > .wc-block-components-checkout-step,
  body.woocommerce-checkout .wc-block-checkout__sidebar {
    padding: 17px 14px;
    border-radius: 18px;
  }
  body.woocommerce-checkout .wc-block-components-checkout-step__title,
  body.woocommerce-checkout .wc-block-components-order-summary__button-text {
    font-size: 1.18rem;
  }
  body.woocommerce-checkout .wc-block-components-address-form {
    display: block;
  }
}

/* Global UI/UX readability and contrast system */
body {
  color: var(--attarof-ink);
  font-size: 1.125rem;
  line-height: 1.95;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
p,
li,
label,
input,
select,
textarea,
button {
  letter-spacing: 0;
}
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--attarof-green-950);
  line-height: 1.45;
  text-wrap: balance;
}
a,
button,
input,
select,
textarea,
summary {
  outline-offset: 3px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(47,104,79,.38);
  box-shadow: 0 0 0 5px rgba(255,253,248,.95);
}
.container {
  width: min(1220px, calc(100% - 48px));
}
.announcement {
  padding-block: 9px;
  font-size: .96rem;
  line-height: 1.7;
}
.brand-name {
  font-size: 1.55rem;
}
.brand-tagline {
  color: #43554c;
  font-size: .9rem;
}
.primary-nav a {
  padding-block: 9px;
  color: var(--attarof-ink);
  font-size: 1.06rem;
}
.icon-link {
  min-width: 46px;
  height: 46px;
  border-color: #d3d9d2;
}
.cart-count {
  font-size: .78rem;
}
.eyebrow,
.hero-trust,
.floating-note {
  color: #29493b;
  font-size: .98rem;
}
.hero-copy > p,
.section-heading p,
.story-copy p,
.shop-hero p {
  color: var(--attarof-muted);
  font-size: 1.14rem;
  line-height: 2;
}
.hero-copy > p,
.story-copy p,
.attarof-content > p {
  max-width: 68ch;
}
.btn,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
  min-height: 48px;
  font-size: 1.04rem;
  line-height: 1.6;
}
.benefit {
  min-height: 96px;
}
.benefit strong {
  color: var(--attarof-green-950);
  font-size: 1.06rem;
}
.benefit small {
  color: var(--attarof-muted);
  font-size: .95rem;
  line-height: 1.7;
}

/* Homepage AI advisor promotion */
.home-advisor {
  position: relative;
  padding: 22px 0 82px;
}
.home-advisor__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: 64px;
  overflow: hidden;
  padding: 54px 58px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 34px;
  background:
    radial-gradient(circle at 8% 100%, rgba(217,150,50,.14), transparent 27%),
    linear-gradient(135deg, #15382c 0%, #204f3c 55%, #2f684f 100%);
  box-shadow: 0 28px 75px rgba(16,46,36,.2);
  color: #fff;
}
.home-advisor__card::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -280px;
  right: -130px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.018);
}
.home-advisor__copy,
.home-advisor__demo {
  position: relative;
  z-index: 1;
}
.home-advisor__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #f7e4bd;
  font-size: .94rem;
  font-weight: 900;
  backdrop-filter: blur(8px);
}
.home-advisor__eyebrow i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7dd4a2;
  box-shadow: 0 0 0 5px rgba(125,212,162,.12);
}
.home-advisor h2 {
  margin: 18px 0 14px;
  color: #fff;
  font-size: clamp(2.4rem, 4.5vw, 4.15rem);
  line-height: 1.3;
}
.home-advisor h2 span {
  color: #f0c675;
}
.home-advisor__copy > p {
  max-width: 62ch;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 1.12rem;
  line-height: 2;
}
.home-advisor__features {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.home-advisor__features span {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  color: rgba(255,255,255,.92);
  font-size: .91rem;
  white-space: nowrap;
}
.home-advisor__features b {
  margin-left: 4px;
  color: #8ee1ae;
}
.home-advisor__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 27px;
}
.home-advisor__primary {
  min-height: 54px;
  background: linear-gradient(135deg, #e2a94d, #d18b24);
  color: #fff;
  box-shadow: 0 15px 34px rgba(6,25,18,.24);
}
.home-advisor__primary:hover {
  box-shadow: 0 19px 42px rgba(6,25,18,.3);
}
.home-advisor__primary span {
  font-size: 1.3rem;
}
.home-advisor__learn {
  padding-block: 8px;
  color: rgba(255,255,255,.9);
  font-size: 1rem;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.3);
  text-underline-offset: 6px;
}
.home-advisor__learn:hover {
  color: #fff;
  text-decoration-color: #f0c675;
}
.home-advisor__disclaimer {
  display: block;
  max-width: 650px;
  margin-top: 19px;
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  line-height: 1.8;
}
.home-advisor__demo {
  min-height: 430px;
  display: grid;
  place-items: center;
}
.home-advisor__window {
  position: relative;
  width: min(420px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 25px;
  background: rgba(255,253,248,.96);
  box-shadow: 0 28px 68px rgba(5,24,17,.3);
  color: var(--attarof-ink);
  transform: rotate(-1.5deg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.home-advisor__demo:hover .home-advisor__window {
  box-shadow: 0 34px 78px rgba(5,24,17,.38);
  transform: rotate(0) translateY(-4px);
}
.home-advisor__window-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 17px;
  border-bottom: 1px solid rgba(32,79,60,.1);
  background: #eff6ed;
}
.home-advisor__ai {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--attarof-green-950), var(--attarof-green-650));
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  box-shadow: 0 9px 22px rgba(32,79,60,.2);
}
.home-advisor__window-head strong,
.home-advisor__window-head small {
  display: block;
}
.home-advisor__window-head strong {
  color: var(--attarof-green-950);
  font-family: var(--attarof-font-heading);
  font-size: 1.08rem;
}
.home-advisor__window-head small {
  margin-top: 1px;
  color: #526159;
  font-size: .78rem;
}
.home-advisor__window-head small i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 4px;
  border-radius: 50%;
  background: #42a872;
}
.home-advisor__messages {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 18px;
  background: linear-gradient(180deg, #fff, #f4f8f2);
}
.home-advisor__message {
  max-width: 83%;
  padding: 11px 13px;
  border-radius: 15px;
  font-size: .91rem;
  line-height: 1.8;
}
.home-advisor__message--bot {
  align-self: flex-start;
  border: 1px solid rgba(32,79,60,.1);
  border-bottom-right-radius: 5px;
  background: #fff;
  color: #30453b;
  box-shadow: 0 8px 20px rgba(22,50,40,.06);
}
.home-advisor__message--user {
  align-self: flex-end;
  border-bottom-left-radius: 5px;
  background: linear-gradient(135deg, var(--attarof-green-800), var(--attarof-green-650));
  color: #fff;
  box-shadow: 0 10px 24px rgba(32,79,60,.17);
}
.home-advisor__typing {
  display: flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 9px 12px;
  border-radius: 13px;
  background: #eaf2e7;
}
.home-advisor__typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #608070;
  animation: home-advisor-pulse 1.2s infinite ease-in-out;
}
.home-advisor__typing span:nth-child(2) { animation-delay: .15s; }
.home-advisor__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes home-advisor-pulse {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
.home-advisor__fake-input {
  display: grid;
  grid-template-columns: 1fr 42px;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid rgba(32,79,60,.1);
  background: #fff;
  color: #65736c;
  font-size: .9rem;
}
.home-advisor__fake-input b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--attarof-green-800);
  color: #fff;
  font-size: 1.15rem;
}
.home-advisor__demo-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: 25px;
}
.home-advisor__leaf {
  position: absolute;
  width: 96px;
  height: 38px;
  border-radius: 100% 0 100% 0;
  background: rgba(240,198,117,.82);
}
.home-advisor__leaf--one { top: 20px; right: -14px; transform: rotate(-38deg); }
.home-advisor__leaf--two { left: -26px; bottom: 28px; background: rgba(142,207,165,.72); transform: rotate(138deg); }

@media (max-width: 980px) {
  .home-advisor__card {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 44px;
  }
  .home-advisor__copy { text-align: center; }
  .home-advisor__copy > p,
  .home-advisor__disclaimer { margin-inline: auto; }
  .home-advisor__features,
  .home-advisor__actions { justify-content: center; }
  .home-advisor__demo { min-height: 390px; }
}

@media (max-width: 620px) {
  .home-advisor { padding: 10px 0 58px; }
  .home-advisor__card {
    gap: 25px;
    padding: 29px 19px 24px;
    border-radius: 24px;
  }
  .home-advisor__eyebrow { font-size: .82rem; }
  .home-advisor h2 { font-size: clamp(2.2rem, 11vw, 2.85rem); }
  .home-advisor__copy > p { font-size: 1.02rem; }
  .home-advisor__features { display: grid; justify-content: stretch; }
  .home-advisor__features span { white-space: normal; }
  .home-advisor__actions { display: grid; gap: 12px; }
  .home-advisor__primary { width: 100%; }
  .home-advisor__learn { justify-self: center; }
  .home-advisor__disclaimer { font-size: .8rem; }
  .home-advisor__demo { min-height: 355px; }
  .home-advisor__window { border-radius: 20px; transform: none; }
  .home-advisor__messages { min-height: 215px; padding: 14px; }
  .home-advisor__message { max-width: 91%; font-size: .84rem; }
  .home-advisor__leaf { display: none; }
}
.text-link {
  color: #23583f;
  font-size: 1.02rem;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.text-link:hover {
  text-decoration: underline;
}
.category-card h3 {
  font-size: 1.42rem;
}
.category-card p {
  color: #40564b;
  font-size: 1.02rem;
  line-height: 1.8;
}
.woocommerce ul.products li.product {
  border-color: #d4dbd3;
  box-shadow: 0 8px 24px rgba(23,55,45,.055);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 3.2em;
  color: var(--attarof-green-950);
  font-size: 1.2rem;
  line-height: 1.6;
}
.woocommerce ul.products li.product .price {
  color: #285f47;
  font-size: 1.15rem;
  line-height: 1.7;
}
.woocommerce ul.products li.product .button {
  min-height: 48px;
  font-size: 1rem;
  line-height: 1.55;
}
.story-list li {
  color: #31473d;
  font-size: 1.04rem;
}
.newsletter p {
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
}
.site-footer {
  color: rgba(255,255,255,.9);
}
.footer-brand p {
  color: rgba(255,255,255,.82);
  font-size: 1.02rem;
  line-height: 1.9;
}
.footer-title {
  font-size: 1.16rem;
}
.footer-links li {
  font-size: 1rem;
}
.footer-links a {
  display: inline-block;
  padding-block: 4px;
  color: rgba(255,255,255,.88);
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  color: rgba(255,255,255,.72);
  font-size: .92rem;
}
.page-title {
  margin-bottom: 34px;
}
.attarof-content {
  color: var(--attarof-ink);
  font-size: 1.08rem;
}
.attarof-content p,
.attarof-content li,
.attarof-info-card small,
.attarof-faq details p {
  color: var(--attarof-muted);
  font-size: 1.06rem;
  line-height: 2;
}
.attarof-content h2 {
  font-size: 1.72rem;
}
.attarof-values strong,
.attarof-info-card strong,
.attarof-faq summary {
  font-size: 1.12rem;
}
.attarof-values p {
  font-size: 1.02rem;
}
.attarof-commerce .woocommerce-breadcrumb,
.back-to-shop,
.shop-toolbar .woocommerce-result-count {
  color: #42564c;
  font-size: .98rem;
}
.shop-promises {
  color: #245a42;
  font-size: 1rem;
}
.shop-search strong {
  font-size: 1.1rem;
}
.shop-search small {
  color: #4b5e54;
  font-size: .94rem;
}
.shop-search .search-field,
.shop-search button,
.shop-toolbar .woocommerce-ordering select,
.woocommerce .quantity .qty,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce select {
  min-height: 50px;
  color: var(--attarof-ink);
  border-color: #cdd6ce;
  font-family: var(--attarof-font-body);
  font-size: 1.04rem;
}
.shop-toolbar {
  padding: 16px 18px;
}
.attarof-single-product .woocommerce-product-details__short-description,
.attarof-single-product .woocommerce-tabs,
.attarof-single-product .woocommerce-Tabs-panel,
.attarof-product-specs {
  color: var(--attarof-ink);
  font-size: 1.1rem;
  line-height: 2;
}
.product-price-placeholder {
  font-size: 1rem;
}
.product-assurances span {
  color: #40544a;
  font-size: .98rem;
  line-height: 1.7;
}
.attarof-single-product .product_meta {
  color: #45584f;
  font-size: .98rem;
}
.attarof-single-product .woocommerce-tabs ul.tabs li a {
  font-size: 1.04rem;
}
.attarof-single-product .related > h2,
.attarof-single-product .upsells > h2 {
  font-size: 2rem;
}
.attarof-product-specs p {
  color: var(--attarof-ink);
  font-size: 1.06rem;
}
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  color: var(--attarof-ink);
  font-size: 1rem;
  line-height: 1.85;
}
body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td,
body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
  color: var(--attarof-ink);
  font-size: 1.04rem;
}
.attarof-cart-intro p,
.attarof-checkout-intro p {
  color: var(--attarof-muted);
  font-size: 1.02rem;
}
.attarof-cart-assurances span,
.attarof-checkout-intro__badges span {
  color: #3e554a;
  font-size: .95rem;
}
body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-validation-error {
  color: #46594f;
  font-size: .95rem;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox label,
body.woocommerce-checkout .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-radio-control__label {
  color: #344a3f;
  font-size: 1rem;
}

@media (max-width: 620px) {
  body {
    font-size: 1.0625rem;
    line-height: 1.9;
  }
  .container {
    width: min(100% - 28px, 1220px);
  }
  .announcement {
    font-size: .9rem;
  }
  .brand-name {
    font-size: 1.34rem;
  }
  .hero-copy > p,
  .section-heading p,
  .story-copy p,
  .shop-hero p {
    font-size: 1.06rem;
  }
  .hero-actions .btn {
    font-size: .96rem;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 0;
    font-size: 1.08rem;
  }
  .woocommerce ul.products li.product .price {
    font-size: 1.03rem;
  }
  .woocommerce ul.products li.product .button {
    font-size: .94rem;
  }
  .footer-links li,
  .footer-brand p {
    font-size: .98rem;
  }
  .attarof-single-product .woocommerce-product-details__short-description,
  .attarof-single-product .woocommerce-tabs,
  .attarof-single-product .woocommerce-Tabs-panel {
    font-size: 1.04rem;
  }
}

/* Attarof logo update */
.site-header .brand {
  gap: 0;
}
.site-header .brand-logo {
  display: block;
  width: auto;
  height: 72px;
  max-width: min(230px, 48vw);
  object-fit: contain;
}
.site-header .brand-copy {
  display: none;
}
@media (max-width: 640px) {
  .site-header .brand-logo {
    height: 56px;
    max-width: 46vw;
  }
}

/* Global logo refresh */
.footer-brand .brand {
  align-items: center;
  gap: 0;
}
.footer-brand .footer-symbol {
  width: min(180px, 58vw);
  height: auto;
  border-radius: 0;
  object-fit: contain;
}
.footer-brand .brand-name {
  display: none;
}

/* Transparent logo sizing */
.site-header .brand-logo {
  height: 62px;
  max-width: min(220px, 48vw);
}
.footer-brand .footer-symbol {
  width: min(190px, 58vw);
}
@media (max-width: 640px) {
  .site-header .brand-logo {
    height: 50px;
    max-width: 48vw;
  }
}

/* About showcase redesign */
.about-showcase {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 7vw, 116px) 0;
  background:
    radial-gradient(circle at 8% 16%, rgba(226, 199, 143, .22), transparent 32%),
    linear-gradient(180deg, #fffdf8 0%, #fffaf1 100%);
}
.about-showcase::before {
  content: "";
  position: absolute;
  left: -42px;
  bottom: 16px;
  width: 260px;
  height: 260px;
  opacity: .28;
  background:
    radial-gradient(ellipse at 50% 100%, transparent 47%, rgba(199, 166, 92, .55) 48% 49%, transparent 50%) 0 0 / 72px 86px,
    radial-gradient(ellipse at 50% 100%, transparent 47%, rgba(199, 166, 92, .45) 48% 49%, transparent 50%) 34px 44px / 78px 96px;
  transform: rotate(-16deg);
  pointer-events: none;
}
.about-showcase__grid {
  grid-template-columns: minmax(360px, .88fr) minmax(460px, 1.12fr);
  gap: clamp(42px, 6vw, 90px);
  align-items: center;
}
.about-showcase__copy {
  position: relative;
  z-index: 1;
  text-align: center;
}
.about-showcase__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 auto 24px;
  padding: 10px 22px;
  border: 1px solid rgba(196, 154, 82, .42);
  border-radius: 999px;
  background: rgba(255, 253, 248, .78);
  color: var(--attarof-green-950);
  box-shadow: 0 14px 40px rgba(44, 70, 48, .06);
}
.about-showcase__eyebrow::after {
  content: "⌁";
  color: var(--attarof-saffron);
  font-size: 1.15em;
}
.about-showcase__copy h2 {
  max-width: 720px;
  margin: 0 auto;
  color: var(--attarof-green-950);
  font-family: var(--attarof-font-heading);
  font-size: clamp(2.6rem, 4.6vw, 5rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}
.about-showcase__divider {
  display: block;
  width: min(360px, 64%);
  height: 22px;
  margin: 18px auto 24px;
  background:
    linear-gradient(90deg, transparent, rgba(198, 160, 82, .78), transparent) 50% 50% / 100% 1px no-repeat;
  position: relative;
}
.about-showcase__divider::before {
  content: "✤";
  position: absolute;
  inset: 50% auto auto 50%;
  color: var(--attarof-saffron);
  background: #fffbf3;
  padding: 0 14px;
  transform: translate(-50%, -50%);
  font-size: 1.15rem;
}
.about-showcase__copy p {
  max-width: 740px;
  margin: 0 auto;
  color: var(--attarof-ink);
  font-size: clamp(1.08rem, 1.25vw, 1.28rem);
  line-height: 2.25;
}
.about-showcase__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
  max-width: 700px;
  margin: 34px auto 36px;
}
.about-showcase__list li {
  min-height: 68px;
  justify-content: flex-start;
  padding: 14px 18px;
  border: 1px solid rgba(29, 67, 53, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  color: var(--attarof-green-950);
  font-size: 1.05rem;
  box-shadow: 0 18px 54px rgba(45, 70, 52, .055);
}
.about-showcase__list li::before {
  content: "⌁";
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 999px;
  background: #f4efdf;
  color: var(--attarof-green-800);
  font-size: 1.3rem;
}
.about-showcase__button {
  gap: 12px;
  min-width: 210px;
  justify-content: center;
  padding: 18px 34px;
  border-radius: 999px;
  box-shadow: 0 22px 52px rgba(26, 85, 61, .24);
}
.about-showcase__button span {
  color: var(--attarof-saffron);
  font-size: 1.15rem;
}
.about-showcase__visual {
  min-height: 0;
  border: 1px solid rgba(190, 148, 80, .42);
  border-radius: 30px;
  background: transparent;
  box-shadow: 0 32px 76px rgba(38, 48, 36, .18);
}
.about-showcase__visual::before,
.about-showcase__visual::after {
  content: none;
}
.about-showcase__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 932 / 658;
  object-fit: cover;
  border-radius: inherit;
}

@media (max-width: 980px) {
  .about-showcase__grid {
    grid-template-columns: 1fr;
  }
  .about-showcase__visual {
    order: -1;
  }
}
@media (max-width: 640px) {
  .about-showcase {
    padding-block: 56px;
  }
  .about-showcase__copy h2 {
    font-size: clamp(2.25rem, 11vw, 3.1rem);
  }
  .about-showcase__copy p {
    font-size: 1.02rem;
    line-height: 2.05;
  }
  .about-showcase__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .about-showcase__list li {
    min-height: 60px;
    font-size: .98rem;
  }
  .about-showcase__visual {
    border-radius: 22px;
  }
}

/* About showcase polish */
.about-showcase {
  padding: clamp(58px, 6vw, 86px) 0;
}
.about-showcase::before {
  opacity: .14;
}
.about-showcase__grid {
  direction: ltr;
  grid-template-columns: minmax(430px, .96fr) minmax(500px, 1.04fr);
  gap: clamp(34px, 5vw, 68px);
}
.about-showcase__copy,
.about-showcase__visual {
  direction: rtl;
}
.about-showcase__copy {
  padding-inline: clamp(0px, 1.6vw, 24px);
}
.about-showcase__eyebrow {
  margin-bottom: 18px;
  padding: 8px 18px;
  font-size: .92rem;
}
.about-showcase__eyebrow::after {
  content: "";
  width: 15px;
  height: 15px;
  background: var(--attarof-saffron);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.5 3.5C13.6 4.1 8.7 7.4 6.8 12.8 5.7 11.6 4.4 10.7 2.5 10.2c.5 4 2.6 6.4 5.6 7.2.7 1.3 1.9 2.4 3.5 3.1.3-3.2-.5-5.6-2.1-7.3 2.7-4.4 6.4-6.8 11-7.5v-2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.5 3.5C13.6 4.1 8.7 7.4 6.8 12.8 5.7 11.6 4.4 10.7 2.5 10.2c.5 4 2.6 6.4 5.6 7.2.7 1.3 1.9 2.4 3.5 3.1.3-3.2-.5-5.6-2.1-7.3 2.7-4.4 6.4-6.8 11-7.5v-2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.about-showcase__copy h2 {
  max-width: 560px;
  font-size: clamp(2.15rem, 3vw, 3.35rem);
  line-height: 1.55;
}
.about-showcase__divider {
  width: min(300px, 54%);
  height: 16px;
  margin: 14px auto 20px;
}
.about-showcase__divider::before {
  content: "";
  width: 14px;
  height: 14px;
  padding: 0 12px;
  background:
    linear-gradient(#fffbf3, #fffbf3) center / 36px 18px no-repeat,
    var(--attarof-saffron);
  -webkit-mask:
    linear-gradient(#000 0 0) center / 36px 18px no-repeat,
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2.2 14.3 9l7.2 3-7.2 3L12 21.8 9.7 15l-7.2-3 7.2-3L12 2.2Z'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
  mask:
    linear-gradient(#000 0 0) center / 36px 18px no-repeat,
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2.2 14.3 9l7.2 3-7.2 3L12 21.8 9.7 15l-7.2-3 7.2-3L12 2.2Z'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}
.about-showcase__copy p {
  max-width: 610px;
  font-size: clamp(1rem, 1.05vw, 1.12rem);
  line-height: 2.05;
}
.about-showcase__list {
  max-width: 560px;
  gap: 14px 18px;
  margin: 28px auto 32px;
}
.about-showcase__list li {
  position: relative;
  min-height: 56px;
  padding: 10px 14px;
  gap: 12px;
  border-color: rgba(29, 67, 53, .11);
  background: rgba(255, 255, 255, .7);
  font-size: .94rem;
  box-shadow: 0 12px 32px rgba(45, 70, 52, .055);
}
.about-showcase__list li::before {
  content: "";
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 999px;
  background: #f1ead8;
}
.about-showcase__list li::after {
  content: "";
  position: absolute;
  inset-inline-start: 26px;
  top: 50%;
  width: 15px;
  height: 15px;
  background: var(--attarof-green-800);
  transform: translateY(-50%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.5 3.5C13.6 4.1 8.7 7.4 6.8 12.8 5.7 11.6 4.4 10.7 2.5 10.2c.5 4 2.6 6.4 5.6 7.2.7 1.3 1.9 2.4 3.5 3.1.3-3.2-.5-5.6-2.1-7.3 2.7-4.4 6.4-6.8 11-7.5v-2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.5 3.5C13.6 4.1 8.7 7.4 6.8 12.8 5.7 11.6 4.4 10.7 2.5 10.2c.5 4 2.6 6.4 5.6 7.2.7 1.3 1.9 2.4 3.5 3.1.3-3.2-.5-5.6-2.1-7.3 2.7-4.4 6.4-6.8 11-7.5v-2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.about-showcase__button {
  min-width: 176px;
  padding: 14px 28px;
  box-shadow: 0 16px 38px rgba(26, 85, 61, .2);
}
.about-showcase__button span {
  display: none;
}
.about-showcase__button::before {
  content: "";
  width: 15px;
  height: 15px;
  background: var(--attarof-saffron);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.5 3.5C13.6 4.1 8.7 7.4 6.8 12.8 5.7 11.6 4.4 10.7 2.5 10.2c.5 4 2.6 6.4 5.6 7.2.7 1.3 1.9 2.4 3.5 3.1.3-3.2-.5-5.6-2.1-7.3 2.7-4.4 6.4-6.8 11-7.5v-2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.5 3.5C13.6 4.1 8.7 7.4 6.8 12.8 5.7 11.6 4.4 10.7 2.5 10.2c.5 4 2.6 6.4 5.6 7.2.7 1.3 1.9 2.4 3.5 3.1.3-3.2-.5-5.6-2.1-7.3 2.7-4.4 6.4-6.8 11-7.5v-2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.about-showcase__visual {
  border-radius: 26px;
  box-shadow: 0 22px 48px rgba(38, 48, 36, .14);
}

@media (max-width: 980px) {
  .about-showcase__grid {
    direction: rtl;
    grid-template-columns: 1fr;
  }
  .about-showcase__visual {
    order: -1;
  }
  .about-showcase__copy h2 {
    font-size: clamp(2.1rem, 6vw, 3rem);
  }
}
@media (max-width: 640px) {
  .about-showcase__copy h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.5;
  }
  .about-showcase__list li {
    min-height: 54px;
  }
}

/* Softer title scale */
.hero h1 {
  font-size: clamp(2.15rem, 4.2vw, 4.05rem);
  line-height: 1.28;
}
.section-heading h2 {
  font-size: clamp(1.45rem, 2.45vw, 2.15rem);
  line-height: 1.45;
}
.shop-hero h1 {
  font-size: clamp(1.95rem, 3.4vw, 3.15rem);
}
.advisor-hero h1 {
  font-size: clamp(2.15rem, 4.1vw, 3.75rem);
}
.advisor-section-heading h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
}
.home-advisor h2 {
  font-size: clamp(2.05rem, 3.7vw, 3.35rem);
}
.about-showcase__copy h2 {
  font-size: clamp(1.85rem, 2.55vw, 2.75rem);
  line-height: 1.6;
}
.newsletter-box h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(1.85rem, 8.4vw, 2.18rem);
  }
  .about-showcase__copy h2 {
    font-size: clamp(1.75rem, 7.4vw, 2.2rem);
  }
  .home-advisor h2 {
    font-size: clamp(1.9rem, 8.2vw, 2.35rem);
  }
  .advisor-hero h1 {
    font-size: clamp(1.95rem, 8.6vw, 2.45rem);
  }
}

/* Homepage banner redesign */
.hero {
  padding: clamp(52px, 5.8vw, 82px) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(circle at 76% 18%, rgba(218, 186, 122, .16), transparent 28%),
    radial-gradient(circle at 9% 84%, rgba(72, 116, 78, .1), transparent 30%),
    linear-gradient(180deg, #fffdf8 0%, #fff9ef 100%);
}
.hero::before {
  opacity: .42;
}
.hero-grid {
  grid-template-columns: minmax(480px, 1.08fr) minmax(390px, .92fr);
  gap: clamp(34px, 5vw, 72px);
}
.hero-copy {
  text-align: center;
}
.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-inline: auto;
  padding: 8px 20px;
  border: 1px solid rgba(196, 154, 82, .45);
  border-radius: 999px;
  background: rgba(255, 253, 248, .82);
  color: var(--attarof-green-950);
}
.hero-copy .eyebrow::after {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--attarof-saffron);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.5 3.5C13.6 4.1 8.7 7.4 6.8 12.8 5.7 11.6 4.4 10.7 2.5 10.2c.5 4 2.6 6.4 5.6 7.2.7 1.3 1.9 2.4 3.5 3.1.3-3.2-.5-5.6-2.1-7.3 2.7-4.4 6.4-6.8 11-7.5v-2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.5 3.5C13.6 4.1 8.7 7.4 6.8 12.8 5.7 11.6 4.4 10.7 2.5 10.2c.5 4 2.6 6.4 5.6 7.2.7 1.3 1.9 2.4 3.5 3.1.3-3.2-.5-5.6-2.1-7.3 2.7-4.4 6.4-6.8 11-7.5v-2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero h1 {
  max-width: 620px;
  margin: 24px auto 14px;
  font-size: clamp(2.35rem, 4.35vw, 4.15rem);
  line-height: 1.42;
  letter-spacing: 0;
}
.hero h1 span::after {
  bottom: 4px;
  height: 9px;
  opacity: .75;
}
.hero-copy > p {
  max-width: 620px;
  margin-inline: auto;
  color: var(--attarof-ink);
  font-size: clamp(1rem, 1.18vw, 1.16rem);
  line-height: 2.1;
}
.hero-actions {
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}
.hero-actions .btn {
  min-width: 190px;
  justify-content: center;
  padding: 15px 27px;
  border-radius: 16px;
}
.hero-actions .btn-primary {
  box-shadow: 0 18px 42px rgba(28, 80, 59, .22);
}
.hero-trust {
  justify-content: center;
  gap: 18px 28px;
  margin-top: 26px;
  color: #5f685f;
  font-size: .92rem;
}
.hero-trust span::before {
  border: 1px solid rgba(196, 154, 82, .44);
  background: #fffaf0;
  color: var(--attarof-green-800);
}
.hero-visual {
  min-height: clamp(350px, 37vw, 520px);
}
.botanical-card {
  width: min(660px, 100%);
  aspect-ratio: 1008 / 726;
  border-radius: 48% 48% 18% 48%;
  background: url("assets/hero-banner-visual.png") center / cover no-repeat;
  box-shadow: none;
}
.botanical-card::before,
.botanical-card::after {
  content: none;
}
.botanical-card > * {
  display: none !important;
}
.floating-note {
  display: none;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    min-height: 380px;
  }
  .botanical-card {
    width: min(760px, 100%);
  }
}
@media (max-width: 640px) {
  .hero {
    padding-top: 34px;
  }
  .hero-visual {
    min-height: 250px;
  }
  .hero h1 {
    font-size: clamp(2rem, 8.8vw, 2.6rem);
  }
  .hero-actions {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-trust {
    display: grid;
    gap: 10px;
  }
}

/* Benefits strip moved above footer */
.newsletter--before-benefits {
  padding-bottom: 34px;
}

.benefits--footer {
  padding: 0 0 42px;
}

/* Header layout refresh */
.announcement {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #0f3328;
  color: #fff9e8;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: 0;
}

.announcement strong {
  color: #f3d391;
  font-weight: 800;
}

.site-header {
  background: rgba(255, 253, 248, .98);
  border-bottom: 1px solid rgba(16, 46, 36, .10);
  box-shadow: 0 8px 24px rgba(16, 46, 36, .04);
}

.header-inner {
  min-height: 88px;
  grid-template-columns: minmax(190px, auto) minmax(0, 1fr) minmax(120px, auto);
  gap: clamp(22px, 4vw, 58px);
}

.site-header .brand {
  justify-self: end;
}

.site-header .brand-logo {
  height: 68px;
  width: auto;
  max-width: min(220px, 30vw);
  object-fit: contain;
  object-position: center right;
}

.primary-nav {
  justify-self: center;
}

.primary-nav ul {
  gap: clamp(20px, 2.5vw, 34px);
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  color: #172820;
  font-size: 1.06rem;
  font-weight: 700;
  white-space: nowrap;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: var(--attarof-saffron);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: var(--attarof-green-950);
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after {
  transform: scaleX(1);
}

.header-actions {
  justify-self: start;
  gap: 10px;
  direction: rtl;
}

.icon-link {
  position: relative;
  min-width: 50px;
  height: 50px;
  padding: 0 13px;
  border-color: #d8ddd5;
  border-radius: 16px;
  background: #fffdf8;
  color: var(--attarof-green-950);
  box-shadow: 0 5px 16px rgba(16, 46, 36, .045);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.icon-link:hover {
  border-color: rgba(217, 150, 50, .56);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(16, 46, 36, .08);
}

.icon-link svg {
  width: 22px;
  height: 22px;
}

.cart-count {
  position: absolute;
  top: 50%;
  left: -11px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border: 2px solid #fffdf8;
  border-radius: 999px;
  background: var(--attarof-saffron);
  color: #fff;
  font-size: .76rem;
  line-height: 20px;
  transform: translateY(-50%);
}

.advisor-action-link {
  order: -1;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 15px;
  border: 1px solid rgba(203, 164, 100, .72);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--attarof-green-950);
  font-size: .86rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(16, 46, 36, .045);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.advisor-action-link:hover {
  border-color: var(--attarof-saffron);
  background: #fffaf0;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(16, 46, 36, .08);
}

.advisor-action-link__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f4dfb9;
  color: var(--attarof-green-800);
  box-shadow: inset 0 0 0 1px rgba(203, 164, 100, .28);
}

.advisor-action-link__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

@media (max-width: 980px) {
  .announcement {
    min-height: 42px;
    font-size: .86rem;
  }

  .header-inner {
    min-height: 78px;
    grid-template-columns: auto auto;
  }

  .site-header .brand-logo {
    height: 56px;
    max-width: min(180px, 48vw);
  }

  .header-actions {
    justify-self: start;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .advisor-action-link {
    min-height: 40px;
    padding-inline: 10px 12px;
    font-size: .78rem;
  }

  .advisor-action-link__icon {
    width: 28px;
    height: 28px;
  }

  .advisor-action-link__icon svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 640px) {
  .announcement {
    min-height: 38px;
    padding-inline: 14px;
    font-size: .78rem;
  }

  .header-inner {
    min-height: 70px;
    gap: 14px;
  }

  .site-header .brand-logo {
    height: 48px;
    max-width: 48vw;
  }

  .icon-link {
    min-width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .advisor-action-link {
    max-width: 44px;
    min-width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
    border-radius: 14px;
  }

  .advisor-action-link span:not(.advisor-action-link__icon) {
    display: none;
  }

  .cart-count {
    min-width: 22px;
    height: 22px;
    left: -9px;
    font-size: .7rem;
  }
}

/* Product categories dropdown in main menu */
.primary-nav li {
  position: relative;
}

.attarof-category-menu > a {
  gap: 7px;
}

.attarof-category-menu > a::before {
  content: "⌄";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 2px;
  border-radius: 999px;
  background: rgba(217, 150, 50, .12);
  color: var(--attarof-saffron);
  font-size: .9rem;
  line-height: 1;
}

.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 50%;
  z-index: 80;
  min-width: 230px;
  display: grid;
  gap: 5px;
  padding: 10px;
  margin: 0;
  list-style: none;
  border: 1px solid rgba(16, 46, 36, .10);
  border-radius: 18px;
  background: rgba(255, 253, 248, .98);
  box-shadow: 0 18px 44px rgba(16, 46, 36, .12);
  opacity: 0;
  visibility: hidden;
  transform: translate(50%, 8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.primary-nav .sub-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 50%;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(16, 46, 36, .10);
  border-right: 1px solid rgba(16, 46, 36, .10);
  background: rgba(255, 253, 248, .98);
  transform: translateX(50%) rotate(-45deg);
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(50%, 0);
}

.primary-nav .sub-menu a {
  min-height: 38px;
  justify-content: flex-start;
  padding: 6px 12px;
  border-radius: 12px;
  color: var(--attarof-ink);
  font-size: .96rem;
}

.primary-nav .sub-menu a::after {
  display: none;
}

.primary-nav .sub-menu a:hover {
  background: var(--attarof-green-100);
  color: var(--attarof-green-950);
}

@media (max-width: 980px) {
  .primary-nav .sub-menu {
    position: static;
    min-width: 0;
    width: 100%;
    padding: 8px;
    border-radius: 14px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-nav .sub-menu::before {
    display: none;
  }

  .primary-nav .sub-menu a {
    justify-content: center;
  }
}

/* Final mobile navigation overrides: keep these after desktop dropdown rules. */
@media (max-width: 980px) {
  .header-inner {
    position: relative;
    width: min(100% - 24px, 1180px);
    min-height: 72px;
    grid-template-columns: minmax(90px, 1fr) auto;
    gap: 10px;
  }

  .site-header .brand-logo {
    height: 50px;
    max-width: 150px;
  }

  .site-header .brand {
    justify-self: right;
  }

  .header-actions {
    min-width: 0;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .header-actions .account-link {
    display: inline-flex;
  }

  .header-actions .icon-link,
  .header-actions .advisor-action-link {
    flex: 0 0 42px;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
  }

  .primary-nav {
    display: none;
    right: 0;
    left: 0;
    width: auto;
    justify-self: stretch;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .primary-nav.is-open {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-nav > ul,
  .primary-nav .menu {
    width: 100%;
    align-items: stretch;
    gap: 3px;
  }

  .primary-nav a {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: .98rem;
    line-height: 1.7;
    text-align: right;
    white-space: normal;
  }

  .primary-nav .sub-menu,
  .primary-nav li:hover > .sub-menu,
  .primary-nav li:focus-within > .sub-menu {
    position: static;
    right: auto;
    width: auto;
    min-width: 0;
    display: none;
    margin: 3px 8px 7px;
    padding: 7px;
    border-radius: 13px;
    background: #f3f7f3;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-nav .menu-item-has-children.is-submenu-open > .sub-menu {
    display: grid;
  }

  .primary-nav .sub-menu a {
    justify-content: flex-start;
    padding: 7px 12px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    width: calc(100% - 16px);
    min-height: 64px;
    grid-template-columns: minmax(82px, 1fr) auto;
    gap: 6px;
  }

  .site-header .brand-logo {
    height: 42px;
    max-width: 112px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-actions .icon-link,
  .header-actions .advisor-action-link {
    flex-basis: 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .attarof-single-product form.cart {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    grid-template-rows: 50px;
    width: 100%;
    align-items: stretch;
  }

  .attarof-single-product form.cart .quantity {
    grid-column: 1;
    grid-row: 1;
  }

  .attarof-single-product .single_add_to_cart_button {
    grid-column: 2;
    grid-row: 1;
  }

  .attarof-single-product form.cart .quantity,
  .attarof-single-product form.cart .quantity .qty,
  .attarof-single-product .single_add_to_cart_button {
    width: 100%;
  }
}

/* Final product/search sizing overrides */
.shop-search form.woocommerce-product-search button,
.shop-search .woocommerce-product-search button,
.attarof-commerce .shop-search button {
  min-height: 74px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.home .woocommerce ul.products li.product .woocommerce-loop-product__title,
.attarof-single-product .related ul.products li.product .woocommerce-loop-product__title,
.attarof-single-product .upsells ul.products li.product .woocommerce-loop-product__title {
  min-height: 0;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

.attarof-single-product .product_title,
.woocommerce div.product .product_title {
  font-size: clamp(25px, 2.55vw, 34px);
  line-height: 1.42;
  letter-spacing: 0;
}

@media (max-width: 720px) {
  .shop-search form.woocommerce-product-search button,
  .shop-search .woocommerce-product-search button,
  .attarof-commerce .shop-search button {
    min-height: 54px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .home .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .attarof-single-product .related ul.products li.product .woocommerce-loop-product__title,
  .attarof-single-product .upsells ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px;
  }

  .attarof-single-product .product_title,
  .woocommerce div.product .product_title {
    font-size: clamp(23px, 7vw, 30px);
  }
}

/* Final shop hero UX correction: keep this at EOF so legacy archive rules cannot override it. */
.attarof-commerce .shop-hero {
  direction: rtl;
  display: grid;
  grid-template-columns: minmax(520px, 1.08fr) minmax(420px, .92fr);
  grid-template-areas: "copy visual";
  align-items: center;
  gap: clamp(34px, 5vw, 78px);
  min-height: 570px;
  padding: clamp(42px, 5vw, 70px) clamp(42px, 5.2vw, 76px) 98px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 12%, rgba(203, 164, 100, .12), transparent 24%),
    radial-gradient(circle at 18% 52%, rgba(78, 88, 41, .06), transparent 32%),
    linear-gradient(135deg, #fffdf8 0%, #fbf8f1 58%, #fffaf0 100%);
}

.attarof-commerce .shop-hero::before {
  z-index: 0;
  height: 78px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(203, 164, 100, .92), rgba(203, 164, 100, .92)) 50% 12px / 100% 4px no-repeat,
    radial-gradient(130% 92px at 53% -26px, transparent 55%, #123d32 56%);
}

.attarof-commerce .shop-hero::after {
  z-index: 0;
  opacity: .85;
  pointer-events: none;
}

.attarof-commerce .shop-hero-copy,
.attarof-commerce .shop-hero-visual {
  position: relative;
  z-index: 1;
}

.attarof-commerce .shop-hero-copy {
  grid-area: copy;
  width: 100%;
  max-width: 820px;
  justify-self: stretch;
  display: grid;
  justify-items: start;
  text-align: right;
}

.attarof-commerce .shop-hero-breadcrumb {
  margin: 0 0 20px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 34px rgba(20, 61, 50, .07);
}

.attarof-commerce .shop-hero h1 {
  margin: 0 0 20px;
  color: #123d32;
  font-size: clamp(3rem, 4.35vw, 4.9rem);
  line-height: 1.16;
  letter-spacing: -.02em;
}

.attarof-commerce .shop-hero p {
  width: 100%;
  max-width: 790px;
  color: #49564f;
  font-size: clamp(1.05rem, 1.25vw, 1.24rem);
  line-height: 2;
}

.attarof-commerce .shop-hero-intro {
  -webkit-line-clamp: 2;
}

.attarof-commerce .shop-hero-more {
  max-width: 790px;
}

.attarof-commerce .shop-hero-more summary {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  color: #174a38;
}

.attarof-commerce .shop-hero-visual {
  grid-area: visual;
  min-height: 432px;
  align-self: end;
  justify-self: stretch;
}

.attarof-commerce .shop-hero-visual img {
  right: auto;
  left: -20px;
  bottom: 72px;
  width: min(680px, 120%);
  height: min(410px, 78%);
  object-fit: cover;
  object-position: center;
  border-radius: 0 44px 18px 0;
  box-shadow: 0 26px 58px rgba(18, 61, 50, .12);
}

.attarof-commerce .shop-hero-quality {
  right: auto;
  left: 0;
  bottom: 42px;
  width: min(450px, 98%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  border-radius: 26px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 22px 50px rgba(18, 61, 50, .13);
  backdrop-filter: blur(12px);
}

.attarof-commerce .shop-hero-quality span {
  min-width: 0;
  padding: 20px 14px;
}

.attarof-commerce .shop-hero-quality i {
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
}

.attarof-commerce .shop-hero-quality svg {
  width: 24px;
  height: 24px;
}

.attarof-commerce .shop-hero-quality strong {
  font-size: .98rem;
  line-height: 1.6;
}

.attarof-commerce .shop-hero-quality small {
  font-size: .78rem;
  line-height: 1.7;
}

.attarof-commerce .shop-search {
  width: min(100%, 840px);
  margin-top: 30px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(144px, .28fr) minmax(0, 1fr);
  gap: 14px 22px;
  align-items: center;
  border: 1px solid rgba(18, 61, 50, .10);
  border-radius: 26px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 20px 48px rgba(18, 61, 50, .08);
  backdrop-filter: blur(12px);
}

.attarof-commerce .shop-search strong {
  min-height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: #123d32;
  font-size: 1.15rem;
  line-height: 1.4;
  white-space: nowrap;
}

.attarof-commerce .shop-search form,
.attarof-commerce .shop-search form.woocommerce-product-search {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(132px, .24fr) minmax(0, 1fr);
  gap: 14px;
  direction: ltr;
}

.attarof-commerce .shop-search .search-field {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-height: 74px;
  height: 74px;
  padding: 0 24px;
  border: 1px solid rgba(18, 61, 50, .14);
  border-radius: 20px;
  background: #ffffff;
  color: #123d32;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
  direction: rtl;
}

.attarof-commerce .shop-search .search-field::placeholder {
  color: rgba(42, 58, 51, .48);
}

.attarof-commerce .shop-search button,
.attarof-commerce .shop-search form.woocommerce-product-search button {
  grid-column: 1;
  grid-row: 1;
  min-height: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #174a38 0%, #10382d 100%) !important;
  color: #fffaf0 !important;
  box-shadow: 0 16px 30px rgba(18, 61, 50, .22);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.attarof-commerce .shop-search button::before {
  width: 24px;
  height: 24px;
  color: #fffaf0 !important;
  opacity: 1;
}

.attarof-commerce .shop-search button:hover {
  background: linear-gradient(135deg, #1f6048 0%, #123d32 100%) !important;
  color: #fffaf0 !important;
  transform: translateY(-1px);
}

.attarof-commerce .shop-search small {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #69746d;
  font-size: .88rem;
  line-height: 1.8;
}

.attarof-commerce .shop-search small svg {
  width: 18px;
  height: 18px;
  color: #4e8b36;
}

.attarof-commerce .shop-promises {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  margin-top: 28px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  display: flex;
  justify-content: flex-start;
  gap: clamp(22px, 4vw, 54px);
  color: #123d32;
  font-size: 1rem;
  font-weight: 900;
}

.attarof-commerce .shop-promises span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.attarof-commerce .shop-promises span::before {
  display: none;
}

.attarof-commerce .shop-promises svg {
  width: 22px;
  height: 22px;
  color: #2f7a45;
}

@media (max-width: 1180px) {
  .attarof-commerce .shop-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual";
    min-height: 0;
    padding-bottom: 92px;
  }

  .attarof-commerce .shop-hero-copy {
    justify-items: center;
    text-align: center;
  }

  .attarof-commerce .shop-hero p {
    max-width: 820px;
  }

  .attarof-commerce .shop-hero-visual {
    width: min(680px, 100%);
    min-height: 330px;
    justify-self: center;
  }

  .attarof-commerce .shop-hero-visual img {
    left: 50%;
    bottom: 42px;
    width: min(620px, 100%);
    height: 300px;
    transform: translateX(-50%);
    border-radius: 34px;
  }

  .attarof-commerce .shop-hero-quality {
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
  }

  .attarof-commerce .shop-promises {
    justify-content: center;
    margin-bottom: 0;
  }
}

@media (max-width: 720px) {
  .attarof-commerce .shop-hero {
    padding: 24px 16px 78px;
    border-radius: 24px;
    gap: 24px;
  }

  .attarof-commerce .shop-hero h1 {
    font-size: clamp(2.2rem, 10vw, 2.9rem);
  }

  .attarof-commerce .shop-hero p {
    font-size: 1rem;
    line-height: 1.9;
  }

  .attarof-commerce .shop-search {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
  }

  .attarof-commerce .shop-search strong {
    min-height: auto;
    justify-content: flex-start;
  }

  .attarof-commerce .shop-search form,
  .attarof-commerce .shop-search form.woocommerce-product-search {
    grid-template-columns: 1fr;
    direction: rtl;
  }

  .attarof-commerce .shop-search .search-field,
  .attarof-commerce .shop-search button,
  .attarof-commerce .shop-search form.woocommerce-product-search button {
    grid-column: auto;
    grid-row: auto;
    min-height: 54px;
    height: 54px;
    border-radius: 17px;
  }

  .attarof-commerce .shop-search small {
    grid-column: auto;
    justify-self: start;
    text-align: right;
    font-size: .82rem;
  }

  .attarof-commerce .shop-hero-visual {
    min-height: 270px;
  }

  .attarof-commerce .shop-hero-visual img {
    bottom: 54px;
    height: 250px;
  }

  .attarof-commerce .shop-hero-quality {
    bottom: 6px;
    width: min(100%, 430px);
    border-radius: 22px;
  }

  .attarof-commerce .shop-hero-quality span {
    padding: 14px 8px;
  }

  .attarof-commerce .shop-hero-quality i {
    width: 42px;
    height: 42px;
  }

  .attarof-commerce .shop-hero-quality strong {
    font-size: .82rem;
  }

  .attarof-commerce .shop-hero-quality small {
    font-size: .7rem;
  }

  .attarof-commerce .shop-promises {
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    font-size: .86rem;
  }
}

/* Final reference lock — exact shop hero composition. */
.attarof-commerce .shop-hero {
  direction: ltr;
  grid-template-columns: minmax(420px, .82fr) minmax(640px, 1.18fr);
  grid-template-areas: "visual copy";
  align-items: stretch;
  gap: clamp(26px, 3vw, 48px);
  min-height: 610px;
  padding: 40px clamp(34px, 3.4vw, 54px) 96px;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(18,61,50,.12);
  border-radius: 30px;
  background: radial-gradient(circle at 92% 8%, rgba(203,164,100,.08), transparent 24%), linear-gradient(135deg,#fffdf8 0%,#fbf8f1 56%,#fffaf1 100%);
  box-shadow: 0 22px 60px rgba(18,61,50,.07);
}

.attarof-commerce .shop-hero::before,
.attarof-commerce .shop-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  pointer-events: none;
}

.attarof-commerce .shop-hero::after {
  z-index: 0;
  height: 104px;
  background: #cba464;
  clip-path: polygon(0 24%,8% 43%,18% 57%,29% 63%,42% 58%,55% 43%,69% 27%,82% 18%,93% 20%,100% 33%,100% 100%,0 100%);
  opacity: 1;
}

.attarof-commerce .shop-hero::before {
  z-index: 1;
  height: 96px;
  background: linear-gradient(135deg,#123d32,#174f3c 58%,#103a30);
  clip-path: polygon(0 27%,8% 47%,18% 61%,29% 67%,42% 62%,55% 47%,69% 31%,82% 22%,93% 24%,100% 37%,100% 100%,0 100%);
}

.attarof-commerce .shop-hero-copy,
.attarof-commerce .shop-hero-visual {
  z-index: 2;
  min-width: 0;
  direction: rtl;
}

.attarof-commerce .shop-hero-copy {
  grid-area: copy;
  width: 100%;
  max-width: none;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: right;
}

.attarof-commerce .shop-hero-breadcrumb {
  align-self: flex-start;
  margin: 0 0 26px;
  padding: 11px 17px;
  border: 1px solid rgba(203,164,100,.30);
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: #98733d;
  box-shadow: 0 10px 30px rgba(18,61,50,.06);
}

.attarof-commerce .shop-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3.15rem,4.25vw,4.35rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.attarof-commerce .shop-hero p {
  max-width: 760px;
  font-size: clamp(1rem,1.2vw,1.18rem);
  line-height: 1.95;
}

.attarof-commerce .shop-hero-intro {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.attarof-commerce .shop-hero-visual {
  grid-area: visual;
  min-height: 470px;
  align-self: stretch;
}

.attarof-commerce .shop-hero-visual img {
  right: auto;
  bottom: 26px;
  left: -62px;
  width: calc(100% + 100px);
  max-width: none;
  height: calc(100% - 6px);
  object-fit: cover;
  object-position: 66% 52%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: .98;
  transform: none;
  -webkit-mask-image: radial-gradient(ellipse 94% 92% at 48% 52%,#000 55%,rgba(0,0,0,.86) 66%,transparent 84%);
  mask-image: radial-gradient(ellipse 94% 92% at 48% 52%,#000 55%,rgba(0,0,0,.86) 66%,transparent 84%);
}

.attarof-commerce .shop-hero-quality {
  right: auto;
  bottom: 39px;
  left: -16px;
  z-index: 3;
  width: min(460px,calc(100% + 26px));
  min-height: 174px;
  grid-template-columns: repeat(3,minmax(0,1fr));
  direction: ltr;
  overflow: hidden;
  border: 1px solid rgba(203,164,100,.22);
  border-radius: 28px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 18px 48px rgba(18,61,50,.13);
}

.attarof-commerce .shop-hero-quality span {
  padding: 20px 12px 17px;
  direction: rtl;
}

.attarof-commerce .shop-hero-quality span + span {
  border-right: 0;
  border-left: 1px solid rgba(18,61,50,.10);
}

.attarof-commerce .shop-hero-quality i {
  width: 56px;
  height: 56px;
  margin-bottom: 9px;
}

.attarof-commerce .shop-hero-quality svg { width: 27px; height: 27px; }
.attarof-commerce .shop-hero-quality strong { font-size: .96rem; line-height: 1.55; }
.attarof-commerce .shop-hero-quality small { font-size: .73rem; line-height: 1.65; }

.attarof-commerce .shop-search {
  width: 100%;
  max-width: none;
  margin: 30px 0 0;
  padding: 22px 24px 18px;
  grid-template-columns: minmax(0,1fr) 178px;
  gap: 14px 22px;
  direction: ltr;
  border-radius: 27px;
}

.attarof-commerce .shop-search strong {
  grid-column: 2;
  grid-row: 1;
  min-height: 72px;
  padding-right: 4px;
  justify-content: flex-start;
  direction: rtl;
  border-left: 1px solid rgba(18,61,50,.12);
  font-size: 1.15rem;
}

.attarof-commerce .shop-search form,
.attarof-commerce .shop-search form.woocommerce-product-search {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: row;
  gap: 14px;
  direction: rtl;
}

.attarof-commerce .shop-search .search-field {
  flex: 1 1 auto;
  order: 0;
  min-width: 0;
  width: auto;
  height: 72px;
  min-height: 72px;
  padding: 0 24px;
  direction: rtl;
  border-radius: 19px;
}

.attarof-commerce .shop-search button,
.attarof-commerce .shop-search form.woocommerce-product-search button {
  flex: 0 0 140px;
  order: 1;
  width: 140px;
  height: 72px;
  min-height: 72px;
  padding: 0 18px;
  border-radius: 19px;
}

.attarof-commerce .shop-search small {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
  direction: rtl;
  font-size: .84rem;
}

.attarof-commerce .shop-promises {
  width: 100%;
  margin: 24px 0 0;
  padding: 0 4px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0;
  direction: rtl;
  overflow: visible;
  font-size: .96rem;
}

.attarof-commerce .shop-promises span {
  justify-content: center;
  padding: 0 18px;
  white-space: nowrap;
}

.attarof-commerce .shop-promises span + span { border-right: 1px solid rgba(18,61,50,.10); }

@media (max-width: 1120px) {
  .attarof-commerce .shop-hero {
    grid-template-columns: minmax(340px,.78fr) minmax(520px,1.22fr);
    gap: 18px;
    padding-right: 28px;
    padding-left: 28px;
  }
  .attarof-commerce .shop-hero h1 { font-size: clamp(2.7rem,4.7vw,3.7rem); }
  .attarof-commerce .shop-search { grid-template-columns: minmax(0,1fr) 145px; gap: 12px; padding-right: 16px; padding-left: 16px; }
  .attarof-commerce .shop-search button,
  .attarof-commerce .shop-search form.woocommerce-product-search button { flex-basis: 116px; width: 116px; }
}

@media (max-width: 930px) {
  .attarof-commerce .shop-hero {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "visual";
    min-height: 0;
    padding: 34px 28px 92px;
  }
  .attarof-commerce .shop-hero-visual { width: min(620px,100%); min-height: 390px; justify-self: center; }
  .attarof-commerce .shop-hero-visual img { bottom: 30px; left: 50%; width: min(680px,118%); height: 390px; transform: translateX(-50%); }
  .attarof-commerce .shop-hero-quality { bottom: 28px; left: 50%; width: min(470px,96%); transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .attarof-commerce .shop-hero { gap: 18px; padding: 24px 14px 82px; border-radius: 23px; }
  .attarof-commerce .shop-hero-breadcrumb { margin-bottom: 18px; padding: 9px 13px; font-size: .82rem; }
  .attarof-commerce .shop-hero h1 { margin-bottom: 12px; font-size: clamp(2.2rem,11vw,3rem); }
  .attarof-commerce .shop-hero p { font-size: .94rem; line-height: 1.85; }
  .attarof-commerce .shop-search { grid-template-columns: 1fr; gap: 11px; margin-top: 22px; padding: 14px; border-radius: 21px; }
  .attarof-commerce .shop-search strong { grid-column: 1; grid-row: auto; min-height: auto; padding: 0 2px 4px; border-left: 0; font-size: 1rem; }
  .attarof-commerce .shop-search form,
  .attarof-commerce .shop-search form.woocommerce-product-search { grid-column: 1; grid-row: auto; gap: 9px; }
  .attarof-commerce .shop-search .search-field { height: 58px; min-height: 58px; padding: 0 16px; border-radius: 16px; }
  .attarof-commerce .shop-search button,
  .attarof-commerce .shop-search form.woocommerce-product-search button { flex: 0 0 58px; width: 58px; height: 58px; min-height: 58px; padding: 0; border-radius: 16px; overflow: hidden; font-size: 0; }
  .attarof-commerce .shop-search small { grid-column: 1; grid-row: auto; justify-self: start; font-size: .76rem; text-align: right; }
  .attarof-commerce .shop-promises { grid-template-columns: 1fr; gap: 9px; margin-top: 18px; }
  .attarof-commerce .shop-promises span { justify-content: flex-start; padding: 0; border: 0 !important; }
  .attarof-commerce .shop-hero-visual { min-height: 330px; }
  .attarof-commerce .shop-hero-visual img { bottom: 46px; width: 120%; height: 310px; }
  .attarof-commerce .shop-hero-quality { bottom: 22px; min-height: 132px; border-radius: 20px; }
  .attarof-commerce .shop-hero-quality span { padding: 13px 5px 11px; }
  .attarof-commerce .shop-hero-quality i { width: 42px; height: 42px; margin-bottom: 6px; }
  .attarof-commerce .shop-hero-quality svg { width: 21px; height: 21px; }
  .attarof-commerce .shop-hero-quality strong { font-size: .78rem; }
  .attarof-commerce .shop-hero-quality small { font-size: .63rem; line-height: 1.5; }
}

/* The reference search card intentionally reaches into the visual column. */
@media (min-width: 1121px) {
  .attarof-commerce .shop-search {
    width: calc(100% + 190px);
    margin-left: -190px;
  }
}

@media (min-width: 931px) and (max-width: 1120px) {
  .attarof-commerce .shop-search {
    width: calc(100% + 110px);
    margin-left: -110px;
  }
}

/* Reference geometry correction after visual comparison. */
@media (min-width: 931px) {
  .attarof-commerce .shop-hero {
    grid-template-columns: minmax(400px, .78fr) minmax(640px, 1.22fr);
    gap: 34px;
    min-height: 535px;
    padding-top: 28px;
    padding-bottom: 78px;
  }

  .attarof-commerce .shop-hero::after { height: 82px; }
  .attarof-commerce .shop-hero::before { height: 75px; }

  .attarof-commerce .shop-hero-copy {
    justify-content: center;
  }

  .attarof-commerce .shop-hero-breadcrumb {
    margin-bottom: 20px;
  }

  .attarof-commerce .shop-hero h1 {
    margin-bottom: 13px;
    font-size: clamp(3rem, 4vw, 4rem);
  }

  .attarof-commerce .shop-hero-visual {
    min-height: 420px;
  }

  .attarof-commerce .shop-hero-visual img {
    bottom: 12px;
    left: -54px;
    width: calc(100% + 82px);
    height: calc(100% + 6px);
    object-position: 67% 52%;
    -webkit-mask-image: radial-gradient(ellipse 75% 75% at 35% 60%, #000 48%, rgba(0,0,0,.82) 66%, transparent 88%);
    mask-image: radial-gradient(ellipse 75% 75% at 35% 60%, #000 48%, rgba(0,0,0,.82) 66%, transparent 88%);
  }

  .attarof-commerce .shop-hero-quality {
    bottom: 34px;
    left: -18px;
    width: 340px;
    min-height: 138px;
    border-radius: 24px;
  }

  .attarof-commerce .shop-hero-quality span {
    padding: 14px 8px 12px;
  }

  .attarof-commerce .shop-hero-quality i {
    width: 46px;
    height: 46px;
    margin-bottom: 6px;
  }

  .attarof-commerce .shop-hero-quality svg {
    width: 23px;
    height: 23px;
  }

  .attarof-commerce .shop-hero-quality strong {
    font-size: .84rem;
  }

  .attarof-commerce .shop-hero-quality small {
    font-size: .67rem;
  }

  .attarof-commerce .shop-search {
    width: calc(100% + 130px);
    margin-top: 24px;
    margin-left: -130px;
    padding: 17px 20px 14px;
    grid-template-columns: minmax(0, 1fr) 162px;
    gap: 11px 18px;
    border-radius: 24px;
  }

  .attarof-commerce .shop-search strong {
    min-height: 64px;
    font-size: 1.05rem;
  }

  .attarof-commerce .shop-search form,
  .attarof-commerce .shop-search form.woocommerce-product-search {
    gap: 12px;
  }

  .attarof-commerce .shop-search .search-field {
    height: 64px;
    min-height: 64px;
    border-radius: 17px;
  }

  .attarof-commerce .shop-search button,
  .attarof-commerce .shop-search form.woocommerce-product-search button {
    flex-basis: 126px;
    width: 126px;
    height: 64px;
    min-height: 64px;
    border-radius: 17px;
  }

  .attarof-commerce .shop-search small {
    font-size: .78rem;
  }

  .attarof-commerce .shop-promises {
    margin-top: 18px;
    font-size: .9rem;
  }
}

@media (min-width: 931px) and (max-width: 1120px) {
  .attarof-commerce .shop-search {
    width: calc(100% + 80px);
    margin-left: -80px;
  }
}

/* Requested search/card proportions. */
.attarof-commerce .shop-search strong {
  display: none;
}

.attarof-commerce .shop-search form,
.attarof-commerce .shop-search form.woocommerce-product-search,
.attarof-commerce .shop-search small {
  grid-column: 1;
}

@media (min-width: 931px) {
  .attarof-commerce .shop-search {
    width: 100%;
    margin-left: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 18px 13px;
  }

  .attarof-commerce .shop-search form,
  .attarof-commerce .shop-search form.woocommerce-product-search {
    grid-row: 1;
  }

  .attarof-commerce .shop-search small {
    grid-row: 2;
  }

  .attarof-commerce .shop-hero-quality {
    bottom: 0;
    left: -18px;
    width: 460px;
    min-height: 112px;
    border-radius: 22px;
  }

  .attarof-commerce .shop-hero-quality span {
    padding: 11px 12px 9px;
  }

  .attarof-commerce .shop-hero-quality i {
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
  }

  .attarof-commerce .shop-hero-quality svg {
    width: 21px;
    height: 21px;
  }

  .attarof-commerce .shop-hero-quality strong {
    font-size: .83rem;
    line-height: 1.4;
  }

  .attarof-commerce .shop-hero-quality small {
    margin-top: 2px;
    font-size: .65rem;
    line-height: 1.45;
  }
}

/* Remove the stray gold decoration and refine the shop hero on phones. */
.attarof-commerce .shop-hero::after {
  display: none;
}

@media (max-width: 640px) {
  .attarof-commerce .shop-hero {
    gap: 12px;
    padding: 20px 12px 68px;
  }

  .attarof-commerce .shop-hero-breadcrumb {
    align-self: center;
    margin-bottom: 14px;
  }

  .attarof-commerce .shop-hero h1 {
    margin-bottom: 10px;
    font-size: clamp(2.05rem, 10vw, 2.5rem);
    line-height: 1.25;
    text-align: center;
  }

  .attarof-commerce .shop-hero p {
    font-size: .9rem;
    line-height: 1.8;
    text-align: center;
  }

  .attarof-commerce .shop-search {
    margin-top: 17px;
    padding: 12px;
    gap: 8px;
    border-radius: 19px;
  }

  .attarof-commerce .shop-search .search-field {
    height: 54px;
    min-height: 54px;
  }

  .attarof-commerce .shop-search button,
  .attarof-commerce .shop-search form.woocommerce-product-search button {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
    min-height: 54px;
  }

  .attarof-commerce .shop-search small {
    width: 100%;
    justify-content: center;
    font-size: .7rem;
    line-height: 1.6;
  }

  .attarof-commerce .shop-promises {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 14px;
    padding: 0;
    overflow: visible;
    font-size: .72rem;
  }

  .attarof-commerce .shop-promises span {
    min-height: 58px;
    padding: 3px 6px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    border: 0;
    white-space: normal;
    text-align: center;
    line-height: 1.45;
  }

  .attarof-commerce .shop-promises span + span {
    border-right: 1px solid rgba(18, 61, 50, .10);
  }

  .attarof-commerce .shop-promises svg {
    width: 20px;
    height: 20px;
  }

  .attarof-commerce .shop-hero-visual {
    min-height: 300px;
  }

  .attarof-commerce .shop-hero-visual img {
    bottom: 38px;
    width: 116%;
    height: 278px;
  }

  .attarof-commerce .shop-hero-quality {
    bottom: 4px;
    width: min(100%, 430px);
    min-height: 108px;
    border-radius: 18px;
  }

  .attarof-commerce .shop-hero-quality span {
    padding: 9px 4px 8px;
  }

  .attarof-commerce .shop-hero-quality i {
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
  }

  .attarof-commerce .shop-hero-quality svg {
    width: 19px;
    height: 19px;
  }

  .attarof-commerce .shop-hero-quality strong {
    font-size: .72rem;
  }

  .attarof-commerce .shop-hero-quality small {
    font-size: .58rem;
    line-height: 1.4;
  }
}

/* Premium product filter toolbar. */
.attarof-commerce .shop-toolbar {
  display: grid;
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.attarof-commerce .shop-toolbar .woocommerce-notices-wrapper:empty {
  display: none;
}

.attarof-commerce .shop-filter-panel {
  overflow: hidden;
  border: 1px solid rgba(18, 61, 50, .11);
  border-radius: 25px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 46px rgba(18, 61, 50, .07);
  backdrop-filter: blur(12px);
}

.attarof-commerce .shop-filter-panel summary {
  min-height: 78px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.attarof-commerce .shop-filter-panel summary::-webkit-details-marker {
  display: none;
}

.attarof-commerce .shop-filter-heading,
.attarof-commerce .shop-filter-summary-meta,
.attarof-commerce .shop-filter-sale,
.attarof-commerce .shop-filter-actions,
.attarof-commerce .shop-toolbar-result {
  display: flex;
  align-items: center;
}

.attarof-commerce .shop-filter-heading {
  gap: 12px;
}

.attarof-commerce .shop-filter-heading > i {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #eef5ec;
  color: #1f5b46;
}

.attarof-commerce .shop-filter-heading > i svg {
  width: 25px;
  height: 25px;
}

.attarof-commerce .shop-filter-heading > span {
  display: grid;
  gap: 2px;
}

.attarof-commerce .shop-filter-heading strong {
  color: #123d32;
  font-size: 1.08rem;
  line-height: 1.5;
}

.attarof-commerce .shop-filter-heading small {
  color: #6d7d76;
  font-size: .78rem;
  line-height: 1.5;
}

.attarof-commerce .shop-filter-summary-meta {
  gap: 10px;
  color: #466057;
}

.attarof-commerce .shop-filter-summary-meta b {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff5df;
  color: #9a6d29;
  font-size: .74rem;
}

.attarof-commerce .shop-filter-summary-meta svg {
  width: 22px;
  height: 22px;
  transition: transform 180ms ease;
}

.attarof-commerce .shop-filter-panel[open] .shop-filter-summary-meta svg {
  transform: rotate(180deg);
}

.attarof-commerce .shop-filter-form {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid rgba(18, 61, 50, .09);
  background: linear-gradient(180deg, rgba(238, 245, 236, .44), rgba(255, 255, 255, .72));
}

.attarof-commerce .shop-filter-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  border: 0;
}

.attarof-commerce .shop-filter-field--category { grid-column: span 3; }
.attarof-commerce .shop-filter-field--stock { grid-column: span 2; }
.attarof-commerce .shop-filter-field--order { grid-column: span 3; }
.attarof-commerce .shop-filter-field--price { grid-column: span 4; }

.attarof-commerce .shop-filter-field > span,
.attarof-commerce .shop-filter-field legend {
  padding: 0;
  color: #29493e;
  font-size: .82rem;
  font-weight: 900;
  line-height: 1.5;
}

.attarof-commerce .shop-filter-field legend small {
  color: #87928d;
  font-size: .72rem;
  font-weight: 400;
}

.attarof-commerce .shop-filter-field select,
.attarof-commerce .shop-filter-field input[type="number"] {
  width: 100%;
  height: 52px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(18, 61, 50, .14);
  border-radius: 14px;
  outline: 0;
  background: #fff;
  color: #18372d;
  font-family: inherit;
  font-size: .9rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.attarof-commerce .shop-filter-field select:focus,
.attarof-commerce .shop-filter-field input[type="number"]:focus {
  border-color: rgba(31, 91, 70, .48);
  box-shadow: 0 0 0 4px rgba(31, 91, 70, .08);
}

.attarof-commerce .shop-filter-price-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.attarof-commerce .shop-filter-price-inputs > span {
  color: #7b8983;
  font-size: .76rem;
}

.attarof-commerce .shop-filter-sale {
  grid-column: span 4;
  min-height: 58px;
  align-self: end;
  gap: 11px;
  padding: 10px 13px;
  border: 1px solid rgba(18, 61, 50, .11);
  border-radius: 15px;
  background: rgba(255, 255, 255, .78);
  cursor: pointer;
}

.attarof-commerce .shop-filter-sale input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.attarof-commerce .shop-filter-sale__control {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #dce7df;
  transition: background 180ms ease;
}

.attarof-commerce .shop-filter-sale__control::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(18, 61, 50, .18);
  transition: transform 180ms ease;
}

.attarof-commerce .shop-filter-sale input:checked + .shop-filter-sale__control {
  background: #1f5b46;
}

.attarof-commerce .shop-filter-sale input:checked + .shop-filter-sale__control::after {
  transform: translateX(-18px);
}

.attarof-commerce .shop-filter-sale > span:last-child {
  display: grid;
  gap: 2px;
}

.attarof-commerce .shop-filter-sale strong {
  color: #24483b;
  font-size: .86rem;
}

.attarof-commerce .shop-filter-sale small {
  color: #75847d;
  font-size: .7rem;
}

.attarof-commerce .shop-filter-actions {
  grid-column: span 8;
  align-self: end;
  justify-content: flex-end;
  gap: 10px;
}

.attarof-commerce .shop-filter-actions button,
.attarof-commerce .shop-filter-actions a {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.attarof-commerce .shop-filter-actions button {
  border: 0;
  background: linear-gradient(135deg, #1f5b46, #0f3b2f);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 59, 47, .18);
}

.attarof-commerce .shop-filter-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 28px rgba(15, 59, 47, .23);
}

.attarof-commerce .shop-filter-actions button svg {
  width: 20px;
  height: 20px;
}

.attarof-commerce .shop-filter-actions a {
  border: 1px solid rgba(18, 61, 50, .14);
  background: #fff;
  color: #4d6259;
}

.attarof-commerce .shop-toolbar-result {
  justify-content: space-between;
  gap: 16px;
  padding: 9px 16px;
  color: #6d7d76;
}

.attarof-commerce .shop-toolbar-result > span {
  color: #29493e;
  font-size: .82rem;
  font-weight: 900;
}

.attarof-commerce .shop-toolbar-result .woocommerce-result-count {
  margin: 0;
  color: #6d7d76;
  font-size: .86rem;
}

@media (max-width: 900px) {
  .attarof-commerce .shop-filter-field--category,
  .attarof-commerce .shop-filter-field--stock,
  .attarof-commerce .shop-filter-field--order,
  .attarof-commerce .shop-filter-field--price,
  .attarof-commerce .shop-filter-sale,
  .attarof-commerce .shop-filter-actions {
    grid-column: span 6;
  }
}

@media (max-width: 600px) {
  .attarof-commerce .shop-filter-panel {
    border-radius: 20px;
  }

  .attarof-commerce .shop-filter-panel summary {
    min-height: 70px;
    padding: 13px 14px;
  }

  .attarof-commerce .shop-filter-heading {
    gap: 9px;
  }

  .attarof-commerce .shop-filter-heading > i {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .attarof-commerce .shop-filter-heading strong {
    font-size: .95rem;
  }

  .attarof-commerce .shop-filter-heading small {
    font-size: .68rem;
  }

  .attarof-commerce .shop-filter-summary-meta b {
    display: none;
  }

  .attarof-commerce .shop-filter-form {
    padding: 14px;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .attarof-commerce .shop-filter-field--category,
  .attarof-commerce .shop-filter-field--stock,
  .attarof-commerce .shop-filter-field--order,
  .attarof-commerce .shop-filter-field--price,
  .attarof-commerce .shop-filter-sale,
  .attarof-commerce .shop-filter-actions {
    grid-column: 1;
  }

  .attarof-commerce .shop-filter-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .72fr);
  }

  .attarof-commerce .shop-filter-actions button,
  .attarof-commerce .shop-filter-actions a {
    width: 100%;
    padding: 0 12px;
  }

  .attarof-commerce .shop-toolbar-result {
    padding: 7px 4px;
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}
