/* Match prototype shop/index.astro and PageHero.astro. */
.ds-shop #content.ds-section { max-width: none; width: 100%; padding: 0 0 34px; }
.ds-shop-hero { position: relative; overflow: hidden; isolation: isolate; padding: 40px 0 34px; text-align: center; color: #fff; background: radial-gradient(120% 140% at 85% -20%, rgba(217,164,65,.28), transparent 55%), linear-gradient(155deg, var(--brand-support), var(--brand-primary-dark) 55%, var(--brand-support-dark)); }
.ds-shop-hero > .ds-container { position: relative; z-index: 1; }
.ds-shop #content .ds-shop-hero h1 { color: #fff; font: 400 clamp(1.6rem,6.4vw,2.4rem)/1.15 var(--font-display); margin: 0 0 8px; }
.ds-shop-hero p { color: rgba(255,255,255,.92); max-width: 48ch; margin: 0 auto; line-height: 1.75; font-size: .95rem; }
.ds-shop-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; margin-bottom: 14px; border-radius: 999px; border: 1px solid #ffffff47; background: #ffffff29; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.ds-shop-badge svg { width: 16px; height: 16px; }
.ds-shop-leaf { position: absolute; color: var(--brand-accent-light); opacity: .1; pointer-events: none; }
.ds-shop-leaf--left { top: -26px; left: -22px; transform: rotate(18deg); }
.ds-shop-leaf--right { bottom: -24px; right: -12px; transform: rotate(-140deg); }
.ds-shop-leaf--left svg { width: 120px; height: 120px; }
.ds-shop-leaf--right svg { width: 90px; height: 90px; }
.ds-shop #content .ds-shop-filters { display: flex; gap: 8px; overflow-x: auto; padding-block: 16px 4px; margin-bottom: 34px; }
.ds-shop #content .ds-shop-pill { flex: none; padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--brand-ink); font: 600 .9rem/1.7 var(--font-body); text-decoration: none; }
.ds-shop #content .ds-shop-pill.is-active { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.ds-shop #content ul.products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; max-width: 1120px; width: 100%; margin: 0 auto; padding: 0 20px; list-style: none; box-sizing: border-box; }
.ds-shop #content ul.products::before, .ds-shop #content ul.products::after { display: none; }
.ds-shop #content ul.products li.ds-shop-card { display: flex; flex-direction: column; float: none; width: auto; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); min-width: 0; transition: transform .12s, box-shadow .15s; }
.ds-shop #content .ds-shop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ds-shop #content .ds-shop-card a { text-decoration: none; }
.ds-shop-card__media { position: relative; display: block; aspect-ratio: 1; background: var(--surface-2); }
.ds-shop #content ul.products .ds-shop-card__media img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; margin: 0; border-radius: 0; }
.ds-shop-card__flag { position: absolute; top: 8px; left: 8px; background: var(--brand-gold); color: var(--brand-primary-dark); font-size: .7rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.ds-shop-card__flag--out { background: var(--danger); color: #fff; }
.ds-shop-card__body { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ds-shop #content .ds-shop-card h2 { font: 400 .96rem/1.3 var(--font-display); color: var(--brand-primary-dark); margin: 0; padding: 0; }
.ds-shop #content .ds-shop-card__tag { font-size: .8rem; color: var(--brand-ink-soft); flex: 1; margin: 0; }
.ds-shop-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.ds-shop #content ul.products .ds-shop-card .price { font: 700 1.05rem/1.4 var(--font-body); color: var(--brand-primary-dark); margin: 0; flex: 1; }
.ds-shop #content .ds-shop-card .price ins { text-decoration: none; }
.ds-shop #content .ds-shop-card .price del { font-size: .8rem; }
.ds-shop-ask { font-size: .82rem; color: var(--brand-saffron-dark); }
.ds-shop #content ul.products .ds-shop-card .button { display: inline-flex; flex: none; justify-content: center; align-items: center; width: 42px; height: 42px; padding: 0; margin: 0; border: 0; border-radius: 12px; background: var(--brand-primary); color: #fff; }
.ds-shop #content .ds-shop-card .button svg { width: 18px; height: 18px; }
.ds-shop #content .ds-shop-card .button:hover { background: var(--brand-primary-2); }
.ds-shop #content .ds-shop-card .button.added { background: var(--brand-leaf); }
.ds-shop #content .ds-shop-card .button.added::after { display: none; }
.ds-shop #content .ds-shop-card .added_to_cart { display: none; }
.ds-shop #content .woocommerce-notices-wrapper, .ds-shop #content > .woocommerce-info { max-width: 1080px; margin-inline: auto; }
.ds-shop #content .woocommerce-pagination { margin: 28px 20px 0; }
.ds-shop #content .woocommerce-pagination ul { border: 0; display: inline-flex; gap: 8px; }
.ds-shop #content .woocommerce-pagination li { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: white; }
.ds-shop #content .woocommerce-pagination a, .ds-shop #content .woocommerce-pagination span { padding: 12px 16px; color: var(--brand-primary-dark); }
.ds-shop #content .woocommerce-pagination .current { background: var(--brand-primary-soft); }
.ds-shop #content :focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 3px; }
@media (min-width:720px) { .ds-shop #content ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (min-width:1000px) { .ds-shop #content ul.products { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (prefers-reduced-motion:reduce) { .ds-shop #content .ds-shop-card { transition: none; transform: none; } }
