/* Public Ofertix Club theme. Scoped so other sites keep their own appearance. */
body.ofx-club-theme {
  --radius: 18px;
  --shadow: 0 18px 46px rgba(11, 28, 49, .07);
  --ofx-color-muted-text: #596b7e;
  --muted: #596b7e;
  background: var(--bg);
}

.ofx-club-theme :focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
.ofx-club-theme .container { width: min(1320px, calc(100% - 64px)); }
.ofx-editorial-bar { padding: 11px 0; border-bottom: 1px solid #eee8df; background: #f5f1ea; color: #6c614f; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ofx-editorial-bar .container { display: flex; justify-content: space-between; gap: 24px; }
.ofx-editorial-bar span span { margin: 0 6px; color: var(--secondary); }

.ofx-site-header { position: relative; z-index: 5; background: #fff; border-bottom: 1px solid #eeeae3; }
.ofx-site-header-inner { display: flex; align-items: center; gap: 26px; min-height: 96px; }
.ofx-site-brand { display: block; flex: 0 0 auto; width: 226px; line-height: 0; }
.ofx-site-brand img { display: block; width: 100%; height: auto; }
.ofx-site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.ofx-site-nav a { position: relative; padding: 14px 0; color: var(--primary); text-decoration: none; font-size: 14px; font-weight: 750; }
.ofx-site-nav a:first-child::after { content: ""; position: absolute; bottom: 7px; left: 0; width: 31px; height: 2px; background: var(--secondary); }
.ofx-site-nav a:hover { color: var(--ofx-color-accent); }
.ofx-site-header-action { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 14px; padding: 11px 19px; border: 1px solid var(--primary); border-radius: 999px; color: var(--primary); text-decoration: none; font-size: 13px; font-weight: 800; white-space: nowrap; }
.ofx-site-header-action:hover { background: var(--primary); color: #fff; }

.ofx-club-theme .hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px, 7vw, 110px) 0; color: var(--primary); border-bottom: 1px solid #e6dfd3; background: linear-gradient(125deg, #fff 34%, #f7f3ed 100%); }
.ofx-club-theme .hero::before, .ofx-club-theme .hero::after { content: ""; position: absolute; z-index: -1; width: 110px; height: 110px; pointer-events: none; }
.ofx-club-theme .hero::before { left: 0; top: 0; background: linear-gradient(135deg, var(--primary) 0 26%, var(--secondary) 26% 31%, transparent 31%); }
.ofx-club-theme .hero::after { right: 0; bottom: 0; background: linear-gradient(315deg, var(--primary) 0 26%, var(--secondary) 26% 31%, transparent 31%); }
.ofx-club-theme .hero-inner { align-items: center; min-height: 250px; }
.ofx-club-theme .hero-copy { min-width: 0; max-width: 900px; }
.ofx-club-theme .hero .eyebrow { color: var(--ofx-color-accent) !important; font-size: 12px !important; letter-spacing: .17em; }
.ofx-club-theme .hero h1 { max-width: 850px; margin: 17px 0 17px; font-size: clamp(44px, 5.4vw, 72px); line-height: 1.07; letter-spacing: -.055em; font-weight: 850; }
.ofx-club-theme .hero h1 em { color: var(--secondary); font-style: normal; }
.ofx-club-theme .hero-copy > p:not(.eyebrow) { max-width: 700px; color: #506074; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; }
.ofx-hero-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 25px; padding: 14px 20px; border-radius: 8px; background: var(--ofx-color-cta-background); color: var(--ofx-color-cta-text); text-decoration: none; font-size: 14px; font-weight: 850; box-shadow: 0 10px 24px rgba(11,28,49,.15); }
.ofx-hero-cta:hover { background: var(--ofx-color-cta-hover); }
.ofx-club-theme .hero-trust-line { display: block; width: max-content; max-width: 100%; margin-top: 20px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #715a37; font-size: 12px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; box-shadow: none; }
.ofx-club-theme .hero.ofx-hero-with-featured { padding: clamp(45px, 5vw, 76px) 0; }
.ofx-club-theme .ofx-hero-with-featured .hero-inner { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); gap: clamp(35px, 5vw, 78px); align-items: center; }
.ofx-club-theme .ofx-hero-with-featured .hero-copy { max-width: 720px; }
.ofx-club-theme .ofx-hero-with-featured h1 { font-size: clamp(43px, 4.6vw, 65px); }
.ofx-featured-offer { min-width: 0; overflow: hidden; border: 1px solid #d8d0c2; border-radius: 10px; background: #fff; box-shadow: 0 22px 45px rgba(11, 28, 49, .12); }
.ofx-featured-topline { display: flex; justify-content: space-between; gap: 15px; padding: 12px 18px; background: #e7cfaa; color: var(--primary); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ofx-featured-image { position: relative; display: block; overflow: hidden; height: clamp(255px, 23vw, 315px); background: #fff; }
.ofx-featured-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 15px; object-fit: contain; }
.ofx-featured-image-fallback { display: none; place-items: center; height: 100%; color: #68778a; font-size: 13px; font-weight: 700; }
.ofx-featured-image.image-error .ofx-featured-image-fallback { display: grid; }
.ofx-featured-content { min-width: 0; padding: 19px 23px 20px; background: var(--primary); color: #fff; }
.ofx-featured-brand { display: block; overflow: hidden; color: #e7cfaa; font-size: 12px; font-weight: 850; letter-spacing: .08em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.ofx-featured-content h2 { display: -webkit-box; overflow: hidden; margin: 5px 0 17px; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.2; letter-spacing: -.03em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ofx-featured-content h2 a { color: inherit; text-decoration: none; }
.ofx-featured-content h2 a:hover { color: #e7cfaa; }
.ofx-featured-bottom { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.25); }
.ofx-featured-prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 11px; min-width: 0; }
.ofx-featured-prices del { color: #c5cfda; font-size: 14px; }
.ofx-featured-prices strong { color: #fff; font-size: clamp(26px, 2.6vw, 35px); font-weight: 900; line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
.ofx-featured-bottom > a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 0 0 auto; min-height: 41px; padding: 9px 13px; border-radius: 6px; background: #e7cfaa; color: var(--primary); font-size: 13px; font-weight: 850; text-decoration: none; white-space: nowrap; }
.ofx-featured-bottom > a:hover { background: #f2dab3; }
.ofx-club-theme #ofertas, .ofx-club-theme #criterio { scroll-margin-top: 24px; }

.ofx-club-theme .public-feed-section { padding-top: clamp(52px, 6vw, 80px); padding-bottom: 80px; }
.ofx-section-kicker { margin: 0 0 9px !important; color: var(--ofx-color-accent) !important; font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.ofx-club-theme .section-title .ofx-section-kicker > span { display: inline; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--secondary); font: inherit; }
.ofx-club-theme .section-title { margin-bottom: 36px; padding-bottom: 25px; border-bottom: 1px solid #dedbd5; }
.ofx-club-theme .section-title h2 { font-size: clamp(32px, 3vw, 44px); line-height: 1.1; letter-spacing: -.045em; }
.ofx-club-theme .section-title p:not(.ofx-section-kicker) { margin-top: 10px; font-size: 15px; }
.ofx-club-theme .offer-day-group { gap: 16px; }
.ofx-club-theme .offer-day-group > h3 { color: var(--ofx-color-accent); font-size: 14px; font-weight: 850; }
.ofx-club-theme .offers-grid { gap: 24px; }

.ofx-club-theme .offer-card { overflow: hidden; border: 1px solid #e3dfd8; border-radius: 17px; background: #fff; box-shadow: 0 15px 38px rgba(11,28,49,.075); transition: transform .2s ease, box-shadow .2s ease; }
.ofx-club-theme .offer-card:hover { transform: translateY(-4px); box-shadow: 0 24px 55px rgba(11,28,49,.12); }
.ofx-club-theme .offer-product-shell { border-radius: 12px 12px 0 0; }
.ofx-club-theme .offer-card .offer-product-visual { position: relative; height: 258px; aspect-ratio: auto; border-bottom: 0; background: linear-gradient(145deg, #fff 35%, #f4f1ec 100%); }
.ofx-club-theme .offer-product-visual::before { content: ""; position: absolute; z-index: 3; left: 0; top: 0; width: 64px; height: 64px; background: linear-gradient(135deg, var(--primary) 0 20%, var(--secondary) 20% 24%, transparent 24%); pointer-events: none; }
.ofx-club-theme .offer-card .offer-product-visual::before { display: none; }
.ofx-club-theme .offer-product-visual::after { display: none; }
.ofx-club-theme.public-admin-mode .offer-product-visual::before { display: none; }
.ofx-club-theme .product-white-stage { background: transparent; }
.ofx-club-theme .product-main-image { padding: 22px !important; background: transparent !important; }
.ofx-visual-discount { position: absolute; top: 18px; right: 18px; z-index: 5; min-width: 68px; padding: 9px 11px; border-radius: 9px; background: var(--ofx-color-discount); color: var(--primary); text-align: center; font-size: 17px; font-weight: 900; line-height: 1; box-shadow: 0 6px 14px rgba(11,28,49,.11); }
.ofx-club-theme .offer-content { padding: 24px; }
.ofx-club-theme .offer-brand-line { margin-bottom: 8px; color: var(--ofx-color-accent); font-size: 12px; letter-spacing: .1em; }
.ofx-club-theme .offer-card h2 { min-height: 2.5em; margin-bottom: 11px; color: var(--primary); font-size: 20px; line-height: 1.25; letter-spacing: -.03em; }
.ofx-club-theme .offer-card h2 a:hover { color: var(--ofx-color-accent); }
.ofx-club-theme .public-commercial-summary { gap: 5px; margin-bottom: 11px; }
.ofx-club-theme .commercial-summary-item { min-width: 0; max-width: 100%; border: 1px solid #eadfcf; border-radius: 7px; background: #faf6ef; color: #70522f; font-size: 12px; }
.ofx-club-theme .offer-card .commercial-summary-item strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ofx-club-theme .offer-card .offer-subtitle { margin-bottom: 17px; color: #657184; font-size: 13px; }
.ofx-club-theme .public-card-price-line { display: grid; grid-template-columns: 1fr; align-items: stretch; gap: 0; min-height: 82px; overflow: hidden; margin: auto 0 15px; padding: 0; border: 1px solid #e5e3df; border-radius: 8px; background: #faf9f7; }
.ofx-club-theme .public-card-price-line.has-previous-price { grid-template-columns: minmax(0, 1fr) auto; }
.ofx-card-previous-price, .ofx-card-current-price { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ofx-card-previous-price { justify-content: center; padding: 13px 11px 13px 14px; }
.ofx-card-previous-price > span, .ofx-card-current-price > span { color: #596b7e; font-size: 11px; font-weight: 800; letter-spacing: .07em; line-height: 1.1; text-transform: uppercase; }
.ofx-card-previous-price del { color: #596b7e; font-size: 15px; font-weight: 700; text-decoration-color: #b54847; text-decoration-thickness: 2px; white-space: nowrap; }
.ofx-card-current-price { justify-content: center; align-items: flex-start; margin-left: 0; padding: 12px 14px; background: var(--primary); }
.ofx-card-current-price > span { color: #dfc59f; }
.ofx-club-theme .public-card-price-line .ofx-card-current-price strong { color: #fff; font-size: clamp(26px, 2.3vw, 32px); font-weight: 900; letter-spacing: -.055em; line-height: 1.05; white-space: nowrap; }
.ofx-club-theme .offer-card > .offer-content > .button { min-height: 48px; border: 1px solid var(--ofx-color-cta-background); border-radius: 8px; background: #fff; color: var(--ofx-color-cta-background); font-size: 14px; font-weight: 850; }
.ofx-club-theme .offer-card > .offer-content > .button:hover { background: var(--ofx-color-cta-background); color: var(--ofx-color-cta-text); }
.ofx-club-theme .offer-card.offer-expired { border-color: #e8cbcb; background: #fffafa; }
.ofx-club-theme .offer-card.offer-paused { border-color: #e6d2b2; background: #fffcf5; }
.ofx-club-theme .offer-card .expired-banner,
.ofx-club-theme .offer-card .paused-banner { padding: 10px 15px; font-size: 11px; letter-spacing: .12em; }
.ofx-club-theme .paused-card-badge { border-color: #d9bd93; border-radius: 6px; background: #faf3e8; color: #76552a; }
.ofx-club-theme .offer-product-visual .visual-fallback { color: #68778a; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }

/* Compact integrated card: product, details, price and action form one composition. */
.ofx-club-theme .offer-card .product-main-image { padding: 16px 20px 28px !important; }
.ofx-club-theme .offer-card .ofx-visual-discount { top: 16px; right: 16px; font-size: 15px; }
.ofx-club-theme .offer-card .offer-content { position: relative; z-index: 2; margin-top: -29px; padding: 18px 20px 0; border-radius: 18px 18px 0 0; background: #fff; box-shadow: 0 -11px 30px rgba(11,28,49,.09); }
.ofx-club-theme .offer-card .offer-brand-line { margin-bottom: 0; font-size: 11px; }
.ofx-club-theme .offer-card h2 { min-height: 0; margin: 5px 0 4px; font-size: 19px; }
.ofx-club-theme .offer-card .public-commercial-summary { margin-bottom: 7px; }
.ofx-club-theme .offer-card .offer-summary-hook { min-height: 0; margin-bottom: 14px; }
.ofx-club-theme .ofx-card-footer { display: grid; grid-template-columns: minmax(0, 1fr) 104px; min-height: 77px; margin: auto -20px 0; background: var(--primary); }
.ofx-club-theme .ofx-card-footer.no-cta { grid-template-columns: minmax(0, 1fr); }
.ofx-club-theme .ofx-card-footer .public-card-price-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 77px; margin: 0; padding: 11px 14px 12px 20px; border: 0; border-radius: 0; background: transparent; }
.ofx-club-theme .ofx-card-footer .ofx-card-previous-price { padding: 0; }
.ofx-club-theme .ofx-card-footer .ofx-card-previous-price > span,
.ofx-club-theme .ofx-card-footer .ofx-card-current-price > span { color: #e7cfaa; }
.ofx-club-theme .ofx-card-footer .ofx-card-previous-price del { color: #c9d3df; font-size: 12px; text-decoration-color: var(--secondary); }
.ofx-club-theme .ofx-card-footer .ofx-card-current-price { align-items: flex-start; margin: 0 0 0 auto; padding: 0; background: transparent; }
.ofx-club-theme .ofx-card-footer .ofx-card-current-price strong { font-size: clamp(24px, 2.1vw, 29px); }
.ofx-club-theme .ofx-card-footer > .button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; min-height: 77px; margin: 0; padding: 8px 7px; border: 0; border-radius: 0; background: #e7cfaa; color: var(--primary); text-align: center; font-size: 14px; font-weight: 850; line-height: 1.15; }
.ofx-club-theme .ofx-card-footer > .button span { font-size: 20px; line-height: 1; }
.ofx-club-theme .ofx-card-footer > .button:hover,
.ofx-club-theme .ofx-card-footer > .button:focus-visible { background: #d5b77f; color: var(--primary); }
.ofx-club-theme .ofx-card-footer > .button.button-muted { background: #d9d5ce; color: var(--primary); }

.ofx-club-theme .public-taxonomy-page { padding-top: clamp(44px, 5vw, 72px); }
.ofx-club-theme .public-taxonomy-page .section-title { margin-bottom: 38px; padding-bottom: 25px; }
.ofx-club-theme .public-taxonomy-page .public-section-eyebrow { margin-bottom: 12px !important; color: var(--ofx-color-accent) !important; font-size: 11px !important; letter-spacing: .16em; }
.ofx-club-theme .public-taxonomy-page .section-title h1 { margin: 0; color: var(--primary); font-size: clamp(36px, 4.5vw, 56px); line-height: 1.1; letter-spacing: -.05em; }
.ofx-club-theme .public-taxonomy-page .section-title p:last-child { margin-top: 12px; color: #627186; font-size: 16px; }
.ofx-club-theme .empty-state { max-width: 850px; margin: 28px auto; padding: clamp(34px, 5vw, 60px); border: 0; border-radius: 10px; background: #fff; box-shadow: 0 12px 32px rgba(11, 28, 49, .05); }
.ofx-club-theme .empty-state h1,
.ofx-club-theme .empty-state h2 { margin: 0 0 15px; color: var(--primary); font-size: clamp(27px, 3.5vw, 39px); line-height: 1.15; letter-spacing: -.04em; }
.ofx-club-theme .empty-state p { max-width: 62ch; margin: 0 auto 14px; color: #526176; font-size: 16px; line-height: 1.65; }
.ofx-club-theme .empty-state .eyebrow { margin-bottom: 13px !important; color: var(--ofx-color-accent) !important; }
.ofx-club-theme .empty-state .button { margin-top: 18px; }
.ofx-club-theme .paused-link-state small { display: block; margin-top: 25px; color: #7b8798; font-size: 12px; }
.ofx-club-theme .public-offer-feed-controls { margin-top: 42px; }
.ofx-club-theme .public-load-more { border: 1px solid var(--primary); background: #fff; color: var(--primary); }
.ofx-club-theme .public-load-more:hover { background: var(--primary); color: #fff; }
.ofx-club-theme .public-pagination { padding-top: 20px; border-top: 1px solid #e1ddd6; }
.ofx-club-theme .public-pagination > a:hover,
.ofx-club-theme .public-pagination-pages a:hover { color: var(--ofx-color-accent); }
.ofx-club-theme .public-pagination-pages a,
.ofx-club-theme .public-pagination-pages strong { border-color: #e0ddd7; }

.ofx-club-theme .offer-detail { gap: 36px; padding-top: 58px; padding-bottom: 80px; }
.ofx-club-theme .offer-product-visual-large { overflow: hidden; border: 1px solid #e6e4df; border-radius: 18px; background: #fff; }
.ofx-club-theme .offer-product-visual-large::before { width: 72px; height: 72px; }
.ofx-club-theme .offer-product-visual-large::after { width: 95px; height: 95px; }
.ofx-club-theme .detail-content { border-color: #e8e8e5; border-radius: 18px; box-shadow: var(--shadow); }
.ofx-club-theme .detail-content h1 { letter-spacing: -.04em; }
.ofx-club-theme .detail-meta-row { margin-bottom: 8px; }
.ofx-club-theme .detail-content .public-brand-pill { border: 1px solid #eadfcf; border-radius: 7px; background: #faf6ef; color: #76552a; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.ofx-club-theme .detail-content .status { border-radius: 7px; font-size: 11px; letter-spacing: .04em; }
.ofx-club-theme .detail-editorial-text { color: #45546a; font-size: 16px; line-height: 1.7; }
.ofx-club-theme .ai-key-points { margin: 24px 0; padding: 20px 22px; border-color: #e8e5df; border-radius: 8px; background: #f9f7f3; }
.ofx-club-theme .ai-key-points strong { color: var(--primary); }
.ofx-club-theme .ai-key-points li { line-height: 1.6; }
.ofx-club-theme .detail-price { padding: 18px; border-radius: 11px; background: #f8f8f6; }
.ofx-club-theme .detail-price .price-token { gap: 5px; }
.ofx-club-theme .detail-price .price-label { color: #596b7e; font-size: 11px; letter-spacing: .08em; }
.ofx-club-theme .detail-price .old-price { color: #596b7e; text-decoration-color: #b54847; text-decoration-thickness: 2px; }
.ofx-club-theme .detail-price strong { color: var(--ofx-color-price); font-size: clamp(30px, 3vw, 40px); letter-spacing: -.04em; }
.ofx-club-theme .detail-price .discount { border-radius: 8px; background: var(--ofx-color-discount); color: var(--primary); }
.ofx-club-theme .detail-content .button-big { width: 100%; }
.ofx-club-theme .detail-content .button-muted { background: #53657a; color: #fff; }
.ofx-club-theme .detail-content .legal-box { border-top-color: #e4ddd2; color: #677588; font-size: 12px; line-height: 1.6; }
.ofx-club-theme .detail-content .legal-box p { margin: 0 0 7px; }
.ofx-club-theme .offer-detail.offer-detail-expired .detail-content { border-color: #e8d4d0; background: #fffaf9; }
.ofx-club-theme .expired-detail-banner,
.ofx-club-theme .paused-detail-banner { border-radius: 7px; font-size: 12px; }
.ofx-club-theme .button { border-radius: 9px; }
.ofx-club-theme .public-pagination-pages a, .ofx-club-theme .public-pagination-pages strong { border-radius: 8px; }

.ofx-editorial-note { display: grid; grid-template-columns: 150px minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: 34px; margin-bottom: 72px; padding: 48px; border-radius: 12px; background: var(--primary); color: #fff; }
.ofx-editorial-index { padding-top: 9px; border-top: 2px solid var(--secondary); color: #e7cfaa; font-size: 12px; font-weight: 850; letter-spacing: .1em; white-space: nowrap; }
.ofx-editorial-note .ofx-section-kicker { color: var(--secondary) !important; }
.ofx-editorial-note h2 { max-width: 500px; margin: 9px 0 0; font-size: 33px; line-height: 1.15; letter-spacing: -.045em; }
.ofx-editorial-note h2 em { color: #e7cfaa; font-style: normal; }
.ofx-editorial-note > p { margin: 26px 0 0; color: #c5cfda; font-size: 15px; line-height: 1.7; }

.ofx-club-theme .public-legal-page { max-width: 1020px; gap: 20px; padding-top: clamp(42px, 6vw, 78px); padding-bottom: clamp(64px, 8vw, 112px); }
.ofx-club-theme .public-legal-header { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 60px); border: 0; border-radius: 12px; background: var(--primary); color: #fff; box-shadow: 0 20px 48px rgba(11, 28, 49, .12); }
.ofx-club-theme .public-legal-header::before { content: ""; position: absolute; top: 0; left: 0; width: 96px; height: 4px; background: var(--secondary); }
.ofx-club-theme .public-legal-header .eyebrow { margin: 0 0 16px !important; color: #e7cfaa !important; font-size: 11px !important; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.ofx-club-theme .public-legal-header h1 { max-width: 800px; margin: 0 0 22px; color: #fff; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -.05em; }
.ofx-club-theme .public-legal-header > p:last-child { padding-top: 17px; border-top: 1px solid rgba(255, 255, 255, .2); color: #c6d0db; font-size: 14px; }
.ofx-club-theme .public-legal-page > section { padding: clamp(26px, 4vw, 42px); border: 0; border-radius: 10px; background: #fff; box-shadow: 0 12px 32px rgba(11, 28, 49, .04); }
.ofx-club-theme .public-legal-page > section h2 { margin: 0 0 18px; color: var(--primary); font-size: clamp(22px, 2.7vw, 28px); line-height: 1.2; letter-spacing: -.035em; }
.ofx-club-theme .public-legal-page > section p,
.ofx-club-theme .public-legal-page > section li { max-width: 76ch; color: #45546a; font-size: 16px; line-height: 1.75; }
.ofx-club-theme .public-legal-page > section p + p { margin-top: 16px; }
.ofx-club-theme .public-legal-page ul { padding-left: 1.4em; }
.ofx-club-theme .public-legal-page li::marker { color: var(--ofx-color-accent); }
.ofx-club-theme .public-legal-page strong { color: var(--primary); }
.ofx-club-theme .public-legal-page a { color: #76552a; font-weight: 750; text-decoration-color: var(--secondary); text-underline-offset: 3px; }
.ofx-club-theme .public-legal-page a:hover { color: var(--primary); }
.ofx-club-theme .public-legal-page code { padding: 2px 5px; border-radius: 4px; background: #f5f1ea; color: var(--primary); font-size: .9em; }
.ofx-club-theme .public-legal-page > .public-legal-contact { background: #f7f3ed; }
.ofx-club-theme .public-legal-page > .public-legal-contact h2 { font-size: 23px; }
.ofx-club-theme .public-legal-table-wrap { margin: 24px 0; border: 1px solid #e8e5df; border-radius: 8px; }
.ofx-club-theme .public-legal-page table { margin: 0; }
.ofx-club-theme .public-legal-page th,
.ofx-club-theme .public-legal-page td { padding: 16px; border: 0; border-bottom: 1px solid #e8e5df; color: #45546a; line-height: 1.5; }
.ofx-club-theme .public-legal-page th { background: #f5f1ea; color: var(--primary); font-size: 12px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.ofx-club-theme .public-legal-page tbody tr:last-child td { border-bottom: 0; }

.ofx-club-theme .site-footer { border-top: 0; background: var(--primary); color: #c6d0db; }
.ofx-club-theme .footer-inner { padding: 16px 0; }
.ofx-club-theme .footer-logo { display: inline-block; padding: 5px; border-radius: 7px; background: #fff; }
.ofx-club-theme .footer-logo img { width: 190px; max-height: none; }
.ofx-club-theme .footer-brand p, .ofx-club-theme .footer-legal-links a { color: #e2e7ed; }
.ofx-club-theme .footer-notices p { color: #c6d0db; }
.ofx-club-theme .footer-legal-links a:hover { color: #e7cfaa; }
.ofx-club-theme .footer-admin-links a { color: #e7cfaa; }
.ofx-club-theme .pwa-version-inline { color: #c6d0db; opacity: .75; }
.ofx-club-theme .pwa-update-banner { border-color: #c7ac83; border-radius: 9px; background: #f8f3eb; color: var(--primary); }
.ofx-club-theme .pwa-update-banner .button { border-radius: 7px; }

@media (max-width: 1100px) {
  .ofx-club-theme .ofx-hero-with-featured .hero-inner { gap: 30px; }
  .ofx-club-theme .ofx-hero-with-featured h1 { font-size: clamp(39px, 4.4vw, 54px); }
  .ofx-featured-bottom { align-items: start; flex-direction: column; gap: 12px; }
  .ofx-club-theme .offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ofx-editorial-note { grid-template-columns: 130px minmax(0, 1fr); }
  .ofx-editorial-note > p { grid-column: 2; margin-top: 0; }
}

@media (max-width: 1020px) {
  .ofx-site-header-inner { gap: 18px; }
  .ofx-site-brand { width: 190px; }
  .ofx-site-nav { gap: 18px; }
  .ofx-site-header-action { display: none; }
}

@media (max-width: 720px) {
  .ofx-editorial-bar .container > span:last-child { display: none; }
  .ofx-club-theme .container { width: min(100% - 32px, 1320px); }
  .ofx-site-header-inner { min-height: 76px; }
  .ofx-site-brand { width: 174px; }
  .ofx-site-nav { display: none; }
  .ofx-club-theme .hero { padding: 65px 0 62px; }
  .ofx-club-theme .hero.ofx-hero-with-featured { padding: 40px 0 42px; }
  .ofx-club-theme .ofx-hero-with-featured .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ofx-club-theme .ofx-hero-with-featured h1 { font-size: clamp(38px, 10vw, 54px); }
  .ofx-featured-offer { display: grid; grid-template-columns: 35% minmax(0, 1fr); }
  .ofx-featured-topline { display: none; }
  .ofx-featured-image { height: auto; min-height: 190px; }
  .ofx-featured-image img { padding: 10px; }
  .ofx-featured-content { display: flex; flex-direction: column; padding: 14px; }
  .ofx-featured-content h2 { margin-bottom: 10px; font-size: 18px; }
  .ofx-featured-bottom { gap: 8px; margin-top: auto; padding-top: 10px; }
  .ofx-featured-prices del { font-size: 12px; }
  .ofx-featured-prices strong { font-size: 25px; }
  .ofx-featured-bottom > a { min-height: 35px; padding: 6px 9px; }
  .ofx-club-theme .hero::before, .ofx-club-theme .hero::after { width: 70px; height: 70px; }
  .ofx-club-theme .hero-inner { min-height: 0; }
  .ofx-club-theme .hero h1 { font-size: clamp(40px, 10.7vw, 58px); }
  .ofx-club-theme .hero-trust-line { border-radius: 10px; }
  .ofx-club-theme .public-feed-section { padding-top: 54px; padding-bottom: 55px; }
  .ofx-club-theme .public-taxonomy-page { padding-top: 42px; }
  .ofx-club-theme .public-taxonomy-page .section-title { margin-bottom: 26px; }
  .ofx-club-theme .section-title { margin-bottom: 23px; }
  .ofx-club-theme .offers-grid { gap: 18px; }
  .ofx-club-theme .offers-grid { grid-template-columns: 1fr; }
  .ofx-club-theme .offer-card .offer-content { padding-right: 18px; padding-left: 18px; }
  .ofx-club-theme .offer-card h2 { font-size: 19px; }
  .ofx-club-theme .offer-card .offer-product-visual { height: 250px; }
  .ofx-club-theme .ofx-card-footer { margin-right: -18px; margin-left: -18px; }
  .ofx-club-theme .ofx-card-footer .public-card-price-line { padding-left: 18px; }
  .ofx-club-theme .offer-detail { padding-top: 30px; padding-bottom: 58px; }
  .ofx-club-theme .empty-state { margin: 12px auto; }
  .ofx-club-theme .offer-product-visual-large { aspect-ratio: 4 / 3; }
  .ofx-club-theme .footer-logo img { width: 170px; }
  .ofx-editorial-note { display: block; margin-bottom: 48px; padding: 27px; }
  .ofx-editorial-index { display: inline-block; margin-bottom: 22px; }
  .ofx-editorial-note > p { margin-top: 16px; }
  .ofx-club-theme .public-legal-page { gap: 14px; padding-top: 32px; padding-bottom: 58px; }
  .ofx-club-theme .public-legal-header { padding: 30px 24px; }
  .ofx-club-theme .public-legal-page > section { padding: 26px 24px; }
  .ofx-club-theme .public-legal-page > section p,
  .ofx-club-theme .public-legal-page > section li { font-size: 16px; }
}

@media (max-width: 420px) {
  .ofx-club-theme .ofx-card-footer { grid-template-columns: minmax(0, 1fr) 88px; }
  .ofx-club-theme .ofx-card-footer.no-cta { grid-template-columns: minmax(0, 1fr); }
  .ofx-club-theme .ofx-card-footer .public-card-price-line { gap: 5px; padding: 10px 8px 10px 15px; }
  .ofx-club-theme .ofx-card-footer .ofx-card-current-price strong { font-size: 23px; }
}

/* Portrait product photos need a taller stage without cropping the product. */
.ofx-club-theme:not(.ofx-dossier-theme) .offer-card.ofx-portrait-image .offer-product-visual { height: clamp(315px, 27vw, 350px); }
.ofx-club-theme:not(.ofx-dossier-theme) .offer-card.ofx-portrait-image .product-main-image { padding: 12px 20px 45px !important; }
.ofx-club-theme:not(.ofx-dossier-theme) .ofx-featured-offer.ofx-portrait-image .ofx-featured-image { height: 385px; }
.ofx-club-theme:not(.ofx-dossier-theme) .offer-detail.ofx-portrait-image .offer-product-visual-large { aspect-ratio: 1 / 1.08; }

@media (max-width: 720px) {
  .ofx-club-theme:not(.ofx-dossier-theme) .offer-card.ofx-portrait-image .offer-product-visual { height: 320px; }
  .ofx-club-theme:not(.ofx-dossier-theme) .ofx-featured-offer.ofx-portrait-image .ofx-featured-image { height: auto; min-height: 245px; }
}

@media (min-width: 601px) {
  .ofx-club-theme:not(.ofx-dossier-theme) .offer-card.ofx-portrait-image {
    display: grid;
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
    grid-template-rows: auto minmax(22px, auto) auto auto minmax(0, 1fr) auto;
    min-height: 460px;
  }
  .ofx-club-theme:not(.ofx-dossier-theme) .offer-card.ofx-portrait-image .expired-banner { grid-column: 1 / -1; grid-row: 1; }
  .ofx-club-theme:not(.ofx-dossier-theme) .offer-card.ofx-portrait-image .offer-product-shell { grid-column: 1; grid-row: 2 / 6; min-height: 350px; height: 100%; border-radius: 0; }
  .ofx-club-theme:not(.ofx-dossier-theme) .offer-card.ofx-portrait-image .offer-product-visual { height: 100%; aspect-ratio: auto; }
  .ofx-club-theme:not(.ofx-dossier-theme) .offer-card.ofx-portrait-image .product-main-image { padding: 10px 5px !important; }
  .ofx-club-theme:not(.ofx-dossier-theme) .offer-card.ofx-portrait-image .offer-content { display: contents; }
  .ofx-club-theme:not(.ofx-dossier-theme) .offer-card.ofx-portrait-image .offer-brand-line { grid-column: 2; grid-row: 2; align-self: end; margin: 18px 10px 4px; }
  .ofx-club-theme:not(.ofx-dossier-theme) .offer-card.ofx-portrait-image h2 { grid-column: 2; grid-row: 3; margin: 0 10px 10px; font-size: 17px; overflow-wrap: anywhere; }
  .ofx-club-theme:not(.ofx-dossier-theme) .offer-card.ofx-portrait-image .public-commercial-summary { grid-column: 2; grid-row: 4; margin: 0 10px 9px; }
  .ofx-club-theme:not(.ofx-dossier-theme) .offer-card.ofx-portrait-image .offer-subtitle { grid-column: 2; grid-row: 5; align-self: start; margin: 0 10px 12px; }
  .ofx-club-theme:not(.ofx-dossier-theme) .offer-card.ofx-portrait-image .ofx-card-footer { grid-column: 1 / -1; grid-row: 6; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ofx-club-theme .offer-card { transition: none; }
}
