/* ==========================================================================
   MANGA VAULT (漫画金庫) - US E-COMMERCE AD LANDING PAGE STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800;900&family=Noto+Sans+JP:wght@700;900&display=swap');

:root {
  /* Color Palette - Modern Tokyo Dark Aesthetic */
  --bg-dark: #090a0f;
  --bg-card: #11131c;
  --bg-card-hover: #181b28;
  --bg-panel: #161924;
  --glass-bg: rgba(22, 25, 36, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);

  --primary: #ff2a5f;
  --primary-hover: #ff4775;
  --primary-glow: rgba(255, 42, 95, 0.35);

  --accent-cyan: #00f0ff;
  --accent-purple: #9d4edd;
  --accent-gold: #ffb703;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-darker: #64748b;
  --border-light: rgba(255, 255, 255, 0.1);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px rgba(255, 42, 95, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.kanji-sub {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 0.1em;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #b91c1c, #ff2a5f, #7928ca);
  color: #ffffff;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  position: relative;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(255, 42, 95, 0.3);
}

.announcement-bar .badge {
  background: rgba(255, 255, 255, 0.25);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent-purple));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.logo-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.currency-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-trigger {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 42, 95, 0.15), rgba(121, 40, 202, 0.15));
  border: 1px solid rgba(255, 42, 95, 0.3);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition-fast);
}

.cart-trigger:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(255, 42, 95, 0.25), rgba(121, 40, 202, 0.25));
  box-shadow: 0 4px 20px var(--primary-glow);
}

.cart-count-badge {
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 900;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section (Ad Focused) */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at 70% 30%, rgba(255, 42, 95, 0.15) 0%, rgba(121, 40, 202, 0.1) 40%, transparent 70%),
    radial-gradient(circle at 10% 80%, rgba(0, 240, 255, 0.08) 0%, transparent 50%);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 42, 95, 0.12);
  border: 1px solid rgba(255, 42, 95, 0.3);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.6;
}

/* Flash Offer Box inside Hero */
.offer-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 42, 95, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.offer-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
}

.offer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.offer-title {
  font-size: 1rem;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.countdown {
  display: flex;
  gap: 0.5rem;
}

.time-unit {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  border: 1px solid var(--border-light);
}

.offer-perks {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 600;
}

.offer-perks span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #d90429);
  color: white;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 25px var(--primary-glow);
  transition: var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 42, 95, 0.5);
  background: linear-gradient(135deg, #ff4775, #ef233c);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: white;
  padding: 1rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.avatar-group {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
  margin-left: -8px;
  background-size: cover;
  background-position: center;
}

.avatar:first-child {
  margin-left: 0;
}

/* Visual Showcase Stack in Hero */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.book-stack-container {
  position: relative;
  width: 360px;
  height: 480px;
  perspective: 1000px;
}

.hero-book-card {
  position: absolute;
  width: 280px;
  height: 410px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid var(--glass-border);
}

.hero-book-card.main {
  z-index: 3;
  transform: rotate(-3deg) translateZ(0);
}

.hero-book-card.secondary {
  z-index: 2;
  transform: rotate(8deg) translateX(50px) translateY(20px);
  opacity: 0.85;
}

.hero-book-card.tertiary {
  z-index: 1;
  transform: rotate(-12deg) translateX(-40px) translateY(40px);
  opacity: 0.65;
}

.book-stack-container:hover .hero-book-card.main {
  transform: rotate(0deg) scale(1.03);
}

.book-stack-container:hover .hero-book-card.secondary {
  transform: rotate(12deg) translateX(70px) translateY(10px);
}

.book-stack-container:hover .hero-book-card.tertiary {
  transform: rotate(-16deg) translateX(-60px) translateY(30px);
}

/* Trust Features Bar */
.trust-bar {
  background: var(--bg-panel);
  padding: 2rem 0;
  border-y: 1px solid var(--border-light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 42, 95, 0.1);
  border: 1px solid rgba(255, 42, 95, 0.2);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.trust-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Store Filter & Catalog Section */
.catalog-section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.section-tag {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Genre Filter Tabs & Controls */
.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  background: var(--bg-card);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.genre-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.search-sort-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 0.6rem 1rem 0.6rem 2.4rem;
  border-radius: var(--radius-full);
  color: white;
  font-size: 0.85rem;
  outline: none;
  width: 220px;
  transition: var(--transition-fast);
}

.search-input-wrapper input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.sort-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 42, 95, 0.15);
  border-color: rgba(255, 42, 95, 0.3);
}

.card-image-wrap {
  position: relative;
  height: 310px;
  width: 100%;
  overflow: hidden;
  background: #0d0e14;
  border-bottom: 1px solid var(--glass-border);
}

.card-badge-group {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 5;
}

.badge-tag {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.badge-tag.bestseller {
  background: linear-gradient(135deg, #ff9f0a, #ff3b30);
}

.badge-tag.boxset {
  background: linear-gradient(135deg, #bf5af2, #5e5ce6);
}

.badge-tag.limited {
  background: linear-gradient(135deg, #30d158, #0a84ff);
}

.quick-view-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 10, 15, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 4;
}

.product-card:hover .quick-view-overlay {
  opacity: 1;
}

.btn-quick-view {
  background: white;
  color: #000000;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  transition: var(--transition-fast);
}

.btn-quick-view:hover {
  background: var(--primary);
  color: white;
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-genre {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.card-author {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.rating-stars {
  letter-spacing: -2px;
}

.review-count {
  color: var(--text-darker);
  font-weight: 500;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price-box {
  display: flex;
  flex-direction: column;
}

.current-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
}

.original-price {
  font-size: 0.8rem;
  color: var(--text-darker);
  text-decoration: line-through;
}

.btn-add-cart {
  background: rgba(255, 42, 95, 0.12);
  border: 1px solid rgba(255, 42, 95, 0.3);
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.btn-add-cart:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

/* SVG Book Cover Render styling */
.manga-svg-cover {
  width: 100%;
  height: 100%;
  display: block;
}

/* Feature Spotlight Bundle Section */
.bundle-spotlight {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #13111c 100%);
}

.bundle-card {
  background: linear-gradient(135deg, rgba(22, 25, 36, 0.9), rgba(30, 16, 40, 0.9));
  border: 1px solid rgba(255, 42, 95, 0.3);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.bundle-info h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.bundle-price-tag {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 1.5rem 0;
}

.bundle-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent-cyan);
}

.bundle-save-badge {
  background: var(--primary);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
}

/* Customer Reviews Section */
.reviews-section {
  padding: 5rem 0;
  background: var(--bg-panel);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.author-details h5 {
  font-size: 0.95rem;
}

.verified-buyer {
  font-size: 0.75rem;
  color: #30d158;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.review-content {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Drawer / Slide-Over Shopping Cart */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border-light);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-close-cart {
  color: var(--text-muted);
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-close-cart:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Shipping Progress Bar */
.shipping-progress-box {
  background: rgba(255, 42, 95, 0.08);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 1.5rem;
}

.shipping-progress-text {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.progress-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  width: 0%;
  transition: width 0.4s ease;
}

/* Cart Items Container */
.cart-items-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-empty-state {
  text-align: center;
  margin: auto 0;
  color: var(--text-muted);
}

.cart-empty-state i {
  font-size: 3.5rem;
  color: var(--text-darker);
  margin-bottom: 1rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  align-items: center;
}

.cart-item-img {
  width: 60px;
  height: 85px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.cart-item-volume {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.4rem;
}

.qty-btn {
  color: white;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.qty-val {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}

.btn-remove-item {
  color: var(--text-darker);
  margin-left: 0.5rem;
  transition: color 0.2s;
}

.btn-remove-item:hover {
  color: #ff3b30;
}

/* Cart Footer & Summary */
.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-panel);
}

.promo-input-box {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.promo-input-box input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-md);
  color: white;
  font-size: 0.85rem;
  outline: none;
  text-transform: uppercase;
}

.btn-apply-promo {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0 1rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 700;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.cart-summary-row.total {
  font-size: 1.2rem;
  font-weight: 900;
  color: white;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.btn-checkout {
  width: 100%;
  background: linear-gradient(135deg, #30d158, #10b981);
  color: #000000;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-weight: 900;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
  box-shadow: 0 4px 20px rgba(48, 209, 88, 0.3);
  transition: var(--transition-fast);
}

.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(48, 209, 88, 0.45);
}

/* Modals (Quick View & Checkout) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from {
    transform: scale(0.95) translateY(10px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.btn-close-modal {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  color: var(--text-muted);
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-fast);
}

.btn-close-modal:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Quick View Detail Layout */
.quick-view-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: 2.5rem;
}

.qv-image-side {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.qv-details-side h2 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.qv-specs-table {
  width: 100%;
  font-size: 0.85rem;
  margin: 1.2rem 0;
  border-collapse: collapse;
}

.qv-specs-table td {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.qv-specs-table td:first-child {
  color: var(--text-muted);
  width: 40%;
}

.qv-volume-picker {
  margin: 1.2rem 0;
}

.volume-chips {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.chip-btn {
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
}

.chip-btn.active {
  border-color: var(--primary);
  background: rgba(255, 42, 95, 0.15);
  color: var(--primary);
}

/* Checkout Form Layout */
.checkout-modal-body {
  padding: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.form-group input,
.form-group select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: white;
  font-size: 0.9rem;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
}

.express-checkout-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.express-btn {
  padding: 0.8rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.express-btn.apple {
  background: #ffffff;
  color: #000000;
}

.express-btn.paypal {
  background: #ffc439;
  color: #003087;
}

.express-btn.shop {
  background: #5a31f4;
  color: #ffffff;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--primary);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 20px var(--primary-glow);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Footer */
footer {
  background: #050608;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-light);
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-title {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: white;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-darker);
}

.payment-icons {
  display: flex;
  gap: 0.75rem;
  font-size: 1.5rem;
  color: var(--text-muted);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-subtitle {
    margin: 0 auto 2rem;
  }

  .hero-visual {
    display: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bundle-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .quick-view-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .express-checkout-buttons {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}