/* ===== Tokens ===== */
:root {
  --toner: #141A22;
  --ink2: #3A4452;
  --muted: #5B6574;
  --line: #E4E7EB;
  --mist: #F2F4F6;
  --paper: #FFFFFF;
  --cyan: #00AEEF;
  --magenta: #EC008C;
  --magenta-text: #D6157A;
  --yellow: #FFE600;
  --green: #0B7A4B;
  --green-soft: #E8F5EE;
  --radius: 24px;
  --font: Almarai, system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.genius { margin: 0; background: var(--paper); color: var(--toner); font-family: var(--font); font-size: 16px; line-height: 1.7; direction: rtl; }
body.genius a { color: inherit; text-decoration: none; }
body.genius a:hover { color: #0079B8; }
body.genius img { max-width: 100%; height: auto; }
body.genius :focus-visible { outline: 3px solid #FFD400; outline-offset: 2px; }
.g-container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 32px; }
.screen-reader-text, .g-skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.g-skip:focus { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 1000; background: var(--toner); color: #fff; padding: 10px 16px; border-radius: 8px; }
h1, h2, h3 { font-weight: 800; line-height: 1.3; }

/* ===== Buttons ===== */
.g-btn, body.genius .button, body.genius button.button, body.genius input.button, body.genius .woocommerce a.button, body.genius .woocommerce button.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 28px; border: 0; border-radius: 99px;
  background: var(--toner); color: #fff !important; font-family: var(--font); font-size: 15px; font-weight: 700; line-height: 1.2;
  cursor: pointer; text-decoration: none; transition: background .15s;
}
.g-btn:hover, body.genius .button:hover { background: #2B3442; color: #fff; }
body.genius .button.alt, body.genius .woocommerce .button.alt { background: var(--toner); }
.g-btn--sm, body.genius .g-card .button { min-height: 44px; padding: 0 18px; font-size: 14px; }
.g-btn--light { background: #fff; color: var(--toner) !important; }
.g-btn--light:hover { background: #F2F4F6; }
.g-btn--soft { background: var(--mist); color: var(--toner) !important; }
.g-btn--soft:hover { background: #E5E8EC; }
.g-btn--wa { background: var(--green); }
.g-btn--wa:hover { background: #096A41; }
.g-btn--wa-soft { background: var(--green-soft); color: var(--green) !important; }
.g-btn--wa-soft:hover { background: #D5EEDF; }
.g-btn--block { display: flex; width: 100%; margin-top: 12px; }
body.genius .added_to_cart { display: inline-block; margin-inline-start: 8px; font-size: 13px; font-weight: 700; text-decoration: underline; }

/* ===== Badges ===== */
.g-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 800; background: #fff; }
.g-badge--color { color: #B0126A; }
.g-badge--bw { color: var(--toner); }
.g-badge--sale { background: var(--magenta-text); color: #fff; }

/* ===== Announcement bar ===== */
.g-bar { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--magenta-text); color: #fff !important; padding: 10px 20px; font-size: 14px; text-align: center; }
.g-bar u { text-underline-offset: 4px; }

/* ===== Header ===== */
.g-header { border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 50; }
.g-header__row { display: flex; align-items: center; gap: 28px; padding-block: 18px; }
.g-logo { display: flex; align-items: center; gap: 12px; }
.g-logo__name { font-size: 28px; font-weight: 800; }
.custom-logo-link img { max-height: 52px; width: auto; }
.g-dots { position: relative; width: 38px; height: 34px; display: block; flex: none; }
.g-dots span { position: absolute; width: 22px; height: 22px; border-radius: 50%; mix-blend-mode: multiply; }
.g-dots span:nth-child(1) { top: 0; right: 0; background: var(--cyan); }
.g-dots span:nth-child(2) { top: 0; left: 0; background: var(--magenta); }
.g-dots span:nth-child(3) { bottom: 0; left: 8px; background: var(--yellow); }
.g-nav { flex: 1 1 auto; }
.g-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.g-nav__list a { display: block; padding: 10px 12px; font-size: 15px; font-weight: 700; border-radius: 99px; }
.g-nav__list a:hover { background: var(--mist); color: var(--toner); }
.g-nav__offers a, .g-nav__list .g-offers-link a { color: var(--magenta-text); }
.g-header__actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.g-iconbtn { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--mist); color: var(--toner); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.g-iconbtn--wa { background: var(--green-soft); color: var(--green) !important; }
.g-menu-toggle { display: none; }
.g-cart { height: 46px; padding: 0 18px; border-radius: 99px; background: var(--toner); color: #fff !important; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.g-cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--magenta-text); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.g-header__search { padding-bottom: 18px; }
.g-search { display: flex; max-width: 640px; height: 54px; border-radius: 99px; background: var(--mist); padding: 5px; gap: 6px; }
.g-search input[type=search] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font-family: var(--font); font-size: 15px; color: var(--toner); }
.g-search input[type=search]:focus { outline: none; }
.g-search:focus-within { box-shadow: 0 0 0 3px #FFD400; }
.g-search button { border: 0; border-radius: 99px; background: var(--toner); color: #fff; padding: 0 22px; font-family: var(--font); font-size: 15px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }

/* ===== Hero ===== */
.g-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: 48px 72px; }
.g-hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.g-hero h1 { margin: 0; font-size: clamp(40px, 6vw, 72px); line-height: 1.25; }
.g-hero p { margin: 0; font-size: 19px; line-height: 1.9; color: var(--muted); max-width: 30em; }
.g-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.g-hero__art { flex: 1 1 420px; min-width: 0; height: 500px; position: relative; isolation: isolate; }
.g-circle { position: absolute; width: 64%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: multiply; }
.g-circle--c { top: 0; right: 6%; background: var(--cyan); }
.g-circle--m { top: 0; left: 6%; background: var(--magenta); }
.g-circle--y { bottom: 0; left: 18%; background: var(--yellow); }
.g-hero__photo { position: absolute; inset: 14% 18%; display: flex; align-items: center; justify-content: center; }
.g-hero__photo img { max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(20,26,34,.35)); mix-blend-mode: multiply; }
.g-hero__photo--icon { color: var(--toner); }

/* ===== Trust strip ===== */
.g-trust { background: var(--mist); }
.g-trust__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 36px; padding-block: 24px; font-size: 15px; font-weight: 700; }
.g-trust__row span { display: inline-flex; align-items: center; gap: 10px; }
.g-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.g-dot--c { background: var(--cyan); } .g-dot--m { background: var(--magenta); } .g-dot--y { background: #E0C200; } .g-dot--k { background: var(--toner); }

/* ===== Sections ===== */
.g-sections { display: flex; flex-direction: column; gap: 96px; padding-block: 88px 0; }
.g-sechead { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.g-sechead h2 { margin: 0; font-size: clamp(30px, 4vw, 42px); }
.g-sechead p { margin: 6px 0 0; color: var(--muted); font-size: 17px; }
.g-pills { display: flex; flex-wrap: wrap; gap: 4px; background: var(--mist); border-radius: 99px; padding: 5px; }
.g-pills [role=tab] { height: 42px; padding: 0 22px; border: 0; border-radius: 99px; background: transparent; color: var(--ink2); font-family: var(--font); font-size: 14px; font-weight: 700; cursor: pointer; }
.g-pills [role=tab][aria-selected=true] { background: var(--toner); color: #fff; }
.g-empty { color: var(--muted); }

/* ===== Offers ===== */
.g-offer { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.g-offer[hidden] { display: none; }
.g-offer__main { flex: 1.8 1 520px; min-width: 0; background: var(--toner); color: #fff; border-radius: 28px; overflow: hidden; display: flex; flex-wrap: wrap; position: relative; isolation: isolate; }
.g-offer__blob { position: absolute; width: 300px; height: 300px; border-radius: 50%; z-index: -1; }
.g-offer__blob--m { left: -90px; bottom: -110px; background: var(--magenta); }
.g-offer__blob--c { left: 60px; bottom: -170px; background: var(--cyan); mix-blend-mode: screen; }
.g-offer__text { flex: 1.3 1 320px; padding: 48px 44px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.g-offer__tag { align-self: flex-start; background: var(--yellow); color: var(--toner); font-weight: 800; font-size: 15px; padding: 8px 16px; border-radius: 99px; }
.g-offer__text h3 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.35; }
.g-offer__text p { margin: 0; color: #C5CCD6; line-height: 1.85; max-width: 32em; }
.g-offer__price { font-size: 40px; font-weight: 800; }
.g-offer__price del { font-size: 18px; color: #8D97A8; font-weight: 400; margin-inline-end: 12px; }
.g-offer__price ins { text-decoration: none; }
.g-offer__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.g-offer__cta span { font-size: 14px; color: #C5CCD6; }
.g-offer__media { flex: 1 1 300px; display: flex; align-items: center; justify-content: center; padding: 32px; min-height: 320px; }
.g-offer__sheet { background: #fff; border-radius: 20px; padding: 20px; width: 320px; max-width: 100%; box-shadow: 0 30px 60px rgba(0,0,0,.4); display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--toner); }
.g-offer__sheet img { width: 100%; height: 280px; object-fit: contain; }
.g-offer__pname { font-size: 13px; font-weight: 700; color: var(--muted); text-align: center; }
.g-offer__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.g-offer__mini { flex: 1; background: var(--mist); border-radius: 28px; padding: 20px; display: flex; align-items: center; gap: 18px; color: var(--toner); }
.g-offer__mini:hover { color: var(--toner); background: #E9ECF0; }
.g-offer__mini-img { flex: none; width: 42%; max-width: 170px; aspect-ratio: 1; background: #fff; border-radius: 20px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.g-offer__mini-img img { width: 86%; height: 86%; object-fit: contain; }
.g-offer__mini-text { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.g-offer__mini strong { font-size: 20px; line-height: 1.4; }
.g-offer__mini .g-price { font-size: 22px; display: flex; flex-direction: column; line-height: 1.3; }

/* ===== Prices ===== */
.g-price, body.genius .price { font-weight: 800; color: var(--toner); }
.g-price del, body.genius .price del { color: var(--muted); font-weight: 400; font-size: .7em; opacity: 1; margin-inline-end: 6px; }
.g-price ins, body.genius .price ins { text-decoration: none; }

/* ===== Category tabs ===== */
.g-cats__tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 32px; }
.g-cats__tabs [role=tab] { position: relative; overflow: hidden; border: 0; border-radius: 20px; padding: 20px 18px; min-height: 130px; cursor: pointer; font-family: var(--font); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 18px; background: var(--mist); color: var(--toner); text-align: start; }
.g-cats__tabs [role=tab][aria-selected=true] { background: var(--toner); color: #fff; }
.g-cats__tabs svg { position: relative; }
.g-cats__blob { position: absolute; top: -26px; left: -26px; width: 90px; height: 90px; border-radius: 50%; background: var(--cyan); opacity: .22; }
.g-cats__tabs [role=tab]:nth-child(3n+2) .g-cats__blob { background: var(--magenta); }
.g-cats__tabs [role=tab]:nth-child(3n+3) .g-cats__blob { background: var(--yellow); }
.g-cats__tabs [role=tab][aria-selected=true] .g-cats__blob { opacity: .9; }
.g-cats__name { position: relative; font-size: 16px; font-weight: 800; }
.g-cats__panel[hidden] { display: none; }
.g-cats__all { margin-top: 28px; }

/* ===== Product cards (home + shop) ===== */
.g-grid, body.genius ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 24px; margin: 0; padding: 0; list-style: none; }
body.genius ul.products::before, body.genius ul.products::after { display: none !important; }
body.genius ul.products li.product.g-loop-item { width: auto !important; margin: 0 !important; float: none !important; padding: 0; }
.g-card { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.g-card__media { position: relative; aspect-ratio: 1 / 1.05; border-radius: 24px; background: var(--mist); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.g-card__media img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; margin: 0 !important; }
.g-card__media .g-badge { position: absolute; top: 14px; right: 14px; z-index: 1; }
.g-card__media .g-badge--sale { right: auto; left: 14px; }
.g-card__ph { color: var(--toner); opacity: .7; }
.g-card__body { display: flex; flex-direction: column; gap: 4px; padding-inline: 6px; }
.g-card__name { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.5; }
.g-card__warranty { font-size: 12px; font-weight: 700; color: var(--green); }
.g-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-inline: 6px; }
.g-card__foot .g-price { font-size: 22px; display: flex; flex-direction: column; line-height: 1.3; }
.g-card__foot .g-price del { font-size: 13px; }

/* ===== Business + brands ===== */
.g-biz { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.g-biz__text { flex: 1 1 400px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.g-biz__text h2 { margin: 0; font-size: clamp(28px, 3.5vw, 42px); }
.g-biz__text p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.g-biz__tiles { flex: 1 1 400px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.g-tile { border-radius: 24px; padding: 26px 20px; display: flex; flex-direction: column; gap: 40px; }
.g-tile strong { font-size: 22px; }
.g-tile span { font-size: 14px; color: var(--ink2); }
.g-tile--c { background: #E3F5FC; } .g-tile--m { background: #FCE4F0; } .g-tile--y { background: #FFF7C2; }
.g-brands { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; }
.g-brands a { font-family: system-ui, sans-serif; font-size: 22px; font-weight: 800; color: #6B7480; }

/* ===== Footer ===== */
.g-footer { background: var(--toner); color: #C5CCD6; margin-top: 104px; }
.g-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; padding-block: 64px 32px; font-size: 14px; }
.g-footer h2 { color: #fff; font-size: 15px; margin: 0 0 12px; }
.g-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.g-footer a { color: #C5CCD6 !important; }
.g-footer a:hover { color: #fff !important; }
.g-footer__brand { font-size: 30px; font-weight: 800; color: #fff; }
.g-footer__about p { line-height: 1.9; }
.g-footer__bottom { border-top: 1px solid #2C3440; padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.g-wa-float { position: fixed; bottom: 24px; left: 24px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #fff !important; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(11,122,75,.4); }

/* ===== Shop + product page ===== */
.g-shop, .g-page { padding-block: 40px; }
body.genius .woocommerce-breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
body.genius .woocommerce-products-header__title, body.genius .g-entry__title { font-size: clamp(30px, 4vw, 42px); margin: 0 0 24px; }
body.genius .woocommerce-result-count { color: var(--muted); font-size: 14px; }
body.genius .woocommerce-ordering select, body.genius select, body.genius input[type=text], body.genius input[type=email], body.genius input[type=tel], body.genius input[type=password], body.genius input[type=number], body.genius textarea {
  font-family: var(--font); font-size: 15px; color: var(--toner); border: 1.5px solid #C9D0DA; border-radius: 12px; padding: 10px 14px; background: #fff; min-height: 48px;
}
body.genius div.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
body.genius div.product .woocommerce-product-gallery, body.genius div.product .summary { width: auto !important; float: none !important; margin: 0 !important; }
body.genius div.product .woocommerce-tabs, body.genius div.product .related, body.genius div.product .upsells { grid-column: 1 / -1; }
body.genius div.product .woocommerce-product-gallery__wrapper { border-radius: 24px; overflow: hidden; background: var(--mist); }
body.genius div.product .woocommerce-product-gallery__image img { mix-blend-mode: multiply; }
body.genius div.product .product_title { font-size: clamp(28px, 3vw, 38px); margin: 0 0 12px; }
body.genius div.product p.price { font-size: 36px; margin: 8px 0; }
body.genius div.product .woocommerce-product-details__short-description { color: var(--ink2); line-height: 1.9; max-height: 12em; overflow: auto; }
body.genius div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 20px 0 0; }
body.genius div.product form.cart .quantity input { height: 54px; width: 84px; text-align: center; border-radius: 99px; }
body.genius div.product form.cart .single_add_to_cart_button { flex: 1 1 200px; min-height: 54px; font-size: 16px; }
.g-pmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 14px; }
.g-pmeta .g-badge--color, .g-pmeta .g-badge--bw { background: var(--mist); }
.g-pmeta__warranty { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--green); }

.g-ship { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin: 18px 0; }
.g-ship__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 800; color: var(--toner); }
.g-ship__head svg { color: #0079B8; }
.g-ship__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.g-ship__body label { font-size: 14px; color: var(--ink2); }
.g-ship__result { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--mist); border-radius: 14px; padding: 14px 16px; }
.g-ship__zone { font-size: 14px; }
.g-ship__cost { font-size: 18px; white-space: nowrap; }
.g-ship__note--cairo { display: flex; gap: 10px; align-items: flex-start; background: var(--green-soft); color: #0B4F31; border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.8; }
.g-ship__note--cairo svg { flex: none; margin-top: 4px; color: var(--green); }
.g-ship__note--remote { list-style: none; margin: 0; padding: 14px 16px; background: var(--mist); border-radius: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.7; }
.g-ship__note--remote li { position: relative; padding-inline-start: 18px; }
.g-ship__note--remote li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.g-ship__note--remote li:nth-child(2)::before { background: var(--magenta); }
.g-ship__note--remote li:nth-child(3)::before { background: #E0C200; }
.g-ship [hidden] { display: none !important; }

.genius-addons { flex-basis: 100%; border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.genius-addons legend { font-weight: 800; padding: 0 6px; }
.genius-addon { display: flex; align-items: center; gap: 10px; padding: 8px 4px; cursor: pointer; }
.genius-addon input { width: 20px; height: 20px; accent-color: var(--toner); }
.genius-addon__name { flex: 1; font-weight: 700; font-size: 15px; }
.genius-addon__price { font-weight: 800; white-space: nowrap; }
.genius-addon__price del { color: var(--muted); font-weight: 400; font-size: 12px; }
.genius-cart-inks { margin: 32px 0; padding: 24px; border-radius: 24px; background: var(--mist); }
.genius-cart-inks h2 { margin: 0 0 12px; font-size: 22px; }
.genius-cart-inks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.genius-cart-inks li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 16px; }

body.genius .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 20px !important; display: flex; gap: 6px; border: 0 !important; }
body.genius .woocommerce-tabs ul.tabs::before { display: none !important; }
body.genius .woocommerce-tabs ul.tabs li { border: 0 !important; background: var(--mist) !important; border-radius: 99px !important; margin: 0 !important; }
body.genius .woocommerce-tabs ul.tabs li::before, body.genius .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.genius .woocommerce-tabs ul.tabs li.active { background: var(--toner) !important; }
body.genius .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
body.genius .woocommerce-tabs ul.tabs li a { padding: 10px 20px !important; font-weight: 700 !important; }
body.genius .woocommerce-Tabs-panel { line-height: 1.9; }
body.genius .woocommerce-message, body.genius .woocommerce-info, body.genius .woocommerce-error { border-radius: 16px; border-top-color: var(--toner); background: var(--mist); }
body.genius .woocommerce-message::before, body.genius .woocommerce-info::before { color: var(--toner); }
body.genius table.shop_table { border-radius: 20px; border-color: var(--line); }
body.genius #payment { background: var(--mist) !important; border-radius: 20px !important; }
body.genius .onsale { display: none; }

/* ===== Mobile ===== */
@media (max-width: 960px) {
  .g-container { padding-inline: 16px; }
  .g-header__row { gap: 12px; padding-block: 12px; }
  .g-menu-toggle { display: inline-flex; }
  .g-logo { margin-inline: auto; }
  .g-logo__name { font-size: 24px; }
  .g-header__actions { margin-inline-start: 0; }
  .g-hide-sm { display: none !important; }
  .g-cart { width: 46px; padding: 0; justify-content: center; position: relative; }
  .g-cart .g-cart-count { position: absolute; top: -4px; left: -4px; }
  .g-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 20px 30px rgba(20,26,34,.08); }
  .g-nav.is-open { display: block; }
  .g-nav__list { flex-direction: column; }
  .g-nav__list a { padding: 14px 8px; border-radius: 12px; border-bottom: 1px solid var(--line); }
  .g-header__search { padding-bottom: 12px; }
  .g-search { height: 48px; max-width: none; }
  .g-search button { padding: 0 14px; }
  .g-hero { padding-block: 20px 36px; gap: 20px; flex-direction: column-reverse; }
  .g-hero__text, .g-hero__art { flex-basis: auto; width: 100%; }
  .g-hero__art { height: 290px; max-width: 360px; margin-inline: auto; }
  .g-hero p { font-size: 16px; }
  .g-hero__cta .g-btn { flex: 1 1 100%; }
  .g-trust__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-block: 18px; font-size: 13px; }
  .g-sections { gap: 56px; padding-top: 44px; }
  .g-sechead { margin-bottom: 16px; }
  .g-pills { width: 100%; }
  .g-pills [role=tab] { flex: 1; padding: 0 8px; height: 38px; font-size: 13px; }
  .g-offer__text { padding: 26px 22px; }
  .g-offer__price { font-size: 30px; }
  .g-offer__media { min-height: 0; padding: 26px 22px 0; order: -1; }
  .g-offer__sheet { width: 100%; }
  .g-offer__sheet img { height: 220px; }
  .g-offer__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .g-offer__mini { padding: 12px; border-radius: 20px; flex-direction: column; align-items: stretch; gap: 10px; }
  .g-offer__mini-img { width: 100%; max-width: none; border-radius: 14px; }
  .g-offer__mini strong { font-size: 15px; }
  .g-offer__mini .g-price { font-size: 16px; }
  .g-cats__tabs { display: flex; overflow-x: auto; gap: 8px; margin-inline: -16px; padding-inline: 16px; padding-bottom: 4px; scrollbar-width: none; }
  .g-cats__tabs [role=tab] { flex: none; min-height: 44px; padding: 0 16px; border-radius: 99px; flex-direction: row; align-items: center; gap: 8px; white-space: nowrap; }
  .g-cats__tabs svg { width: 20px; height: 20px; }
  .g-cats__blob { display: none; }
  .g-cats__name { font-size: 14px; }
  .g-grid, body.genius ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .g-card__media { border-radius: 18px; }
  .g-card__name { font-size: 14px; font-weight: 800; }
  .g-card__foot { flex-direction: column; align-items: stretch; }
  .g-card__foot .g-price { font-size: 16px; }
  .g-card .button, .g-card .g-btn { width: 100%; min-height: 40px; font-size: 13px; }
  .g-biz { gap: 20px; }
  .g-biz__tiles { gap: 8px; }
  .g-tile { padding: 14px 10px; gap: 6px; border-radius: 16px; text-align: center; }
  .g-tile strong { font-size: 15px; }
  .g-tile span { display: none; }
  .g-footer { margin-top: 56px; padding-bottom: 72px; }
  body.genius div.product { grid-template-columns: 1fr; gap: 24px; }
  body.genius div.product p.price { font-size: 30px; }
  .g-wa-float { bottom: 16px; left: 16px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
