﻿/* ==========================================================================
   House of Serene — Kalles "Product Simple" skin
   Used by Views/Product/Detail.cshtml (scoped under .lk-pdp / .lk-pdp-*) and by
   Views/Shared/_QuickView.cshtml (scoped under #quickViewModal). Loaded after the
   inline <style> blocks, so it only restyles — every id/class the scripts use is
   untouched in the markup.
   ========================================================================== */

/* ── Breadcrumb (Kalles: plain row, small grey, chevron separators) ─────────── */
.lk-pdp-crumbs { background: #fff; border-bottom: 0; padding: 20px 0 0; }
.lk-pdp-crumbs .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lk-pdp-crumbs .breadcrumb { flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--light); min-width: 0; }
.lk-pdp-crumbs .breadcrumb a { color: var(--dark); transition: color .2s; }
.lk-pdp-crumbs .breadcrumb a:hover { color: var(--accent); }
.lk-pdp-crumbs .breadcrumb > span:not(:last-child) { font-size: 0; width: 6px; height: 6px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg); display: inline-block; margin: 0 2px; }
.lk-pdp-crumbs .breadcrumb > span:last-child { color: var(--light); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }

/* ── Layout ─────────────────────────────────────────────────────────────────── */
.lk-pdp .product-layout { gap: 50px; padding: 30px 0 50px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lk-pdp .product-info { gap: 18px; }

/* ── Media ──────────────────────────────────────────────────────────────────── */
.lk-pdp .gallery-main { border-radius: 0; background: #f6f6f8; }
.lk-pdp .gallery-thumbs { gap: 10px; }
.lk-pdp .gallery-thumb { width: 80px; height: 100px; border: 1px solid transparent; border-radius: 0; opacity: .6; transition: opacity .2s, border-color .2s; background: #f6f6f8; }
.lk-pdp .gallery-thumb img { object-fit: cover; }
.lk-pdp .gallery-thumb.active, .lk-pdp .gallery-thumb:hover { opacity: 1; border-color: var(--dark); }
.lk-pdp .gallery-badge .badge-sale { background: var(--red); color: #fff; border-radius: 50%; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.lk-pdp .gal-arrow, .lk-pdp .gal-zoom { background: #fff; color: var(--dark); border: 0; box-shadow: 0 0 5px rgba(0,0,0,.12); transition: background .2s, color .2s; }
.lk-pdp .gal-arrow:hover, .lk-pdp .gal-zoom:hover { background: var(--dark); color: #fff; }

/* ── Title / rating / price ─────────────────────────────────────────────────── */
.lk-pdp .product-title { font-family: var(--font-sans); font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--dark); margin: 0; }
.lk-pdp .pdp-label { display: inline-block; background: var(--red); color: #fff; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 20px; margin-bottom: 8px; }
.lk-pdp .product-stars { color: #fcc419; font-size: 14px; }
.lk-pdp .product-review-link { color: var(--mid); font-size: 13px; }
.lk-pdp .product-price { gap: 10px; align-items: center; }
.lk-pdp .product-price-current { font-family: var(--font-sans); font-size: 22px; font-weight: 400; color: var(--dark); }
.lk-pdp .product-price-original:not([style*="none"]) ~ .product-price-current { color: var(--red); }
.lk-pdp .product-price-original { font-size: 18px; color: var(--light); }
.lk-pdp .product-price-save { background: var(--red); color: #fff; border-radius: 20px; font-size: 12px; font-weight: 600; padding: 2px 10px; }
.lk-pdp .pdp-shortdesc { color: var(--mid); font-size: 14px; line-height: 1.7; margin: 0; }

/* ── Swatches (Kalles circles + rectangle sizes) ────────────────────────────── */
.lk-pdp .swatch-section h3, #quickViewModal .quick-view-section h4, #quickViewModal .quick-view-section h3 { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--dark); margin-bottom: 10px; }
.lk-pdp .swatch-btn, #quickViewModal .swatch-btn { width: 30px; height: 30px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lk-pdp .swatch-btn.active, #quickViewModal .swatch-btn.active { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--dark); }
.lk-pdp .swatch-btn .swatch-check, #quickViewModal .swatch-btn .swatch-check { display: none; }
.lk-pdp .swatch-btn.disabled, #quickViewModal .swatch-btn.disabled { opacity: .45; }
.lk-pdp .swatch-btn.disabled::after, #quickViewModal .swatch-btn[disabled]::after {
  content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--dark); transform: rotate(45deg); pointer-events: none;
}
.lk-pdp .size-pill, #quickViewModal .size-pill {
  position: relative; min-width: 46px; height: 40px; padding: 0 14px; border: 1px solid #ddd; border-radius: 0;
  background: #fff; color: var(--dark); font-size: 13px; font-weight: 400; text-decoration: none; overflow: hidden;
}
.lk-pdp .size-pill:hover:not(.disabled):not(.active), #quickViewModal .size-pill:hover:not(.disabled):not(.active) { border-color: var(--dark); }
.lk-pdp .size-pill.active, #quickViewModal .size-pill.active { background: #fff; color: var(--dark); border-color: var(--dark); box-shadow: inset 0 0 0 1px var(--dark); }
.lk-pdp .size-pill.disabled, #quickViewModal .size-pill.disabled { opacity: .5; text-decoration: none; }
/* Kalles sold-out size: diagonal strike across the rectangle */
.lk-pdp .size-pill.disabled::after, #quickViewModal .size-pill.disabled::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top left, transparent calc(50% - .5px), #999 calc(50% - .5px), #999 calc(50% + .5px), transparent calc(50% + .5px));
  pointer-events: none;
}

/* ── Quantity + Add to cart + wishlist ──────────────────────────────────────── */
.lk-pdp .qty-wrap, #quickViewModal .qty-wrap { border: 1px solid #ddd; border-radius: 40px; height: 44px; background: #fff; }
.lk-pdp .qty-btn, #quickViewModal .qty-btn { background: none; height: 42px; width: 40px; color: var(--dark); }
.lk-pdp .qty-btn:hover, #quickViewModal .qty-btn:hover { background: none; color: var(--accent); }
.lk-pdp .qty-input, #quickViewModal .qty-input { border: 0; background: none; text-align: center; font-size: 14px; -moz-appearance: textfield; }
.lk-pdp .qty-input::-webkit-outer-spin-button, .lk-pdp .qty-input::-webkit-inner-spin-button,
#quickViewModal .qty-input::-webkit-outer-spin-button, #quickViewModal .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lk-pdp #addToCartBtn, #quickViewModal #quickViewAddToCart { height: 44px; border-radius: 40px; font-size: 14px; font-weight: 600; background: var(--dark); border-color: var(--dark); color: #fff; }
.lk-pdp #addToCartBtn:hover:not(:disabled), #quickViewModal #quickViewAddToCart:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); }
.lk-pdp #addToCartBtn:disabled { background: #999; border-color: #999; cursor: not-allowed; }
.lk-pdp .wishlist-btn { width: 44px; min-width: 44px; height: 44px; border-radius: 50% !important; }
.lk-pdp .qty-note { font-size: 12px; color: var(--light); }

/* ── Links row / delivery / meta / safe checkout ────────────────────────────── */
.lk-pdp .pdp-links { gap: 24px; }
.lk-pdp .pdp-link { font-size: 13px; font-weight: 500; color: var(--dark); }
.lk-pdp .pdp-link:hover { color: var(--accent); }
.lk-pdp .pdp-delivery { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 13px; color: var(--mid); }
.lk-pdp .pdp-delivery a { color: var(--dark); text-decoration: underline; text-underline-offset: 2px; }
.lk-pdp .product-meta { gap: 6px; border-top: 1px solid var(--bg-warm); padding-top: 18px; }
.lk-pdp .meta-row { font-size: 13px; }
.lk-pdp .meta-label { font-weight: 500; min-width: 0; color: var(--dark); }
.lk-pdp .meta-val { color: var(--mid); }
.lk-pdp .meta-val a:hover { color: var(--accent); }
.lk-pdp .pdp-safe { border: 1px solid var(--bg-warm); border-radius: 0; padding: 14px 16px 16px; text-align: center; }
.lk-pdp .pdp-safe legend { font-size: 13px; font-weight: 500; padding: 0 10px; color: var(--dark); }

/* ── Tabs (Kalles: centred text tabs with underline) ────────────────────────── */
.lk-pdp-tabs { border-top: 1px solid var(--bg-warm); padding-top: 50px; }
.lk-pdp-tabs .tab-nav { justify-content: center; gap: 30px; border-bottom: 0; margin-bottom: 30px; }
.lk-pdp-tabs .tab-btn,
.lk-pdp-tabs .tab-btn:hover { background: none; border-radius: 0; padding: 6px 0; font-size: 16px; font-weight: 500; color: var(--light); border-bottom: 2px solid transparent; }
.lk-pdp-tabs .tab-btn.active { background: none; color: var(--dark); border-bottom-color: var(--dark); }
.lk-pdp-tabs .tab-content { margin: 0 auto; max-width: 1000px; color: var(--mid); font-size: 14px; }
.lk-pdp-tabs .spec-table { width: 100%; border-collapse: collapse; }
.lk-pdp-tabs .spec-table td { border: 1px solid var(--bg-warm); padding: 10px 14px; }
.lk-pdp-tabs .spec-table td:first-child { font-weight: 500; color: var(--dark); width: 30%; }
.lk-pdp-tabs .write-review input, .lk-pdp-tabs .write-review textarea { border: 1px solid #ddd; border-radius: 0; padding: 10px 14px; font-size: 14px; }
.lk-pdp-tabs .write-review .btn { border-radius: 40px; }

/* ── Related / FBT / recently viewed (Kalles section heading) ───────────────── */
.lk-pdp-related { background: #fff; padding: 50px 0 20px; }
.lk-pdp-related .section-header { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 30px; }
.lk-pdp-related .section-title { font-family: var(--font-sans); font-size: 24px; font-weight: 600; text-transform: uppercase; letter-spacing: 0; position: relative; padding: 0 0 12px; }
.lk-pdp-related .section-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 60px; height: 2px; background: var(--dark); transform: translateX(-50%); }
.lk-pdp-related .section-subtitle { font-family: var(--font-accent); font-style: italic; color: var(--light); margin-top: 8px; }
.lk-pdp-related .products-grid.lk-grid { display: grid; }

/* ── Sticky add-to-cart (Kalles bar — desktop too) ──────────────────────────── */
.sticky-atc-bar.hdt-sticky-atc .sab-product { display: none; }
@media (min-width: 769px) {
  .sticky-atc-bar.hdt-sticky-atc {
    display: flex; align-items: center; gap: 20px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.1);
    padding: 10px max(20px, calc((100vw - 1200px) / 2));
    transform: translateY(100%); transition: transform .25s ease; pointer-events: none;
  }
  .sticky-atc-bar.hdt-sticky-atc.visible { transform: translateY(0); pointer-events: auto; }
  .sticky-atc-bar.hdt-sticky-atc .sab-product { display: flex; align-items: center; gap: 15px; flex: 1; min-width: 0; }
  .sticky-atc-bar.hdt-sticky-atc .sab-thumb { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
  .sticky-atc-bar.hdt-sticky-atc .sab-title { font-size: 14px; font-weight: 500; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-atc-bar.hdt-sticky-atc .sab-price-now { font-size: 16px; color: var(--dark); }
  .sticky-atc-bar.hdt-sticky-atc .sab-price-unit { font-size: 12px; color: var(--mid); margin-left: 4px; }
  .sticky-atc-bar.hdt-sticky-atc .btn { min-width: 200px; height: 44px; border-radius: 40px; justify-content: center; }
}
.sticky-atc-bar.hdt-sticky-atc .btn { border-radius: 40px; }

/* ── Mobile ─────────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .lk-pdp-crumbs { padding-top: 14px; }
  .lk-pdp-crumbs .container { flex-wrap: wrap; }
  .lk-pdp-crumbs .breadcrumb > span:last-child { max-width: 100%; }
  .lk-pdp .product-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 16px 0 30px; }
  .lk-pdp .gallery { position: static; min-width: 0; }
  .lk-pdp .gallery-thumb { width: 64px; height: 80px; }
  .lk-pdp .product-title { font-size: 18px; }
  .lk-pdp .pdp-links { flex-wrap: wrap; gap: 12px 20px; }
  .lk-pdp-tabs { padding-top: 30px; }
  .lk-pdp-tabs .tab-nav { justify-content: flex-start; gap: 20px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .lk-pdp-tabs .tab-btn { white-space: nowrap; flex-shrink: 0; font-size: 15px; }
  .lk-pdp-related .section-title { font-size: 18px; }
}

/* ── Quick view (Kalles quick-view modal) ───────────────────────────────────── */
#quickViewModal { border-radius: 0; }
#quickViewModal .quick-view-close { background: #fff; color: var(--dark); border: 0; border-radius: 50%; box-shadow: 0 0 5px rgba(0,0,0,.12); display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
#quickViewModal .quick-view-close:hover { background: var(--dark); color: #fff; }
#quickViewModal .quick-view-close svg { width: 14px; height: 14px; }
#quickViewModal .quick-view-image { background: #f6f6f8; border-radius: 0; }
#quickViewModal .quick-view-thumb { border-radius: 0; border: 1px solid transparent; opacity: .6; }
#quickViewModal .quick-view-thumb.active, #quickViewModal .quick-view-thumb:hover { opacity: 1; border-color: var(--dark); }
#quickViewModal .quick-view-title { font-family: var(--font-sans); font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--dark); }
#quickViewModal .quick-view-title a { color: inherit; }
#quickViewModal .quick-view-price { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#quickViewModal .product-card__price-current { font-size: 20px; font-weight: 400; color: var(--dark); }
#quickViewModal .product-card__price-original:not(:empty) ~ .product-card__price-current,
#quickViewModal .product-card__price-current:has(~ .product-card__price-original:not(:empty)) { color: var(--red); }
#quickViewModal .product-card__price-original { font-size: 16px; color: var(--light); text-decoration: line-through; }
#quickViewModal .product-price-save { background: var(--red); color: #fff; border-radius: 20px; font-size: 12px; font-weight: 600; padding: 2px 10px; }
#quickViewModal .quick-view-actions .btn { border-radius: 40px; }
#quickViewModal .quick-view-cta { display: inline-block; font-size: 14px; font-weight: 500; color: var(--dark); text-decoration: underline; text-underline-offset: 3px; }
#quickViewModal .quick-view-cta:hover { color: var(--accent); }
@media (min-width: 769px) { body.has-sticky-atc.atc-bar-visible { padding-bottom: 70px; } }

/* ==========================================================================
   Kalles "Product Simple" (Theme\kalles-template\Product Simple Hot.html) — overrides.
   ========================================================================== */

/* Breadcrumb: light grey full-width bar. */
.lk-pdp-crumbs.page-hero-sm { background: #f6f6f8; padding: 0; min-height: 0; border: 0; }
.lk-pdp-crumbs .container { display: flex; align-items: center; min-height: 52px; padding-block: 0; }
.lk-pdp-crumbs, .lk-pdp-crumbs a { font-size: 13px; color: var(--dark); }
.lk-pdp-crumbs a:hover { color: var(--accent); }

.lk-pdp { padding-top: 30px; }
.lk-pdp .hdt-main-product { gap: 50px; }

/* Media: vertical thumbnails left of a 3:4 main image. */
.lk-pdp .gallery-main { aspect-ratio: 3 / 4; min-height: 0; background: #f6f6f8; }
.lk-pdp .gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.lk-pdp .gallery-thumb { border: 1px solid transparent; }
.lk-pdp .gallery-thumb.active { border-color: var(--dark); }

/* Info column — template order: title, price, description, options, buy row,
   trust badges, extra links, meta. */
.lk-pdp .hdt-product-info { display: flex; flex-direction: column; }
.lk-pdp .hdt-product-title { margin: 0 0 12px; font-size: 22px; font-weight: 600; line-height: 1.35; }
.lk-pdp .hdt-price-wrapp { margin-bottom: 14px; font-size: 22px; }
.lk-pdp .pdp-shortdesc { margin: 0 0 24px; font-size: 14px; line-height: 1.7; color: var(--mid, #696969); }
.lk-pdp #addToCartForm { display: flex; flex-direction: column; order: 4; }
.lk-pdp #addToCartForm .variant-panel { order: 1; padding: 0; border: 0; background: none; }
.lk-pdp #addToCartForm .product-ctas { order: 2; margin-top: 10px; }
.lk-pdp #addToCartForm .pdp-links { order: 4; margin-top: 22px; }
.lk-pdp .pdp-safe { order: 5; margin: 26px 0 0; padding: 0; border: 0; text-align: left; }
.lk-pdp .pdp-safe legend { display: none; }
.lk-pdp .pdp-safe__badges { justify-content: flex-start; padding: 0; }
.lk-pdp .pdp-delivery { order: 6; margin-top: 22px; }
.lk-pdp .pdp-meta { order: 7; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--lk-line, #eee); font-size: 14px; color: var(--mid, #696969); }
.lk-pdp .pdp-meta a { color: var(--dark); }

/* Buy row: pill qty · pill ADD TO CART (accent, uppercase) · round wishlist. */
.lk-pdp .cta-row { display: flex; align-items: center; gap: 10px; }
.lk-pdp .cta-row .qty-wrap {
  display: inline-flex; align-items: center; flex: 0 0 120px; height: 40px;
  border: 1px solid var(--dark); border-radius: 40px; overflow: hidden; background: #fff;
}
.lk-pdp .cta-row .qty-btn { width: 36px; height: 100%; border: 0; background: none; font-size: 18px; color: var(--dark); cursor: pointer; }
.lk-pdp .cta-row .qty-input { width: 46px; height: 100%; border: 0; text-align: center; font-size: 16px; font-weight: 600; background: none; -moz-appearance: textfield; }
.lk-pdp .cta-row .qty-input::-webkit-inner-spin-button, .lk-pdp .cta-row .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.lk-pdp #addToCartBtn.hdt-btn-atc {
  height: 40px; min-height: 40px; padding: 0 30px; border: 0; border-radius: 40px;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
}
.lk-pdp #addToCartBtn.hdt-btn-atc:hover:not([disabled]) { background: var(--dark); }
.lk-pdp #addToCartBtn.hdt-btn-atc[disabled] { background: #d8d8d8; color: #fff; }
.lk-pdp .cta-row .wishlist-btn {
  flex: 0 0 40px; width: 40px; height: 40px; min-height: 40px; padding: 0; border: 1px solid var(--dark); border-radius: 50%;
  background: #fff; color: var(--dark); font-size: 18px; line-height: 1;
}
.lk-pdp .cta-row .wishlist-btn:hover, .lk-pdp .cta-row .wishlist-btn.active { border-color: var(--accent); color: var(--accent); background: #fff; }

/* Extra links row: Delivery & Return · Ask a Question · Share (bold, no icons boxed). */
.lk-pdp .pdp-links { display: flex; flex-wrap: wrap; gap: 8px 30px; }
.lk-pdp .pdp-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--dark); text-decoration: none; cursor: pointer; }
.lk-pdp .pdp-link:hover { color: var(--accent); }
.lk-pdp .pdp-link svg { width: 16px; height: 16px; }

/* Tabs: full-width tinted band, centred tab titles, content below. */
.lk-pdp-tabs { position: relative; margin-top: 60px; padding-block: 0 50px; }
.lk-pdp-tabs::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background: #f6f6f8; z-index: -1; }
.lk-pdp-tabs .tab-nav { justify-content: center; gap: 40px; border: 0; padding-block: 28px 20px; }
.lk-pdp-tabs .tab-btn { padding: 0 0 6px; border: 0; border-bottom: 2px solid transparent; background: none; font-size: 16px; font-weight: 600; color: var(--light, #878787); }
.lk-pdp-tabs .tab-btn.active, .lk-pdp-tabs .tab-btn:hover { color: var(--dark); border-bottom-color: var(--dark); }
.lk-pdp-tabs .tab-content { max-width: 1000px; margin: 0 auto; font-size: 14px; line-height: 1.8; color: var(--mid, #696969); }

/* "You may also like" / "Recently viewed products": centred plain headings. */
.lk-pdp-related .section-header { justify-content: center; text-align: center; margin-bottom: 40px; }
.lk-pdp-related .section-title { margin: 0; font-size: 30px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.lk-pdp-related .section-title::before, .lk-pdp-related .section-title::after, .lk-pdp-related .section-header::after { display: none !important; content: none !important; }
.lk-pdp-related .section-subtitle { display: none; }

@media (max-width: 767px) {
  .lk-pdp { padding-top: 16px; }
  .lk-pdp .hdt-main-product { gap: 24px; }
  .lk-pdp .hdt-product-title { font-size: 18px; }
  .lk-pdp .hdt-price-wrapp { font-size: 18px; }
  .lk-pdp .cta-row .qty-wrap { flex-basis: 108px; }
  .lk-pdp #addToCartBtn.hdt-btn-atc { padding: 0 16px; }
  .lk-pdp-tabs { margin-top: 40px; }
  .lk-pdp-tabs .tab-nav { gap: 24px; justify-content: flex-start; }
  .lk-pdp-related .section-title { font-size: 22px; }
}
/* "You may also like" carousel (kalles-home.css .kh-carousel): 4 per view in the page container,
   arrows sitting on the outer edges like the template. */
.kh-carousel--pdp { padding-inline: 0; }
.kh-carousel--pdp .hdt-slider__slide { flex-basis: 25%; padding-inline: 10px; }
.kh-carousel--pdp .kh-carousel__nav .hdt-slider__button--prev { left: -20px; }
.kh-carousel--pdp .kh-carousel__nav .hdt-slider__button--next { right: -20px; }
@media (max-width: 1149px) { .kh-carousel--pdp .hdt-slider__slide { flex-basis: calc(100% / 3); } .kh-carousel--pdp .kh-carousel__nav .hdt-slider__button--prev { left: 0; } .kh-carousel--pdp .kh-carousel__nav .hdt-slider__button--next { right: 0; } }
@media (max-width: 767px)  { .kh-carousel--pdp .hdt-slider__slide { flex-basis: 50%; padding-inline: 5px; } }
/* ==========================================================================
   Quick view — Kalles hdt-quick-view-modal (Views/Shared/_QuickView.cshtml).
   ========================================================================== */
#quickViewModal.open { width: min(950px, 94vw); max-height: 92vh; border-radius: 0; overflow: visible; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); box-shadow: 0 10px 40px rgba(0, 0, 0, .2); }
#quickViewModal .quick-view-close {
  position: absolute; top: -1px; right: -46px; width: 46px; height: 46px; display: grid; place-items: center;
  border: 0; border-radius: 0; background: #222; color: #fff; cursor: pointer; z-index: 3;
}
#quickViewModal .quick-view-close:hover { background: #000; color: #fff; }
/* Media: full-height photo, round arrows on its sides, no thumbnail strip. */
#quickViewModal .quick-view-image-wrap { position: relative; background: #f6f6f8; }
#quickViewModal .quick-view-image { height: 100%; min-height: 520px; margin: 0; border-radius: 0; aspect-ratio: auto; background: #f6f6f8; }
#quickViewModal .quick-view-image img { width: 100%; height: 100%; object-fit: cover; }
#quickViewModal .quick-view-thumbs { display: none; }
#quickViewModal .qv-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; display: grid; place-items: center;
  width: 40px; height: 40px; padding: 0; border: 1px solid #222; border-radius: 50%; background: #fff; color: #222; cursor: pointer;
  transition: background-color .2s, color .2s;
}
#quickViewModal .qv-arrow:hover { background: #222; color: #fff; }
#quickViewModal .qv-arrow--prev { left: 15px; }
#quickViewModal .qv-arrow--next { right: 15px; }
/* Info column. */
#quickViewModal .quick-view-body { padding: 30px 30px 30px; max-height: 92vh; overflow-y: auto; }
#quickViewModal #quickViewContent { gap: 0; }
#quickViewModal .quick-view-title { margin: 0 0 16px; padding-right: 0; font-family: var(--font-sans); font-size: 17px; font-weight: 600; line-height: 1.4; }
#quickViewModal .quick-view-price { margin-bottom: 14px; }
#quickViewModal .quick-view-price #quickViewPrice { font-family: var(--font-sans); font-size: 22px; font-weight: 400; color: var(--mid, #696969); }
#quickViewModal .qv-desc { margin: 0 0 18px; font-size: 14px; line-height: 1.7; color: var(--mid, #696969); }
#quickViewModal .quick-view-section { padding: 0; margin-bottom: 18px; border: 0; }
#quickViewModal .quick-view-section h4 { margin-bottom: 10px; font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; }
/* Buy row. */
#quickViewModal .quick-view-actions { display: flex; align-items: center; gap: 10px; margin: 4px 0 10px; }
#quickViewModal .quick-view-body .qty-wrap { flex: 0 0 120px; height: 40px; border: 1px solid #222; border-radius: 40px; }
#quickViewModal .quick-view-body .qty-btn { width: 36px; height: 38px; font-size: 18px; color: #222; }
#quickViewModal .quick-view-body .qty-input { width: 46px; height: 38px; font-size: 16px; font-weight: 600; -moz-appearance: textfield; }
#quickViewModal .quick-view-body .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
#quickViewModal #quickViewAddToCart {
  flex: 1; height: 40px; min-height: 40px; padding: 0 20px; border: 0; border-radius: 40px; justify-content: center;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; text-transform: uppercase;
}
#quickViewModal #quickViewAddToCart:hover { background: #222; }
#quickViewModal .qv-round { flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #222; border-radius: 50%; background: #fff; color: #222; cursor: pointer; }
#quickViewModal .qv-round:hover, #quickViewModal .qv-round.active { border-color: var(--accent); color: var(--accent); }
#quickViewModal .qv-round.active svg { fill: currentColor; }
#quickViewModal .qv-buy-now {
  width: 100%; height: 40px; border: 0; border-radius: 40px; background: #222; color: #fff;
  font: 600 14px/1 var(--font-sans); text-transform: uppercase; cursor: pointer; transition: background-color .2s;
}
#quickViewModal .qv-buy-now:hover { background: var(--accent); }
#quickViewModal .quick-view-added { margin-top: 10px; }
#quickViewModal .qv-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 22px 0 18px; }
#quickViewModal .qv-links a, #quickViewModal .quick-view-cta { display: inline; padding: 0; font-size: 14px; font-weight: 600; color: #222; text-decoration: none; text-align: left; }
#quickViewModal .qv-links a:hover { color: var(--accent); text-decoration: none; }
#quickViewModal .qv-meta { display: grid; gap: 8px; font-size: 14px; color: var(--light, #878787); }
#quickViewModal .qv-meta span { color: #222; }
#quickViewModal .quick-view-stock.in-stock { color: #222; font-weight: 400; }
/* Low and out of stock have to be stated at THIS specificity, not in the partial's own
   <style>: "#quickViewModal .qv-meta span" above is an id selector, so it beat the
   partial's .quick-view-stock.low-stock / .out-stock and painted both the same #222 as
   ordinary in-stock text. The warning colours simply never appeared. Muted weights to
   match the rest of this theme, as the in-stock rule above does. */
#quickViewModal .quick-view-stock.low-stock { color: #b45309; font-weight: 500; }
#quickViewModal .quick-view-stock.out-stock { color: var(--red, #a3322b); font-weight: 500; }
#quickViewModal .qv-share { display: flex; gap: 18px; margin-top: 18px; }
#quickViewModal .qv-share a { color: #222; }
#quickViewModal .qv-share a:hover { color: var(--accent); }
@media (max-width: 1100px) { #quickViewModal .quick-view-close { right: 0; top: 0; } }
@media (max-width: 700px) {
  #quickViewModal.open { width: 100%; grid-template-columns: minmax(0, 1fr); overflow-y: auto; max-height: 90vh; }
  #quickViewModal .quick-view-close { right: 0; top: 0; width: 40px; height: 40px; }
  #quickViewModal .quick-view-image { min-height: 0; aspect-ratio: 4 / 3; }
  #quickViewModal .quick-view-body { padding: 16px; max-height: none; overflow: visible; }
  #quickViewModal .quick-view-actions { position: static; margin: 4px 0 10px; padding: 0; box-shadow: none; }
}
#quickViewModal .quick-view-section.qv-hide { display: none !important; }

/* Product tabs — Kalles hdt-product-tab (hdt-product-tabs.css): pill buttons on the #f6f6f8 band,
   inactive = 65% text + transparent border, active = dark 1px outline; 30px content padding. */
.lk-pdp-tabs { padding-block: 50px 20px; }
.lk-pdp-tabs .tab-nav { display: flex; flex-wrap: nowrap; justify-content: center; gap: 10px 25px; margin: 0 15px; padding: 0; border: 0; overflow-x: auto; scrollbar-width: none; }
.lk-pdp-tabs .tab-nav::-webkit-scrollbar { display: none; }
.lk-pdp-tabs .tab-btn {
  padding: 10px 25px; border: 1px solid transparent; border-radius: 40px; background: transparent;
  font-size: 14px; font-weight: 600; line-height: 18px; color: rgba(34, 34, 34, .65); white-space: nowrap;
  transition: color .3s ease, border-color .3s ease;
}
.lk-pdp-tabs .tab-btn::after, .lk-pdp-tabs .tab-btn::before { display: none !important; content: none !important; }
.lk-pdp-tabs .tab-btn:hover { color: #222; border-color: transparent; }
.lk-pdp-tabs .tab-btn.active, .lk-pdp-tabs .tab-btn.active:hover { color: #222; border-color: #222; background: transparent; }
.lk-pdp-tabs .tab-content { padding: 30px 0; max-width: 1170px; font-size: 14px; line-height: 1.7; color: #878787; }
.lk-pdp-tabs .tab-content p { margin: 0 0 15px; }
@media (max-width: 767px) {
  .lk-pdp-tabs { padding-block: 30px 10px; }
  .lk-pdp-tabs .tab-nav { justify-content: flex-start; gap: 8px; margin: 0; }
  .lk-pdp-tabs .tab-btn { padding: 8px 18px; }
}
/* Breadcrumb — one flex row at every width (an older mobile rule in Detail.cshtml made it
   display:block, dropping the rotated-box chevrons onto the text baseline). Chevrons are
   centred on the text; crumbs never shrink; the product name takes the rest and ends in "…". */
.lk-pdp-crumbs .breadcrumb.hdt-breadcrumb {
  display: flex !important; flex-wrap: nowrap; align-items: center; gap: 0 10px;
  min-width: 0; overflow: hidden; white-space: nowrap; line-height: 20px;
}
.lk-pdp-crumbs .breadcrumb.hdt-breadcrumb > * { display: inline-flex !important; flex: 0 0 auto; align-items: center; }
.lk-pdp-crumbs .breadcrumb.hdt-breadcrumb > span:not(:last-child) {
  width: 6px; height: 6px; margin: 0 2px 0 0; font-size: 0; border: 0;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
  color: #878787; align-self: center;
}
.lk-pdp-crumbs .breadcrumb.hdt-breadcrumb > span:last-child {
  display: block !important; flex: 1 1 auto; min-width: 0; max-width: none;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #878787;
}
@media (max-width: 767px) {
  .lk-pdp-crumbs .container { flex-wrap: nowrap; min-height: 46px; }
  .lk-pdp-crumbs .breadcrumb.hdt-breadcrumb { gap: 0 8px; font-size: 13px; }
}/* Phones: Home › Department › Category already fills the row, and the product title is right
   below — drop the squeezed product-name crumb and its separator instead of a 0-width "…". */
@media (max-width: 575px) {
  .lk-pdp-crumbs .breadcrumb.hdt-breadcrumb > span:last-child,
  .lk-pdp-crumbs .breadcrumb.hdt-breadcrumb > span:nth-last-child(2) { display: none !important; }
}
/* ── Template parity: sale badge, hover arrows, share icons ─────────────────── */
/* Kalles puts the sale badge top-right of the main image as a small rounded rectangle ("-69%"). */
.lk-pdp .gallery-badge { left: auto; right: 15px; top: 15px; align-items: flex-end; }
.lk-pdp .gallery-badge .badge-sale { width: auto; height: auto; padding: 4px 10px; border-radius: 4px; background: #fe4b12; font-size: 13px; font-weight: 500; line-height: 1.3; }
/* Kalles main-image arrows (hdt-visible-hover): round white buttons that fade in on hover. */
@media (min-width: 992px) and (hover: hover) {
  .lk-pdp .gallery-main .gal-arrow { display: grid; place-items: center; position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 40px; height: 40px; padding: 0; border-radius: 50%; opacity: 0; cursor: pointer; transition: opacity .25s, background .2s, color .2s; }
  .lk-pdp .gallery-main:hover .gal-arrow { opacity: 1; }
  .lk-pdp .gallery-main .gal-arrow--prev { left: 15px; }
  .lk-pdp .gallery-main .gal-arrow--next { right: 15px; }
  .lk-pdp .gallery-main .gal-arrow svg { width: 16px; height: 16px; }
  .lk-pdp .gallery-main .gal-arrow[style*="display:none"] { display: none !important; }
}
/* Kalles hdt-socials (simple, medium): grey glyphs, dark/accent on hover. */
.lk-pdp .pdp-socials { order: 8; display: flex; flex-wrap: wrap; gap: 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.lk-pdp .pdp-socials a { display: grid; place-items: center; width: 18px; height: 18px; color: rgba(34, 34, 34, .6); transition: color .25s; }
.lk-pdp .pdp-socials a:hover { color: var(--dark); }
.lk-pdp .pdp-socials svg { width: 16px; height: 16px; }
/* Below 992px the round enlarge button owns the top-right corner, so the sale badge moves to the top-left. */
@media (max-width: 991px) {
  .lk-pdp .gallery-badge { right: auto; left: 15px; align-items: flex-start; }
}

/* Phones: the main image runs edge to edge, straight under the breadcrumb bar (no side/top gutter). */
@media (max-width: 767px) {
  .lk-pdp .product-layout { padding-top: 0; }
  .container:has(> #productLayout) { padding-top: 0; }
  .lk-pdp .gallery-main { margin-inline: -15px; }
}

/* The info column already spaces its blocks with a flex gap; `.product-info > * + *` and the price's own
   bottom margin were adding to it, doubling the space under the title and under the price. */
.lk-pdp .product-info > .product-price,
.lk-pdp .product-info > #addToCartForm { margin-block: 0; }

/* Kalles product page container is --container-max-width 165rem (1650px) vs 117rem on listing pages, so the
   gallery and info column use wide screens instead of sitting in a 1170px centre column. */
@media (min-width: 1200px) {
  main:has(.lk-pdp) .container { max-width: 1650px; }
  .lk-pdp .gallery-main { max-height: none; }
  .lk-pdp .gallery-main img { max-height: none; }
}

/* Shipping tab: Kalles tab content is plain text on the tint, not a bordered card with an emoji and gold link. */
.lk-pdp-tabs .delivery-info-card { padding: 0; border: 0; border-radius: 0; background: none; }
.lk-pdp-tabs .delivery-info-card__heading { margin-bottom: 12px; font-size: 16px; font-weight: 600; color: var(--dark); }
.lk-pdp-tabs .delivery-info-card__body { font-size: 14px; line-height: 1.7; color: #878787; }
.lk-pdp-tabs .delivery-info-card__body p { margin: 0 0 15px; }
.lk-pdp-tabs .delivery-info-card__body a { color: var(--dark); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.lk-pdp-tabs .delivery-info-card__body a:hover { color: var(--accent); }
.lk-pdp-tabs #tab-shipping > p { margin: 0; }

/* Tighter info-column rhythm: 12px between blocks, no extra margins stacked on top of the gap. */
.lk-pdp .product-info { gap: 12px; }
.lk-pdp .product-title { margin-bottom: 0; }
.lk-pdp .product-price { line-height: 1.2; }
.lk-pdp #addToCartForm .variant-panel { margin: 0 0 6px; }
.lk-pdp #addToCartForm .product-ctas { margin-top: 6px; }
.lk-pdp #addToCartForm .pdp-links { margin: 14px 0 0; }
.lk-pdp .pdp-safe { margin-top: 4px !important; }
.lk-pdp .pdp-delivery { margin-top: 4px !important; }
/* SKU / availability / category sit directly under the product title (flex `order` only: the markup and the
   availability JS are untouched). */
.lk-pdp .product-info > :first-child { order: -2; }
.lk-pdp .pdp-meta { order: -1; margin-top: -4px !important; padding-top: 0; border-top: 0; gap: 4px; }
.lk-pdp .pdp-socials { margin-top: 4px; }

/* Tablet and desktop: close up the empty band between the breadcrumb bar and the gallery/title (phones already
   start flush, see the max-width:767px block above). */
@media (min-width: 768px) {
  .container:has(> #productLayout) { padding-top: 0; }
  .lk-pdp .product-layout { padding-top: 20px; }
}

/* Tabs band: less air above the tab buttons and between them and their content. */
.lk-pdp .product-layout { padding-bottom: 20px; }
.lk-pdp-tabs { margin-top: 0; padding-top: 30px; padding-bottom: 10px; }
.lk-pdp-tabs .tab-content { padding-block: 20px 10px; }
@media (max-width: 767px) { .lk-pdp-tabs { padding-top: 24px; } }

/* Tablet + phone: Kalles thumbnail carousel (hdt-slides-4, 10px spacing): ONE row of four thumbs under the main
   image, the rest scroll sideways, instead of a wrapping grid that stacks every image into big tiles. */
@media (max-width: 991px) {
  .lk-pdp .gallery-thumbs:not([style*="display:none"]) {
    display: flex !important; flex-wrap: nowrap; gap: 10px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; max-height: none;
  }
  .lk-pdp .gallery-thumbs::-webkit-scrollbar { display: none; }
  .lk-pdp .gallery-thumb { flex: 0 0 calc((100% - 30px) / 4); width: auto; height: auto; aspect-ratio: 3 / 4; scroll-snap-align: start; }
}

/* Show the whole photo: product images are 2:3 (1080x1620), so the main box and thumbs use 2:3 and `contain`
   instead of 3:4 + cover (which cut off head and feet). Desktop thumbs stop shrinking to a 62px strip: they keep
   their shape and the column scrolls to the height of the main image. */
.lk-pdp .gallery-main { aspect-ratio: 2 / 3; }
.lk-pdp .gallery-main img { object-fit: contain; }
.lk-pdp .gallery-thumb { aspect-ratio: 2 / 3; }
.lk-pdp .gallery-thumb img { object-fit: contain; }
@media (min-width: 992px) {
  .lk-pdp .gallery-thumbs { max-height: none; height: 0; min-height: 100%; overflow-y: auto; scrollbar-width: none; align-self: stretch; }
  .lk-pdp .gallery-thumbs::-webkit-scrollbar { display: none; }
  .lk-pdp .gallery-thumb { flex: 0 0 auto; width: 80px; height: auto; }
}
