/*
 * Three Sot Yadak — independent visual identity v1.0.4
 * Industrial red / graphite / silver. No external assets or dependencies.
 */

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

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

:root {
  --s3-red: #d71920;
  --s3-red-dark: #9f0d12;
  --s3-red-soft: #fff0f1;
  --s3-ink: #17191d;
  --s3-ink-2: #24272d;
  --s3-steel: #737981;
  --s3-silver: #e7e9ec;
  --s3-paper: #f4f5f6;
  --s3-white: #fff;
  --s3-line: #d9dde2;
  --s3-shadow: 0 14px 34px rgba(23, 25, 29, .1);
  --navy: var(--s3-ink);
  --navy-2: var(--s3-ink-2);
  --orange: var(--s3-red);
  --bg: var(--s3-paper);
  --text: #202329;
  --muted: #686e76;
  --card: #fff;
  --border: rgba(23, 25, 29, .13);
  --shadow: var(--s3-shadow);
  --radius: 8px;
  --radius-2: 12px;
  --max: 1380px;
  --ay-accent: var(--s3-red);
  --ay-navy: var(--s3-ink);
  --ay-text: #202329;
  --ay-muted: #686e76;
  --ay-border: #d9dde2;
  --ay-soft: #f1f2f4;
}

body {
  color: var(--s3-ink);
  background:
    linear-gradient(90deg, rgba(23, 25, 29, .025) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--s3-paper);
}

::selection { color: #fff; background: var(--s3-red); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline: 3px solid rgba(215, 25, 32, .3); outline-offset: 2px; }

.ay-container,
.container { max-width: 1380px; }

.card,
.ay-card {
  border: 1px solid var(--s3-line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(23, 25, 29, .07);
}

.btn,
.ay-btn,
.button,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 5px !important;
}

.btn--accent,
.ay-btn--primary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  color: #fff !important;
  background: linear-gradient(135deg, #eb252d, #b50f15) !important;
  box-shadow: 0 10px 22px rgba(215, 25, 32, .22) !important;
}

/* Header: a compact workshop-inspired masthead. */
.ay-header {
  border: 0;
  border-bottom: 4px solid var(--s3-red);
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 25, 29, .1);
}

.ay-topbar {
  border: 0;
  color: #e8eaed;
  background: linear-gradient(90deg, #101114, #292c31 55%, #101114);
}

.ay-topbar-inner { min-height: 36px; }
.ay-topbar strong { color: #ff6267; }
.ay-topbar a { color: #fff; font-weight: 800; }
.ay-topbar a:hover { color: #ff6f73; }

.ay-headmain {
  position: relative;
  background:
    linear-gradient(105deg, transparent 0 68%, rgba(215, 25, 32, .045) 68% 100%),
    #fff;
}

.ay-headmain::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 32%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--s3-red));
  content: "";
}

.ay-headmain-inner { min-height: 86px; }
.ay-brand { min-width: 245px; color: var(--s3-ink); }
.ay-brand-logo { display: grid; width: 58px; height: 58px; place-items: center; overflow: visible; }
.ay-brand-logo img { width: auto; max-width: 100%; max-height: 58px; object-fit: contain; }

.s3-brand-mark {
  position: relative;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  border: 2px solid #3a3e45;
  border-radius: 7px;
  background: linear-gradient(145deg, #ef2930, #a9080e 67%, #650509);
  box-shadow: inset 0 1px rgba(255,255,255,.32), 0 8px 18px rgba(153, 10, 16, .22);
  transform: skewX(-5deg);
}

.s3-brand-mark::after {
  position: absolute;
  right: -9px;
  bottom: -15px;
  width: 39px;
  height: 39px;
  border: 8px solid rgba(255,255,255,.12);
  border-radius: 50%;
  content: "";
}

.s3-brand-mark b { font-size: 31px; line-height: 1; transform: skewX(5deg); }
.s3-brand-mark i { position: absolute; left: 5px; bottom: 2px; color: #fff; font-size: 7px; font-style: normal; font-weight: 900; transform: skewX(5deg); }
.s3-brand-mark--footer { width: 118px; height: 60px; justify-content: flex-start; padding-right: 14px; }
.s3-brand-mark--footer b { font-size: 35px; }
.s3-brand-mark--footer i { position: static; margin-right: 6px; font-size: 13px; }

.ay-brand-title { color: #17191d; font-size: 19px; font-weight: 1000; letter-spacing: -.35px; }
.ay-brand-tagline { margin-top: 4px; color: #747981; font-size: 11px; }

.ay-leftbox {
  border: 1px solid #d3d6da;
  border-radius: 7px;
  background: #f4f5f6;
  box-shadow: inset 0 1px #fff;
}

.ay-search-compact { border-radius: 4px; background: #fff; }
.ay-searchbtn,
.ay-iconbtn {
  border-radius: 5px !important;
  color: #fff;
  border-color: #b90f15 !important;
  background: linear-gradient(145deg, #e51e26, #ae0c12) !important;
}
.ay-iconbtn .ay-ico,
.ay-searchbtn .ay-ico { fill: currentColor; }
.ay-badge { background: #17191d; }

.ay-navbar {
  border: 0;
  background: linear-gradient(90deg, #141619, #272a2f 50%, #141619);
}
.ay-navbar-inner { padding-top: 0; padding-bottom: 0; }
.ay-menu > li > a {
  position: relative;
  min-height: 50px;
  padding: 14px 17px;
  color: #f4f5f6;
  font-size: 13px;
}
.ay-menu > li > a::after {
  position: absolute;
  right: 17px;
  bottom: 8px;
  width: 0;
  height: 3px;
  background: var(--s3-red);
  transition: width .18s ease;
  content: "";
}
.ay-menu > li:hover > a,
.ay-menu > li.current-menu-item > a,
.ay-menu > li.current-menu-ancestor > a { color: #fff; background: rgba(215,25,32,.13); }
.ay-menu > li:hover > a::after,
.ay-menu > li.current-menu-item > a::after { width: 32px; }
.ay-menu .sub-menu {
  border: 1px solid #3a3d42;
  border-top: 4px solid var(--s3-red);
  border-radius: 4px;
  color: #f7f7f8;
  background: #202328;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.ay-menu .sub-menu a { color: #eff0f2; }
.ay-menu .sub-menu a:hover { color: #fff; background: rgba(215,25,32,.2); }

/* General section language. */
.section { margin-top: 22px; margin-bottom: 22px; }
.section-title {
  position: relative;
  min-height: 52px;
  padding: 11px 15px 11px 12px;
  border-right: 5px solid var(--s3-red);
  border-bottom: 1px solid #d7dade;
  background: linear-gradient(90deg, #fff, #f0f1f3);
}
.section-title h2,
.section-title h3,
.section-title h4 { color: #1a1c20; font-size: 20px; }
.section-title a { color: var(--s3-red); font-weight: 900; }

/* Homepage hero and feature row. */
.ay-home-slider { margin: 22px auto 16px; max-width: 1480px; }
.ay-slider {
  overflow: hidden;
  border: 1px solid #b9bdc2;
  border-radius: 8px;
  background: #1b1d21;
  box-shadow: 0 18px 42px rgba(23,25,29,.16);
}
.ay-slider::after {
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, #66070b, #ed252d 45%, #66070b);
  content: "";
  pointer-events: none;
}
.ay-slide__media { position: relative; }
.ay-slide__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 42%, rgba(15,16,19,.36));
  content: "";
  pointer-events: none;
}
.ay-slide__cap.card {
  border: 1px solid rgba(255,255,255,.17);
  border-right: 6px solid var(--s3-red);
  border-radius: 5px;
  color: #fff;
  background: linear-gradient(120deg, rgba(18,19,22,.96), rgba(60,9,12,.92));
  box-shadow: 0 14px 38px rgba(0,0,0,.3);
}
.ay-slide__title { color: #fff; font-size: clamp(23px,2.4vw,36px); }
.ay-slide__text { color: rgba(255,255,255,.76); }
.ay-slider__nav { border-radius: 4px; color: #fff; border-color: rgba(255,255,255,.25); background: rgba(20,22,25,.86); }
.ay-slider__dot { border-radius: 2px; background: #b8bbc0; }
.ay-slider__dot.is-active { width: 34px; background: var(--s3-red); }

.features { gap: 12px; }
.feature.card {
  position: relative;
  min-height: 92px;
  overflow: hidden;
  border: 1px solid #d4d7db;
  border-radius: 6px;
  background: linear-gradient(135deg, #fff, #f4f5f6);
  box-shadow: 0 8px 22px rgba(23,25,29,.065);
}
.feature.card::before { position: absolute; inset: 0 0 auto; height: 4px; background: var(--s3-red); content: ""; }
.feature .ico { border: 1px solid #3b3e44; border-radius: 6px; color: #fff; background: #202328; box-shadow: none; }
.feature .ico svg { fill: #fff; }
.feature strong { color: #1b1d21; font-size: 14px; }
.feature small { color: #747a82; }

/* Category panels: horizontal parts shelves instead of soft tiles. */
.ay-catblocks-stack { gap: 18px; }
.ay-catblock.card {
  padding: 0;
  overflow: hidden;
  border: 1px solid #cfd3d7;
  border-radius: 7px;
  background: #fff;
}
.ay-catblock__head {
  margin: 0;
  padding: 13px 16px;
  color: #fff;
  background: linear-gradient(90deg, #1c1e22, #32353b);
}
.ay-catblock__title { color: #fff; font-size: 16px; }
.ay-catblock__hint { color: #c9ccd1; }
.ay-catblock__scroller { padding: 14px 14px 12px; }
.ay-catcard {
  min-width: 170px;
  max-width: 205px;
  padding: 10px;
  border: 1px solid #d9dce0;
  border-bottom: 4px solid #c2c5c9;
  border-radius: 5px;
  background: #fff;
  box-shadow: none;
}
.ay-catcard:hover { border-color: #b7bbc0; border-bottom-color: var(--s3-red); box-shadow: 0 12px 24px rgba(23,25,29,.1); }
.ay-catcard__thumb { width: 100%; height: 108px; border-radius: 3px; background: #f1f2f4; }
.ay-catcard__thumb img { object-fit: contain; padding: 7px; }
.ay-catcard__name { color: #22252a; }
.ay-catcard__meta { color: #81868d; }

/* Blog strip on home. */
.ay-blog-section {
  position: relative;
  margin: 34px 0;
  color: #fff;
  background:
    linear-gradient(105deg, transparent 0 75%, rgba(215,25,32,.16) 75%),
    #1a1c20;
  box-shadow: inset 0 5px var(--s3-red);
}
.ay-blog-wrap { padding-top: 38px; padding-bottom: 34px; }
.ay-blog-title { color: #fff; font-size: 24px; }
.ay-blog-title::after { display: block; width: 74px; height: 4px; margin-top: 9px; background: var(--s3-red); content: ""; }
.ay-blog-card {
  overflow: hidden;
  border: 1px solid #3c4046;
  border-radius: 6px;
  color: #22252a;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0,0,0,.2);
}
.ay-blog-thumb { border-radius: 0; }
.ay-blog-body { border-top: 4px solid var(--s3-red); }
.ay-blog-card-title a { color: #1c1e22; }
.ay-blog-read { color: var(--s3-red); }

/* Why / FAQ: dark conversion panel with a separate white service column. */
.ay-why-grid { gap: 16px; }
.ay-why-hero.card {
  border: 1px solid #34373c;
  border-radius: 7px;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(215,25,32,.2), transparent 48%),
    #1c1e22;
  box-shadow: 0 16px 36px rgba(23,25,29,.16);
}
.ay-why-hero::before { background: radial-gradient(circle at 100% 0, rgba(255,255,255,.06), transparent 38%); }
.ay-why-hero__title,
.ay-why-point strong { color: #fff; }
.ay-why-hero__subtitle,
.ay-why-point small { color: #bec2c8; }
.ay-badge-pill { border-color: rgba(255,255,255,.14); border-radius: 4px; color: #fff; background: rgba(255,255,255,.07); }
.ay-why-point { border-color: #404349; border-radius: 5px; background: rgba(255,255,255,.045); }
.ay-why-ico { border-color: rgba(255,72,79,.3); border-radius: 5px; background: rgba(215,25,32,.16); }
.ay-why-faq.card { border-radius: 7px; border-top: 5px solid var(--s3-red); }
.ay-why-faq__title { color: #1d2024; font-size: 18px; }
.ay-faq-item { border-radius: 5px; border-right: 3px solid #cfd2d6; }
.ay-faq-item[open] { border-right-color: var(--s3-red); background: #fff7f7; }

/* Shop archive and product tiles. */
.woocommerce ul.products li.product .ay-card,
.ay-product-li .ay-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #d2d5d9;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(23,25,29,.065);
}
.woocommerce ul.products li.product .ay-card::after,
.ay-product-li .ay-card::after { position: absolute; inset: auto 0 0; height: 4px; background: #c7cacf; content: ""; }
.woocommerce ul.products li.product .ay-card:hover,
.ay-product-li .ay-card:hover { border-color: #aeb2b8; box-shadow: 0 16px 30px rgba(23,25,29,.13); transform: translateY(-3px); }
.woocommerce ul.products li.product .ay-card:hover::after,
.ay-product-li .ay-card:hover::after { background: var(--s3-red); }
.ay-img { background: linear-gradient(145deg, #f6f7f8, #e9ebee); }
.ay-img img { mix-blend-mode: multiply; }
.ay-sale-badge { border-radius: 3px; color: #fff; background: var(--s3-red); box-shadow: 0 6px 14px rgba(215,25,32,.25); }
.ay-body { padding: 14px 13px 17px; }
.ay-title { color: #25282d; font-size: 13px; }
.ay-sale,
.ay-normal,
.price { color: var(--s3-red) !important; }
.ay-regular { color: #8a8f96; }
.ay-hover-actions { background: rgba(23,25,29,.88); }
.ay-hover-actions .ay-btn,
.ay-cart-btn .button { border-radius: 4px !important; }
.woocommerce .woocommerce-ordering select,
.ay-shop select { border-radius: 4px; border-color: #cbd0d5; background-color: #fff; }
.ay-shop-sidebar .card,
.ay-widget { border-radius: 6px; border-top: 4px solid var(--s3-red); }

/* Single product: white parts gallery + graphite purchase console. */
.single-product .ay-main { padding-top: 22px !important; }
.ay-sp { max-width: 1380px; }
.ay-sp__grid { grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr); gap: 20px; }
.ay-sp__media,
.ay-sp__summary { overflow: hidden; border-radius: 7px; }
.ay-sp__media {
  border: 1px solid #cfd3d7;
  border-top: 5px solid #34373c;
  background: linear-gradient(145deg, #fff, #f1f2f4);
  box-shadow: 0 16px 36px rgba(23,25,29,.1);
}
.ay-sp__media-inner { padding: clamp(18px,2.6vw,34px); }
.ay-sp__media .woocommerce-product-gallery__image img,
.ay-sp__media img.wp-post-image { border-radius: 4px; background: #fff; }
.ay-sp__media .flex-control-thumbs li img { border-radius: 3px; }
.ay-sp__media .flex-control-thumbs li img.flex-active { border-color: var(--s3-red); }
.ay-sp__media span.onsale { border-radius: 3px; background: var(--s3-red); }

.ay-sp__summary {
  position: relative;
  border: 1px solid #3b3e44;
  border-top: 5px solid var(--s3-red);
  color: #f6f7f8;
  background:
    linear-gradient(135deg, transparent 0 70%, rgba(215,25,32,.14) 70%),
    #1c1e22;
  box-shadow: 0 18px 40px rgba(23,25,29,.18);
}
.ay-sp__summary-inner { padding: clamp(22px,3vw,38px); }
.ay-sp__summary .product_title { color: #fff !important; font-size: clamp(23px,2.25vw,34px); }
.ay-sp__summary .product_title::after { display: block; width: 76px; height: 5px; margin-top: 13px; background: var(--s3-red); content: ""; }
.ay-sp__summary .price { font-size: clamp(20px,2vw,29px); }
.ay-sp__summary .price del { color: #9da2a9 !important; }
.ay-sp__summary .price ins { color: #ff5359 !important; }
.ay-sp__summary .woocommerce-product-details__short-description,
.ay-sp__summary .product_meta,
.ay-sp__summary label { color: #c9ccd1; }
.ay-sp__summary a { color: #fff; }
.ay-sp__summary form.cart { padding: 16px; border: 1px solid #41444a; border-radius: 5px; background: rgba(255,255,255,.045); }
.ay-sp__summary .quantity input.qty { border-radius: 4px; }
.ay-sp__summary button.single_add_to_cart_button { border-radius: 4px !important; background: linear-gradient(135deg,#ef2931,#b20c12) !important; box-shadow: 0 12px 26px rgba(215,25,32,.3); }
.ay-consult-btn { border: 1px solid rgba(255,255,255,.16); border-radius: 4px; color: #fff; background: #2a2d32; }
.ay-consult-btn:hover { border-color: #e62a31; background: #34373d; }

.ay-buybox.card {
  overflow: hidden;
  border: 1px solid #d0d4d8;
  border-right: 6px solid var(--s3-red);
  border-radius: 6px;
  background: linear-gradient(90deg,#fff,#f0f1f3);
  box-shadow: 0 12px 28px rgba(23,25,29,.08);
}
.ay-buybox-title { color: #1a1c20; font-size: 19px; }
.ay-trust li::marker { color: var(--s3-red); }
.ay-support-row a { color: var(--s3-red); }
.ay-sp__after { border-radius: 7px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 4px 4px 0 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-top: 4px solid var(--s3-red); }

/* Editorial pages. */
.single-post .post-article,
.page .page-card {
  border: 1px solid #d4d7db;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(23,25,29,.08);
}
.single-post .post-title,
.page-title { color: #1c1e22 !important; }
.single-post .post-title::after,
.page-title::after { background: linear-gradient(90deg,var(--s3-red),#25282d,transparent) !important; }
.post-badge { border-color: rgba(215,25,32,.22); border-radius: 4px; color: #8e0b10; background: #fff1f2; }
.post-badge-muted { border-color: #d9dce0; color: #6c727a; background: #f4f5f6; }
.post-thumb { border-radius: 5px; border-bottom: 5px solid var(--s3-red); }
.single-post .post-content > h2,
.single-post .post-content > h3,
.single-post .post-content > h4,
.single-post .post-content > h5,
.single-post .post-content > h6,
.page .content > h2,
.page .content > h3,
.page .content > h4 { color: #1c1e22 !important; }
.single-post .post-content > h2::after,
.single-post .post-content > h3::after,
.single-post .post-content > h4::after,
.single-post .post-content > h5::after,
.single-post .post-content > h6::after { background: linear-gradient(90deg,var(--s3-red),#2b2e33,transparent) !important; }
.post-toc { border: 1px solid #383b41; border-radius: 6px; color: #fff; background: #202328; }
.toc-title { color: #fff; }
.toc-toggle { border-color: #484c52; border-radius: 4px; color: #fff; background: #303339; }
.toc-link { border-radius: 4px; border-color: #3d4046; color: #eff0f2; background: #292c31; }
.toc-lvl { border-radius: 2px; background: var(--s3-red); }

/* Inserted related articles: red/graphite, intentionally unlike AmirYadak. */
.single-post .post-content .post-related.ay-inserted-content-box {
  border: 1px solid #3a3d42 !important;
  border-radius: 8px !important;
  background:
    linear-gradient(125deg,rgba(215,25,32,.17),transparent 38%),
    #1b1d21 !important;
  box-shadow: 0 20px 44px rgba(23,25,29,.22) !important;
}
.single-post .post-content .post-related.ay-inserted-content-box::before { height: 5px; background: linear-gradient(90deg,transparent,#ef2931 30% 70%,transparent); }
.single-post .post-content .post-related .section-title::before { border-radius: 2px; background: var(--s3-red); box-shadow: none; }
.single-post .post-content .post-related .section-link { border-radius: 4px; color: #ffb9bc !important; }
.single-post .post-content .post-related .ay-related-ribbon { border-color: #42454b; border-radius: 5px; background: #272a2f; backdrop-filter: none; }
.single-post .post-content .post-related .ay-related-ribbon:hover { border-color: #e22a31; background: #303338; }
.single-post .post-content .post-related .ay-related-ribbon__media { background: #111316; }
.single-post .post-content .post-related .ay-related-ribbon__meta { color: #b6bac0; }
.single-post .post-content .post-related .ay-related-ribbon__more { background: linear-gradient(145deg,#ed252d,#a90b11); box-shadow: none; }

.single-post .post-content .ay-blog-store-ad.ay-inserted-content-box { border-color: #3b3e44; border-radius: 8px; background: #191b1f; box-shadow: 0 22px 48px rgba(23,25,29,.24); }
.single-post .post-content .ay-blog-store-ad__intro { background: linear-gradient(145deg,#b30d13,#5f0609 67%,#1a1c20); }
.single-post .post-content .ay-blog-store-ad__eyebrow { border-radius: 4px; border-color: rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.09); }
.single-post .post-content .ay-blog-store-ad__button { border-radius: 4px; background: #fff; color: #a60b10; box-shadow: 0 12px 26px rgba(0,0,0,.22); }
.single-post .post-content .ay-blog-store-ad__details { background: linear-gradient(145deg,#292c31,#181a1e); }
.single-post .post-content .ay-blog-store-ad__icon { border-radius: 5px; border-color: rgba(255,75,82,.26); background: rgba(215,25,32,.16); }

/* Footer: graphite parts counter with red signal line. */
.ay-footer {
  position: relative;
  overflow: hidden;
  margin-top: 64px;
  padding-top: 48px;
  border-radius: 0;
  color: #eff0f2;
  background:
    linear-gradient(115deg,transparent 0 78%,rgba(215,25,32,.12) 78%),
    #191b1f;
  box-shadow: inset 0 6px var(--s3-red);
}
.ay-footer-inner { gap: 22px; }
.ay-footer-brand__description { color: #bfc3c9; }
.ay-footer-col,
.ay-footer-contact { padding: 15px; border: 1px solid #36393f; border-radius: 5px; background: rgba(255,255,255,.025); }
.ay-footer-col h2,
.ay-footer-contact h2 { color: #fff; }
.ay-footer-col h2::after,
.ay-footer-contact h2::after { display: block; width: 34px; height: 4px; margin-top: 7px; border-radius: 0; background: var(--s3-red); content: ""; }
.ay-footer-col ul li a { color: #c9ccd1; }
.ay-footer-col ul li a:hover { color: #fff; text-decoration-color: var(--s3-red); }
.ay-footer-contact__item,
.ay-footer-address { color: #d4d6da; }
.ay-footer-social a { border-radius: 4px; border-color: #474a50; background: #25282d; }
.ay-footer-social a:hover { border-color: var(--s3-red); text-decoration: none; }
.ay-footer-badges img { border-radius: 4px !important; }
.ay-footer-bottom { border-top-color: #373a40; color: #aeb2b8; }

.ay-fab__toggle { border-radius: 7px; background: linear-gradient(145deg,#ef2931,#a90b11); box-shadow: 0 12px 28px rgba(167,9,15,.35); }
.ay-fab__menu { border-radius: 6px; }
.ay-fab__item { border-radius: 4px; }

/* Mobile remains dense and clearly branded. */
@media (max-width: 980px) {
  .ay-headmain-inner { min-height: 70px; }
  .ay-burger { border-radius: 5px !important; color: #fff; background: var(--s3-ink) !important; }
  .ay-drawer { color: #eff0f2; background: #1e2024 !important; }
  .ay-drawer-head { border-bottom-color: #3b3e44; }
  .ay-drawer-title { color: #fff; }
  .ay-drawer-close { color: #fff; background: #b90e14; }
  .ay-drawer-nav a { color: #eff0f2; border-bottom-color: #34373d; }
  .ay-drawer .sub-menu { border-right-color: var(--s3-red); }
  .ay-sp__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { background-size: 24px 24px; }
  .ay-headmain { background: #fff; }
  .ay-headmain-inner { padding: 8px 10px !important; }
  .ay-brand { min-width: 0; }
  .ay-brand-logo { width: 45px; height: 45px; }
  .s3-brand-mark { width: 44px; height: 44px; }
  .s3-brand-mark b { font-size: 25px; }
  .ay-leftbox { border-radius: 5px !important; }
  .ay-home-slider { margin-top: 12px; }
  .ay-slider { border-radius: 5px; }
  .ay-slide__cap.card { border-right-width: 4px; }
  .features { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .feature.card { min-height: 82px; padding: 10px; }
  .feature .ico { width: 35px; height: 35px; }
  .section-title { min-height: 46px; }
  .section-title h2,
  .section-title h3 { font-size: 17px; }
  .ay-catblock__hint { display: none; }
  .ay-catcard { min-width: 145px; max-width: 165px; }
  .ay-catcard__thumb { height: 88px; }
  .ay-blog-card { min-width: 78vw; }
  .ay-why-points { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ay-why-point { padding: 9px; }
  .ay-why-point small { font-size: 10px; }
  .ay-sp__summary-inner { padding: 20px 16px; }
  .ay-sp__summary .product_title { font-size: 22px; }
  .ay-buybox.card { border-right-width: 4px; }
  .single-post .post-content .post-related.ay-inserted-content-box,
  .single-post .post-content .ay-blog-store-ad.ay-inserted-content-box { border-radius: 6px !important; }
  .ay-footer { margin-top: 44px; padding-top: 28px; box-shadow: inset 0 5px var(--s3-red); }
  .ay-footer-col,
  .ay-footer-contact { border-color: #3b3e44; border-radius: 4px; background: #22252a; }
  .ay-footer-brand { border-bottom-color: #3c3f45; }
  .s3-brand-mark--footer { width: 92px; height: 50px; }
  .s3-brand-mark--footer b { font-size: 29px; }
  .s3-brand-mark--footer i { font-size: 10px; }
}

@media (max-width: 380px) {
  .features { grid-template-columns: 1fr 1fr; }
  .ay-why-points { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ay-menu > li > a::after,
  .ay-catcard,
  .ay-card { transition: none !important; }
}

/* =========================================================
   v1.0.1 — Homepage, compact footer and single-product polish
   ========================================================= */

/* Home: use the available viewport and add a strong brand checkpoint. */
body.home .ay-main {
  padding-top: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}
body.home .ay-container { width: 100%; max-width: 1380px; padding-inline: clamp(14px,2vw,26px); }
body.home .ay-home-slider { width: calc(100% - clamp(28px,4vw,52px)); max-width: 1380px; }
body.home .ay-home-benefits { margin-top: 18px; }
body.home .features { position: relative; z-index: 2; }
body.home .feature.card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
body.home .feature.card:hover { transform: translateY(-4px); border-color: #b9bdc2; box-shadow: 0 15px 30px rgba(23,25,29,.12); }

.s3-home-intro { margin: 20px 0 24px; }
.s3-home-intro__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(290px,.65fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  padding: clamp(22px,3vw,38px);
  border: 1px solid #393c42;
  border-right: 8px solid var(--s3-red);
  color: #fff;
  background:
    radial-gradient(circle at 12% 140%,rgba(215,25,32,.32),transparent 33%),
    linear-gradient(120deg,#15171a 0 68%,#2c1013 68% 100%);
  box-shadow: 0 20px 44px rgba(23,25,29,.18);
}
.s3-home-intro__panel::after {
  position: absolute;
  left: -25px;
  bottom: -80px;
  width: 210px;
  height: 210px;
  border: 35px solid rgba(255,255,255,.035);
  border-radius: 50%;
  content: "";
}
.s3-home-intro__copy,
.s3-home-intro__actions { position: relative; z-index: 1; }
.s3-home-intro__eyebrow { display: block; margin-bottom: 7px; color: #ff686d; font-size: 12px; font-weight: 900; letter-spacing: .2px; }
.s3-home-intro h2 { margin: 0 0 8px; color: #fff; font-size: clamp(22px,2.3vw,34px); line-height: 1.5; }
.s3-home-intro p { max-width: 760px; margin: 0; color: #c9ccd1; font-size: 14px; font-weight: 650; line-height: 2; }
.s3-home-intro__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s3-home-intro__actions a { min-height: 62px; padding: 11px 14px; border-radius: 5px; text-decoration: none; }
.s3-home-intro__shop { display: grid; place-items: center; color: #fff !important; font-weight: 950; background: linear-gradient(145deg,#ef2931,#aa0a10); box-shadow: 0 12px 24px rgba(215,25,32,.25); }
.s3-home-intro__phone { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #4b4e54; color: #fff !important; background: #272a2f; }
.s3-home-intro__phone small { color: #aeb2b8; font-size: 10px; }
.s3-home-intro__phone strong { margin-top: 3px; font-size: 14px; }

body.home .ay-home-catblocks .section-title { margin-bottom: 14px; border: 0; border-right: 6px solid var(--s3-red); background: #fff; box-shadow: 0 8px 20px rgba(23,25,29,.06); }
body.home .ay-catblocks-stack { counter-reset: s3-home-section; }
body.home .ay-catblock { counter-increment: s3-home-section; }
body.home .ay-catblock__head { position: relative; padding-right: 62px; }
body.home .ay-catblock__head::before {
  position: absolute;
  right: 15px;
  top: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  background: var(--s3-red);
  transform: translateY(-50%) skewX(-6deg);
  content: "0" counter(s3-home-section);
  font: 900 12px/1 Vazirmatn, sans-serif;
}
body.home .ay-catcard { transition: transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
body.home .ay-catcard:hover { transform: translateY(-5px); }
body.home .ay-blog-section { margin-top: 46px; margin-bottom: 42px; }
body.home .ay-blog-title { margin-bottom: 20px; }

/* Single product: smaller product visual, stronger purchasing console. */
.single-product .ay-single-card {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.single-product .ay-sp { max-width: 1320px; }
.single-product .ay-sp__grid {
  grid-template-columns: minmax(320px,.78fr) minmax(480px,1.22fr) !important;
  gap: 22px;
}
.ay-sp__media-head {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 15px;
  border-bottom: 1px solid #d8dce0;
  color: #25282d;
  background: linear-gradient(90deg,#fff,#eceef0);
}
.ay-sp__media-head span { font-size: 13px; font-weight: 900; }
.ay-sp__media-head b { padding: 5px 9px; border-radius: 3px; color: #fff; background: #202328; font-size: 11px; }
.single-product .ay-sp__media-inner { padding: 12px 16px 18px; }
.single-product .ay-sp__media .woocommerce-product-gallery__wrapper { padding: 8px; border-radius: 5px; background: #fff; }
.single-product .ay-sp__media .woocommerce-product-gallery__image > a { display: flex; align-items: center; justify-content: center; min-height: 340px; }
.single-product .ay-sp__media .woocommerce-product-gallery__image img,
.single-product .ay-sp__media img.wp-post-image {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 455px !important;
  object-fit: contain !important;
  border: 0 !important;
  box-shadow: none !important;
}
.ay-sp__eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; color: #ff686d; font-size: 11px; font-weight: 900; }
.ay-sp__eyebrow i { padding: 5px 8px; border: 1px solid #46494f; border-radius: 3px; color: #c8cbd0; background: rgba(255,255,255,.04); font-style: normal; }
.ay-sp__micro-trust { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-top: 13px; }
.ay-sp__micro-trust span { padding: 9px 7px; border: 1px solid #404349; border-radius: 4px; color: #d9dbdf; background: rgba(255,255,255,.04); font-size: 10.5px; font-weight: 800; text-align: center; }
.single-product .ay-buybox .card-pad { display: grid; grid-template-columns: minmax(190px,.7fr) minmax(300px,1.2fr) minmax(280px,1fr); gap: 18px; align-items: center; }
.single-product .ay-buybox-title { margin: 0; }
.single-product .ay-trust { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.single-product .ay-trust li { padding: 9px; border: 1px solid #d8dce0; border-radius: 4px; background: #fff; font-size: 11px; text-align: center; }
.single-product .ay-support { margin: 0; }

/* Footer: one compact row on desktop, two-column navigation on mobile. */
.ay-footer { margin-top: 52px; padding: 38px 22px 0; }
.ay-footer-inner {
  display: grid !important;
  grid-template-columns: minmax(240px,.9fr) minmax(0,2fr) minmax(270px,1fr) !important;
  gap: 18px !important;
  align-items: stretch;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
}
.ay-footer-brand,
.ay-footer-contact,
.ay-footer-nav-grid { min-width: 0; }
.ay-footer-brand,
.ay-footer-contact { padding: 18px; border: 1px solid #36393f; border-radius: 6px; background: rgba(255,255,255,.028); }
.ay-footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.ay-footer-brand__kicker { margin-bottom: 10px; color: #ff686d; font-size: 10.5px; font-weight: 900; }
.ay-footer-brand__description { margin-top: 12px; font-size: 12px; line-height: 1.9; }
.ay-footer-brand__actions { display: grid; grid-template-columns: 1fr; gap: 7px; width: 100%; margin-top: auto; padding-top: 14px; }
.ay-footer-brand__actions a { display: flex; min-height: 38px; align-items: center; justify-content: center; padding: 8px 10px; border-radius: 4px; color: #fff; font-size: 11.5px; font-weight: 900; text-decoration: none; }
.ay-footer-brand__shop { background: linear-gradient(145deg,#ed252d,#aa0b11); }
.ay-footer-brand__phone { border: 1px solid #44474d; background: #26292e; }
.ay-footer-nav-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.ay-footer .ay-footer-col { min-width: 0; padding: 14px 12px; }
.ay-footer .ay-footer-col h2 { min-height: 46px; margin-bottom: 10px; font-size: 12.5px; }
.ay-footer .ay-footer-col ul { margin: 0; padding: 0; list-style: none; }
.ay-footer .ay-footer-col ul li { margin-bottom: 7px; }
.ay-footer .ay-footer-col ul li a { display: block; font-size: 11px; line-height: 1.7; }
.ay-footer-contact { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 10px; align-content: start; }
.ay-footer-contact > h2,
.ay-footer-address,
.ay-footer-social,
.ay-footer-badges { grid-column: 1 / -1; }
.ay-footer-contact > h2 { margin-bottom: 4px; font-size: 13px; }
.ay-footer-contact__item { min-width: 0; margin: 0 !important; font-size: 11px !important; }
.ay-footer-address { margin: 3px 0 0; padding-top: 9px; border-top: 1px solid #36393f; font-size: 11px; line-height: 1.8; }
.ay-footer-social { flex-wrap: wrap; gap: 6px; }
.ay-footer-social a { padding: 5px 7px; font-size: 10px; }
.ay-footer .ay-footer-badges { min-height: 0; margin-top: 3px; }
.ay-footer .ay-footer-badges img { max-width: 86px !important; max-height: 96px !important; }
.ay-footer-bottom { max-width: 1380px; margin: 22px auto 0; padding: 15px 10px; }

@media (max-width: 1180px) {
  .ay-footer-inner { grid-template-columns: minmax(230px,.8fr) minmax(0,1.7fr) !important; }
  .ay-footer-contact { grid-column: 1 / -1; grid-template-columns: repeat(4,minmax(0,1fr)); }
  .ay-footer-contact > h2,
  .ay-footer-address { grid-column: span 2; }
  .ay-footer-social,
  .ay-footer-badges { grid-column: auto; }
}

@media (max-width: 980px) {
  .single-product .ay-sp__grid { grid-template-columns: 1fr !important; }
  .single-product .ay-sp__media { width: 100%; max-width: 660px; margin-inline: auto; }
  .single-product .ay-buybox .card-pad { grid-template-columns: 1fr 1.6fr; }
  .single-product .ay-support { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .s3-home-intro__panel { grid-template-columns: 1fr; }
  .s3-home-intro__actions { max-width: 520px; }
}

@media (max-width: 760px) {
  .ay-footer { padding: 30px 13px 0; }
  .ay-footer-inner { grid-template-columns: 1fr !important; gap: 12px !important; text-align: right !important; }
  .ay-footer-brand { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 7px 13px; align-items: center; }
  .ay-footer-brand__kicker { grid-column: 1 / -1; margin: 0; }
  .ay-footer-brand__description { margin: 0; }
  .ay-footer-brand__actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; padding-top: 6px; }
  .ay-footer-nav-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .ay-footer .ay-footer-col h2 { min-height: 0; }
  .ay-footer-contact { grid-column: auto; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ay-footer-contact > h2,
  .ay-footer-address,
  .ay-footer-social,
  .ay-footer-badges { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body.home .ay-home-slider { width: calc(100% - 20px); }
  .s3-home-intro { margin: 14px 0 18px; }
  .s3-home-intro__panel { gap: 17px; padding: 20px 16px; border-right-width: 5px; }
  .s3-home-intro h2 { font-size: 21px; }
  .s3-home-intro p { font-size: 12px; }
  .s3-home-intro__actions { grid-template-columns: 1fr 1fr; }
  .s3-home-intro__actions a { min-height: 54px; padding: 8px; font-size: 11px; }
  body.home .ay-catblock__head { padding-right: 55px; }
  body.home .ay-catblock__head::before { right: 12px; width: 31px; height: 31px; }
  .single-product .ay-sp__media .woocommerce-product-gallery__image > a { min-height: 240px; }
  .single-product .ay-sp__media .woocommerce-product-gallery__image img,
  .single-product .ay-sp__media img.wp-post-image { max-height: 360px !important; }
  .ay-sp__micro-trust { grid-template-columns: 1fr 1fr 1fr; }
  .ay-sp__micro-trust span { padding-inline: 4px; font-size: 9px; }
  .single-product .ay-buybox .card-pad { grid-template-columns: 1fr; gap: 12px; }
  .single-product .ay-trust { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .single-product .ay-support { grid-column: auto; grid-template-columns: 1fr; }
  .ay-footer { margin-top: 40px; padding-top: 28px; border-radius: 0; }
  .ay-footer-brand,
  .ay-footer-contact,
  .ay-footer .ay-footer-col { border-radius: 5px; }
  .ay-footer-bottom { margin-top: 14px; }
}

@media (max-width: 390px) {
  .ay-footer-nav-grid { gap: 7px; }
  .ay-footer .ay-footer-col { padding: 11px 9px; }
  .ay-footer .ay-footer-col h2 { font-size: 11.5px; }
  .ay-footer .ay-footer-col ul li a { font-size: 10.5px; }
}

/* =========================================================
   v1.0.2 — Three Sot dedicated purchase assurance panel
   ========================================================= */
.single-product .s3-assurance {
  position: relative;
  overflow: hidden;
  margin: 22px 0 26px;
  border: 1px solid #34373d;
  border-radius: 8px;
  color: #f5f6f7;
  background:
    radial-gradient(circle at 8% 130%,rgba(215,25,32,.25),transparent 33%),
    linear-gradient(115deg,#17191d 0 76%,#261417 76% 100%);
  box-shadow: 0 18px 42px rgba(23,25,29,.17);
}
.single-product .s3-assurance::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg,#75070b,#ec252d 42% 68%,#75070b);
  content: "";
}
.single-product .s3-assurance::after {
  position: absolute;
  left: -55px;
  bottom: -115px;
  width: 245px;
  height: 245px;
  border: 42px solid rgba(255,255,255,.025);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.s3-assurance__head,
.s3-assurance__body { position: relative; z-index: 1; }
.s3-assurance__head {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px 26px 20px;
  border-bottom: 1px solid #383b40;
}
.s3-assurance__identity { display: flex; min-width: 0; align-items: center; gap: 17px; }
.s3-assurance__mark {
  position: relative;
  display: grid;
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #ff555b;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(145deg,#ef2931,#a4090f 68%,#5c0508);
  box-shadow: inset 0 1px rgba(255,255,255,.28),0 12px 25px rgba(174,9,15,.28);
  font-size: 41px;
  font-weight: 1000;
  transform: skewX(-5deg);
}
.s3-assurance__mark::after {
  position: absolute;
  right: -12px;
  bottom: -18px;
  width: 49px;
  height: 49px;
  border: 9px solid rgba(255,255,255,.12);
  border-radius: 50%;
  content: "";
}
.s3-assurance__eyebrow { display: block; margin-bottom: 4px; color: #ff686d; font-size: 10.5px; font-weight: 950; }
.s3-assurance__identity h2 { margin: 0; color: #fff !important; font-size: clamp(20px,2vw,28px); font-weight: 950; line-height: 1.55; }
.s3-assurance__identity h2::after { display: none !important; }
.s3-assurance__identity p { margin: 4px 0 0; color: #bfc3c8; font-size: 12px; font-weight: 650; line-height: 1.9; }
.s3-assurance__cta {
  display: flex;
  min-width: 214px;
  min-height: 62px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid #ff555b;
  border-radius: 5px;
  color: #fff !important;
  background: linear-gradient(145deg,#ed252d,#a9090f);
  box-shadow: 0 12px 26px rgba(179,10,16,.28);
  text-decoration: none !important;
  transition: transform .18s ease,filter .18s ease;
}
.s3-assurance__cta:hover { color: #fff !important; filter: brightness(1.08); transform: translateY(-2px); }
.s3-assurance__cta span { font-size: 11px; font-weight: 850; }
.s3-assurance__cta strong { margin-top: 2px; font-size: 15px; letter-spacing: .3px; }

.s3-assurance__body {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(275px,.38fr);
  gap: 14px;
  padding: 16px;
}
.s3-assurance__benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.s3-assurance__benefit {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 92px;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid #3e4147;
  border-radius: 5px;
  background: linear-gradient(145deg,#24272c,#1e2024);
  transition: border-color .18s ease,transform .18s ease,background .18s ease;
}
.s3-assurance__benefit::before {
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #d71920;
  content: "";
}
.s3-assurance__benefit:hover { border-color: #54585f; background: #292c31; transform: translateY(-2px); }
.s3-assurance__icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,82,88,.25);
  border-radius: 5px;
  color: #ff555b;
  background: rgba(215,25,32,.12);
}
.s3-assurance__icon svg { width: 23px; height: 23px; fill: currentColor; }
.s3-assurance__benefit strong { display: block; color: #fff; font-size: 12px; font-weight: 900; line-height: 1.7; }
.s3-assurance__benefit small { display: block; margin-top: 2px; color: #aeb3ba; font-size: 9.5px; font-weight: 650; line-height: 1.7; }

.s3-assurance__contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  align-content: center;
  padding: 13px;
  border: 1px solid #5d262a;
  border-radius: 5px;
  background: linear-gradient(145deg,rgba(115,8,13,.76),rgba(57,6,9,.82));
}
.s3-assurance__contact-title { margin-bottom: 1px; color: #ffb6b9; font-size: 10px; font-weight: 900; }
.s3-assurance__contact a {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 4px;
  color: #fff !important;
  background: rgba(15,16,19,.42);
  text-decoration: none !important;
}
.s3-assurance__contact a:hover { border-color: rgba(255,255,255,.27); background: rgba(15,16,19,.65); }
.s3-assurance__contact a span { color: #d3d6da; font-size: 10px; font-weight: 700; }
.s3-assurance__contact a strong { font-size: 12px; letter-spacing: .2px; }

@media (max-width: 980px) {
  .s3-assurance__body { grid-template-columns: 1fr; }
  .s3-assurance__contact { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .s3-assurance__contact-title { grid-column: 1 / -1; }
}

@media (max-width: 660px) {
  .single-product .s3-assurance { margin-top: 17px; border-radius: 6px; }
  .s3-assurance__head { grid-template-columns: 1fr; gap: 14px; padding: 20px 15px 15px; }
  .s3-assurance__identity { gap: 11px; }
  .s3-assurance__mark { flex-basis: 53px; width: 53px; height: 53px; font-size: 31px; }
  .s3-assurance__eyebrow { font-size: 9px; }
  .s3-assurance__identity h2 { font-size: 18px; }
  .s3-assurance__identity p { font-size: 10.5px; line-height: 1.75; }
  .s3-assurance__cta { min-width: 0; min-height: 50px; flex-direction: row; gap: 10px; }
  .s3-assurance__cta strong { margin: 0; font-size: 13px; }
  .s3-assurance__body { padding: 10px; }
  .s3-assurance__benefits { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .s3-assurance__benefit { min-height: 98px; flex-direction: column; justify-content: center; gap: 6px; padding: 10px 5px; text-align: center; }
  .s3-assurance__benefit::before { inset: 0 0 auto; width: 100%; height: 3px; }
  .s3-assurance__icon { flex-basis: 34px; width: 34px; height: 34px; }
  .s3-assurance__icon svg { width: 19px; height: 19px; }
  .s3-assurance__benefit strong { font-size: 10px; }
  .s3-assurance__benefit small { display: none; }
  .s3-assurance__contact { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 10px; }
  .s3-assurance__contact a { flex-direction: column; gap: 2px; padding: 8px 5px; text-align: center; }
  .s3-assurance__contact a span { font-size: 9px; }
  .s3-assurance__contact a strong { font-size: 11px; }
}

@media (max-width: 360px) {
  .s3-assurance__identity h2 { font-size: 16px; }
  .s3-assurance__benefit strong { font-size: 9px; }
}

/* =========================================================
   v1.0.4 — local eNamad artwork with official verification link
   ========================================================= */
.ay-footer .ay-footer-badges {
  min-height: 150px;
  align-items: center;
}

.ay-footer .ay-footer-badges .ay-enamad-official {
  display: inline-grid;
  width: 139px;
  min-width: 139px;
  min-height: 150px;
  box-sizing: border-box;
  place-items: center;
  overflow: hidden;
  padding: 6px;
  border: 1px solid rgba(255, 70, 77, .3);
  border-radius: 7px;
  color: #fff;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 9px 23px rgba(0, 0, 0, .2);
}

.ay-footer .ay-footer-badges img.ay-enamad-official__image {
  display: block !important;
  width: 125px !important;
  min-width: 125px !important;
  max-width: 125px !important;
  height: 136px !important;
  min-height: 136px !important;
  max-height: 136px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  object-fit: contain !important;
}

.ay-enamad-official__fallback { display: none; }

.ay-footer .ay-footer-badges .ay-enamad-official.is-unavailable {
  min-height: 106px;
  border-color: rgba(255, 76, 83, .48);
  background:
    linear-gradient(120deg, rgba(215, 25, 32, .24), transparent 46%),
    #202329;
}

.ay-enamad-official.is-unavailable .ay-enamad-official__image { display: none !important; }

.ay-enamad-official.is-unavailable .ay-enamad-official__fallback {
  display: flex;
  min-height: 84px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px;
  text-align: center;
}

.ay-enamad-official__fallback b { color: #fff; font-size: 13px; font-weight: 950; }
.ay-enamad-official__fallback small { color: #ffb1b5; font-size: 9px; font-weight: 700; line-height: 1.7; }
