:root {
  --primary-color: #0e2a5a;
  --hero-bg: #f2f4f8;
  --text-primary: #0e2a5a;
  --text-secondary: #5c677d;
  --bg-primary: #ffffff;
  --bg-secondary: #f2f4f8;
  --accent-color: #3b5bdb;
  --cta-gradient: linear-gradient(90deg, #3b5bdb, #5c7cfa);
  --border-color: #e2e8f0;
  --success: #22c55e;
  --error: #ef4444;

  /* Typography */
  --font-main: "Inter", sans-serif;
  --font-display: "Inter", sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Misc */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --transition-smooth: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-base);
}

/* Hero Section */
.hero {
  min-height: 85vh;
  background: var(--hero-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 140px;
  position: relative;
  overflow: hidden;
}

/* Trust Bar Section */
.trust-bar-section {
  background: var(--bg-primary);
  padding: 2.5rem 5%;
  border-bottom: 1px solid var(--border-color);
}

.trust-bar-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--border-color);
  transition: background 0.2s ease;
}

.trust-item:last-child {
  border-right: none;
}

.trust-item:hover {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.trust-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  line-height: 1;
}

.trust-text h4 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary-color);
  margin: 0 0 0.2rem 0;
  text-transform: uppercase;
}

.trust-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .trust-bar-container {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
  }

  .trust-item:last-child {
    border-bottom: none;
  }
}

.hero-content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: 72px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
  max-width: 900px;
}

.hero p {
  font-size: 20px;
  font-weight: 400;
  color: #5c677d;
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 40px;
}

.cta-button {
  display: inline-block;
  padding: 18px 40px;
  background: var(--cta-gradient);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 14px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 91, 219, 0.3);
}

/* Feature Cards Section */
.feature-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
  max-width: 1100px;
  margin: 120px auto 0;
  text-align: left;
}

.feature-card {
  flex: 1;
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card-icon {
  font-size: 24px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0e2a5a;
  margin: 0;
}

.feature-card p {
  font-size: 14px;
  color: #5c677d;
  line-height: 1.5;
  margin: 0;
}

/* =========================================
   PRODUCTS SECTION — Premium Redesign
   ========================================= */
.products-section {
  background: #f4f6fa;
  padding: 120px 5%;
  text-align: center;
}

.section-header-wrapper {
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-title {
  font-size: clamp(2.75rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #0e2a5a;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.section-title-line {
  width: 60px;
  height: 3px;
  background: var(--accent-color, #3b82f6);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.section-intro-text {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* Category Cards Grid */
.category-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-nav-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  text-align: left;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.category-nav-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(14, 42, 90, 0.1);
}

.card-featured {
  box-shadow: 0 20px 60px rgba(14, 42, 90, 0.12);
}

.card-featured:hover {
  box-shadow: 0 35px 80px rgba(14, 42, 90, 0.16);
}

/* Badge */
.card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
  z-index: 2;
}

/* Image Area */
.category-card-icon {
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: 2rem;
  border-radius: 18px;
  overflow: hidden;
  background: #f4f6fa;
}

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

.category-nav-card:hover .category-card-icon img {
  transform: scale(1.03);
}

/* Card Body */
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-nav-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0e2a5a;
  margin-bottom: 0.6rem;
}

.category-nav-card p {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex: 1;
}

/* CTA Button */
.card-cta-btn {
  display: block;
  width: 100%;
  height: 52px;
  background: #0e2a5a;
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
  font-family: inherit;
  letter-spacing: 0.02em;
  /* Mobile: instant response, no tap flash */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  pointer-events: none; /* card handles click — button is visual only */
}

.card-cta-btn:hover {
  background: #0a1e42;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 42, 90, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .products-section {
    padding: 80px 20px;
  }

  .category-cards-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .category-nav-card {
    padding: 24px;
  }

  .section-header-wrapper {
    margin-bottom: 48px;
  }
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

header.scrolled {
  height: 70px;
}

.header-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-img {
  height: 44px;
  width: auto;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #0e2a5a;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

nav a {
  font-size: 16px;
  font-weight: 500;
  color: #0e2a5a;
  transition: opacity 0.3s ease;
}

nav a:hover {
  opacity: 0.7;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 100;
}

.cart-toggle {
  cursor: pointer;
  color: #0e2a5a;
  font-size: 22px;
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}

.cart-toggle:hover {
  opacity: 0.7;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent-color);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: var(--transition-base);
  pointer-events: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: none;
    align-items: center;
    gap: 20px;
    z-index: 999;
    pointer-events: none;
  }
  nav.active {
    display: flex;
    pointer-events: all;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Typography Refinements */
h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Category Selection (Inside Modal) */
.category-selection-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.category-selection-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.category-selection-card:hover {
  background: white;
  border-color: var(--accent-color);
  transform: translateY(-5px);
}

.cat-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Category Pages */
.category-page {
  min-height: 100vh;
  padding: 8rem 5% 5rem;
  background: var(--bg-primary);
}

.category-page-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Examples Grid */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.example-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
}

.example-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.example-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-secondary);
  overflow: hidden;
}

.example-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.example-card:hover .example-image img {
  transform: scale(1.05);
}

/* Footer - Minimalist & Clean Alignment Fix */
footer {
  background: var(--primary-color);
  padding: 5rem 0 3rem;
  color: white;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a,
.social-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-base);
}

.footer-links a:hover,
.social-links a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* WhatsApp Button - Premium Floating CTA */

.example-info {
  padding: 1.5rem;
}

.example-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-badge {
  background: var(--primary-color);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.example-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Magazine Showcase Styles */
.magazine-showcase {
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.magazine-cover-large {
  position: relative;
  background: #fff;
  border-radius: 24px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.magazine-cover-large:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

.cta-button {
  display: inline-block;
  padding: 1.25rem 3.5rem;
  background: #ffffff;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.magazine-badge {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: #000;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 2px;
  z-index: 10;
}

/* Custom Designer Styles */
.custom-design-section {
  padding: 5rem 5%;
  background: var(--bg-secondary);
}

.designer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.designer-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f0f0f0;
  padding: 2rem;
  border-radius: var(--radius-md);
}

.canvas-wrapper {
  position: relative;
  box-shadow: var(--shadow-xl);
}

#designCanvas {
  background: white;
  max-width: 100%;
  height: auto;
}

.designer-tools {
  padding: 1rem;
}

.tool-group {
  margin-bottom: 2rem;
}

.text-input {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  font-family: inherit;
  transition: var(--transition-base);
}

.color-option {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.color-option.active {
  transform: scale(1.2);
  box-shadow:
    0 0 0 2px white,
    0 0 0 4px var(--primary-color);
}

/* Custom CTA Section */
.custom-cta-section {
  padding: 4rem var(--spacing-md);
  background: #0f172a;
  color: white;
  text-align: center;
  margin-top: 2rem;
}

.custom-cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.custom-cta-content p {
  color: #ccc;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button.large {
  font-size: 1.2rem;
  padding: 1.2rem 4rem;
  background: white;
  color: black;
}
.cta-button.large:before {
  background: #e2e2e2;
}

/* Modal */
.designer-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  overflow-y: auto;
  padding: 0;
}

.modal-content {
  background: white;
  max-width: 1100px;
  margin: 2rem auto;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  width: 95%;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 4rem 1.25rem 2rem;
    margin: 0;
    width: 100%;
    border-radius: 0;
    min-height: 100vh;
  }
}

@media (max-width: 768px) {
  .modal-content {
    width: 100%;
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
    padding: 4rem 1.5rem 2rem;
  }
  .designer-modal {
    padding: 0;
  }
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-base);
  z-index: 10;
}

.close-modal:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}

.designer-container-modal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .designer-container-modal {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }
  .canvas-wrapper {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Product Detail Page */
.product-detail {
  display: none;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.product-detail.active {
  display: block;
}

/* =========================================
   PRODUCT DETAIL PAGE (MINIMAL DTC STYLE)
   ========================================= */
.product-detail {
  display: none;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
  padding: 8rem 5% 5rem;
  background: #ffffff; /* Pure white background */
}

.product-detail.active {
  display: block;
}

.detail-header {
  max-width: 1200px;
  margin: 0 auto;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  background: transparent;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
  font-size: 1rem;
  color: var(--text-secondary);
}

.back-button:hover {
  opacity: 0.7;
  color: var(--primary-color);
}

.detail-content {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Images Area (Left Side) */
.detail-images {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.main-image {
  width: 100%;
  aspect-ratio: 1;
  background: #f8fafc; /* Very light subtle background */
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
  /* Removed all heavy borders and shadows */
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none; /* Firefox */
}

.thumbnail-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.thumbnail {
  flex: 0 0 80px;
  height: 80px;
  background: #f8fafc;
  border: 1px solid transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
}

.thumbnail:hover {
  opacity: 0.8;
}

.thumbnail.active {
  border-color: var(--primary-color);
  background: #ffffff;
}

/* Info Area (Right Side) */
.detail-info h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.detail-price {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Mobile Adjustments for Layout */
@media (max-width: 900px) {
  .detail-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .detail-images {
    position: relative;
    top: 0;
  }

  .product-detail {
    padding: 6rem 5% 3rem;
  }
}

@media (max-width: 480px) {
  .detail-info h1 {
    font-size: 1.75rem;
  }

  .thumbnail {
    flex: 0 0 60px;
    height: 60px;
  }
}

/* Utilities & Hidden */
.hidden {
  display: none !important;
}

.no-scroll {
  overflow: hidden;
}
/* ==========================================
   LOADER — Full-screen overlay
   ========================================== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

/* Once JS adds .fade-out, immediately stop intercepting clicks */
.loader.fade-out {
  opacity: 0;
  pointer-events: none !important;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader-logo {
  width: 150px;
  height: auto;
  animation: logoPulse 2s ease-in-out infinite;
}

.loader-dots {
  display: flex;
  gap: 0.5rem;
}

.loader-dots span {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: dotBounce 1.4s infinite ease-in-out both;
}

.loader-dots span:nth-child(1) {
  animation-delay: -0.32s;
}
.loader-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes logoPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes dotBounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* Magazine Designer Specific Styles */
.magazine-progress {
  margin-bottom: 2rem;
  background: var(--bg-secondary);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.progress-bar-container {
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
  width: 0%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mag-page-content {
  min-height: 400px;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.3s ease;
}

.mag-input-group {
  margin-bottom: 1.5rem;
}

.mag-input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mag-image-upload-area {
  width: 100%;
  height: 200px;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}

.mag-image-upload-area:hover {
  border-color: var(--accent-color);
  background: #fff;
}

.mag-image-upload-area i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.mag-image-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.mag-image-upload-area.has-image .upload-placeholder {
  display: none;
}

.mag-image-upload-area.has-image .mag-image-preview {
  display: block;
}

.mag-nav-buttons button {
  min-width: 150px;
}

.mag-page-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.mag-page-header h3 {
  font-family: serif;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .mag-nav-buttons {
    flex-direction: column-reverse;
  }
  .mag-nav-buttons button {
    width: 100%;
  }
  .mag-page-content {
    min-height: auto;
  }
}

/* Category Hero & Utility Styles */
.category-hero-image {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 var(--spacing-sm);
}

.category-hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -15px rgba(11, 27, 77, 0.15);
  transition: var(--transition-smooth);
}

.category-hero-image:hover img {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -15px rgba(11, 27, 77, 0.25);
}

/* Designer Modal & Form Utilities */
.designer-modal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-label.primary {
  font-size: 1.1rem;
  color: var(--primary-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  text-transform: none;
}

.section-intro-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 1.5rem auto 4rem;
  line-height: 1.7;
}

/* How to Order Restoration */
.how-to-order {
  padding: 8rem 5%;
  background: #fdfdfd;
  text-align: center;
}

.steps-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  position: relative;
}

.step-item {
  background: white;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border-color: rgba(212, 175, 55, 0.1);
}

.step-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-color);
  color: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  transform: rotate(-5deg);
  box-shadow: 0 10px 20px rgba(11, 27, 77, 0.2);
}

.step-item h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.step-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.designer-tools-wrapper {
  padding: 0;
  display: none;
}

.color-options-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.summary-total-row {
  margin-top: 1.5rem;
  border-top: 1px dashed var(--border-color);
  padding-top: 1.5rem;
}

.summary-label-alt {
  color: var(--text-secondary);
  font-weight: 700;
}

.summary-value-alt {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .designer-modal-container {
    padding: 1.5rem 1rem;
  }
}

/* ==========================================
   ÖZEL TASARIM DESIGNER STYLES
   ========================================== */

/* Special Design UI Refinements */
.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--accent-light);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.label-icon {
  margin-right: 0.4rem;
  font-size: 1.1rem;
}

.ozel-tasarim-designer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .ozel-tasarim-designer {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ozel-preview-section {
    order: -1;
  }
}

.ozel-upload-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.upload-area {
  background: var(--bg-secondary);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}

.upload-area:hover {
  border-color: var(--accent-color);
  background: white;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.upload-area.has-image {
  border-style: solid;
  border-color: var(--accent-color);
}

.upload-area.dragover {
  border-color: var(--accent-color);
  background: linear-gradient(145deg, #e8f0fe 0%, #dbeafe 100%);
  transform: scale(1.02);
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.upload-icon {
  font-size: 3rem;
  opacity: 0.8;
}

.upload-placeholder p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.upload-hint {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.ozel-title-input {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ozel-price-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.price-label {
  font-weight: 600;
  color: var(--text-secondary);
}

.price-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-color);
}

/* Premium Sepete Ekle Button for Özel Tasarım */
.ozel-cta-button {
  width: 100%;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 15px rgba(11, 27, 77, 0.15),
    0 2px 4px rgba(11, 27, 77, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  /* Reliable touch interaction — no 300ms delay */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.ozel-cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}

.ozel-cta-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 25px rgba(11, 27, 77, 0.25),
    0 4px 10px rgba(11, 27, 77, 0.15);
  background: linear-gradient(135deg, #1a365d 0%, var(--primary-color) 100%);
}

.ozel-cta-button:hover::before {
  left: 100%;
}

.ozel-cta-button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(11, 27, 77, 0.2);
}

.ozel-cta-button:disabled {
  background: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Color Picker Styles */
.ozel-color-picker {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ozel-color-option {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
}

.ozel-color-option:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ozel-color-option.active {
  transform: scale(1.1);
  box-shadow: 0 0 0 3px var(--accent-color);
  z-index: 2;
}

.ozel-color-option.active::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1rem;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Tool Group Refinement */
.tool-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.ozel-preview-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 901px) {
  .ozel-preview-section {
    position: sticky;
    top: 120px; /* Increased top offset to avoid header overlap */
  }
}

.preview-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 0.5rem;
}

.notebook-preview {
  perspective: 2000px;
  padding: 2rem;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.03) 0%,
    transparent 70%
  );
  border-radius: var(--radius-lg);
}

.notebook-cover {
  width: 300px;
  height: 420px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.notebook-cover:hover {
  transform: rotateY(-5deg) rotateX(2deg) scale(1.02);
}

.notebook-spine {
  position: absolute;
  left: 0;
  top: 0;
  width: 15px;
  height: 100%;
  background: linear-gradient(to right, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  border-radius: 0 0 0 24px;
  transform: translateZ(-5px) rotateY(-30deg);
  transform-origin: right center;
}

.notebook-front {
  position: absolute;
  inset: 0;
  background: #1a1a1a;
  border-radius: 0 24px 24px 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow:
    15px 15px 40px rgba(0, 0, 0, 0.3),
    inset -1px 1px 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: background 0.5s ease;
}

.cover-image-container {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cover-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-emoji {
  font-size: 4rem;
  opacity: 0.5;
}

.cover-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cover-names {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: auto;
  min-height: 1.2em;
}

.cover-brand {
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 1rem;
}

.preview-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

@media (max-width: 600px) {
  .notebook-cover {
    width: 240px;
    height: 320px;
  }

  .cover-title {
    font-size: 1rem;
  }
}
/* Cropper Modal Styles */
#cropperModal .modal-content {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 90vw !important;
  width: 600px !important;
}

#cropperModal .modal-title {
  margin-bottom: 1.5rem;
  text-align: center;
}

.cropper-container {
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #f8fafc;
}

.cropper-controls {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.cropper-controls .back-button-small {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  padding: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-accent);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  transition: var(--transition-base);
}

.cropper-controls .back-button-small:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  #cropperModal .modal-content {
    padding: 1.5rem;
  }

  .cropper-controls {
    gap: 0.5rem;
  }

  .cropper-controls .back-button-small {
    width: 40px;
    height: 40px;
  }
}

/* Ensure cropper container doesn't exceed viewport height on small screens */
#cropperImage {
  display: block;
  max-width: 100%;
}

.payment-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  animation: fadeInBadge 0.5s ease;
}

@keyframes fadeInBadge {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Submission Styles */
.loader-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  margin-right: 0.5rem;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.category-cta-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#successModal .modal-content {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* Sub-page Content Styles */
.about-page,
.content-page {
  min-height: 80vh;
  padding: var(--spacing-xl) var(--spacing-md);
  max-width: 900px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  margin-top: 2rem;
}

.page-head.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--accent-color);
  border-radius: var(--radius-full);
}

.section-intro-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
  text-transform: uppercase;
}

.about-content,
.policy-content {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  margin-bottom: var(--spacing-lg);
}

.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.policy-section p,
.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.policy-section ul {
  list-style: none;
  padding-left: 0;
}

.policy-section ul li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.policy-section ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Responsive UI Fixes */
.color-picker {
  display: flex;
  flex-wrap: wrap; /* Fix overflow on mobile */
  gap: 0.8rem;
}

.selection-grid,
.style-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(130px, 1fr)
  ); /* Better stacking */
  gap: 0.8rem;
}

@media (max-width: 480px) {
  .selection-grid,
  .style-grid {
    grid-template-columns: 1fr;
  }

  .about-content,
  .policy-content {
    padding: 1.5rem;
  }
}

/* Designer Modal Adjustments */
.designer-modal .modal-content {
  max-width: 95%;
  width: 700px;
  padding: 1.5rem;
}

@media (max-width: 768px) {
  .designer-modal .modal-content {
    padding: 1rem;
  }

  .designer-container-modal {
    padding: 0;
  }
}

/* Cart Styles */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-toggle {
  position: relative;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  min-width: 44px;
  min-height: 44px;
}

.cart-toggle:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
}

.cart-icon {
  font-size: 1.5rem;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--accent-color);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* ==========================================
   REVAMPED CART MODAL (MODERN & MINIMAL)
   ========================================== */
.cart-modal-content {
  max-width: 600px !important;
  padding: 0 !important; /* Managed by steps */
  background: #ffffff;
}

.cart-step {
  padding: 2.5rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-align: center;
  letter-spacing: -0.02em;
}

/* Shipping Progress Bar */
.shipping-progress-container {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  border: 1px solid #edf2f7;
}

.progress-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.progress-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-color);
}

.progress-percentage {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-color);
  background: rgba(11, 27, 77, 0.05);
  padding: 2px 8px;
  border-radius: 6px;
}

.shipping-progress-bar-bg {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.shipping-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
  width: 0%;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 4px;
}

/* Cart Items */
.cart-items-list {
  margin-bottom: 2rem;
  padding-right: 0.5rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 20px;
  margin-bottom: 1rem;
  border: 1px solid #edf2f7;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.cart-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
  background: #f8fafc;
}

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

.cart-item-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.cart-item-price-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Quantity Control */
.qty-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f8fafc;
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.qty-btn {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: #f1f5f9;
}

.qty-value {
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 20px;
  text-align: center;
}

.cart-item-subtotal {
  font-weight: 800;
  color: var(--primary-color);
  min-width: 80px;
  text-align: right;
}

.remove-item-btn {
  color: #cbd5e1;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0.5rem;
}

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

/* Summary Row */
#cartSummarySection {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid #edf2f7;
  margin-top: 2rem;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.summary-total-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-total-row span:first-child {
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
}

.summary-total-row span:last-child {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.summary-total-row.main-total {
  padding-top: 1.25rem;
  margin-top: 0.5rem;
  border-top: 2px solid #e2e8f0;
}

.summary-total-row.main-total span:first-child {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 800;
}

.summary-total-row.main-total span:last-child {
  font-size: 2rem;
  color: #000;
  font-weight: 900;
}

/* Address Form Layout */
.cart-delivery-form .form-row {
  margin-bottom: 1rem;
}

.cart-delivery-form .text-input {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  color: var(--text-primary) !important;
}

.cart-delivery-form .text-input:focus {
  background: #fff !important;
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 4px rgba(11, 27, 77, 0.05) !important;
}

@media (max-width: 640px) {
  .cart-step {
    padding: 1.5rem;
  }
  .cart-item {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem;
  }
  .cart-item-img,
  .cart-item-img-placeholder {
    width: 60px;
    height: 60px;
  }
  .cart-item-subtotal {
    width: 100%;
    text-align: left;
    margin-top: 0.5rem;
  }
  .form-actions {
    flex-direction: column-reverse;
  }
}

.cart-item-img-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 1px solid #eee;
  flex-shrink: 0;
}

/* Premium Footer Styles */
.premium-footer {
  background-color: #0f2454; /* Solid dark navy */
  padding: 80px 5% 40px;
  color: #ffffff;
  font-family: var(--font-main);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
}

.brand-title {
  font-variant: small-caps;
}

.brand-description {
  color: #cbd5e1; /* Light grey */
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a,
.footer-links p {
  color: #cbd5e1; /* Light grey */
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  margin: 0;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.footer-bottom {
  text-align: center;
  padding-bottom: 20px;
}

.footer-bottom p {
  color: #94a3b8; /* Soft grey */
  font-size: 0.8rem;
  margin: 0;
}

/* Floating Chat Button */
.floating-chat-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #22c55e;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
  z-index: 9999;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.floating-chat-btn:hover {
  transform: scale(1.1);
}

.floating-chat-btn svg {
  width: 32px;
  height: 32px;
}

/* Footer Responsive Styles */
@media (max-width: 1024px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  header {
    height: 70px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 16px;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .feature-cards {
    flex-direction: column;
    margin-top: 60px;
    gap: 20px;
  }

  .feature-card {
    margin-bottom: 20px;
    text-align: center;
  }

  .floating-chat-btn {
    bottom: 20px;
    right: 20px;
  }
}

/* =========================================
   PREMIUM PRODUCT DETAILS SECTION (DESKTOP & MOBILE)
   ========================================= */

/* Desktop Base Layout: Split into 2 columns (Specs Left, Features Right) */
.premium-details-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin: 4rem 0;
  max-width: 1200px;
}

.premium-details-section h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}

.premium-details-section h3::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 4px;
}

/* 1. Specs Layout (Clean & Catchy) */
.specs-grid {
  display: flex;
  flex-direction: column;
}

.specs-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.spec-card {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.spec-card:hover {
  transform: translateY(-3px);
  background: #f1f5f9;
  border-color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.spec-icon {
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-color);
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.spec-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.spec-text strong {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-text span {
  font-size: 1.05rem;
  color: var(--primary-color);
  font-weight: 700;
}

/* 2. Features Layout (Clean & Catchy) */
.features-grid {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.features-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card {
  background: white;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.feature-card:hover {
  transform: translateX(4px);
  border-color: var(--accent-light);
  box-shadow: 0 4px 12px rgba(11, 27, 77, 0.05);
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card p {
  font-size: 1.05rem;
  color: var(--primary-color);
  line-height: 1.4;
  margin: 0;
  font-weight: 600;
}

/* =========================================
   MOBILE OPTIMIZATIONS (360px - 768px)
   ========================================= */
@media (max-width: 1024px) {
  .premium-details-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .premium-details-section {
    margin: 1.5rem 0;
    gap: 2.5rem;
  }

  .premium-details-section h3 {
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
  }

  /* Mobile Specs layout */
  .specs-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .spec-card {
    padding: 1rem 0.75rem;
    gap: 0.5rem;
  }

  .spec-icon {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .spec-text strong {
    font-size: 0.75rem;
  }

  .spec-text span {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  /* Mobile Features layout */
  .features-grid {
    padding: 1rem 0;
  }

  .features-cards {
    gap: 0.75rem;
  }

  .feature-card {
    padding: 0.75rem 1rem;
    align-items: center;
    gap: 1rem;
  }

  .feature-icon {
    font-size: 1.3rem;
    width: 40px;
    height: 40px;
  }

  .feature-card p {
    font-size: 0.95rem;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  /* On very small screens, specs can be 1 column for readability */
  .specs-cards {
    grid-template-columns: 1fr;
  }

  .spec-card {
    flex-direction: row;
    align-items: center;
    padding: 1rem;
  }
}

/* =========================================
   CUSTOMIZATION MODAL - SELECTION CARDS
   ========================================= */
.selection-card {
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  background: transparent;
  color: var(--text-primary);
}

.selection-card:hover {
  border-color: var(--primary-color);
  background: #f8fafc;
}

.selection-card.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(11, 27, 77, 0.15);
}

#customPageCountSelector .selection-card.active {
  cursor: default;
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(0, 0, 0, 0.8);
}

/* =========================================
   NEW SEPET LAYOUT (2-COLUMN GRID)
   ========================================= */
.sepet-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}

.sepet-main-col {
  width: 100%;
}

.sepet-sidebar-col {
  position: sticky;
  top: 120px; /* Below header */
}

.sepet-sidebar-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(11, 27, 77, 0.04);
  border: 1px solid #edf2f7;
}

.sidebar-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sidebar-divider {
  height: 1px;
  background: #edf2f7;
  margin: 1.25rem 0;
}

.sidebar-cta {
  width: 100%;
  height: 56px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(11, 27, 77, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.sidebar-cta::after {
  content: '→';
  transition: transform 0.2s ease;
}

.sidebar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(11, 27, 77, 0.25);
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.sidebar-cta:hover::after {
  transform: translateX(4px);
}

/* Form Transition & Header Styling */
#checkoutFormStep {
  animation: slideFadeIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(11, 27, 77, 0.02);
  border: 1px solid #edf2f7;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

#checkoutFormStep .modal-title {
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #edf2f7;
  color: var(--primary-color);
}

/* Form Action Buttons */
#checkoutFormStep .form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid #edf2f7;
}

#checkoutFormStep .order-button {
  flex: 2;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(11, 27, 77, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

#checkoutFormStep .order-button::after {
  content: '✓';
  transition: transform 0.2s ease;
}

#checkoutFormStep .order-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(11, 27, 77, 0.25);
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

#checkoutFormStep .order-button:hover::after {
  transform: scale(1.15);
}

#checkoutFormStep .cta-button.secondary {
  flex: 1;
  height: 56px;
  background: #f1f5f9;
  color: var(--text-primary);
  font-weight: 700;
  border: none;
  border-radius: 14px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#checkoutFormStep .cta-button.secondary:hover {
  background: #e2e8f0;
  color: var(--primary-color);
}

/* Sidebar Cart Items (Mini View) */
#sidebarItemsList {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #edf2f7;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-item-img, .sidebar-item-img-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sidebar-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.sidebar-item-price {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sidebar-secure-badge {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 992px) {
  .sepet-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .sepet-sidebar-col {
    position: static;
  }
}

@media (max-width: 768px) {
  .cart-step { padding: 0 !important; }
}

