/*
Theme Name: ABOFLY Store
Theme URI: https://abofly.net
Author: ABOFLY LLC
Description: Hello Elementor child theme for the ABOFLY digital bookstore. Requires the Hello Elementor parent theme.
Template: hello-elementor
Version: 1.3.5
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: abofly-store
*/

:root {
  --ink: #f6f1fb;
  --brand: #6637a8;
  --deep: #291344;
  --gold: #d4af37;
  --muted: rgb(246 241 251 / 0.78);
  --line: rgb(255 255 255 / 0.16);
  --card: rgb(255 255 255 / 0.07);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #100816;
  font-family: var(--sans);
}
body::before {
  content: "";
  position: fixed;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(36rem 28rem at 8% 0%, rgb(212 175 55 / 0.28), transparent 62%),
    radial-gradient(42rem 34rem at 96% 6%, rgb(124 70 196 / 0.46), transparent 60%),
    radial-gradient(30rem 26rem at 78% 88%, rgb(102 55 168 / 0.32), transparent 64%),
    radial-gradient(26rem 22rem at 6% 82%, rgb(212 175 55 / 0.16), transparent 66%);
}
a { color: #e6d0ff; }
img { max-width: 100%; height: auto; }
img.emoji { display: inline !important; width: 1em !important; height: 1em !important; max-width: 1em !important; max-height: 1em !important; vertical-align: -0.1em !important; }
.ab-icon svg, .fx-spark { width: 20px !important; height: 20px !important; max-width: 20px !important; max-height: 20px !important; display: inline-block; }
.fx-spark { width: 0.72em !important; height: 0.72em !important; max-width: 0.72em !important; max-height: 0.72em !important; color: #f0d48a; vertical-align: -0.08em; }
body.ab-body .elementor-location-header,
body.ab-body .elementor-location-footer,
body.ab-body header.site-header,
body.ab-body footer.site-footer { display: none !important; }
.ab-skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: #fff;
  color: var(--deep);
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 80;
}
.ab-skip:focus { top: 12px; }
.ab-shell { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.ab-shell main { flex: 1; }

.ab-header { position: sticky; top: 0; z-index: 40; padding: 12px 12px 0; }
.ab-header-bar {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 1.7rem;
  background: rgb(41 19 68 / 0.82);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.34), 0 16px 40px rgb(41 19 68 / 0.2);
  backdrop-filter: blur(24px) saturate(1.5);
}
.ab-logo { display: flex; align-items: center; }
.ab-logo img {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: 160px !important;
  filter: drop-shadow(0 3px 2px rgb(0 0 0 / 0.9)) drop-shadow(0 10px 8px rgb(0 0 0 / 0.8)) drop-shadow(0 16px 16px rgb(212 175 55 / 0.5));
}
.ab-wordmark { color: #fff; font-family: var(--serif); font-size: 28px; text-decoration: none; }
.ab-nav { display: flex; align-items: center; gap: 20px; }
.ab-nav ul { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0; }
.ab-nav li { list-style: none; }
.ab-nav a { color: rgb(255 255 255 / 0.9); text-decoration: none; font-size: 14px; font-weight: 500; }
.ab-nav a:hover { color: var(--gold); }
.ab-tools { display: flex; align-items: center; gap: 4px; }
.ab-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}
.ab-icon:hover { background: rgb(255 255 255 / 0.1); }
.ab-cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--deep);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ab-menu-toggle { display: none; }
.ab-search {
  display: none;
  max-width: 80rem;
  margin: 8px auto 0;
  padding: 12px;
  border-radius: 20px;
  background: rgb(22 12 38 / 0.92);
  border: 1px solid var(--line);
}
.ab-search.is-open { display: flex; gap: 8px; }
.ab-search input {
  flex: 1;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  padding: 0 16px;
}
.ab-search button, .ab-btn, .ab-btn-ghost {
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
  text-decoration: none;
}
.ab-search button, .ab-btn { background: var(--brand); color: #fff; border: 0; }
.ab-btn-ghost { background: #fff; color: var(--deep); border: 1px solid rgb(255 255 255 / 0.8); }

.ab-front, .ab-main { max-width: 80rem; margin: 0 auto; padding: 36px 16px 24px; width: 100%; }
.ab-hero { display: grid; gap: 40px; align-items: center; }
.ab-kicker {
  margin: 0;
  color: #e6d0ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ab-hero h1, .ab-section-title, .ab-prose h1, .woocommerce-products-header__title, .product_title {
  font-family: var(--serif);
  font-weight: 520;
  color: #f8f4fc;
  line-height: 1.08;
}
.ab-hero h1 { margin: 16px 0; font-size: clamp(42px, 6vw, 64px); max-width: 12ch; }
.ab-lead { max-width: 38rem; font-size: 18px; line-height: 1.7; color: var(--muted); }
.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ab-hero-frame, .ab-card, .ab-panel, .woocommerce ul.products li.product, .woocommerce div.product .woocommerce-product-gallery {
  background: var(--card);
  background-image: linear-gradient(180deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0) 46%);
  border: 1px solid rgb(255 255 255 / 0.7);
  border-radius: 2rem;
  box-shadow: 0 18px 50px rgb(0 0 0 / 0.28), inset 0 1px 0 rgb(255 255 255 / 0.22);
  backdrop-filter: blur(22px) saturate(1.45);
}
.ab-hero-frame { padding: 8px; }
.ab-hero-frame img, .ab-cat img { width: 100%; border-radius: 1.55rem; display: block; }
.ab-features, .ab-cats, .ab-steps, .ab-feature-row, .ab-books { display: grid; gap: 16px; }
.ab-steps { list-style: none; margin: 0; padding: 0; }
.ab-steps .ab-card { margin: 0; }
.ab-features { margin-top: 28px; }
.ab-card { padding: 20px; color: var(--ink); }
.ab-card h2, .ab-card h3, .ab-panel h2 { margin: 8px 0; font-family: var(--serif); color: #f8f4fc; }
.ab-num { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; }
.ab-section { margin-top: 56px; }
.ab-section-title { margin: 8px 0 20px; font-size: clamp(32px, 4vw, 46px); }
.ab-cat { overflow: hidden; color: inherit; text-decoration: none; display: flex; flex-direction: column; }
.ab-cat span { display: block; padding: 28px; }
.ab-index { font-family: var(--serif); font-size: 48px; color: var(--gold); }
.ab-book {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid rgb(255 255 255 / 0.7);
  border-radius: 1.75rem;
  min-height: 100%;
}
.ab-book img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: rgb(255 255 255 / 0.06); }
.ab-book div { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ab-book strong { font-family: var(--serif); font-size: 22px; font-weight: 520; color: #f8f4fc; }
.ab-book em, .ab-book em span { font-style: normal; color: var(--gold) !important; font-weight: 700; }
.ab-step-no {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--deep);
  color: var(--gold);
  font-weight: 700;
}
.ab-split { display: grid; gap: 20px; }
.ab-panel { padding: 32px; }
.ab-main > .ab-prose { max-width: 760px; margin-left: auto; margin-right: auto; }
.ab-main > .ab-prose.is-wide { max-width: 72rem; }
.ab-prose h1 { font-size: clamp(36px, 5vw, 52px); }
.ab-prose h2 { font-family: var(--serif); color: #f8f4fc; margin-top: 28px; }
.ab-prose p, .ab-prose li, .ab-prose address { line-height: 1.75; color: var(--muted); }
.ab-prose a { color: var(--gold); }
.ab-prose ul { margin: 12px 0 0; padding-left: 1.25rem; }
.ab-prose div { margin-top: 16px; }
.ab-page-grid { display: grid; gap: 28px; }
.ab-contact-list, .ab-mini-contact, .ab-footer-contact { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 18px; }
.ab-contact-list li, .ab-mini-contact li, .ab-footer-contact li, .ab-mini-contact a, .ab-footer-contact a { display: flex; align-items: flex-start; gap: 12px; }
.ab-contact-list div { margin-top: 0; }
.ab-contact-icon, .ab-mini-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--brand); }
.ab-contact-icon { width: 44px; height: 44px; border-radius: 16px; background: #fff; }
.ab-contact-icon svg, .ab-mini-icon svg {
  width: 20px !important; height: 20px !important; max-width: 20px !important; max-height: 20px !important;
  display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ab-mini-icon { color: var(--gold); margin-top: 3px; }
.ab-mini-icon svg { width: 16px !important; height: 16px !important; max-width: 16px !important; max-height: 16px !important; }
.ab-footer-contact { gap: 12px; }
.ab-footer-contact a { color: var(--gold); align-items: center; }
.ab-footer-contact a .ab-mini-icon { margin-top: 0; }
.ab-contact-card, .ab-form-card {
  border: 1px solid rgb(240 212 138 / 0.4);
  border-radius: 1.75rem;
  padding: 24px;
  background: rgb(41 19 68 / 0.55);
}
.ab-form label { display: block; margin-top: 14px; font-weight: 700; color: #f8f4fc; }
.ab-form input, .ab-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border-radius: 16px;
  border: 1px solid rgb(240 212 138 / 0.45);
  background: #291344;
  color: #f8f4fc;
  padding: 12px 14px;
  font: inherit;
}
.ab-form button { margin-top: 18px; border: 0; cursor: pointer; }
.ab-hp { position: absolute; left: -9999px; }
.ab-faq {
  margin-top: 12px;
  border-radius: 1.5rem;
  padding: 18px 20px;
  background: rgb(255 255 255 / 0.06);
}
.ab-faq summary { cursor: pointer; font-weight: 700; color: #f8f4fc; }
.ab-note { color: #f8f4fc; }
@media (min-width: 900px) {
  .ab-page-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.ab-footer { padding: 0 12px 12px; }
.ab-footer-card {
  max-width: 80rem;
  margin: 48px auto 0;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgb(255 255 255 / 0.25);
  background: rgb(41 19 68 / 0.88);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3), 0 24px 60px rgb(41 19 68 / 0.18);
  backdrop-filter: blur(24px);
}
.ab-footer-grid { display: grid; gap: 32px; padding: 48px 24px; }
.ab-footer h2 { margin: 0; color: var(--gold); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; }
.ab-footer a { color: rgb(255 255 255 / 0.85); text-decoration: none; }
.ab-footer a:hover { color: #fff; }
.ab-footer ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.ab-footer p, .ab-footer address { color: rgb(255 255 255 / 0.8); font-style: normal; line-height: 1.6; }
.ab-footer .ab-footer-contact { margin-top: 16px; }
.ab-footer .ab-footer-contact a { color: var(--gold); align-items: center; }
.ab-footer .ab-footer-contact a:hover { color: #fff; }
.ab-prose .ab-contact-list, .ab-prose .ab-mini-contact { margin-left: 0; padding-left: 0; }
.ab-footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 24px; border-top: 1px solid rgb(255 255 255 / 0.1); color: rgb(255 255 255 / 0.7); }

.woocommerce-products-header__title, .product_title { font-size: clamp(36px, 5vw, 52px); }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 0 0 18px; overflow: hidden; display: flex !important; flex-direction: column; }
.woocommerce ul.products li.product a img { margin: 0; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: rgb(255 255 255 / 0.05); }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product .woocommerce-product-details__short-description { color: #f8f4fc !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--serif); font-size: 22px !important; padding: 14px 18px 0 !important; }
.woocommerce ul.products li.product .price, .woocommerce ul.products li.product .ab-excerpt, .woocommerce ul.products li.product .button { padding-left: 18px; padding-right: 18px; }
.woocommerce ul.products li.product .ab-kicker { padding: 16px 18px 0; }
.ab-excerpt { color: var(--muted); font-size: 14px; line-height: 1.6; }
.ab-card-actions { display: grid; gap: 8px; margin-top: auto; padding: 16px 18px 4px; }
.woocommerce ul.products li.product .ab-card-actions a.button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap;
  box-shadow: none !important;
}
.woocommerce ul.products li.product .ab-card-actions a.ab-btn-line {
  background: transparent !important;
  color: #f8f4fc !important;
  border: 1px solid rgb(230 208 255 / 0.55) !important;
}
.woocommerce ul.products li.product .ab-card-actions a.ab-buy {
  background: #291344 !important;
  color: #f0d48a !important;
  border: 1px solid #d4af37 !important;
}
.woocommerce div.product { display: grid; grid-template-columns: minmax(260px, 520px) minmax(0, 1fr); gap: 40px; align-items: start; }
.woocommerce div.product .woocommerce-product-gallery { padding: 3px; background-image: linear-gradient(135deg, #d4af37, #6637a8, #291344) !important; }
.woocommerce div.product div.images .flex-viewport, .woocommerce div.product div.images img { background: #fff; border-radius: 1.55rem; }
.woocommerce div.product p.price { font-family: var(--serif); font-size: 40px; }
.single-product .ab-buy, .woocommerce div.product form.cart .button, .woocommerce a.button.checkout-button, .woocommerce button.button.alt {
  border-radius: 999px !important;
  background: var(--deep) !important;
  color: var(--gold) !important;
  padding: 14px 26px !important;
  font-weight: 700 !important;
}
.woocommerce-breadcrumb, .woocommerce-result-count { color: var(--muted); }
.woocommerce .woocommerce-result-count { float: left; margin: 0; line-height: 44px; }
.woocommerce .woocommerce-ordering { float: right; margin: 0 0 28px; }
.woocommerce .woocommerce-ordering select.orderby {
  appearance: none;
  -webkit-appearance: none;
  height: 44px;
  min-width: 240px;
  margin: 0;
  padding: 0 42px 0 18px;
  border-radius: 999px;
  border: 1px solid rgb(212 175 55 / 0.55);
  background-color: rgb(41 19 68 / 0.92);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  color: #f8f4fc;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 44px;
  cursor: pointer;
  box-shadow: none;
}
.woocommerce .woocommerce-ordering select.orderby:focus {
  outline: 2px solid rgb(212 175 55 / 0.7);
  outline-offset: 2px;
}
.woocommerce .woocommerce-ordering select.orderby option {
  background: #291344;
  color: #f8f4fc;
}
.ab-commerce .woocommerce { padding: 8px; }
.ab-commerce input, .ab-commerce textarea, .ab-commerce select {
  background: #fff !important;
  color: #211b2b !important;
  border-radius: 12px;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error { color: #211b2b; }

@media (min-width: 800px) {
  .ab-hero, .ab-split { grid-template-columns: 1.05fr 0.95fr; }
  .ab-features, .ab-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ab-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ab-cats, .ab-books { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ab-footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; padding: 48px 40px; }
}
@media (max-width: 1100px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-nav { display: none; position: absolute; top: 78px; right: 16px; width: min(100% - 32px, 22rem); flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; border-radius: 24px; background: rgb(22 12 38 / 0.96); border: 1px solid var(--line); }
  .ab-nav.is-open, .ab-nav.is-open ul { display: flex; flex-direction: column; align-items: stretch; }
  .ab-nav a { padding: 12px; border-radius: 16px; }
  .ab-menu-toggle { display: inline-flex; }
}
@media (max-width: 800px) {
  .woocommerce div.product, .woocommerce ul.products, .ab-buybox, .ab-band-inner, .ab-highlights, .ab-receive, .ab-qa { grid-template-columns: 1fr; }
  .ab-logo img { height: 40px; }
  .ab-perfect-inner { flex-direction: column; align-items: flex-start; }
}

.ab-product-top, .ab-wrap { max-width: 80rem; margin: 0 auto; padding: 36px 16px; }
.ab-crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.ab-crumbs a { color: #e6d0ff; text-decoration: none; }
.ab-buybox { display: grid; gap: 40px; align-items: start; }
.ab-cover { padding: 3px; border-radius: 1.9rem; background: linear-gradient(135deg, #d4af37, #6637a8, #291344); box-shadow: 0 24px 80px rgb(41 19 68 / 0.28); }
.ab-cover-inner { border-radius: 1.7rem; background: rgb(255 255 255 / 0.08); padding: 10px; }
.ab-cover img, .ab-cover-fallback { width: 100%; border-radius: 1.35rem; background: #f6efe4; display: block; }
.ab-cover-fallback { min-height: 280px; display: flex; align-items: end; padding: 24px; color: #291344; font-family: var(--serif); font-size: 32px; }
.ab-purchase {
  border-radius: 2rem;
  border: 1px solid rgb(212 175 55 / 0.4);
  background: rgb(255 255 255 / 0.07);
  background-image: linear-gradient(180deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0) 46%);
  box-shadow: 0 20px 60px rgb(0 0 0 / 0.22), inset 0 1px 0 rgb(255 255 255 / 0.2);
  backdrop-filter: blur(18px);
  padding: 28px;
}
.ab-purchase h1, .ab-wrap h2, .ab-band h2 { font-family: var(--serif); font-weight: 520; color: #f8f4fc; line-height: 1.1; margin: 10px 0 0; }
.ab-purchase h1 { font-size: clamp(36px, 5vw, 52px); }
.ab-wrap h2, .ab-band h2 { font-size: clamp(32px, 4vw, 46px); }
.ab-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.ab-price, .ab-price span { margin: 0; font-family: var(--serif); font-size: 40px; color: #f8f4fc !important; }
.ab-badge { border-radius: 999px; background: rgb(212 175 55 / 0.16); color: #f8f4fc; padding: 6px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.ab-story-lead { font-family: var(--serif); font-size: 22px; line-height: 1.45; color: #e6d0ff; }
.ab-copy, .ab-quote p, .ab-tone-1 p, .ab-tone-2 p, .ab-tone-3 p, .ab-info p, .ab-qa dd { color: var(--muted); line-height: 1.7; }
.ab-actions-2 { display: grid; gap: 12px; margin-top: 28px; }
.ab-btn-line { height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgb(230 208 255 / 0.45); color: #f8f4fc; text-decoration: none; font-weight: 700; background: transparent; }
.ab-product .ab-btn { background: #291344; color: #fff; }
.ab-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.ab-pills li { border-radius: 1rem; border: 1px solid var(--line); background: rgb(255 255 255 / 0.06); padding: 12px 8px; text-align: center; font-size: 12px; line-height: 1.4; color: var(--muted); }
.ab-pills svg, .ab-note svg { display: block; margin: 0 auto 8px; color: #e6d0ff; }
.ab-rule { display: flex; align-items: center; gap: 12px; }
.ab-rule b { font-family: var(--serif); color: var(--gold); font-weight: 520; }
.ab-rule i { width: 40px; height: 1px; background: var(--gold); }
.ab-kicker svg { width: 14px; height: 14px; vertical-align: -2px; color: var(--gold); }
.ab-highlights, .ab-receive, .ab-qa { display: grid; gap: 16px; margin-top: 28px; }
.ab-tone-1, .ab-tone-2, .ab-tone-3, .ab-info { border-radius: 1.75rem; padding: 24px; }
.ab-tone-1, .ab-info { background: rgb(212 175 55 / 0.14); border: 1px solid rgb(212 175 55 / 0.45); }
.ab-tone-2 { background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.18); }
.ab-tone-3 { background: rgb(18 8 32 / 0.82); border: 1px solid rgb(255 255 255 / 0.12); }
.ab-tone-1 h3, .ab-tone-2 h3, .ab-tone-3 h3, .ab-info h3 { font-family: var(--serif); font-size: 24px; line-height: 1.25; color: #f8f4fc; margin: 18px 0 0; }
.ab-iconbox { width: 48px; height: 48px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; }
.ab-tone-1 .ab-iconbox { background: #291344; color: #d4af37; }
.ab-tone-2 .ab-iconbox { background: #6637a8; color: #fff; }
.ab-tone-3 .ab-iconbox { background: #d4af37; color: #291344; }
.ab-info .ab-iconbox { background: #fff; color: #6637a8; }
.ab-band { border-top: 1px solid rgb(212 175 55 / 0.3); border-bottom: 1px solid rgb(212 175 55 / 0.3); background: rgb(255 255 255 / 0.04); }
.ab-band-inner { max-width: 80rem; margin: 0 auto; padding: 56px 16px; display: grid; gap: 28px; align-items: center; }
.ab-quote { border-radius: 2rem; border: 1px solid var(--line); background: rgb(255 255 255 / 0.06); padding: 28px; }
.ab-quote svg { width: 32px; height: 32px; color: var(--gold); }
.ab-perfect { background: rgb(18 8 32 / 0.9); }
.ab-perfect-inner { max-width: 80rem; margin: 0 auto; padding: 56px 16px; display: flex; gap: 24px; align-items: center; }
.ab-heart { width: 64px; height: 64px; border-radius: 22px; background: #d4af37; color: #291344; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ab-heart svg { width: 28px; height: 28px; }
.ab-kicker-gold { color: var(--gold); }
.ab-audience { margin: 12px 0 0; font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); line-height: 1.25; color: #fff; }
.ab-note { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.ab-note svg { margin: 0; }
.ab-qa { padding: 0; }
.ab-qa div { border-radius: 1.75rem; border: 1px solid var(--line); background: rgb(255 255 255 / 0.06); padding: 20px; }
.ab-qa dt { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; color: #f8f4fc; }
.ab-qa svg { margin: 2px 0 0; color: #e6d0ff; flex: none; }
@media (min-width: 800px) {
  .ab-buybox, .ab-band-inner { grid-template-columns: minmax(280px, 520px) minmax(0, 1fr); }
  .ab-band-inner { grid-template-columns: 0.9fr 1.1fr; }
  .ab-highlights, .ab-qa { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ab-receive { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ab-actions-2 { grid-template-columns: 1fr 1fr; }
}

.fx-section { position: relative; z-index: 1; margin: 28px auto 8px; padding: 28px 16px 8px; }
.fx-title { margin: 0; text-align: center; color: #f7f1e4; font-family: var(--serif); font-weight: 520; font-size: clamp(32px, 4vw, 52px); }
.fx-sub { margin: 12px auto 0; max-width: 36rem; text-align: center; color: #e7d7b0; font-family: var(--serif); font-style: italic; font-size: 18px; }
.fx-shell {
  position: relative; width: min(1040px, 100%); margin: 36px auto 0; padding: 22px 16px 26px;
  border-radius: 18px 28px 22px 16px;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.28), transparent 42%), linear-gradient(160deg, #5a2d78, #291344 46%, #3a1d55);
  border: 3px solid #d4af37;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 190, 0.35), 0 16px 0 #1a0c24, 0 20px 0 #b8923e, 0 36px 50px rgba(0, 0, 0, 0.38);
}
.fx-shell::before {
  content: ""; position: absolute; z-index: 6; left: 50%; top: 22px; bottom: 26px; width: 16px; transform: translateX(-50%);
  pointer-events: none; border-radius: 10px;
  background: linear-gradient(90deg, #241018, #c6a15a 28%, #6b4424 50%, #f0d48a 78%, #2a141c);
}
.fx-shell.is-portrait::before, .fx-shell.is-static::before { display: none; }
#fx-book { width: min(960px, 100%); margin: 0 auto; min-height: 520px; }
.fx-shell.is-static #fx-book { min-height: 0; display: grid; gap: 16px; }
.fx-leaf { background: #fffaf3; }
.fx-face { position: relative; height: 100%; min-height: 460px; overflow: hidden; background: linear-gradient(180deg, #fffdf8, #f3e7d2); }
.fx-face::after { content: ""; position: absolute; inset: 8px; z-index: 3; pointer-events: none; border: 1px solid rgba(184, 138, 58, 0.85); }
.fx-cover { position: absolute; inset: 20px; display: block; overflow: hidden; border: 2px solid #d4af37; box-shadow: 0 8px 16px rgba(41, 19, 68, 0.16); }
.fx-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-panel {
  position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 6px; padding: 64px 16px 14px;
  background: linear-gradient(180deg, rgba(16, 6, 24, 0) 0%, rgba(16, 6, 24, 0.5) 36%, rgba(12, 6, 20, 0.92) 100%);
}
.fx-kicker { margin: 0; color: #f0d48a; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.fx-face h3 { margin: 0; color: #fffaf3; font-family: var(--serif); font-size: clamp(22px, 2.1vw, 30px); font-weight: 520; line-height: 1.12; }
.fx-face h3 a, .fx-cover { color: inherit; text-decoration: none; }
.fx-copy { margin: 0; max-width: 36ch; color: rgba(255, 248, 232, 0.88); font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fx-price, .fx-price span { margin: 0; color: #f0d48a !important; font-family: var(--serif); font-size: 22px; font-weight: 700; }
.fx-open { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 4px; padding: 0 16px; border-radius: 999px; text-decoration: none; color: #fff8e8; background: linear-gradient(120deg, #6637a8, #291344); border: 1px solid #d4af37; font-weight: 700; font-size: 13px; }
.fx-controls { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.fx-controls button { cursor: pointer; min-height: 44px; color: #f8e7b8; background: rgba(41, 19, 68, 0.88); border: 1px solid #d4af37; border-radius: 999px; padding: 0 18px; font-weight: 650; }
.fx-controls button:hover { background: #6637a8; }
.fx-count { min-width: 72px; text-align: center; color: #f0d48a; font-weight: 600; }
.fx-explore { text-align: center; margin: 18px 0 0; }
.fx-explore a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none; color: #291344; background: linear-gradient(180deg, #f6e3a6, #d4af37); font-weight: 750; }
.ab-newsletter { background: rgb(212 175 55 / 0.14); border-color: rgb(212 175 55 / 0.4); }
.ab-news-form { display: grid; gap: 14px; margin-top: 18px; }
.ab-news-form input[type="email"] { height: 48px; border-radius: 999px; border: 1px solid var(--line); background: rgb(255 255 255 / 0.08); color: #fff; padding: 0 16px; }
.ab-check { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 14px; line-height: 1.5; }
.ab-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ab-cart h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 64px); font-weight: 520; margin: 8px 0 28px; color: #f8f4fc; }
.ab-cart-empty, .ab-cart-list li, .ab-cart-summary {
  background: rgb(255 255 255 / 0.07);
  background-image: linear-gradient(180deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0) 46%);
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 1.75rem;
  box-shadow: 0 18px 50px rgb(0 0 0 / 0.22), inset 0 1px 0 rgb(255 255 255 / 0.18);
}
.ab-cart-empty { padding: 32px; }
.ab-cart-empty h2, .ab-cart-summary h2, .ab-cart-title { font-family: var(--serif); color: #f8f4fc; font-weight: 520; text-decoration: none; }
.ab-cart-empty h2, .ab-cart-summary h2 { font-size: 32px; margin: 8px 0; }
.ab-cart-empty p, .ab-cart-summary p, .ab-cart-meta { color: var(--muted); line-height: 1.6; }
.ab-cart-grid { display: grid; gap: 28px; }
.ab-cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ab-cart-list li { display: flex; gap: 16px; padding: 16px; }
.ab-cart-thumb { width: 160px; height: 112px; flex: none; overflow: hidden; border-radius: 16px; background: #f6efe4; }
.ab-cart-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ab-cart-title { font-size: 22px; }
.ab-cart-price, .ab-cart-price span, .ab-cart-total, .ab-cart-total span { color: #f8f4fc !important; font-weight: 700; }
.ab-cart-total { font-family: var(--serif); font-size: 36px; margin: 12px 0; }
.ab-cart-remove { color: #e6d0ff; font-weight: 700; font-size: 14px; }
.ab-cart-summary { padding: 24px; height: fit-content; border-color: rgb(212 175 55 / 0.4); }
.ab-cart-summary .ab-btn { width: 100%; margin-top: 18px; }
.ab-cart-lock { margin-top: 16px; text-align: center; font-size: 12px; }
@media (min-width: 900px) {
  .ab-cart-grid { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
}
