/* Shop components on top of theme.css (the former Trimedea look). */
body { font-family: "Open Sans", "Noto Sans", "DejaVu Sans", "Segoe UI", system-ui, sans-serif; }
main.page { max-width: var(--tri-max); margin: 0 auto; padding: 1rem 1rem 2.5rem; }
.section { margin: 1.5rem 0 2rem; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-head h1, .section-head h2 { margin: 0; }
.util-bar .lang-btn { color: #eee; text-decoration: none; padding: 0.15rem 0.45rem; border-radius: 999px; font-weight: 400; }
.util-bar .lang-btn.is-active { background: var(--tri-gold); color: #111; font-weight: 400; }
.header-actions { font-size: 0.85rem; }
.cart-link { display: inline-flex; align-items: center; gap: 0.35rem; }
.cart-count { background: var(--tri-darker); color: #fff; border-radius: 999px; padding: 0.05rem 0.5rem; font-size: 0.75rem; min-width: 1.4rem; text-align: center; }
.menu-burger { display: none; background: var(--tri-darker); color: #fff; border: 0; border-radius: 4px; font-size: 1.2rem; padding: 0.35rem 0.7rem; cursor: pointer; }

/* main menu: gold bar with dropdowns */
.main-menu .inner { padding: 0 1rem; }
.menu-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem; }
.menu-area { position: relative; }
.menu-top { display: inline-block; background: none; border: 0; font: inherit; font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: #111; padding: 0.85rem 0.8rem; cursor: pointer; text-decoration: none; }
.menu-top:hover, .menu-area:focus-within > .menu-top { background: rgba(255, 255, 255, 0.35); }
.menu-sub { display: none; position: absolute; left: 0; top: 100%; z-index: 30; min-width: 16rem; list-style: none; margin: 0; padding: 0.4rem 0; background: #fff; border-top: 3px solid var(--tri-darker); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15); }
.menu-sub a { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.55rem 1rem; font-size: 0.9rem; }
.menu-sub a:hover { background: var(--tri-gold-soft); }
@media (hover: hover) and (min-width: 901px) { .menu-area:hover > .menu-sub { display: block; } }
.menu-area.is-open > .menu-sub { display: block; }

/* category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.9rem; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; border: 1px solid var(--tri-border); padding: 0.6rem; background: #fff; text-align: center; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; }
.cat-tile:hover { border-color: var(--tri-gold); }
.cat-tile-img { width: 100%; aspect-ratio: 1; background: var(--tri-bg-soft); display: block; overflow: hidden; }
.cat-tile-img img { width: 100%; height: 100%; object-fit: contain; }
.filter-chips { margin: 0 0 1rem; }
.filter-chips .cat-chip { background: var(--tri-bg-soft); }
.filter-chips .cat-chip.is-active { background: var(--tri-darker); color: #fff; }

.card h3 a { color: inherit; }
.card-img img { object-fit: contain; background: #fff; }
.btn { cursor: pointer; }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; pointer-events: none; }
.cookie-bar { pointer-events: auto; background: #fff; border-top: 3px solid var(--tri-gold); padding: 0.55rem 1rem 0.7rem; display: flex; flex-wrap: wrap; gap: 0.45rem 1rem; align-items: center; box-shadow: 0 -2px 10px rgba(0,0,0,.08); }
.cookie-text { flex: 1 1 18rem; margin: 0; font-size: 0.85rem; line-height: 1.35; }
.cookie-links { margin: 0; font-size: 0.8rem; display: flex; gap: 0.8rem; }
.cookie-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; flex: 1 1 32rem; }
.cookie-panel { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
@media (max-width: 700px) { .cookie-actions { grid-template-columns: 1fr; flex-basis: 100%; } }
.cookie-panel { flex: 1 1 100%; align-items: center; }
.cookie-panel[hidden] { display: none; }
.cookie-panel label { display: flex; gap: 0.45rem; align-items: center; min-height: 44px; }
.cookie-banner button { flex: 1 1 9.5rem; min-height: 44px; min-width: 9.5rem; font: inherit; font-weight: 700; font-size: 0.85rem; cursor: pointer; border-radius: 4px; background: #fff; color: #111; border: 2px solid var(--tri-darker); }
.cookie-banner button:hover { background: var(--tri-gold-soft); }
.cookie-banner button:focus-visible, #cookie-settings:focus-visible { outline: 2px solid var(--tri-gold-dark); outline-offset: 3px; }
body.cookie-open { padding-bottom: 8.5rem; }
#cookie-settings { color: inherit; font-size: 0.8rem; }
.btn.is-added { background: var(--tri-darker); color: #fff !important; }
.btn-wide { display: block; width: 100%; padding: 0.85rem; font-size: 0.9rem; margin-top: 0.75rem; }
.variant-select { width: 100%; padding: 0.5rem; font: inherit; font-size: 0.9rem; border: 1px solid var(--tri-border); background: #fff; }
.variant-select.is-invalid { border-color: var(--tri-danger); box-shadow: 0 0 0 2px rgba(201, 40, 65, 0.2); }

.crumbs { font-size: 0.82rem; color: var(--tri-muted); margin: 0.5rem 0 1rem; }
.crumbs a { text-decoration: underline; }

/* product page */
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.gallery-main { aspect-ratio: 1; border: 1px solid var(--tri-border); display: flex; align-items: center; justify-content: center; background: #fff; }
.gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.6rem; }
.thumb { width: 64px; height: 64px; padding: 0; border: 1px solid var(--tri-border); background: #fff; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-info h1 { margin: 0 0 0.5rem; font-size: 1.6rem; line-height: 1.25; }
.product-info .lead { color: var(--tri-muted); }
.buy-box { display: flex; flex-direction: column; gap: 0.7rem; padding: 1rem; background: var(--tri-bg-soft); border-left: 4px solid var(--tri-gold); margin: 1rem 0; }
.buy-box .price { font-size: 1.6rem; }
.buy-box .btn { font-size: 0.9rem; padding: 0.8rem; }
.rich { max-width: 60rem; }
.rich h2, .rich h3 { color: var(--tri-darker); }
.muted { color: var(--tri-muted); font-size: 0.85rem; margin: 0.25rem 0; }

/* cart + checkout */
.cart-lines { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.25rem; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 0.8rem; align-items: center; border: 1px solid var(--tri-border); padding: 0.6rem; background: #fff; }
.cart-line img { width: 64px; height: 64px; object-fit: contain; }
.cart-line .name { font-weight: 600; }
.cart-line .meta { font-size: 0.8rem; color: var(--tri-muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--tri-border); }
.qty button { width: 2.2rem; height: 2.2rem; border: 0; background: var(--tri-bg-soft); font-size: 1.1rem; cursor: pointer; }
.qty span { min-width: 2rem; text-align: center; }
.line-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem; }
.link-btn { background: none; border: 0; color: var(--tri-danger); font-size: 0.8rem; cursor: pointer; padding: 0; text-decoration: underline; }
.cart-lines.compact .cart-line { grid-template-columns: 48px 1fr auto; }
.cart-lines.compact img { width: 48px; height: 48px; }
.cart-grid, .checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.panel { border: 1px solid var(--tri-border); background: #fff; padding: 1rem 1.1rem; }
.panel h2 { margin-top: 0; font-size: 1.1rem; }
.panel h3 { font-size: 0.95rem; margin: 1rem 0 0.4rem; }
.field { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; font-weight: 600; margin: 0 0 0.75rem; }
.field input, .field select, .inline-form input { font: inherit; font-weight: 400; font-size: 1rem; padding: 0.6rem; border: 1px solid var(--tri-border); width: 100%; background: #fff; }
.field input:focus, .inline-form input:focus { outline: none; border-color: var(--tri-gold); box-shadow: 0 0 0 3px rgba(192, 160, 0, 0.2); }
.field.invalid input { border-color: var(--tri-danger); }
.row { display: flex; gap: 0.75rem; }
.row .field { flex: 1; }
.row .field.grow { flex: 2; }
.inline-form { display: flex; gap: 0.5rem; }
.inline-form .btn { margin: 0; white-space: nowrap; }
.msg { font-size: 0.85rem; margin: 0.4rem 0; min-height: 1.2em; }
.msg.ok { color: #2d7a2d; }
.msg.error { color: var(--tri-danger); }
.options label { display: flex; gap: 0.5rem; align-items: flex-start; padding: 0.55rem 0.6rem; border: 1px solid var(--tri-border); margin-bottom: 0.4rem; cursor: pointer; font-size: 0.9rem; }
.options label:has(input:checked) { border-color: var(--tri-gold); background: var(--tri-gold-soft); }
.options .opt-price { margin-left: auto; font-weight: 700; white-space: nowrap; }
.totals { width: 100%; border-collapse: collapse; margin-top: 0.75rem; font-size: 0.95rem; }
.totals td { padding: 0.3rem 0; }
.totals td:last-child { text-align: right; white-space: nowrap; }
.totals tr.discount td { color: #2d7a2d; }
.totals tr.sum td { border-top: 2px solid var(--tri-darker); font-weight: 800; font-size: 1.1rem; padding-top: 0.5rem; }
.tax-hint { caption-side: bottom; text-align: left; font-size: 0.85rem; color: #444; padding-top: 0.45rem; }
.check { display: flex; gap: 0.5rem; align-items: center; margin: 0.6rem 0; }
#shipping-address[hidden] { display: none !important; }
.link-muted { display: block; margin-top: 0.8rem; font-size: 0.85rem; color: var(--tri-muted); }
pre.pay { white-space: pre-wrap; background: var(--tri-bg-soft); border: 1px solid var(--tri-border); padding: 0.8rem; }
.result-box { border: 2px solid var(--tri-gold); padding: 1rem; background: #fff; margin-top: 1rem; }
.empty { text-align: center; padding: 2rem 1rem; color: var(--tri-muted); }
.hide-sm { }

@media (max-width: 900px) {
  .menu-burger { display: inline-block; }
  .main-menu { display: none; }
  .main-menu.is-open { display: block; }
  .menu-row { flex-direction: column; }
  .menu-top { width: 100%; text-align: left; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
  .menu-sub { position: static; box-shadow: none; border-top: 0; min-width: 0; background: rgba(255, 255, 255, 0.85); }
  .product-detail, .cart-grid, .checkout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  main.page { padding: 0.75rem 0.75rem 2rem; }
  .hide-sm { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .card-body { padding: 0.6rem; }
  .card h3 { font-size: 0.88rem; }
  .card-desc { display: none; }
  .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
  .cat-tile { font-size: 0.78rem; padding: 0.35rem; }
  .cat-tile .chip-count { display: none; }
  .site-header .inner { flex-wrap: nowrap; }
  .logo-link img { height: 40px; }
  .product-info h1 { font-size: 1.3rem; }
  .btn, .qty button, .variant-select, .field input, .field select { min-height: 44px; }
  .hero h1 { font-size: 1.5rem; }
  .row { flex-direction: column; gap: 0; }
}

/* v2: slim header, tiles as filter, qty picker */
.header-search { flex: 1; max-width: 28rem; margin: 0 1rem; }
.header-search input { width: 100%; font: inherit; font-size: 0.9rem; border: 1px solid var(--tri-border); border-radius: 999px; padding: 0.5rem 1rem; }
.header-search input:focus { outline: none; border-color: var(--tri-gold); box-shadow: 0 0 0 3px rgba(192, 160, 0, 0.2); }
.site-header .inner { flex-wrap: nowrap; }
.lang-switch-header .lang-btn { color: var(--tri-darker); padding: 0.2rem 0.45rem; border-radius: 999px; font-weight: 400; }
.lang-switch-header .lang-btn.is-active { background: var(--tri-darker); color: #fff; font-weight: 400; }
.burger-only { display: none; }
.burger-only.is-open { display: block; }
.show-sm { display: none; }
.cart-count { transition: transform 0.15s ease; }
.cart-count.bump { animation: bump 0.4s ease; }
@keyframes bump { 50% { transform: scale(1.4); background: var(--tri-gold); color: #111; } }
.home-tiles { margin-top: 1rem; }
body[data-page="shop"] .home-tiles { max-width: 100%; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
body[data-page="shop"] .home-tiles::-webkit-scrollbar { display: none; }
button.cat-tile { font: inherit; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; cursor: pointer; color: var(--tri-darker); border: 2px solid var(--tri-border); }
button.cat-tile:hover { border-color: var(--tri-gold); }
button.cat-tile.is-active { border: 3px solid var(--tri-gold); background: var(--tri-gold-soft); box-shadow: 0 6px 18px rgba(192, 160, 0, 0.3); }
.cat-tile-all { display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--tri-gold); }
.section-divider { border: 0; height: 3px; margin: 2rem 0 1.5rem; background: linear-gradient(90deg, transparent, var(--tri-gold) 15%, var(--tri-gold) 85%, transparent); }
.buy-row { display: flex; gap: 0.5rem; align-items: stretch; margin-top: auto; }
.buy-row .btn { flex: 1; margin: 0; }
.qty-pick input { width: 2.6rem; text-align: center; border: 0; font: inherit; font-weight: 700; -moz-appearance: textfield; background: #fff; }
.qty-pick input::-webkit-inner-spin-button, .qty-pick input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-pick button { width: 2rem; }
@media (max-width: 900px) {
  .main-menu.burger-only { display: none; }
  .main-menu.burger-only.is-open { display: block; }
}
@media (min-width: 901px) {
  .menu-burger { display: none !important; }
  .main-menu.burger-only,
  .main-menu.burger-only.is-open { display: block; }
}
@media (max-width: 640px) {
  .show-sm { display: inline-flex; }
  .site-header .inner { flex-wrap: wrap; gap: 0.5rem; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; margin: 0; }
  .buy-row { flex-direction: column; }
  .qty-pick { justify-content: space-between; }
  .qty-pick input { flex: 1; }
  .qty-pick button { width: 2.75rem; }
  .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  button.cat-tile { font-size: 0.78rem; }
}
.sub-chips { margin: 1rem 0 0; padding: 0.75rem; background: var(--tri-gold-soft); border-left: 4px solid var(--tri-gold); }
.sub-chips .cat-chip { background: #fff; }
.sub-chips .cat-chip.is-active { background: var(--tri-darker); color: #fff; }

.inquiry-note{margin-top:auto;padding:12px 14px;border:1px solid #d9c38a;border-radius:8px;background:#fbf7ec;font-size:.92rem}
.inquiry-note p{margin:0 0 10px}
.inquiry-note .btn{display:inline-block}
.sub-chips[hidden]{display:none!important}
.shop-filter { margin: 0 0 1rem; max-width: 100%; min-width: 0; }
.shop-filter-label { display: block; margin: 0 0 0.4rem; }
.shop-cat-chips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.shop-cat-chips .cat-chip { min-height: 44px; }
.section-head{flex-wrap:wrap;gap:10px}
.sort-wrap{display:inline-flex;align-items:center;gap:8px;margin-left:auto;font-size:.9rem}
.sort-wrap select{padding:6px 10px;border:1px solid #ccc;border-radius:6px;background:#fff;font:inherit}
.paypal-buttons{margin-top:14px;display:grid;gap:10px}
#pay[hidden],.paypal-buttons[hidden]{display:none!important}
#pay[hidden],.paypal-buttons[hidden]{display:none!important}
.free-hint{font-weight:600;color:#7a6200}.free-hint.ok{color:#2d7a2d}.free-hint:empty{display:none}
.footer-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.footer-logos{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
.footer-logos img{max-height:34px;width:auto;background:#fff;border-radius:4px;padding:3px 6px}
.ship-logos img{max-height:52px;max-width:100%;padding:0.35rem 0.5rem;background:#1a1a1a}
.brochure{display:flex;gap:10px;align-items:center;color:inherit}
.brochure img{width:70px;height:auto;border-radius:3px}
.brochure span{text-decoration:underline}
.card-img{position:relative}
.sale-badge{position:absolute;top:10px;left:10px;background:#c0392b;color:#fff;font-weight:800;font-size:.95rem;padding:5px 10px;border-radius:999px;box-shadow:0 2px 6px rgba(0,0,0,.2);z-index:2}
.sale-badge[hidden],.price-regular[hidden]{display:none!important}
.price-regular{color:#888;font-weight:400;font-size:.85em;margin-right:4px}
.price.on-sale .price-value{color:#c0392b;font-weight:800;font-size:1.15em}
.gallery-main,.product-gallery{position:relative}

/* Live trimedea.com identity: white menu, gold bar, square buttons, editorial home. */
.cat-nav.main-menu { background: #fff; border-bottom: 1px solid var(--tri-border); box-shadow: none; }
.menu-top:hover, .menu-area:focus-within > .menu-top { background: var(--tri-gold-soft); }
.cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 0.8rem; }
button.cat-tile, button.cat-tile.is-active { border: 0; background: transparent; box-shadow: none; padding: 0; }
button.cat-tile.is-active .cat-tile-name { color: var(--tri-gold-dark); }
.cat-tile-name, .home-title, .home-teaser h2, .home-teaser p, .cat-hero h1, .cat-prose, .review p { overflow-wrap: anywhere; hyphens: auto; }
.home-title { text-align: center; font-weight: 500; font-size: clamp(1.45rem, 2.5vw, 2.05rem); margin: 1.1rem 0 0.4rem; line-height: 1.25; }
.topic-card { position: relative; color: inherit; text-decoration: none; scroll-snap-align: start; }
.topic-card img { width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; object-position: right center; display: block; background: #fff; }
.topic-card .topic-label { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: flex-start; max-width: none; margin: 0; padding: 0.55rem 46% 0.55rem 0.7rem; background: linear-gradient(90deg, rgba(16, 22, 32, 0.78) 0%, rgba(16, 22, 32, 0.42) 42%, rgba(16, 22, 32, 0) 70%); color: #fff; font-weight: 700; font-size: 0.95rem; line-height: 1.25; letter-spacing: 0.02em; text-transform: uppercase; text-align: left; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7); white-space: normal; overflow-wrap: anywhere; hyphens: auto; }
.home-teasers { max-width: 100%; overflow-x: clip; }
.home-teaser { display: grid; grid-template-columns: minmax(280px, 320px) minmax(0, 1fr); gap: 0.7rem; align-items: center; margin: 0; padding: 0.75rem 0; border-top: 1px solid var(--tri-border); color: inherit; text-decoration: none; max-width: 100%; }
.home-teaser.is-text { grid-template-columns: minmax(0, 1fr); }
.home-teaser-media { min-width: 0; max-width: 100%; background: transparent; display: flex; align-items: center; justify-content: center; }
.home-teaser-media.is-pair { align-items: flex-end; justify-content: center; gap: 0.35rem; width: 100%; }
.home-teaser-media.is-pair img { margin: 0; flex: 0 1 auto; min-width: 0; }
.home-teaser-media.is-pair img:first-child { max-width: 62%; max-height: 210px; }
.home-teaser-media.is-pair img:last-child { max-width: 34%; max-height: 145px; }
.home-teaser-media.is-mark { background: #1a1a1a; }
.home-teaser-media img { width: auto; max-width: 100%; height: auto; max-height: 200px; object-fit: contain; object-position: center; display: block; margin-inline: auto; }
.home-teaser-copy { min-width: 0; }
.home-teaser h2 { margin: 0 0 0.25rem; font-size: 1.875rem; line-height: 1.6; }
.home-teaser p { margin: 0 0 0.3rem; font-size: 1.125rem; line-height: 1.6; }
.home-teaser-more { color: var(--tri-gold-dark); text-decoration: underline; font-size: 1.125rem; line-height: 1.6; }
.cat-video { display: block; width: min(100%, 40rem); max-height: 22rem; margin: 0 0 1rem; background: #111; }
.home-youtube, .home-contact { text-align: center; margin: 2rem 0; }
.home-youtube a, .home-social a { color: inherit; }
.home-youtube img { width: min(240px, 72%); height: auto; }
.home-social { text-align: center; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.75rem; }
.review { margin: 0; background: #fff; border: 1px solid var(--tri-border); padding: 0.85rem 1rem; }
.review p { margin: 0.4rem 0 0; }
.stars { margin: 0; color: #c0a000; letter-spacing: 0.14em; font-size: 1.15rem; line-height: 1; }
a.cat-tile { color: inherit; text-decoration: none; }
.shop-more { text-align: center; margin: 0.4rem 0 2rem; }
a.shop-all { width: auto; display: inline-block; padding: 0.85rem 1.6rem; }
.topic-hero { position: relative; display: block; margin-bottom: 1rem; }
.topic-hero img { width: 100%; height: auto; aspect-ratio: 1920 / 787; object-fit: cover; object-position: center; display: block; }
.topic-hero-title { position: absolute; left: 5%; top: 50%; transform: translateY(-50%); max-width: 40%; margin: 0; color: #fff; font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 2rem); line-height: 1.25; letter-spacing: 0.02em; text-transform: uppercase; text-align: left; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55); }
.topic-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 22, 32, 0.72) 0%, rgba(16, 22, 32, 0.28) 36%, rgba(16, 22, 32, 0) 62%); pointer-events: none; }
.legal-page { max-width: 52rem; }
.legal-page p { line-height: 1.65; overflow-wrap: anywhere; }
.contact-links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.contact-links a { color: var(--tri-gold-dark); font-weight: 700; }
.cat-hero { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 1.4rem; align-items: center; margin: 0.4rem 0 1.2rem; }
.cat-hero-media img { width: 100%; height: auto; object-fit: contain; background: #fafafa; }
.cat-hero h1 { margin: 0 0 0.45rem; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.25; }
.cat-prose { max-width: none; margin: 0 0 1.5rem; }
.cat-prose p, .cat-hero p { line-height: 1.65; }
.cat-block { margin: 0 0 1.2rem; }
.cat-block h2 { font-size: 1.25rem; margin: 0 0 0.4rem; }
.lang-drop { position: relative; }
.lang-drop summary { cursor: pointer; font-weight: 400; list-style: none; }
.lang-hit { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; min-height: 44px; min-width: 44px; padding: 0.35rem 0.85rem; font-size: 1.15rem; line-height: 1; box-sizing: border-box; }
.lang-drop summary::-webkit-details-marker { display: none; }
.lang-drop ul { position: absolute; right: 0; top: calc(100% + 0.2rem); z-index: 60; min-width: 6.5rem; margin: 0; padding: 0.2rem 0; list-style: none; background: #fff; border: 1px solid var(--tri-border); box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.lang-drop a { display: flex; align-items: center; min-height: 44px; padding: 0.45rem 0.9rem; color: #222; white-space: nowrap; font-size: 1.05rem; box-sizing: border-box; }
.util-bar .lang-drop summary { color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.cart-page h1, .checkout-page h1 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
@media (min-width: 801px) {
  .home-teaser:not(.is-text) { grid-template-columns: minmax(280px, 320px) minmax(0, 1fr); }
  .home-teaser-media:not(.is-mark) { background: transparent; }
  .home-teaser-media img { width: auto; max-width: 100%; height: auto; max-height: 220px; object-fit: contain; object-position: center; margin-inline: auto; }
}
@media (max-width: 800px) {
  .home-teaser, .cat-hero, .topic-hero { grid-template-columns: 1fr; }
  .home-teaser h2 { font-size: 1.4rem; }
  .home-teaser p, .home-teaser-more { font-size: 1.0625rem; }
  .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.home-tiles .tile-carousel, .home-topics .tile-carousel { display: flex; align-items: center; gap: 0.45rem; }
.home-tiles .tile-track, .home-topics .tile-track { flex: 1 1 auto; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.home-tiles .tile-track::-webkit-scrollbar, .home-topics .tile-track::-webkit-scrollbar { display: none; }
.home-tiles .cat-tiles, .home-topics .topic-row { display: flex; flex-wrap: nowrap; width: max-content; gap: 1rem; grid-template-columns: none; padding: 0.35rem 0 0.9rem; }
.home-tiles .cat-tile, .home-topics .topic-card { flex: 0 0 20rem; max-width: 20rem; scroll-snap-align: start; }
.home-tiles .cat-tile-img { aspect-ratio: 1; }
.home-topics .topic-card img { aspect-ratio: 5 / 3; object-fit: cover; object-position: right center; }
.tile-arrow { flex: 0 0 auto; width: 2.75rem; height: 2.75rem; border: 2px solid var(--tri-gold); background: #fff; color: #1a1a1a; font-size: 1.6rem; line-height: 1; border-radius: 999px; cursor: pointer; }
.tile-arrow:disabled { opacity: 0.35; cursor: default; }
.font-scale-header .font-scale-mark { font-size: 1.45rem; font-weight: 400; letter-spacing: 0; }
.font-scale-header .font-scale-btn { min-width: 2.5rem; height: 2.5rem; font-size: 1.05rem; font-weight: 400; }
.header-search { flex: 1 1 12rem; min-width: 0; }
.header-actions { flex-wrap: wrap; justify-content: flex-end; }
.site-header .inner, .footer-grid, .tile-carousel { min-width: 0; }
@media (max-width: 700px) {
  .home-tiles .cat-tile, .home-topics .topic-card { flex-basis: 78vw; max-width: 78vw; }
  .tile-arrow { width: 2.4rem; height: 2.4rem; }
}

.further-info { margin: 0 0 1.5rem; padding: 1rem 1.15rem; border: 1px solid var(--tri-border); background: #fbf7ec; border-radius: 8px; }
.further-info h2 { margin: 0 0 0.45rem; font-size: 1.15rem; }
.further-info p { margin: 0 0 0.55rem; line-height: 1.65; }
.further-info p:last-child, .further-info ul:last-child { margin-bottom: 0; }
.further-info ul { margin: 0 0 0.55rem; padding-left: 1.2rem; }
.further-info a { color: var(--tri-gold-dark); font-weight: 700; }

/* Favoriten und Verfügbarkeitsbenachrichtigung */
.card-body { position: relative; }
.fav-star { position: absolute; top: .55rem; right: .55rem; z-index: 2; background: rgba(255,255,255,.85); border: 0; border-radius: 50%; cursor: pointer; font-size: 1.35rem; line-height: 1; padding: .1rem .2rem; color: #b8860b; }
.card-body:has(.fav-star:not([hidden])) h3 { padding-right: 1.9rem; }
.fav-star.on { color: #d4a017; }
.fav-star[hidden] { display: none; }
.product-info h1 .fav-star { position: static; background: none; font-size: 1.6rem; vertical-align: middle; }
.fav-link { text-decoration: none; color: inherit; white-space: nowrap; }
.fav-link[hidden] { display: none; }
.notify-box { margin-top: .5rem; }
.notify-open { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; text-align: left; }
.notify-form { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .4rem; }
.notify-form[hidden] { display: none; }
.notify-form input[type=email] { flex: 1 1 12rem; min-width: 0; padding: .45rem; }
.notify-form small { flex-basis: 100%; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.notify-msg { font-size: .95em; }

/* Filme im Kasten "Weiterführende Informationen": Vorschaubild mit Abspielknopf, volle Kastenbreite, 16:9 */
.fi-videos { display: grid; gap: 0.9rem; margin: 0 0 0.9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.fi-videos:has(> .fi-video:only-child) { max-width: 52rem; }
.fi-video { position: relative; margin: 0; width: 100%; aspect-ratio: 16 / 9; background: #111; border-radius: 6px; overflow: hidden; }
.fi-video video, .fi-video-play { display: block; width: 100%; height: 100%; }
.fi-video video { object-fit: contain; background: #111; }
.fi-video-play { position: relative; padding: 0; border: 0; margin: 0; cursor: pointer; background: #111; }
.fi-video-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fi-video-icon { position: absolute; left: 50%; top: 50%; width: 4.2rem; height: 4.2rem; margin: -2.1rem 0 0 -2.1rem; border-radius: 50%; background: rgba(0, 0, 0, 0.62); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85); transition: transform 0.15s ease, background 0.15s ease; }
.fi-video-icon::after { content: ""; position: absolute; left: 1.65rem; top: 1.25rem; border-style: solid; border-width: 0.85rem 0 0.85rem 1.35rem; border-color: transparent transparent transparent #fff; }
.fi-video-play:hover .fi-video-icon, .fi-video-play:focus-visible .fi-video-icon { transform: scale(1.08); background: var(--tri-gold-dark, #8a6d1d); }
.fi-video-play:focus-visible { outline: 3px solid var(--tri-gold-dark, #8a6d1d); outline-offset: 2px; }

/* Startseiten-Banner mit zusätzlichem Link (z. B. zum Film im Kasten "Weiterführende Informationen") */
.home-teaser.has-extra-link h2 a { color: inherit; text-decoration: none; }
.home-teaser.has-extra-link h2 a:hover { text-decoration: underline; }
.home-teaser-media-link { display: block; min-width: 0; }
.home-teaser-extra { display: block; margin: 0 0 0.35rem; color: var(--tri-gold-dark); font-weight: 700; font-size: 1.125rem; line-height: 1.6; }
.home-teaser-extra::before { content: "▶ "; font-size: 0.85em; }
.home-teaser.has-extra-link .home-teaser-more { display: inline-block; }
@media (max-width: 760px) { .home-teaser-extra { font-size: 1.0625rem; } }
.further-info { scroll-margin-top: 6rem; }

/* Yahoo/AOL-Hinweis: goldenes Banner unter dem Kopf und Inline-Hinweis am E-Mail-Feld (nur Hinweis, kein Blockieren) */
.mail-provider-banner { background: var(--tri-gold); color: #1a1a1a; border-bottom: 3px solid #8a7000; }
.mail-provider-banner .inner { max-width: var(--tri-max); margin: 0 auto; padding: 0.7rem 1rem; text-align: center; font-size: 0.95rem; line-height: 1.45; box-sizing: border-box; }
.mail-provider-banner strong { font-size: 1.02rem; letter-spacing: 0.01em; }
.mail-provider-hint { margin: 0.35rem 0 0; padding: 0.5rem 0.7rem; background: var(--tri-gold-soft); border-left: 4px solid var(--tri-gold); color: #1a1a1a; font-size: 0.9rem; line-height: 1.4; font-weight: 400; }
.mail-provider-hint[hidden] { display: none; }
input.has-mail-hint { border-color: var(--tri-gold-dark) !important; }

/* Weihnachtsangebot KM-5x1000: HTML-Texte bleiben; das Werbebild darf eingebrannten Text enthalten. */
.xmas-offer { margin: 0 0 1.4rem; }
.xmas-offer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 60%) minmax(200px, 1fr);
  gap: 1.1rem 1.25rem;
  align-items: center;
  padding: 1rem 1.1rem;
  background: var(--tri-gold-soft);
  border: 2px solid var(--tri-gold);
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
}
.xmas-offer-inner:hover, .xmas-offer-inner:focus-visible {
  border-color: var(--tri-gold-dark);
}
.xmas-offer-inner:focus-visible { outline: 3px solid var(--tri-gold-dark); outline-offset: 3px; }
.xmas-offer-media { display: block; min-width: 0; }
.xmas-offer-media picture { display: block; }
.xmas-offer-media img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; object-position: center; }
.xmas-offer-copy { min-width: 0; }
.xmas-offer-kicker {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.15rem 0.5rem;
  background: var(--tri-gold);
  color: #1a1a1a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.xmas-offer-title { margin: 0 0 0.35rem; font-size: clamp(1.2rem, 1.7vw, 1.7rem); line-height: 1.25; font-weight: 600; }
.xmas-offer-price { margin: 0 0 0.4rem; font-size: clamp(1.45rem, 2.1vw, 1.9rem); font-weight: 700; color: var(--tri-darker); line-height: 1.2; }
.xmas-offer-lead { margin: 0 0 0.75rem; font-size: 0.98rem; line-height: 1.5; color: var(--tri-dark); }
.xmas-offer-cta {
  display: inline-block;
  padding: 0.55rem 1.05rem;
  background: var(--tri-gold);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
}
.xmas-offer-inner:hover .xmas-offer-cta, .xmas-offer-inner:focus-visible .xmas-offer-cta { background: var(--tri-gold-dark); color: #fff; }
@media (max-width: 760px) {
  .xmas-offer { margin: 0 0 1rem; }
  .xmas-offer-inner { grid-template-columns: 1fr; gap: 0.85rem; padding: 0.9rem 0.85rem; }
  .xmas-offer-media img { max-height: none; }
  .xmas-offer-title { font-size: 1.4rem; }
  .xmas-offer-price { font-size: 1.55rem; }
  .xmas-offer-lead { font-size: 1.02rem; margin-bottom: 0.7rem; }
  .xmas-offer-cta { font-size: 1.02rem; width: 100%; text-align: center; box-sizing: border-box; }
}
