/* Shishana product page refinements (owner, Nov 2026).
   1. Favourites: just the heart, at the right edge of the column on the brand line above the title.
      The words stay in the button for screen readers (aria-label and the visually hidden text both follow the saved state).
   2. Rating: no longer a line of its own on top of the price. It is a quiet secondary note on the price row, set to the right,
      and still jumps to the reviews. Without reviews nothing is printed and the price row is unchanged. */

/* 1. heart: on the brand eyebrow row, right edge, so the title keeps its full width.
      Without a brand line (pre-order pages) it sits on the title row and the title makes room for it. */
.product-single .product-single__box .product-single__box__block:has(> .shs-fav--inline){position:relative}
.product-single .product-single__box .shs-fav--inline{position:absolute;top:-8px;right:-11px;display:inline-flex;align-items:center;justify-content:center;gap:0;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;color:var(--shs-ink,#111);text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.product-single .product-single__box .product-single__box__block:has(> .shs-fav--inline) > h1{padding-right:44px}
.product-single .product-single__box .product-single__box__block--vendor ~ .product-single__box__block:has(> .shs-fav--inline) > h1{padding-right:0}
.product-single .product-single__box .product-single__box__block--vendor ~ .product-single__box__block > .shs-fav--inline{top:-37px}
.product-single .product-single__box .product-single__box__block--vendor .product-single__vendor{padding-right:44px}
.product-single .product-single__box .shs-fav--inline .shs-fav__icon{flex:none;width:22px;height:22px;margin:0;transition:transform .2s ease}
.product-single .shs-fav--inline:hover .shs-fav__icon{transform:scale(1.08)}
.product-single .shs-fav--inline .shs-fav__text{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.product-single .shs-fav--inline:focus-visible{outline:2px solid var(--shs-ink,#111);outline-offset:-4px}
@media (prefers-reduced-motion:reduce){.product-single .shs-fav--inline .shs-fav__icon{transition:none}}

/* 2. rating on the price row */
.product-single__box__block--price .price{align-items:baseline;justify-content:space-between;flex-wrap:wrap;column-gap:16px;row-gap:2px}
.product-single__box__block--price .price > .shsrv-pdp-badge{flex:none;margin-left:auto}
.product-single__box__block--price .price > .shsrv-pdp-badge:empty{display:none}
.product-single__box__block--price .shsrv-badge{margin:0;line-height:1}
.product-single__box__block--price .shsrv-badge__link{gap:7px;min-height:28px;align-items:center}
.product-single__box__block--price .shsrv-stars--badge{font-size:11px}
.product-single__box__block--price .shsrv-stars__bg,.product-single__box__block--price .shsrv-stars__fg{gap:1.5px}
.product-single__box__block--price .shsrv-badge__text{font-size:12px;line-height:1;letter-spacing:.02em;color:var(--shs-muted,#666)}
/* the emptied app block that used to hold the stars takes no room */
.product-single__box__block--\@app:has(> .shsrv-pdp-badge:empty),.product-single__box__block--\@app:empty{display:none}

/* 3. price note (0.9.29): the single postcode prompt, set as a quiet 13px line like the delivery lines under it.
      The link keeps its dialog hooks (data-shs-pc-open); the padding only enlarges the tap area. */
.product-single .price__notes .shs-zp-note,.product-single .price__notes .price__note--delivery{margin:6px 0 0;font-size:13px;line-height:20px;letter-spacing:normal;text-transform:none;color:var(--shs-muted,#666)}
.product-single .price__notes .shs-zp-note a,.product-single .price__notes .price__note--delivery a{padding:12px 0;color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;transition:color .2s ease}
.product-single .price__notes .shs-zp-note a:hover,.product-single .price__notes .price__note--delivery a:hover{color:var(--shs-ink,#111)}
.product-single .price__notes .shs-zp-note a:focus-visible,.product-single .price__notes .price__note--delivery a:focus-visible{outline:2px solid var(--shs-ink,#111);outline-offset:3px;border-radius:2px}
@media (prefers-reduced-motion:reduce){.product-single .price__notes .shs-zp-note a,.product-single .price__notes .price__note--delivery a{transition:none}}

/* 0.9.48: product label row (New, Pre-order). The theme gives .label a display value that beat the [hidden] attribute, so the
   hidden "Sold Out" and "On Sale" labels kept their width and pushed "New" to the right. Hidden labels take no space; the row sits
   flush left under the brand, small and quiet. */
.product-single__box__block--labels .product-single__label__items{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;justify-content:flex-start}
.product-single__box__block--labels .label[hidden]{display:none!important}
.product-single__box__block--labels .label{margin:0!important}
.product-single__box__block--labels:has(.label:not([hidden])) {margin-top:6px}
.product-single__box__block--labels:not(:has(.label:not([hidden]))) {display:none}

/* 0.9.48 + 0.9.50 PDP order: gallery thumbnails. The thumbnail <button> kept the browser's default button look (border, rounded
   corners) and shrank to 16x6px because its picture is positioned over it, so a small dark pill showed on every thumbnail.
   The button fills its tile with no border. 0.9.50: the tile no longer depends on a percentage height (the row gets its
   height from aspect-ratio, which Safari does not always hand down to the button, so tiles were cut at the bottom). The button
   itself makes the square (::before), the picture is laid over it and shown whole (object-fit: contain) with a little air so
   the rounded corners never touch the product. The tile keeps the theme's tile colour. */
.media-gallery__thumbs .thumbnail-list{align-items:flex-start;padding-top:3px!important;padding-bottom:4px!important;height:auto!important;max-height:none!important}
.media-gallery__thumbs .thumbnail-list__item{aspect-ratio:auto;height:auto;align-self:flex-start;overflow:visible}
.media-gallery__thumbs .thumbnail-list__item::before{content:none}
.media-gallery__thumbs button.thumbnail{display:block;position:relative;box-sizing:border-box;width:100%;height:auto;min-height:0;padding:0;margin:0;border:0;background:var(--shs-tile,#f4f4f4);box-shadow:none;-webkit-appearance:none;appearance:none;border-radius:8px;overflow:hidden;cursor:pointer}
.media-gallery__thumbs button.thumbnail::before{content:"";display:block;padding-top:100%}
.media-gallery__thumbs button.thumbnail img{display:block;position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;max-width:none;padding:6%;aspect-ratio:auto;object-fit:contain;object-position:center;border-radius:0}
/* the chosen thumbnail: a fine ink line inside the tile (an outer shadow would be clipped by the scrolling row) */
.media-gallery__thumbs .thumbnail-list__item--active button.thumbnail{box-shadow:inset 0 0 0 1.75px var(--shs-ink,#111)}
.media-gallery__thumbs button.thumbnail:focus-visible{outline:2px solid var(--shs-ink,#111);outline-offset:-2px}

/* 0.9.50 PDP order: main picture. Every photo is shown whole inside its square tile, never cropped, whatever its shape.
   The theme already asks for "contain"; these rules pin the tile and the picture so nothing (auto height, a later rule) can
   let the picture grow past the tile and lose its bottom edge. */
.product-single .media-gallery .media-gallery__item .o-ratio__content{top:0;right:0;bottom:0;left:0;width:100%;height:100%}
.product-single .media-gallery .media-gallery__link{display:block;width:100%;height:100%}
.product-single .media-gallery .media-gallery__item .media-gallery__image{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}

/* 0.9.50 PDP order: labels (New, Pre-order, On Sale). They were about 8px in a small padded chip, which read as a speck and
   pushed the word in from the left edge. Now the letter-spaced capitals used for "COLOUR: BLUE" and "MATERIAL":
   12px on an 18px line, ink, no chip, flush left with the brand and the title. */
.product-single__box__block--labels .product-single__label__items{gap:4px 14px;font-size:12px;line-height:18px}
.product-single__box__block--labels .label{padding:0;border-radius:0;background:none;line-height:18px}
.product-single__box__block--labels .label .label__text{margin:0;padding:0;font-family:var(--font--title,inherit);font-size:12px;line-height:18px;font-weight:400;font-style:normal;letter-spacing:.14em;text-transform:uppercase;color:var(--shs-ink,#111)}
.product-single__box__block--labels:has(.label:not([hidden])){margin-top:10px;margin-bottom:4px}
.product-single__box__block--labels:first-of-type:has(.label:not([hidden])){margin-top:0;margin-bottom:6px}
/* the heart sits on the brand line; with a label row between the brand and the title it has 26px further to go */
.product-single .product-single__box .product-single__box__block--vendor ~ .product-single__box__block--labels:has(.label:not([hidden])) ~ .product-single__box__block > .shs-fav--inline{top:-63px}

/* 0.9.50 PDP order: spacing for the new sequence (price, options, button, add-ons, delivery, specifications).
   The delivery lines now follow the button or the add-ons, so they get a little more air above their hairline.
   The "See all N colours" link stands directly under the price note. */
.product-single__box__block--buy_buttons ~ .product-single__box__block > .shs-promise--delivery{margin-top:24px}
/* after the add-on list (its last row already carries 20px) the hairline comes a little sooner */
.product-single__box:has(.shs-addons) .product-single__box__block--buy_buttons ~ .product-single__box__block > .shs-promise--delivery{margin-top:10px}
.product-single__box__block > .shs-seeall{margin:2px 0 0}
/* the pre-order line stood flush on the quantity row; a little air before the button row */
.product-single__box__block:has(+ .product-single__box__block--quantity_selector) > .shs-note{margin-bottom:14px}

/* 0.9.53 (owner, iPhone): the chosen tile's bottom line was clipped and too thin. The row now has room above and below,
   the tile is a true square (aspect-ratio, not the padding trick Safari rounds down) and the line is thicker. */
@supports (aspect-ratio:1/1){.media-gallery__thumbs button.thumbnail{aspect-ratio:1/1}.media-gallery__thumbs button.thumbnail::before{content:none}}
