@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ay-red: #ed1c2e;
  --ay-red-2: #ff3443;
  --ay-bg: #f3f6f8;
  --ay-line: #e2e8ed;
  --ay-shadow: 0 12px 34px rgba(20, 32, 44, .09);
}

html, body, button, input, select, textarea {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

body { background: var(--ay-bg); }
.site-header { box-shadow: 0 5px 22px rgba(7, 13, 20, .2); }
.topbar { font-size: 12px; }
.brand { letter-spacing: -.4px; }
.header-search input { font-size: 14px; }
.header-search button { font-family: inherit; font-weight: 800; }
.navbar .container { justify-content: flex-start; }
.hero {
  padding: 42px 0 48px;
  background: linear-gradient(100deg, rgba(7, 12, 17, .66), rgba(7, 12, 17, .86)), url("../images/home-hero.jpg") center / cover no-repeat, #111820;
}
.hero-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
.hero h1 { font-size: clamp(36px, 4vw, 52px); font-weight: 850; line-height: 1.35; }
.hero p { max-width: 660px; font-size: 16px; }
.hero-visual { min-height: 300px; background: transparent; box-shadow: none; }
.hero-visual:before, .hero-visual:after, .hero-visual .part-disc, .hero-visual .part-caliper { display: none; }
.vehicle-finder { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 12px; gap: 8px; }
.vehicle-finder select { min-width: 0; font-size: 13px; }
.vehicle-finder button { grid-column: 1 / -1; height: 44px; }
.trust-strip .inner { padding: 12px; }
.trust-item { min-height: 66px; }
.section { padding-block: 42px; }
.section-head h2 { font-size: 24px; font-weight: 800; }
.category-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.category-card { padding: 10px 8px 13px; border-radius: 13px; }
.category-card:hover { transform: translateY(-2px); }
.category-card > .category-thumb { width: 100%; height: auto; aspect-ratio: 1 / 1; box-sizing: border-box; display: grid; place-items: center; margin: 0 0 8px; padding: 8px; overflow: hidden; border-radius: 10px; background: #f6f8fa; }
.category-card > .category-thumb > img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain !important; object-position: center; mix-blend-mode: multiply; }
.category-icon { display: none; }
.category-card span { font-size: 12px; }
.ay-vehicle-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ay-vehicle-group { overflow: hidden; border: 1px solid var(--ay-line); border-radius: 13px; background: #fff; box-shadow: 0 5px 20px rgba(20,32,44,.035); }
.ay-vehicle-group-head { position: relative; display: flex; min-height: 112px; align-items: flex-end; gap: 10px; padding: 13px; color: #fff; background: linear-gradient(0deg,rgba(9,16,22,.9),rgba(9,16,22,.08)),#18222b; }
.ay-vehicle-group-head img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.ay-vehicle-group-head strong, .ay-vehicle-group-head span { position: relative; z-index: 1; }
.ay-vehicle-group-head strong { margin-left: auto; font-size: 16px; font-weight: 850; }
.ay-vehicle-group-head span { color: #fff; font-size: 10px; white-space: nowrap; }
.ay-vehicle-subcategories { display: flex; flex-wrap: wrap; gap: 7px; padding: 13px; }
.ay-vehicle-subcategories a { padding: 6px 9px; border: 1px solid #e7ebef; border-radius: 7px; background: #f8fafb; color: #36424d; font-size: 11px; }
.ay-vehicle-subcategories a:hover { border-color: var(--ay-red); color: var(--ay-red); }
.ay-vehicle-group-note { margin: 0; padding: 13px; color: #66717b; font-size: 11px; }
.ay-brand-list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.ay-brand-list span { display: grid; place-items: center; min-height: 62px; border: 1px solid var(--ay-line); border-radius: 10px; background: #fff; color: #263440; font-size: 18px; font-weight: 850; }
.ay-brands .section-head > span { color: var(--ay-muted); font-size: 12px; }
.car-card { padding: 8px; }
.car-thumb { height: 66px; margin-bottom: 7px; border-radius: 9px; background: linear-gradient(180deg, #f8fafb, #e8edf1); }
.car-thumb { overflow: hidden; }
.car-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ay-shop-banner { padding: 27px 0 30px; color: #fff; background: linear-gradient(90deg, rgba(8,14,19,.45), rgba(8,14,19,.9)), url("../images/home-hero.jpg") center 48% / cover no-repeat, #121920; }
.ay-shop-crumb { color: #d6dde3; font-size: 11px; }
.ay-shop-crumb span { padding: 0 6px; color: var(--ay-red-2); }
.ay-shop-banner h1 { margin: 13px 0 4px; font-size: 30px; font-weight: 850; }
.ay-shop-banner p { margin: 0; color: #d4dbe1; font-size: 13px; }
.ay-shop-fitment { display: flex; align-items: center; gap: 12px; min-height: 64px; margin-top: 16px; padding: 10px 16px; border: 1px solid var(--ay-line); border-radius: 10px; background: #fff; }
.ay-fitment-check { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #22a56b; color: #fff; font-weight: 900; }
.ay-shop-fitment small { display: block; color: var(--ay-muted); font-size: 10px; }
.ay-shop-fitment strong { font-size: 13px; }
.ay-fitment-message { margin-right: auto; color: #68737e; font-size: 12px; }
.ay-shop-fitment a { padding: 8px 11px; border: 1px solid var(--ay-line); border-radius: 8px; font-size: 11px; }
.ay-quick-categories { margin: 14px 0; padding: 13px; border: 1px solid var(--ay-line); border-radius: 11px; background: #fff; }
.ay-quick-categories-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 9px; }
.ay-quick-categories-head h2 { margin: 0; color: #25313b; font-size: 14px; font-weight: 850; }
.ay-quick-categories-head > a { color: var(--ay-red); font-size: 10px; font-weight: 750; white-space: nowrap; }
.ay-quick-categories-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.ay-quick-categories-list > a { display: flex; flex: 0 0 132px; min-height: 58px; flex-direction: column; justify-content: center; gap: 3px; padding: 8px 10px; border: 1px solid #e8edf0; border-radius: 9px; background: #f8fafb; color: #34414b; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.ay-quick-categories-list > a:hover, .ay-quick-categories-list > a[aria-current="page"] { border-color: rgba(237,28,46,.5); background: #fff6f6; color: var(--ay-red); }
.ay-quick-categories-list > a > span { overflow: hidden; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.ay-quick-categories-list > a > small { color: #7b858e; font-size: 9px; }
.ay-filter-title { margin: 0 0 8px; font-size: 17px; }
.ay-category-filter { margin: 0; padding: 0; list-style: none; }
.ay-category-filter li { margin: 0; border-bottom: 1px solid #f0f2f4; }
.ay-category-filter ul.children { margin: 0 10px 4px 0; padding: 0 10px 0 0; border-right: 1px solid #e5e9ed; list-style: none; }
.ay-category-filter ul.children li { border-bottom: 0; }
.ay-category-filter a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; color: #48545f; font-size: 12px; }
.ay-category-filter a:hover { color: var(--ay-red); }
.ay-category-filter small { color: #8d979f; }
.shop-sidebar .filter-group h3 { margin: 0 0 10px; color: #25313b; font-size: 15px; line-height: 1.6; }
.ay-category-filter > li { padding: 0; }
.ay-category-filter .ay-category-item > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 8px 2px; }
.ay-category-filter .ay-category-name { min-width: 0; overflow-wrap: anywhere; }
.ay-category-filter .ay-category-count { flex: 0 0 auto; min-width: 26px; padding: 2px 7px; border-radius: 20px; background: #f2f5f7; color: #737e88; font-size: 10px; line-height: 1.5; text-align: center; }
.ay-category-filter .ay-category-item.is-current > a { color: var(--ay-red); font-weight: 800; }
.ay-category-filter .ay-category-item.is-current > a .ay-category-count { background: #fff0f1; color: var(--ay-red); }
.ay-filter-toggle { display: none; }
.ay-filter-content { display: block; }
.ay-vehicle-filter select { width: 100%; min-height: 38px; border: 1px solid var(--ay-line); border-radius: 7px; background: #fff; padding: 7px; }
.ay-vehicle-filter button { width: 100%; margin-top: 8px; padding: 9px; border: 0; border-radius: 7px; background: var(--ay-red); color: #fff; font-family: inherit; font-size: 11px; font-weight: 750; cursor: pointer; }
.ay-brand-filter { color: #515e69; font-size: 11px; line-height: 2; }
.ay-shop-results > .shop-toolbar { margin-bottom: 12px; }
body.home .woocommerce ul.products.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ay-shop-page .section { padding-top: 20px; }
.products-layout { grid-template-columns: 276px minmax(0, 1fr); gap: 14px; }
.shop-sidebar { border-radius: 12px; padding: 16px; }
.shop-toolbar { border-radius: 12px; }
.woocommerce ul.products { gap: 11px; }
.woocommerce ul.products li.product { border-radius: 12px; box-shadow: 0 4px 14px rgba(18, 33, 45, .035); }
.woocommerce ul.products li.product a img { height: 196px; padding: 12px; background: linear-gradient(180deg, #fff, #f7f9fa); object-fit: contain; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 54px; padding: 10px 12px 3px; font-size: 13px; line-height: 1.7; font-weight: 800; }
.woocommerce ul.products li.product .price { display: block; padding: 0 12px; font-size: 14px; font-weight: 850; }
.woocommerce ul.products li.product .button { margin: 8px 10px 0; padding: 9px 7px; font-size: 12px; font-weight: 750; }
.woocommerce span.onsale { font-size: 11px; }
.ay-product-fitment { margin: 5px 11px 6px; padding: 5px 7px; border-radius: 6px; background: #e8f7ef; color: #168848; font-size: 10px; text-align: center; }
.ay-product-brand { padding: 0 12px; color: #7b858e; font-size: 10px; }
.woocommerce div.product .product_title { font-size: 26px; line-height: 1.6; }
.woocommerce div.product .price { color: var(--ay-red); font-weight: 850; }
.site-footer { margin-top: 32px; }

.ay-membership-picker { margin: 22px 0 14px; padding: 18px; border: 1px solid var(--ay-line); border-radius: 14px; background: #f8fafb; }
.ay-membership-picker legend { padding: 0 8px; font-size: 17px; font-weight: 800; color: #17202a; }
.ay-membership-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ay-membership-card { position: relative; display: block; cursor: pointer; }
.ay-membership-card > input { position: absolute; opacity: 0; inset: 12px 12px auto auto; }
.ay-membership-card-content { display: flex; min-height: 100%; flex-direction: column; gap: 9px; padding: 15px; border: 1px solid #dbe2e8; border-radius: 12px; background: white; transition: .18s ease; }
.ay-membership-card input:checked + .ay-membership-card-content { border-color: var(--ay-red); box-shadow: 0 0 0 2px rgba(237,28,46,.12); }
.ay-membership-card-content > strong { padding-right: 23px; font-size: 16px; }
.ay-membership-price { color: var(--ay-red); font-size: 16px; font-weight: 850; }
.ay-membership-price small { color: #6d7680; font-size: 11px; font-weight: 500; }
.ay-membership-features { display: grid; gap: 5px; color: #59636e; font-size: 12px; line-height: 1.7; }
.ay-membership-features span:before { content: "✓"; margin-left: 6px; color: #1a9953; font-weight: 800; }
.ay-membership-choose { margin-top: auto; padding-top: 7px; color: #626d77; font-size: 11px; }
.ay-membership-note { margin: 12px 0 0; color: #727c86; font-size: 11px; line-height: 1.8; }
.ay-account-membership { margin: 20px 0; padding: 16px; border: 1px solid var(--ay-line); border-radius: 12px; background: #fff; }
.ay-account-membership h3 { margin-top: 0; }
.ay-membership-status { margin-right: 10px; padding: 4px 8px; border-radius: 30px; background: #fff4e3; color: #9a6512; font-size: 11px; }

/* Single product detail layout: clear hierarchy, brand colors, and no taxonomy clutter. */
body.single-product .ay-product-page .section { padding: 26px 0 48px; }
body.single-product .ay-product-page > .section > .container { max-width: 1200px; }
body.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--ay-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 32, 44, .06);
}
body.single-product div.product .woocommerce-product-gallery {
  grid-column: 1;
  grid-row: 1;
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #edf0f2;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}
body.single-product .woocommerce-product-gallery__wrapper { margin: 0 !important; }
body.single-product .woocommerce-product-gallery__image { display: grid !important; min-height: 390px; place-items: center; }
body.single-product .woocommerce-product-gallery__image img { display: block; width: 100%; max-height: 500px; margin: auto !important; object-fit: contain; }
body.single-product .woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 9px; margin: 12px 0 0 !important; padding: 0; }
body.single-product .woocommerce-product-gallery .flex-control-thumbs li { float: none; width: 64px !important; overflow: hidden; border: 1px solid var(--ay-line); border-radius: 9px; }
body.single-product div.product .summary.entry-summary {
  grid-column: 2;
  grid-row: 1;
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 10px 8px 4px;
}
body.single-product .summary .product_title { margin: 0 0 15px !important; color: #17212b; font-size: clamp(24px, 2.2vw, 32px) !important; font-weight: 850; line-height: 1.65 !important; }
body.single-product .summary p.price { display: flex; width: fit-content; align-items: baseline; gap: 6px; margin: 0 0 16px !important; padding: 9px 13px; border: 1px solid #ffe0e3; border-radius: 11px; background: #fff4f5; color: var(--ay-red) !important; font-size: 22px !important; font-weight: 900 !important; }
body.single-product .summary p.price del { color: #8a9299 !important; font-size: 14px; font-weight: 500; }
body.single-product .summary p.price ins { color: var(--ay-red) !important; text-decoration: none; }
body.single-product .summary p.price .woocommerce-Price-amount,
body.single-product .summary p.price .woocommerce-Price-currencySymbol { color: inherit !important; }
body.single-product .summary p.price .woocommerce-Price-amount bdi { display: inline-flex; align-items: baseline; gap: 5px; direction: rtl; }
body.single-product .summary .woocommerce-product-details__short-description { margin: 0 0 14px; color: #68737e; font-size: 14px; line-height: 1.9; }
body.single-product .ay-single-product-details { display: flex; flex-wrap: wrap; gap: 9px; margin: 15px 0 19px; }
body.single-product .ay-single-product-details p { display: inline-flex; align-items: center; gap: 5px; min-height: 38px; margin: 0; padding: 7px 11px; border: 1px solid #e5eaee; border-radius: 9px; background: #f8fafb; color: #34414b; font-size: 12px; line-height: 1.65; }
body.single-product .ay-single-product-details p:before { content: "✓"; display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; border-radius: 50%; background: #e8f7ef; color: #17934d; font-size: 11px; font-weight: 900; }
body.single-product .ay-single-product-details strong { color: #68737e; font-weight: 650; }
body.single-product .summary form.cart { display: flex; align-items: stretch; gap: 10px; margin: 20px 0 15px !important; }
body.single-product .summary form.cart .quantity { float: none !important; margin: 0 !important; }
body.single-product .summary form.cart .quantity input.qty { width: 74px; height: 48px; border: 1px solid #dce3e8; border-radius: 10px; background: #fff; color: #27323c; font: inherit; font-size: 15px; }
body.single-product .summary form.cart .single_add_to_cart_button { flex: 1; min-height: 48px; margin: 0 !important; padding: 10px 18px; border: 0 !important; border-radius: 10px; background: var(--ay-red) !important; color: #fff !important; font-family: inherit; font-size: 14px; font-weight: 800; box-shadow: 0 7px 16px rgba(237, 28, 46, .17); transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
body.single-product .summary form.cart .single_add_to_cart_button:hover { background: #cf1425 !important; transform: translateY(-1px); box-shadow: 0 10px 20px rgba(237, 28, 46, .22); }
body.single-product .summary .product_meta { display: flex; width: fit-content; margin-top: 17px; padding: 8px 11px; border: 1px solid #e8edf0; border-radius: 8px; background: #fbfcfd; color: #78838d; font-size: 11px; }
body.single-product .summary .product_meta .sku_wrapper { display: inline-flex; gap: 5px; }
body.single-product .summary .product_meta .sku { color: #3d4a55; font-weight: 750; }
body.single-product .summary .ay-product-sku { display: inline-flex; align-items: center; gap: 7px; margin-top: 17px; padding: 8px 11px; border: 1px solid #e8edf0; border-radius: 8px; background: #fbfcfd; color: #78838d; font-size: 11px; }
body.single-product .summary .ay-product-sku strong { color: #3d4a55; font-weight: 750; }
body.single-product .woocommerce-tabs,
body.single-product section.related.products,
body.single-product section.upsells.products { grid-column: 1 / -1; float: none; width: 100%; min-width: 0; margin: 0 !important; }
body.single-product .woocommerce-tabs { padding: 16px; border: 1px solid var(--ay-line); border-radius: 16px; background: #fff; }
body.single-product .woocommerce-tabs ul.tabs { display: flex; gap: 8px; margin: 0 0 13px !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
body.single-product .woocommerce-tabs ul.tabs:before,
body.single-product .woocommerce-tabs ul.tabs li:before,
body.single-product .woocommerce-tabs ul.tabs li:after { display: none !important; }
body.single-product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
body.single-product .woocommerce-tabs ul.tabs li a { display: block; padding: 9px 15px !important; border: 1px solid #e2e8ed; border-radius: 9px; background: #f7f9fa; color: #56616b !important; font-family: inherit; font-size: 13px; font-weight: 750; }
body.single-product .woocommerce-tabs ul.tabs li.active a { border-color: #ffd4d8; background: #fff1f2; color: var(--ay-red) !important; }
body.single-product .woocommerce-tabs .panel { margin: 0 !important; padding: 4px 3px 2px !important; color: #46525d; font-size: 13px; line-height: 2; }
body.single-product .woocommerce-tabs .panel h2 { margin: 0 0 8px; color: #202b35; font-size: 17px; font-weight: 850; }
body.single-product section.related.products { padding: 18px; border: 1px solid var(--ay-line); border-radius: 16px; background: #fff; }
body.single-product section.related.products > h2,
body.single-product section.upsells.products > h2 { margin: 0 0 14px; color: #202b35; font-size: 20px; font-weight: 850; }
body.single-product section.related.products ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 800px) {
  body.single-product .ay-product-page .section { padding: 14px 0 30px; }
  body.single-product .ay-product-page > .section > .container { width: auto; margin-inline: 12px; }
  body.single-product div.product { grid-template-columns: minmax(0, 1fr); gap: 13px; padding: 11px; border-radius: 16px; }
  body.single-product div.product .woocommerce-product-gallery { grid-column: 1; grid-row: 1; padding: 9px; border-radius: 12px; }
  body.single-product .woocommerce-product-gallery__image { min-height: 0; aspect-ratio: 1 / 1; }
  body.single-product .woocommerce-product-gallery__image img { max-height: 360px; }
  body.single-product div.product .summary.entry-summary { grid-column: 1; grid-row: 2; padding: 4px 3px 7px; }
  body.single-product .summary .product_title { margin-bottom: 10px !important; font-size: 22px !important; }
  body.single-product .summary p.price { margin-bottom: 11px !important; font-size: 19px !important; }
  body.single-product .ay-single-product-details { gap: 7px; margin: 11px 0 14px; }
  body.single-product .ay-single-product-details p { font-size: 11px; }
  body.single-product .summary form.cart { gap: 8px; margin: 15px 0 11px !important; }
  body.single-product .summary form.cart .quantity input.qty { width: 64px; height: 46px; }
  body.single-product .summary form.cart .single_add_to_cart_button { min-height: 46px; padding: 9px 10px; font-size: 13px; }
  body.single-product .woocommerce-tabs,
  body.single-product section.related.products { padding: 12px; border-radius: 13px; }
  body.single-product .woocommerce-tabs ul.tabs { flex-wrap: wrap; }
  body.single-product section.related.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ay-auth-switcher { max-width: 760px; margin: 22px auto 16px; padding: 14px; border: 1px solid var(--ay-line); border-radius: 14px; background: #fff; box-shadow: 0 5px 20px rgba(20,32,44,.045); }
.ay-auth-primary-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ay-auth-primary-tabs button, .ay-auth-method-switch button { min-height: 42px; padding: 9px 12px; border: 1px solid #dfe5ea; border-radius: 9px; background: #f8fafb; color: #3b4650; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ay-auth-primary-tabs button.is-active, .ay-auth-method-switch button.is-active { border-color: var(--ay-red); background: var(--ay-red); color: #fff; }
.ay-auth-method-switch { display: flex; align-items: center; gap: 8px; margin-top: 13px; }
.ay-auth-method-switch > span { margin-left: auto; color: #58636d; font-size: 12px; }
.ay-auth-method-switch button { min-height: 36px; padding: 6px 12px; font-size: 12px; }
.ay-auth-hint { margin: 10px 0 0; color: #6d7780; font-size: 11px; line-height: 1.8; }
.woocommerce-account #customer_login { display: block; }
.woocommerce-account #customer_login > .u-column1, .woocommerce-account #customer_login > .u-column2 { float: none; width: 100%; margin: 0; }
.woocommerce-account #customer_login [hidden], .ay-auth-switcher [hidden] { display: none !important; }
.ay-register-phone { margin-top: 12px; }
.ay-register-phone label .optional { color: #78838d; font-size: 11px; }
.ay-register-phone input { width: 100%; min-height: 44px; border: 1px solid var(--ay-line); border-radius: 8px; padding: 9px 11px; font-family: inherit; }
.ay-register-phone input:focus { border-color: var(--ay-red); outline: 2px solid rgba(237,28,46,.12); }

@media (max-width: 1100px) {
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ay-vehicle-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .products-layout { grid-template-columns: 240px minmax(0, 1fr); }
  body.home .woocommerce ul.products.columns-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ay-brand-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .products-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; padding: 0; overflow: hidden; }
  .ay-filter-toggle { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 0; background: #fff; color: #25313b; font: inherit; font-size: 14px; font-weight: 850; text-align: right; cursor: pointer; }
  .ay-filter-toggle-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: #fff0f1; color: var(--ay-red); font-size: 20px; line-height: 1; }
  .shop-sidebar.is-open .ay-filter-toggle-icon { transform: rotate(45deg); }
  .ay-filter-content { display: none; padding: 0 15px 12px; }
  .shop-sidebar.is-open .ay-filter-content { display: block; }
  .ay-filter-title { display: none; }
  .shop-sidebar .filter-group { padding: 12px 0; }
  .ay-category-filter { max-height: 250px; overflow-y: auto; overscroll-behavior: contain; }
  .ay-category-filter .ay-category-item > a { min-height: 42px; font-size: 13px; }
  .ay-membership-grid { grid-template-columns: 1fr; }
  .ay-membership-card-content { min-height: auto; }
  .ay-auth-switcher { margin: 16px auto 12px; padding: 11px; }
  .ay-auth-method-switch { flex-wrap: wrap; }
  .ay-auth-method-switch > span { width: 100%; }
  .ay-shop-fitment { flex-wrap: wrap; }
  .ay-fitment-message { order: 4; width: 100%; }
  .ay-vehicle-category-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 30px 0 36px; }
  .hero h1 { font-size: 31px; }
  .vehicle-finder { grid-template-columns: 1fr 1fr; }
  .vehicle-finder button { grid-column: 1 / -1; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.home .woocommerce ul.products.columns-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce ul.products li.product a img { height: 155px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 48px; font-size: 12px; }
  .ay-brand-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ay-shop-banner h1 { font-size: 24px; }
  .ay-quick-categories { margin-inline: -4px; padding: 10px; }
  .ay-quick-categories-list > a { flex-basis: 112px; min-height: 54px; }
}

/* Accessible responsive primary navigation. */
.ay-primary-navigation { flex: 1; }
.ay-primary-menu { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.ay-primary-menu li { margin: 0; padding: 0; }
.ay-primary-menu a { display: inline-flex; align-items: center; min-height: 46px; }
.ay-mobile-menu-toggle { display: none; }
.ay-mobile-menu-extras { display: none; }
.ay-mobile-menu-toggle:focus-visible, .ay-primary-menu a:focus-visible, .ay-mobile-menu-extras a:focus-visible { outline: 3px solid #ff6973; outline-offset: 3px; }
@media (max-width: 900px) {
  .header-main { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 10px 0; }
  .brand { grid-column: 1; grid-row: 1; }
  .header-search { grid-column: 1 / -1; grid-row: 2; }
  .header-actions { display: none; }
  .navbar { display: block; }
  .navbar > .container { display: block; min-height: 0; padding-top: 8px; padding-bottom: 8px; }
  .ay-mobile-menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; background: #202832; color: #fff; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; }
  .ay-menu-icon { display: grid; gap: 4px; width: 19px; }
  .ay-menu-icon span { display: block; width: 19px; height: 2px; border-radius: 2px; background: #ff3443; transition: transform .18s ease, opacity .18s ease; }
  .ay-mobile-menu-toggle[aria-expanded="true"] .ay-menu-icon span:first-child { transform: translateY(6px) rotate(45deg); }
  .ay-mobile-menu-toggle[aria-expanded="true"] .ay-menu-icon span:nth-child(2) { opacity: 0; }
  .ay-mobile-menu-toggle[aria-expanded="true"] .ay-menu-icon span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .ay-primary-navigation { display: none; margin-top: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: #1b232c; box-shadow: 0 12px 28px rgba(0,0,0,.22); }
  .navbar.is-open .ay-primary-navigation { display: block; }
  .ay-primary-menu { display: block; }
  .ay-primary-menu li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .ay-primary-menu li:last-child { border-bottom: 0; }
  .ay-primary-menu a { display: flex; min-height: 43px; padding: 7px 3px; font-size: 14px; }
  .ay-mobile-menu-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 9px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); }
  .ay-mobile-menu-extras a { display: flex; justify-content: center; align-items: center; gap: 5px; min-height: 40px; padding: 7px; border-radius: 8px; background: #2a3540; color: #fff; font-size: 12px; }
  .ay-primary-navigation[hidden] { display: none !important; }
}
@media (min-width: 901px) {
  .ay-primary-navigation { display: block !important; }
}

/* Account, verified contact details, and footer trust marks. */
.ay-auth-switcher { max-width: 880px; padding: 20px; border-color: #dfe5eb; border-radius: 18px; box-shadow: 0 14px 38px rgba(20,32,44,.07); }
.ay-auth-intro { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.ay-auth-mark { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; background: #fff1f2; color: var(--ay-red); font-size: 25px; }
.ay-auth-intro h2 { margin: 0 0 4px; color: #18222c; font-size: 21px; font-weight: 850; }
.ay-auth-intro p { margin: 0; color: #697580; font-size: 12px; line-height: 1.9; }
.ay-auth-primary-tabs { padding: 5px; border-radius: 12px; background: #f2f5f7; }
.ay-auth-primary-tabs button { min-height: 46px; border-color: transparent; background: transparent; }
.ay-auth-primary-tabs button.is-active { box-shadow: 0 4px 12px rgba(237,28,46,.18); }
.ay-auth-method-switch { justify-content: flex-start; margin: 17px 0 12px; }
.ay-auth-method-switch > span { margin: 0 0 0 auto; font-weight: 700; }
.ay-auth-method-switch button { min-height: 40px; }
.ay-otp-login { margin: 12px 0 0; padding: 17px; border: 1px solid #e2e8ed; border-radius: 13px; background: #fbfcfd; }
.ay-otp-login label { display: block; margin-bottom: 7px; color: #29343e; font-size: 13px; font-weight: 750; }
.ay-otp-input-row { display: flex; gap: 9px; }
.ay-otp-input-row input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #dce3e8; border-radius: 9px; background: #fff; font: inherit; }
.ay-otp-input-row input:focus { outline: 2px solid rgba(237,28,46,.15); border-color: var(--ay-red); }
.ay-otp-input-row .button { min-width: 156px; min-height: 46px; margin: 0; border: 0; border-radius: 9px; background: var(--ay-red); color: #fff; font-family: inherit; font-weight: 750; cursor: pointer; }
.ay-otp-input-row .button:disabled { opacity: .58; cursor: not-allowed; }
.ay-otp-phone-stage small { display: block; margin-top: 8px; color: #78838d; font-size: 11px; }
.ay-otp-feedback { min-height: 20px; margin: 10px 0 0; color: #68737e; font-size: 12px; line-height: 1.8; }
.ay-otp-feedback:empty { display: none; }
.ay-otp-change { margin-top: 8px; padding: 0; border: 0; background: transparent; color: #536270; font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.ay-auth-benefits { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; color: #65717c; font-size: 11px; }
.ay-auth-benefits span:before { content: "✓"; margin-left: 5px; color: #17894b; font-weight: 900; }
.woocommerce-account #customer_login { max-width: 880px; margin: 0 auto; }
.woocommerce-account #customer_login > .u-column1, .woocommerce-account #customer_login > .u-column2 { padding: 22px; border: 1px solid var(--ay-line); border-radius: 15px; background: #fff; box-shadow: 0 8px 24px rgba(20,32,44,.04); }
.woocommerce-account #customer_login > .u-column1 h2, .woocommerce-account #customer_login > .u-column2 h2 { margin: 0 0 15px; color: #1b2630; font-size: 19px; font-weight: 850; }
.woocommerce-account #customer_login.ay-auth-phone-mode .u-column1 form.login { display: none; }
.woocommerce-account #customer_login form .form-row { margin-bottom: 13px; }
.woocommerce-account #customer_login form label { color: #34414c; font-size: 12px; font-weight: 700; }
.woocommerce-account #customer_login form input.input-text { min-height: 44px; border: 1px solid #dce3e8; border-radius: 8px; padding: 9px 11px; font-family: inherit; }
.woocommerce-account #customer_login form input.input-text:focus { border-color: var(--ay-red); outline: 2px solid rgba(237,28,46,.12); }
.woocommerce-account #customer_login form button.button { min-height: 44px; padding: 9px 20px; border-radius: 8px; background: var(--ay-red); font-family: inherit; font-weight: 750; }
.ay-registration-intro { display: grid; gap: 4px; margin-bottom: 15px; padding: 12px; border-radius: 9px; background: #f5f8fa; }
.ay-registration-intro strong { color: #26323d; font-size: 14px; }
.ay-registration-intro span { color: #6b7680; font-size: 11px; line-height: 1.8; }
.ay-registration-name-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ay-registration-name-fields .form-row { float: none; width: auto; margin: 0; }
.ay-registration-name-fields .ay-register-phone { grid-column: 1 / -1; }
.ay-register-phone small { display: block; margin-top: 6px; color: #77838d; font-size: 10px; line-height: 1.7; }
.ay-membership-picker { padding: 13px; background: #f8fafb; }
.ay-membership-picker legend { font-size: 14px; }
.ay-membership-card-content { padding: 12px; }
.ay-membership-price small { display: inline-block; color: #9a6512; }
.ay-membership-note { padding: 9px 11px; border-radius: 8px; background: #fff8e9; color: #75561b; }

.ay-service-promises { position: relative; padding: 22px 0; border-top: 1px solid #e4e8ec; border-bottom: 1px solid #e4e8ec; background: linear-gradient(180deg, #fff 0%, #f6f8fa 100%); }
.ay-service-promises-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ay-service-promise { display: flex; align-items: center; gap: 13px; min-height: 88px; padding: 14px 16px; border: 1px solid #e6eaee; border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(20,32,44,.045); }
.ay-promise-icon { display: grid; flex: 0 0 48px; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: #fff0f1; color: var(--ay-red); }
.ay-promise-icon svg { display: block; width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.ay-promise-copy { display: grid; gap: 4px; min-width: 0; }
.ay-promise-copy strong { color: #1c2731; font-size: 14px; font-weight: 850; line-height: 1.6; }
.ay-promise-copy small { color: #697681; font-size: 11px; line-height: 1.8; }
.site-footer { margin-top: 0; background: #151d25; color: #d5dbe0; }
.footer-main { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.25fr; gap: 28px; padding-top: 34px; padding-bottom: 26px; }
.footer-about .brand { display: inline-flex; color: #fff; }
.footer-about p, .footer-contact p { margin: 12px 0 0; color: #aeb8c1; font-size: 12px; line-height: 2; }
.footer-links h2, .footer-contact h2 { margin: 0 0 11px; color: #fff; font-size: 14px; font-weight: 800; }
.footer-links a, .footer-contact a { display: block; margin: 8px 0; color: #b4bec7; font-size: 12px; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact .footer-map-link { color: #ff606d; font-weight: 750; }
.footer-trust { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 18px; padding-top: 19px; padding-bottom: 20px; border-top: 1px solid rgba(255,255,255,.11); }
.footer-trust-heading h2 { margin: 0; color: #fff; font-size: 15px; font-weight: 800; }
.footer-trust-heading p { margin: 5px 0 0; color: #9ba6af; font-size: 11px; }
.footer-trust-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.footer-trust-logo { display: grid; place-items: center; min-height: 142px; padding: 10px; border: 1px solid #e4e8eb; border-radius: 11px; background: #fff; }
.footer-trust-logo img { display: block; width: auto; max-width: 100%; height: 120px; object-fit: contain; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 13px 0; color: #9ba6af; font-size: 11px; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-credit { color: #cbd2d8; text-decoration: none; text-underline-offset: 3px; }
.footer-credit:hover, .footer-credit:focus-visible { color: #fff; text-decoration: underline; }
@media (max-width: 600px) { .footer-bottom .container { justify-content: center; text-align: center; } }

.ay-contact-hero { padding: 35px 0 31px; color: #fff; background: linear-gradient(100deg,rgba(11,18,24,.92),rgba(11,18,24,.76)),url("../images/home-hero.jpg") center 52% / cover no-repeat,#151d25; }
.ay-contact-hero span { color: #ff7a84; font-size: 12px; font-weight: 750; }
.ay-contact-hero h1 { margin: 7px 0; font-size: 30px; font-weight: 850; }
.ay-contact-hero p { margin: 0; color: #d1d8de; font-size: 13px; }
.ay-contact-content { display: grid; grid-template-columns: minmax(280px,.85fr) minmax(0,1.5fr); gap: 18px; padding-top: 24px; padding-bottom: 28px; }
.ay-contact-details { display: grid; gap: 12px; align-content: start; }
.ay-contact-card { display: flex; gap: 13px; padding: 17px; border: 1px solid var(--ay-line); border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(20,32,44,.035); }
.ay-contact-icon { display: grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #fff0f1; color: var(--ay-red); font-size: 20px; }
.ay-contact-card h2 { margin: 0 0 6px; color: #26323d; font-size: 14px; font-weight: 800; }
.ay-contact-card p, .ay-contact-card address { margin: 0; color: #66727d; font-size: 12px; font-style: normal; line-height: 1.9; }
.ay-contact-phone { color: var(--ay-red); font-size: 17px; font-weight: 850; }
.ay-contact-map-link { display: inline-block; margin-top: 7px; color: #1676a6; font-size: 12px; font-weight: 750; }
.ay-contact-map-wrap { overflow: hidden; border: 1px solid var(--ay-line); border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(20,32,44,.035); }
.ay-contact-map-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.ay-contact-map-heading h2 { margin: 0 0 3px; color: #26323d; font-size: 15px; }
.ay-contact-map-heading p { margin: 0; color: #71808b; font-size: 11px; }
.ay-contact-map-heading > a { padding: 8px 13px; border-radius: 8px; background: var(--ay-red); color: #fff; font-size: 12px; font-weight: 750; }
.ay-contact-map-wrap iframe { display: block; width: 100%; height: 390px; border: 0; background: #edf1f4; }

/* Customer-first WooCommerce account area */
.woocommerce-account.logged-in .woocommerce { display: flex; align-items: flex-start; gap: 18px; }
.woocommerce-account main.section { padding-top: 16px; }
.woocommerce-account .woocommerce-MyAccount-navigation { float: none; flex: 0 0 235px; width: auto; padding: 13px; border: 1px solid var(--ay-line); border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(20,32,44,.045); }
.woocommerce-account .woocommerce-MyAccount-navigation:before { display: block; margin: 0 3px 8px; padding: 7px 8px 12px; border-bottom: 1px solid #edf0f2; color: #24313b; content: "پنل خریدار افشار یدک"; font-size: 13px; font-weight: 850; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; min-height: 43px; padding: 9px 11px; border-right: 3px solid transparent; border-radius: 8px; color: #4f5d68; font-size: 12px; font-weight: 700; transition: background .16s ease, color .16s ease; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:before { display: inline-grid; flex: 0 0 21px; place-items: center; margin-left: 8px; color: #84919a; font-size: 16px; font-weight: 500; line-height: 1; }
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard a:before { content: "⌂"; }
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders a:before { content: "▤"; }
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-address a:before { content: "⌖"; }
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account a:before { content: "◉"; }
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:before { content: "↪"; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: #f6f8fa; color: #17232d; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { border-right-color: var(--ay-red); background: #fff0f1; color: var(--ay-red); font-weight: 850; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:before { color: var(--ay-red); }
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { margin-top: 6px; border-top: 1px solid #edf0f2; border-radius: 0 0 8px 8px; color: #9a5560; }
.woocommerce-account .woocommerce-MyAccount-content { float: none; flex: 1 1 auto; width: auto; min-width: 0; }
.ay-account-dashboard { display: grid; gap: 15px; }
.ay-account-welcome { position: relative; display: flex; min-height: 168px; align-items: center; justify-content: space-between; gap: 18px; overflow: hidden; padding: 24px 26px; border-radius: 16px; color: #fff; background: linear-gradient(100deg,rgba(11,18,24,.94),rgba(11,18,24,.78)),url("../images/home-hero.jpg") center 52% / cover no-repeat,#141d25; box-shadow: 0 10px 25px rgba(16,28,38,.13); }
.ay-account-welcome:before { position: absolute; top: 0; right: 0; width: 4px; height: 100%; background: var(--ay-red); content: ""; }
.ay-account-welcome-copy { position: relative; z-index: 1; }
.ay-account-eyebrow { display: inline-flex; align-items: center; padding: 5px 9px; border: 1px solid rgba(255,255,255,.17); border-radius: 30px; background: rgba(255,255,255,.08); color: #ffd5d8; font-size: 10px; font-weight: 750; }
.ay-account-welcome h2 { margin: 8px 0 4px; color: #fff; font-size: clamp(20px,2.4vw,28px); font-weight: 850; line-height: 1.5; }
.ay-account-welcome p { max-width: 540px; margin: 0; color: #d3dbe1; font-size: 12px; line-height: 1.9; }
.ay-account-shop-button { position: relative; z-index: 1; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 6px; min-height: 43px; padding: 9px 15px; border-radius: 8px; background: var(--ay-red); color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 5px 14px rgba(237,28,46,.26); }
.ay-account-shop-button:hover { background: #cf1424; color: #fff; }
.ay-account-shop-button span { font-size: 18px; line-height: 1; }
.ay-account-welcome-mark { position: absolute; left: 24px; bottom: -18px; color: rgba(255,255,255,.06); font-size: 112px; line-height: 1; transform: rotate(-14deg); }
.ay-account-shortcuts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.ay-account-shortcut { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 78px; padding: 12px; border: 1px solid var(--ay-line); border-radius: 11px; background: #fff; color: #25313b; box-shadow: 0 4px 15px rgba(20,32,44,.035); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.ay-account-shortcut:hover { transform: translateY(-2px); border-color: #f2b8bd; box-shadow: 0 7px 19px rgba(20,32,44,.08); }
.ay-account-shortcut-icon { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #eef5f8; color: #246b87; }
.ay-account-shortcut-icon-red { background: #fff0f1; color: var(--ay-red); }
.ay-account-shortcut-icon svg, .ay-account-address-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ay-account-shortcut > span:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.ay-account-shortcut strong { overflow: hidden; color: #26323c; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.ay-account-shortcut small { overflow: hidden; color: #78838d; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ay-account-shortcut > b { margin-right: auto; color: #a7b0b8; font-size: 20px; font-weight: 400; }
.ay-account-dashboard-columns { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(260px,.85fr); align-items: start; gap: 13px; }
.ay-account-panel { min-width: 0; padding: 17px; border: 1px solid var(--ay-line); border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(20,32,44,.04); }
.ay-account-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ay-account-panel-heading h3 { margin: 2px 0 0; color: #1f2b35; font-size: 15px; font-weight: 850; }
.ay-account-panel-kicker { color: #929ca5; font-size: 9px; }
.ay-account-panel-heading > a { flex: 0 0 auto; color: var(--ay-red); font-size: 10px; font-weight: 750; }
.ay-account-panel-heading > a span { font-size: 16px; vertical-align: -1px; }
.ay-account-order-list { display: grid; }
.ay-account-order-row { display: grid; grid-template-columns: 34px minmax(90px,1fr) auto auto auto; align-items: center; gap: 9px; min-height: 61px; padding: 8px 0; border-top: 1px solid #edf0f2; }
.ay-account-order-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #f2f6f8; color: #5b6f7e; font-size: 16px; }
.ay-account-order-main { display: grid; gap: 3px; }
.ay-account-order-main strong { color: #2c3842; font-size: 11px; }
.ay-account-order-main small { color: #89939b; font-size: 9px; }
.ay-account-order-status { padding: 4px 7px; border-radius: 30px; background: #eef8f2; color: #20834a; font-size: 9px; white-space: nowrap; }
.ay-account-order-total { color: #303b44; font-size: 10px; font-weight: 800; white-space: nowrap; }
.ay-account-order-link { color: #65737f; font-size: 9px; white-space: nowrap; }
.ay-account-order-link span { color: var(--ay-red); font-size: 15px; }
.ay-account-empty-orders { display: grid; justify-items: center; padding: 20px 10px 10px; border-top: 1px solid #edf0f2; text-align: center; }
.ay-account-empty-orders > span { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 8px; border-radius: 50%; background: #f2f6f8; color: #65737f; font-size: 20px; }
.ay-account-empty-orders strong { color: #34414b; font-size: 12px; }
.ay-account-empty-orders p { max-width: 290px; margin: 4px 0 10px; color: #7d8790; font-size: 10px; line-height: 1.8; }
.ay-account-empty-orders a, .ay-account-address-button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 7px 11px; border-radius: 7px; background: #fff0f1; color: var(--ay-red); font-size: 10px; font-weight: 800; }
.ay-account-address-content, .ay-account-address-empty { display: flex; align-items: flex-start; gap: 10px; min-height: 80px; padding: 11px 0; border-top: 1px solid #edf0f2; }
.ay-account-address-icon { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #fff0f1; color: var(--ay-red); }
.ay-account-address-content p, .ay-account-address-empty p { margin: 1px 0 0; color: #596671; font-size: 11px; line-height: 2; }
.ay-account-address-button { margin-top: 2px; }
.woocommerce-account .woocommerce-MyAccount-content > p { color: #67747e; font-size: 12px; line-height: 1.9; }
.woocommerce-account .woocommerce-MyAccount-content table.shop_table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--ay-line); border-radius: 11px; overflow: hidden; font-size: 11px; }
.woocommerce-account .woocommerce-MyAccount-content table.shop_table th { background: #f7f9fa; color: #42505b; font-size: 10px; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address { padding: 14px; border: 1px solid var(--ay-line); border-radius: 11px; background: #fff; }
.ay-address-page, .ay-address-edit-page { display: grid; gap: 15px; }
.ay-address-hero { position: relative; overflow: hidden; padding: 23px 25px 18px; border-radius: 15px; color: #fff; background: linear-gradient(105deg,rgba(12,19,25,.94),rgba(12,19,25,.78)),url("../images/home-hero.jpg") center 55% / cover no-repeat,#151d25; box-shadow: 0 8px 23px rgba(16,28,38,.12); }
.ay-address-hero:before { position: absolute; top: 0; right: 0; width: 4px; height: 100%; background: var(--ay-red); content: ""; }
.ay-address-eyebrow { display: inline-block; color: #ffadb4; font-size: 10px; font-weight: 800; }
.ay-address-hero h2 { margin: 5px 0; color: #fff; font-size: 21px; font-weight: 850; }
.ay-address-hero > p { max-width: 620px; margin: 0; color: #d6dde2; font-size: 11px; line-height: 1.9; }
.ay-address-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 15px; color: #f0f3f5; font-size: 10px; }
.ay-address-steps span { display: inline-flex; align-items: center; gap: 6px; }
.ay-address-steps b { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 10px; }
.ay-address-steps i { width: 20px; height: 1px; background: rgba(255,255,255,.25); }
.ay-address-card-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(230px,.85fr); align-items: stretch; gap: 13px; }
.ay-address-card { display: flex; min-width: 0; flex-direction: column; padding: 17px; border: 1px solid #e2e8ed; border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(20,32,44,.045); }
.ay-address-card-primary { border-color: #f0c2c6; box-shadow: 0 7px 22px rgba(181,28,44,.075); }
.ay-address-card-secondary { background: #fbfcfd; }
.ay-address-card-heading { display: flex; align-items: center; gap: 11px; padding-bottom: 13px; border-bottom: 1px solid #edf0f2; }
.ay-address-card-icon, .ay-address-edit-icon { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff0f1; color: var(--ay-red); }
.ay-address-card-icon svg, .ay-address-edit-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ay-address-card-title-wrap { display: grid; gap: 4px; }
.ay-address-card-title-wrap h3 { margin: 0; color: #202c36; font-size: 14px; font-weight: 850; }
.ay-address-status { width: fit-content; padding: 3px 7px; border-radius: 20px; background: #fff5e7; color: #986419; font-size: 9px; font-weight: 750; }
.ay-address-status.is-ready { background: #eaf7ef; color: #168348; }
.ay-address-empty-state, .ay-address-saved { display: grid; align-content: start; gap: 5px; min-height: 108px; padding: 15px 0 12px; }
.ay-address-empty-state strong, .ay-address-saved > strong { color: #34414b; font-size: 12px; font-weight: 800; }
.ay-address-empty-state p { margin: 0; color: #71808b; font-size: 10px; line-height: 1.9; }
.ay-address-saved address { color: #56636e; font-size: 11px; font-style: normal; line-height: 2; }
.ay-address-empty-secondary { min-height: 108px; }
.ay-address-action { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-top: auto; padding: 10px 13px; border: 1px solid transparent; border-radius: 9px; font-size: 12px; font-weight: 850; transition: background .16s ease, transform .16s ease, box-shadow .16s ease; }
.ay-address-action:hover { transform: translateY(-1px); }
.ay-address-action-primary { background: linear-gradient(110deg,#f12738,#d91527); color: #fff; box-shadow: 0 5px 13px rgba(229,29,42,.2); }
.ay-address-action-primary:hover { background: #c91424; color: #fff; box-shadow: 0 7px 16px rgba(229,29,42,.26); }
.ay-address-action-secondary { border-color: #e1e7eb; background: #fff; color: #42515c; }
.ay-address-action-secondary:hover { border-color: #f1aeb4; color: var(--ay-red); }
.ay-address-action-plus { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: rgba(255,255,255,.2); font-size: 19px; line-height: 1; }
.ay-address-action-arrow { margin-right: auto; font-size: 18px; font-weight: 400; }
.ay-address-help { margin: 0; padding: 10px 12px; border-right: 3px solid #dce5eb; border-radius: 5px; background: #f8fafb; color: #6d7a84; font-size: 10px; line-height: 1.8; }
.ay-address-back-link { justify-self: start; color: #65737d; font-size: 11px; font-weight: 700; }
.ay-address-back-link:hover { color: var(--ay-red); }
.ay-address-edit-intro { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid #f0c2c6; border-radius: 13px; background: linear-gradient(110deg,#fff,#fff8f8); }
.ay-address-type-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.ay-address-type-link { display: flex; min-width: 0; min-height: 68px; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--ay-line); border-radius: 11px; background: #fff; color: #34414b; box-shadow: 0 4px 14px rgba(20,32,44,.035); transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.ay-address-type-link:hover { transform: translateY(-1px); border-color: #f0b5bb; background: #fffafa; }
.ay-address-type-link.is-active { border-color: #f0b9be; background: #fff5f6; box-shadow: 0 5px 16px rgba(237,28,46,.07); }
.ay-address-type-icon { display: grid; flex: 0 0 39px; width: 39px; height: 39px; place-items: center; border-radius: 10px; background: #fff0f1; color: var(--ay-red); }
.ay-address-type-icon-billing { background: #eef5f8; color: #397b94; }
.ay-address-type-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ay-address-type-link > span:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.ay-address-type-link strong { color: #26323c; font-size: 11px; font-weight: 850; }
.ay-address-type-link small { overflow: hidden; color: #78848d; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ay-address-type-link > b { margin-right: auto; color: #9aa5ad; font-size: 16px; font-weight: 400; }
.ay-address-type-link.is-active > b { color: var(--ay-red); }
.ay-address-edit-icon { flex-basis: 50px; width: 50px; height: 50px; }
.ay-address-edit-icon svg { width: 32px; height: 32px; }
.ay-address-edit-intro h2 { margin: 3px 0; color: #202c36; font-size: 17px; font-weight: 850; }
.ay-address-edit-intro p { margin: 0; color: #6d7a84; font-size: 10px; line-height: 1.8; }
.ay-address-edit-form { padding: 18px; border: 1px solid var(--ay-line); border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(20,32,44,.04); }
.ay-address-edit-form .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 14px; }
.ay-address-edit-form .form-row { float: none; width: auto; margin: 0 0 14px; }
.ay-address-edit-form .form-row-wide { grid-column: 1 / -1; }
.ay-address-edit-form .form-row label { display: block; margin-bottom: 6px; color: #34414b; font-size: 11px; font-weight: 750; }
.ay-address-edit-form .input-text, .ay-address-edit-form select, .ay-address-edit-form textarea, .ay-address-edit-form .select2-container--default .select2-selection--single { width: 100%; min-height: 43px; border: 1px solid #dce3e8; border-radius: 8px; background-color: #fff; color: #26323c; font-family: inherit; font-size: 12px; }
.ay-address-edit-form .input-text, .ay-address-edit-form select, .ay-address-edit-form textarea { padding: 9px 11px; }
.ay-address-edit-form textarea { min-height: 90px; }
.ay-address-edit-form .select2-container--default .select2-selection--single { height: 43px; }
.ay-address-edit-form .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 5px 11px; color: #26323c; line-height: 31px; }
.ay-address-edit-form .select2-container--default .select2-selection--single .select2-selection__arrow { top: 8px; }
.ay-address-edit-form .input-text:focus, .ay-address-edit-form select:focus, .ay-address-edit-form textarea:focus, .ay-address-edit-form .select2-container--default.select2-container--focus .select2-selection--single { border-color: var(--ay-red); outline: 2px solid rgba(237,28,46,.1); }
.ay-address-submit-row { display: flex; justify-content: flex-start; margin: 5px 0 0 !important; }
.ay-address-save-button { min-width: 190px; min-height: 45px; padding: 10px 18px !important; border: 0 !important; border-radius: 8px !important; background: var(--ay-red) !important; color: #fff !important; font-family: inherit !important; font-size: 12px !important; font-weight: 850 !important; }
.ay-address-save-button:hover { background: #ca1424 !important; }
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error, .woocommerce-account .woocommerce-MyAccount-content .woocommerce-message, .woocommerce-account .woocommerce-MyAccount-content .woocommerce-info { border-radius: 9px; font-size: 11px; line-height: 1.9; }

/* Account details and password controls */
.ay-account-edit-page { display: grid; gap: 13px; }
.ay-account-edit-intro { position: relative; overflow: hidden; padding: 19px 22px; border-radius: 14px; color: #fff; background: linear-gradient(105deg,rgba(11,18,24,.95),rgba(11,18,24,.8)),url("../images/home-hero.jpg") center 52% / cover no-repeat,#151d25; box-shadow: 0 7px 20px rgba(16,28,38,.1); }
.ay-account-edit-intro:before { position: absolute; inset: 0 0 0 auto; width: 4px; background: var(--ay-red); content: ""; }
.ay-account-edit-intro > span { color: #ffb0b7; font-size: 10px; font-weight: 800; }
.ay-account-edit-intro h2 { margin: 4px 0; color: #fff; font-size: 20px; font-weight: 850; }
.ay-account-edit-intro p { margin: 0; color: #d3dce2; font-size: 11px; line-height: 1.9; }
.ay-account-edit-form { display: grid; gap: 12px; }
.ay-account-edit-card { min-width: 0; padding: 17px; border: 1px solid var(--ay-line); border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(20,32,44,.04); }
.ay-account-edit-card-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #edf0f2; }
.ay-account-edit-card-icon { display: grid; flex: 0 0 39px; place-items: center; width: 39px; height: 39px; border-radius: 10px; background: #fff0f1; color: var(--ay-red); font-size: 20px; }
.ay-account-edit-card-icon-lock { background: #eef5f8; color: #427186; }
.ay-account-edit-card-heading h3 { margin: 0 0 3px; color: #26323c; font-size: 13px; font-weight: 850; }
.ay-account-edit-card-heading p { margin: 0; color: #78848d; font-size: 10px; line-height: 1.8; }
.ay-account-edit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 13px; }
.ay-account-edit-grid .form-row { float: none; width: auto; margin: 0 0 13px; }
.ay-account-edit-grid .form-row-wide { grid-column: 1 / -1; }
.ay-account-edit-grid label { display: block; margin: 0 0 6px; color: #34414b; font-size: 11px; font-weight: 750; }
.ay-account-edit-grid .input-text { width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid #dce3e8; border-radius: 8px; background: #fbfcfd; color: #26323c; font-family: inherit; font-size: 12px; }
.ay-account-edit-grid .input-text:focus { border-color: var(--ay-red); outline: 2px solid rgba(237,28,46,.1); background: #fff; }
.ay-account-edit-grid #account_display_name_description { display: block; margin-top: 5px; color: #818b93; font-size: 9px; }
.ay-account-password-card fieldset { margin: 0; padding: 14px 14px 1px; border: 1px solid #e7ecef; border-radius: 10px; background: #fbfcfd; }
.ay-account-password-card legend { padding: 0 7px; color: #35434e; font-size: 11px; font-weight: 800; }
.ay-account-edit-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ay-account-edit-actions .button { min-width: 155px; min-height: 43px; padding: 10px 16px !important; border: 0 !important; border-radius: 8px !important; background: var(--ay-red) !important; color: #fff !important; font-family: inherit !important; font-size: 11px !important; font-weight: 850 !important; }
.ay-account-edit-actions .button:hover { background: #ca1424 !important; }
.ay-account-edit-actions > span { color: #86919a; font-size: 9px; }

/* Cart blocks, including the empty-cart recommendations */
.woocommerce-cart main.section > .container > h1 { margin: 0 0 16px; padding-right: 12px; border-right: 4px solid var(--ay-red); color: #202c36; font-size: 25px; font-weight: 850; }
.woocommerce-cart .wp-block-woocommerce-cart.alignwide { max-width: 1220px; margin-inline: auto; }
.woocommerce-cart .wp-block-woocommerce-empty-cart-block { margin: 0 0 24px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.woocommerce-cart .ay-cart-empty-intro { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; padding: 20px; border: 1px solid var(--ay-line); border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(20,32,44,.04); }
.woocommerce-cart .ay-cart-empty-illustration { display: block; flex: 0 0 120px; width: 120px; height: 120px; object-fit: contain; }
.woocommerce-cart .ay-cart-empty-copy { min-width: 0; }
.woocommerce-cart .wc-block-cart__empty-cart__title { margin: 0 !important; padding: 0; border: 0; border-radius: 0; background: transparent; color: #26323c; font-size: 19px; font-weight: 850; }
.woocommerce-cart .ay-cart-empty-subtitle { margin: 5px 0 12px; color: #64717b; font-size: 12px; line-height: 1.9; }
.woocommerce-cart .wc-block-cart__empty-cart__title.with-empty-cart-icon::before { display: none !important; }
.woocommerce-cart .ay-cart-empty-action { margin: 0; }
.woocommerce-cart .ay-cart-empty-action a { display: inline-flex; align-items: center; justify-content: center; min-height: 41px; padding: 9px 18px; border-radius: 8px; background: var(--ay-red); color: #fff; font-size: 11px; font-weight: 850; text-decoration: none; }
.woocommerce-cart .ay-cart-empty-action a:hover { background: #ca1424; }
.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-separator { display: none; }
.woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title) { margin: 22px 0 12px; color: #27343e; font-size: 17px; font-weight: 850; text-align: right; }
.woocommerce-cart .wp-block-woocommerce-product-new ul.wc-block-grid__products { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; align-items: stretch; gap: 12px; margin: 0 !important; padding: 0 !important; list-style: none; }
.woocommerce-cart .wp-block-woocommerce-product-new ul.wc-block-grid__products > li.wc-block-grid__product { display: flex !important; flex: none !important; width: 100% !important; max-width: 100% !important; min-width: 0; box-sizing: border-box; flex-direction: column; margin: 0 !important; padding: 0 0 12px; overflow: hidden; border: 1px solid var(--ay-line); border-radius: 11px; background: #fff; box-shadow: 0 4px 14px rgba(18,33,45,.035); text-align: right; }
.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-image { margin: 0; padding: 9px; background: linear-gradient(180deg,#fff,#f7f9fa); }
.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-image img { width: 100%; height: 170px; object-fit: contain; }
.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-title { min-height: 48px; padding: 8px 11px 3px; color: #26323c; font-size: 11px; font-weight: 800; line-height: 1.8; }
.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-price { margin: 0; padding: 0 11px; color: var(--ay-red); font-size: 12px; font-weight: 850; }
.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-add-to-cart { margin: auto 10px 0; padding-top: 9px; }
.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-add-to-cart a { display: block; min-height: 37px; padding: 9px 7px; border: 0; border-radius: 7px; background: var(--ay-red); color: #fff; font-family: inherit; font-size: 10px; font-weight: 800; }
.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-add-to-cart a:hover { background: #ca1424; }

@media (max-width: 800px) {
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-trust { grid-template-columns: 1fr; }
  .ay-service-promises-grid { gap: 9px; }
  .ay-service-promise { gap: 10px; padding: 12px; }
  .ay-promise-icon { flex-basis: 42px; width: 42px; height: 42px; }
  .ay-promise-icon svg { width: 27px; height: 27px; }
  .ay-promise-copy strong { font-size: 12px; }
  .ay-promise-copy small { font-size: 10px; }
  .woocommerce-account.logged-in .woocommerce { display: block; }
  .woocommerce-account .woocommerce-MyAccount-navigation { width: 100%; margin-bottom: 14px; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
  .woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { margin-top: 0; border-top: 0; }
  .woocommerce-account .woocommerce-MyAccount-content { width: 100%; }
  .ay-account-edit-intro { padding: 17px; }
  .woocommerce-cart .wp-block-woocommerce-product-new ul.wc-block-grid__products { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .woocommerce-cart .ay-cart-empty-intro { gap: 12px; padding: 15px; }
  .woocommerce-cart .ay-cart-empty-illustration { flex-basis: 88px; width: 88px; height: 88px; }
  .woocommerce-cart .wc-block-cart__empty-cart__title { font-size: 17px; }
  .woocommerce-cart .ay-cart-empty-subtitle { font-size: 11px; }
  .ay-account-shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ay-account-dashboard-columns { grid-template-columns: 1fr; }
  .ay-address-card-grid { grid-template-columns: 1fr; }
  .ay-contact-content { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ay-auth-switcher { padding: 15px; }
  .ay-auth-intro h2 { font-size: 18px; }
  .ay-auth-method-switch { display: grid; grid-template-columns: 1fr 1fr; }
  .ay-auth-method-switch > span { grid-column: 1 / -1; }
  .ay-auth-method-switch button { min-height: 43px; padding: 6px; font-size: 11px; }
  .ay-otp-login { padding: 13px; }
  .ay-otp-input-row { flex-direction: column; }
  .ay-otp-input-row .button { width: 100%; }
  .woocommerce-account #customer_login > .u-column1, .woocommerce-account #customer_login > .u-column2 { padding: 15px; }
  .ay-registration-name-fields { grid-template-columns: 1fr; gap: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 20px 15px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-trust-logos { gap: 7px; }
  .footer-trust-logo { min-height: 112px; padding: 7px; }
  .footer-trust-logo img { height: 92px; }
  .ay-service-promises { padding: 14px 0; }
  .ay-service-promises-grid { grid-template-columns: 1fr; gap: 8px; }
  .ay-service-promise { min-height: 68px; padding: 10px 12px; }
  .ay-promise-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 11px; }
  .ay-promise-icon svg { width: 25px; height: 25px; }
  .ay-promise-copy strong { font-size: 12px; }
  .ay-promise-copy small { font-size: 10px; }
  .woocommerce-account .woocommerce-MyAccount-navigation { padding: 9px; }
  .woocommerce-account .woocommerce-MyAccount-navigation ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .woocommerce-account .woocommerce-MyAccount-navigation li a { min-height: 39px; padding: 7px 8px; font-size: 10px; }
  .woocommerce-account .woocommerce-MyAccount-navigation li a:before { flex-basis: 17px; margin-left: 5px; font-size: 14px; }
  .ay-account-edit-card { padding: 13px; }
  .ay-account-edit-grid { grid-template-columns: 1fr; }
  .ay-account-edit-grid .form-row-wide { grid-column: auto; }
  .ay-account-edit-actions { align-items: stretch; }
  .ay-account-edit-actions .button { width: 100%; }
  .woocommerce-cart main.section > .container > h1 { font-size: 21px; }
  .woocommerce-cart .wp-block-woocommerce-empty-cart-block { padding: 18px 13px 13px; }
  .woocommerce-cart .wc-block-cart__empty-cart__title { font-size: 16px; }
  .woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-image img { height: 135px; }
  .ay-account-dashboard { gap: 10px; }
  .ay-account-welcome { display: grid; min-height: auto; gap: 12px; padding: 18px 17px; }
  .ay-account-welcome h2 { font-size: 20px; }
  .ay-account-welcome p { font-size: 11px; }
  .ay-account-shop-button { justify-self: start; min-height: 39px; }
  .ay-account-welcome-mark { left: 8px; bottom: 0; font-size: 82px; }
  .ay-account-shortcuts { gap: 7px; }
  .ay-account-shortcut { min-height: 67px; gap: 7px; padding: 9px; }
  .ay-account-shortcut-icon { flex-basis: 32px; width: 32px; height: 32px; }
  .ay-account-shortcut-icon svg { width: 18px; height: 18px; }
  .ay-account-shortcut strong { font-size: 10px; }
  .ay-account-shortcut small { font-size: 8px; }
  .ay-account-shortcut > b { font-size: 17px; }
  .ay-account-panel { padding: 13px; }
  .ay-account-order-row { grid-template-columns: 30px minmax(70px,1fr) auto; gap: 7px; }
  .ay-account-order-mark { width: 29px; height: 29px; }
  .ay-account-order-status { grid-column: 2; justify-self: start; }
  .ay-account-order-total { grid-column: 3; grid-row: 1; }
  .ay-account-order-link { grid-column: 3; grid-row: 2; justify-self: end; }
  .ay-address-hero { padding: 18px 17px 15px; }
  .ay-address-hero h2 { font-size: 18px; }
  .ay-address-steps { gap: 6px; font-size: 9px; }
  .ay-address-steps i { width: 10px; }
  .ay-address-card { padding: 13px; }
  .ay-address-action { min-height: 46px; font-size: 11px; }
  .ay-address-edit-intro { align-items: flex-start; padding: 14px; }
  .ay-address-edit-intro h2 { font-size: 15px; }
  .ay-address-edit-icon { flex-basis: 42px; width: 42px; height: 42px; }
  .ay-address-edit-form { padding: 13px; }
  .ay-address-edit-form .woocommerce-address-fields__field-wrapper { grid-template-columns: 1fr; }
  .ay-address-edit-form .form-row-wide { grid-column: auto; }
  .ay-address-save-button { width: 100%; }
  .ay-contact-hero { padding: 26px 0; }
  .ay-contact-hero h1 { font-size: 25px; }
  .ay-contact-content { padding-top: 14px; }
  .ay-contact-map-wrap iframe { height: 300px; }
}

/* Digikala-inspired, customer-first order tracking */
.ay-order-overview { padding: 16px; border: 1px solid var(--ay-line); border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(20,32,44,.04); }
.ay-order-overview .ay-account-panel-heading { margin-bottom: 11px; }
.ay-order-status-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.ay-order-status-card { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 75px; padding: 11px 13px; border: 1px solid #e8edf0; border-radius: 11px; background: linear-gradient(110deg,#fff,#fafbfc); color: #26323c; transition: transform .16s ease,border-color .16s ease,box-shadow .16s ease; }
.ay-order-status-card:hover, .ay-order-status-card.is-selected { transform: translateY(-1px); border-color: #f0b9be; box-shadow: 0 5px 15px rgba(237,28,46,.08); color: #26323c; }
.ay-order-status-icon { display: grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #eef5f8; color: #3f7187; }
.ay-order-status-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ay-order-status-delivered .ay-order-status-icon { background: #eaf7ef; color: #19864c; }
.ay-order-status-returned .ay-order-status-icon { background: #fff4e8; color: #a66a20; }
.ay-order-status-copy { display: grid; min-width: 0; gap: 3px; }
.ay-order-status-copy strong { color: #25313b; font-size: 12px; font-weight: 850; }
.ay-order-status-copy small { color: #77838d; font-size: 10px; }
.ay-order-status-arrow { margin-right: auto; color: #aab4bc; font-size: 20px; }
.ay-orders-page { display: grid; gap: 14px; }
.ay-orders-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 22px; border: 1px solid #e5eaee; border-radius: 14px; background: linear-gradient(105deg,#fff,#f8fafb); box-shadow: 0 5px 18px rgba(20,32,44,.04); }
.ay-orders-heading h2 { margin: 5px 0 3px; color: #202c36; font-size: 21px; font-weight: 850; }
.ay-orders-heading p { margin: 0; color: #6d7a84; font-size: 11px; line-height: 1.8; }
.ay-orders-all-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; min-height: 39px; padding: 8px 12px; border: 1px solid #f0c4c8; border-radius: 8px; background: #fff; color: var(--ay-red); font-size: 11px; font-weight: 800; }
.ay-orders-all-link:hover { background: #fff4f5; color: #c91424; }
.ay-order-status-grid-page { gap: 11px; }
.ay-order-status-grid-page .ay-order-status-card { min-height: 82px; }
.ay-orders-filter-tabs { display: flex; flex-wrap: wrap; gap: 7px; padding: 8px; border: 1px solid var(--ay-line); border-radius: 11px; background: #fff; }
.ay-orders-filter-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 7px 11px; border-radius: 7px; color: #596671; font-size: 10px; font-weight: 750; }
.ay-orders-filter-tabs a:hover { background: #f6f8fa; color: #25313b; }
.ay-orders-filter-tabs a.is-active { background: #fff0f1; color: var(--ay-red); }
.ay-orders-filter-tabs a span { display: grid; min-width: 20px; height: 20px; place-items: center; padding-inline: 5px; border-radius: 20px; background: #eef1f3; color: #697680; font-size: 9px; }
.ay-orders-filter-tabs a.is-active span { background: #fff; color: var(--ay-red); }
.ay-orders-list { display: grid; gap: 10px; }
.ay-order-card { overflow: hidden; border: 1px solid #e3e9ed; border-radius: 12px; background: #fff; box-shadow: 0 4px 15px rgba(20,32,44,.035); }
.ay-order-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px; border-bottom: 1px solid #edf0f2; }
.ay-order-number-wrap { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ay-order-receipt-icon { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #f0f5f7; color: #557182; }
.ay-order-receipt-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ay-order-number-wrap > div { display: grid; gap: 3px; }
.ay-order-number-wrap strong { color: #27343e; font-size: 12px; font-weight: 850; }
.ay-order-number-wrap small { color: #88939c; font-size: 9px; }
.ay-order-status-pill { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 9px; border-radius: 30px; background: #edf7f1; color: #20834a; font-size: 9px; font-weight: 800; white-space: nowrap; }
.ay-order-status-pill-pending, .ay-order-status-pill-on-hold { background: #fff5e7; color: #986419; }
.ay-order-status-pill-failed, .ay-order-status-pill-cancelled { background: #fff0f1; color: #b3212e; }
.ay-order-status-pill-refunded { background: #f1effa; color: #64529b; }
.ay-order-card-details { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 15px; padding: 13px 15px; }
.ay-order-items-summary, .ay-order-total-summary { display: grid; gap: 4px; }
.ay-order-items-summary small, .ay-order-total-summary small { color: #87929b; font-size: 9px; }
.ay-order-items-summary strong { overflow: hidden; color: #35424c; font-size: 10px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.ay-order-items-summary span { color: #7b8790; font-size: 9px; }
.ay-order-total-summary { text-align: left; }
.ay-order-total-summary strong { color: #202c36; font-size: 12px; font-weight: 850; white-space: nowrap; }
.ay-order-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 15px; border-top: 1px solid #edf0f2; background: #fbfcfd; }
.ay-order-view-button, .ay-order-extra-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 35px; padding: 7px 11px; border: 1px solid transparent; border-radius: 7px; background: var(--ay-red); color: #fff; font-size: 10px; font-weight: 800; }
.ay-order-view-button:hover { background: #ca1424; color: #fff; }
.ay-order-view-button span { font-size: 15px; }
.ay-order-extra-action { border-color: #e2e8ed; background: #fff; color: #586570; }
.ay-order-extra-action:hover { border-color: #f0b9be; color: var(--ay-red); }
.ay-orders-empty { display: grid; justify-items: center; padding: 30px 18px; border: 1px solid var(--ay-line); border-radius: 13px; background: #fff; text-align: center; }
.ay-orders-empty-icon { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 11px; border-radius: 16px; background: #f2f6f8; color: #597080; }
.ay-orders-empty-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ay-orders-empty h3 { margin: 0 0 4px; color: #2b3741; font-size: 14px; font-weight: 850; }
.ay-orders-empty p { max-width: 390px; margin: 0 0 14px; color: #7a8791; font-size: 10px; line-height: 1.9; }
.ay-orders-empty > a { display: inline-flex; align-items: center; gap: 9px; min-height: 39px; padding: 8px 13px; border-radius: 8px; background: var(--ay-red); color: #fff; font-size: 10px; font-weight: 800; }
.ay-orders-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; color: #707c86; font-size: 10px; }
.ay-orders-pagination a { padding: 7px 12px; border: 1px solid var(--ay-line); border-radius: 7px; background: #fff; color: #45535e; font-weight: 750; }
.ay-orders-pagination a:hover { border-color: #efb6bc; color: var(--ay-red); }
.ay-auth-legal { max-width: 880px; margin: 12px auto 0 !important; color: #79848d !important; font-size: 10px !important; line-height: 1.9 !important; text-align: center; }
.ay-auth-legal a { color: #3d5667; font-weight: 800; text-decoration: underline; text-decoration-color: #c9d2d9; text-underline-offset: 3px; }
.ay-auth-legal a:hover { color: var(--ay-red); text-decoration-color: currentColor; }

@media (max-width: 800px) {
  .ay-orders-heading { align-items: flex-start; }
  .ay-order-status-grid-page { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .ay-order-overview { padding: 12px; }
  .ay-order-status-grid { grid-template-columns: 1fr; gap: 7px; }
  .ay-order-status-card, .ay-order-status-grid-page .ay-order-status-card { min-height: 64px; padding: 9px 10px; }
  .ay-order-status-icon { flex-basis: 36px; width: 36px; height: 36px; }
  .ay-order-status-copy strong { font-size: 11px; }
  .ay-orders-heading { display: grid; padding: 15px; }
  .ay-orders-heading h2 { font-size: 18px; }
  .ay-orders-all-link { justify-self: start; }
  .ay-orders-filter-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; }
  .ay-orders-filter-tabs a { justify-content: space-between; padding-inline: 8px; font-size: 9px; }
  .ay-order-card-top { align-items: flex-start; padding: 11px; }
  .ay-order-card-details { gap: 7px; padding: 11px; }
  .ay-order-items-summary strong { max-width: 210px; font-size: 9px; }
  .ay-order-total-summary strong { font-size: 10px; }
  .ay-order-card-actions { padding: 9px 11px; }
  .ay-order-view-button, .ay-order-extra-action { min-height: 33px; }
}

/* Useful catalog filters inspired by automotive parts marketplaces */
.ay-product-filters { display: grid; gap: 7px; }
.ay-product-filters h3 { margin: 0 0 4px; color: #25313b; font-size: 13px; font-weight: 850; }
.ay-product-filters label:not(.ay-stock-filter) { margin: 2px 0 0; color: #53616c; font-size: 10px; font-weight: 750; }
.ay-product-filters select, .ay-product-filters input[type="number"] { width: 100%; min-width: 0; min-height: 39px; border: 1px solid #dfe5e9; border-radius: 7px; background: #fff; color: #34414b; font-family: inherit; font-size: 10px; }
.ay-product-filters select { padding: 7px 9px; }
.ay-price-filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.ay-product-filters input[type="number"] { padding: 7px 8px; }
.ay-product-filters select:focus, .ay-product-filters input:focus { border-color: var(--ay-red); outline: 2px solid rgba(237,28,46,.1); }
.ay-filter-divider { height: 1px; margin: 3px 0; background: #edf0f2; }
.ay-stock-filter { display: flex !important; align-items: center; gap: 8px !important; margin: 5px 0 2px !important; color: #46535e !important; font-size: 10px !important; }
.ay-stock-filter input { width: 16px; height: 16px; accent-color: var(--ay-red); }
.ay-product-filters button { min-height: 40px; margin-top: 4px; border: 0; border-radius: 7px; background: var(--ay-red); color: #fff; font-family: inherit; font-size: 11px; font-weight: 850; cursor: pointer; }
.ay-product-filters button:hover { background: #ca1424; }
.ay-clear-filters { justify-self: center; color: #75818b; font-size: 9px; }
.ay-clear-filters:hover { color: var(--ay-red); }

/* Clean light header and an automotive category mega menu. */
.site-header { z-index: 1100; background: #fff; color: #202a33; box-shadow: 0 5px 22px rgba(20,32,44,.09); }
.topbar { background: #fff; border-bottom: 1px solid #edf0f2; color: #66727c; }
.topbar .container { min-height: 31px; }
.header-main { padding-block: 12px; }
.brand { color: #1d2730; }
.brand small { color: #77838d; }
.brand-logo { flex: 0 0 44px; width: 44px; height: 44px; }
.header-actions { gap: 8px; }
.header-pill { border-color: #e2e7eb; background: #fff; color: #33414b; transition: border-color .18s ease, color .18s ease, background .18s ease; }
.header-pill:hover { border-color: #f0aab1; background: #fff6f6; color: var(--ay-red); }
.navbar { border-top: 1px solid #edf0f2; border-bottom: 1px solid #e9edef; background: #fff; }
.navbar .container { position: relative; gap: 18px; min-height: 55px; }
.navbar a { color: #47545f; }
.navbar a:hover, .navbar .hot { color: var(--ay-red); }
.ay-primary-navigation { min-width: 0; }
.ay-primary-menu { gap: clamp(14px,2vw,28px); }
.ay-primary-menu a { color: #46535e; font-size: 12px; font-weight: 750; transition: color .15s ease; }
.ay-primary-menu a:hover, .ay-primary-menu a[aria-current="page"] { color: var(--ay-red); }
.ay-category-menu { flex: 0 0 auto; }
.ay-category-trigger { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 13px; border: 1px solid #dce2e6; border-radius: 9px; background: #fff; color: #293640; font: inherit; font-size: 12px; font-weight: 850; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease; }
.ay-category-trigger:hover, .ay-category-trigger[aria-expanded="true"] { border-color: #efb2b8; background: #fff6f7; color: var(--ay-red); box-shadow: 0 4px 12px rgba(237,28,46,.08); }
.ay-category-trigger-icon { display: grid; gap: 4px; width: 18px; }
.ay-category-trigger-icon i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.ay-category-trigger-icon i:nth-child(2) { width: 13px; }
.ay-category-trigger svg, .ay-category-menu-item > svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ay-category-trigger[aria-expanded="true"] > svg { transform: rotate(180deg); }
.ay-category-mega[hidden], .ay-category-panel[hidden] { display: none !important; }
.ay-category-mega:not([hidden]) { position: absolute; top: calc(100% + 8px); right: 0; z-index: 1105; display: flex; width: min(940px,calc(100vw - 36px)); max-height: min(570px,calc(100vh - 170px)); flex-direction: column; overflow: hidden; border: 1px solid #e4e9ed; border-radius: 15px; background: #fff; box-shadow: 0 24px 60px rgba(14,24,32,.2); }
.ay-category-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 18px; border-bottom: 1px solid #edf0f2; }
.ay-category-menu-head > div { display: grid; gap: 2px; }
.ay-category-menu-head strong { color: #202c35; font-size: 14px; font-weight: 850; }
.ay-category-menu-head small { color: #78848d; font-size: 10px; }
.ay-category-menu-head > a { padding: 7px 10px; border-radius: 7px; background: #fff2f3; color: var(--ay-red); font-size: 10px; font-weight: 800; white-space: nowrap; }
.ay-category-menu-body { display: grid; min-height: 0; grid-template-columns: 310px minmax(0,1fr); direction: rtl; }
.ay-category-menu-list { overflow: auto; padding: 7px; border-left: 1px solid #edf0f2; background: #fbfcfd; }
.ay-category-menu-item { display: grid; width: 100%; min-height: 48px; grid-template-columns: 34px minmax(0,1fr) 17px; align-items: center; gap: 9px; padding: 6px 8px; border: 0; border-radius: 8px; background: transparent; color: #35434d; font: inherit; text-align: right; cursor: pointer; transition: color .15s ease, background .15s ease; }
.ay-category-menu-item:hover, .ay-category-menu-item:focus-visible, .ay-category-menu-item.is-active { outline: 0; background: #fff0f1; color: var(--ay-red); }
.ay-category-menu-image { display: grid; place-items: center; width: 34px; height: 34px; overflow: hidden; border: 1px solid #eef1f3; border-radius: 8px; background: #fff; }
.ay-category-menu-image img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ay-category-menu-label { overflow: hidden; font-size: 11px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.ay-category-menu-item > svg { transform: rotate(180deg); color: #89949c; }
.ay-category-menu-item.is-active > svg { color: var(--ay-red); }
.ay-category-menu-panels { min-width: 0; overflow: auto; padding: 20px; }
.ay-category-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 17px; padding-bottom: 14px; border-bottom: 1px solid #edf0f2; }
.ay-category-panel-title > span { display: grid; gap: 3px; }
.ay-category-panel-title small { color: #85919a; font-size: 9px; }
.ay-category-panel-title strong { color: #202c35; font-size: 17px; font-weight: 850; }
.ay-category-panel-title > b { color: var(--ay-red); font-size: 10px; white-space: nowrap; }
.ay-category-panel-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.ay-category-panel-links > a { display: flex; min-height: 57px; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid #e9edef; border-radius: 9px; background: #fff; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.ay-category-panel-links > a:hover { transform: translateY(-1px); border-color: #f1b9be; background: #fff8f8; }
.ay-category-panel-links strong { color: #34414b; font-size: 11px; font-weight: 800; }
.ay-category-panel-links small { color: #8a949c; font-size: 9px; white-space: nowrap; }
.ay-category-panel-single { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px; border: 1px solid #e9edef; border-radius: 10px; background: #f9fafb; color: #66727c; font-size: 11px; }
.ay-category-panel-single a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 7px; background: var(--ay-red); color: #fff; font-size: 10px; font-weight: 800; white-space: nowrap; }
.ay-category-panel-single a:hover { background: #ca1424; color: #fff; }
body.ay-category-menu-open::before { position: fixed; z-index: 1090; top: var(--ay-category-overlay-top,150px); right: 0; bottom: 0; left: 0; background: rgba(15,22,28,.46); content: ""; }
.ay-category-trigger:focus-visible, .ay-category-menu-head > a:focus-visible, .ay-category-panel a:focus-visible { outline: 3px solid rgba(237,28,46,.26); outline-offset: 2px; }

/* Interactive address pin selection. */
.ay-address-location-picker { margin-bottom: 18px; padding: 14px; border: 1px solid #e3e9ed; border-radius: 12px; background: #fbfcfd; }
.ay-address-map-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.ay-address-map-heading h3 { margin: 3px 0; color: #24313b; font-size: 14px; font-weight: 850; }
.ay-address-map-heading p { margin: 0; color: #6f7c86; font-size: 10px; line-height: 1.8; }
.ay-address-map-locate { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; min-height: 38px; padding: 7px 11px; border: 1px solid #e0e6ea; border-radius: 8px; background: #fff; color: #35434d; font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.ay-address-map-locate:hover { border-color: #f0b2b8; color: var(--ay-red); }
.ay-address-map-locate:disabled { opacity: .6; cursor: wait; }
.ay-address-map-canvas { z-index: 0; width: 100%; height: 340px; overflow: hidden; border: 1px solid #dfe5e9; border-radius: 9px; background: #e9eef1; }
.ay-address-map-status { margin: 9px 0 0; color: #4c5963; font-size: 10px; line-height: 1.8; }
.ay-address-map-footer > small { display: block; margin-top: 5px; color: #85919a; font-size: 9px; }
.ay-address-map-footer > small a { color: #53616b; text-decoration: underline; }
.ay-address-map-confirm { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; margin-top: 10px; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--ay-red); color: #fff; font-family: inherit; font-size: 10px; font-weight: 850; cursor: pointer; }
.ay-address-map-confirm:hover:not(:disabled) { background: #ca1424; }
.ay-address-map-confirm:disabled { background: #cbd2d7; color: #fff; cursor: not-allowed; }
.ay-map-marker-wrap { border: 0; background: none; }
.ay-map-marker { display: block; width: 32px; height: 40px; filter: drop-shadow(0 3px 3px rgba(0,0,0,.25)); }
.ay-map-marker svg { display: block; width: 32px; height: 40px; fill: var(--ay-red); stroke: #fff; stroke-width: 1.2; }

/* Clear, compact product search and a cart icon that matches the header. */
.header-main { grid-template-columns: auto minmax(0,1fr) auto; }
.header-search { display: flex; width: min(100%,760px); min-width: 0; min-height: 50px; justify-self: center; align-items: center; gap: 5px; padding: 4px; border: 1px solid #dce3e8; border-radius: 12px; background: #f8fafb; box-shadow: inset 0 1px 2px rgba(20,32,44,.025); }
.header-search:focus-within { border-color: #e9a0a8; background: #fff; box-shadow: 0 0 0 3px rgba(237,28,46,.08); }
.header-search > input[type="search"] { flex: 1 1 auto; width: 100%; min-width: 0; height: 40px; padding: 0 13px; border: 0; border-radius: 8px; outline: 0; background: transparent; color: #26323c; font-family: inherit; font-size: 13px; text-align: right; }
.header-search > input[type="search"]::placeholder { color: #77838d; opacity: 1; }
.header-search > button { position: static !important; inset: auto !important; display: grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; padding: 9px; border: 0; border-radius: 9px; background: var(--ay-red); color: #fff; cursor: pointer; }
.header-search > button:hover { background: #cc1424; }
.header-search > button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ay-search-results[hidden] { display: none !important; }
.ay-search-results:not([hidden]) { position: absolute; top: calc(100% + 8px); right: 0; z-index: 1120; display: grid; width: 100%; max-height: min(440px,65vh); overflow: auto; padding: 6px; border: 1px solid #e1e7eb; border-radius: 12px; background: #fff; box-shadow: 0 18px 42px rgba(20,32,44,.18); }
.ay-search-message { margin: 0; padding: 14px 12px; color: #687680; font-size: 11px; text-align: right; }
.ay-search-result { display: grid; grid-template-columns: 46px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 62px; padding: 7px 8px; border-radius: 8px; color: #303c46; }
.ay-search-result:hover, .ay-search-result:focus-visible { outline: 0; background: #f7f9fa; }
.ay-search-result-image { display: grid; place-items: center; width: 46px; height: 46px; overflow: hidden; border: 1px solid #edf0f2; border-radius: 7px; background: #fff; }
.ay-search-result-image img { width: 100%; height: 100%; object-fit: contain; }
.ay-search-result-copy { display: grid; min-width: 0; gap: 4px; }
.ay-search-result-copy strong { overflow: hidden; color: #2b3741; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.ay-search-result-copy small { color: #77838d; font-size: 10px; }
.ay-search-result-price { color: var(--ay-red); font-size: 10px; font-weight: 850; white-space: nowrap; }
.ay-search-all { display: block; margin-top: 4px; padding: 10px; border-top: 1px solid #edf0f2; color: var(--ay-red); font-size: 10px; font-weight: 800; text-align: center; }
.ay-search-all:hover { background: #fff6f6; }
.header-cart-icon { position: relative; display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; margin-right: 2px; border: 1px solid #e2e7eb; border-radius: 11px; background: #fff; color: #34414b; transition: border-color .18s ease, color .18s ease, background .18s ease; }
.header-cart-icon:hover { border-color: #f0aab1; background: #fff6f6; color: var(--ay-red); }
.header-cart-icon > svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.header-cart-icon > .ay-cart-count { position: absolute; top: -6px; left: -6px; display: grid; min-width: 19px; height: 19px; place-items: center; padding: 0 4px; border: 2px solid #fff; border-radius: 20px; background: var(--ay-red); color: #fff; font-size: 9px; font-weight: 850; line-height: 1; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Keep WooCommerce's legacy form-row widths from squeezing account fields. */
.woocommerce-account .ay-account-edit-grid p.woocommerce-form-row.form-row,
.woocommerce-account .ay-account-edit-grid p.form-row { float: none !important; width: 100% !important; min-width: 0; max-width: none; margin-inline: 0; }
.woocommerce-account .ay-account-edit-grid input.woocommerce-Input.input-text { box-sizing: border-box; width: 100% !important; min-height: 46px; padding: 10px 13px; border: 1px solid #dce3e8 !important; border-radius: 9px; background: #fbfcfd !important; color: #26323c; font-family: inherit; font-size: 12px; box-shadow: none; }
.woocommerce-account .ay-account-edit-grid input.woocommerce-Input.input-text:focus { border-color: var(--ay-red) !important; outline: 3px solid rgba(237,28,46,.1); background: #fff !important; }

@media (max-width: 900px) {
  .header-main { grid-template-columns: minmax(0,1fr) auto; }
  .header-search { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; width: 100%; max-width: none; }
}
@media (max-width: 600px) {
  .header-search { min-height: 46px; }
  .header-search > input[type="search"] { height: 36px; font-size: 12px; }
  .header-search > button { flex-basis: 36px; width: 36px; height: 36px; }
  .header-cart-icon { display: none; }
  .ay-search-result { grid-template-columns: 40px minmax(0,1fr) auto; gap: 8px; }
  .ay-search-result-image { width: 40px; height: 40px; }
}

/* About page: a clear introduction and a compact, credible expert profile. */
.ay-about-page { padding-top: 30px; }
.ay-about-page .container { display: grid; gap: 16px; }
.ay-about-hero { position: relative; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(270px,.75fr); align-items: center; gap: 28px; overflow: hidden; min-height: 330px; padding: 32px; border: 1px solid #27343e; border-radius: 17px; background: linear-gradient(100deg,rgba(12,19,25,.92),rgba(12,19,25,.76)),url("../images/home-hero.jpg") center 53% / cover no-repeat,#151d25; box-shadow: 0 10px 28px rgba(16,28,38,.13); }
.ay-about-hero:before { position: absolute; inset: 0 0 0 auto; width: 4px; background: var(--ay-red); content: ""; }
.ay-about-hero-copy { position: relative; z-index: 1; max-width: 620px; }
.ay-about-eyebrow { color: #ffadb4; font-size: 11px; font-weight: 850; }
.ay-about-hero h1 { margin: 7px 0 10px; color: #fff; font-size: clamp(25px,3vw,36px); font-weight: 900; line-height: 1.5; }
.ay-about-hero-copy > p { max-width: 600px; margin: 0; color: #d4dce2; font-size: 13px; line-height: 2; }
.ay-about-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.ay-about-button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; gap: 9px; padding: 10px 15px; border: 1px solid transparent; border-radius: 8px; font-size: 11px; font-weight: 850; transition: transform .16s ease, background .16s ease; }
.ay-about-button:hover { transform: translateY(-1px); }
.ay-about-button-primary { background: var(--ay-red); color: #fff; }
.ay-about-button-primary:hover { background: #ca1424; color: #fff; }
.ay-about-button-light { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; }
.ay-about-button-light:hover { background: rgba(255,255,255,.13); color: #fff; }
.ay-about-profile { position: relative; z-index: 1; padding: 21px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: rgba(255,255,255,.97); color: #26323c; box-shadow: 0 12px 28px rgba(0,0,0,.16); }
.ay-about-profile-mark { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 12px; border-radius: 13px; background: #fff0f1; color: var(--ay-red); }
.ay-about-profile-mark svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ay-about-profile-label { color: #76828c; font-size: 10px; font-weight: 750; }
.ay-about-profile h2 { margin: 3px 0 14px; color: #202c36; font-size: 19px; font-weight: 900; }
.ay-about-profile-detail { display: grid; gap: 3px; padding: 10px 0; border-top: 1px solid #edf0f2; }
.ay-about-profile-detail span { color: #7b8790; font-size: 9px; }
.ay-about-profile-detail strong { color: #34414b; font-size: 11px; font-weight: 800; }
.ay-about-story { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: 25px; padding: 25px; border: 1px solid var(--ay-line); border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(20,32,44,.04); }
.ay-about-story-heading > span { color: var(--ay-red); font-size: 10px; font-weight: 850; }
.ay-about-story-heading h2 { margin: 5px 0 8px; color: #202c36; font-size: 19px; font-weight: 900; line-height: 1.7; }
.ay-about-story-heading p { margin: 0; color: #687680; font-size: 11px; line-height: 2.1; }
.ay-about-values { display: grid; gap: 9px; }
.ay-about-value { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; column-gap: 10px; padding: 11px 12px; border: 1px solid #edf0f2; border-radius: 10px; background: #fbfcfd; }
.ay-about-value > span { display: grid; grid-row: span 2; width: 36px; height: 36px; place-items: center; border-radius: 9px; background: #eef5f8; color: #397b94; }
.ay-about-value > span svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ay-about-value h3 { margin: 0; color: #2c3842; font-size: 11px; font-weight: 850; }
.ay-about-value p { margin: 3px 0 0; color: #74808a; font-size: 9px; line-height: 1.8; }
@media (max-width: 900px) {
  .ay-about-hero { grid-template-columns: 1fr; gap: 18px; }
  .ay-about-profile { max-width: 100%; }
  .ay-about-story { grid-template-columns: 1fr; gap: 18px; }
}

/* Expanded About page story and engineering-led service approach. */
.ay-about-story-body { display: grid; gap: 10px; }
.ay-about-story-body p { margin: 0; color: #596772; font-size: 11px; line-height: 2.15; }
.ay-about-approach { display: grid; gap: 14px; padding: 23px 25px; border: 1px solid var(--ay-line); border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(20,32,44,.04); }
.ay-about-section-heading > span, .ay-about-closing > div > span { color: var(--ay-red); font-size: 10px; font-weight: 850; }
.ay-about-section-heading h2, .ay-about-closing h2 { margin: 4px 0 5px; color: #202c36; font-size: 18px; font-weight: 900; line-height: 1.7; }
.ay-about-section-heading p, .ay-about-closing p { margin: 0; color: #6d7983; font-size: 11px; line-height: 1.9; }
.ay-about-approach .ay-about-values { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.ay-about-approach .ay-about-value { grid-template-columns: 40px minmax(0,1fr); padding: 13px; }
.ay-about-approach .ay-about-value h3 { font-size: 12px; }
.ay-about-approach .ay-about-value p { font-size: 10px; line-height: 1.9; }
.ay-about-closing { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 23px; border: 1px solid #e6eaee; border-radius: 14px; background: linear-gradient(100deg,#fff,#f9fafb); }
.ay-about-closing > div { max-width: 690px; }
.ay-about-closing .ay-about-button { flex: 0 0 auto; }
@media (max-width: 900px) {
  .ay-about-closing { align-items: flex-start; flex-direction: column; }
  .ay-about-closing .ay-about-button { width: 100%; }
}
@media (max-width: 600px) {
  .ay-about-approach { padding: 17px 14px; }
  .ay-about-approach .ay-about-values { grid-template-columns: 1fr; }
  .ay-about-closing { padding: 16px 14px; }
  .ay-about-section-heading h2, .ay-about-closing h2 { font-size: 16px; }
  .ay-about-story-body p { font-size: 10px; }
}
@media (max-width: 600px) {
  .ay-about-page { padding-top: 18px; }
  .ay-about-hero { min-height: 0; padding: 20px 17px; }
  .ay-about-hero h1 { font-size: 23px; }
  .ay-about-hero-copy > p { font-size: 11px; }
  .ay-about-profile { padding: 16px; }
  .ay-about-story { padding: 17px 14px; }
  .ay-about-story-heading h2 { font-size: 16px; }
}

@media (max-width: 900px) {
  .navbar > .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .ay-category-menu { order: 1; }
  .ay-mobile-menu-toggle { order: 2; border-color: #e0e5e9; background: #fff; color: #303c46; }
  .ay-mobile-menu-toggle .ay-menu-icon span { background: var(--ay-red); }
  .ay-primary-navigation { order: 3; flex: 0 0 100%; }
  .ay-category-mega:not([hidden]) { top: calc(100% + 7px); right: 0; left: 0; width: 100%; max-height: min(72vh,620px); }
  .ay-category-menu-body { display: block; overflow: auto; }
  .ay-category-menu-list { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; padding: 8px; border-left: 0; border-bottom: 1px solid #edf0f2; }
  .ay-category-menu-item { flex: 0 0 150px; min-height: 48px; grid-template-columns: 30px minmax(0,1fr) 15px; gap: 6px; padding: 5px; }
  .ay-category-menu-image { width: 30px; height: 30px; }
  .ay-category-menu-label { font-size: 10px; }
  .ay-category-menu-panels { padding: 14px; }
  .ay-category-panel-title { margin-bottom: 11px; padding-bottom: 10px; }
  .header-main { grid-template-columns: minmax(0,1fr) auto; }
}
@media (max-width: 600px) {
  .topbar { display: none; }
  .header-main { gap: 9px; padding-block: 10px; }
  .brand { gap: 8px; font-size: 20px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-logo { flex-basis: 38px; width: 38px; height: 38px; }
  .header-search input { height: 43px; font-size: 12px; }
  .ay-category-trigger { min-height: 40px; gap: 7px; padding: 7px 9px; font-size: 11px; }
  .ay-category-trigger-icon { width: 16px; }
  .ay-category-trigger-icon i { width: 16px; }
  .ay-category-menu-head { padding: 12px; }
  .ay-category-menu-head strong { font-size: 12px; }
  .ay-category-menu-head > a { padding: 6px 8px; font-size: 9px; }
  .ay-category-menu-item { flex-basis: 137px; }
  .ay-category-panel-links { grid-template-columns: 1fr; gap: 7px; }
  .ay-category-panel-links > a { min-height: 47px; }
  .ay-category-panel-title strong { font-size: 14px; }
  .ay-address-location-picker { padding: 10px; }
  .ay-address-map-heading { align-items: flex-start; }
  .ay-address-map-heading h3 { font-size: 12px; }
  .ay-address-map-heading p { max-width: 245px; font-size: 9px; }
  .ay-address-map-locate { min-height: 34px; padding: 6px 8px; font-size: 9px; }
  .ay-address-map-canvas { height: 250px; }
  .ay-address-map-status { font-size: 9px; }
  .ay-address-type-nav { grid-template-columns: 1fr; gap: 7px; }
  .ay-address-type-link { min-height: 59px; }
}

/* Privacy and purchase policies: scannable pages that share the shop's design system. */
.ay-policy-page { padding: 26px 0 46px; }
.ay-policy-page > .container { display: grid; gap: 18px; }
.ay-policy-hero { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 285px; align-items: center; gap: 28px; overflow: hidden; min-height: 235px; padding: 30px 34px; border: 1px solid #27343e; border-radius: 17px; background: linear-gradient(100deg,rgba(12,19,25,.94),rgba(12,19,25,.77)),url("../images/home-hero.jpg") center 53% / cover no-repeat,#151d25; box-shadow: 0 10px 28px rgba(16,28,38,.13); }
.ay-policy-hero:before { position: absolute; inset: 0 0 0 auto; width: 4px; background: var(--ay-red); content: ""; }
.ay-policy-hero-copy { position: relative; z-index: 1; max-width: 760px; }
.ay-policy-eyebrow { color: #ffadb4; font-size: 11px; font-weight: 850; }
.ay-policy-hero h1 { margin: 7px 0 8px; color: #fff; font-size: clamp(25px,3vw,34px); font-weight: 900; line-height: 1.55; }
.ay-policy-hero-copy > p { max-width: 760px; margin: 0; color: #d4dce2; font-size: 12px; line-height: 2.1; }
.ay-policy-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 20px; margin-top: 17px; color: #b7c0c8; font-size: 10px; }
.ay-policy-hero-meta a { color: #fff; font-weight: 800; }
.ay-policy-hero-meta a:hover { color: #ffadb4; }
.ay-policy-hero-card { position: relative; z-index: 1; display: grid; justify-items: start; gap: 7px; padding: 18px; border: 1px solid rgba(255,255,255,.68); border-radius: 13px; background: rgba(255,255,255,.97); color: #26323c; box-shadow: 0 12px 28px rgba(0,0,0,.15); }
.ay-policy-hero-card-icon { display: grid; width: 39px; height: 39px; place-items: center; margin-bottom: 2px; border-radius: 11px; background: #fff0f1; color: var(--ay-red); }
.ay-policy-hero-card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ay-policy-hero-card strong { color: #202c36; font-size: 12px; font-weight: 900; }
.ay-policy-hero-card > span:not(.ay-policy-hero-card-icon) { color: #74808a; font-size: 10px; line-height: 1.9; }
.ay-policy-hero-card > a { margin-top: 3px; color: var(--ay-red); font-size: 10px; font-weight: 850; }
.ay-policy-layout { display: grid; grid-template-columns: 235px minmax(0,1fr); align-items: start; gap: 16px; }
.ay-policy-toc { position: sticky; top: 153px; display: grid; gap: 3px; padding: 14px; border: 1px solid var(--ay-line); border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(20,32,44,.04); }
.ay-policy-toc > strong { padding: 2px 7px 9px; color: #202c36; font-size: 12px; font-weight: 900; }
.ay-policy-toc > a { display: block; padding: 8px 9px; border-radius: 7px; color: #5d6973; font-size: 10px; line-height: 1.65; transition: color .16s ease,background .16s ease; }
.ay-policy-toc > a:hover,.ay-policy-toc > a:focus-visible { outline: 0; background: #fff1f2; color: var(--ay-red); }
.ay-policy-content { display: grid; gap: 11px; min-width: 0; }
.ay-policy-section { display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: start; gap: 12px; padding: 18px 19px; border: 1px solid var(--ay-line); border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(20,32,44,.035); scroll-margin-top: 150px; }
.ay-policy-number { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid #ffe1e4; border-radius: 10px; background: #fff3f4; color: var(--ay-red); font-size: 10px; font-weight: 900; font-variant-numeric: tabular-nums; }
.ay-policy-section > div { min-width: 0; }
.ay-policy-section h2 { margin: 2px 0 8px; color: #202c36; font-size: 15px; font-weight: 900; line-height: 1.75; }
.ay-policy-section p,.ay-policy-section li { color: #5d6973; font-size: 11px; line-height: 2.15; }
.ay-policy-section p { margin: 0 0 8px; }
.ay-policy-section p:last-child { margin-bottom: 0; }
.ay-policy-section ul,.ay-policy-section ol { display: grid; gap: 4px; margin: 0 0 9px; padding: 0 19px 0 0; }
.ay-policy-section li { padding-right: 2px; }
.ay-policy-section li::marker { color: var(--ay-red); font-weight: 900; }
.ay-policy-section a { color: #cc1725; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(204,23,37,.25); text-underline-offset: 3px; }
.ay-policy-section a:hover { text-decoration-color: currentColor; }
.ay-policy-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 12px 0; }
.ay-policy-facts > div { display: grid; gap: 3px; padding: 10px 12px; border: 1px solid #edf0f2; border-radius: 9px; background: #fbfcfd; }
.ay-policy-facts dt { color: #77838d; font-size: 9px; }
.ay-policy-facts dd { margin: 0; color: #34414b; font-size: 10px; font-weight: 800; line-height: 1.9; }
.ay-policy-facts dd a { color: var(--ay-red); text-decoration: none; }
.ay-policy-notice { display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: start; gap: 11px; padding: 15px 17px; border: 1px solid #e6eaee; border-radius: 12px; background: #fff; scroll-margin-top: 150px; }
.ay-policy-notice-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #fff1f2; color: var(--ay-red); font-size: 16px; font-weight: 900; }
.ay-policy-notice-mark svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ay-policy-notice strong { display: block; margin: 1px 0 4px; color: #26323c; font-size: 12px; font-weight: 900; line-height: 1.8; }
.ay-policy-notice p { margin: 0; color: #687680; font-size: 10px; line-height: 2; }
.ay-policy-notice-red { border-color: #f5dadd; background: linear-gradient(100deg,#fff,#fff8f8); }
.ay-policy-notice-green { border-color: #d7eee1; background: linear-gradient(100deg,#fff,#f7fcf9); }
.ay-policy-notice-green .ay-policy-notice-mark { background: #e9f7ef; color: #16874a; }
.ay-policy-notice-green div { align-self: center; }
.ay-policy-notice-green p { color: #50675a; }
.ay-policy-notice-blue { border-color: #d9e9f0; background: linear-gradient(100deg,#fff,#f7fbfd); }
.ay-policy-notice-blue .ay-policy-notice-mark { background: #eaf4f8; color: #397b94; }
.ay-policy-contact-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 19px; border: 1px solid #28343e; border-radius: 12px; background: linear-gradient(110deg,#171e25,#222b34); color: #fff; }
.ay-policy-contact-cta > div { display: grid; gap: 4px; }
.ay-policy-contact-cta strong { font-size: 12px; font-weight: 900; }
.ay-policy-contact-cta span { color: #c5cdd4; font-size: 10px; line-height: 1.8; }
.ay-policy-contact-cta > a { display: inline-flex; flex: 0 0 auto; min-height: 39px; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px; border-radius: 8px; background: var(--ay-red); color: #fff; font-size: 10px; font-weight: 850; }
.ay-policy-contact-cta > a span { color: #fff; }
.ay-policy-contact-cta > a:hover { background: #c91424; }
@media (max-width: 900px) {
  .ay-policy-hero { grid-template-columns: minmax(0,1fr) 235px; gap: 18px; padding: 25px; }
  .ay-policy-layout { grid-template-columns: 195px minmax(0,1fr); gap: 12px; }
  .ay-policy-toc { top: 135px; padding: 10px; }
  .ay-policy-toc > a { padding: 7px 6px; font-size: 9px; }
  .ay-policy-section { padding: 15px; }
}
@media (max-width: 650px) {
  .ay-policy-page { padding: 17px 0 30px; }
  .ay-policy-hero { grid-template-columns: 1fr; gap: 16px; min-height: 0; padding: 19px 17px; }
  .ay-policy-hero h1 { font-size: 23px; }
  .ay-policy-hero-copy > p { font-size: 10px; }
  .ay-policy-hero-card { grid-template-columns: 37px minmax(0,1fr); align-items: center; gap: 2px 9px; padding: 11px; }
  .ay-policy-hero-card-icon { grid-row: span 3; margin: 0; }
  .ay-policy-hero-card strong { align-self: end; font-size: 10px; }
  .ay-policy-hero-card > span:not(.ay-policy-hero-card-icon) { font-size: 9px; }
  .ay-policy-hero-card > a { align-self: start; margin: 0; font-size: 9px; }
  .ay-policy-hero-meta { gap: 7px 12px; margin-top: 12px; font-size: 9px; }
  .ay-policy-layout { grid-template-columns: 1fr; }
  .ay-policy-toc { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px; }
  .ay-policy-toc > strong { grid-column: 1 / -1; }
  .ay-policy-toc > a { font-size: 9px; }
  .ay-policy-section { grid-template-columns: 30px minmax(0,1fr); gap: 8px; padding: 13px 11px; scroll-margin-top: 95px; }
  .ay-policy-number { width: 29px; height: 29px; border-radius: 8px; font-size: 9px; }
  .ay-policy-section h2 { margin-top: 0; font-size: 13px; }
  .ay-policy-section p,.ay-policy-section li { font-size: 10px; line-height: 2; }
  .ay-policy-facts { grid-template-columns: 1fr; gap: 6px; }
  .ay-policy-notice { grid-template-columns: 30px minmax(0,1fr); gap: 8px; padding: 12px; scroll-margin-top: 95px; }
  .ay-policy-notice-mark { width: 29px; height: 29px; }
  .ay-policy-notice strong { font-size: 10px; }
  .ay-policy-notice p { font-size: 9px; }
  .ay-policy-contact-cta { align-items: stretch; flex-direction: column; gap: 11px; padding: 14px; }
  .ay-policy-contact-cta strong { font-size: 11px; }
  .ay-policy-contact-cta > a { width: 100%; }
}

/* Mobile navigation: one compact control row and two coordinated overlays. */
.header-pill { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.header-pill svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ay-category-close { display: none; }
@media (max-width: 900px) {
  .header-main { grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px; padding-block: 9px; }
  .brand { grid-column: 1; grid-row: 1; min-width: 0; gap: 8px; font-size: 19px; }
  .brand small { font-size: 8px; letter-spacing: 1.8px; }
  .brand-logo { flex-basis: 40px; width: 40px; height: 40px; }
  .header-actions { display: flex; grid-column: 2; grid-row: 1; gap: 6px; }
  .header-pill,.header-cart-icon { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; margin: 0; padding: 0; border: 1px solid #e2e7eb; border-radius: 10px; background: #fff; color: #33414b; }
  .header-pill > span { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
  .header-pill svg,.header-cart-icon > svg { width: 19px; height: 19px; }
  .header-cart-icon > .ay-cart-count { top: -5px; left: -5px; min-width: 17px; height: 17px; font-size: 8px; }
  .header-search { grid-column: 1 / -1; grid-row: 2; min-height: 46px; }
  .navbar { border-top: 1px solid #edf0f2; }
  .navbar > .container { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: 8px; min-height: 0; padding-top: 7px; padding-bottom: 7px; }
  .ay-category-menu { min-width: 0; width: 100%; }
  .ay-category-trigger,.ay-mobile-menu-toggle { display: inline-flex; width: 100%; min-width: 0; min-height: 43px; align-items: center; justify-content: space-between; gap: 7px; padding: 7px 10px; border: 1px solid #e1e7eb; border-radius: 10px; background: #f8fafb; color: #34414b; font-size: 11px; font-weight: 800; }
  .ay-category-trigger > span:nth-child(2),.ay-mobile-menu-toggle > span:last-child { flex: 1 1 auto; text-align: right; }
  .ay-category-trigger-icon { flex: 0 0 16px; width: 16px; gap: 3px; color: var(--ay-red); }
  .ay-category-trigger-icon i { width: 16px; }
  .ay-category-trigger-icon i:nth-child(2) { width: 12px; }
  .ay-category-trigger > svg { flex: 0 0 16px; width: 16px; height: 16px; color: #82909a; }
  .ay-category-trigger[aria-expanded="true"],.ay-mobile-menu-toggle[aria-expanded="true"] { border-color: #f0b5bb; background: #fff3f4; color: #c91525; box-shadow: 0 3px 10px rgba(229,29,42,.06); }
  .ay-mobile-menu-toggle { grid-column: 2; grid-row: 1; font-family: inherit; cursor: pointer; }
  .ay-menu-icon { flex: 0 0 17px; width: 17px; }
  .ay-menu-icon span { width: 17px; height: 2px; background: var(--ay-red); }
  .ay-mobile-menu-toggle[aria-expanded="true"] .ay-menu-icon span:first-child { transform: translateY(6px) rotate(45deg); }
  .ay-mobile-menu-toggle[aria-expanded="true"] .ay-menu-icon span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .ay-primary-navigation { position: absolute; top: calc(100% + 6px); right: 0; left: 0; z-index: 1110; display: none; max-height: min(72vh,680px); overflow: auto; margin: 0; padding: 12px; border: 1px solid #e2e8ed; border-radius: 13px; background: #fff; box-shadow: 0 18px 44px rgba(15,26,36,.2); }
  .navbar.is-open .ay-primary-navigation { display: block; }
  .ay-primary-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .ay-primary-menu li,.ay-primary-menu li:last-child { min-width: 0; border: 0; }
  .ay-primary-menu a { display: flex; min-height: 41px; align-items: center; padding: 7px 9px; border: 1px solid #edf0f2; border-radius: 8px; background: #f9fafb; color: #394650; font-size: 10px; font-weight: 750; }
  .ay-primary-menu a:before { margin-left: 6px; color: var(--ay-red); content: "›"; font-size: 16px; }
  .ay-primary-menu a.hot { background: #fff2f3; color: var(--ay-red); }
  .ay-mobile-menu-extras { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #edf0f2; }
  .ay-mobile-menu-extras a { min-width: 0; min-height: 38px; padding: 6px 4px; border: 1px solid #e6ebef; background: #f7f9fa; color: #34414b; font-size: 9px; font-weight: 750; }
  .ay-mobile-menu-extras .ay-cart-count { color: var(--ay-red); font-weight: 900; }
  .ay-category-mega:not([hidden]) { position: fixed; top: calc(var(--ay-category-overlay-top,160px) + 8px); right: 50%; left: auto; z-index: 1105; width: min(520px,calc(100vw - 20px)); max-height: calc(100vh - var(--ay-category-overlay-top,160px) - 18px); max-height: calc(100dvh - var(--ay-category-overlay-top,160px) - 18px); transform: translateX(50%); }
  .ay-category-menu-head { min-height: 54px; gap: 8px; padding: 9px 10px; }
  .ay-category-menu-head strong { font-size: 11px; }
  .ay-category-menu-head small { font-size: 8px; }
  .ay-category-menu-head > a { padding: 6px 7px; font-size: 8px; }
  .ay-category-close { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; padding: 0; border: 1px solid #e5eaed; border-radius: 8px; background: #fff; color: #5e6b75; cursor: pointer; }
  .ay-category-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .ay-category-menu-body { display: grid; flex: 1 1 auto; grid-template-columns: 118px minmax(0,1fr); overflow: hidden; }
  .ay-category-menu-list { display: grid; align-content: start; gap: 3px; min-height: 0; overflow: auto; padding: 6px; border: 0; border-left: 1px solid #edf0f2; }
  .ay-category-menu-item { min-height: 44px; grid-template-columns: 24px minmax(0,1fr); gap: 5px; padding: 5px; }
  .ay-category-menu-image { width: 24px; height: 24px; border-radius: 6px; }
  .ay-category-menu-label { font-size: 8px; }
  .ay-category-menu-item > svg { display: none; }
  .ay-category-menu-panels { min-height: 0; overflow: auto; padding: 10px; }
  .ay-category-panel-title { align-items: flex-start; gap: 6px; margin-bottom: 9px; padding-bottom: 8px; }
  .ay-category-panel-title strong { font-size: 12px; }
  .ay-category-panel-title > b { font-size: 8px; }
  .ay-category-panel-links { grid-template-columns: 1fr; gap: 5px; }
  .ay-category-panel-links > a { min-height: 40px; gap: 5px; padding: 6px 7px; }
  .ay-category-panel-links strong { font-size: 9px; }
  .ay-category-panel-links small { font-size: 8px; }
  .ay-category-panel-single { align-items: stretch; flex-direction: column; gap: 8px; padding: 10px; font-size: 9px; }
  .ay-category-panel-single a { justify-content: center; font-size: 9px; }
}
@media (max-width: 600px) {
  .header-main { gap: 7px 9px; padding-block: 8px; }
  .brand { gap: 7px; font-size: 17px; }
  .brand small { margin-top: 1px; font-size: 7px; letter-spacing: 1.5px; }
  .brand-logo { flex-basis: 36px; width: 36px; height: 36px; }
  .header-actions { gap: 5px; }
  .header-pill,.header-cart-icon { flex-basis: 36px; width: 36px; height: 36px; border-radius: 9px; }
  .header-pill svg,.header-cart-icon > svg { width: 17px; height: 17px; }
  .header-search { min-height: 44px; padding: 3px; border-radius: 10px; }
  .header-search > input[type="search"] { height: 36px; font-size: 11px; }
  .header-search > button { flex-basis: 36px; width: 36px; height: 36px; border-radius: 8px; }
  .navbar > .container { gap: 6px; padding-top: 6px; padding-bottom: 6px; }
  .ay-category-trigger,.ay-mobile-menu-toggle { min-height: 40px; gap: 5px; padding-inline: 8px; font-size: 10px; }
  .ay-category-mega:not([hidden]) { width: calc(100vw - 14px); max-height: calc(100vh - var(--ay-category-overlay-top,150px) - 12px); max-height: calc(100dvh - var(--ay-category-overlay-top,150px) - 12px); }
  .ay-category-menu-body { grid-template-columns: 105px minmax(0,1fr); }
  .ay-category-menu-item { min-height: 42px; grid-template-columns: 21px minmax(0,1fr); gap: 4px; padding: 4px; }
  .ay-category-menu-image { width: 21px; height: 21px; }
  .ay-category-menu-label { font-size: 7px; }
  .ay-category-menu-panels { padding: 8px; }
  .ay-category-menu-head > a { padding: 5px; font-size: 7px; }
}

/* Address forms use the same dark hero, red accent, and spacious cards as the account dashboard. */
.ay-address-back-link { display: inline-flex; min-height: 35px; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #e1e7eb; border-radius: 8px; background: #fff; color: #55636e; font-size: 10px; transition: border-color .16s ease,color .16s ease,background .16s ease; }
.ay-address-back-link:hover { border-color: #f0b5bb; background: #fff6f7; color: var(--ay-red); }
.ay-address-type-link { position: relative; overflow: hidden; }
.ay-address-type-link.is-active:before { position: absolute; inset: 0 0 0 auto; width: 3px; background: var(--ay-red); content: ""; }
.ay-address-edit-intro { position: relative; overflow: hidden; border-color: #293640; background: linear-gradient(105deg,rgba(12,19,25,.94),rgba(12,19,25,.78)),url("../images/home-hero.jpg") center 54% / cover no-repeat,#151d25; box-shadow: 0 8px 23px rgba(16,28,38,.12); }
.ay-address-edit-intro:before { position: absolute; inset: 0 0 0 auto; width: 4px; background: var(--ay-red); content: ""; }
.ay-address-edit-intro .ay-address-edit-icon { position: relative; z-index: 1; background: rgba(255,255,255,.1); color: #ff4653; }
.ay-address-edit-intro > div { position: relative; z-index: 1; }
.ay-address-edit-intro .ay-address-eyebrow { color: #ffadb4; }
.ay-address-edit-intro h2 { color: #fff; font-size: 19px; font-weight: 900; }
.ay-address-edit-intro p { color: #d4dce2; font-size: 10px; }
.ay-address-edit-form { padding: 18px; border-radius: 13px; box-shadow: 0 7px 22px rgba(20,32,44,.055); }
.ay-address-edit-form .woocommerce-address-fields__field-wrapper { align-items: start; }
.ay-address-edit-form .form-row label { line-height: 1.8; }
.ay-address-edit-form .form-row .required { color: var(--ay-red); }
.ay-address-edit-form .input-text,.ay-address-edit-form select,.ay-address-edit-form textarea { transition: border-color .16s ease,box-shadow .16s ease,background .16s ease; }
.ay-address-edit-form .input-text:focus,.ay-address-edit-form select:focus,.ay-address-edit-form textarea:focus,.ay-address-edit-form .select2-container--default.select2-container--focus .select2-selection--single { box-shadow: 0 0 0 3px rgba(237,28,46,.08); }
.ay-address-edit-form .select2-container { width: 100% !important; }
.ay-address-edit-form .select2-container--default .select2-selection--single { display: flex; align-items: center; }
.ay-address-edit-form .select2-container--default .select2-selection--single .select2-selection__rendered { flex: 1; }
.ay-address-save-button { box-shadow: 0 5px 13px rgba(229,29,42,.17); transition: background .16s ease,transform .16s ease,box-shadow .16s ease; }
.ay-address-save-button:hover { transform: translateY(-1px); box-shadow: 0 7px 17px rgba(229,29,42,.23); }
@media (max-width: 600px) {
  .ay-address-edit-page { gap: 11px; }
  .ay-address-back-link { min-height: 33px; padding: 6px 9px; font-size: 9px; }
  .ay-address-type-nav { gap: 7px; }
  .ay-address-type-link { min-height: 62px; gap: 7px; padding: 8px; border-radius: 9px; }
  .ay-address-type-icon { flex-basis: 31px; width: 31px; height: 31px; border-radius: 8px; }
  .ay-address-type-icon svg { width: 18px; height: 18px; }
  .ay-address-type-link strong { font-size: 9px; }
  .ay-address-type-link small { font-size: 7px; }
  .ay-address-type-link > b { font-size: 13px; }
  .ay-address-edit-intro { gap: 10px; padding: 14px 12px; }
  .ay-address-edit-icon { flex-basis: 39px; width: 39px; height: 39px; border-radius: 10px; }
  .ay-address-edit-icon svg { width: 25px; height: 25px; }
  .ay-address-edit-intro h2 { font-size: 15px; }
  .ay-address-edit-intro p { font-size: 9px; }
  .ay-address-edit-form { padding: 12px 10px; }
  .ay-address-edit-form .woocommerce-address-fields__field-wrapper { grid-template-columns: minmax(0,1fr); gap: 0; }
  .ay-address-edit-form .form-row-wide { grid-column: auto; }
  .ay-address-edit-form .form-row { margin-bottom: 11px; }
  .ay-address-edit-form .form-row label { margin-bottom: 4px; font-size: 10px; }
  .ay-address-edit-form .input-text,.ay-address-edit-form select,.ay-address-edit-form textarea,.ay-address-edit-form .select2-container--default .select2-selection--single { min-height: 42px; font-size: 11px; }
  .ay-address-submit-row { margin-top: 3px !important; }
  .ay-address-save-button { width: 100%; min-height: 44px; }
  .ay-address-location-picker { margin-bottom: 13px; padding: 10px; }
  .ay-address-map-canvas { height: 230px; }
}

/* Checkout: bring WooCommerce's classic or block form into the Afshar Yadak design system. */
body.woocommerce-checkout { background: var(--ay-bg); }
body.woocommerce-checkout h1 { width: min(1220px,calc(100% - 32px)); margin: 22px auto 15px; color: #202c36; font-size: 25px; font-weight: 900; line-height: 1.5; }
body.woocommerce-checkout .woocommerce { width: min(1220px,calc(100% - 32px)); margin: 0 auto 40px; }
body.woocommerce-checkout .woocommerce form.checkout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(300px,.82fr); grid-template-areas: "customer summary-title" "customer summary"; align-items: start; gap: 0 18px; direction: rtl; }
body.woocommerce-checkout #customer_details { grid-area: customer; min-width: 0; padding: 19px; border: 1px solid var(--ay-line); border-radius: 15px; background: #fff; box-shadow: 0 7px 22px rgba(20,32,44,.05); }
body.woocommerce-checkout #order_review_heading { grid-area: summary-title; margin: 0; padding: 15px 17px 10px; border: 1px solid var(--ay-line); border-bottom: 0; border-radius: 15px 15px 0 0; background: #fff; color: #26323c; font-size: 16px; font-weight: 850; }
body.woocommerce-checkout #order_review { grid-area: summary; min-width: 0; padding: 0 17px 17px; border: 1px solid var(--ay-line); border-top: 0; border-radius: 0 0 15px 15px; background: #fff; box-shadow: 0 7px 22px rgba(20,32,44,.05); }
body.woocommerce-checkout .col2-set, body.woocommerce-checkout .col2-set .col-1, body.woocommerce-checkout .col2-set .col-2 { float: none; width: 100%; }
body.woocommerce-checkout .col2-set .col-2 { margin-top: 16px; }
body.woocommerce-checkout .woocommerce-billing-fields h3, body.woocommerce-checkout .woocommerce-shipping-fields h3, body.woocommerce-checkout .woocommerce-additional-fields h3 { margin: 0 0 13px; color: #26323c; font-size: 15px; font-weight: 850; }
body.woocommerce-checkout .woocommerce-billing-fields, body.woocommerce-checkout .woocommerce-shipping-fields, body.woocommerce-checkout .woocommerce-additional-fields { margin: 0; }
body.woocommerce-checkout .woocommerce form .form-row { margin: 0 0 13px; padding: 0; }
body.woocommerce-checkout .woocommerce form .form-row label { margin: 0 0 6px; color: #34414b; font-size: 11px; font-weight: 750; line-height: 1.8; }
body.woocommerce-checkout .woocommerce form .form-row .required { color: var(--ay-red); }
body.woocommerce-checkout .woocommerce form .input-text, body.woocommerce-checkout .woocommerce form select, body.woocommerce-checkout .woocommerce form textarea, body.woocommerce-checkout .select2-container--default .select2-selection--single { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #dce3e8; border-radius: 9px; background: #fff; color: #26323c; font-family: inherit; font-size: 12px; line-height: 1.7; }
body.woocommerce-checkout .woocommerce form textarea { min-height: 86px; }
body.woocommerce-checkout .select2-container--default .select2-selection--single { display: flex; align-items: center; height: 44px; padding: 0 10px; }
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; color: #26323c; line-height: 1.7; }
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { top: 8px; }
body.woocommerce-checkout .woocommerce form .input-text:focus, body.woocommerce-checkout .woocommerce form select:focus, body.woocommerce-checkout .woocommerce form textarea:focus, body.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single { border-color: var(--ay-red); outline: 0; box-shadow: 0 0 0 3px rgba(237,28,46,.09); }
body.woocommerce-checkout .woocommerce form .form-row-first, body.woocommerce-checkout .woocommerce form .form-row-last { float: none; width: 100%; }
body.woocommerce-checkout .woocommerce form .woocommerce-input-wrapper { display: block; width: 100%; }
body.woocommerce-checkout .woocommerce form .woocommerce-input-wrapper .input-text { box-sizing: border-box; }
body.woocommerce-checkout .woocommerce form .woocommerce-invalid .input-text { border-color: #df3c49; }
body.woocommerce-checkout .woocommerce form .woocommerce-validated .input-text { border-color: #b8d8c6; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table { width: 100%; border: 0; border-collapse: collapse; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table th, body.woocommerce-checkout .woocommerce-checkout-review-order-table td { padding: 10px 0; border: 0; border-bottom: 1px solid #edf0f2; color: #4d5a64; font-size: 11px; vertical-align: top; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name { color: #34414b; font-weight: 700; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total, body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td { color: var(--ay-red); font-weight: 850; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th, body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td { border-bottom: 0; font-size: 14px; }
body.woocommerce-checkout #payment { margin-top: 13px; padding: 13px; border: 1px solid #e6ebef; border-radius: 11px; background: #f8fafb; }
body.woocommerce-checkout #payment ul.payment_methods { margin: 0 0 12px; padding: 0 0 10px; border-bottom-color: #e6ebef; }
body.woocommerce-checkout #payment .payment_box { border-radius: 8px; background: #eef3f6; color: #596671; font-size: 10px; line-height: 1.9; }
body.woocommerce-checkout #payment .payment_box:before { border-bottom-color: #eef3f6; }
body.woocommerce-checkout #payment .place-order { margin: 0; padding: 0; }
body.woocommerce-checkout #payment #place_order { width: 100%; min-height: 47px; border: 0; border-radius: 9px; background: var(--ay-red); color: #fff; font-family: inherit; font-size: 12px; font-weight: 850; box-shadow: 0 5px 13px rgba(229,29,42,.17); }
body.woocommerce-checkout #payment #place_order:hover { background: #ca1424; }
body.woocommerce-checkout .woocommerce-info, body.woocommerce-checkout .woocommerce-error, body.woocommerce-checkout .woocommerce-message { border-top-color: var(--ay-red); border-radius: 9px; font-size: 11px; line-height: 1.9; }
body.woocommerce-checkout .woocommerce-info:before, body.woocommerce-checkout .woocommerce-message:before { color: var(--ay-red); }
body.woocommerce-checkout .checkout_coupon { margin: 0 0 16px; padding: 13px; border: 1px solid var(--ay-line); border-radius: 11px; background: #fff; }
body.woocommerce-checkout .checkout_coupon .button { min-height: 40px; border: 0; border-radius: 8px; background: #26323c; color: #fff; font-family: inherit; font-weight: 750; }
body.woocommerce-checkout .woocommerce-form__label-for-checkbox, body.woocommerce-checkout .woocommerce-form__label-for-checkbox span { color: #56636d; font-size: 10px; }
body.woocommerce-checkout .woocommerce form .form-row.ay-hide-country, body.woocommerce-checkout .woocommerce form #billing_country_field, body.woocommerce-checkout .woocommerce form #shipping_country_field { display: none !important; }
body.woocommerce-checkout .wc-block-components-address-form__country { display: none !important; }
body.woocommerce-checkout .wp-block-woocommerce-checkout { width: min(1220px,calc(100% - 32px)); max-width: 1220px; margin: 0 auto 40px; }
body.woocommerce-checkout .wc-block-components-sidebar-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.82fr); align-items: start; gap: 18px; direction: rtl; }
body.woocommerce-checkout .wc-block-components-main, body.woocommerce-checkout .wc-block-components-sidebar { box-sizing: border-box; min-width: 0; padding: 18px; border: 1px solid var(--ay-line); border-radius: 15px; background: #fff; box-shadow: 0 7px 22px rgba(20,32,44,.05); }
body.woocommerce-checkout .wc-block-components-sidebar { position: sticky; top: 16px; }
body.woocommerce-checkout .wc-block-components-checkout-step { margin: 0; padding: 16px 0; border-bottom: 1px solid #edf0f2; }
body.woocommerce-checkout .wc-block-components-checkout-step:first-child { padding-top: 0; }
body.woocommerce-checkout .wc-block-components-checkout-step__title { color: #26323c; font-family: inherit; font-size: 14px; font-weight: 850; }
body.woocommerce-checkout .wc-block-components-checkout-step__description, body.woocommerce-checkout .wc-block-components-checkout-step__description a { color: #65727c; font-family: inherit; font-size: 10px; line-height: 1.9; }
body.woocommerce-checkout .wc-block-components-text-input input, body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select, body.woocommerce-checkout .wc-block-components-combobox-control input, body.woocommerce-checkout .wc-block-components-textarea { min-height: 43px; border: 1px solid #dce3e8 !important; border-radius: 9px !important; background: #fff !important; color: #26323c !important; font-family: inherit !important; font-size: 12px !important; box-shadow: none !important; }
body.woocommerce-checkout .wc-block-components-text-input input:focus, body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus, body.woocommerce-checkout .wc-block-components-combobox-control input:focus, body.woocommerce-checkout .wc-block-components-textarea:focus { border-color: var(--ay-red) !important; box-shadow: 0 0 0 3px rgba(237,28,46,.09) !important; }
body.woocommerce-checkout .wc-block-components-text-input label, body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__label { color: #65727c; font-family: inherit; font-size: 10px; }
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option, body.woocommerce-checkout .wc-block-components-radio-control__option { border-color: #e4e9ed; border-radius: 9px; }
body.woocommerce-checkout .wc-block-components-radio-control__option-checked { border-color: #efb5bb; background: #fff7f8; }
body.woocommerce-checkout .wc-block-components-button:not(.is-link) { min-height: 46px; border: 0; border-radius: 9px; background: var(--ay-red); color: #fff; font-family: inherit; font-weight: 850; }
body.woocommerce-checkout .wc-block-components-button:not(.is-link):hover { background: #ca1424; }
body.woocommerce-checkout .wc-block-components-totals-wrapper, body.woocommerce-checkout .wc-block-components-order-summary-item { border-color: #edf0f2; }
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices, body.woocommerce-checkout .wc-block-components-order-summary-item__total-price { color: var(--ay-red); font-weight: 800; }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 10px; font-family: inherit; font-size: 11px; line-height: 1.9; }
@media (max-width: 760px) {
  body.woocommerce-checkout h1 { width: calc(100% - 24px); margin: 15px auto 10px; font-size: 19px; }
  body.woocommerce-checkout .woocommerce, body.woocommerce-checkout .wp-block-woocommerce-checkout { width: calc(100% - 20px); margin-bottom: 25px; }
  body.woocommerce-checkout .woocommerce form.checkout { grid-template-columns: minmax(0,1fr); grid-template-areas: "summary-title" "summary" "customer"; gap: 0; }
  body.woocommerce-checkout #customer_details { margin-top: 12px; padding: 13px 11px; border-radius: 12px; }
  body.woocommerce-checkout #order_review_heading { padding: 12px 13px 8px; border-radius: 12px 12px 0 0; font-size: 13px; }
  body.woocommerce-checkout #order_review { padding: 0 13px 13px; border-radius: 0 0 12px 12px; }
  body.woocommerce-checkout .wc-block-components-sidebar-layout { grid-template-columns: minmax(0,1fr); gap: 11px; }
  body.woocommerce-checkout .wc-block-components-main, body.woocommerce-checkout .wc-block-components-sidebar { position: static; padding: 13px 11px; border-radius: 12px; }
  body.woocommerce-checkout .wc-block-components-sidebar { order: -1; }
  body.woocommerce-checkout .wc-block-components-checkout-step { padding: 13px 0; }
}

/* WooCommerce inserts a plain "view cart" link after an AJAX add-to-cart.
   Keep product cards compact on touch screens; the header cart remains the clear cart entry point. */
body.woocommerce ul.products li.product a.added_to_cart.wc-forward,
body.home .woocommerce ul.products li.product a.added_to_cart.wc-forward,
.ay-shop-page .product-card a.added_to_cart.wc-forward { display: none !important; }

@media (max-width: 600px) {
  body.woocommerce ul.products li.product { padding-bottom: 10px; }
  body.woocommerce ul.products li.product .button { min-height: 42px; margin-inline: 9px; }
  body.woocommerce ul.products li.product .price { min-height: 24px; }
}

/* Filled cart: WooCommerce blocks need the same card, spacing, and red-action treatment as the theme. */
body.woocommerce-cart main.section { padding-top: 24px; }
body.woocommerce-cart .wp-block-woocommerce-cart.alignwide { width: min(1220px,calc(100% - 32px)); box-sizing: border-box; }
body.woocommerce-cart .wc-block-components-sidebar-layout { display: grid !important; grid-template-columns: minmax(0,1.55fr) minmax(300px,.82fr); align-items: start; gap: 16px; direction: rtl; }
body.woocommerce-cart .wc-block-cart__main, body.woocommerce-cart .wc-block-cart__sidebar { box-sizing: border-box; min-width: 0; padding: 17px; border: 1px solid var(--ay-line); border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(20,32,44,.045); }
body.woocommerce-cart .wc-block-cart-items { width: 100%; border: 0; border-collapse: collapse; }
body.woocommerce-cart .wc-block-cart-items thead th { padding: 0 10px 11px; border: 0; border-bottom: 1px solid #edf0f2; color: #7b858e; font-size: 10px; font-weight: 700; }
body.woocommerce-cart .wc-block-cart-items__row td { padding: 13px 9px; border: 0; border-bottom: 1px solid #edf0f2; vertical-align: middle; }
body.woocommerce-cart .wc-block-cart-item__image { width: 82px; }
body.woocommerce-cart .wc-block-cart-item__image a { display: grid; width: 68px; height: 68px; place-items: center; overflow: hidden; border: 1px solid #edf0f2; border-radius: 9px; background: #f8fafb; }
body.woocommerce-cart .wc-block-cart-item__image img { display: block; width: 100%; height: 100%; margin: 0; object-fit: contain; }
body.woocommerce-cart .wc-block-cart-item__product { color: #34414b; font-size: 12px; line-height: 1.8; }
body.woocommerce-cart .wc-block-cart-item__product a { color: #26323c; font-weight: 800; }
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-price { display: block; margin-top: 3px; color: var(--ay-red); font-size: 12px; font-weight: 850; }
body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-metadata { margin-top: 3px; color: #77838c; font-size: 10px; }
body.woocommerce-cart .wc-block-cart-item__total { min-width: 118px; color: var(--ay-red); font-size: 12px; font-weight: 850; white-space: nowrap; }
body.woocommerce-cart .wc-block-components-quantity-selector { min-height: 37px; border: 1px solid #dce3e8; border-radius: 8px; background: #fff; }
body.woocommerce-cart .wc-block-components-quantity-selector input { min-width: 34px; font-family: inherit; font-size: 12px; }
body.woocommerce-cart .wc-block-cart-item__remove-link { margin: 4px 8px 0 0; color: #7c8790; font-size: 10px; text-decoration: none; }
body.woocommerce-cart .wc-block-cart-item__remove-link:hover { color: var(--ay-red); }
body.woocommerce-cart .wc-block-components-sidebar { position: sticky; top: 16px; }
body.woocommerce-cart .wc-block-cart__totals-title { color: #26323c; font-size: 15px; font-weight: 850; }
body.woocommerce-cart .wc-block-components-totals-wrapper { border-color: #edf0f2; }
body.woocommerce-cart .wc-block-components-totals-item__value, body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: var(--ay-red); font-weight: 850; }
body.woocommerce-cart .wc-block-cart__submit-container { padding-top: 12px; }
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-components-button { min-height: 46px; border: 0; border-radius: 9px; background: var(--ay-red); color: #fff; font-family: inherit; font-weight: 850; box-shadow: 0 5px 13px rgba(229,29,42,.15); }
body.woocommerce-cart .wc-block-cart__submit-container .wc-block-components-button:hover { background: #ca1424; }
body.woocommerce-cart .wc-block-components-notice-banner { border-radius: 10px; font-family: inherit; font-size: 11px; line-height: 1.9; }

/* Make the mobile menu and account address fields readable and consistent at phone width. */
@media (max-width: 600px) {
  .ay-primary-menu a { min-height: 45px; font-size: 12px; }
  .ay-mobile-menu-extras { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .ay-mobile-menu-extras a { min-height: 42px; font-size: 11px; }
  .ay-category-trigger,.ay-mobile-menu-toggle { min-height: 44px; font-size: 12px; }
  .ay-category-menu-body { grid-template-columns: 122px minmax(0,1fr); }
  .ay-category-menu-item { min-height: 48px; grid-template-columns: 26px minmax(0,1fr); gap: 6px; padding: 6px; }
  .ay-category-menu-image { width: 26px; height: 26px; }
  .ay-category-menu-label { font-size: 10px; }
  .ay-category-menu-panels { padding: 10px; }
  .ay-category-panel-title strong { font-size: 13px; }
  .ay-category-panel-title > b { font-size: 10px; }
  .ay-category-panel-links { grid-template-columns: 1fr; gap: 6px; }
  .ay-category-panel-links > a { min-height: 43px; padding: 7px 9px; }
  .ay-category-panel-links strong { font-size: 11px; }
  .ay-category-panel-links small { font-size: 9px; }
}

@media (max-width: 600px) {
  body.woocommerce-account.logged-in .woocommerce,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content,
  body.woocommerce-account .ay-address-edit-page,
  body.woocommerce-account form.ay-address-edit-form,
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields,
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper { box-sizing: border-box; width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 0 !important; }
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper > .form-row,
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper > .form-row-first,
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper > .form-row-last,
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper > .form-row-wide { grid-column: 1 / -1 !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper > .form-row > label { display: block !important; width: 100%; text-align: right; }
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper input.input-text,
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper select,
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper textarea,
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper .select2-container { box-sizing: border-box !important; display: block; width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper input.input-text,
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper select,
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper textarea { min-height: 46px !important; border-color: #dce3e8 !important; border-radius: 10px !important; background: #fff !important; color: #26323c !important; font: 12px/1.8 "Vazirmatn",Tahoma,Arial,sans-serif !important; }
}

@media (max-width: 800px) {
  body.woocommerce-cart main.section { padding-top: 19px; }
  body.woocommerce-cart .wc-block-components-sidebar-layout { grid-template-columns: minmax(0,1fr); gap: 11px; }
  body.woocommerce-cart .wc-block-cart__main, body.woocommerce-cart .wc-block-cart__sidebar { position: static; padding: 13px; border-radius: 12px; }
  body.woocommerce-cart .wc-block-cart__sidebar { order: 2; }
}
@media (max-width: 600px) {
  body.woocommerce-cart main.section > .container > h1 { margin-bottom: 12px; font-size: 21px !important; }
  body.woocommerce-cart .wp-block-woocommerce-cart.alignwide { width: calc(100% - 20px); }
  body.woocommerce-cart .wc-block-cart__main { padding: 9px 10px; }
  body.woocommerce-cart .wc-block-cart-items thead { display: none; }
  body.woocommerce-cart .wc-block-cart-items, body.woocommerce-cart .wc-block-cart-items tbody { display: block; width: 100%; }
  body.woocommerce-cart .wc-block-cart-items__row { display: grid !important; grid-template-columns: 70px minmax(0,1fr); grid-template-areas: "image product"; align-items: center; gap: 8px; width: 100%; padding: 12px 0; border-bottom: 1px solid #edf0f2; direction: rtl; }
  body.woocommerce-cart .wc-block-cart-items__row td { display: block; min-width: 0; padding: 0; border: 0; }
  body.woocommerce-cart .wc-block-cart-item__image { grid-area: image; width: 70px; }
  body.woocommerce-cart .wc-block-cart-item__image a { width: 64px; height: 64px; }
  body.woocommerce-cart .wc-block-cart-item__product { grid-area: product; font-size: 11px; }
  body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-price { font-size: 12px; }
  body.woocommerce-cart .wc-block-cart-item__total { display: none !important; }
  body.woocommerce-cart .wc-block-cart-item__quantity { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 7px; }
  body.woocommerce-cart .wc-block-components-quantity-selector { max-width: 142px; min-height: 35px; }
  body.woocommerce-cart .wc-block-cart-item__remove-link { margin: 0; padding: 6px 8px; border: 1px solid #e6ebef; border-radius: 7px; background: #fff; }
  body.woocommerce-cart .wc-block-cart__sidebar { margin-top: 0; padding: 13px; }
}

/* Compact, branded cart title block instead of a floating page heading. */
body.woocommerce-cart .ay-cart-heading-card { position: relative; display: flex; align-items: center; gap: 13px; min-width: 0; margin: 0 0 16px; padding: 15px 17px; overflow: hidden; border: 1px solid var(--ay-line); border-radius: 14px; background: linear-gradient(110deg,#fff,#fffafa); box-shadow: 0 6px 20px rgba(20,32,44,.045); }
body.woocommerce-cart .ay-cart-heading-card:before { position: absolute; inset: 0 0 0 auto; width: 4px; background: var(--ay-red); content: ""; }
body.woocommerce-cart .ay-cart-heading-icon { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; border-radius: 12px; background: #fff0f1; color: var(--ay-red); }
body.woocommerce-cart .ay-cart-heading-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
body.woocommerce-cart .ay-cart-heading-copy { min-width: 0; }
body.woocommerce-cart .ay-cart-heading-eyebrow { display: block; margin-bottom: 2px; color: #87919a; font-size: 9px; font-weight: 750; }
body.woocommerce-cart .ay-cart-heading-copy h1 { width: auto; margin: 0; padding: 0; border: 0; color: #202c36; font-size: 20px; font-weight: 900; line-height: 1.45; }
body.woocommerce-cart .ay-cart-heading-copy p { margin: 3px 0 0; color: #697680; font-size: 10px; line-height: 1.8; }
body.woocommerce-cart .ay-cart-heading-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; margin-right: auto; }
body.woocommerce-cart .ay-cart-heading-count { padding: 7px 10px; border: 1px solid #f2d5d8; border-radius: 8px; background: #fff6f7; color: #bf1c2a; font-size: 10px; font-weight: 850; white-space: nowrap; }
body.woocommerce-cart .ay-cart-heading-actions a { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; border: 1px solid #e2e8ed; border-radius: 8px; background: #fff; color: #3e4c57; font-size: 10px; font-weight: 800; white-space: nowrap; }
body.woocommerce-cart .ay-cart-heading-actions a:hover { border-color: #f0b5bb; color: var(--ay-red); }

/* Ensure WooCommerce's stronger default selectors cannot restore brown, browser-like address fields. */
body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper > .form-row { box-sizing: border-box; float: none !important; width: 100% !important; margin: 0 0 13px !important; clear: none !important; }
body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper > .form-row-first,
body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper > .form-row-last { grid-column: span 1; }
body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper > .form-row-wide { grid-column: 1 / -1; }
body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper > .form-row > label { margin: 0 0 6px; color: #34414b !important; font-family: "Vazirmatn",Tahoma,Arial,sans-serif !important; font-size: 11px !important; font-weight: 750 !important; line-height: 1.8; }
body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper input.input-text,
body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper select,
body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper textarea { box-sizing: border-box !important; width: 100% !important; min-height: 44px !important; padding: 9px 11px !important; border: 1px solid #dce3e8 !important; border-radius: 9px !important; background: #fff !important; color: #26323c !important; font-family: "Vazirmatn",Tahoma,Arial,sans-serif !important; font-size: 12px !important; line-height: 1.8 !important; box-shadow: none !important; }
body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper input.input-text:focus,
body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper select:focus,
body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper textarea:focus { border-color: var(--ay-red) !important; outline: 0 !important; box-shadow: 0 0 0 3px rgba(237,28,46,.09) !important; }
body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper .select2-container { width: 100% !important; }
body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper .select2-container--default .select2-selection--single { box-sizing: border-box; min-height: 44px; border: 1px solid #dce3e8 !important; border-radius: 9px !important; background: #fff !important; box-shadow: none !important; }
body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper .select2-container--default .select2-selection__rendered { color: #26323c !important; font-family: "Vazirmatn",Tahoma,Arial,sans-serif !important; font-size: 12px !important; }
body.woocommerce-account .ay-address-location-picker { border-color: #e2e8ed; border-radius: 13px; background: #fff; box-shadow: 0 5px 17px rgba(20,32,44,.04); }
body.woocommerce-account .ay-address-map-canvas { border-color: #dce3e8; border-radius: 10px; }
body.woocommerce-account .ay-address-map-status { color: #596671; font-size: 11px; }
body.woocommerce-account .ay-address-map-footer > small { font-size: 10px; }

/* SelectWoo dropdowns are attached to <body>, outside the themed address form. */
body.woocommerce-account .select2-container--default .select2-dropdown,
body.woocommerce-checkout .select2-container--default .select2-dropdown { z-index: 10050; overflow: hidden; border: 1px solid #dce3e8; border-radius: 10px; background: #fff; box-shadow: 0 10px 30px rgba(20,32,44,.14); color: #26323c; direction: rtl; font-family: "Vazirmatn",Tahoma,Arial,sans-serif; font-size: 13px; }
body.woocommerce-account .select2-container--default .select2-search--dropdown,
body.woocommerce-checkout .select2-container--default .select2-search--dropdown { padding: 8px; background: #fff; }
body.woocommerce-account .select2-container--default .select2-search--dropdown .select2-search__field,
body.woocommerce-checkout .select2-container--default .select2-search--dropdown .select2-search__field { box-sizing: border-box; width: 100%; min-height: 40px; padding: 7px 10px; border: 1px solid #dce3e8; border-radius: 7px; outline: 0; background: #fbfcfd; color: #26323c; direction: rtl; text-align: right; font: 16px/1.6 "Vazirmatn",Tahoma,Arial,sans-serif; }
body.woocommerce-account .select2-container--default .select2-search--dropdown .select2-search__field:focus,
body.woocommerce-checkout .select2-container--default .select2-search--dropdown .select2-search__field:focus { border-color: var(--ay-red); box-shadow: 0 0 0 3px rgba(237,28,46,.08); }
body.woocommerce-account .select2-container--default .select2-results__options,
body.woocommerce-checkout .select2-container--default .select2-results__options { max-height: min(44vh,280px); overflow-y: auto; overscroll-behavior: contain; }
body.woocommerce-account .select2-container--default .select2-results__option,
body.woocommerce-checkout .select2-container--default .select2-results__option { min-height: 38px; padding: 9px 12px; color: #35424d; direction: rtl; text-align: right; font: 13px/1.6 "Vazirmatn",Tahoma,Arial,sans-serif; }
body.woocommerce-account .select2-container--default .select2-results__option--highlighted[aria-selected],
body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected] { background: #fff0f1; color: #cf1c2a; }
body.woocommerce-account .select2-container--default .select2-results__option[aria-selected="true"],
body.woocommerce-checkout .select2-container--default .select2-results__option[aria-selected="true"] { background: #f3f6f8; color: #25313b; }

/* Keep WooCommerce's result count and ordering control together as one branded toolbar. */
body.woocommerce .ay-shop-toolbar { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 13px; padding: 8px 12px; border: 1px solid var(--ay-line); border-radius: 12px; background: #fff; box-shadow: 0 4px 15px rgba(20,32,44,.035); }
body.woocommerce .ay-shop-toolbar .woocommerce-result-count { flex: 1 1 auto; min-width: 0; margin: 0; color: #596671; font-size: 12px; line-height: 1.7; white-space: nowrap; }
body.woocommerce .ay-shop-toolbar .woocommerce-ordering { position: relative; flex: 0 0 auto; width: auto; margin: 0; }
body.woocommerce .ay-shop-toolbar .woocommerce-ordering:after { position: absolute; top: 50%; left: 11px; color: #78848e; content: "⌄"; font-size: 16px; line-height: 1; transform: translateY(-58%); pointer-events: none; }
body.woocommerce .ay-shop-toolbar .woocommerce-ordering select { box-sizing: border-box; width: auto; min-width: 185px; max-width: 245px; min-height: 38px; padding: 7px 11px 7px 30px; appearance: none; border: 1px solid #e0e6eb; border-radius: 9px; background: #f8fafb; color: #34414b; direction: rtl; font: 12px/1.6 "Vazirmatn",Tahoma,Arial,sans-serif; cursor: pointer; }
body.woocommerce .ay-shop-toolbar .woocommerce-ordering select:focus { border-color: var(--ay-red); outline: 0; box-shadow: 0 0 0 3px rgba(237,28,46,.08); }
@media (max-width: 600px) {
  body.woocommerce .ay-shop-toolbar { min-height: 50px; gap: 7px; margin-bottom: 10px; padding: 6px 8px; border-radius: 10px; }
  body.woocommerce .ay-shop-toolbar .woocommerce-result-count { font-size: 10px; }
  body.woocommerce .ay-shop-toolbar .woocommerce-ordering { width: clamp(145px, 48vw, 185px); }
  body.woocommerce .ay-shop-toolbar .woocommerce-ordering select { width: 100%; min-width: 0; max-width: none; min-height: 36px; padding: 6px 8px 6px 24px; font-size: 10px; }
  body.woocommerce .ay-shop-toolbar .woocommerce-ordering:after { left: 8px; font-size: 14px; }
}

@media (max-width: 600px) {
  body.woocommerce-cart .ay-cart-heading-card { align-items: flex-start; gap: 9px; margin-bottom: 11px; padding: 12px 11px; border-radius: 12px; }
  body.woocommerce-cart .ay-cart-heading-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 10px; }
  body.woocommerce-cart .ay-cart-heading-icon svg { width: 25px; height: 25px; }
  body.woocommerce-cart .ay-cart-heading-eyebrow { font-size: 8px; }
  body.woocommerce-cart .ay-cart-heading-copy h1 { font-size: 18px; }
  body.woocommerce-cart .ay-cart-heading-copy p { max-width: 205px; font-size: 9px; }
  body.woocommerce-cart .ay-cart-heading-actions { flex-direction: column; align-items: flex-end; gap: 5px; margin-right: auto; }
  body.woocommerce-cart .ay-cart-heading-count { padding: 5px 7px; font-size: 9px; }
  body.woocommerce-cart .ay-cart-heading-actions a { min-height: 31px; padding: 5px 7px; font-size: 9px; }
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper { grid-template-columns: minmax(0,1fr) !important; gap: 0; }
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper > .form-row-first,
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper > .form-row-last,
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper > .form-row-wide { grid-column: 1 / -1 !important; }
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper input.input-text,
  body.woocommerce-account form.ay-address-edit-form .woocommerce-address-fields__field-wrapper select { min-height: 44px !important; font-size: 12px !important; }
}

/* Keep the checkout order summary together: WooCommerce outputs its title and
   table as separate siblings, so placing them on separate grid rows creates a
   large blank gap beside the taller billing form. */
body.woocommerce-checkout .woocommerce form.checkout { grid-template-areas: "customer summary"; }
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review { grid-area: summary; }
body.woocommerce-checkout #order_review_heading { position: relative; z-index: 1; min-height: 49px; box-sizing: border-box; border-bottom: 0; }
body.woocommerce-checkout #order_review { margin-top: 49px; border-top: 0; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td { padding: 12px 0; font-size: 12px; line-height: 1.8; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td { font-size: 15px; }
body.woocommerce-checkout .woocommerce > .woocommerce-info { margin: 0 0 17px; padding: 13px 43px 13px 15px; border: 1px solid #f0d7da; border-top: 2px solid var(--ay-red); border-radius: 12px; background: linear-gradient(110deg,#fff 0%,#fff7f8 100%); color: #43505a; font-size: 12px; line-height: 1.9; box-shadow: 0 5px 16px rgba(20,32,44,.035); }
body.woocommerce-checkout .woocommerce > .woocommerce-info:before { right: 16px; left: auto; top: 13px; color: var(--ay-red); }
body.woocommerce-checkout .woocommerce > .woocommerce-info a { color: #cf1c2a; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
body.woocommerce-checkout .woocommerce-form-coupon-toggle { margin: 0 0 16px; }
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { position: relative; margin: 0; padding: 13px 43px 13px 15px; border: 1px solid #f0d7da; border-top: 2px solid var(--ay-red); border-radius: 12px; background: linear-gradient(110deg,#fff 0%,#fff7f8 100%); color: #43505a; font-size: 12px; line-height: 1.9; box-shadow: 0 5px 16px rgba(20,32,44,.035); }
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info:before { right: 16px; left: auto; top: 13px; color: var(--ay-red); }
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a { color: #cf1c2a; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
body.woocommerce-checkout .checkout_coupon { border-color: #f0d7da; background: #fffafb; }
body.woocommerce-checkout .ayct-transfer-box { margin-top: 11px; padding: 13px; border: 1px solid #e4e9ed; border-radius: 11px; background: #fff; color: #34414b; font-family: inherit; }
body.woocommerce-checkout .ayct-transfer-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px; border: 1px solid #e5e9ed; border-radius: 10px; background: linear-gradient(135deg,#f7f9fb,#fff); }
body.woocommerce-checkout .ayct-transfer-card > div { display: grid; gap: 4px; }
body.woocommerce-checkout .ayct-transfer-label { color: #6e7a84; font-size: 10px; }
body.woocommerce-checkout .ayct-transfer-card strong { color: #26323c; font-size: clamp(15px,2vw,19px); letter-spacing: .06em; }
body.woocommerce-checkout .ayct-transfer-card small { color: #6e7a84; font-size: 10px; }
body.woocommerce-checkout .ayct-checkout-handoff { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 11px 12px; border: 1px solid #e5e9ed; border-radius: 10px; background: #fff; }
body.woocommerce-checkout .ayct-checkout-handoff-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: #fff0f1; color: #ed1c2e; font-size: 19px; font-weight: 900; }
body.woocommerce-checkout .ayct-checkout-handoff > span:last-child { display: grid; gap: 3px; }
body.woocommerce-checkout .ayct-checkout-handoff strong { color: #34414b; font-size: 10px; }
body.woocommerce-checkout .ayct-checkout-handoff small { color: #74808a; font-size: 9px; line-height: 1.8; }
body.woocommerce-checkout .ayct-copy-card { min-height: 35px; padding: 6px 10px; border: 1px solid #dce3e8; border-radius: 8px; background: #fff; color: #34414b; font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
body.woocommerce-checkout .ayct-copy-card:hover { border-color: var(--ay-red); color: #cf1c2a; }
body.woocommerce-checkout .ayct-upload-label { display: flex; align-items: center; gap: 7px; margin: 13px 0 7px; color: #34414b; font-size: 11px; font-weight: 850; }
body.woocommerce-checkout .ayct-upload-label span { padding: 2px 6px; border-radius: 999px; background: #fff1f2; color: #d51b2b; font-size: 9px; }
body.woocommerce-checkout #ayct-payment-receipt { box-sizing: border-box; width: 100%; min-height: 43px; padding: 8px; border: 1px dashed #cbd4db; border-radius: 8px; background: #fafbfc; color: #53616c; font: inherit; font-size: 10px; }
body.woocommerce-checkout #ayct-payment-receipt::file-selector-button { min-height: 27px; margin-left: 9px; padding: 4px 9px; border: 0; border-radius: 6px; background: #26323c; color: #fff; font: inherit; font-size: 10px; cursor: pointer; }
body.woocommerce-checkout .ayct-upload-help { display: block; margin-top: 6px; color: #7a858e; font-size: 9px; line-height: 1.8; }
body.woocommerce-checkout .ayct-upload-status { min-height: 0; margin-top: 0; font-size: 10px; line-height: 1.8; }
body.woocommerce-checkout .ayct-upload-status:not(:empty) { margin-top: 7px; }
body.woocommerce-checkout .ayct-upload-status.is-success { color: #18764a; }
body.woocommerce-checkout .ayct-upload-status.is-error { color: #c72030; }
.ayct-admin-receipt { margin-top: 14px; padding: 12px; border: 1px solid #dce3e8; border-right: 3px solid #ed1c2e; border-radius: 8px; background: #fff; }
.ayct-admin-receipt a { margin-right: 6px; font-weight: 700; }
.ayct-admin-receipt p { margin: 6px 0 0; color: #646e77; }
.ayct-admin-receipt-email { margin: 16px 0; padding: 12px 14px; border-right: 3px solid #ed1c2e; border-radius: 7px; background: #f7f8fa; }

/* Dedicated Afshar Yadak card-transfer invoice and receipt page. */
body.woocommerce-checkout .ayct-payment-page { min-height: 55vh; padding: 27px 0 56px; background: #f3f6f8; color: #26323c; }
body.woocommerce-checkout .ayct-payment-page > .container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.ayct-payment-steps { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 auto 20px; color: #89949d; font-size: 11px; }
.ayct-payment-steps span { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.ayct-payment-steps b { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #dbe2e7; border-radius: 50%; background: #fff; color: #72808a; font-size: 11px; }
.ayct-payment-steps .is-complete { color: #278354; }
.ayct-payment-steps .is-complete b { border-color: #b9e3cb; background: #eaf7ef; color: #278354; }
.ayct-payment-steps .is-current { color: #ce1b2b; font-weight: 850; }
.ayct-payment-steps .is-current b { border-color: #ed1c2e; background: #ed1c2e; color: #fff; }
.ayct-payment-steps i { width: clamp(20px,6vw,78px); height: 1px; background: #dfe5e9; }
.ayct-payment-hero { margin: 0 0 17px; padding: 19px 22px; border: 1px solid #29333b; border-right: 4px solid var(--ay-red); border-radius: 14px; background: radial-gradient(ellipse at 10% 20%,rgba(237,28,46,.18),transparent 45%),linear-gradient(120deg,#202a32,#131a20); color: #fff; box-shadow: 0 8px 24px rgba(20,32,44,.11); }
.ayct-payment-kicker { display: inline-block; margin-bottom: 5px; color: #ff727d; font-size: 10px; font-weight: 850; }
.ayct-payment-hero h1 { margin: 0 0 5px; color: #fff; font-size: clamp(21px,3vw,29px); font-weight: 900; }
.ayct-payment-hero p { margin: 0; color: #d4dbe0; font-size: 12px; line-height: 1.9; }
.ayct-payment-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 15px; }
.ayct-payment-card { min-width: 0; padding: 18px; border: 1px solid #e0e6eb; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(20,32,44,.045); }
.ayct-payment-card-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; padding-bottom: 13px; border-bottom: 1px solid #edf0f2; }
.ayct-payment-card-icon { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border-radius: 11px; background: #eef4f7; color: #416c83; font-size: 21px; }
.ayct-payment-card-icon.is-red { background: #fff0f1; color: #ed1c2e; }
.ayct-payment-card-heading h2 { margin: 0 0 3px; color: #26323c; font-size: 15px; font-weight: 900; }
.ayct-payment-card-heading p { margin: 0; color: #77838d; font-size: 10px; }
.ayct-invoice-items { display: grid; gap: 0; }
.ayct-invoice-item,.ayct-invoice-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #edf0f2; font-size: 11px; }
.ayct-invoice-item > span { display: grid; gap: 3px; color: #35424c; font-weight: 750; }
.ayct-invoice-item small { color: #87919a; font-size: 9px; font-weight: 500; }
.ayct-invoice-item > strong,.ayct-invoice-row strong { flex: 0 0 auto; color: #34414b; font-weight: 800; }
.ayct-invoice-row { color: #6d7983; }
.ayct-invoice-total,.ayct-payment-amount { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; padding: 13px; border-radius: 10px; background: #fff5f6; color: #26323c; font-size: 12px; font-weight: 850; }
.ayct-invoice-total strong,.ayct-payment-amount strong { color: #df1d2e; font-size: 17px; font-weight: 900; }
.ayct-invoice-address { display: flex; gap: 9px; margin: 13px 0 0; padding: 11px; border: 1px solid #e8edf0; border-radius: 9px; color: #6f7b85; font-size: 10px; line-height: 1.9; }
.ayct-invoice-address > span:first-child { color: #ed1c2e; font-size: 17px; }
.ayct-invoice-address b { color: #35424c; }
.ayct-bank-card { display: grid; gap: 7px; padding: 15px; border: 1px solid #2a343c; border-radius: 12px; background: linear-gradient(120deg,#232d35,#141b21); color: #fff; }
.ayct-payment-label { color: #c4cdd3; font-size: 10px; }
.ayct-bank-card > strong { color: #fff; font-size: clamp(17px,2.5vw,23px); letter-spacing: .055em; font-variant-numeric: tabular-nums; }
.ayct-bank-card > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #d7dde1; font-size: 10px; }
.ayct-payment-page .ayct-copy-card { min-height: 31px; padding: 5px 9px; border: 1px solid #63717b; border-radius: 7px; background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }
.ayct-payment-page .ayct-copy-card:hover { border-color: #fff; }
.ayct-payment-instructions { margin: 14px 0; padding: 12px 13px; border: 1px solid #e8edf0; border-radius: 10px; background: #fafbfc; }
.ayct-payment-instructions > b { color: #35424c; font-size: 11px; }
.ayct-payment-instructions ol { display: grid; gap: 5px; margin: 8px 0 0; padding: 0 19px 0 0; color: #66737e; font-size: 10px; line-height: 1.8; }
.ayct-receipt-form { display: grid; gap: 8px; }
.ayct-receipt-label { display: flex; align-items: center; gap: 7px; color: #34414b; font-size: 11px; font-weight: 850; }
.ayct-receipt-label span { padding: 2px 6px; border-radius: 999px; background: #fff0f1; color: #d51b2b; font-size: 9px; }
.ayct-receipt-form input[type="file"] { box-sizing: border-box; width: 100%; min-height: 45px; padding: 8px; border: 1px dashed #cbd4db; border-radius: 8px; background: #fafbfc; color: #53616c; font: inherit; font-size: 10px; }
.ayct-receipt-form input[type="file"]::file-selector-button { min-height: 27px; margin-left: 9px; padding: 4px 10px; border: 0; border-radius: 6px; background: #26323c; color: #fff; font: inherit; font-size: 10px; cursor: pointer; }
.ayct-receipt-form > small { color: #7a858e; font-size: 9px; }
.ayct-payment-primary,.ayct-payment-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 15px; border: 0; border-radius: 9px; background: var(--ay-red); color: #fff !important; font: inherit; font-size: 12px; font-weight: 850; text-align: center; text-decoration: none; cursor: pointer; box-shadow: 0 5px 13px rgba(237,28,46,.15); }
.ayct-payment-primary:hover,.ayct-payment-secondary:hover { background: #d9182a; color: #fff; }
.ayct-private-note { display: flex; gap: 7px; margin: 11px 0 0; color: #77838d; font-size: 9px; line-height: 1.8; }
.ayct-private-note span { color: #4d7d91; }
.ayct-payment-message { display: flex; align-items: center; gap: 14px; padding: 19px; border: 1px solid #dbe9e0; border-radius: 13px; background: #fff; box-shadow: 0 6px 20px rgba(20,32,44,.04); }
.ayct-payment-message-icon { display: grid; flex: 0 0 43px; width: 43px; height: 43px; place-items: center; border-radius: 50%; background: #e7f7ed; color: #21824d; font-size: 22px; font-weight: 900; }
.ayct-payment-message > div { flex: 1; }
.ayct-payment-message h2 { margin: 0 0 5px; color: #26323c; font-size: 15px; font-weight: 900; }
.ayct-payment-message p { margin: 3px 0; color: #6b7882; font-size: 10px; line-height: 1.9; }
.ayct-payment-message .ayct-payment-secondary { flex: 0 0 auto; }
.ayct-payment-message.is-error { border-color: #f0d2d5; }
.ayct-payment-message.is-error .ayct-payment-message-icon { background: #fff0f1; color: #d51b2b; }
.ayct-payment-message.is-paid .ayct-payment-message-icon { background: #eaf3fb; color: #2e6d9b; }
.ayct-payment-alert { margin: 0 0 13px; padding: 11px 14px; border: 1px solid #f1c8cd; border-radius: 9px; background: #fff3f4; color: #b51e2a; font-size: 11px; }
.ayct-payment-alert.is-success { border-color: #c9e8d4; background: #effaf3; color: #26754a; }

@media (max-width: 760px) {
  body.woocommerce-checkout .woocommerce form.checkout { grid-template-areas: "summary" "customer"; }
  body.woocommerce-checkout #order_review_heading { min-height: 43px; padding: 12px 13px 8px; }
  body.woocommerce-checkout #order_review { margin-top: 43px; padding: 0 13px 13px; }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td { padding: 10px 0; font-size: 11px; }
  body.woocommerce-checkout .woocommerce > .woocommerce-info { margin-bottom: 12px; padding: 10px 36px 10px 11px; border-radius: 10px; font-size: 11px; }
  body.woocommerce-checkout .woocommerce > .woocommerce-info:before { right: 11px; top: 10px; }
  body.woocommerce-checkout .woocommerce-form-coupon-toggle { margin-bottom: 12px; }
  body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { padding: 10px 36px 10px 11px; border-radius: 10px; font-size: 11px; }
  body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info:before { right: 11px; top: 10px; }
  body.woocommerce-checkout .ayct-transfer-box { padding: 10px; }
  body.woocommerce-checkout .ayct-transfer-card { padding: 10px; }
  body.woocommerce-checkout .ayct-transfer-card strong { font-size: 14px; }
  body.woocommerce-checkout .ayct-payment-page { padding: 16px 0 36px; }
  body.woocommerce-checkout .ayct-payment-page > .container { width: calc(100% - 24px); }
  .ayct-payment-steps { gap: 7px; margin-bottom: 13px; font-size: 9px; }
  .ayct-payment-steps span { gap: 5px; }
  .ayct-payment-steps b { width: 21px; height: 21px; font-size: 9px; }
  .ayct-payment-steps i { width: clamp(9px,4vw,27px); }
  .ayct-payment-hero { margin-bottom: 12px; padding: 14px; border-radius: 11px; }
  .ayct-payment-hero h1 { font-size: 20px; }
  .ayct-payment-hero p { font-size: 10px; }
  .ayct-payment-layout { grid-template-columns: minmax(0,1fr); gap: 11px; }
  .ayct-payment-card { padding: 13px; border-radius: 11px; }
  .ayct-payment-card-heading { margin-bottom: 10px; padding-bottom: 10px; }
  .ayct-payment-card-heading h2 { font-size: 13px; }
  .ayct-invoice-item,.ayct-invoice-row { font-size: 10px; }
  .ayct-invoice-total,.ayct-payment-amount { padding: 11px; font-size: 11px; }
  .ayct-invoice-total strong,.ayct-payment-amount strong { font-size: 15px; }
  .ayct-bank-card { padding: 13px; }
  .ayct-bank-card > strong { font-size: 18px; }
  .ayct-payment-message { align-items: flex-start; flex-wrap: wrap; gap: 10px; padding: 13px; }
  .ayct-payment-message > div { min-width: calc(100% - 55px); }
  .ayct-payment-message .ayct-payment-secondary { width: 100%; }
}

/* Afshar Yadak automotive magazine */
.ay-magazine-section-head { align-items: end; gap: 20px; }
.ay-magazine-section-head > div { max-width: 760px; }
.ay-section-kicker { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 7px; color: #d91b2b; font-size: 11px; font-weight: 850; }
.ay-section-kicker:before { width: 18px; height: 2px; border-radius: 2px; background: currentColor; content: ""; }
.ay-magazine-section-head h2 { margin: 0; }
.ay-magazine-section-head p { margin: 6px 0 0; color: #74808a; font-size: 12px; line-height: 1.9; }
.ay-magazine-section-head > a { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; color: #d91b2b; font-size: 12px; font-weight: 850; }
.ay-magazine-grid,.ay-editorial-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.ay-magazine-card { min-width: 0; overflow: hidden; border: 1px solid #e0e6eb; border-radius: 15px; background: #fff; box-shadow: 0 6px 20px rgba(31,46,60,.045); transition: transform .18s ease,box-shadow .18s ease; }
.ay-magazine-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(31,46,60,.1); }
.ay-magazine-image,.ay-article-featured-image { position: relative; display: block; overflow: hidden; margin: 0; background: #eef2f5; }
.ay-magazine-image { aspect-ratio: 1.58/1; }
.ay-magazine-image > img,.ay-article-featured-image > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ay-magazine-watermark { position: absolute; right: 11px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; min-height: 25px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.28); border-radius: 7px; background: rgba(20,29,38,.72); color: #fff; font-size: 9px; font-weight: 800; backdrop-filter: blur(5px); }
.ay-magazine-watermark img { display: block; width: 19px; height: 19px; object-fit: contain; }
.ay-magazine-card-body { padding: 13px 14px 14px; }
.ay-magazine-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; color: #85909a; font-size: 10px; }
.ay-magazine-meta > span,.ay-magazine-meta > a { color: #d91b2b; font-weight: 800; }
.ay-magazine-card h3,.ay-magazine-card h2 { margin: 8px 0 5px; color: #26323c; font-size: 14px; font-weight: 850; line-height: 1.9; }
.ay-magazine-card h3 a,.ay-magazine-card h2 a { color: inherit; }
.ay-magazine-card p { min-height: 43px; margin: 0; color: #697681; font-size: 11px; line-height: 1.9; }
.ay-magazine-read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 11px; color: #d91b2b; font-size: 11px; font-weight: 850; }
.ay-editorial-page { min-height: 55vh; padding-bottom: 44px; background: var(--ay-bg,#f2f5f7); }
.ay-editorial-hero { padding: 26px 0 24px; border-bottom: 1px solid #e3e8ec; background: linear-gradient(120deg,#fff 0%,#f4f7f9 100%); }
.ay-editorial-hero h1 { margin: 4px 0 8px; color: #202c36; font-size: 27px; font-weight: 900; }
.ay-editorial-hero p { max-width: 760px; margin: 0; color: #687580; font-size: 13px; line-height: 2; }
.ay-editorial-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; color: #7c8791; font-size: 11px; }
.ay-editorial-breadcrumb a { color: #6a7580; }
.ay-editorial-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ay-editorial-grid .ay-magazine-image { aspect-ratio: 1.75/1; }
.ay-editorial-empty { grid-column: 1/-1; padding: 34px; border: 1px solid #e0e6eb; border-radius: 15px; background: #fff; text-align: center; }
.ay-editorial-empty p { color: #74808a; }
.ay-article-page { padding-top: 22px; }
.ay-article-shell { max-width: 940px; margin: 0 auto 34px; padding: 26px clamp(16px,4vw,48px) 30px; border: 1px solid #e0e6eb; border-radius: 18px; background: #fff; box-shadow: 0 8px 25px rgba(31,46,60,.05); }
.ay-article-header { max-width: 780px; margin: 0 auto 22px; }
.ay-article-header h1 { margin: 9px 0 8px; color: #202c36; font-size: clamp(23px,3vw,34px); font-weight: 900; line-height: 1.65; }
.ay-article-excerpt { margin: 0; color: #687580; font-size: 14px; line-height: 2; }
.ay-article-featured-image { aspect-ratio: 1.9/1; margin: 0 0 24px; border-radius: 13px; }
.ay-article-featured-image .ay-magazine-watermark { right: 15px; bottom: 14px; min-height: 32px; font-size: 11px; }
.ay-article-featured-image .ay-magazine-watermark img { width: 23px; height: 23px; }
.ay-article-content { max-width: 780px; margin: 0 auto; color: #35424d; font-size: 14px; line-height: 2.2; }
.ay-article-content h2 { margin: 27px 0 8px; color: #25313b; font-size: 19px; font-weight: 850; }
.ay-article-content h3 { margin: 22px 0 7px; color: #25313b; font-size: 16px; font-weight: 850; }
.ay-article-content p { margin: 0 0 15px; }
.ay-article-content ul,.ay-article-content ol { margin: 0 0 18px; padding-right: 23px; }
.ay-article-content li { margin: 4px 0; }
.ay-article-content a { color: #cf1c2a; text-decoration: underline; text-underline-offset: 3px; }
.ay-article-content blockquote { margin: 20px 0; padding: 14px 17px; border-right: 3px solid #ed1c2e; border-radius: 8px; background: #fff6f7; color: #56636d; }
.ay-article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; max-width: 780px; margin: 24px auto 0; padding-top: 17px; border-top: 1px solid #edf0f2; color: #67737d; font-size: 11px; }
.ay-article-tags a { padding: 5px 9px; border: 1px solid #e2e7eb; border-radius: 999px; color: #55616c; }
.ay-article-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; max-width: 780px; margin: 20px auto 0; padding-top: 16px; border-top: 1px solid #edf0f2; }
.ay-article-footer a { color: #d91b2b; font-size: 12px; font-weight: 850; }
.ay-editorial-page .navigation.pagination { margin-top: 25px; text-align: center; }
.ay-editorial-page .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; margin: 0 3px; padding: 0 9px; border: 1px solid #dce3e8; border-radius: 8px; background: #fff; color: #34414b; }
.ay-editorial-page .page-numbers.current { border-color: #ed1c2e; background: #ed1c2e; color: #fff; }
@media(max-width:1100px) { .ay-magazine-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .ay-editorial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
  .ay-magazine-section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .ay-magazine-section-head h2 { font-size: 19px; }
  .ay-magazine-section-head p { font-size: 11px; }
  .ay-magazine-grid,.ay-editorial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .ay-magazine-image { aspect-ratio: 1.18/1; }
  .ay-magazine-card-body { padding: 10px; }
  .ay-magazine-meta { gap: 4px; font-size: 8px; }
  .ay-magazine-card h3,.ay-magazine-card h2 { margin-top: 6px; font-size: 11px; line-height: 1.8; }
  .ay-magazine-card p { min-height: 50px; font-size: 9px; }
  .ay-magazine-read-more { margin-top: 8px; font-size: 9px; }
  .ay-magazine-watermark { right: 6px; bottom: 6px; gap: 3px; min-height: 21px; padding: 3px 5px; font-size: 7px; }
  .ay-magazine-watermark img { width: 15px; height: 15px; }
  .ay-editorial-hero { padding: 18px 0; }
  .ay-editorial-hero h1 { font-size: 21px; }
  .ay-editorial-hero p { font-size: 11px; }
  .ay-article-page { padding-top: 14px; }
  .ay-article-shell { margin-bottom: 18px; padding: 17px 14px 20px; border-radius: 13px; }
  .ay-article-header h1 { font-size: 22px; }
  .ay-article-excerpt { font-size: 12px; }
  .ay-article-featured-image { aspect-ratio: 1.35/1; border-radius: 10px; }
  .ay-article-content { font-size: 13px; line-height: 2.1; }
  .ay-article-content h2 { font-size: 17px; }
  .ay-article-content h3 { font-size: 15px; }
}
