/* Phase 4C/8: small additions using the established rose/lilac palette. */
:root{--store-ink:#442626;--store-action:#873875;--store-focus:#5d2468}
[hidden]{display:none!important}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--store-focus);outline-offset:4px}
button,input,select,textarea{font:inherit}
img{max-width:100%}
.header,.top-bar,.main-wrap,.page-content,.cart-container{min-width:0}
.main-wrap,.page-content{max-width:1200px;margin-inline:auto}
.reviews-summary{max-width:1100px;margin:0 auto 2.5rem;padding:1.4rem 1.7rem;border:1px solid #e6d5e5;border-radius:20px;background:#fcf8fc;color:var(--store-ink)}
.reviews-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.reviews-summary h2{font-size:1.45rem;margin:0 0 .4rem}.reviews-summary p{margin:.4rem 0;line-height:1.6}
.reviews-link{color:#71315f;font-weight:700;text-underline-offset:4px;background:transparent;border:0;cursor:pointer;padding:.5rem 0;display:inline-block}
.public-reviews-page{max-width:1050px;margin:2rem auto;padding:clamp(1rem,4vw,2rem)}
.public-reviews-page h1{font-size:clamp(1.8rem,4vw,2.4rem);margin-bottom:.7rem}.public-reviews-page>header p{max-width:65ch;line-height:1.7}.public-reviews-page [data-public-reviews]{margin-top:1.5rem}
.public-reviews-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1rem;margin-top:.8rem}
.public-review{background:white;border:1px solid #e6d5e5;border-radius:16px;padding:1.2rem;overflow-wrap:anywhere;min-width:0}
.public-review h3{font-size:1rem;margin:0 0 .6rem}.public-review p{line-height:1.65}.public-review-rating{color:#71315f;letter-spacing:2px}.public-review small{color:#63525e}.reviews-summary .public-review-text{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.product-card{min-width:0}.product-card img{object-fit:contain}.product-card .product-price,.cart-item-price{color:#78324e;font-weight:700}
.cart-item-text,.cart-field,.auth-card{min-width:0}.cart-item-title,.public-review-text{overflow-wrap:anywhere}
.image-unavailable{object-fit:contain;background:#f8eff4;border:1px solid #eadce5}
.skip-link{position:absolute;left:1rem;top:-100px;z-index:10000;background:white;color:#442626;padding:.7rem 1rem;border:2px solid #71315f}.skip-link:focus{top:1rem}
@media(max-width:600px){.reviews-summary{padding:1.2rem;margin-inline:1rem}.reviews-summary-heading{align-items:flex-start}.public-reviews-list{grid-template-columns:1fr}.public-reviews-page{margin:1rem auto}.cart-item-text{overflow-wrap:anywhere}.auth-card,.cart-card{max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.image-fallback{display:grid;place-items:center;padding:1rem;min-height:140px;background:#f8eff4;color:#594752;text-align:center;border:1px solid #eadce5;border-radius:12px;max-width:100%;overflow-wrap:anywhere}
@media(max-width:600px){#social-btn{font-size:0;min-width:38px}#social-btn::before{content:"";display:block;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23442626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.6 10.5 6.8-4M8.6 13.5l6.8 4'/%3E%3C/svg%3E") center/contain no-repeat}.top-bar{gap:5px}.top-bar-right{min-width:0;gap:5px}}

/* Keep the warm button backgrounds while making small labels readable. */
.fimo-content .btn-primary,.smola-content .btn-primary,.drvo-content .btn-primary,.pokloni-content .btn-primary{color:#442626}
.cart-container .btn-primary:not(:disabled),.cart-confirmation .btn-primary{background:#873875}

.cart-item-left>.image-fallback{min-height:56px;width:56px;padding:.3rem;font-size:.7rem;flex-shrink:0}
.product-card .price-block{margin:.5rem 0;font-size:1.1rem}.product-card .new-price{color:#78324e}

.shop-toolbar{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.75rem;margin:1rem}
.shop-toolbar .filters-toggle{margin:0}.shop-toolbar .offer-fab{position:static;min-width:0;color:#873875;background:#fcf0f3;border-color:#873875}

.bottom-nav-link--active .bottom-nav-label{color:#873875}
.cookie-btn--primary{background:#873875;color:white}

.store-account-link{color:#71315f;font-weight:600;text-underline-offset:4px}.store-account-entry{text-align:center;margin:.5rem 0 1rem}

.cart-item-left>.image-fallback{height:56px;font-size:0}.cart-item-left>.image-fallback::before{content:"▧";font-size:24px;color:#873875}

/* Existing checkout: delivery and final review use the shop's cream/pink palette. */
.checkout-delivery-dialog{box-sizing:border-box;width:min(94vw,620px);max-height:90dvh;overflow:auto;border:1px solid #e9c9d3;border-radius:22px;padding:clamp(20px,4vw,32px);background:#fffaf4;color:#4b333b;box-shadow:0 18px 70px #34222b44;font:inherit}
.checkout-delivery-dialog::backdrop{background:#38233188;backdrop-filter:blur(3px)}
.checkout-delivery-dialog h2{margin:0 0 16px;color:#9b456e}.checkout-delivery-dialog fieldset{border:0;padding:0;margin:18px 0;display:grid;gap:12px}
.checkout-delivery-option{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #e6c9d2;border-radius:14px;background:#fff;cursor:pointer}.checkout-delivery-option:has(input:checked){border-color:#aa4d79;background:#fbedf2;box-shadow:0 0 0 1px #aa4d79}.checkout-delivery-option input{accent-color:#a74e9b;flex:none}.checkout-delivery-option span{flex:1;min-width:0}.checkout-delivery-option small{display:block;margin-top:6px;line-height:1.5}.checkout-delivery-option>strong{white-space:nowrap}
.checkout-dialog-actions{display:flex;justify-content:space-between;gap:12px;margin-top:24px}.checkout-dialog-actions button{min-height:44px;border-radius:12px;padding:12px 20px;font:inherit;cursor:pointer}.checkout-review-row{display:flex;justify-content:space-between;gap:16px}.checkout-total{font-weight:700;font-size:1.1em}.checkout-delivery-dialog ul{padding-left:20px;line-height:1.8}
@media(max-width:480px){.checkout-dialog-actions{flex-direction:column-reverse}.checkout-dialog-actions button{width:100%}.checkout-delivery-option{padding:12px}.checkout-review-row{flex-wrap:wrap}}

.preview-order-actions{display:flex;gap:5px;justify-content:center;margin-top:6px}.preview-order-actions button{border:1px solid #dfb9c9;border-radius:6px;background:#fff6ed;color:#78324e;cursor:pointer;padding:3px 10px}

.cart-quantity{display:flex;align-items:center;gap:8px;font-size:.9rem;margin-top:6px}.cart-quantity input{box-sizing:border-box;width:70px;min-height:34px;border:1px solid #dfb9c9;border-radius:8px;padding:5px;background:#fffaf4}

@media(max-width:600px){#social-btn{min-width:44px;min-height:44px;padding:10px;display:inline-grid;place-items:center}}
