/*
 * Approved product cards (6 demos x 3 versions). Values follow the approved boards:
 * desktop at 1440 px, phone below 768 px. Version tokens arrive as custom properties
 * on each card (--pc-*). Every rule is scoped under .pc18 so theme styles for
 * buttons, links and ".card" cannot change the approved card.
 * Shared rules: rating row shown at zero reviews, equal heights (fixed slots +
 * .pc18-push spacer), visible wishlist + purchase action, large price.
 */
article.pc18 { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; box-sizing: border-box; margin: 0; padding: 0; border: 0; background: transparent; text-align: left; font-family: var(--pc-body); color: var(--pc-ink); }
.pc18 *, .pc18 *::before, .pc18 *::after { box-sizing: border-box; }
.pc18 p { margin: 0; }
.pc18 button { margin: 0; font-family: inherit; text-transform: none; letter-spacing: normal; min-width: 0; min-height: 0; line-height: normal; box-shadow: none; -webkit-appearance: none; appearance: none; }
.pc18 a { text-decoration: none; }
.pc18 svg { display: block; flex-shrink: 0; }
/* Flexible spacer before the purchase action: every card in a row ends on one line. Its minimum is
   pinned because carousel styles reset min-height on late slides and collapsed it there. */
article.pc18 .pc18-push { display: block; flex: 1 0 14px; min-height: 14px !important; }
.pc18 .pc18-spacer { display: block; flex: 0 0 12px; }

/* Photo */
.pc18 .pc18-media { position: relative; width: 100%; aspect-ratio: var(--pc-ratio); border-radius: calc(var(--pc-img-r) * var(--look-radius, 1)); overflow: hidden; background: var(--pc-tint); flex-shrink: 0; }
.pc18 .pc18-media__link { display: block; width: 100%; height: 100%; }
.pc18 .pc18-img { display: block; width: 100%; height: 100%; max-width: none; object-fit: var(--pc-fit); object-position: var(--pc-pos); }
.pc18 .pc18-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 0 10px; border-radius: calc(6px * var(--look-radius, 1)); background: var(--pc-ink-bg, var(--pc-ink)); color: var(--look-fg-ffffff, #ffffff); font-size: calc(11px * var(--look-text, 1)); font-weight: 700; letter-spacing: 0.04em; line-height: 24px; }
.pc18 .pc18-badge--sale { background: var(--pc-sale-bg, var(--pc-sale)); }
.pc18 .pc18-badge--light { background: var(--look-bg-ffffff, #ffffff); color: var(--pc-accent); }
.pc18 .pc18-heart { position: absolute; top: 8px; right: 8px; z-index: 3; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--pc-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pc18 .pc18-heart__face { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--look-bg-ffffff, #ffffff); }
.pc18 .pc18-heart svg { width: 17px; height: 17px; }
.pc18 .pc18-heart[aria-pressed="true"] svg, .pc18 .pc18-heart.is-favorite svg, .pc18 .pc18-heart.active svg { fill: currentColor; }
.pc18 .pc18-heart--chip .pc18-heart__face { width: 40px; height: 40px; border-radius: calc(10px * var(--look-radius, 1)); box-shadow: 0 1px 3px var(--look-sh-00000024, rgba(0, 0, 0, 0.14)); }
.pc18 .pc18-heart:focus-visible, .pc18 .pc18-cchip:focus-visible, .pc18 .pc18-opt:focus-visible, .pc18 .pc18-cta:focus-visible { outline: 2px solid var(--pc-ink-bd, var(--pc-ink)); outline-offset: 2px; }

/* Colour chip on the photo (approved): cycles colours, opens downward in place, picking closes it. */
.pc18 .pc18-cchip { position: absolute; top: 60px; right: 8px; z-index: 3; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pc18 .pc18-cchip[aria-expanded="true"] { visibility: hidden; }
.pc18 .pc18-cchip__face { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: calc(10px * var(--look-radius, 1)); background: var(--look-bg-ffffff, #ffffff); box-shadow: 0 1px 3px var(--look-sh-00000024, rgba(0, 0, 0, 0.14)); }
.pc18 .pc18-cchip__colour { display: block; width: 32px; height: 32px; border-radius: calc(7px * var(--look-radius, 1)); box-shadow: inset 0 0 0 1px var(--look-sh-00000024, rgba(0, 0, 0, 0.14)); transition: background 0.4s; }
.pc18 .pc18-clist { position: absolute; top: 62px; right: 10px; z-index: 4; width: 40px; padding: 4px; display: flex; flex-direction: column; gap: 4px; background: var(--look-bg-ffffff, #ffffff); border-radius: calc(10px * var(--look-radius, 1)); box-shadow: 0 1px 3px var(--look-sh-00000024, rgba(0, 0, 0, 0.14)); }
.pc18 .pc18-clist[hidden] { display: none; }
.pc18 .pc18-clist .pc18-opt { width: 32px; height: 32px; padding: 0; display: flex; }
.pc18 .pc18-clist .pc18-sw { width: 32px; height: 32px; border-radius: calc(7px * var(--look-radius, 1)); }
.pc18 .pc18-clist .pc18-opt[aria-checked="true"] .pc18-sw { box-shadow: 0 0 0 1.5px var(--look-sh-ffffff, #ffffff), 0 0 0 3px var(--look-sh-d6d3cc, #d6d3cc), inset 0 0 0 1px var(--look-sh-00000024, rgba(0, 0, 0, 0.14)); }

/* Text */
.pc18 .pc18-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 12px; min-height: calc(42px * var(--pc-title-scale)); font-family: var(--pc-head); font-weight: var(--pc-head-w); font-size: calc(calc(16px * var(--look-text, 1)) * var(--pc-title-scale)); line-height: calc(21px * var(--pc-title-scale)); color: var(--pc-ink); }
.pc18 .pc18-title:hover { color: var(--pc-accent); }
.pc18 .pc18-title.pc18-gap-4 { margin-top: 4px; }
.pc18 .pc18-title--display { margin-top: 14px; min-height: 46px; font-size: calc(18px * var(--look-text, 1)); line-height: 23px; }
.pc18 .pc18-ctx { margin-top: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: calc(11px * var(--look-text, 1)); line-height: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pc-muted); }
.pc18 .pc18-ctx--accent { color: var(--pc-accent); font-weight: 700; }
.pc18 .pc18-rating { margin-top: 4px; display: flex; align-items: center; gap: 4px; font-size: calc(13px * var(--look-text, 1)); line-height: 18px; color: var(--pc-muted); white-space: nowrap; }
.pc18 .pc18-rating svg { width: 13px; height: 13px; fill: var(--pc-star); }
.pc18 .pc18-rating.is-empty svg { fill: var(--look-fg-c9c2b2, #c9c2b2); }
.pc18 .pc18-rating__value { color: var(--pc-ink); font-weight: 600; }
.pc18 .pc18-stars { margin-top: 10px; display: flex; align-items: center; gap: 6px; font-size: calc(13px * var(--look-text, 1)); line-height: 18px; color: var(--pc-muted); }
.pc18 .pc18-stars__row { display: flex; gap: 1px; }
.pc18 .pc18-stars svg { width: 14px; height: 14px; fill: var(--look-fg-d9cdd0, #d9cdd0); }
.pc18 .pc18-stars svg.is-on { fill: var(--pc-star); }
.pc18 .pc18-price { margin-top: 6px; height: 24px; display: flex; align-items: baseline; font-size: calc(20px * var(--look-text, 1)); line-height: 24px; font-weight:var(--look-heading-weight, 600); white-space: nowrap; }
.pc18 .pc18-price.pc18-gap-0 { margin-top: 0; }
.pc18 .pc18-price__now { color: var(--pc-ink); }
.pc18 .pc18-price__now.is-sale { color: var(--pc-sale); }
.pc18 .pc18-price__old { margin-left: 8px; font-size: calc(14px * var(--look-text, 1)); font-weight: 400; color: var(--look-fg-767676, #767676); }
.pc18 .pc18-row { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.pc18 .pc18-row .pc18-ctx, .pc18 .pc18-row .pc18-rating { margin-top: 0; }
.pc18 .pc18-row .pc18-rating { flex-shrink: 0; }
.pc18 .pc18-pricerating { margin-top: 6px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pc18 .pc18-pricerating .pc18-rating { margin-top: 0; }

/* Colour slot under the photo: fixed height keeps every card in a row equal. */
.pc18 .pc18-slot { margin-top: 6px; min-height: 44px; display: flex; align-items: center; min-width: 0; }
.pc18 .pc18-slot--tall { min-height: 56px; }
.pc18 .pc18-swatches { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.pc18 .pc18-opt { width: 32px; height: 44px; padding: 0; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.pc18 .pc18-opt--static { width: 24px; cursor: default; }
.pc18 .pc18-sw { display: block; width: 22px; height: 22px; border-radius: calc(6px * var(--look-radius, 1)); box-shadow: inset 0 0 0 1px var(--look-sh-00000024, rgba(0, 0, 0, 0.14)); }
.pc18 .pc18-opt[aria-checked="true"] .pc18-sw { box-shadow: 0 0 0 2px var(--look-sh-ffffff, #ffffff), 0 0 0 4px var(--look-sh-d6d3cc, #d6d3cc), inset 0 0 0 1px var(--look-sh-00000024, rgba(0, 0, 0, 0.14)); }
.pc18 .pc18-opt[data-pc18-out] .pc18-sw { opacity: 0.45; }
.pc18 .pc18-opt__mark { display: none; }
.pc18 .pc18-slot__text { margin-left: 6px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: calc(14px * var(--look-text, 1)); color: var(--pc-muted); }
/* methods */
.pc18 .pc18-swatches--dot .pc18-sw, .pc18 .pc18-swatches--swap .pc18-sw, .pc18 .pc18-swatches--hover .pc18-sw { border-radius: 50%; }
.pc18 .pc18-swatches--line .pc18-opt[aria-checked="true"] .pc18-sw { box-shadow: inset 0 0 0 1px var(--look-sh-00000024, rgba(0, 0, 0, 0.14)); }
.pc18 .pc18-swatches--line .pc18-opt__mark, .pc18 .pc18-swatches--img .pc18-opt__mark { display: block; width: 14px; height: 2px; border-radius: calc(2px * var(--look-radius, 1)); background: transparent; }
.pc18 .pc18-swatches--line .pc18-opt[aria-checked="true"] .pc18-opt__mark, .pc18 .pc18-swatches--img .pc18-opt[aria-checked="true"] .pc18-opt__mark { background: var(--pc-ink-bg, var(--pc-ink)); }
.pc18 .pc18-swatches--img .pc18-opt { width: 40px; height: 56px; gap: 4px; }
.pc18 .pc18-swatches--img .pc18-sw--img { width: 36px; height: 46px; border-radius: calc(6px * var(--look-radius, 1)); object-fit: cover; object-position: 50% 20%; box-shadow: none; }
.pc18 .pc18-swatches--img .pc18-opt[aria-checked="true"] .pc18-sw--img { box-shadow: none; }
.pc18 .pc18-swatches--img .pc18-opt__mark { width: 18px; }
.pc18 .pc18-swatches--fabric .pc18-opt { width: 36px; }
.pc18 .pc18-sw--fabric { width: 28px; height: 28px; border-radius: calc(7px * var(--look-radius, 1)); background-size: 520%; background-position: 50% 55%; background-blend-mode: soft-light; }
.pc18 .pc18-sw--tag { display: flex; justify-content: center; padding-top: 4px; width: 20px; height: 28px; border-radius: calc(5px * var(--look-radius, 1)) calc(5px * var(--look-radius, 1)) calc(7px * var(--look-radius, 1)) calc(7px * var(--look-radius, 1)); }
.pc18 .pc18-sw--tag i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--look-bg-ffffff, #ffffff); }
.pc18 .pc18-swatches--rhomb .pc18-sw { width: 17px; height: 17px; border-radius: calc(3px * var(--look-radius, 1)); transform: rotate(45deg); }
.pc18 .pc18-swatches--single .pc18-sw { width: 18px; height: 18px; border-radius: calc(5px * var(--look-radius, 1)); }
.pc18 .pc18-swatches--ringall .pc18-opt { width: 26px; }
.pc18 .pc18-swatches--ringall .pc18-sw { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 2px var(--look-sh-ffffff, #ffffff), 0 0 0 3px var(--look-sh-d4d4d4, #d4d4d4); }
.pc18 .pc18-swatches--ringall .pc18-opt[aria-checked="true"] .pc18-sw { box-shadow: 0 0 0 2px var(--look-sh-ffffff, #ffffff), 0 0 0 3px var(--pc-ink-bd, var(--pc-ink)); }
.pc18 .pc18-swatches--named .pc18-sw { width: 18px; height: 18px; border-radius: 50%; }
.pc18 .pc18-swatches--named .pc18-opt[aria-checked="true"] .pc18-sw { box-shadow: 0 0 0 2px var(--look-sh-ffffff, #ffffff), 0 0 0 3px var(--pc-ink-bd, var(--pc-ink)); }
.pc18 .pc18-tile { height: 44px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; gap: 10px; cursor: pointer; color: inherit; }
.pc18 .pc18-tile__face { display: block; width: 30px; height: 30px; border-radius: calc(8px * var(--look-radius, 1)); box-shadow: inset 0 0 0 1px var(--look-sh-0000001f, rgba(0, 0, 0, 0.12)); }
.pc18 .pc18-tile .pc18-slot__text { margin-left: 0; }
.pc18 .pc18-swatches--hover { min-height: 44px; }
.pc18 .pc18-swatches--hover.is-collapsed .pc18-opt:not([aria-checked="true"]) { display: none; }
.pc18 .pc18-more { height: 44px; padding: 0 0 0 6px; border: 0; background: transparent; cursor: pointer; font-size: calc(14px * var(--look-text, 1)); font-weight: 500; color: var(--pc-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--pc-line); }
.pc18 .pc18-more[hidden] { display: none; }

/* Purchase action: kind, colour, radius and case from the version mockup. */
.pc18 .pc18-cta { flex-shrink: 0; width: 100%; height: 44px; padding: 0 12px; border-radius: calc(var(--pc-btn-r) * var(--look-radius, 1)); display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-family: var(--pc-btn-font); font-size: calc(14px * var(--look-text, 1)); font-weight: 600; }
.pc18.pc18-btn--filled .pc18-cta { border: 0; background: var(--pc-btn); color: var(--look-fg-ffffff, #ffffff); }
.pc18.pc18-btn--outline .pc18-cta { border: 1px solid var(--pc-btn-bd, var(--pc-btn)); background: var(--look-bg-ffffff, #ffffff); color: var(--pc-btn-fg, var(--pc-btn)); }
.pc18.pc18-btn--upper .pc18-cta, .pc18.pc18-btn--upper .pc18-pill, .pc18.pc18-btn--upper .pc18-barcart { text-transform: uppercase; letter-spacing: 0.06em; font-size: calc(13px * var(--look-text, 1)); }
.pc18 .pc18-cta svg { width: 16px; height: 16px; }
/* Sold out: the purchase control stays in place (equal heights) but is inactive. */
.pc18 .pc18-cta[disabled], .pc18 .pc18-pill[disabled], .pc18 .pc18-square[disabled], .pc18 .pc18-barcart[disabled], .pc18 .pc18-bag[disabled] .pc18-bag__face { cursor: not-allowed; }
.pc18.pc18-btn--filled .pc18-cta[disabled], .pc18 .pc18-pill[disabled], .pc18 .pc18-square[disabled], .pc18 .pc18-bag[disabled] .pc18-bag__face { background: var(--look-bg-e4e2de, #e4e2de); color: var(--look-onbg-e4e2de-6f6c66, #6f6c66); }
.pc18.pc18-btn--outline .pc18-cta[disabled] { border-color: var(--look-bd-d4d1cb, #d4d1cb); color: var(--look-fg-6f6c66, #6f6c66); }
.pc18 .pc18-barcart[disabled] { color: var(--look-fg-6f6c66, #6f6c66); }
.pc18 .pc18-cta--grow { flex: 1; width: auto; min-width: 0; padding: 0 8px; gap: 6px; }

/* Centred structures */
.pc18--center { text-align: center; }
.pc18--center .pc18-rating, .pc18--center .pc18-price, .pc18--center .pc18-slot, .pc18--center .pc18-stars, .pc18--center .pc18-sizes, .pc18--center .pc18-vols { justify-content: center; }

/* ---- structures ---- */
.pc18--centered .pc18-title, .pc18--generic .pc18-title, .pc18--band .pc18-title, .pc18--polaroid .pc18-title { margin-top: 14px; }
.pc18--ella .pc18-ctx { margin-top: 14px; }
.pc18--editorial .pc18-ctx { margin-top: 14px; }
.pc18--bagonphoto .pc18-bag { position: absolute; right: 8px; bottom: 8px; z-index: 3; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pc18--bagonphoto .pc18-bag__face { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pc-btn); color: var(--look-fg-ffffff, #ffffff); }
.pc18--bagonphoto .pc18-bag svg { width: 17px; height: 17px; }
.pc18 .pc18-sizes { margin-top: 8px; display: flex; gap: 10px; font-size: calc(13px * var(--look-text, 1)); line-height: 18px; color: var(--pc-ink); }
.pc18 .pc18-sizes .is-out { color: var(--look-fg-a3a3a3, #a3a3a3); text-decoration: line-through; }
.pc18--pricerating .pc18-slot { margin-top: 8px; justify-content: flex-start; }
.pc18--boxed { border: 1px solid var(--pc-line) !important; border-radius: calc(14px * var(--look-radius, 1)); padding: 10px !important; background: var(--look-bg-ffffff, #ffffff); }
.pc18 .pc18-inner { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pc18--boxed .pc18-inner { padding: 0 4px; }
.pc18 .pc18-vendor { margin-top: 12px; font-family: var(--pc-vendor-font); font-size: calc(11px * var(--look-text, 1)); line-height: 14px; letter-spacing: 0.16em; color: var(--pc-accent); }
.pc18 .pc18-buyrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pc18 .pc18-pricestack { min-width: 0; display: flex; align-items: baseline; font-size: calc(20px * var(--look-text, 1)); line-height: 24px; font-weight:var(--look-heading-weight, 600); white-space: nowrap; }
.pc18 .pc18-pricestack .pc18-price__old:empty { display: none; }
.pc18 .pc18-square { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: min(calc(var(--pc-btn-r) * var(--look-radius, 1)), calc(10px * var(--look-radius, 1))); background: var(--pc-btn); color: var(--look-fg-ffffff, #ffffff); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pc18 .pc18-square svg { width: 18px; height: 18px; }
.pc18 .pc18-metarow { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--pc-line); display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: calc(13px * var(--look-text, 1)); color: var(--pc-muted); }
.pc18 .pc18-metarow > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pc18 .pc18-metarow .pc18-rating { margin-top: 0; }
.pc18--panel .pc18-panel { position: relative; z-index: 1; margin: -40px 12px 0; padding: 14px; background: var(--look-bg-ffffff, #ffffff); border-radius: calc(12px * var(--look-radius, 1)); box-shadow: 0 6px 20px var(--look-sh-1c1a171a, rgba(28, 26, 23, 0.10)); display: flex; flex-direction: column; }
.pc18--panel .pc18-panel .pc18-ctx { margin-top: 0; }
.pc18--panel .pc18-panel .pc18-title--display { margin-top: 4px; }
.pc18--panel .pc18-inner { padding: 0 12px; }
.pc18--tinted { background: var(--look-bg-f5efea, #f5efea) !important; border-radius: calc(16px * var(--look-radius, 1)); padding: 10px !important; }
.pc18--tinted .pc18-media { background: var(--look-bg-ebe3dc, #ebe3dc); }
.pc18--tinted .pc18-inner { padding: 0 6px 4px; }
.pc18--tinted .pc18-title--display { margin-top: 4px; }
.pc18--tinted .pc18-slot { margin-top: 4px; }
.pc18--band { border-radius: calc(12px * var(--look-radius, 1)); overflow: hidden; background: var(--look-bg-f2f1e4, #f2f1e4) !important; }
.pc18--band .pc18-media { border-radius: 0; }
.pc18--band .pc18-inner { padding: 0 14px 14px; }
.pc18--polaroid { padding-top: 4px; }
.pc18--polaroid .pc18-frame { padding: 8px; background: var(--look-bg-ffffff, #ffffff); border-radius: calc(8px * var(--look-radius, 1)); box-shadow: 0 2px 12px var(--look-sh-20251a24, rgba(32, 37, 26, 0.14)); }
.pc18--boxsizes { border: 1px solid var(--pc-line) !important; border-radius: calc(14px * var(--look-radius, 1)); overflow: hidden; background: var(--look-bg-ffffff, #ffffff); }
.pc18--boxsizes .pc18-media { border-radius: 0; }
.pc18--boxsizes .pc18-inner { padding: 0 12px 12px; }
.pc18--boxsizes .pc18-row { margin-top: 10px; }
.pc18--boxsizes .pc18-slot { margin-top: 2px; }
.pc18 .pc18-sizebtns { margin-top: 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pc18 .pc18-size { height: 40px; border: 1px solid var(--pc-line); border-radius: calc(8px * var(--look-radius, 1)); background: var(--look-bg-ffffff, #ffffff); display: flex; align-items: center; justify-content: center; font-size: calc(13px * var(--look-text, 1)); font-weight: 500; color: var(--pc-ink); }
.pc18 .pc18-size.is-out { border-color: var(--look-bd-eeeeee, #eeeeee); background: var(--look-bg-f6f6f6, #f6f6f6); color: var(--look-onbg-f6f6f6-a3a3a3, #a3a3a3); text-decoration: line-through; pointer-events: none; }
.pc18 .pc18-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; background: linear-gradient(180deg, var(--look-bg-0f1e2400, rgba(15, 30, 36, 0)) 0%, var(--look-bg-0f1e24c7, rgba(15, 30, 36, 0.78)) 100%); pointer-events: none; }
.pc18 .pc18-overlay__ctx { font-size: calc(11px * var(--look-text, 1)); line-height: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--look-fg-ffffffd9, rgba(255, 255, 255, 0.85)); }
.pc18 .pc18-overlay__title { margin-top: 4px; min-height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--pc-head); font-size: calc(16px * var(--look-text, 1)); line-height: 21px; font-weight: 500; color: var(--look-fg-ffffff, #ffffff); }
.pc18--titleonphoto .pc18-pricerating { margin-top: 10px; }
.pc18--titleonphoto .pc18-slot { margin-top: 4px; }
.pc18--stepper .pc18-slot { margin-top: 4px; }
.pc18 .pc18-buyrow--stepper { margin-top: auto; gap: 8px; }
.pc18 .pc18-qty { flex-shrink: 0; height: 44px; border: 1px solid var(--pc-line); border-radius: calc(var(--pc-btn-r) * var(--look-radius, 1)); display: flex; align-items: center; }
.pc18 .pc18-qty button { width: 34px; height: 42px; padding: 0; border: 0; background: transparent; font:500 calc(18px * var(--look-text, 1))/1 Arial, sans-serif; color: var(--pc-ink); cursor: pointer; }
.pc18 .pc18-qty input { width: 22px; height: 42px; padding: 0; border: 0; background: transparent; text-align: center; font:600 calc(15px * var(--look-text, 1)) var(--pc-body); color: var(--pc-ink); -moz-appearance: textfield; }
.pc18 .pc18-qty input::-webkit-outer-spin-button, .pc18 .pc18-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pc18 .pc18-voltag, .pc18 .pc18-ingtag { position: absolute; left: 10px; bottom: 10px; z-index: 2; max-width: calc(100% - 20px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: calc(12px * var(--look-text, 1)); font-weight: 500; line-height: 22px; }
.pc18 .pc18-voltag { padding: 0 8px; border-radius: 999px; background: var(--look-bg-ffffff, #ffffff); color: var(--pc-ink); }
.pc18 .pc18-ingtag { padding: 0 9px; border-radius: calc(6px * var(--look-radius, 1)); background: var(--look-bg-ffffffeb, rgba(255, 255, 255, 0.92)); color: var(--pc-accent); }
.pc18 .pc18-chips { margin-top: 8px; height: 22px; overflow: hidden; display: flex; flex-wrap: wrap; gap: 6px; }
.pc18 .pc18-chip { padding: 0 8px; border: 1px solid var(--pc-line); border-radius: 999px; font-size: calc(12px * var(--look-text, 1)); line-height: 20px; color: var(--pc-ink); white-space: nowrap; }
.pc18 .pc18-chip--tint { border-color: transparent; background: var(--pc-tint); color: var(--pc-accent); }
.pc18 .pc18-pricebox { min-width: 0; }
/* Price beside a pill button: the old price sits under the price so it never runs under the button. */
.pc18 .pc18-pricebox .pc18-pricestack { flex-direction: column; align-items: flex-start; }
.pc18 .pc18-pricebox .pc18-pricestack .pc18-price__old { display: block; margin-left: 0; height: 16px; font-size: calc(12px * var(--look-text, 1)); line-height: 16px; }
.pc18 .pc18-unit { margin-top: 2px; min-height: 16px; font-size: calc(12px * var(--look-text, 1)); line-height: 16px; color: var(--pc-muted); }
.pc18 .pc18-pill { flex-shrink: 0; height: 44px; padding: 0 18px; border: 0; border-radius: calc(var(--pc-btn-r) * var(--look-radius, 1)); background: var(--pc-btn); color: var(--look-fg-ffffff, #ffffff); display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font-family: var(--pc-btn-font); font-size: calc(14px * var(--look-text, 1)); font-weight: 600; }
.pc18 .pc18-pill svg, .pc18 .pc18-barcart svg { width: 15px; height: 15px; }
.pc18--squaretag .pc18-title { margin-top: 12px; }
.pc18 .pc18-sub { margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: calc(13px * var(--look-text, 1)); line-height: 18px; color: var(--pc-muted); min-height: 18px; }
.pc18--squaretag .pc18-stars { margin-top: 6px; }
.pc18--squaretag .pc18-price { margin-top: 8px; }
.pc18 .pc18-barcart { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; height: 44px; padding: 0; border: 0; border-radius: min(calc(var(--pc-btn-r) * var(--look-radius, 1)), calc(10px * var(--look-radius, 1))); background: var(--look-bg-fffffff0, rgba(255, 255, 255, 0.94)); color: var(--pc-ink); display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font-family: var(--pc-btn-font); font-size: calc(14px * var(--look-text, 1)); font-weight: 600; box-shadow: 0 2px 8px var(--look-sh-2a1d211f, rgba(42, 29, 33, 0.12)); }
.pc18--barphoto .pc18-title, .pc18--stepper .pc18-title { margin-top: 12px; }
.pc18 .pc18-vols { margin-top: 10px; min-height: 32px; display: flex; gap: 6px; }
.pc18 .pc18-vol { height: 32px; padding: 0 12px; border: 1px solid var(--pc-line); border-radius: 999px; background: var(--look-bg-ffffff, #ffffff); font-size: calc(12px * var(--look-text, 1)); font-weight: 500; color: var(--pc-ink); cursor: pointer; }
.pc18 .pc18-vol[aria-checked="true"] { border-color: var(--pc-ink-bd, var(--pc-ink)); }

/* Hosts: carousels and grids let cards share one height. */
.swiper-slide:has(> article.pc18), .grid__item:has(> article.pc18) { height: auto; }
/* Approved-page catalogue list view: photo left, details right. Selectors outrank the
   theme's ".c4-list-view > .card" grid (the swapped card keeps the "card" class for paging). */
.grid3.c4-list-view > article.card.pc18 { display: grid; grid-template-columns: 38% minmax(0, 1fr); column-gap: 12px; row-gap: 0; align-content: start; align-items: start; height: auto; padding: 10px; border: 1px solid var(--pc-line); border-radius: calc(var(--pc-img-r) * var(--look-radius, 1)); text-align: left; }
.grid3.c4-list-view > article.card.pc18 > * { grid-column: 2; }
.grid3.c4-list-view > article.card.pc18 > .pc18-media, .grid3.c4-list-view > article.card.pc18 > .pc18-frame { grid-column: 1; grid-row: 1 / span 20; }
.grid3.c4-list-view > article.card.pc18 .pc18-push { display: none; }
.grid3.c4-list-view > article.card.pc18 .pc18-cta { margin-top: 12px; }
.grid3.c4-list-view > article.card.pc18 .pc18-title { margin-top: 0; }
.grid3.c4-list-view > article.card.pc18 .pc18-price { flex-wrap: wrap; height: auto; }
.grid3.c4-list-view > article.card.pc18 .pc18-rating, .grid3.c4-list-view > article.card.pc18 .pc18-price, .grid3.c4-list-view > article.card.pc18 .pc18-slot { justify-content: flex-start; }

/* ---- phone (approved 390 px boards) ---- */
@media (max-width: 767px) {
    .pc18 .pc18-media { border-radius: calc(var(--pc-img-r-m) * var(--look-radius, 1)); }
    .pc18 .pc18-badge { top: 8px; left: 8px; padding: 0 8px; font-size: calc(10px * var(--look-text, 1)); line-height: 20px; }
    .pc18 .pc18-heart { top: 2px; right: 2px; }
    .pc18 .pc18-heart__face { width: 30px; height: 30px; }
    .pc18 .pc18-heart svg { width: 15px; height: 15px; }
    .pc18 .pc18-heart--chip .pc18-heart__face { width: 32px; height: 32px; border-radius: calc(8px * var(--look-radius, 1)); }
    .pc18 .pc18-cchip { top: 46px; right: 2px; }
    .pc18 .pc18-cchip__face { width: 32px; height: 32px; border-radius: calc(8px * var(--look-radius, 1)); }
    .pc18 .pc18-cchip__colour { width: 26px; height: 26px; border-radius: calc(6px * var(--look-radius, 1)); }
    .pc18 .pc18-clist { top: 52px; right: 8px; width: 32px; padding: 3px; gap: 3px; border-radius: calc(8px * var(--look-radius, 1)); }
    .pc18 .pc18-clist .pc18-opt, .pc18 .pc18-clist .pc18-sw { width: 26px; height: 26px; border-radius: calc(6px * var(--look-radius, 1)); }
    .pc18 .pc18-title { margin-top: 10px; min-height: calc(36px * var(--pc-title-scale)); font-size: calc(calc(14px * var(--look-text, 1)) * var(--pc-title-scale)); line-height: calc(18px * var(--pc-title-scale)); }
    .pc18 .pc18-title--display { min-height: 38px; font-size: calc(15px * var(--look-text, 1)); line-height: 19px; }
    .pc18 .pc18-ctx { font-size: calc(10px * var(--look-text, 1)); }
    .pc18 .pc18-rating { font-size: calc(12px * var(--look-text, 1)); }
    .pc18 .pc18-rating svg { width: 12px; height: 12px; }
    .pc18 .pc18-stars { font-size: calc(12px * var(--look-text, 1)); }
    .pc18 .pc18-stars svg { width: 12px; height: 12px; }
    .pc18 .pc18-price, .pc18 .pc18-pricestack { height: auto; min-height: 21px; font-size: calc(17px * var(--look-text, 1)); line-height: 21px; }
    .pc18 .pc18-price__old { margin-left: 6px; font-size: calc(12px * var(--look-text, 1)); }
    .pc18 .pc18-slot__text, .pc18 .pc18-more { font-size: calc(13px * var(--look-text, 1)); }
    .pc18 .pc18-cta, .pc18 .pc18-pill, .pc18 .pc18-barcart { font-size: calc(13px * var(--look-text, 1)); }
    .pc18.pc18-btn--upper .pc18-cta, .pc18.pc18-btn--upper .pc18-pill, .pc18.pc18-btn--upper .pc18-barcart { font-size: calc(12px * var(--look-text, 1)); }
    /* Price and rating no longer share a row on phones (an old price made them collide). */
    .pc18 .pc18-pricerating { flex-direction: column; align-items: flex-start; gap: 4px; }
    .pc18--bagonphoto .pc18-bag { right: 4px; bottom: 4px; }
    .pc18--bagonphoto .pc18-bag__face { width: 34px; height: 34px; }
    .pc18--bagonphoto .pc18-bag svg { width: 15px; height: 15px; }
    .pc18 .pc18-sizes { gap: 8px; font-size: calc(12px * var(--look-text, 1)); }
    .pc18--boxed { border-radius: calc(12px * var(--look-radius, 1)); padding: 6px !important; }
    .pc18--boxed .pc18-inner { padding: 0 2px; }
    .pc18 .pc18-vendor { font-size: calc(10px * var(--look-text, 1)); }
    .pc18 .pc18-pricestack { flex-direction: column; align-items: flex-start; }
    .pc18 .pc18-pricestack .pc18-price__old { margin-left: 0; height: 16px; font-size: calc(12px * var(--look-text, 1)); line-height: 16px; }
    .pc18 .pc18-pricestack .pc18-price__old:empty { display: block; }
    .pc18 .pc18-metarow { font-size: calc(11px * var(--look-text, 1)); }
    .pc18--panel .pc18-panel { margin: -28px 6px 0; padding: 10px; border-radius: calc(10px * var(--look-radius, 1)); }
    .pc18--panel .pc18-inner { padding: 0 6px; }
    .pc18--tinted { border-radius: calc(12px * var(--look-radius, 1)); padding: 6px !important; }
    .pc18--tinted .pc18-inner { padding: 0 2px 2px; }
    .pc18--band { border-radius: calc(10px * var(--look-radius, 1)); }
    .pc18--band .pc18-inner { padding: 0 8px 8px; }
    .pc18--polaroid .pc18-frame { padding: 5px; border-radius: calc(6px * var(--look-radius, 1)); }
    .pc18--boxsizes { border-radius: calc(12px * var(--look-radius, 1)); }
    .pc18--boxsizes .pc18-inner { padding: 0 8px 8px; }
    .pc18 .pc18-sizebtns { gap: 4px; }
    .pc18 .pc18-overlay { padding: 28px 10px 8px; }
    .pc18 .pc18-overlay__ctx { font-size: calc(10px * var(--look-text, 1)); }
    .pc18 .pc18-overlay__title { min-height: 34px; font-size: calc(13px * var(--look-text, 1)); line-height: 17px; }
    .pc18 .pc18-buyrow--stepper { gap: 6px; }
    .pc18 .pc18-qty button { width: 30px; }
    .pc18 .pc18-qty input { font-size: calc(14px * var(--look-text, 1)); }
    .pc18 .pc18-voltag, .pc18 .pc18-ingtag { left: 8px; bottom: 8px; font-size: calc(11px * var(--look-text, 1)); }
    .pc18 .pc18-ingtag { font-size: calc(10px * var(--look-text, 1)); }
    .pc18 .pc18-chip { font-size: calc(11px * var(--look-text, 1)); }
    .pc18 .pc18-buyrow--pill { flex-direction: column; align-items: stretch; gap: 10px; }
    .pc18 .pc18-buyrow--pill .pc18-pill { width: 100%; padding: 0 12px; }
    .pc18 .pc18-unit { font-size: calc(11px * var(--look-text, 1)); }
    .pc18 .pc18-sub { font-size: calc(11px * var(--look-text, 1)); }
    .pc18 .pc18-barcart { left: 6px; right: 6px; bottom: 6px; font-size: calc(12px * var(--look-text, 1)); }
    /* Phones keep two columns in list view: the card stays vertical there. */
    .grid3.c4-list-view > article.card.pc18 { display: flex; flex-direction: column; padding: 0; border: 0; border-radius: 0; height: 100%; }
    .grid3.c4-list-view > article.card.pc18 .pc18-push { display: block; }
    .grid3.c4-list-view > article.card.pc18 .pc18-title { margin-top: 10px; }
    .grid3.c4-list-view > article.card.pc18 .pc18-cta { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .pc18 .pc18-cchip__colour { transition: none; }
}
