.shop-body { background: #f4f1ea; color: var(--ink); }
.shop-body .site-header { background: #000; }
.shop-main { padding: 42px 0 80px; }
.shop-main h1, .shop-card h2, .shop-side h2 { font-family: Fraunces, Outfit, serif; font-weight: 500; letter-spacing: -0.03em; color: var(--navy); }
.shop-detail h1 { font-size: 50px; line-height: 1.05; color: var(--navy); }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.shop-side { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow: auto; }
.shop-side form, .shop-form { display: grid; gap: 12px; }
.shop-side input, .shop-side select, .shop-form input, .shop-form textarea, .qty input, .shop-table input {
  width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: #fff; color: var(--navy);
}
.shop-side h2 { font-size: 1.15rem; margin: 22px 0 8px; }
.shop-side li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.shop-side li.is-sub { padding-left: 14px; }
.shop-side a { text-decoration: none; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.shop-card { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid rgba(16, 40, 63, 0.12); box-shadow: 0 16px 40px rgba(16, 40, 63, 0.12); }
.shop-media { position: relative; overflow: hidden; background: #fff; }
.shop-card img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; transition: transform .45s ease; }
.shop-card:hover img { transform: scale(1.06); }
.shop-hover {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  transform: translateY(18px); opacity: 0; transition: transform .3s ease, opacity .3s ease;
}
.shop-card:hover .shop-hover, .shop-card:focus-within .shop-hover { transform: none; opacity: 1; }
.shop-hover .btn { width: 100%; }
.shop-hover .btn:disabled { opacity: .45; cursor: not-allowed; }
.shop-card h2 { font-size: 1.15rem; padding: 14px 16px 0; color: var(--navy); }
.shop-more { margin: 28px auto 0; }
.shop-card .shop-price, .shop-dots { padding: 8px 16px 16px; }
.shop-card a { text-decoration: none; }
.shop-price b { color: var(--navy); font-size: 1.05rem; }
.shop-price s { color: var(--muted); margin-right: 8px; }
.shop-dots i, .swatch i { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(16,40,63,.2); margin-right: 6px; }
.shop-detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; }
.shop-related { margin-top: 72px; }
.shop-related > h2 { font-size: 2rem; margin: 0 0 8px; color: var(--navy); }
.shop-gallery img { width: 100%; border-radius: 22px; background: #fff; }
.shop-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.shop-thumbs button { width: 72px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.shop-thumbs img { border-radius: 12px; }
.shop-buy, .shop-actions, .shop-check { display: grid; gap: 14px; margin-top: 18px; }
.shop-actions { grid-auto-flow: column; justify-content: start; }
.shop-actions .btn:disabled { opacity: .45; cursor: not-allowed; }
.shop-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { display: flex; align-items: center; gap: 6px; }
.swatch input { position: absolute; opacity: 0; }
.swatch:has(input:checked) i { outline: 2px solid var(--navy); outline-offset: 2px; }
.shop-copy { margin-top: 22px; }
.shop-crumb, .fine { color: var(--muted); }
.shop-alert { background: #fff4f4; border-radius: 12px; padding: 12px 14px; }
.shop-note { background: #eef8f8; border-radius: 12px; padding: 12px 14px; }
.shop-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 22px; overflow: hidden; }
.shop-table th, .shop-table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); }
.shop-total { font-size: 1.3rem; color: var(--navy); }
.shop-check { grid-template-columns: 1.2fr .8fr; }
.shop-summary { background: #fff; border-radius: 22px; padding: 22px; border: 1px solid var(--line); }
.nav-cart { display: inline-flex; align-items: center; gap: 4px; }
.nav-cart svg { fill: none; stroke: #fff; stroke-width: 1.6; }
.nav-cart b { min-width: 18px; height: 18px; border-radius: 99px; background: var(--aqua); color: var(--navy); font-size: 11px; line-height: 18px; text-align: center; }
@media (max-width: 900px) {
  .shop-layout, .shop-detail, .shop-check { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .shop-actions { grid-auto-flow: row; }
  .shop-side { position: static; max-height: none; }
  .shop-detail h1 { font-size: 32px; }
  .shop-hover { position: static; opacity: 1; transform: none; padding: 0 16px 16px; }
}
