/* KartonRaf.com.tr - Industrial Modern CSS Design System */

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

:root {
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-100: #f1f5f9;
  --color-slate-50:  #f8fafc;

  --color-kraft-amber: #d97706;
  --color-kraft-dark:  #b45309;
  --color-kraft-light: #fffbeb;
  --color-kraft-border:#fef3c7;

  --color-emerald: #059669;
  --color-emerald-light: #d1fae5;

  --color-surface-bg: #fdfbf7;
  --color-card-bg: #ffffff;
  
  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-surface-bg);
  color: var(--color-slate-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-slate-900);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Eye Indicator Blink & Pulse Animation for Blueprint Canvas */
@keyframes eyePulseBlink {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
  45% { opacity: 0.25; transform: translate(-50%, -50%) scale(0.9); }
  70% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

.eye-indicator-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(15, 23, 42, 0.92);
  border: 2px solid var(--color-kraft-amber);
  color: var(--color-kraft-amber);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.5);
  pointer-events: none;
  z-index: 20;
  animation: eyePulseBlink 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Header & Navigation */
.header-top {
  background: var(--color-slate-900);
  color: #fff;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-top-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-main {
  background: #ffffff;
  border-bottom: 1px solid var(--color-slate-100);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}


.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-slate-900);
}

.logo span {
  color: var(--color-kraft-amber);
}

.logo-badge {
  background: var(--color-kraft-light);
  color: var(--color-kraft-dark);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-kraft-border);
  text-transform: uppercase;
}

/* Live Search Bar */
.search-container {
  flex: 1;
  max-width: 550px;
  position: relative;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 2px solid var(--color-slate-100);
  border-radius: 9999px;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
  background: var(--color-slate-50);
}

.search-input:focus {
  border-color: var(--color-kraft-amber);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15);
}

.search-icon {
  position: absolute;
  left: 1rem;
  color: var(--color-slate-600);
  pointer-events: none;
}

.live-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-slate-100);
  z-index: 1000;
  display: none;
  max-height: 400px;
  overflow-y: auto;
}

.live-search-results.active {
  display: block;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-slate-50);
  transition: background 0.15s ease;
}

.search-item:hover {
  background: var(--color-slate-50);
}

.search-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* User & Cart Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  background: transparent;
}

.action-btn:hover {
  background: var(--color-slate-100);
}

.cart-btn {
  background: var(--color-slate-900);
  color: #fff;
  position: relative;
}

.cart-btn:hover {
  background: var(--color-slate-800);
}

.cart-badge {
  background: var(--color-kraft-amber);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nav Mega Menu */
.nav-menu {
  background: var(--color-slate-900);
  color: #fff;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  padding: 0.75rem 0;
  overflow-x: auto;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-kraft-amber);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--color-kraft-amber);
  color: #fff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.btn-primary:hover {
  background: var(--color-kraft-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

.btn-dark {
  background: var(--color-slate-900);
  color: #fff;
}

.btn-dark:hover {
  background: var(--color-slate-800);
}

.btn-outline {
  border: 2px solid var(--color-slate-700);
  color: var(--color-slate-800);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-slate-900);
  color: #fff;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--color-slate-900) 0%, var(--color-slate-800) 100%);
  color: #ffffff;
  padding: 0.5rem 0 1rem 0;
  overflow: hidden;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 119, 6, 0.2);
  color: var(--color-kraft-amber);
  border: 1px solid rgba(217, 119, 6, 0.4);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.hero-title span {
  color: var(--color-kraft-amber);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  max-width: 540px;
}

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

.hero-image-box {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.1);
  background: #000;
}

.hero-image-box img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
}

.hero-badge-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
}

/* Trust Bar */
.trust-bar {
  background: #ffffff;
  border-top: 1px solid var(--color-slate-200);
  border-bottom: 1px solid var(--color-slate-100);
  padding: 1.25rem 0;
  margin-top: 0;
  box-shadow: var(--shadow-sm);
}


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


.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-100);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-kraft-light);
  color: var(--color-kraft-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

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

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

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

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

/* Category Tabs (AJAX) */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--color-slate-200);
  background: #ffffff;
  color: var(--color-slate-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover, .tab-btn.active {
  background: var(--color-slate-900);
  color: #ffffff;
  border-color: var(--color-slate-900);
}

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

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-slate-100);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-kraft-border);
}

.product-thumb {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--color-slate-100);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-capacity-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
}

.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.75rem;
  color: var(--color-slate-600);
  font-weight: 600;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-slate-900);
}

.product-rating {
  color: #f59e0b;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.product-price-box {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-slate-100);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-kraft-dark);
}

.product-price span {
  font-size: 0.75rem;
  color: var(--color-slate-600);
  font-weight: 400;
}

/* Free Shipping Progress Bar */
.free-shipping-bar {
  background: var(--color-kraft-light);
  border: 1px solid var(--color-kraft-border);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.progress-track {
  height: 8px;
  background: rgba(0,0,0,0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: var(--color-kraft-amber);
  border-radius: 9999px;
  transition: width 0.4s ease;
}

/* Financial Target Progress Bar (Admin) */
.admin-financial-card {
  background: linear-gradient(135deg, var(--color-slate-900) 0%, var(--color-slate-800) 100%);
  color: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.financial-progress-bar {
  height: 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 9999px;
  overflow: hidden;
  margin: 1rem 0;
}

.financial-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #d97706, #10b981);
  border-radius: 9999px;
  transition: width 0.6s ease;
}

/* Footer */
.footer {
  background: var(--color-slate-900);
  color: #ffffff;
  padding-top: 4rem;
  margin-top: 5rem;
  border-top: 4px solid var(--color-kraft-amber);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

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

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* Cookie Modal */
.cookie-popup {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 420px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  z-index: 9999;
  border: 1px solid var(--color-slate-200);
  display: none;
}

.cookie-popup.show {
  display: block;
  animation: slideUp 0.3s ease;
}

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

/* Responsive & Mobile-First App-Like UX System */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-top-row { flex-wrap: wrap; gap: 0.5rem; }
  #mobileHamburgerBtn { order: 1; }
  .header-top-row .logo { order: 2; font-size: 1.2rem !important; gap: 0.35rem !important; }
  .header-actions { order: 3; margin-left: auto; }
  .search-container { order: 4; width: 100% !important; max-width: 100% !important; margin-top: 0.5rem !important; }
}


@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-section { padding: 1.5rem 0 0.5rem 0 !important; }
  .hero-title { font-size: 1.85rem !important; margin-bottom: 0.75rem !important; }
  .hero-subtitle { font-size: 0.925rem !important; margin-bottom: 1.25rem !important; }
  .hero-image-box img { height: 210px !important; }

  .hero-cta-mobile {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  .hero-btn-mobile {
    width: 100% !important;
    text-align: center !important;
    padding: 0.85rem 1rem !important;
  }

  
  /* Zero Gap Between Hero and Trust Bar */
  .trust-bar { padding: 0.85rem 0 !important; margin-top: 0 !important; border-top: 1px solid var(--color-slate-100); }
  .trust-grid { grid-template-columns: 1fr 1fr !important; gap: 0.6rem !important; }
  .trust-item { padding: 0.75rem 0.5rem !important; flex-direction: column !important; text-align: center !important; gap: 0.35rem !important; justify-content: center !important; }
  .trust-icon { width: 38px !important; height: 38px !important; font-size: 1.1rem !important; margin: 0 auto !important; }
  .trust-text h4 { font-size: 0.85rem !important; font-weight: 800 !important; color: #0f172a !important; margin-bottom: 0.1rem !important; }
  .trust-text p { font-size: 0.725rem !important; color: #64748b !important; line-height: 1.25 !important; margin: 0 !important; }

  
  .section-header { margin-bottom: 1.5rem !important; }
  .section-title { font-size: 1.5rem !important; }

  /* 2-Column Mobile Product Grid */
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .product-thumb {
    height: 155px !important;
  }
  .product-info {
    padding: 0.65rem !important;
  }
  .product-name {
    font-size: 0.85rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.35rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-price {
    font-size: 1.05rem !important;
  }
  .product-price-box {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.4rem !important;
    padding-top: 0.4rem !important;
  }
  .product-price-box .btn {
    width: 100% !important;
    padding: 0.4rem 0.5rem !important;
    font-size: 0.75rem !important;
    min-height: 38px !important;
  }
}

/* Touch Target Enforcements (Minimum 44px x 44px for Apple/Google Standards) */
.touch-target, .variant-btn, .qty-btn, .tab-btn {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Off-Canvas Navigation & Cart Drawer System */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.drawer-panel-left {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 85%;
  max-width: 340px;
  background: #ffffff;
  z-index: 10000;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 30px rgba(0,0,0,0.2);
}
.drawer-panel-left.active {
  transform: translateX(0);
}
.drawer-panel-right {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88%;
  max-width: 420px;
  background: #ffffff;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.2);
}
.drawer-panel-right.active {
  transform: translateX(0);
}

/* PDP Sticky Bottom Action Bar for Mobile */
.pdp-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #ffffff;
  border-top: 1px solid #cbd5e1;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
@media (min-width: 769px) {
  .pdp-sticky-bar {
    display: none !important;
  }
}

/* Clean Vertical 2-Column Mobile Grid for Related Products (No Horizontal Scroll) */
.mobile-swipe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.mobile-swipe-grid > * {
  width: 100%;
  max-width: none;
}
@media (min-width: 769px) {
  .mobile-swipe-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PDP — ÜRÜN DETAY SAYFASI  Modern UX Design System
═══════════════════════════════════════════════════════════════ */

/* ── BREADCRUMB ── */
.pdp-breadcrumb {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.55rem 0;
}
.pdp-bc-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: #64748b;
}
.pdp-bc-nav a { color: #64748b; }
.pdp-bc-nav a:hover { color: var(--color-kraft-amber); }
.pdp-bc-sep { color: #cbd5e1; }
.pdp-bc-current { color: #0f172a; font-weight: 600; }

/* ── MAIN WRAPPER (2-col desktop grid) ── */
.pdp-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  align-items: start;
}

/* ── LEFT COLUMN (Normal Natural Scrolling) ── */
.pdp-col-left {
  position: relative;
}

/* ── HERO IMAGE ── */
.pdp-img-hero {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1rem;
  overflow: hidden;
}
.pdp-img-hero img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.35s ease;
}
.pdp-img-hero:hover img { transform: scale(1.03); }

/* ── TRUST STRIP ── */
.pdp-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.pdp-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.5rem 0.25rem;
  font-size: 0.7rem;
  color: #475569;
  font-weight: 600;
  text-align: center;
}
.pdp-trust-item span:first-child { font-size: 1.1rem; }

/* ── CANVAS BOX ── */
.pdp-canvas-box {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 14px;
  overflow: hidden;
  padding: 1rem;
  box-shadow: var(--shadow-md);
}
.pdp-canvas-header {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}
.pdp-canvas-label {
  font-size: 0.78rem;
  color: var(--color-kraft-amber);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pdp-canvas-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
}
#shelfBlueprintCanvas,
#shelfBlueprintCanvasMobile {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  background: #0f172a;
}
.pdp-canvas-mobile-only { display: none; }

/* ── BADGE + TITLE ── */
.pdp-header-title-box {
  margin-bottom: 1rem;
}
.pdp-badge-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.pdp-badge-yerli {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.pdp-badge-kat {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 5px;
}
.pdp-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}
.pdp-subtitle {
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.5;
}

/* ── PRICE BOX ── */
.pdp-price-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fff7e6 100%);
  border: 1.5px solid #fde68a;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.pdp-price-label {
  font-size: 0.72rem;
  color: #92400e;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}
#pdpDisplayPrice {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-kraft-dark);
  line-height: 1;
  font-family: var(--font-heading);
}
.pdp-price-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}
.pdp-stock-badge {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}
.pdp-kargo-badge {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
}

/* ── VARIANT FORM ── */
.pdp-form { margin-bottom: 0.5rem; }
.pdp-select-group { margin-bottom: 0.75rem; }
.pdp-select-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.4rem;
}
.pdp-select-label small { font-weight: 500; color: #64748b; }
.pdp-select-num {
  width: 20px;
  height: 20px;
  background: var(--color-kraft-dark);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pdp-select {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  background: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23475569' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
  transition: border-color 0.2s;
}
.pdp-select:focus {
  outline: none;
  border-color: var(--color-kraft-amber);
  box-shadow: 0 0 0 3px rgba(217,119,6,0.12);
}

/* ── QTY ROW ── */
.pdp-qty-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.pdp-qty-ctrl {
  display: flex;
  align-items: center;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}
.pdp-qty-btn {
  width: 42px;
  height: 46px;
  background: #f8fafc;
  border: none;
  font-size: 1.4rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-qty-btn:hover { background: #f1f5f9; color: #0f172a; }
.pdp-qty-input {
  width: 48px;
  height: 46px;
  border: none;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  background: #fff;
  -moz-appearance: textfield;
}
.pdp-qty-input::-webkit-inner-spin-button { display: none; }
.pdp-btn-cart {
  flex: 1;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: 0 4px 14px rgba(180,83,9,0.3);
}
.pdp-btn-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(180,83,9,0.4);
}
.pdp-btn-cart:active { transform: translateY(0); }

/* ── HIGHLIGHTS / KEY FEATURES ── */
.pdp-highlights-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 0.85rem;
}
.pdp-feat {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
}
.pdp-feat-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}
.pdp-feat-text {
  font-size: 0.75rem;
  color: #334155;
  line-height: 1.35;
}
.pdp-feat-text strong { display: block; color: #0f172a; font-size: 0.78rem; }

/* ── VIDEO + PACKAGE ── */
.pdp-video-package-box {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0.85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.9rem;
  margin-bottom: 1rem;
}
.pdp-video-thumb {
  position: relative;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.pdp-video-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
  filter: brightness(0.82);
  transition: transform 0.3s;
}
.pdp-video-thumb:hover .pdp-video-img { transform: scale(1.05); }
.pdp-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 38px;
  height: 38px;
  background: rgba(220,38,38,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(220,38,38,0.5);
}
.pdp-video-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15,23,42,0.86);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 800;
  text-align: center;
  padding: 0.3rem;
  letter-spacing: 0.02em;
}
.pdp-pkg-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
}
.pdp-pkg-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pdp-pkg-list ul li {
  font-size: 0.74rem;
  color: #475569;
  line-height: 1.7;
}

/* ── RELATED PRODUCTS SECTION ── */
.pdp-related {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0;
  margin-top: 1.5rem;
}
.pdp-related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e2e8f0;
}
.pdp-related-header h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.pdp-related-link {
  font-size: 0.78rem;
  color: var(--color-kraft-amber);
  font-weight: 700;
  white-space: nowrap;
}
.pdp-related-link:hover { text-decoration: underline; }

/* ── VIDEO MODAL ── */
.pdp-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(15,23,42,0.88);
  backdrop-filter: blur(6px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
}
.pdp-modal-overlay.is-open {
  display: flex;
  animation: fadeInModal 0.25s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.pdp-modal-box {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #334155;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.7);
}
.pdp-modal-close {
  position: absolute;
  top: 10px; right: 14px;
  z-index: 10;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  font-weight: 800;
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.pdp-modal-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.pdp-modal-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── MOBILE STICKY BAR ── */
.pdp-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: 0.65rem 1rem;
  align-items: center;
  gap: 0.75rem;
}
.pdp-sticky-label {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 700;
}
.pdp-sticky-value {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-kraft-dark);
  line-height: 1;
}
.pdp-sticky-btn {
  flex: 1;
  min-height: 46px;
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(180,83,9,0.3);
}

/* ════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE  (max-width: 768px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Turn 2-col grid into flat flex column */
  .pdp-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 0;
    padding-bottom: 6rem;
    padding-left: 0;
    padding-right: 0;
  }

  /* ── Mobile element order (Image First at the Top, FAQ near Bottom) ── */
  .pdp-col-left, .pdp-col-right {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  /* 1. Ürün Görseli (EN ÜSTTE) */
  .pdp-gallery-box {
    order: 1 !important;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background: #fff;
  }
  .pdp-gallery-box img { max-height: 280px; }
  .pdp-img-hero:hover img { transform: none; } /* disable hover on mobile */

  /* 2. Ürün Başlığı & Rozetler */
  .pdp-header-title-box {
    order: 2 !important;
    padding: 0.5rem 0.5rem 0.5rem;
  }

  /* 3. Fiyat & Stok */
  .pdp-price-box {
    order: 3 !important;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    padding: 0.85rem 1rem;
  }
  #pdpDisplayPrice { font-size: 1.85rem; }

  /* 4. Varyant Seçimi & Sepete Ekle Formu */
  .pdp-form {
    order: 4 !important;
    padding: 0.5rem 0;
    background: transparent;
    margin-bottom: 0.75rem;
  }

  /* 5. Öne Çıkan Özellikler */
  .pdp-highlights-box {
    order: 5 !important;
    margin: 0 0 0.75rem 0;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    border: 1px solid #e2e8f0;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .pdp-feat { padding: 0.55rem; }
  .pdp-feat-icon { font-size: 1.2rem; }

  /* 6. Canlı 2D Çizim (Mobile) */
  .pdp-canvas-box { display: none; }
  .pdp-canvas-mobile-only {
    display: block;
    order: 6 !important;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    padding: 0.85rem 1rem;
  }

  /* 7. Kurulum Videosu & Paket İçeriği */
  .pdp-video-package-box {
    order: 7 !important;
    border-radius: 12px;
    grid-template-columns: 1fr;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
  }
  .pdp-video-img { height: 160px; }

  /* 8. Ürün Açıklaması & Teknik Detaylar */
  .pdp-description-box {
    order: 8 !important;
    border-radius: 14px !important;
    padding: 1.1rem !important;
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
  }

  /* 9. Sıkça Sorulan Sorular (SSS) - EN ALTTA */
  .pdp-faq-box {
    order: 9 !important;
    border-radius: 14px !important;
    padding: 1.1rem !important;
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
  }

  /* 10. Benzer Ürünler - EN EN ALTTA */
  .pdp-related-block {
    order: 10 !important;
    border-radius: 14px !important;
    padding: 1.1rem !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
  }

  .pdp-variants-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }
  .pdp-select-group {
    width: 100% !important;
  }
  .pdp-btn-drawing-trigger {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Trust strip hidden on mobile (show in right col on desktop) */
  .pdp-trust-strip { display: none; }

  /* Sticky bar visible on mobile */
  .pdp-sticky-bar { display: flex; }
  .pdp-sticky-price { flex: 0 0 auto; }

  /* Title sizing */
  .pdp-title { font-size: 1.25rem; }
  .pdp-subtitle { font-size: 0.8rem; }

  /* Desktop canvas hide */
  #shelfBlueprintCanvasSection:not(.pdp-canvas-mobile-only) { display: none; }
}

