/* Shared storefront cards. All colors and typography inherit the brand token system. */
.product-card {
  --card-accent:var(--color-primary-dark);
  --card-surface:var(--color-ice-mist);
  min-width:0; padding:0; overflow:hidden; border:1px solid var(--border-subtle);
  border-radius:var(--radius-lg); background:var(--bg-surface); box-shadow:none;
  display:flex; flex-direction:column;
  transition:box-shadow var(--transition-normal),border-color var(--transition-normal),transform var(--transition-normal);
}
.product-card:hover { transform:translateY(-3px); border-color:var(--border-medium); box-shadow:var(--shadow-md); }
.product-card .product-media { height:auto; aspect-ratio:1/1; border-radius:0; background:var(--card-surface); isolation:isolate; }
.product-card .product-img-link { display:flex; width:100%; height:100%; align-items:center; justify-content:center; padding:24px; background:var(--bg-surface-subtle); }
.product-card .product-img { width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; transition:transform var(--transition-smooth); }
.product-card:hover .product-img { transform:scale(1.035); }
.product-card .product-placeholder-box { width:100%; height:100%; background:var(--card-surface); }
.product-card .discount-badge { top:16px; left:16px; border-radius:var(--radius-pill); padding:5px 11px; font-size:.68rem; letter-spacing:.04em; background:var(--bg-surface); color:var(--card-accent); box-shadow:var(--shadow-xs); }
.product-card .quickview-trigger-btn { position:absolute; right:12px; bottom:12px; display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:40px; padding:8px 12px; background:var(--glass-bg); border:1px solid var(--border-subtle); border-radius:var(--radius-pill); color:var(--text-primary); font:600 .72rem var(--font-sans); cursor:pointer; backdrop-filter:var(--glass-blur); z-index:3; }
.product-card .quickview-trigger-btn:hover { background:var(--bg-surface); color:var(--card-accent); }
.product-card .product-details { padding:22px 22px 0; }
.product-card .product-brand-label { display:block; color:var(--card-accent); font:800 .62rem/1.6 var(--font-sans); text-transform:uppercase; letter-spacing:.14em; margin-bottom:7px; }
.product-card .product-card-title { margin:0; font:400 1.4rem/1.3 var(--font-serif); }
.product-card .product-name { font:inherit; color:var(--text-primary); white-space:normal; overflow:visible; text-align:left; overflow-wrap:anywhere; }
.product-card .product-card-category { margin:7px 0 0; color:var(--text-secondary); font:400 .78rem/1.5 var(--font-sans); }
.product-card .product-footer { margin-top:auto; padding:18px 22px 22px; display:flex; flex-direction:column; align-items:stretch; gap:16px; }
.product-card .product-price-info { min-height:43px; display:flex; flex-direction:row; align-items:baseline; flex-wrap:wrap; gap:6px; }
.product-card .product-price-caption { color:var(--text-secondary); font:400 .72rem var(--font-sans); }
.product-card .price-value { color:var(--text-primary); font:700 1.12rem/1.5 var(--font-sans); font-variant-numeric:tabular-nums; }
.product-card .price-value del { font-size:.75rem; color:var(--text-secondary); font-weight:400; margin-right:6px; }
.product-card .price-value ins { text-decoration:none; }
.product-card .product-action-box { width:100%; }
.product-card .btn-buy { width:100%; min-height:46px; display:flex; align-items:center; justify-content:center; border-radius:var(--radius-sm); background:var(--card-accent); border:1px solid var(--card-accent); color:var(--bg-surface); font:700 .78rem/1.4 var(--font-sans); padding:12px; text-align:center; }
.product-card .btn-buy:hover { background:var(--text-primary); border-color:var(--text-primary); transform:none; box-shadow:none; }
.product-card :is(a,button):focus-visible, .collection-track:focus-visible, .collection-navigation :is(a,button):focus-visible { outline:3px solid var(--border-focus); outline-offset:3px; }
.product-card .added_to_cart { display:block; margin-top:10px; color:var(--card-accent); font-size:.8rem; text-align:center; }
.home-collections { padding:32px 0 72px; }
.brand-collection { --card-accent:var(--color-primary-dark); padding:48px 0; }
.brand-collection + .brand-collection .container { border-top:1px solid var(--border-subtle); padding-top:48px; }
.brand-collection-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:30px; }
.collection-eyebrow { color:var(--card-accent); font:800 .65rem/1.5 var(--font-sans); letter-spacing:.16em; text-transform:uppercase; }
.brand-collection-heading h2 { font:400 clamp(1.7rem,3vw,2.65rem)/1.2 var(--font-serif); color:var(--text-primary); margin:12px 0; letter-spacing:-.035em; }
.brand-collection-heading p { color:var(--text-secondary); font-size:.95rem; margin:0; }
.collection-navigation { display:flex; align-items:center; gap:24px; flex-shrink:0; }
.collection-link, .collection-shop-link a { font-size:.78rem; font-weight:800; color:var(--card-accent,var(--color-primary-dark)); border-bottom:1px solid var(--border-medium); padding-bottom:6px; }
.collection-link span { margin-left:12px; }
.collection-arrows { display:flex; gap:8px; }
.collection-arrows[hidden] { display:none; }
.collection-arrows button { width:44px; height:44px; border:1px solid var(--border-medium); border-radius:50%; background:var(--bg-surface); color:var(--card-accent); cursor:pointer; font-size:1.1rem; }
.collection-arrows button:hover { background:var(--bg-surface-alt); }
.collection-arrows button:disabled { opacity:.35; cursor:default; }
.collection-track { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 72px)/4); gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:var(--border-medium) transparent; padding:4px 0 18px; }
.collection-track > .product-card { scroll-snap-align:start; }
.collection-empty { padding:32px; border:1px solid var(--border-subtle); border-radius:var(--radius-lg); background:var(--bg-surface-subtle); color:var(--text-secondary); }
.collection-empty a { display:inline-block; margin-top:12px; color:var(--card-accent); font-size:.85rem; font-weight:700; }
.collection-shop-link { text-align:center; margin-top:16px; }
@media(max-width:1024px) { .collection-track { grid-auto-columns:calc((100% - 48px)/3); } .collection-navigation { gap:14px; } }
@media(max-width:760px) {
  .brand-collection-heading { align-items:flex-start; flex-direction:column; gap:18px; }
  .collection-navigation { justify-content:space-between; width:100%; }
  .collection-track { grid-auto-columns:calc((100% - 16px)/2.15); gap:16px; }
  .product-card .product-details { padding:16px 14px 0; }
  .product-card .product-footer { padding:14px; gap:12px; }
  .product-card .product-card-title { font-size:1.2rem; }
  .product-card .product-img-link { padding:16px; }
  .product-card .quickview-trigger-btn span { display:none; }
  .product-card .quickview-trigger-btn { width:40px; padding:0; }
}
@media(max-width:480px) { .collection-track { grid-auto-columns:78%; } .brand-collection { padding:30px 0; } .home-collections { padding-top:8px; } }
@media(prefers-reduced-motion:reduce) { .product-card, .product-card .product-img { transition:none; } .product-card:hover { transform:none; } }
