/* New Breed shop (preview). Uses the site tokens from /css/styles.css. */
.shop-hero-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.shop-hero-row h1 { margin: 0; }
.shop-wrap { padding: 24px 0 48px; }
.shop-intro { margin: 0 0 20px; max-width: 42rem; }
.pdp-placeholder, .pdp-note { color: var(--muted); font-style: italic; }
.pdp-desc, .pdp-fabric, .pdp-fit, .pdp-care { margin: 16px 0 0; }
.pdp-desc { margin-top: 20px; }
.shop-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.shop-filters a { border: 2px solid var(--dark); padding: 6px 14px; text-decoration: none; color: var(--dark); font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.shop-filters a[aria-current="true"] { background: var(--dark); color: #fff; }
.shop-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.shop-card a { display: block; text-decoration: none; color: var(--ink); }
.shop-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--product-field, var(--paper)); }
.shop-card h2 { font-size: 1.2rem; margin: 10px 0 2px; }
.shop-card-meta { color: var(--muted); margin: 0; font-size: .95rem; }
.shop-card-price { font-weight: 700; margin: 2px 0 0; }
.shop-card[hidden] { display: none !important; }
.shop-links { margin-top: 28px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 20px; } }
.pdp-gallery { display: grid; gap: 12px; }
.pdp-shot { margin: 0; }
.pdp-shot img { display: block; width: 100%; background: var(--product-field, var(--paper)); }
.pdp-shot figcaption { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.pdp-price { font-size: 1.6rem; font-weight: 700; margin: 0 0 4px; }
.pdp-form fieldset { border: 0; padding: 0; margin: 16px 0 8px; }
.pdp-form legend { font-weight: 700; margin-bottom: 6px; }
.size-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.size-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size-opt span { display: inline-block; min-width: 3.2rem; text-align: center; border: 2px solid var(--line); padding: 8px 10px; cursor: pointer; font-weight: 600; }
.size-opt input:checked + span { border-color: var(--red); background: var(--red); color: #fff; }
.size-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.qty { display: inline-flex; align-items: center; gap: 8px; margin: 12px 16px 12px 0; font-weight: 700; }
.qty input { width: 4.5rem; padding: 8px; font: inherit; border: 2px solid var(--line); }
.pdp-msg, .cart-msg { min-height: 1.4em; font-size: .95rem; }
.pdp-print { padding-left: 1.2em; }
.pdp-info h2 { font-size: 1.25rem; margin-top: 24px; }
.pdp-prices { border-collapse: collapse; }
.pdp-prices th, .pdp-prices td { border-bottom: 1px solid var(--line); padding: 6px 18px 6px 0; text-align: left; }
.cart-drawer { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.45); display: flex; justify-content: flex-end; }
.cart-drawer[hidden] { display: none; }
.cart-panel { background: #fff; width: min(420px, 100%); height: 100%; overflow: auto; padding: 20px; display: flex; flex-direction: column; }
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h2 { margin: 0; }
.cart-close { font-size: 2rem; line-height: 1; background: none; border: 0; cursor: pointer; }
.cart-lines { list-style: none; padding: 0; margin: 16px 0; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); padding: 10px 0; }
.cart-line img { width: 64px; height: 64px; object-fit: cover; background: var(--product-field, var(--paper)); }
.cart-line-name { font-weight: 700; }
.cart-line-meta { font-size: .9rem; color: var(--muted); }
.cart-remove { background: none; border: 1px solid var(--line); cursor: pointer; padding: 2px 8px; }
.cart-qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.cart-qty button { width: 28px; height: 28px; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 1rem; line-height: 1; color: var(--ink); }
.cart-qty button[disabled] { opacity: .4; cursor: not-allowed; }
.cart-qty .q { min-width: 1.5em; text-align: center; font-weight: 700; }
.cart-foot { margin-top: auto; }
.cart-note { font-size: .9rem; color: var(--muted); }
.cart-checkout { width: 100%; }
.cart-checkout[disabled] { opacity: .6; cursor: not-allowed; }
.size-chart caption { text-align: left; color: var(--muted); font-size: .9rem; }
.size-chart th[scope=row] { font-weight: 600; }
.pdp-chart-note { font-size: .9rem; color: var(--muted); }
