/*
  Tempo theme (Online mağaza → Temalar): streetwear, bags and accessories. Loaded only while a Tempo theme is published or previewed.
  Colours and fonts come from the theme settings (Roboto Condensed, black and white, red discounts, blue "Hemen satın al"); this file
  adds the header with the centred menu, product cut-outs on light grey, the card with its rating and red discount line, the
  campaign ticker, the theme's own sections and its category and product pages.
*/
:root { --gap: 22px; }

/* ---------- type & buttons ----------
   Corners follow the theme settings: buttons and boxes var(--radius) (6px), photos and cards var(--radius-card) (0). A component whose own
   default differs keeps it with var(--sec-radius, <its own>), so a section's Görünüm (sections.js → look) still reaches it. */
h1, h2, h3 { font-weight: 700; letter-spacing: -.005em; }
.tp-title, .section-head h2 { margin: 0 0 20px; font-size: 24px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.tp-title-lg { font-size: 30px; font-weight: 700; }
.section-head { margin-bottom: 18px; }
.section-head .eyebrow { font-size: 12px; letter-spacing: .12em; }
.section-link { font-size: 14px; font-weight: 600; }
.btn { font-weight: 700; letter-spacing: .08em; }
.sec { padding: 44px 0; }
.sec.bg-default:not(.full) + .sec.bg-default:not(.full) { padding-top: 12px; }

/* ---------- header: logo left, menu centred, icons right ---------- */
.announcement { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.tp-header { border-bottom: 1px solid var(--c-border); }
.tp-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; height: 68px; }
.tp-header .hdr-burger { display: none; }
.tp-header .logo { justify-self: start; }
.tp-header .logo-text { font-size: 26px; font-weight: 700; letter-spacing: -.01em; text-transform: none; }
.tp-left .tp-bar { grid-template-columns: auto minmax(0, 1fr) auto; }
.tp-left .tp-nav ul { justify-content: flex-start; }
.tp-nav { border-top: 0; height: 100%; }
.tp-nav ul { height: 100%; flex-wrap: nowrap; gap: 2px; }
.tp-nav li { display: flex; align-items: stretch; }
.tp-nav li > a { padding: 0 11px; align-items: center; gap: 3px; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.tp-nav li > a > .icon { width: 12px; height: 12px; opacity: .6; }
.tp-nav li > a::after { left: 11px; right: 11px; bottom: 18px; height: 2px; }
.tp-nav a.hl { color: var(--c-sale); font-weight: 600; }
.tp-header .mega { border-top: 1px solid var(--c-border); }
.tp-header .mega-col .mega-title { font-weight: 700; }
.tp-actions { justify-self: end; display: flex; align-items: center; gap: 6px; }
.tp-icon { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; color: inherit; }
.tp-icon:hover { opacity: .65; }
.tp-count { position: absolute; top: 2px; right: 0; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--c-sale);
  color: #fff; font-size: 10px; font-weight: 700; line-height: 1; }
.tp-count[hidden] { display: none; }

/* ---------- product cards: cut-outs on light grey, rating beside the name, red discount line and price ---------- */
.pc-media { border-radius: var(--radius-card); background: var(--c-surface); }
.pc-badges { top: 12px; left: 12px; gap: 5px; }
.pc-badge { border-radius: 4px; box-shadow: none; padding: 4px 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.pc-badge.campaign { background: var(--c-sale); }
.pc-badge.new { background: #111; }
body.tp-disc .pc-badge.sale { display: none; }
.pc-fav { display: none; }
body.tp-heart .pc-fav { display: grid; background: #fff; box-shadow: none; width: 32px; height: 32px; }
.pc-quick { border-radius: var(--radius); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; }
.pc-body { grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 3px; padding: 10px 2px 0; }
.pc-body > * { grid-column: 1 / -1; }
.pc-body > .pc-title { grid-column: 1; grid-row: 1; }
.pc-body > .stars { display: none; }
body.tp-rating .pc-body > .stars { display: inline-flex; grid-column: 2; grid-row: 1; align-self: start; align-items: center; gap: 2px; }
.pc-body .stars .star:not(:first-child), .pc-body .stars-count { display: none; }
.pc-body .stars::after { content: attr(data-rating); margin-left: 3px; font-size: 13px; font-weight: 700; color: var(--c-text); }
.stars .star.on, .stars .star.half { color: #f5a623; }
.pc-body > .pc-brand { display: none; }
.pc-title { font-size: 13.5px; font-weight: 400; line-height: 1.35; }
.pc-title:hover { text-decoration: none; opacity: .75; }
.product-card .price { gap: 2px 8px; margin-top: 4px; }
.product-card .price-values { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 8px; }
.product-card .price strong { font-size: 16.5px; font-weight: 700; }
.product-card .price del { font-size: 12.5px; color: #9ca3af; }
body.tp-disc .product-card .price-off { display: flex; flex-basis: 100%; align-items: center; gap: 5px; height: auto; min-width: 0; padding: 0; border-radius: 0; background: none;
  color: var(--c-sale); font-size: 12.5px; font-weight: 700; }
body.tp-disc .product-card .price-off::before { content: '%'; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: var(--c-sale); color: #fff; font-size: 8.5px; }
body.tp-disc .product-card .price-off::after { content: ' İndirim'; }
body:not(.tp-disc) .product-card .price strong.is-sale { color: inherit; }
.carousel-btn { width: 44px; height: 44px; border: 0; box-shadow: 0 2px 12px rgba(0, 0, 0, .14); }
/* Product strips with a title: the arrows sit at the top right, beside the title. */
.sec-product_grid .container:has(> .section-head) .carousel-btn { top: -62px; }
.sec-product_grid .container:has(> .section-head) .carousel-btn.prev { left: auto; right: 54px; }
.sec-product_grid .container:has(> .section-head) .carousel-btn.next { right: 0; }
.sec-product_grid .container:has(> .section-head) .carousel-btn:disabled { opacity: .35; }
.sec-product_grid .container:has(> .section-head):has(.carousel) .section-head { padding-right: 112px; }

/* ---------- opening slides & core sections in Tempo's voice ---------- */
.sec-slider .slider.h-lg { height: clamp(380px, 45.5vw, 760px); }
.sec-slider .slide:not(:has(.slide-text > *))::before { display: none; }
.sec-slider .slide-text h1, .sec-slider .slide-text h2 { font-size: clamp(30px, min(4.4vw, 9vh), 64px); font-weight: 800; line-height: 1; text-transform: uppercase; }
.sec-slider .slide-text .btn { border-radius: var(--radius); min-height: 48px; }
.sec-slider .slide .eyebrow { color: inherit; opacity: .8; }
.sec-slider .slider-dots button { width: 8px; height: 8px; background: rgba(0, 0, 0, .25); box-shadow: none; }
.sec-slider .slider-dots button.active { width: 22px; background: #111; }
.sec-benefits { background: var(--c-surface); padding: 52px 0; }
.sec-benefits .benefits { gap: 32px; }
.sec-benefits .benefit { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.sec-benefits .benefit .icon { width: 44px; height: 44px; color: var(--c-text); stroke-width: 1.5; }
.sec-benefits .benefit h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.sec-benefits .benefit p { font-size: 14px; }
.sec-benefits + .site-footer, .sec-benefits:last-child { margin-bottom: 0; }
.sec-collapsible_text .container { max-width: 900px; }
.sec-collapsible_text h2 { font-size: 22px; }

/* ---------- campaign ticker ---------- */
.sec-tempo_ticker.full { padding: 0; }
.tp-ticker { padding: 10px 0; background: var(--tp-bg); color: var(--tp-fg); font-size: 17px; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; }
.tp-ticker .marquee-group > * { padding: 0 34px; }
.tp-ticker .marquee-group > *::after { content: none; }

/* ---------- big photo + products, promo card + strip ---------- */
/* The products sit level with the middle of the photo, so fewer than four do not leave a half-empty 2×2 beside it. */
.tp-show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.tp-show.side-right .tp-show-img { order: 2; }
.tp-show-img, .tp-promo { position: relative; display: block; width: 100%; overflow: hidden; border-radius: var(--radius-card); background: var(--c-surface); }
.tp-show-img { aspect-ratio: 684/846; }
.tp-show-img > img, .tp-show-img > .sprite, .tp-promo > img, .tp-promo > .sprite { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
a.tp-show-img:hover > img, a.tp-promo:hover > img { transform: scale(1.02); }
.tp-show-products .product-grid { --cols: 2 !important; gap: 34px 20px; }
.tp-show-products .product-grid:has(> :only-child) { --cols: 1 !important; width: min(100%, 340px); margin-inline: auto; }
.tp-overlay { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 12%; display: grid; justify-items: center; gap: 6px; text-align: center; text-shadow: 0 1px 8px rgba(0, 0, 0, .25); }
.tp-overlay strong { font-family: 'Arial', var(--font-heading), sans-serif; font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; letter-spacing: .01em; }
.tp-overlay span { font-family: 'Arial', var(--font-heading), sans-serif; font-size: clamp(16px, 1.4vw, 20px); }
.tp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr); gap: 24px; align-items: stretch; }
.tp-row.side-right .tp-promo { order: 2; }
/* The promo card fills its column and the row's height, and is at least 407:544 tall. The ratio is a padding, not
   aspect-ratio: with aspect-ratio and min-height: 100%, Safari takes the card's width from the row's height and the card
   runs under the products beside it. */
.tp-promo { min-height: 100%; }
.tp-promo::before { content: ''; display: block; padding-top: calc(544 / 407 * 100%); }
.tp-row-products { min-width: 0; }
.tp-row-products .carousel-btn.prev { left: -14px; } .tp-row-products .carousel-btn.next { right: -14px; }

/* ---------- reviews strip ---------- */
.tp-reviews .tp-title { margin-bottom: 6px; }
.tp-rev-summary { display: flex; align-items: center; gap: 6px; min-height: 20px; margin-bottom: 22px; font-size: 13px; color: var(--c-muted); }
.tp-rev-summary strong { color: var(--c-text); font-size: 13px; }
.tp-reviews .carousel { --gap: 10px; }
.tp-rev { display: flex; flex-direction: column; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; background: var(--c-bg); }
.tp-rev-img { position: relative; display: block; aspect-ratio: 1; background: var(--c-surface); }
.tp-rev-img > img, .tp-rev-img > .sprite, .tp-rev-img > .img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-rev-score { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 4px; background: #fff; font-size: 12px; font-weight: 700; }
.tp-rev-score .icon { color: #f5a623; fill: currentColor; }
.tp-rev-body { display: grid; gap: 8px; padding: 14px 16px 16px; align-content: start; flex: 1; }
.tp-rev-who { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--c-muted); }
.tp-rev-who .stars { margin-left: auto; }
.tp-rev-who .stars .star:not(:first-child) { display: none; }
.tp-rev-who .stars::after { content: attr(data-rating); margin-left: 3px; font-weight: 700; color: var(--c-text); }
.tp-avatar { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-surface); color: var(--c-text); font-size: 11px; font-weight: 700; }
.tp-rev h3 { margin: 4px 0 0; font-size: 14px; font-weight: 700; }
.tp-rev p { margin: 0; color: var(--c-muted); font-size: 13px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tp-rev-product { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 9px 12px; border-radius: 4px; background: var(--c-surface);
  font-size: 12px; font-weight: 600; color: var(--c-muted); }
.tp-rev-product span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-rev-product:hover { color: var(--c-text); }
.tp-rev-empty { margin: 0; padding: 28px; border: 1px dashed var(--c-border); border-radius: var(--radius); color: var(--c-muted); text-align: center; }

/* ---------- category cards ---------- */
.tp-cats { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--n) - 1) * 24px) / var(--n)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tp-cats::-webkit-scrollbar { display: none; }
.tp-cat { display: grid; justify-items: center; gap: 4px; padding: 18px 12px 26px; border-radius: var(--radius-card); background: var(--c-surface); scroll-snap-align: start; transition: background .2s; }
.tp-cat:hover { background: #ececec; }
.tp-cat-img { position: relative; display: block; width: 78%; aspect-ratio: 1; }
.tp-cat-img > img, .tp-cat-img > .sprite { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tp-cat-name { font-size: 17px; font-weight: 500; text-align: center; }

/* ---------- product family spotlight ---------- */
.tp-spot { padding: 0 44px; }
.tp-spot-box { position: relative; min-height: 420px; border-radius: var(--radius-card); background: var(--spot-bg, #ececec); }
.tp-spot-box.skeleton { background: var(--c-surface); }
.tp-spot-slide { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: 420px; padding: 32px 90px 32px 32px; }
.tp-spot-slide.active { display: grid; animation: tp-fade .45s var(--ease); }
@keyframes tp-fade { from { opacity: 0; } }
.tp-spot-img { position: relative; display: block; width: min(100%, 360px); aspect-ratio: 1; justify-self: center; }
.tp-spot-img > img, .tp-spot-img > .sprite { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tp-spot-text { display: grid; justify-items: start; gap: 6px; }
.tp-spot-text h2 { margin: 0; font-size: clamp(30px, 3.2vw, 46px); font-weight: 800; line-height: 1.05; }
.tp-spot-eyebrow { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #8a8f98; }
.tp-spot-line { display: block; width: 36px; height: 2px; margin: 26px 0 12px; background: var(--spot-line, #e8833a); }
.tp-spot-price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.tp-spot-price strong { font-size: 26px; font-weight: 700; }
.tp-spot-price del { color: var(--c-muted); }
.tp-spot-price .star.on, .tp-spot-price .star.half { color: var(--spot-line, #e8833a); }
.tp-spot-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-width: 230px; height: 46px; margin-top: 14px; padding: 0 22px; border-radius: var(--sec-radius, 2px); background: var(--spot-btn, #23262d); color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.tp-spot-btn:hover { filter: brightness(.85); }
.tp-spot-count { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; font-size: 13px; font-weight: 700; text-align: center; }
.tp-spot-count b { padding-bottom: 8px; border-bottom: 1px solid currentColor; }
.tp-spot-count span { color: #9ca3af; }
.tp-spot-arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -18px; color: var(--c-text); }
.tp-spot-arrow.prev { left: -44px; } .tp-spot-arrow.next { right: -44px; }
.tp-spot-thumbs { display: flex; justify-content: flex-end; gap: 22px; padding: 18px 90px 0; }
.tp-spot-thumbs button { position: relative; width: 64px; height: 64px; overflow: hidden; border-radius: var(--radius-card); opacity: .55; transition: opacity .2s; }
.tp-spot-thumbs button.active, .tp-spot-thumbs button:hover { opacity: 1; }
.tp-spot-thumbs button > img, .tp-spot-thumbs button > .sprite { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* ---------- category page ---------- */
.sec-tempo_category_header.full { padding: 30px 0 0; }
.tp-cat-head { display: grid; gap: 12px; }
.tp-cat-head .breadcrumbs { font-size: 12.5px; }
.tp-cat-head h1 { margin: 0; font-size: 24px; font-weight: 500; }
.tp-subnav { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-subnav a { padding: 7px 14px; border: 1px solid var(--c-border); border-radius: var(--sec-radius, 99px); font-size: 13.5px; font-weight: 500; }
.tp-subnav a:hover { border-color: var(--c-text); }
.tp-cat-banner { position: relative; aspect-ratio: 21/6; overflow: hidden; border-radius: var(--radius-card); background: var(--c-surface); }
.tp-cat-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sec-tempo_listing.full { padding: 10px 0 48px; }
.tp-list-bar { display: flex; align-items: center; gap: 22px; padding: 10px 0 24px; }
.tp-link { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; color: inherit; font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.tp-link:hover { opacity: .65; }
.tp-filter-btn .icon { width: 15px; height: 15px; }
.tp-list-count { color: var(--c-muted); font-size: 13.5px; }
.tp-sort { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; }
.tp-sort .select { width: auto; min-width: 0; height: auto; min-height: 0; padding: 4px 26px 4px 0; border: 0; background-color: transparent; background-position: right 2px center; font-size: 13.5px; font-weight: 600; }
.tp-listing .product-grid { gap: 40px 6px; }
.tp-more-btn { min-width: 210px; height: 42px; padding: 0 24px; border: 1px solid var(--c-text); border-radius: var(--sec-radius, 0); background: var(--c-bg); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tp-more-btn:hover { background: var(--c-text); color: var(--c-bg); }
.filters-drawer .filters .filter-group summary { font-weight: 700; text-transform: uppercase; font-size: 13.5px; }

/* ---------- product page ---------- */
.sec-tempo_product.full { padding: 0 0 20px; }
.tp-pd { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 18px clamp(24px, 4vw, 56px); align-items: start; padding-top: 18px; padding-bottom: 40px; }
.tp-pd > .breadcrumbs { grid-column: 1 / -1; font-size: 12.5px; }
.tp-pd > .breadcrumbs .icon { width: 11px; height: 11px; }
.tp-pd-media .gallery { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; top: calc(var(--hdr-h, 0px) + 16px); }
.tp-pd-media .gallery-thumbs { gap: 10px; max-height: none; }
.tp-pd-media .gallery-thumbs button { aspect-ratio: 1; border-radius: var(--radius-card); border: 1px solid transparent; }
.tp-pd-media .gallery-thumbs button.active { border-color: var(--c-text); }
.tp-pd-media .gallery-main { aspect-ratio: 1; border-radius: var(--radius-card); }
.tp-pd-media .gallery-main .pc-badges .pc-badge.sale { display: none; }
.tp-pd-info { display: grid; gap: 14px; padding-top: 4px; }
.tp-pd-title { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.25; }
.tp-pd .pd-meta { margin-top: -6px; font-size: 13px; }
.tp-pd .pd-meta a { text-decoration: none; color: var(--c-muted); }
.tp-pd [data-price] { padding-bottom: 16px; border-bottom: 1px solid var(--c-border); }
.tp-pd [data-price] .price { align-items: center; gap: 10px; }
.tp-pd [data-price] .price-values { display: contents; }
.tp-pd [data-price] .price del { order: 0; font-size: 14px; }
.tp-pd [data-price] .price-off { order: 1; display: inline-flex; align-items: center; height: auto; min-width: 0; padding: 3px 7px; white-space: nowrap; border-radius: 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.tp-pd [data-price] .price-off::after { content: ' İNDİRİM'; }
.tp-pd [data-price] .price strong { order: 2; font-size: 24px; font-weight: 800; color: var(--c-text); }
.tp-pd [data-options] { display: grid; gap: 18px; }
.tp-pd .opt-group { gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--c-border); }
.tp-pd .opt-label { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.tp-pd .opt-label span { color: var(--c-text); }
.tp-pd .opt-guide { margin-left: auto; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--c-text); text-decoration: underline; text-underline-offset: 3px; }
.tp-pd .opt-guide .icon { display: none; }
.tp-pd .opt-values { gap: 10px; }
/* Colour cards: the colour's photo with its name below. */
.tp-pd .opt-swatch { width: 76px; height: 76px; margin-bottom: 22px; border-radius: var(--radius); border: 1px solid var(--c-border); background-size: cover; background-position: center; }
.tp-pd .opt-swatch:not(.opt-photo) { width: 46px; height: 46px; border-radius: 50%; }
.tp-pd .opt-swatch::after { content: attr(aria-label); position: absolute; left: -8px; right: -8px; top: calc(100% + 6px); bottom: auto; width: auto; height: auto; background: none; transform: none;
  font-size: 12px; color: var(--c-muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-pd .opt-swatch.unavailable::after { text-decoration: line-through; }
.tp-pd .opt-swatch.unavailable::before { content: ''; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: rgba(0, 0, 0, .35); transform: rotate(45deg); }
.tp-pd .opt-swatch.selected { box-shadow: 0 0 0 2px var(--c-text); border-color: transparent; }
.tp-pd .opt-swatch.selected::after { color: var(--c-text); }
.tp-pd .opt-btn { min-width: 64px; height: 44px; border-radius: var(--radius); font-size: 13px; font-weight: 700; }
.tp-pd .opt-btn.selected { background: #111; border-color: #111; color: #fff; box-shadow: none; }
.tp-pd .pd-buy .btn-primary { height: 52px; min-height: 52px; border-radius: var(--radius); font-size: 13.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tp-pd [data-add-cart] .icon { display: none; }
.tp-pd .pd-buy .icon-btn { width: 52px; height: 52px; border-radius: var(--radius); }
.tp-pd [data-buy-now] { height: 56px; border: 0; border-radius: var(--radius); background: var(--c-accent); color: #fff; font-size: 19px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.tp-pd [data-buy-now]:hover:not(:disabled) { background: var(--c-accent); filter: brightness(1.1); }
.tp-no-qty .pd-buy .qty { display: none; }
.tp-no-buynow [data-buy-now] { display: none; }
.tp-buy-note { margin: -6px 0 0; text-align: center; font-size: 13px; font-weight: 500; color: var(--c-muted); }
.tp-pd .pd-tabs summary { font-size: 15px; font-weight: 600; }
.tp-pd .pd-tabs .tab-body { font-size: 13.5px; line-height: 1.75; color: #4b5563; }
.tp-pd .pd-perks { border-radius: var(--radius); background: var(--c-surface); border: 0; }
/* Reviews in rounded cards under the product (the store's review block). */
.sec-product_reviews .review-summary, .sec-tempo_product .review-summary, .review-summary { border-radius: 12px; }

/* ---------- footer ---------- */
.tp-footer { margin-top: 0; border-top: 1px solid var(--c-border); font-size: 14px; }
.tp-foot { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 48px; padding-top: 52px; padding-bottom: 44px; }
.tp-foot-main { display: grid; gap: 20px; align-content: start; justify-items: start; }
.tp-footer .logo-text { font-size: 24px; font-weight: 700; text-transform: none; letter-spacing: -.01em; }
.tp-news { display: grid; gap: 14px; width: 100%; }
.tp-news label { font-size: 15px; }
.tp-news-row { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid currentColor; }
.tp-news-row input { flex: 1; min-width: 0; padding: 12px 0; border: 0; background: transparent; color: inherit; font-size: 15px; outline: none; }
.tp-news-row input::placeholder { color: inherit; opacity: .55; }
.tp-round { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 6px; border: 1px solid currentColor; border-radius: 50%; color: inherit; opacity: .7; }
.tp-round:hover { opacity: 1; }
.tp-news .news-consent { font-size: 12px; color: var(--c-muted); opacity: 1; }
body:has(.sec-newsletter) .tp-news { display: none; }
.tp-foot-text { margin: 0; color: var(--c-muted); font-size: 13px; line-height: 1.6; }
.tp-contact { display: grid; gap: 6px; font-size: 13px; }
.tp-contact:empty { display: none; }
.tp-contact a, .tp-contact span { display: flex; align-items: center; gap: 8px; }
.tp-footer .social { margin: 0; gap: 14px; }
.tp-footer .social a { width: auto; height: auto; border: 0; border-radius: 0; }
.tp-cols { display: flex; justify-content: flex-end; gap: 48px; flex-wrap: wrap; }
.tp-col { display: grid; gap: 12px; align-content: start; min-width: 110px; }
.tp-col h4 { margin: 0 0 4px; font-size: 14.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.tp-col a { font-size: 13.5px; }
.tp-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tp-bottom { background: #000; color: #d4d4d8; }
.tp-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 36px; padding-top: 6px; padding-bottom: 6px; font-size: 11.5px; }
.tp-bottom .pay-img { height: 22px; }

/* ---------- tablets and phones ---------- */
@media (max-width: 1100px) {
  .tp-nav li > a { padding: 0 8px; font-size: 13.5px; }
  .tp-cats { --n: 4 !important; }
  .tp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .tp-spot-slide { padding-right: 70px; }
}
@media (max-width: 900px) {
  .tp-bar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); height: 58px; gap: 6px; }
  .tp-header .hdr-burger { display: inline-grid; justify-self: start; margin-left: -8px; }
  .tp-header .logo { justify-self: center; }
  .tp-left .tp-bar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .tp-hide-s { display: none; }
  .tp-icon { width: 36px; height: 36px; }
  .tp-show { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .tp-show.side-right .tp-show-img { order: 0; }
  .tp-show-img { aspect-ratio: 1; }
  .tp-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .tp-promo::before { padding-top: 125%; }
  .tp-row-products .carousel { --cols: 2 !important; }
  .tp-reviews .carousel { --cols: 2 !important; }
  .tp-pd { grid-template-columns: minmax(0, 1fr); }
  .tp-pd-media { margin: 0 -16px; }
  .tp-pd-media .gallery { grid-template-columns: minmax(0, 1fr); position: static; }
  .tp-spot { padding: 0; }
  .tp-spot-slide { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 48px 20px 28px; text-align: left; }
  .tp-spot-img { width: min(70%, 260px); }
  .tp-spot-count { top: 18px; right: 18px; transform: none; grid-auto-flow: column; gap: 6px; }
  .tp-spot-count b { padding: 0 6px 0 0; border-bottom: 0; border-right: 1px solid currentColor; }
  .tp-spot-arrow { top: 160px; }
  .tp-spot-arrow.prev { left: 4px; } .tp-spot-arrow.next { right: 4px; }
  .tp-spot-thumbs { justify-content: center; padding: 14px 0 0; }
  .tp-foot { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .tp-cols { justify-content: flex-start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
}
@media (max-width: 640px) {
  :root { --gap: 10px; }
  .sec { padding: 32px 0; }
  .tp-title, .section-head h2 { font-size: 20px; margin-bottom: 14px; }
  .tp-title-lg { font-size: 24px; }
  .tp-ticker { font-size: 14px; padding: 8px 0; }
  .sec-slider .slider.h-lg { height: min(460px, 100vw); }
  .tp-show-products .product-grid { gap: 24px 10px; }
  .tp-cats { grid-auto-columns: 42%; gap: 10px; }
  .tp-cat-name { font-size: 15px; }
  .tp-listing .product-grid { gap: 26px 6px; }
  .tp-list-bar { gap: 12px; padding-bottom: 16px; }
  .tp-sort > span { display: none; }
  .tp-pd .opt-swatch.opt-photo { width: 64px; height: 64px; }
  .sec-product_grid .container:has(> .section-head) .carousel-btn { display: none; }
  .sec-product_grid .container:has(> .section-head):has(.carousel) .section-head { padding-right: 0; }
  .tp-spot-text h2 { font-size: 28px; }
  .tp-spot-btn { min-width: 0; width: 100%; }
  .sec-benefits .benefits { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}
@media (prefers-reduced-motion: reduce) { .tp-show-img > img, .tp-promo > img { transition: none; } .tp-spot-slide.active { animation: none; } }
