/* Affen Vape page (page-affen-vape.php). Everything is scoped to .fav. */
.fav-main { padding:0 !important; }
.fav { --navy:#071d35; --blue:#1684e8; --blue-dark:#0869c2; --text:#1c2936; --muted:#607080; --line:#dfe5ec; --soft:#f5f7fa; --green:#116a39; background:#fff; color:var(--text); line-height:1.65; }
.fav, .fav * { box-sizing:border-box; }
.fav__shell { width:min(calc(100% - 28px),1200px); margin-inline:auto; }
.fav h1, .fav h2, .fav h3 { color:var(--navy); letter-spacing:-.025em; }
.fav h2 { margin:0 0 14px; font-size:clamp(25px,2.6vw,36px); line-height:1.14; }
.fav h3 { margin:0 0 8px; font-size:18px; line-height:1.3; }
.fav p { margin:0 0 14px; color:var(--muted); }
.fav a { color:var(--blue-dark); text-underline-offset:3px; }

/* Hero: kept short so the first model row is visible without scrolling */
.fav__hero { padding:18px 0 14px; border-bottom:1px solid var(--line); background:radial-gradient(circle at 88% 18%,rgba(22,132,232,.12),transparent 32%),linear-gradient(180deg,#fff,#f4f8fc); }
.fav__hero h1 { margin:0 0 6px; font-size:clamp(25px,2.8vw,36px); line-height:1.1; letter-spacing:-.045em; }
.fav__lead { margin-bottom:10px !important; color:#405264 !important; font-size:15px; line-height:1.5; }
.fav__chips { display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; list-style:none; }
.fav__chips li { padding:4px 11px; border:1px solid #d7e2eb; border-radius:99px; background:#fff; color:var(--navy); font-size:13px; font-weight:750; line-height:1.4; }
.fav__chips .is-deal { border-color:#bfe3cd; background:#effaf3; color:var(--green); }

/* Layer 1: models */
.fav__models { padding:14px 0 30px; }
.fav__models h2 { margin-bottom:10px; font-size:20px; }
.fav-models { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.fav-model { min-width:0; overflow:hidden; border:1px solid #d7e2eb; border-radius:14px; background:#fff; box-shadow:0 6px 18px rgba(15,38,61,.06); transition:transform .2s,box-shadow .2s; }
.fav-model:not(.fav-model--archive):hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(15,38,61,.12); }
.fav-model__link { display:flex; height:100%; flex-direction:column; color:inherit !important; text-decoration:none; }
.fav-model__media { display:block; aspect-ratio:1/.82; overflow:hidden; background:#eef3f8; }
.fav-model__media img { display:block; width:100%; height:100%; object-fit:cover; }
.fav-model__body { display:flex; padding:10px 12px 11px; flex:1 1 auto; flex-direction:column; gap:5px; }
.fav-model__name { color:var(--navy); font-size:17px; font-weight:800; line-height:1.2; letter-spacing:-.02em; }
.fav-model__facts { display:flex; flex-wrap:wrap; gap:2px 10px; color:#647485; font-size:11px; }
.fav-model__facts b { color:#17283a; font-size:12px; }
.fav-model__foot { display:flex; margin-top:auto; padding-top:7px; align-items:center; justify-content:space-between; gap:8px; border-top:1px solid #e6edf2; }
.fav-model__price { color:#0c4f7f; font-size:18px; font-weight:850; line-height:1.15; }
.fav-model__stock { display:grid; justify-items:end; color:var(--green); line-height:1.15; text-align:right; }
.fav-model__stock b { font-size:12px; }
.fav-model__stock small { margin-top:2px; color:#677787; font-size:10px; font-weight:700; }
.fav-model--unavailable .fav-model__stock { color:#6b7280; }
.fav-model--archive { border-color:#e3e6ea; background:#f5f6f7; box-shadow:none; }
.fav-model--archive .fav-model__link { cursor:default; }
.fav-model--archive .fav-model__media img { filter:grayscale(1); opacity:.62; }
.fav-model--archive .fav-model__name, .fav-model--archive .fav-model__facts, .fav-model--archive .fav-model__facts b, .fav-model--archive .fav-model__stock { color:#7b838c; }
.fav-model--archive .fav-model__price { color:#7b838c; font-size:12px; font-weight:750; }

/* Section navigation */
.fav__nav { border-block:1px solid var(--line); background:#fff; }
.fav__nav .fav__shell { display:flex; gap:10px 24px; padding-block:12px; overflow-x:auto; }
.fav__nav a { flex:0 0 auto; color:var(--navy); font-size:13px; font-weight:700; text-decoration:none; }
.fav__nav a:hover, .fav__nav a:focus-visible { color:var(--blue); }

/* Sections */
.fav__section { padding:clamp(40px,5vw,72px) 0; scroll-margin-top:24px; }
.fav__section--soft { background:var(--soft); }
.fav__heading { max-width:800px; margin-bottom:20px; }
.fav__split { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(24px,4vw,56px); align-items:start; }
.fav__narrow { max-width:860px; }
.fav-button { display:inline-block; padding:10px 20px; border-radius:10px; background:var(--blue-dark); color:#fff !important; font-weight:750; text-decoration:none; }
.fav-button:hover { background:#07599f; }

/* Layer 2: filters */
.fav-filters { display:grid; gap:9px; margin-bottom:16px; }
.fav-filters__row { display:flex; gap:6px; overflow-x:auto; padding-bottom:2px; scrollbar-width:thin; }
.fav-filters__row button { flex:0 0 auto; padding:6px 12px; border:1px solid #cfdbe6; border-radius:99px; background:#fff; color:var(--navy); font-size:13px; font-weight:700; line-height:1.3; cursor:pointer; }
.fav-filters__row button:hover { border-color:var(--blue); }
.fav-filters__row button.is-active { border-color:var(--navy); background:var(--navy); color:#fff; }
.fav-filters__tools { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; }
.fav-filters__search { flex:0 1 280px; }
.fav-filters__search input { width:100%; height:38px; padding:0 12px; border:1px solid #cfdbe6; border-radius:9px; background:#fff; color:var(--text); font-size:14px; }
.fav-filters__stock { display:inline-flex; align-items:center; gap:6px; color:var(--navy); font-size:14px; font-weight:700; cursor:pointer; }
.fav-filters__count { margin-left:auto; color:var(--muted); font-size:13px; font-weight:700; }

/* Layer 2: flavour cards */
.fav-items { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.fav-item { display:flex; min-width:0; overflow:hidden; flex-direction:column; border:1px solid #dbe4ec; border-radius:12px; background:#fff; }
.fav-item[hidden] { display:none; }
.fav-item__media { position:relative; display:block; aspect-ratio:1/1; overflow:hidden; background:#eef3f8; }
.fav-item__media img { display:block; width:100%; height:100%; object-fit:cover; }
.fav-item__media span { position:absolute; top:6px; left:6px; padding:2px 6px; border-radius:5px; background:rgba(55,65,81,.88); color:#fff; font-size:10px; font-weight:800; }
.fav-item--out .fav-item__media img { filter:grayscale(.7); opacity:.75; }
.fav-item__body { display:flex; padding:8px 9px 9px; flex:1 1 auto; flex-direction:column; gap:2px; }
.fav-item__model { color:var(--blue-dark); font-size:10px; font-weight:800; line-height:1.3; }
.fav .fav-item__flavour { color:var(--navy); font-size:13px; font-weight:800; line-height:1.25; text-decoration:none; overflow-wrap:anywhere; }
.fav .fav-item__flavour:hover { color:var(--blue-dark); text-decoration:underline; }
.fav .fav-item__look { margin:1px 0 0; color:var(--muted); font-size:11px; line-height:1.3; }
.fav-item__foot { display:flex; min-height:30px; margin-top:auto; padding-top:6px; align-items:center; justify-content:space-between; gap:4px; }
.fav-item__foot strong { color:#0c4f7f; font-size:13px; font-weight:850; white-space:nowrap; }
.fav-qty { display:inline-flex; flex:0 0 auto; height:26px; align-items:center; overflow:hidden; border-radius:7px; background:var(--blue-dark); color:#fff; }
.fav .fav-qty button { display:inline-flex; width:26px; min-width:0; height:26px; min-height:0; margin:0; padding:0; align-items:center; justify-content:center; border:0; border-radius:0; background:transparent; box-shadow:none; color:#fff; font-size:17px; font-weight:700; line-height:1; cursor:pointer; transition:background .15s; }
.fav .fav-qty button[hidden] + output[hidden] + button { width:46px; }
.fav .fav-qty button:hover { background:#07599f; }
.fav .fav-qty button:focus-visible { outline:2px solid #fff; outline-offset:-3px; }
.fav .fav-qty button[hidden], .fav .fav-qty output[hidden] { display:none; }
.fav-qty output { min-width:20px; color:#fff; font-size:12px; font-weight:800; line-height:26px; text-align:center; }
.fav-item.is-in-cart { border-color:var(--blue); box-shadow:0 0 0 1px var(--blue); }
.fav .fav-item__error { margin:5px 0 0; color:#b42318; font-size:11px; font-weight:700; line-height:1.3; }

/* Cart feedback: the side cart stays closed on this page */
.fav-float { position:fixed; z-index:10000; padding:1px 7px; border-radius:99px; background:#168348; color:#fff; font-size:12px; font-weight:800; line-height:18px; pointer-events:none; transform:translate(-50%,-100%); animation:fav-float .7s ease-out forwards; }
.fav-float.is-minus { background:#4b5563; }
.fav-fly { position:fixed; z-index:9999; width:56px; height:56px; border-radius:10px; box-shadow:0 6px 18px rgba(7,29,53,.3); object-fit:cover; pointer-events:none; }
.header-cart-link.fav-cart-bump .cart-count { animation:fav-badge .42s ease; }
.header-cart-link.fav-cart-bump .action-icon { animation:fav-icon .42s ease; }
@keyframes fav-float { 0% { opacity:0; transform:translate(-50%,-70%); } 20% { opacity:1; } 100% { opacity:0; transform:translate(-50%,-260%); } }
@keyframes fav-badge { 0%, 100% { scale:1; } 40% { scale:1.55; } }
@keyframes fav-icon { 0%, 100% { scale:1; } 40% { scale:1.16; } }
@media (prefers-reduced-motion:reduce) { .fav-float, .header-cart-link.fav-cart-bump .cart-count, .header-cart-link.fav-cart-bump .action-icon { animation:none; } }
.fav-empty { margin:18px 0 0 !important; text-align:center; }
.fav-more { display:block; margin:18px auto 0; padding:10px 22px; border:1px solid var(--blue-dark); border-radius:10px; background:#fff; color:var(--blue-dark); font-size:14px; font-weight:800; cursor:pointer; }
.fav-more:hover { background:#eef6fd; }

/* Content blocks */
.fav-tiers { display:flex; flex-wrap:wrap; gap:12px; margin:0; padding:0; list-style:none; }
.fav-tiers li { display:grid; flex:1 1 120px; padding:16px 18px; border:1px solid #bfe3cd; border-radius:12px; background:#effaf3; }
.fav-tiers b { color:#168348; font-size:28px; line-height:1.1; }
.fav-tiers span { color:var(--text); font-size:14px; }
.fav-timeline { display:grid; gap:0; margin:0; padding:0; list-style:none; }
.fav-timeline li { position:relative; display:grid; grid-template-columns:118px minmax(0,1fr); gap:12px; padding:0 0 14px 18px; border-left:2px solid #cfe0ef; }
.fav-timeline li:last-child { padding-bottom:0; }
.fav-timeline li::before { position:absolute; top:7px; left:-6px; width:10px; height:10px; border-radius:50%; background:var(--blue); content:""; }
.fav-timeline b { color:var(--navy); font-size:14px; }
.fav-timeline span { color:var(--text); font-size:14px; line-height:1.55; }
.fav-style { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.fav-style article { padding:18px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.fav-style p { margin:0; font-size:14px; }
.fav-check { display:grid; gap:8px; margin:0; padding:0; list-style:none; }
.fav-check li { position:relative; padding-left:24px; font-size:15px; }
.fav-check li::before { position:absolute; left:2px; color:#168348; font-weight:900; content:"✓"; }
.fav-check strong { color:var(--navy); }
.fav-table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:14px; background:#fff; }
.fav-table { width:100%; border-collapse:collapse; font-size:14px; }
.fav-table caption { padding:12px 14px 4px; color:var(--navy); font-size:15px; font-weight:800; text-align:left; }
.fav-table th, .fav-table td { padding:9px 14px; border-bottom:1px solid #e6edf2; text-align:left; }
.fav-table thead th { background:#eef3f8; color:var(--navy); font-size:12px; font-weight:800; white-space:nowrap; }
.fav-table tbody th { color:var(--navy); font-weight:800; white-space:nowrap; }
.fav-table tbody tr:last-child > * { border-bottom:0; }
.fav-table tr.is-archive th, .fav-table tr.is-archive td { color:#8a929b; }
.fav-faq details { border-top:1px solid var(--line); }
.fav-faq details:last-child { border-bottom:1px solid var(--line); }
.fav-faq summary { position:relative; padding:14px 32px 14px 0; color:var(--navy); font-size:16px; font-weight:750; cursor:pointer; list-style:none; }
.fav-faq summary::-webkit-details-marker { display:none; }
.fav-faq summary::after { position:absolute; top:10px; right:4px; color:var(--blue); font-size:22px; font-weight:400; content:"+"; }
.fav-faq details[open] summary::after { content:"−"; }
.fav-faq p { margin:0; padding:0 0 14px; }
.fav-youth { margin-top:22px; padding:14px 16px; border-left:4px solid #6b7280; border-radius:6px; background:#f3f4f6; }
.fav-youth strong { color:var(--navy); }
.fav-youth p { margin:2px 0 0; color:var(--text); font-size:14px; }

@media (max-width:1100px) {
	.fav-items { grid-template-columns:repeat(5,minmax(0,1fr)); }
	.fav-style { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:860px) {
	.fav-models { grid-template-columns:repeat(3,minmax(0,1fr)); }
	.fav-items { grid-template-columns:repeat(4,minmax(0,1fr)); }
	.fav__split { grid-template-columns:1fr; }
}
@media (max-width:620px) {
	.fav__hero { padding:12px 0 10px; }
	.fav__hero h1 { font-size:23px; }
	.fav__lead { display:none; }
	.fav__chips li { padding:3px 9px; font-size:12px; }
	.fav__models { padding:10px 0 22px; }
	.fav__models h2 { margin-bottom:8px; font-size:18px; }
	.fav-models { grid-template-columns:1fr; gap:8px; }
	.fav-model__link { flex-direction:row; }
	.fav-model__media { width:112px; flex:0 0 112px; aspect-ratio:auto; min-height:112px; }
	.fav-model__body { min-width:0; padding:9px 11px; }
	.fav-items { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
	.fav-filters__search { flex:1 1 100%; }
	.fav-style { grid-template-columns:1fr; }
	.fav-timeline li { grid-template-columns:1fr; gap:0; }
	.fav-qty { height:30px; }
	.fav .fav-qty button { width:30px; height:30px; }
	.fav .fav-qty button[hidden] + output[hidden] + button { width:52px; }
	.fav-qty output { line-height:30px; }
}
