/* =============================================
   JOURNEY'S END RECORDS — MAIN CSS v4
   - Local fonts (Blackmoor LET + FA)
   - Real background images
   - Shop matches site design
   ============================================= */

/* ── LOCAL FONTS ── */
@font-face {
  font-family: 'Blackmoor';
  src: url('../fonts/Blackmoor-LET-Plain1_0.eot');
  src: url('../fonts/Blackmoor-LET-Plain1_0.eot?#iefix') format('embedded-opentype'),
       url('../fonts/Blackmoor-LET-Plain1_0.woff') format('woff'),
       url('../fonts/Blackmoor-LET-Plain1_0.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fa-solid-900.eot');
  src: url('../fonts/fa-solid-900.eot?#iefix') format('embedded-opentype'),
       url('../fonts/fa-solid-900.woff2') format('woff2'),
       url('../fonts/fa-solid-900.woff') format('woff'),
       url('../fonts/fa-solid-900.ttf') format('truetype'),
       url('../fonts/fa-solid-900.svg#FontAwesome') format('svg');
  font-weight: 900;
  font-style: normal;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #6a7f98;
  background-image: url('../images/Web_Page_Backround.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
  color: #1a1a1a;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── PAGE WRAPPER ── */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER + NAV WRAPPER ── */
.site-banner {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
}

.site-header {
  width: 100%;
  background-image: url('../images/Web_Head_Backround.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 16px;
}

.header-logo { display: block; }
.header-logo img { height: 86px; width: auto; display: block; margin: 0 auto; }

/* Nav bar */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  position: relative;
  background: rgba(50, 70, 100, 0.55);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  padding: 4px 16px;
  backdrop-filter: blur(4px);
}

.site-nav a {
  display: flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 3px;
  background: none;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.site-nav a:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(200,220,240,0.7);
}

.site-nav a.current {
  background: rgba(20,50,100,0.6);
  border-color: rgba(100,160,220,0.7);
}

.site-nav a img { height: 26px; width: auto; display: block; }

/* Page title bar — identical to shop filter bar */
.page-title-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: rgba(80, 100, 130, 0.6);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
  font-family: 'Blackmoor', 'UnifrakturMaguntia', serif;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #e0e8f0;
}

/* Cart button in shop header */
.cart-toggle-header {
  position: absolute;
  right: 0;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s;
  font-family: Arial, sans-serif;
  white-space: nowrap;
}
.cart-toggle-header:hover { border-color: rgba(255,255,255,0.7); }
.lang-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.72rem;
  font-family: inherit;
  color: #aabccc;
  padding: 0;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.lang-toggle:hover { color: #ffffff; }
.cart-count-badge {
  background: #c8a84b;
  color: #000;
  border-radius: 50%;
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.62rem;
}

/* ── CONTENT AREA ── */
.content-area { flex: 1; }

.content-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 20px 50px;
}

/* Page heading in Blackmoor */
.page-heading {
  font-family: 'Blackmoor', 'UnifrakturMaguntia', serif;
  font-size: 1.9rem;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.divider {
  border: none;
  border-top: 1px solid rgba(60,80,110,0.4);
  margin: 12px 0 16px;
}

/* ── FACEBOOK POSTS ── */
.fb-post {
  padding: 16px 18px;
  margin-bottom: 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.fb-post:last-child { margin-bottom: 0; }
.fb-post-img img { max-width: 300px; width: 100%; display: block; margin: 0 auto; }
.fb-post-text { font-size: 0.97rem; line-height: 1.7; color: #0d1a2e; max-width: 580px; text-align: center; }
.fb-post-text a { color: #1a3a7a; text-decoration: underline; }
.fb-post-date { font-size: 0.83rem; color: #2a3a55; font-style: italic; }
.fb-loading { text-align: center; color: #3a4a6a; font-style: italic; padding: 2rem; font-size: 0.9rem; }
.social-buttons { display: flex; align-items: center; gap: 16px; justify-content: center; padding: 8px 0 12px; }

/* ── RELEASES GRID ── */
.releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(187px, 1fr));
  gap: 14px;
}

.release-card { background: rgba(255,255,255,0.12); cursor: pointer; transition: background 0.2s; overflow: hidden; }
.release-card:hover { background: rgba(255,255,255,0.22); }
.release-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform 0.3s ease; }
.release-card:hover img { transform: scale(1.04); }
.release-card-img-placeholder { width: 100%; aspect-ratio: 1; background: rgba(0,0,0,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.15); font-size: 3rem; }
.release-card-body { padding: 8px 10px 10px; }
.release-card-artist { font-size: 0.88rem; font-weight: 700; color: #0d1a2e; line-height: 1.25; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.release-card-title { font-size: 0.79rem; color: #2a3a55; font-style: italic; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.release-card-date { font-size: 0.68rem; color: #4a5a75; margin-top: 3px; }

/* ── RELEASE MODAL ── */
.release-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.78); z-index: 500; display: none; align-items: center; justify-content: center; padding: 20px; }
.release-modal-overlay.open { display: flex; }
.release-modal { background: #dce5f0; max-width: 780px; width: 100%; max-height: 92vh; overflow-y: auto; position: relative; display: grid; grid-template-columns: 290px 1fr; box-shadow: 0 20px 60px rgba(0,0,0,0.7); }
.release-modal-gallery { background: #111; position: relative; min-height: 290px; overflow: hidden; }
.modal-slider-wrap { position: relative; overflow: hidden; height: 100%; min-height: 290px; }
.modal-slides { display: flex; transition: transform 0.4s ease; height: 100%; }
.modal-slide { min-width: 100%; flex-shrink: 0; }
.modal-slide img { width: 100%; min-height: 290px; object-fit: cover; display: block; }
.modal-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.55); color: #fff; border: none; width: 28px; height: 28px; cursor: pointer; font-size: 1.1rem; z-index: 10; display: flex; align-items: center; justify-content: center; }
.modal-arrow-left { left: 0; }
.modal-arrow-right { right: 0; }
.modal-dots { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.modal-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: background 0.2s; }
.modal-dot.active { background: #fff; }
.release-modal-info { padding: 18px 20px; display: flex; flex-direction: column; }
.release-modal-artist { font-family: 'Blackmoor', serif; font-size: 1.4rem; color: #0a1628; margin-bottom: 2px; line-height: 1.2; }
.release-modal-album { font-size: 0.88rem; color: #2a3a55; font-style: italic; margin-bottom: 3px; }
.release-modal-date { font-size: 0.9rem; color: #4a5a75; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #b8c8d8; }
.release-modal-desc { font-size: 1.15rem; line-height: 1.75; color: #1a2a3a; font-family: Arial, Helvetica, sans-serif; white-space: pre-wrap; flex: 1; }
.modal-close-btn { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.6); color: #fff; border: none; width: 26px; height: 26px; cursor: pointer; font-size: 0.78rem; z-index: 20; display: flex; align-items: center; justify-content: center; }

/* ── TEXT PAGES ── */
.text-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #0d1a2e;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255,255,255,0.18);
  border-radius: 6px;
  padding: 20px 26px;
}
.text-content h3 { font-weight: 700; color: #0a1628; margin: 1.2rem 0 0.3rem; font-size: 1.05rem; }
.text-content ul { margin-left: 1.5rem; margin-top: 0.4rem; line-height: 2; }
.text-content a { color: #1a3a7a; text-decoration: underline; }

/* ── SHOP — matches site design ── */
/* Override shop.css dark theme to match the blue/grey site */
.filter-bar {
  background: rgba(80, 100, 130, 0.6) !important;
  border-bottom: 1px solid rgba(0,0,0,0.2) !important;
  backdrop-filter: blur(4px);
}

.filter-label { color: #1a1a2e !important; }

.filter-btn {
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(60,80,120,0.4) !important;
  color: #1a1a2e !important;
}
.filter-btn:hover { background: rgba(255,255,255,0.3) !important; border-color: rgba(30,60,100,0.6) !important; }
.filter-btn.active { background: rgba(30,50,100,0.5) !important; border-color: rgba(30,60,140,0.7) !important; color: #fff !important; }

.product-card {
  background: rgba(255,255,255,0.12) !important;
  border: none !important;
}
.product-card:hover { background: rgba(255,255,255,0.22) !important; }

.card-title { color: #0d1a2e !important; }
.card-cat { color: #2a4a6a !important; }
.card-desc { color: #2a3a4a !important; }
.card-price { color: #0a2a6a !important; }

.card-footer { border-top: 1px solid rgba(60,80,110,0.3) !important; }

.card-add {
  border: 1px solid rgba(30,60,120,0.4) !important;
  color: #1a2a4a !important;
  background: none !important;
}
.card-add:hover { background: rgba(30,60,120,0.2) !important; color: #0a1628 !important; border-color: rgba(30,60,140,0.7) !important; }

.card-img { background: rgba(0,0,0,0.15) !important; }
.card-img-placeholder { color: rgba(30,60,100,0.3) !important; }

/* Loading msg */
.loading-msg { background: transparent !important; color: #2a3a55 !important; }

/* Empty state */
.empty-state { background: transparent !important; color: #2a3a55 !important; }

/* Cart sidebar keeps dark theme (it's an overlay, looks fine dark) */

/* Modal keeps dark theme */

/* Checkout back link */
.back-link { color: #2a3a55 !important; }
.back-link:hover { color: #0a1628 !important; }

/* ── FOOTER ── */
.site-footer {
  background: rgba(0,0,0,0.55);
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
}
.site-footer a { font-size: 0.72rem; color: #aabccc; letter-spacing: 0.03em; transition: color 0.2s; white-space: nowrap; }
.site-footer a:hover { color: #ffffff; }
.site-footer a.footer-widerruf {
  color: #0a2a6a; background: #e8eef5; border: 1px solid #aabccc;
  padding: 2px 11px; border-radius: 3px; font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.site-footer a.footer-widerruf:hover { background: #ffffff; color: #0a2a6a; }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(10,22,40,0.97);
  border-top: 1px solid rgba(30,100,160,0.4);
  z-index: 900;
  padding: 12px 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
}
.cookie-banner p { flex: 1; font-size: 0.77rem; color: #8aaccc; line-height: 1.5; min-width: 200px; }
.cookie-banner a { color: #7dd8f0; text-decoration: underline; }
.cookie-banner-buttons { display: flex; gap: 8px; }
.cookie-btn {
  font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 6px 13px; border: 1px solid #2a4a7a; cursor: pointer;
  background: none; color: #8aaccc; white-space: nowrap; transition: all 0.2s;
  font-family: Arial, sans-serif;
}
.cookie-btn:hover { border-color: #7dd8f0; color: #7dd8f0; }
.cookie-btn.accept { background: #1a4a8a; color: #fff; border-color: #1a4a8a; }
.cookie-btn.accept:hover { background: #2a5a9a; }

.cookie-prefs-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 950; display: none; align-items: center; justify-content: center; }
.cookie-prefs-overlay.open { display: flex; }
.cookie-prefs-modal { background: #dce5f0; border: 1px solid #b0c0d0; width: min(500px, 96vw); max-height: 90vh; overflow-y: auto; padding: 1.8rem; }
.cookie-prefs-title { font-size: 1rem; font-weight: 700; color: #0a1628; margin-bottom: .7rem; }
.cookie-prefs-text { font-size: .77rem; color: #3a4a6a; line-height: 1.6; margin-bottom: 1.1rem; }
.cookie-prefs-btns { display: flex; gap: 8px; margin-bottom: 1.2rem; }
.cookie-prefs-btns .cookie-btn { color: #0a1628; border-color: #b0c0d0; }
.cookie-prefs-btns .cookie-btn:hover { border-color: #1a4a8a; color: #1a4a8a; }
.cookie-option { border-top: 1px solid #c0cdd8; padding: .9rem 0; }
.cookie-option-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .3rem; }
.cookie-option-label { font-size: .8rem; font-weight: 700; color: #0a1628; }
.cookie-option-always { font-size: .68rem; color: #1a4a8a; }
.cookie-option-desc { font-size: .73rem; color: #3a4a6a; line-height: 1.6; }
.cookie-toggle { display: flex; align-items: center; gap: 5px; }
.cookie-toggle input[type=checkbox] { accent-color: #1a4a8a; width: 15px; height: 15px; cursor: pointer; }
.cookie-prefs-close-btn { display: flex; justify-content: flex-end; gap: 8px; margin-top: 1.3rem; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .site-nav a img { height: 26px; }
  .site-nav a { padding: 4px 9px; }
  .header-logo img { height: 60px; }
  .site-header { min-height: 100px; padding: 14px 12px 12px; }
  .release-modal { grid-template-columns: 1fr; }
  .release-modal-gallery { min-height: 220px; }
  .content-inner { padding: 14px 10px 30px; }
  .cart-toggle-header { position: static; margin: 6px auto 0; }
}


/* =============================================
   SHOP STYLES — passt zum Site-Design
   Blau-grau, helle Karten, gleiche Optik
   ============================================= */

/* ── FILTER BAR ── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 16px;
  background: rgba(50, 70, 100, 0.55);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e0e8f0;
  margin-right: 4px;
}

.filter-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(180,200,220,0.4);
  color: #e0e8f0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: Arial, sans-serif;
}

.filter-btn:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(200,220,240,0.7);
}

.filter-btn.active {
  background: rgba(20,50,100,0.6);
  border-color: rgba(100,160,220,0.7);
  color: #fff;
}

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(187px, 1fr));
  gap: 14px;
  background: transparent;
  padding: 14px;
  flex: 1;
  align-items: start;
}

.loading-msg {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem;
  font-size: 0.82rem;
  color: #2a3a55;
  font-style: italic;
  background: transparent;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
  overflow: hidden;
}

.product-card:hover {
  background: rgba(255,255,255,0.28);
}

.card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(0,0,0,0.15);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-card:hover .card-img img { transform: scale(1.04); }

.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(30,60,100,0.2);
}

.card-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: #1a3a7a;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
}

.card-sold-out {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: #c0392b;
  font-family: 'Blackmoor', serif;
}

.card-body {
  padding: 10px 12px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-cat {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2a4a6a;
  margin-bottom: 3px;
}

.card-title {
  font-family: 'Blackmoor', Arial, serif;
  font-size: 1rem;
  color: #0a1628;
  line-height: 1.2;
  margin-bottom: 4px;
}

.card-desc {
  font-size: 0.78rem;
  color: #2a3a55;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid rgba(60,80,110,0.25);
}

.card-price {
  font-size: 0.9rem;
  color: #0a1628;
  font-weight: 700;
}

.card-add {
  background: rgba(20,50,100,0.2);
  border: 1px solid rgba(30,60,120,0.35);
  color: #0a1628;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: Arial, sans-serif;
}

.card-add:hover {
  background: rgba(20,50,100,0.4);
  border-color: rgba(30,60,140,0.6);
}

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #2a3a55;
  background: transparent;
}

.empty-vinyl { font-size: 3rem; opacity: 0.25; margin-bottom: 1rem; }

/* ── CART SIDEBAR ── */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.cart-overlay.visible { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  right: -420px; top: 0; bottom: 0;
  width: min(420px, 100vw);
  background: #1a2a3a;
  border-left: 1px solid rgba(60,100,160,0.3);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
}
.cart-sidebar.open { right: 0; }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(60,100,160,0.3);
}

.cart-header h2 {
  font-family: 'Blackmoor', serif;
  font-size: 1.5rem;
  color: #e0e8f0;
  letter-spacing: 0.04em;
}

.cart-close {
  background: none;
  border: 1px solid rgba(100,140,180,0.3);
  color: #8aaccc;
  width: 28px; height: 28px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s;
}
.cart-close:hover { border-color: #7dd8f0; color: #7dd8f0; }

.cart-items { flex: 1; overflow-y: auto; padding: 0.8rem; }

.cart-empty-msg {
  text-align: center;
  color: #6a8aaa;
  padding: 2.5rem 1rem;
  font-size: 0.82rem;
  font-style: italic;
}

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(60,100,160,0.2);
  align-items: start;
}

.cart-item-img {
  width: 56px; height: 56px;
  object-fit: cover;
  background: rgba(0,0,0,0.2);
  display: block;
}

.cart-item-title {
  font-size: 0.85rem;
  color: #e0e8f0;
  margin-bottom: 3px;
  font-family: 'Blackmoor', serif;
}

.cart-item-price { font-size: 0.72rem; color: #8aaccc; }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.cart-item-qty button {
  background: none;
  border: 1px solid rgba(100,140,180,0.3);
  color: #8aaccc;
  width: 20px; height: 20px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s;
}
.cart-item-qty button:hover { border-color: #7dd8f0; color: #7dd8f0; }
.cart-item-qty span { font-size: 0.75rem; color: #e0e8f0; min-width: 14px; text-align: center; }

.cart-item-remove {
  background: none; border: none;
  color: #6a8aaa; cursor: pointer; font-size: 0.72rem;
  transition: color 0.2s;
}
.cart-item-remove:hover { color: #c0392b; }

.cart-footer {
  padding: 1rem 1.2rem;
  border-top: 1px solid rgba(60,100,160,0.3);
  background: rgba(10,20,35,0.6);
}

.cart-shipping { margin-bottom: 0.8rem; }

.cart-shipping label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6a8aaa;
  display: block;
  margin-bottom: 4px;
}

.cart-shipping select {
  width: 100%;
  background: rgba(20,40,70,0.8);
  border: 1px solid rgba(60,100,160,0.3);
  color: #e0e8f0;
  font-size: 0.78rem;
  padding: 5px 8px;
  cursor: pointer;
}

.cart-summary { margin-bottom: 0.8rem; }

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 0.72rem;
  color: #6a8aaa;
  border-bottom: 1px solid rgba(60,100,160,0.15);
}
.summary-row small { font-size: 0.58rem; margin-left: 4px; }
.summary-row.total {
  padding-top: 6px;
  border-bottom: none;
  color: #e0e8f0;
  font-size: 0.88rem;
  font-weight: 700;
}
.summary-row.total span:last-child { color: #7dd8f0; }

.btn-checkout {
  display: block;
  width: 100%;
  background: #1a4a8a;
  color: #fff;
  font-family: 'Blackmoor', Arial, serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.8rem;
  transition: background 0.2s;
  margin-bottom: 0.6rem;
  border: none;
  cursor: pointer;
}
.btn-checkout:hover { background: #2a5a9a; color: #fff; }

.cart-legal {
  font-size: 0.6rem;
  color: #4a6a8a;
  text-align: center;
  line-height: 1.6;
}
.cart-legal a { color: #6a9acc; text-decoration: underline; }

/* ── PRODUCT MODAL ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 300;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.visible { opacity: 1; pointer-events: all; }

.product-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  z-index: 301;
  background: #dce5f0;
  border: 1px solid #b0c0d0;
  width: min(860px, 96vw);
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 290px 1fr;
  opacity: 0; pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.product-modal.open {
  opacity: 1; pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 0.8rem; right: 0.8rem;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(100,140,180,0.3);
  color: #fff;
  width: 28px; height: 28px;
  cursor: pointer; z-index: 10;
  font-size: 0.72rem;
  transition: all 0.2s;
}
.modal-close:hover { border-color: #7dd8f0; }

.modal-gallery {
  background: #111;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}
.modal-gallery .modal-slider-wrap { position: absolute; inset: 0; overflow: hidden; }
.modal-gallery .modal-slides      { display: flex; transition: transform 0.4s ease; height: 100%; }
.modal-gallery .modal-slide       { min-width: 100%; flex-shrink: 0; height: 100%; }
.modal-gallery .modal-slide img   { width: 100%; height: 100%; object-fit: contain; display: block; }

.modal-info { padding: 1.6rem; display: flex; flex-direction: column; }

.modal-category {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #2a4a6a;
  margin-bottom: 4px;
  display: block;
}

.modal-info h2 {
  font-family: 'Blackmoor', serif;
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
  color: #0a1628;
}

.modal-price {
  font-size: 1.2rem;
  color: #1a3a7a;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.modal-desc {
  font-size: 0.88rem;
  color: #1a2a3a;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 0.8rem;
}

.modal-meta {
  font-size: 0.62rem;
  color: #4a6a8a;
  line-height: 2;
  border-top: 1px solid #b0c0d0;
  padding-top: 0.6rem;
  margin-bottom: 0.8rem;
}

.modal-qty {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.modal-qty button {
  background: rgba(20,50,100,0.15);
  border: 1px solid rgba(30,60,120,0.35);
  color: #0a1628;
  width: 32px; height: 32px;
  cursor: pointer; font-size: 1rem;
  transition: all 0.2s;
}
.modal-qty button:hover { background: rgba(20,50,100,0.3); }
.modal-qty span { font-size: 0.9rem; min-width: 20px; text-align: center; color: #0a1628; }

.btn-add-modal {
  background: #1a4a8a;
  color: #fff;
  border: none;
  font-family: 'Blackmoor', Arial, serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  padding: 0.8rem;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}
.btn-add-modal:hover { background: #2a5a9a; }
.btn-add-modal:disabled { background: #8aaccc; cursor: not-allowed; }

/* ── CHECKOUT ── */
.checkout-layout {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.5rem;
  align-items: start;
}

.checkout-section {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(100,140,180,0.3);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}

.checkout-section h2 {
  font-family: 'Blackmoor', serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(60,100,160,0.25);
  color: #0a1628;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group.full { grid-column: 1/-1; }

.form-group label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2a3a55;
}
.form-group label .req { color: #c0392b; }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(60,100,160,0.3);
  color: #0a1628;
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  padding: 0.5rem 0.7rem;
  width: 100%;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: #1a4a8a; background: rgba(255,255,255,0.7); }
.form-group input.error { border-color: #c0392b; }
.form-group textarea { resize: vertical; min-height: 70px; }

.legal-box { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 0.8rem; }
.legal-box input[type=checkbox] { width: 15px; height: 15px; margin-top: 2px; accent-color: #1a4a8a; flex-shrink: 0; }
.legal-box label { font-size: 0.72rem; color: #1a2a3a; line-height: 1.6; }
.legal-box a { color: #1a3a7a; text-decoration: underline; }

.widerruf-box {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(30,60,120,0.25);
  padding: 1rem;
  font-size: 0.7rem;
  color: #2a3a55;
  line-height: 1.75;
  margin-top: 1rem;
}
.widerruf-box strong { color: #0a1628; display: block; margin-bottom: 4px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }

.order-summary {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(100,140,180,0.3);
  padding: 1.2rem;
  position: sticky;
  top: 20px;
}

.order-summary h2 {
  font-family: 'Blackmoor', serif;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(60,100,160,0.25);
  color: #0a1628;
}

.order-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.6rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(60,100,160,0.15);
  align-items: center;
}
.order-item img { width: 48px; height: 48px; object-fit: cover; background: rgba(0,0,0,0.1); }
.order-item-name { font-size: 0.82rem; color: #0a1628; font-weight: 700; }
.order-item-qty { font-size: 0.62rem; color: #4a6a8a; }
.order-item-price { font-size: 0.78rem; color: #1a3a7a; font-weight: 700; }

.order-totals { margin-top: 0.8rem; }
.order-row { display: flex; justify-content: space-between; padding: 3px 0; font-size: 0.72rem; color: #4a6a8a; border-bottom: 1px solid rgba(60,100,160,0.12); }
.order-row.grand { border-bottom: none; font-size: 0.95rem; color: #0a1628; padding-top: 6px; }
.order-row.grand span:last-child { color: #1a3a7a; font-weight: 700; }

#paypal-button-container { margin-top: 1.2rem; }
.paypal-note { font-size: 0.62rem; color: #4a6a8a; text-align: center; margin-top: 0.6rem; line-height: 1.6; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #2a3a55;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 1.2rem 1.5rem;
  transition: color 0.2s;
}
.back-link:hover { color: #0a1628; }

.checkout-hero { padding: 1.5rem 1.5rem 0; }
.checkout-hero h1 {
  font-family: 'Blackmoor', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 4px;
  color: #0a1628;
}
.checkout-hero p { font-size: 0.7rem; color: #2a3a55; letter-spacing: 0.08em; text-transform: uppercase; }

/* Success overlay */
#successOverlay {
  background: rgba(200,220,240,0.97) !important;
}
#successOverlay h1 { color: #0a1628 !important; font-family: 'Blackmoor', serif !important; }
#successOverlay p { color: #2a3a55 !important; }
#successOverlay a { background: #1a4a8a !important; color: #fff !important; }

@media (max-width: 700px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .product-modal { grid-template-columns: 1fr; }
  .modal-gallery { aspect-ratio: 1; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
