/* /shop/ — Dollhouse storefront page. Hero + Ecwid embed styled to the cream/gold family.
   Ecwid hooks: support.ecwid.com "Ecwid CSS Cookbook" (.ec-size .ec-store …). Chameleon colors set in shop/index.html. */
.shop-hero { background: radial-gradient(560px 380px at 82% 40%, rgba(242, 217, 208, .85), transparent 70%); overflow: hidden; }
.shop-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.shop-hero-copy h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); line-height: .95; margin: 0 0 1rem; }
.shop-hero-copy h1 em { color: var(--gold); }
.shop-perks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .88rem; color: var(--muted); }
.shop-perks span { color: var(--gold); }
.shop-perks a { color: var(--fg); text-decoration: underline; text-decoration-color: rgba(184, 134, 11, .5); text-underline-offset: 3px; }
.shop-hero-art { position: relative; height: clamp(260px, 32vw, 400px); }
.shop-hero-art .s1 { width: 54%; left: 8%; top: 4%; transform: rotate(-5deg); z-index: 2; }
.shop-hero-art .s2 { width: 44%; right: 4%; top: 18%; transform: rotate(6deg); }
@media (max-width: 860px) { .shop-hero-grid { grid-template-columns: 1fr; } .shop-hero-art { height: 72vw; max-height: 380px; } }

.shop-store { padding: 0 0 clamp(3rem, 7vw, 5rem); }
.store-frame { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(1rem, 3vw, 2.2rem); box-shadow: 0 30px 60px -44px rgba(60, 40, 20, .45); min-height: 420px; position: relative; }
.store-frame::before { content: "The collection"; display: block; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold); margin: 0 0 1rem; }

/* ---- Ecwid storefront: fonts + gold buttons (only applies inside the widget) ---- */
.ec-size .ec-store, .ec-size .ec-store .ec-font, .ec-size .ec-store input, .ec-size .ec-store button, .ec-size .ec-store select { font-family: var(--sans) !important; }
.ec-size .ec-store h1, .ec-size .ec-store .page-title__name, .ec-size .ec-store .grid-category__title, .ec-size .ec-store .product-details__product-title { font-family: var(--serif) !important; font-weight: 500 !important; }
.ec-size .ec-store .grid-product__title-inner { font-family: var(--serif); font-size: 1.15em; }
.ec-size .ec-store .form-control--primary .form-control__button,
.ec-size .ec-store .details-product-purchase__add-buttons .form-control__button,
.ec-size .ec-store .grid-product__buy-now .form-control__button,
.ec-size .ec-store .form-control--primary.ec-cart__button--checkout .form-control__button {
  background: var(--gold) !important; border-color: var(--gold) !important; color: #fff !important;
  border-radius: 999px !important; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
}
.ec-size .ec-store .form-control--primary .form-control__button:hover,
.ec-size .ec-store .details-product-purchase__add-buttons .form-control__button:hover,
.ec-size .ec-store .grid-product__buy-now .form-control__button:hover { background: #9c7209 !important; border-color: #9c7209 !important; }
.ec-size .ec-store .form-control--secondary .form-control__button,
.ec-size .ec-store .form-control--tertiary .form-control__button { border-radius: 999px !important; border-color: var(--gold) !important; color: var(--gold) !important; }
.ec-size .ec-store .grid-product__image, .ec-size .ec-store .grid-category__card, .ec-size .ec-store .details-gallery__picture { border-radius: 18px; overflow: hidden; }
.ec-size .ec-store a, .ec-size .ec-store .ec-link, .ec-size .ec-store .ec-link a, .ec-size .ec-store .product-details__product-sku, .ec-size .ec-store .details-product-option__price-modifier { color: var(--gold) !important; }
.ec-size .ec-store .grid-product__price-value, .ec-size .ec-store .details-product-price__value { color: var(--fg) !important; font-weight: 600; }
.ec-size .ec-store .ec-label--sale, .ec-size .ec-store .label--flag { background: var(--rose) !important; }
/* Categories without an image in Ecwid: swap Ecwid's default rainbow gradients for cream/gold. */
.ec-size .ec-store .grid-category--no-image .grid-category__bg-color { background: linear-gradient(140deg, #f2d9d0 0%, #e8c872 55%, #b8860b 100%) !important; }
.ec-size .ec-store .grid-category--id-208450883.grid-category--no-image .grid-category__bg-color, .ec-size .ec-store .grid-category--no-image + .grid-category--no-image .grid-category__bg-color { background: linear-gradient(140deg, #fffaf4 0%, #efe6da 45%, #c4a484 100%) !important; }
.ec-size .ec-store .grid-category--no-image .grid-category__shadow-inner, .ec-size .ec-store .grid-category--no-image .grid-category__title-inner, .ec-size .ec-store .grid-category--no-image .grid-category__title { font-family: var(--serif) !important; font-size: 1.6em; font-style: italic; color: var(--ink-deep) !important; text-shadow: 0 1px 10px rgba(255, 250, 244, .7) !important; }
.ec-size .ec-store .grid-category__card { border-radius: 18px; overflow: hidden; }

/* ---- Brand tiles (real photos) ---- */
.shop-brands { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.8rem, 2vw, 1.4rem); margin: 0 0 clamp(1.2rem, 3vw, 2rem); }
.brand-tile { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; border: 1px solid var(--line); box-shadow: 0 24px 50px -40px rgba(60, 40, 20, .55); color: var(--ink-deep); text-decoration: none; }
.brand-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.brand-tile:hover img, .brand-tile:focus-visible img { transform: scale(1.04); }
.brand-tile__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.3rem 1.1rem; background: linear-gradient(to top, rgba(255, 250, 244, .96) 0%, rgba(255, 250, 244, .82) 55%, rgba(255, 250, 244, 0) 100%); display: grid; gap: .15rem; }
.brand-tile--dark .brand-tile__label { background: linear-gradient(to top, rgba(28, 24, 20, .94) 0%, rgba(28, 24, 20, .7) 55%, rgba(28, 24, 20, 0) 100%); color: #fffaf4; }
.brand-tile__label small { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.brand-tile--dark .brand-tile__label small { color: var(--gold-soft); }
.brand-tile__label strong { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.05; }
.brand-tile__label em { font-style: normal; font-size: .85rem; opacity: .8; }
@media (max-width: 640px) { .shop-brands { grid-template-columns: 1fr; } .brand-tile { aspect-ratio: 16 / 9; } }

/* ---- Tabs ---- */
.shop-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; }
.shop-tabs a { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold); font-size: .85rem; letter-spacing: .04em; text-decoration: none; transition: background .2s, color .2s; }
.shop-tabs a:hover { background: rgba(184, 134, 11, .08); }
.shop-tabs a[aria-current="true"] { background: var(--gold); color: #fff; }

/* ---- Store home = all-products grid; any other page = the Ecwid product browser ---- */
.all-products { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.2rem) clamp(.9rem, 2.4vw, 1.8rem); }
.store-frame.is-home .all-products { display: grid; }
.store-frame.is-home #my-store-144591507 { display: none; }
@media (max-width: 860px) { .all-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.all-products .ecsp { text-align: center; font-family: var(--sans) !important; min-width: 0 !important; width: auto !important; max-width: 100% !important; position: relative; }
.all-products .ecsp form, .all-products [itemprop="image"], .all-products .ecwid-SingleProduct-picture { min-width: 0 !important; max-width: 100% !important; }
.all-products .ecsp form { display: flex; flex-direction: column; align-items: center; height: 100%; }
.all-products [itemprop="image"] { width: 100%; cursor: pointer; }
.all-products .ecwid-SingleProduct-picture { width: 100%; aspect-ratio: 4 / 5; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); display: flex; }
.all-products .ecwid-SingleProduct-picture img { width: 100% !important; height: 100% !important; object-fit: contain; transition: transform .5s ease; }
.all-products .ecsp:hover .ecwid-SingleProduct-picture img { transform: scale(1.03); }
.all-products .ecsp-title { font-family: var(--serif) !important; font-size: 1.25rem; line-height: 1.2; margin: .9rem 0 .2rem; color: var(--fg); cursor: pointer; min-height: 2.4em; display: flex; align-items: center; justify-content: center; flex: 1 0 auto; width: 100%; }
.all-products .ecsp-price { font-weight: 600; color: var(--fg); margin: 0 0 .8rem; font-size: 1rem; }
.all-products [customprop="addtobag"] { margin-top: auto; }
.all-products .ecwid-btn--primary { background: var(--gold) !important; border-color: var(--gold) !important; color: #fff !important; border-radius: 999px !important; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; font-family: var(--sans) !important; padding: .7em 1.6em !important; }
.all-products .ecwid-btn--primary:hover { background: #9c7209 !important; border-color: #9c7209 !important; }
@media (max-width: 480px) { .all-products .ecsp-title { font-size: 1rem; line-height: 1.15; } .all-products .ecwid-btn--primary { letter-spacing: .06em; padding: .6em 1.1em !important; font-size: .8rem !important; } }

/* Brand photos on Ecwid's own category tiles too (if the widget's store home is ever shown). */
.ec-size .ec-store .grid-category--id-208450884 .grid-category__bg-color { background: url(../assets/tile-dollhouse.jpg) center / cover no-repeat !important; }
.ec-size .ec-store .grid-category--id-208450883 .grid-category__bg-color { background: url(../assets/tile-bella.jpg) center / cover no-repeat !important; }
.ec-size .ec-store .grid-category--id-208450883 .grid-category__title-inner, .ec-size .ec-store .grid-category--id-208450883 .grid-category__title { color: #fffaf4 !important; text-shadow: 0 1px 12px rgba(0, 0, 0, .6) !important; }
