/* ===== SHOP SUBNAV ===== */
.shop-subnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
}
.subnav-links {
  display: flex;
  gap: 32px;
}
.shop-subnav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 12px;
  border-bottom: 2px solid transparent;
  color: #888;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}
.shop-subnav a:hover,
.shop-subnav a.subnav-active {
  color: #111;
  border-bottom-color: #111;
}
.currency-select {
  font-size: 0.78rem;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 4px 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  color: #555;
  cursor: pointer;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.currency-select:hover { border-color: #999; }

.cart-eur-note {
  font-size: 0.72rem;
  color: #bbb;
  text-align: center;
  margin-bottom: 2px;
  letter-spacing: 0.05em;
}

/* ===== SHOP PAGE ===== */

.shop-main {
  padding: 40px 0 80px;
}

.shop-heading {
  font-family: "HNU", 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 100;
  font-size: clamp(32px, 6vw, 64px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}

.shop-subheading {
  font-weight: 300;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 32px 0 16px;
  color: #555;
}

.shop-section {
  margin-bottom: 64px;
}

.shop-intro {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 8px;
  max-width: 600px;
}
.shop-intro-shipping {
  margin-bottom: 8px;
}
.shop-signed {
  font-style: italic;
  margin-bottom: 24px;
}

.shop-empty {
  font-style: italic;
  color: #888;
  margin-top: 16px;
}

/* Grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.shop-grid-prints {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* Cards */
.shop-card {
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.shop-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.shop-card--highlight {
  box-shadow: 0 0 0 3px #111;
  animation: shop-highlight 1.4s ease-out forwards;
}
@keyframes shop-highlight {
  0%   { box-shadow: 0 0 0 3px #111; }
  100% { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
}
.shop-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f5;
}
.shop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-card-info {
  padding: 16px;
}
.shop-card-info h4 {
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 4px;
}
.shop-card-meta {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 8px;
}
.shop-card-price {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
}

/* Buttons */
.btn-add-cart {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.85rem;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-add-cart:hover {
  background: #333;
}

/* Sold originals */
.shop-card.is-sold {
}
.sold-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 3px;
}
.shop-card-sold-label {
  color: #999;
  font-weight: 400;
  font-style: italic;
}
.btn-buy-print {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.85rem;
  background: transparent;
  color: #111;
  border: 1px solid #111;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-buy-print:hover {
  background: #111;
  color: #fff;
}

/* Lightbox hint on card images */
.lightbox-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(255,255,255,.85);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.shop-card-img:hover .lightbox-hint {
  opacity: 1;
}

/* Card-level dots: shows when a card has extra photos */
.card-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  pointer-events: none;
  z-index: 2;
}
.card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}
.card-dot.active {
  background: rgba(255,255,255,0.9);
}

/* PhotoSwipe lightbox dot navigation */
.pswp-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 110;
  pointer-events: none;
}
.pswp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
  transition: background 0.2s, transform 0.15s;
}
.pswp-dot.active {
  background: #fff;
  transform: scale(1.3);
}
.pswp-dot:hover:not(.active) {
  background: rgba(255,255,255,0.65);
}

.print-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ===== CART FAB ===== */
.cart-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 200;
  transition: transform 0.2s;
}
.cart-fab:hover { transform: scale(1.08); }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e53e3e;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
}
.cart-drawer.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}
.cart-header h3 {
  font-weight: 400;
  font-size: 1.2rem;
}
.cart-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  color: #555;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-details {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-variant {
  font-size: 0.75rem;
  color: #888;
}
.cart-item-price {
  font-size: 0.9rem;
  font-weight: 500;
}
.cart-item-remove {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0 4px;
  align-self: center;
}
.cart-item-remove:hover { color: #e53e3e; }

.cart-empty {
  text-align: center;
  color: #999;
  padding-top: 40px;
  font-style: italic;
}

.cart-footer {
  border-top: 1px solid #eee;
  padding: 16px 24px 24px;
  flex-shrink: 0;
}

.cart-region {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.cart-region label {
  font-size: 0.85rem;
  color: #555;
}
.cart-region select {
  font-size: 0.85rem;
  padding: 4px 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.cart-totals {
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.cart-totals .total-line {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}
.cart-totals .total-line.total-final {
  font-weight: 600;
  font-size: 1rem;
  border-top: 1px solid #eee;
  padding-top: 8px;
  margin-top: 4px;
}

.cart-tax-note {
  font-size: 0.75rem;
  color: #aaa;
  margin-bottom: 12px;
  text-align: center;
}
.btn-checkout {
  display: block;
  width: 100%;
  padding: 14px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}
.btn-checkout:hover { background: #333; }
.btn-checkout:disabled {
  background: #999;
  cursor: not-allowed;
}

/* Nav active */
.nav-active {
  font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .shop-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }
  .shop-grid-prints {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .shop-card-info {
    padding: 10px;
  }
  .shop-card-info h4 {
    font-size: 0.9rem;
  }
  .print-options {
    flex-direction: column;
  }
}

/* Checkout coming-soon notice */
.checkout-notice-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.checkout-notice-overlay.open {
  display: flex;
}
.checkout-notice-box {
  background: #fff;
  border-radius: 4px;
  padding: 2rem 2rem 1.75rem;
  max-width: 420px;
  width: calc(100% - 2rem);
  position: relative;
  text-align: center;
}
.checkout-notice-box h3 {
  margin: 0 0 .75rem;
  font-size: 1.2rem;
  font-weight: 600;
}
.checkout-notice-box p {
  margin: 0 0 .75rem;
  font-size: .95rem;
  color: #444;
  line-height: 1.55;
}
.checkout-notice-close {
  position: absolute;
  top: .6rem;
  right: .75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #888;
  padding: 0 .25rem;
}
.checkout-notice-close:hover { color: #222; }
.checkout-notice-email {
  display: inline-block;
  margin-top: .5rem;
  font-size: .95rem;
}
