/* R.G Handmade Clay — V10 refinements. Loaded after V9. Preserve all approved visuals. */
/* Brand: preserve logo size, slightly reduce the name beside it. */
html.rg-modern .site-header .brand-name {font-size:clamp(18px,1.8vw,21px)!important;}
/* Nav: keep V9 bold style and the exact heart/lines markup; only text is 5-7% smaller. */
html.rg-modern .site-header .nav-links a,
html.rg-modern .site-header .nav .nav-links a {font-size:clamp(14px,1.12vw,17px)!important;font-weight:700!important;}
@media(max-width:850px){
 html.rg-modern .site-header .brand-name {font-size:clamp(16px,4.2vw,19px)!important;}
 html.rg-modern .site-header .nav-links a,
 html.rg-modern .site-header .nav .nav-links a {font-size:clamp(13.5px,3.74vw,16px)!important;font-weight:700!important;}
}
@media(max-width:385px){
 html.rg-modern .site-header .nav-links a,
 html.rg-modern .site-header .nav .nav-links a {font-size:clamp(12.5px,3.5vw,14px)!important;}
}
/* Reuse the two V9 compact homepage collection cards for ALL three collections. */
html.rg-modern main .rg10-home-collections .rg10-home-collections-list {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:15px!important;width:100%!important;max-width:780px!important;margin:0 auto!important;align-items:stretch!important;}
html.rg-modern main .rg10-home-collections .rg10-home-card {display:grid!important;grid-template-columns:35% minmax(0,1fr)!important;gap:clamp(13px,3vw,23px)!important;align-items:center!important;padding:12px!important;min-width:0!important;min-height:126px!important;overflow:hidden!important;background:#fffdfd!important;border:1px solid #eedeea!important;border-radius:20px!important;box-shadow:0 6px 24px rgba(69,40,62,.045)!important;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease!important;}
html.rg-modern main .rg10-home-collections .rg10-home-card:hover,
html.rg-modern main .rg10-home-collections .rg10-home-card:focus-visible {transform:translateY(-2px)!important;border-color:#d9b7d1!important;box-shadow:0 10px 25px rgba(69,40,62,.10)!important;}
html.rg-modern main .rg10-home-collections .rg10-home-card>img {height:100%!important;width:100%!important;max-height:157px!important;min-height:110px!important;aspect-ratio:1.1!important;object-fit:cover!important;border-radius:14px!important;}
html.rg-modern main .rg10-home-collections .rg10-home-card .rg10-collection-copy {display:grid!important;gap:7px!important;min-width:0!important;align-content:center!important;}
html.rg-modern main .rg10-home-collections .rg10-home-card strong {font-size:clamp(20px,2.25vw,28px)!important;line-height:1.14!important;overflow-wrap:break-word!important;}
html.rg-modern main .rg10-home-collections .rg10-home-card em {display:inline-flex!important;align-items:center!important;gap:7px!important;font-size:11px!important;font-style:normal!important;letter-spacing:.01em!important;}
@media(max-width:700px){
 html.rg-modern main .rg10-home-collections .rg10-home-collections-list {gap:12px!important;}
 html.rg-modern main .rg10-home-collections .rg10-home-card {grid-template-columns:36% minmax(0,1fr)!important;padding:10px!important;min-height:115px!important;gap:14px!important;border-radius:18px!important;}
 html.rg-modern main .rg10-home-collections .rg10-home-card>img {min-height:99px!important;max-height:119px!important;border-radius:12px!important;}
 html.rg-modern main .rg10-home-collections .rg10-home-card strong {font-size:clamp(19px,5.7vw,25px)!important;}
}
@media(max-width:355px){html.rg-modern main .rg10-home-collections .rg10-home-card strong {font-size:19px!important}}
/* Consistent vector arrows instead of emoji arrows. */
.rg10-arrow {display:inline-block;width:17px;height:17px;flex:0 0 17px;vertical-align:middle;stroke:currentColor!important;fill:none!important;transition:transform .22s ease;}
a:hover>.rg10-arrow,a:hover .rg10-arrow,button:hover .rg10-arrow{transform:translateX(2px);}
.rg9-editorial-explore {display:inline-flex!important;align-items:center!important;gap:7px!important;max-width:none!important;white-space:normal!important;}
.rg9-editorial-explore .rg10-arrow {width:16px;height:16px;flex-basis:16px;}
.rg10-cta {display:inline-flex;align-items:center;gap:10px;}
html.rg-modern .rg9-collections-cta .btn {gap:9px!important;}
/* Create distinct soft, purple-tinted collection sections, without changing image compositions. */
html.rg-modern main .rg9-collection-list {background:#fffafd!important;}
html.rg-modern main .rg9-editorial-stack {gap:17px!important;}
html.rg-modern main .rg9-editorial-card {box-sizing:border-box!important;padding:clamp(22px,5vw,45px)!important;border-radius:26px!important;background:#f9f2f8!important;border:1px solid #f1e7ef!important;}
html.rg-modern main .rg9-editorial-card:nth-child(2n) {background:#f0e6ef!important;border-color:#e9d9e6!important;}
html.rg-modern main .rg9-editorial-card:nth-child(3n) {background:#f6edf5!important;border-color:#eddfeb!important;}
html.rg-modern main .rg9-editorial-card .rg9-editorial-photos {width:87%!important;}
html.rg-modern main .rg9-editorial-card .rg9-editorial-detail {border-color:#fffafd!important;}
@media(max-width:700px){
 html.rg-modern main .rg9-collection-list {padding:17px 15px 45px!important;}
 html.rg-modern main .rg9-editorial-stack {gap:15px!important;}
 html.rg-modern main .rg9-editorial-card {padding:19px 17px 22px!important;border-radius:20px!important;}
 html.rg-modern main .rg9-editorial-card .rg9-editorial-photos {width:87%!important;}
 html.rg-modern main .rg9-editorial-card .rg9-editorial-description {margin-top:25px!important;gap:12px!important;}
 html.rg-modern main .rg9-editorial-card .rg9-editorial-description h2 {font-size:clamp(23px,6.2vw,29px)!important;}
 html.rg-modern main .rg9-editorial-card .rg9-editorial-explore {font-size:10px!important;}
}
/* Bag: header & summary remain visible. Only the items pane scrolls independently. */
html.rg-modern #cartOverlay .cart-panel {display:flex!important;flex-direction:column!important;overflow:hidden!important;min-height:0!important;max-height:100dvh!important;height:100dvh!important;box-sizing:border-box!important;overscroll-behavior:contain!important;}
html.rg-modern #cartOverlay .cart-header {position:relative!important;top:auto!important;flex:0 0 auto!important;z-index:1!important;}
html.rg-modern #cartOverlay .cart-items {flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;padding:12px 2px 18px!important;}
html.rg-modern #cartOverlay .cart-summary {flex:0 0 auto!important;margin-top:auto!important;padding:14px 0 max(8px,env(safe-area-inset-bottom))!important;background:#fffbfd!important;box-shadow:0 -10px 25px rgba(74,46,69,.028)!important;}
html.rg-modern #cartOverlay .rg-v8-bag-summary {gap:13px!important;}
html.rg-modern #cartOverlay .rg9-checkout-link {min-height:49px!important;}
@media(max-width:700px){
 html.rg-modern #cartOverlay .cart-panel {height:min(92dvh,920px)!important;max-height:92dvh!important;padding:20px 18px 10px!important;}
 html.rg-modern #cartOverlay .cart-summary {padding:12px 0 max(12px,env(safe-area-inset-bottom))!important;}
}
/* Product popups scroll internally and never let the backdrop scroll. */
html.rg-modern .rg-product-overlay {overscroll-behavior:contain!important;}
html.rg-modern .rg-product-backdrop {touch-action:none!important;}
html.rg-modern .rg-product-panel {max-height:calc(100dvh - 40px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;}
@media(max-width:700px){html.rg-modern .rg-product-overlay {padding:12px!important;align-items:center!important;}html.rg-modern .rg-product-panel {max-height:calc(100dvh - 24px)!important;}}
@media(prefers-reduced-motion:reduce){.rg10-arrow,html.rg-modern main .rg10-home-collections .rg10-home-card {transition:none!important;}}
