/* OneAppleFall store: /shop/ landing + WooCommerce product, cart and checkout pages */
:root { --s-ink: #16161d; --s-muted: #5f5f6b; --s-line: #e7e7ee; --s-soft: #f6f6fb; --s-accent: var(--oaf-primary, #4f46e5);
  --s-accent2: var(--oaf-secondary, #7c3aed); --s-deal: #e11d48; --s-radius: 20px; }

/* Buttons */
.oaf-btn, .oaf-store .single_add_to_cart_button, .oaf-store a.oaf-buynow { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 0; font-weight: 700; font-size: 15px; line-height: 1.1; text-decoration: none !important;
  color: #fff !important; background: linear-gradient(135deg, var(--s-accent), var(--s-accent2)); cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(79, 70, 229, .7); transition: transform .15s ease, box-shadow .15s ease; }
.oaf-btn:hover, .oaf-store .single_add_to_cart_button:hover, .oaf-store a.oaf-buynow:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(79, 70, 229, .8); }
.oaf-btn--ghost { background: #fff !important; color: var(--s-ink) !important; border: 1px solid var(--s-line); box-shadow: none; }
.oaf-btn--ghost:hover { border-color: var(--s-accent); box-shadow: none; }
.oaf-btn--ghost.loading { opacity: .6; }
.oaf-btn--ghost.added::after { content: ' ✓'; }
.oaf-btn--light { background: #fff !important; color: #1e1b4b !important; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.oaf-btn--outline { background: transparent !important; border: 1.5px solid rgba(255,255,255,.55); box-shadow: none; }
a.added_to_cart { display: inline-block; margin-left: 8px; font-size: 14px; font-weight: 600; color: var(--s-accent); }

/* Landing */
.oaf-shopx { color: var(--s-ink); }
.oaf-shopx__hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(900px 500px at 10% -10%, rgba(124, 58, 237, .55), transparent 60%),
  radial-gradient(800px 500px at 100% 110%, rgba(6, 182, 212, .35), transparent 60%), #0d1226; }
.oaf-shopx__hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .25;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px; }
.oaf-shopx__heroin { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 72px 24px 64px; display: grid;
  grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.oaf-shopx__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.oaf-shopx__dot { width: 8px; height: 8px; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 0 4px rgba(251,191,36,.25); }
.oaf-shopx__hero h1 { margin: 0 0 16px; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.02em; color: #fff; }
.oaf-shopx__lead { margin: 0 0 26px; font-size: 18px; line-height: 1.6; color: #cbd5e1; max-width: 560px; }
.oaf-shopx__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.oaf-shopx__count { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.oaf-shopx__countlabel { font-size: 14px; color: #c7d2fe; margin-right: 4px; }
.oaf-shopx__units { display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 10px 8px; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.oaf-shopx__units b { font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.oaf-shopx__units small { font-size: 11px; color: #a5b4fc; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.oaf-shopx__count.is-live .oaf-shopx__countlabel { color: #fda4af; font-weight: 700; }
.oaf-shopx__count.is-over { display: none; }
.oaf-shopx__heroimg img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); transform: rotate(1.5deg); }

.oaf-shopx__wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px 80px; }
.oaf-shopx__trust { list-style: none; margin: -34px 0 56px; padding: 18px; position: relative; z-index: 2; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 12px; background: #fff; border-radius: var(--s-radius); box-shadow: 0 20px 50px -28px rgba(13,18,38,.45); }
.oaf-shopx__trust li { display: flex; gap: 12px; align-items: center; padding: 8px 10px; }
.oaf-shopx__trust svg { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: #eef2ff; fill: none;
  stroke: var(--s-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.oaf-shopx__trust span { display: flex; flex-direction: column; font-size: 13.5px; color: var(--s-muted); line-height: 1.35; }
.oaf-shopx__trust b { color: var(--s-ink); font-size: 14.5px; }

/* Bundle */
.oaf-bundle { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 64px; border-radius: 26px; overflow: hidden;
  background: linear-gradient(135deg, #111827, #1e1b4b); color: #e5e7eb; box-shadow: 0 30px 60px -30px rgba(30,27,75,.7); scroll-margin-top: 100px; }
.oaf-bundle__img { position: relative; display: block; background: #0d1226; }
.oaf-bundle__img { display: flex; align-items: center; }
.oaf-bundle__img img { width: 100%; height: auto; display: block; }
.oaf-bundle__body { padding: 40px; display: flex; flex-direction: column; gap: 12px; }
.oaf-bundle__kicker { margin: 0; color: #fbbf24; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.oaf-bundle h2 { margin: 0; font-size: 32px; line-height: 1.12; }
.oaf-bundle h2 a { color: #fff; text-decoration: none; }
.oaf-bundle p { margin: 0; color: #cbd5e1; }
.oaf-bundle__list { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 14px; }
.oaf-bundle__list li::before { content: '✓'; color: #34d399; font-weight: 800; margin-right: 6px; }
.oaf-bundle__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; font-size: 34px; font-weight: 800; color: #fff; }
.oaf-bundle__price del { font-size: 20px; color: #94a3b8; font-weight: 500; }
.oaf-bundle__price ins { text-decoration: none; }
.oaf-bundle__save { font-size: 13px; font-weight: 700; color: #052e16; background: #6ee7b7; padding: 5px 10px; border-radius: 999px; }
.oaf-bundle .oaf-btn--ghost { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,.35); }
.oaf-bundle a.added_to_cart { color: #c7d2fe; }

/* Grid */
.oaf-products { scroll-margin-top: 100px; }
.oaf-products__head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.oaf-products__head h2 { margin: 0; font-size: 30px; }
.oaf-products__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.oaf-products__filters button { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--s-line);
  background: #fff; color: var(--s-ink); cursor: pointer; }
.oaf-products__filters button.is-on { background: var(--s-ink); color: #fff; border-color: var(--s-ink); }
.oaf-products__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.oaf-card { display: flex; flex-direction: column; border-radius: var(--s-radius); overflow: hidden; background: #fff; border: 1px solid var(--s-line);
  transition: transform .2s ease, box-shadow .2s ease; }
.oaf-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(13,18,38,.45); }
.oaf-card[hidden] { display: none; }
.oaf-card__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #0d1226; }
.oaf-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.oaf-card:hover .oaf-card__img img { transform: scale(1.035); }
.oaf-card__sale { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: var(--s-deal); color: #fff;
  font-size: 13px; font-weight: 800; box-shadow: 0 6px 14px -6px rgba(225,29,72,.8); }
.oaf-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.oaf-card__fmt { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--s-accent); }
.oaf-card h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.oaf-card h3 a { color: var(--s-ink); text-decoration: none; }
.oaf-card__desc { font-size: 14.5px; line-height: 1.55; color: #4b4b57; flex: 1; }
.oaf-card__desc p { margin: 0; }
.oaf-card__foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.oaf-card__price { font-size: 22px; font-weight: 800; }
.oaf-card__price del { font-size: 15px; color: var(--s-muted); font-weight: 500; margin-right: 4px; }
.oaf-card__price ins { text-decoration: none; color: var(--s-deal); }
.oaf-card__more { font-size: 14px; font-weight: 600; color: var(--s-accent); text-decoration: none; }
.oaf-card__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.oaf-card__btns .oaf-btn { flex: 1; padding: 11px 14px; }
.oaf-bundle .oaf-card__btns .oaf-btn { flex: 0 0 auto; padding: 13px 24px; }

/* How / guarantee / FAQ */
.oaf-shopx__how { margin: 80px 0 0; text-align: center; }
.oaf-shopx__how h2, .oaf-shopx__faq h2 { font-size: 30px; margin: 0 0 26px; }
.oaf-shopx__how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.oaf-shopx__how li { padding: 26px; border-radius: var(--s-radius); background: var(--s-soft); }
.oaf-shopx__how li b { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; font-size: 18px;
  background: linear-gradient(135deg, var(--s-accent), var(--s-accent2)); }
.oaf-shopx__how h3 { margin: 14px 0 6px; font-size: 19px; }
.oaf-shopx__how p { margin: 0; color: var(--s-muted); font-size: 15px; }
.oaf-shopx__guarantee { display: flex; gap: 26px; align-items: center; margin: 56px 0 0; padding: 30px 34px; border-radius: var(--s-radius);
  background: linear-gradient(135deg, #ecfdf5, #eef2ff); border: 1px solid #d1fae5; }
.oaf-shopx__guarantee h2 { margin: 0 0 6px; font-size: 22px; }
.oaf-shopx__guarantee p { margin: 0; color: #374151; }
.oaf-shopx__seal { flex: none; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; color: #fff; font-size: 34px; font-weight: 900;
  line-height: .9; text-align: center; background: linear-gradient(135deg, #059669, #10b981); box-shadow: 0 0 0 6px #fff, 0 0 0 8px #a7f3d0; }
.oaf-shopx__seal small { display: block; font-size: 11px; letter-spacing: .15em; }
.oaf-shopx__faq { margin-top: 70px; max-width: 820px; }

/* Floating cart + toast */
.oaf-shopx__fab { position: fixed; right: 22px; bottom: 22px; z-index: 999; display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 999px;
  background: #111827; color: #fff !important; font-weight: 700; text-decoration: none !important; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); }
.oaf-shopx__fab svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.oaf-shopx__fab.has-items { background: linear-gradient(135deg, var(--s-accent), var(--s-accent2)); }
.oaf-shopx__badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: #111827; font-size: 12px; }
.oaf-shopx__toast { position: fixed; left: 50%; bottom: 90px; z-index: 1000; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 11px 18px; border-radius: 12px; background: #111827; color: #fff; font-size: 14px; transition: .2s; max-width: calc(100vw - 30px); }
.oaf-shopx__toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Product page */
.oaf-store .woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce .oaf-store div.product form.cart .button.single_add_to_cart_button { border-radius: 999px !important; padding: 13px 26px !important; font-size: 15px !important;
  background: linear-gradient(135deg, var(--s-accent), var(--s-accent2)) !important; color: #fff !important; }
.oaf-store a.oaf-buynow { background: #111827 !important; box-shadow: 0 8px 20px -10px rgba(17,24,39,.6) !important; }
.woocommerce .oaf-store ul.products li.product .button { border-radius: 999px; background: #fff; border: 1px solid var(--s-line); color: var(--s-ink); font-weight: 700; }
.woocommerce .oaf-store ul.products li.product .woocommerce-loop-product__title { font-size: 17px; color: var(--s-ink); }
.woocommerce .oaf-store ul.products li.product img { border-radius: 14px; }
.oaf-store { background: var(--s-soft); padding: 34px 0 70px; }
.oaf-store__wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.oaf-store .woocommerce-breadcrumb { font-size: 14px; color: var(--s-muted); margin-bottom: 22px; }
.oaf-store div.product { background: #fff; border-radius: 26px; padding: 34px; box-shadow: 0 20px 50px -34px rgba(13,18,38,.4); }
.oaf-store div.product div.images img { border-radius: 18px; }
.oaf-store div.product .product_title { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; margin-bottom: 12px; }
.oaf-store div.product p.price, .oaf-store div.product span.price { font-size: 30px; font-weight: 800; color: var(--s-ink); }
.oaf-store div.product p.price del { font-size: 20px; color: var(--s-muted); font-weight: 500; }
.oaf-store div.product p.price ins { text-decoration: none; color: var(--s-deal); }
.oaf-store div.product .woocommerce-product-details__short-description { font-size: 17px; color: #3f3f46; }
.oaf-store div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 22px 0 10px; }
.oaf-store div.product form.cart .quantity { display: none; }
.oaf-store .oaf-trustlist { list-style: none; margin: 18px 0 0; padding: 16px 18px; border-radius: 16px; background: var(--s-soft); display: grid; gap: 8px; font-size: 14.5px; }
.oaf-store .oaf-trustlist li::before { content: '✓'; color: #059669; font-weight: 800; margin-right: 8px; }
.oaf-store .woocommerce-tabs { margin-top: 40px; }
.oaf-store .woocommerce-tabs ul.tabs { padding-left: 0 !important; }
.oaf-store .woocommerce-Tabs-panel { font-size: 16px; line-height: 1.7; }
.oaf-store .related.products { margin-top: 50px; }
.oaf-store .onsale { background: var(--s-deal) !important; border-radius: 999px !important; min-height: 0 !important; min-width: 0 !important; padding: 6px 12px !important; line-height: 1 !important; }
.oaf-store ul.products li.product .button { border-radius: 999px; }

@media (max-width: 980px) {
  .oaf-shopx__heroin { grid-template-columns: 1fr; padding-top: 52px; }
  .oaf-shopx__heroimg { order: -1; max-width: 520px; }
  .oaf-shopx__trust { grid-template-columns: repeat(2, 1fr); }
  .oaf-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oaf-bundle { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .oaf-shopx__trust, .oaf-products__grid, .oaf-shopx__how ol { grid-template-columns: 1fr; }
  .oaf-bundle__body { padding: 26px; }
  .oaf-bundle__list { grid-template-columns: 1fr; }
  .oaf-shopx__guarantee { flex-direction: column; text-align: center; }
  .oaf-store div.product { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .oaf-card, .oaf-card__img img, .oaf-btn, .oaf-shopx__toast { transition: none; } }
