/* Shared catalog components. The r25 helper and existing checkout styles are unchanged. */
.r27-store{--r27-cream:#fbf7ef;--r27-paper:#fffdf8;--r27-ink:#57463b;--r27-muted:#786c62;--r27-line:#ddd3c6;--r27-brown:#90654c;--r27-green:#617158}
.r27-store *{box-sizing:border-box}
.r27-store [hidden]{display:none!important}
body.r27-store{margin:0;background:var(--r27-cream);color:var(--r27-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
.r27-store a{color:inherit}
.r27-store button,.r27-store input,.r27-store select{font:inherit}
.r27-store button,.r27-store select{cursor:pointer}
.r27-store :focus-visible{outline:2px solid var(--r27-green);outline-offset:4px}
.r27-store .r27-shell{width:min(1240px,100%);margin:0 auto;padding:0 32px 64px}
.r27-store .r27-shop-heading{padding:40px 0 24px;text-align:center}
.r27-store .r27-shop-heading h1{margin:0;font:500 clamp(34px,4vw,48px)/1.2 'Playfair Display',Georgia,serif}
.r27-store .r27-shop-heading p{margin:12px 0 0;font-size:15px;line-height:1.7;color:var(--r27-muted)}
.r27-store .r27-categories{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:0 0 26px}
.r27-store .r27-categories button{min-height:44px;padding:9px 18px;background:transparent;color:var(--r27-ink);border:1px solid var(--r27-line);border-radius:999px;font-size:14px}
.r27-store .r27-categories button[aria-pressed=true]{background:var(--r27-brown);border-color:var(--r27-brown);color:#fffaf1}
.r27-store .r27-filters{display:grid;grid-template-columns:minmax(180px,1.8fr) repeat(3,minmax(125px,1fr)) auto;align-items:end;gap:14px;padding:20px 0;border-top:1px solid var(--r27-line);border-bottom:1px solid var(--r27-line)}
.r27-store .r27-search,.r27-store .r27-filter{display:flex;min-width:0;flex-direction:column;gap:7px;font-size:12px;color:var(--r27-muted)}
.r27-store .r27-search input,.r27-store .r27-filter select{width:100%;min-width:0;min-height:44px;border:1px solid var(--r27-line);border-radius:5px;background:var(--r27-paper);color:var(--r27-ink);padding:9px 10px;font-size:14px}
.r27-store .r27-search input::-webkit-search-cancel-button{cursor:pointer}
.r27-store .r27-clear{border:0;background:transparent;color:var(--r27-muted);min-height:44px;padding:8px 0;font-size:12px;text-decoration:underline;text-underline-offset:4px}
.r27-store .r27-result-count{margin:22px 0 18px;color:var(--r27-muted);font-size:13px}
.r27-store .r27-grid,.r27-store [data-r27-featured]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 22px}
.r27-store [data-r27-featured=sets]{grid-template-columns:repeat(2,minmax(0,1fr))}
.r27-store .r27-card{min-width:0;display:flex;flex-direction:column;margin:0;padding:0;background:transparent}
.r27-store .r27-card-cover{display:block;text-decoration:none;border-radius:5px;overflow:hidden;background:#f2ebdf}
.r27-store .r27-image{position:relative;aspect-ratio:4/5;background:#f3ede2;overflow:hidden}
.r27-store .r27-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.r27-store .r27-card-pieces{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));aspect-ratio:4/5;gap:4px;background:var(--r27-cream)}
.r27-store .r27-card-pieces>.r27-image{min-width:0;min-height:0;width:100%;height:100%;aspect-ratio:auto}
.r27-store .r27-image-error{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:16px;font-size:13px;text-align:center;color:var(--r27-muted)}
.r27-store .r27-card-title{font:500 19px/1.4 'Playfair Display',Georgia,serif;margin:14px 0 0}
.r27-store .r27-card-title a{text-decoration:none}
.r27-store .r27-card-title a:hover{text-decoration:underline;text-underline-offset:4px}
.r27-store .r27-card-price{margin:8px 0 15px;font-size:16px;line-height:1.5}
.r27-store .r27-money{white-space:nowrap;font-variant-numeric:tabular-nums;unicode-bidi:isolate}
.r27-store .r27-card-action{margin-top:auto;min-height:71px;position:relative}
.r27-store .sitehead .site-basket [data-cart-count]{background:#faf6e8;color:#3c4827}
.r27-store .r27-button{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:11px 18px;border:1px solid var(--r27-brown);border-radius:5px;background:var(--r27-brown);color:#fffaf1;text-decoration:none;font-size:14px;font-weight:500;line-height:1.5;text-align:center}
.r27-store .r27-button:hover{background:#78533f;border-color:#78533f}
.r27-store .r27-button-secondary{background:transparent;color:var(--r27-ink);border-color:var(--r27-line)}
.r27-store .r27-button-secondary:hover{background:#eee4d5;border-color:#cabca9}
.r27-store .r27-card-action>.r27-button{width:100%}
.r27-store .r27-loading,.r27-store .r27-availability{display:flex;align-items:center;justify-content:center;min-height:46px;margin:0;padding:10px;font-size:12px;line-height:1.5;color:var(--r27-muted);border:1px solid var(--r27-line);border-radius:5px;text-align:center}
.r27-store .r27-sdk-pending{position:absolute!important;visibility:hidden!important;pointer-events:none!important;width:100%!important}
.r27-store .r27-purchase>.sb-mount{min-height:46px}
.r27-store .r27-purchase>.r27-sdk-pending{position:static!important}
.r27-store .r27-empty{text-align:center;padding:40px 12px}
.r27-store .r27-empty h2{font:500 26px/1.4 'Playfair Display',Georgia,serif;margin:0 0 12px}
.r27-store .r27-empty p{font-size:14px;color:var(--r27-muted);line-height:1.6}
.r27-store .r27-more{display:flex;min-width:180px;margin:36px auto 0}
.r27-store .r27-error{font-size:15px;line-height:1.7}
.r27-store .r27-catalog-status{padding:36px 0;text-align:center;color:var(--r27-muted)}
.r27-store .r27-back{display:inline-flex;align-items:center;min-height:44px;font-size:13px;margin:18px 0;text-underline-offset:5px}
.r27-store .r27-product-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:64px;align-items:start}
.r27-store .r27-product-gallery{padding:0;margin:0;min-width:0}
.r27-store .r27-product-gallery>.r27-image{border-radius:5px;aspect-ratio:4/5}
.r27-store .r27-gallery-caption{margin:12px 0;font-size:12px;color:var(--r27-muted);line-height:1.6}
.r27-store .r27-gallery-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:6px 0 12px}
.r27-store .r27-gallery-controls button{min-width:44px;min-height:44px;border:1px solid var(--r27-line);border-radius:50%;background:transparent;color:var(--r27-ink)}
.r27-store .r27-gallery-controls span{font-size:13px;color:var(--r27-muted)}
.r27-store .r27-thumbnails{display:flex;gap:10px;overflow-x:auto;padding:4px 3px 10px}
.r27-store .r27-thumbnails>button{flex:0 0 72px;padding:3px;border:1px solid transparent;border-radius:4px;background:transparent}
.r27-store .r27-thumbnails>button[aria-pressed=true]{border-color:var(--r27-brown)}
.r27-store .r27-thumbnails .r27-image-error{font-size:9px;padding:3px}
.r27-store .r27-product-info{min-width:0;padding-top:8px}
.r27-store .r27-product-category{margin:0 0 14px;font-size:12px;color:var(--r27-muted)}
.r27-store .r27-product-info h1{font:500 clamp(30px,3vw,42px)/1.2 'Playfair Display',Georgia,serif;margin:0}
.r27-store .r27-detail-price{margin:20px 0;font-size:24px}
.r27-store .r27-description{font-size:15px;line-height:1.8;color:var(--r27-muted);margin:0 0 26px}
.r27-store .r27-includes{padding:20px 0;margin:0;border-top:1px solid var(--r27-line);border-bottom:1px solid var(--r27-line)}
.r27-store .r27-includes h2,.r27-store .r27-options h2{font:500 20px/1.4 'Playfair Display',Georgia,serif;margin:0 0 14px}
.r27-store .r27-includes ul{margin:0;padding-inline-start:20px;font-size:14px;line-height:1.9}
.r27-store .r27-purchase{position:relative;margin:0;padding:24px 0 0}
.r27-store .r27-options{display:grid;gap:14px;margin-bottom:15px}
.r27-store .r27-options:empty{display:none}
.r27-store .r27-options h2{margin-bottom:0}
.r27-store .r27-options .r27-filter select{font-size:16px}
.r27-store .r27-purchase-status{font-size:13px;line-height:1.7;color:var(--r27-muted);margin:0 0 12px}
.r27-store .r27-purchase-status:empty{display:none}
.r27-store .r27-purchase>.r27-button{width:100%}
.r27-store .r27-props-note,.r27-store .r27-delivery{font-size:12px;color:var(--r27-muted);line-height:1.8;margin:16px 0 0}
.r27-store .r27-delivery a{text-underline-offset:4px}
.r27-store .r27-related{padding:0;margin:60px 0 0}
.r27-store .r27-related>h2{font:500 28px/1.4 'Playfair Display',Georgia,serif;margin:0 0 24px}
.r27-store .r27-currency-note{text-align:center;max-width:740px;margin:0 auto 28px;padding:0 20px;font-size:12px;line-height:1.8;color:var(--r27-muted)}
/* Interior pages retain the current site's logo, navigation, basket and footer. */
.r27-store:not(.r15-home) .sitehead{position:relative;z-index:6;background:var(--r27-cream);border-bottom:1px solid var(--r27-line)}
.r27-store:not(.r15-home) .sh-inner{max-width:1240px;margin:auto;padding:16px 32px;display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center}
.r27-store:not(.r15-home) .sh-mark{display:block}
.r27-store:not(.r15-home) .sh-mark .word{display:block;width:150px;height:auto}
.r27-store:not(.r15-home) .sh-nav-row{display:flex;align-items:center;justify-content:center;gap:20px;min-width:0}
.r27-store:not(.r15-home) .sh-nav{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap}
.r27-store:not(.r15-home) .sh-nav a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;font-size:12px}
.r27-store:not(.r15-home) .sh-nav a.cur{text-decoration:underline;text-underline-offset:6px}
.r27-store:not(.r15-home) .site-basket{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:72px;min-height:44px;padding:5px 7px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--r27-ink)}
.r27-store:not(.r15-home) .site-basket.is-floating{position:fixed;top:10px;right:18px;z-index:110;background:var(--r27-paper);border-color:var(--r27-line);box-shadow:0 3px 14px #70554524}
.r27-store:not(.r15-home) .site-basket-icon{width:32px;height:32px;flex:0 0 32px}
.r27-store:not(.r15-home) .site-basket [data-cart-count]{display:inline-flex;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 4px;border:1px solid #d8c7ae;border-radius:999px;background:#fff9ed;font:600 11px/1 Arial,sans-serif;font-variant-numeric:tabular-nums}
.r27-store:not(.r15-home) .rb-language-menu{margin:0}
.r27-store:not(.r15-home) .band-tile{height:34px;background:#f7f0de url("band-tile-rose.png") center/auto 100% repeat-x}
@media(max-width:1000px){
  .r27-store .r27-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
  .r27-store .r27-search{grid-column:1/-1}
  .r27-store .r27-clear{justify-self:start}
  .r27-store .r27-product-layout{gap:32px}
  .r27-store:not(.r15-home) .sh-inner{gap:18px;padding:12px 24px}
  .r27-store:not(.r15-home) .sh-nav{gap:14px}
}
@media(max-width:700px){
  .r27-store .r27-shell{padding:0 16px 48px}
  .r27-store .r27-shop-heading{padding:30px 0 22px}
  .r27-store .r27-shop-heading p{font-size:14px}
  .r27-store .r27-categories{justify-content:flex-start;gap:7px;margin-bottom:20px}
  .r27-store .r27-categories button{font-size:13px;padding:8px 13px}
  .r27-store .r27-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .r27-store .r27-filter select,.r27-store .r27-search input{font-size:16px}
  .r27-store .r27-clear{align-self:end;justify-self:end}
  .r27-store .r27-grid,.r27-store [data-r27-featured=singles]{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 12px}
  .r27-store [data-r27-featured=sets]{grid-template-columns:minmax(0,1fr);gap:30px}
  .r27-store .r27-card-title{font-size:16px;margin-top:11px}
  .r27-store .r27-card-price{font-size:14px;margin:7px 0 12px}
  .r27-store .r27-button{padding:10px 8px;font-size:13px}
  .r27-store .r27-loading{font-size:11px}
  .r27-store .r27-product-layout{grid-template-columns:minmax(0,1fr);gap:28px}
  .r27-store .r27-product-info{padding:0}
  .r27-store .r27-product-info h1{font-size:32px}
  .r27-store .r27-product-gallery>.r27-image{max-height:70vh;aspect-ratio:4/5}
  .r27-store:not(.r15-home) .sh-inner{grid-template-columns:1fr auto;gap:10px 14px;padding:12px 16px}
  .r27-store:not(.r15-home) .sh-mark .word{width:130px}
  .r27-store:not(.r15-home) .site-basket{grid-column:2;grid-row:1}
  .r27-store:not(.r15-home) .sh-nav-row{grid-column:1/-1;justify-content:space-between;gap:8px}
  .r27-store:not(.r15-home) .sh-nav{justify-content:flex-start;gap:14px}
  .r27-store:not(.r15-home) .sh-nav a{font-size:11px}
  .r27-store:not(.r15-home) .site-basket.is-floating{right:10px}
}
html[dir=rtl] .r27-store .r27-card-title,html[dir=rtl] .r27-store .r27-product-info h1{font-family:Tahoma,Arial,sans-serif;line-height:1.55}
@media(prefers-reduced-motion:reduce){.r27-store *{scroll-behavior:auto!important}}

/* Keep the two homepage hair covers equal in size without stretching the photos.
   The upper framing retains the Rose title, full scrunchie and material labels;
   product detail galleries continue to show the complete original images. */
.r27-home #hair-accessories .r27-card-cover .r27-image img{object-fit:cover;object-position:50% 20%}
