/**
 * ELEKTRORAF — Design System Components
 * Modular UI Components for theme2
 * Font: Manrope | Colors: Carbon, Industrial Graphite, Lime, Signal Orange
 */

/* ==========================================================================
   1. BREADCRUMB & PAGE HEADER / HERO
   ========================================================================== */
.page-header-wrap {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

/* Interior Pages Hero Header (Spacious, Airy & Elegant) */
header.page-header-wrap,
.page-article-wrap .page-header-wrap,
.page-hero-header {
  padding-top: var(--space-10);
  padding-bottom: var(--space-8);
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-action, #F26522);
  margin-bottom: var(--space-2);
}

.page-title {
  font-size: var(--text-h1);
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0;
}

.page-intro {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  max-width: 860px;
  line-height: 1.65;
}

/* ==========================================================================
   1.2 PROSE & STATIC PAGE TYPOGRAPHY (.prose-content, .page-article-card)
   ========================================================================== */
.page-article-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.page-article-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-10) var(--space-12);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-12);
  width: 100%;
}

@media (max-width: 768px) {
  .page-article-card {
    padding: var(--space-6) var(--space-5);
  }
}

/* Base Prose Styles */
.prose-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
}

/* Headings inside prose content */
.prose-content h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.prose-content h2:first-child {
  margin-top: 0;
}

.prose-content h3 {
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--color-heading);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  position: relative;
  padding-left: 14px;
}

.prose-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3.5px;
  background-color: var(--color-brand);
  border-radius: 2px;
}

.prose-content h3:first-child {
  margin-top: 0;
}

.prose-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.prose-content h4:first-child {
  margin-top: 0;
}

.prose-content h5,
.prose-content h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Paragraphs */
.prose-content p {
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: #334155;
  line-height: 1.75;
}

.prose-content p.text-justify,
.prose-content .text-justify {
  text-align: left !important;
}

.prose-content p:last-child {
  margin-bottom: 0;
}

.prose-content strong,
.prose-content b {
  font-weight: 700;
  color: var(--color-heading);
}

.prose-content a {
  color: var(--color-action);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.prose-content a:hover {
  color: var(--color-action-hover);
}

/* Unordered Lists with Remix Icon */
.prose-content ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 1.25rem 0 1.75rem !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prose-content ul > li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.68;
  color: #334155;
  text-align: left !important;
}

.prose-content ul > li::before {
  content: "\ea6e"; /* ri-arrow-right-s-line */
  font-family: 'remixicon' !important;
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--color-action);
  font-weight: bold;
}

/* Ordered Lists with numbered pills */
.prose-content ol {
  list-style: none !important;
  counter-reset: prose-ol;
  padding-left: 0 !important;
  margin: 1.25rem 0 1.75rem !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prose-content ol > li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.68;
  color: #334155;
  counter-increment: prose-ol;
  text-align: left !important;
}

.prose-content ol > li::before {
  content: counter(prose-ol);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #FFF2EB;
  color: var(--color-action);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Nested lists */
.prose-content ul ul,
.prose-content ol ol,
.prose-content ul ol,
.prose-content ol ul {
  margin: 8px 0 8px !important;
  padding-left: 12px !important;
}

/* Tables inside prose */
.prose-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.prose-content table th,
.prose-content table td {
  padding: 11px 16px;
  border: 1px solid var(--color-border);
  text-align: left;
  line-height: 1.5;
}

.prose-content table th {
  background-color: var(--color-surface-soft);
  font-weight: 700;
  color: var(--color-heading);
}

.prose-content table tr:nth-child(even) td {
  background-color: #FAFBFC;
}

/* Blockquotes & Callouts */
.prose-content blockquote {
  border-left: 3px solid var(--color-action);
  background-color: #FFF8F5;
  padding: 14px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  color: #475569;
  font-size: 0.95rem;
}

.prose-content hr {
  border: 0;
  height: 1px;
  background-color: var(--color-border-subtle);
  margin: 2.25rem 0;
}

/* ==========================================================================
   1.1 FULL-PAGE CATALOG HERO BANNER (.catalog-hero-banner)
   ========================================================================== */
.catalog-hero-banner {
  width: 100%;
  background-color: #243447;
  background-image: 
    linear-gradient(90deg, rgba(36, 52, 71, 0.93) 0%, rgba(36, 52, 71, 0.82) 42%, rgba(36, 52, 71, 0.58) 75%, rgba(36, 52, 71, 0.88) 100%),
    url('../img/catalog-hero-bg.jpg');
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(15, 23, 42, 0.4);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
  padding: 34px 0;
  position: relative;
  margin-bottom: var(--space-4);
}

.catalog-hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.catalog-hero-kicker {
  color: var(--color-brand) !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.catalog-hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 6px 0;
}

.catalog-hero-desc {
  font-size: 0.95rem;
  color: #c8d6e5 !important;
  line-height: 1.5;
  margin: 0;
  max-width: 680px;
}

.catalog-breadcrumb-nav {
  margin-top: var(--space-2);
  margin-bottom: var(--space-6);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  font-size: var(--text-body-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  padding: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--color-placeholder);
  font-weight: 400;
}

.breadcrumb a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-brand-dark);
}

.breadcrumb li:last-child,
.breadcrumb li.active {
  color: var(--color-heading);
  font-weight: 600;
}

.breadcrumb li:last-child a,
.breadcrumb li.active a {
  color: var(--color-heading);
  pointer-events: none;
  cursor: default;
}

/* ==========================================================================
   2. PAGINATION
   ========================================================================== */
.pagination {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li a,
.pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: var(--text-body-sm);
  font-weight: 600;
  color: var(--color-heading);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.pagination li a:hover {
  border-color: var(--color-brand);
  color: var(--color-carbon);
  background-color: var(--color-brand-light);
}

.pagination li.active a,
.pagination li.active span {
  background-color: var(--color-carbon);
  border-color: var(--color-carbon);
  color: #FFFFFF;
  cursor: default;
}

.pagination li.disabled a,
.pagination li.disabled span {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   3. CATEGORY SIDEBAR TREE / ACCORDION
   ========================================================================== */
.category-sidebar-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.category-sidebar-header {
  padding: var(--space-4) var(--space-5);
  background-color: var(--color-carbon);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-sidebar-header h3,
.category-sidebar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.category-tree-list {
  list-style: none;
  padding: var(--space-2) 0;
  margin: 0;
}

.category-tree-item {
  border-bottom: 1px solid var(--color-border-subtle);
}

.category-tree-item:last-child {
  border-bottom: none;
}

.category-tree-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  font-size: var(--text-body-sm);
  font-weight: 600;
  color: var(--color-heading);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.category-tree-link:hover,
.category-tree-link.active {
  background-color: var(--color-surface-soft);
  color: var(--color-brand-dark);
}

.category-tree-link.active {
  border-left: 3px solid var(--color-brand);
  padding-left: 15px;
}

.category-sub-list {
  list-style: none;
  padding: var(--space-1) 0 var(--space-2) var(--space-5);
  background-color: #fafbfc;
  border-top: 1px dashed var(--color-border-subtle);
}

.category-sub-item a {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.category-sub-item a:hover {
  color: var(--color-carbon);
  font-weight: 600;
}

.category-sub-item a::before {
  content: "›";
  color: var(--color-brand);
  font-weight: 800;
  font-size: 1rem;
}

/* ==========================================================================
   4. PRODUCT DETAIL COMPONENTS
   ========================================================================== */
/* Pricing Shell */
.product-pricing-shell {
  background-color: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.product-price-net {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-heading);
}

.product-price-gross {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.product-price-old {
  font-size: 0.95rem;
  color: var(--color-placeholder);
  text-decoration: line-through;
  margin-right: var(--space-2);
}

/* Variation Radio Selection */
.product-variation-wrap {
  margin-top: var(--space-4);
  margin-bottom: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.product-variation-wrap[data-varyasyon="0"],
.product-variation-wrap.hide {
  display: none !important;
}

.variation-group-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 14px 18px;
  background: var(--color-surface, #ffffff);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius-lg, 12px);
  transition: border-color var(--duration-fast, 150ms) var(--ease-standard, ease), box-shadow var(--duration-fast, 150ms) var(--ease-standard, ease);
}

.variation-group-block.variation-group-error {
  border-color: #dc3545 !important;
  background: rgba(220, 53, 69, 0.03);
  animation: var-shake 0.4s ease-in-out;
}

@keyframes var-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.variation-group-header {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: var(--text-body-sm, 0.875rem);
}

.variation-group-title {
  font-weight: 700;
  color: var(--color-heading, #0f172a);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.78rem;
}

.variation-selected-hint {
  font-size: 0.85rem;
  color: var(--color-text-muted, #64748b);
  font-weight: 500;
}

.variation-selected-hint .hint-text {
  color: var(--color-primary, #0d6efd);
  font-weight: 700;
}

.variation-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variation-radio-pill {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin: 0;
  user-select: none;
}

/* Hidden native radio for accessibility & keyboard navigation */
.variation-radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}

/* Styled Pill Card */
.variation-radio-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1.5px solid var(--color-border, #cbd5e1);
  border-radius: 9999px;
  font-size: var(--text-body-sm, 0.875rem);
  font-weight: 600;
  color: var(--color-heading, #1e293b);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Radio Indicator Dot */
.variation-radio-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  position: relative;
}

.variation-radio-indicator::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0;
  transform: scale(0.3);
  transition: all 0.2s ease;
}

/* Hover State */
.variation-radio-pill:hover .variation-radio-card {
  border-color: var(--color-primary, #0d6efd);
  background: #f8fafc;
  transform: translateY(-1px);
}

/* Focus Visible for Accessibility */
.variation-radio-input:focus-visible + .variation-radio-card {
  outline: 2px solid var(--color-primary, #0d6efd);
  outline-offset: 2px;
}

/* Selected / Checked State */
.variation-radio-input:checked + .variation-radio-card,
.variation-radio-pill.is-selected .variation-radio-card {
  border-color: var(--color-primary, #0d6efd);
  background: rgba(13, 110, 253, 0.06);
  color: var(--color-primary, #0d6efd);
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.16);
}

.variation-radio-input:checked + .variation-radio-card .variation-radio-indicator,
.variation-radio-pill.is-selected .variation-radio-indicator {
  border-color: var(--color-primary, #0d6efd);
  background: var(--color-primary, #0d6efd);
}

.variation-radio-input:checked + .variation-radio-card .variation-radio-indicator::after,
.variation-radio-pill.is-selected .variation-radio-indicator::after {
  opacity: 1;
  transform: scale(1);
}

/* Price Badge on Variation Pill */
.variation-radio-price {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-text-muted, #64748b);
  letter-spacing: 0;
}

.variation-radio-input:checked + .variation-radio-card .variation-radio-price,
.variation-radio-pill.is-selected .variation-radio-price {
  background: var(--color-primary, #0d6efd);
  color: #ffffff;
}

/* Trust / Feature Bullets */
.product-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  margin: var(--space-4) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.product-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-body-sm);
  color: var(--color-heading);
  font-weight: 500;
}

.product-feature-icon {
  width: 18px;
  height: 18px;
  color: var(--color-brand-dark);
  flex-shrink: 0;
}

/* Product Add to Cart Row & Quantity Controls */
.product-add-to-cart-row {
  display: flex;
  align-items: stretch;
  gap: var(--space-3);
  width: 100%;
}

.product-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  height: 50px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.product-qty-control:focus-within {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(168, 184, 8, 0.2);
}

.btn-qty {
  width: 42px;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--color-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
  user-select: none;
}

.btn-qty:hover {
  background-color: var(--color-surface-soft);
  color: var(--color-brand-dark);
}

.btn-qty:active {
  background-color: var(--color-border);
}

.product-qty-input {
  width: 54px;
  height: 100%;
  border: none;
  border-left: 1px solid var(--color-border-subtle);
  border-right: 1px solid var(--color-border-subtle);
  text-align: center;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-heading);
  background: #FFFFFF;
  padding: 0;
  outline: none;
  -moz-appearance: textfield;
}

.product-qty-input::-webkit-outer-spin-button,
.product-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-add-to-cart-row .product-detail-button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 440px) {
  .product-qty-control {
    width: 124px;
  }
  .btn-qty {
    width: 36px;
  }
  .product-qty-input {
    width: 48px;
  }
}

/* Technical Support Card */
.product-support-card {
  background-color: #FFFFFF;
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.product-support-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 2px;
}

.product-support-info p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Technical Tabs */
.nav-tabs {
  display: flex;
  gap: var(--space-2);
  border-bottom: 2px solid var(--color-border);
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-5);
}

.nav-tabs li a {
  display: inline-block;
  padding: 12px 20px;
  font-size: var(--text-body-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
}

.nav-tabs li.active a,
.nav-tabs li a:hover {
  color: var(--color-carbon);
  border-bottom-color: var(--color-brand);
}

.tab-content {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* ==========================================================================
   5. CART & CHECKOUT COMPONENTS
   ========================================================================== */
.table-shopping-cart {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.table-shopping-cart th {
  background-color: var(--color-surface-soft);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-caption);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-heading);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.table-shopping-cart td {
  padding: var(--space-4);
  vertical-align: middle;
  border-bottom: 1px solid var(--color-border-subtle);
}

.table-shopping-cart tr:last-child td {
  border-bottom: none;
}

.cart-item-flex {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  padding: 4px;
  background-color: #FFFFFF;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-heading);
  text-decoration: none;
  line-height: 1.3;
}

.cart-item-title:hover {
  color: var(--color-brand-dark);
}

.cart-item-variant {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Quantity Control Stepper */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-surface);
}

.qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-surface-soft);
  border: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-heading);
  transition: background-color var(--transition-fast);
}

.qty-btn:hover {
  background-color: #e2e8ec;
}

.qty-input {
  width: 44px;
  height: 32px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  font-weight: 600;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  outline: none;
  background-color: var(--color-surface);
}

/* ==========================================================================
   ORDER SUMMARY CARD (.checkout-summary-card & .sepet-ozet-kutu)
   ========================================================================== */
.checkout-summary-card,
.sepet-ozet-kutu {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card, 16px);
  padding: var(--space-6, 24px);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 96px;
}

.checkout-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1.5px solid var(--color-border-subtle, #f1f5f9);
}

.sepet-ozet-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-heading, #0f172a);
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-summary-items {
  max-height: 240px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--color-border-subtle, #f1f5f9);
  padding-bottom: 10px;
}

.checkout-summary-items::-webkit-scrollbar {
  width: 5px;
}
.checkout-summary-items::-webkit-scrollbar-track {
  background: transparent;
}
.checkout-summary-items::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.checkout-summary-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(241, 245, 249, 0.8);
}
.checkout-summary-item:last-child {
  border-bottom: none;
}

.checkout-item-thumb {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 10px;
  padding: 4px;
  flex-shrink: 0;
}

.checkout-item-info {
  flex: 1;
  min-width: 0;
}

.checkout-item-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-heading, #0f172a);
  line-height: 1.35;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.checkout-item-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.775rem;
  color: var(--color-text-muted, #64748b);
  margin-bottom: 4px;
}

.checkout-item-qty-pill {
  background: #f1f5f9;
  color: #475569;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 0.725rem;
}

.checkout-item-variant-pill {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 0.725rem;
}

.checkout-item-price {
  font-size: 0.925rem;
  font-weight: 800;
  color: var(--color-heading, #0f172a);
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

/* Key-value breakdown rows */
.checkout-summary-card .satir,
.sepet-ozet-kutu .satir,
aside .satir {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 9px 0 !important;
  font-size: 0.875rem !important;
  color: var(--color-text-muted, #64748b) !important;
  border-bottom: 1px dashed var(--color-border-subtle, #f1f5f9) !important;
}

.checkout-summary-card .satir:last-child,
.sepet-ozet-kutu .satir:last-child {
  border-bottom: none !important;
}

.checkout-summary-card .satir .etiket,
.sepet-ozet-kutu .satir .etiket,
aside .satir .etiket {
  color: var(--color-text-muted, #64748b) !important;
  font-weight: 500 !important;
}

.checkout-summary-card .satir .deger,
.sepet-ozet-kutu .satir .deger,
aside .satir .deger {
  color: var(--color-heading, #0f172a) !important;
  font-weight: 700 !important;
  font-size: 0.925rem !important;
}

.checkout-summary-card .satir.indirim,
.sepet-ozet-kutu .satir.indirim,
aside .satir.indirim {
  color: #16a34a !important;
}
.checkout-summary-card .satir.indirim .deger,
.sepet-ozet-kutu .satir.indirim .deger,
aside .satir.indirim .deger {
  color: #16a34a !important;
}

/* Grand Total (Ödenecek Tutar) Highlight Box */
.toplam-odeme-box {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 12px;
  padding: 14px 16px;
  margin: var(--space-4, 16px) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.toplam-odeme-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-heading, #0f172a);
}

.toplam-odeme-sub {
  font-size: 0.725rem;
  color: var(--color-text-muted, #64748b);
  font-weight: 500;
  margin-top: 1px;
}

.toplam-odeme-amount {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--color-action, #ea580c);
  letter-spacing: -0.02em;
}

.sepet-ozet-kutu .toplam-odeme,
aside .toplam-odeme {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  padding: var(--space-4, 16px) 0 0 !important;
  margin-top: var(--space-2, 8px) !important;
  border-top: 2px solid var(--color-carbon, #1e293b) !important;
}

.toplam-odeme .etiket {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: var(--color-heading, #0f172a) !important;
}

.toplam-odeme .deger {
  font-size: 1.45rem !important;
  font-weight: 900 !important;
  color: var(--color-action, #ea580c) !important;
}

/* Submit button with micro-animation */
.checkout-submit-btn {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #f97316, #ea580c) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}
.checkout-submit-btn:hover {
  background: linear-gradient(135deg, #fb923c, #f97316) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
  color: #ffffff !important;
}
.checkout-submit-btn:hover svg {
  transform: translateX(3px);
}
.checkout-submit-btn svg {
  transition: transform 0.2s ease;
}

/* Trust Badges Strip */
.checkout-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--color-border-subtle, #f1f5f9);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.725rem;
  font-weight: 600;
  color: #64748b;
}
.trust-badge-item svg {
  color: #10b981;
}

/* Free Shipping Notice */
.free-shipping-bar {
  background-color: var(--color-brand-light);
  border: 1px solid rgba(184, 206, 2, 0.4);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-body-sm);
  color: var(--color-carbon);
  font-weight: 600;
}

/* ==========================================================================
   6. CHECKOUT STEPPER & SELECTION CARDS
   ========================================================================== */
.checkout-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  position: relative;
}

.checkout-stepper::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  height: 2px;
  background-color: var(--color-border);
  z-index: 1;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
  background-color: var(--color-background);
  padding: 0 var(--space-3);
}

.step-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-surface);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-body-sm);
  font-weight: 700;
  color: var(--color-text-muted);
}

.step-item.active .step-bubble {
  background-color: var(--color-carbon);
  border-color: var(--color-brand);
  color: var(--color-brand);
  box-shadow: 0 0 0 4px rgba(184, 206, 2, 0.2);
}

.step-item.completed .step-bubble {
  background-color: var(--color-success);
  border-color: var(--color-success);
  color: #FFFFFF;
}

.step-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-heading);
}

/* Address Radio Selection Cards */
.radio-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.radio-card {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-4) var(--space-5);
  background-color: var(--color-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.radio-card:hover {
  border-color: #b5c2cb;
}

.radio-card.selected {
  border-color: var(--color-brand);
  background-color: #fafcf4;
  box-shadow: 0 4px 12px rgba(184, 206, 2, 0.15);
}

.radio-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-heading);
  margin-bottom: var(--space-2);
}

.radio-card-content {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   7. INSTALLMENT (TAKSİT) TABLE
   ========================================================================== */
.table-installments {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-body-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-4);
}

.table-installments th {
  background-color: var(--color-surface-soft);
  padding: 8px 12px;
  text-align: left;
  font-weight: 700;
  color: var(--color-heading);
  border-bottom: 1px solid var(--color-border);
}

.table-installments td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text);
}

.table-installments tr:hover td {
  background-color: #fafcf4;
}

/* ==========================================================================
   8. ALERTS & NOTIFICATION BANNERS
   ========================================================================== */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-body-sm);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.alert-warning {
  background-color: var(--color-warning-soft);
  color: #7a5405;
  border-left: 3px solid var(--color-warning);
}

.alert-success {
  background-color: var(--color-success-soft);
  color: #175433;
  border-left: 3px solid var(--color-success);
}

.alert-error {
  background-color: var(--color-error-soft);
  color: #781c1c;
  border-left: 3px solid var(--color-error);
}

.alert-info {
  background-color: var(--color-info-soft);
  color: #184882;
  border-left: 3px solid var(--color-info);
}

/* ==========================================================================
   9. MINI CART DROPDOWN (.dropdown-menu-shipping-cart)
   ========================================================================== */
.mini-cart-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  width: 340px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-dropdown);
  padding: var(--space-4);
  list-style: none;
  z-index: 1050;
  animation: fadeInDown 0.2s ease-out;
}

/* Invisible Hover Bridge: Bridges the 8px margin gap so hover is not lost */
.mini-cart-dropdown::before,
.dropdown-menu-user::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
  display: block;
  pointer-events: auto;
}

.dropdown-menu {
  display: none;
}

.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu,
.dropdown.open > .dropdown-menu,
.dropdown.is-active > .dropdown-menu {
  display: block;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mini-cart-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-subtle);
}

.mini-cart-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.mini-cart-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.3;
}

.mini-cart-price {
  font-size: 0.75rem;
  color: var(--color-action);
  font-weight: 700;
  margin-top: 2px;
}

.mini-cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-heading);
  margin: var(--space-3) 0 var(--space-4);
  padding-top: var(--space-2);
}

/* ==========================================================================
   10. CURRENCY EXCHANGE CARD
   ========================================================================== */
.currency-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: #d9e8e3;
}

.currency-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}

.currency-values {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.currency-rate {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 2px 6px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  line-height: 1.2;
}

.currency-rate-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.currency-rate strong {
  font-weight: 800;
}

.currency-rate-buy {
  background-color: rgba(54, 119, 200, 0.16);
  border-color: rgba(125, 193, 255, 0.35);
}

.currency-rate-buy .currency-rate-label,
.currency-rate-buy strong {
  color: #A9D9FF;
}

.currency-rate-sell {
  background-color: rgba(184, 206, 2, 0.12);
  border-color: rgba(184, 206, 2, 0.35);
}

.currency-rate-sell .currency-rate-label,
.currency-rate-sell strong {
  color: var(--color-brand);
}

/* ==========================================================================
   11. CUSTOMER DASHBOARD TABLE (.table-user)
   ========================================================================== */
.table-user {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-card);
}

.table-user th {
  background-color: var(--color-surface-soft);
  color: var(--color-heading);
  font-weight: 700;
  font-size: var(--text-body-sm);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.table-user td {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-body-sm);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-subtle);
  vertical-align: middle;
}

.table-user tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   12. PRODUCT CARD & CATALOG GRID
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
}

.product-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  position: relative;
}

.product-card:hover {
  border-color: #bcc8d2;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.product-card-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  top: auto;
  left: auto;
  z-index: 3;
  pointer-events: none;
}

.product-card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #FAFAFA;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-border-subtle);
  position: relative;
  overflow: hidden;
}

.product-card-img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.product-card-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-brand {
  font-size: var(--text-caption);
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.product-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-heading);
  margin: var(--space-1) 0 var(--space-3);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}

.product-card-title a {
  color: inherit;
  transition: color var(--transition-fast);
}

.product-card-title a:hover {
  color: var(--color-action);
}

.product-card-footer {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.product-price-main {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-heading);
}

.product-price-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.product-stock-out {
  width: 100%;
  display: block;
  text-align: center;
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background-color: var(--color-surface-soft);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  box-sizing: border-box;
}

/* ==========================================================================
   13. FEATURED CATEGORY CARDS
   ========================================================================== */
.category-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-card);
}

.category-card:hover {
  border-color: var(--color-brand);
  box-shadow: 0 6px 18px rgba(184, 206, 2, 0.18);
  transform: translateY(-3px);
}

.category-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-dark);
  transition: all var(--transition-fast);
}

.category-card:hover .category-card-icon {
  background-color: var(--color-brand-light);
  color: var(--color-brand-dark);
}

.category-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 6px;
}

.category-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0 0 var(--space-4);
  flex-grow: 1;
}

.category-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--color-heading);
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.category-card:hover .category-card-link {
  color: var(--color-brand-dark);
  gap: 10px;
}

/* ==========================================================================
   13.1 HOMEPAGE TOP LAYOUT (CATEGORY SIDEBAR + HERO SLIDER)
   ========================================================================== */
.homepage-top-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-6);
  align-items: start;
  margin-top: var(--space-4);
  margin-bottom: var(--space-10);
}

.homepage-category-sidebar {
  width: 280px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 20px;
}

.homepage-hero-main {
  min-width: 0;
}

@media (max-width: 991px) {
  .homepage-top-layout {
    grid-template-columns: 1fr;
  }
  .homepage-category-sidebar {
    width: 100%;
    order: 2;
    position: static;
  }
  .homepage-hero-main {
    order: 1;
  }
}

/* ==========================================================================
   14. HERO SLIDER SHOWCASE (.hero-slider-section & .mockup-hero)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  min-height: 460px;
  overflow: hidden;
  background-color: #111720;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  min-height: 460px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 460px;
  background-image: var(--slide-bg);
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 68px 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.75s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 20, 29, 0.95) 0%, rgba(14, 20, 29, 0.85) 46%, rgba(14, 20, 29, 0.42) 75%, rgba(14, 20, 29, 0.14) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-slide-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--space-8);
  position: relative;
  z-index: 3;
}

.hero-slide .hero-content {
  flex: 1 1 560px;
  max-width: 620px;
  position: relative;
  z-index: 3;
}

.hero-slide-media {
  flex: 0 1 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  padding-right: var(--space-4);
  opacity: 0;
  transform: translateX(45px) scale(0.92);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hero-slide.active .hero-slide-media {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.35s;
}

.hero-product-img {
  max-width: 100%;
  max-height: 350px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.65));
  animation: heroProductFloat 6s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroProductFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.8deg);
  }
  100% {
    transform: translateY(-14px) rotate(-0.6deg);
  }
}

.hero-slide .hero-heading {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  color: #FFFFFF !important;
  letter-spacing: -0.02em;
}

.hero-slide .hero-heading .hero-highlight {
  color: var(--color-brand) !important;
}

.hero-slide .hero-desc {
  color: #c9d6e2 !important;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: var(--space-6);
  max-width: 580px;
}

.hero-slide .hero-btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(8px);
}

.hero-slide .hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  color: #FFFFFF !important;
}

/* Soft Staggered Entrance Animations for Active Slide Text & Buttons */
.hero-slide .hero-heading,
.hero-slide .hero-desc,
.hero-slide .hero-actions {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hero-slide.active .hero-heading {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.hero-slide.active .hero-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}

.hero-slide.active .hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.42s;
}

/* Slider Prev / Next Arrows */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(22, 27, 34, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 5;
  transition: all var(--transition-fast);
  padding: 0;
}

.hero-slider-arrow:hover {
  background: var(--color-action, #F26522);
  border-color: var(--color-action, #F26522);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 16px rgba(242, 101, 34, 0.35);
}

.hero-slider-prev {
  left: 20px;
}

.hero-slider-next {
  right: 20px;
}

/* Slider Dots Indicator (Pill Progress) */
.hero-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-slider-dot.active {
  width: 32px;
  background: var(--color-action, #F26522);
  border-color: var(--color-action, #F26522);
  box-shadow: 0 0 10px rgba(242, 101, 34, 0.5);
}

/* Backward compatibility for .mockup-hero */
.mockup-hero {
  position: relative;
  background-color: #111720;
  background-image: 
    linear-gradient(90deg, rgba(14, 20, 29, 0.96) 0%, rgba(14, 20, 29, 0.88) 45%, rgba(14, 20, 29, 0.42) 75%, rgba(14, 20, 29, 0.15) 100%),
    url('../img/hero-bg.jpg');
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 64px 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  min-height: 440px;
  overflow: hidden;
}

.mockup-hero .hero-content {
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.mockup-hero .hero-heading {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  color: #FFFFFF !important;
  letter-spacing: -0.02em;
}

.mockup-hero .hero-heading .hero-highlight {
  color: var(--color-brand) !important;
}

.mockup-hero .hero-desc {
  color: #c9d6e2 !important;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: var(--space-6);
  max-width: 560px;
}

.mockup-hero .hero-btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(8px);
}

.mockup-hero .hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
  color: #FFFFFF !important;
}

@media (max-width: 900px) {
  .hero-slider-section,
  .hero-slider-track,
  .hero-slide {
    min-height: 480px;
  }

  .hero-slide {
    padding: 44px 28px 68px;
  }

  .hero-slide-overlay {
    background: linear-gradient(180deg, rgba(14, 20, 29, 0.94) 0%, rgba(14, 20, 29, 0.88) 100%);
  }

  .hero-slide .hero-heading {
    font-size: 2rem;
  }

  .hero-slide .hero-desc {
    font-size: 1rem;
  }

  .hero-slide-layout {
    flex-direction: column-reverse;
    justify-content: center;
    gap: var(--space-4);
  }

  .hero-slide-media {
    flex: 0 0 auto;
    padding-right: 0;
    max-width: 100%;
    margin-bottom: var(--space-2);
  }

  .hero-product-img {
    max-height: 150px;
  }

  .hero-slider-arrow {
    display: none;
  }

  .hero-slider-dots {
    left: 28px;
    bottom: 20px;
  }

  .mockup-hero {
    padding: 44px 28px;
    min-height: auto;
    background-image: 
      linear-gradient(180deg, rgba(14, 20, 29, 0.95) 0%, rgba(14, 20, 29, 0.88) 100%),
      url('../img/hero-bg.jpg');
  }

  .mockup-hero .hero-heading {
    font-size: 2.1rem;
  }
}

/* ==========================================================================
   15. B2B DARK ENGINEERING SECTION (.mockup-dark-section)
   ========================================================================== */
.mockup-dark-section {
  background: linear-gradient(135deg, var(--color-carbon) 0%, #1c232d 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: center;
  box-shadow: 0 10px 30px rgba(22, 27, 34, 0.25);
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .mockup-dark-section {
    grid-template-columns: 1fr;
    padding: var(--space-6) var(--space-5);
    gap: var(--space-6);
  }
}

/* ==========================================================================
   16. MOBILE OFF-CANVAS DRAWER
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #FFFFFF;
  padding: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.mobile-menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-drawer-backdrop.is-open {
  display: block;
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background-color: var(--color-carbon);
  color: #FFFFFF;
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-dropdown);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.25rem;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.mobile-drawer-body {
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.mobile-nav-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand);
  margin-bottom: var(--space-2);
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  color: #DCE2E7;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-nav-list li a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-brand);
}

@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ==========================================================================
   PRODUCT GALLERY & LIGHTBOX ZOOM
   ========================================================================== */
.product-gallery-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.product-gallery-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: var(--radius-card);
  text-align: center;
}

.product-gallery-main img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.product-gallery-main:hover img {
  transform: scale(1.03);
}

.product-gallery-zoom-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(22, 27, 34, 0.82);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-fast);
}

.product-gallery-main:hover .product-gallery-zoom-badge {
  background: var(--color-carbon);
  color: var(--color-brand);
  border-color: var(--color-brand);
}

.product-thumb-item {
  display: block;
  width: 68px;
  height: 68px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 4px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.product-thumb-item:hover,
.product-thumb-item.active {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 2px rgba(168, 184, 8, 0.25);
}

/* ==========================================================================
   MODERN TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast-notification {
  pointer-events: auto;
  min-width: 320px;
  max-width: 440px;
  background: linear-gradient(135deg, #15803D 0%, #16A34A 100%);
  color: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 14px 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.is-visible {
  transform: translateX(0);
  opacity: 1;
}

/* Success Toast - Canlı Zümrüt Yeşili */
.toast-notification.toast-success {
  background: linear-gradient(135deg, #15803D 0%, #16A34A 100%);
  box-shadow: 0 16px 36px rgba(21, 128, 61, 0.38), 0 4px 12px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Error Toast - Canlı Kırmızı */
.toast-notification.toast-error {
  background: linear-gradient(135deg, #B91C1C 0%, #DC2626 100%);
  box-shadow: 0 16px 36px rgba(185, 28, 28, 0.38), 0 4px 12px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Warning Toast - Sıcak Turuncu */
.toast-notification.toast-warning {
  background: linear-gradient(135deg, #C2410C 0%, #EA580C 100%);
  box-shadow: 0 16px 36px rgba(194, 65, 12, 0.38), 0 4px 12px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Info Toast - Canlı Mavi */
.toast-notification.toast-info {
  background: linear-gradient(135deg, #0369A1 0%, #0284C7 100%);
  box-shadow: 0 16px 36px rgba(3, 105, 161, 0.38), 0 4px 12px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.toast-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.toast-icon.toast-error,
.toast-icon.toast-warning,
.toast-icon.toast-success {
  background-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.toast-body {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #FFFFFF;
  margin: 0 0 2px;
  letter-spacing: -0.01em;
}

.toast-message {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  line-height: 1.35;
}

.toast-action-btn {
  font-size: 0.8rem;
  font-weight: 800;
  color: #15803D;
  background-color: #FFFFFF;
  text-decoration: none;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.toast-notification.toast-error .toast-action-btn {
  color: #B91C1C;
}

.toast-notification.toast-warning .toast-action-btn {
  color: #C2410C;
}

.toast-action-btn:hover {
  text-decoration: none;
  background-color: #F8FAFC;
  transform: translateY(-1px);
}

.toast-close {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.toast-close:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 480px) {
  .toast-container {
    top: 16px;
    right: 16px;
    left: 16px;
  }
  .toast-notification {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
}

/* ==========================================================================
   16. PRODUCT DETAIL CONTENT SYSTEM (.product-content-area)
   Modern, modular blocks for Product Descriptions & Technical Specifications
   ========================================================================== */

.product-content-area {
  color: var(--color-text);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  word-break: break-word;
}

/* Baseline typography & legacy content normalization */
.product-content-area h2,
.product-content-area h3,
.product-content-area h4 {
  color: var(--color-heading);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.product-content-area h2 { font-size: 1.35rem; }
.product-content-area h3 { font-size: 1.15rem; }
.product-content-area h4 { font-size: 1rem; }

.product-content-area p {
  margin-top: 0;
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.product-content-area p:last-child {
  margin-bottom: 0;
}

/* Reset any unstyled legacy table inside product content */
.product-content-area table:not(.p-specs-table) {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-collapse: collapse;
  margin: var(--space-4) 0;
}

.product-content-area table:not(.p-specs-table) td,
.product-content-area table:not(.p-specs-table) th {
  padding: 10px 14px !important;
  border: 1px solid var(--color-border) !important;
  height: auto !important;
  width: auto !important;
}

/* Section Divider / Spacing Block */
.p-block {
  margin-bottom: var(--space-8);
}

.p-block:last-child {
  margin-bottom: 0;
}

/* Section Header (Kicker + Title + Subtitle) */
.p-section-header {
  margin-bottom: var(--space-6);
}

.p-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand-dark);
  background: rgba(184, 206, 2, 0.16);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
}

.p-section-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-heading);
  margin: 0 0 var(--space-2);
  line-height: 1.3;
}

.p-section-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Lead Paragraph */
.p-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-heading);
  background: linear-gradient(135deg, rgba(184, 206, 2, 0.06) 0%, rgba(47, 92, 79, 0.04) 100%);
  border-left: 4px solid var(--color-brand);
  padding: var(--space-4) var(--space-5);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: var(--space-6);
}

/* 1. Image Section (.p-image-box) */
.p-image-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-6);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.p-image-box:hover {
  border-color: #bcc8d2;
  box-shadow: var(--shadow-card-hover);
}

.p-image-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.p-image-caption {
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-soft);
  border-top: 1px solid var(--color-border-subtle);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-image-box--compact {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* 2. Image + List Split Section (.p-split-row) */
.p-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-8);
}

.p-split-row--reverse {
  direction: rtl;
}

.p-split-row--reverse > * {
  direction: ltr;
}

.p-split-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.p-split-media img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.p-split-row:hover .p-split-media img {
  transform: scale(1.03);
}

.p-split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Modern Checklist */
.p-checklist {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.p-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.925rem;
  color: var(--color-text);
  line-height: 1.5;
}

.p-checklist-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(184, 206, 2, 0.2);
  color: var(--color-brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* 3. Full Width Image Section (.p-full-image-box) */
.p-full-image-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-8);
}

.p-full-image-inner {
  width: 100%;
  background: var(--color-surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.p-full-image-inner img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.p-full-image-footer {
  padding: var(--space-4) var(--space-6);
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.p-full-image-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-heading);
  margin: 0;
}

.p-full-image-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* 4. YouTube Video Section (.p-video-box) */
.p-video-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-8);
}

.p-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.p-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.p-video-footer {
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface-soft);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.p-video-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FF0000;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.p-video-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 2px;
}

.p-video-caption {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* 5. Icon Box Section (Dikey ve Yatay Card) */
/* Vertical Icon Card Grid */
.p-icon-grid-vertical {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.p-icon-card {
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.p-icon-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-brand);
  box-shadow: var(--shadow-card-hover);
}

.p-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(184, 206, 2, 0.16);
  color: var(--color-brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.p-icon-card:hover .p-icon-badge {
  background: var(--color-brand);
  color: var(--color-carbon);
}

.p-icon-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-heading);
  margin: 0 0 var(--space-2);
  line-height: 1.35;
}

.p-icon-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Horizontal Icon Card Grid */
.p-icon-grid-horizontal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.p-icon-card-horizontal {
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.p-icon-card-horizontal:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand);
  box-shadow: var(--shadow-card-hover);
}

.p-icon-card-horizontal .p-icon-badge {
  margin-bottom: 0;
  width: 44px;
  height: 44px;
  font-size: 22px;
}

.p-icon-card-horizontal .p-icon-title {
  margin-bottom: 4px;
}

/* 6. CTA Section (.p-cta-box) */
.p-cta-box {
  background: linear-gradient(135deg, var(--color-carbon) 0%, #10201b 100%);
  color: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 32px 36px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(24, 45, 39, 0.2);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(184, 206, 2, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.p-cta-box::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 206, 2, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.p-cta-content {
  flex: 1;
  min-width: 280px;
  position: relative;
  z-index: 2;
}

.p-cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand);
  margin-bottom: var(--space-2);
}

.p-cta-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 var(--space-2);
  line-height: 1.3;
}

.p-cta-desc {
  font-size: 0.95rem;
  color: #c0d2cc;
  margin: 0;
  line-height: 1.55;
  max-width: 620px;
}

.p-cta-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.p-btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-brand);
  color: var(--color-carbon);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(184, 206, 2, 0.35);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.p-btn-cta-primary:hover {
  background-color: #c9e002;
  color: var(--color-carbon);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(184, 206, 2, 0.45);
}

.p-btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.p-btn-cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: #FFFFFF;
  color: #FFFFFF;
  text-decoration: none;
}

/* 7. Technical Specifications Table (.p-specs-table) */
.p-specs-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  background: #FFFFFF;
  margin-bottom: var(--space-6);
}

.p-specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.p-specs-table tr {
  border-bottom: 1px solid var(--color-border-subtle);
  transition: background-color var(--transition-fast);
}

.p-specs-table tr:last-child {
  border-bottom: none;
}

.p-specs-table tr:hover {
  background-color: #fafcf4;
}

.p-specs-table th,
.p-specs-table .p-spec-key {
  width: 32%;
  padding: 14px 20px;
  font-weight: 700;
  color: var(--color-heading);
  background-color: var(--color-surface-soft);
  vertical-align: top;
  border-right: 1px solid var(--color-border-subtle);
}

.p-specs-table td,
.p-specs-table .p-spec-val {
  padding: 14px 20px;
  color: var(--color-text);
  line-height: 1.6;
  vertical-align: top;
}

.p-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.p-specs-list li {
  position: relative;
  padding-left: 18px;
}

.p-specs-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-brand-dark);
}

.p-specs-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  background-color: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  color: var(--color-heading);
}

/* Callout Note Box (.p-note-box) */
.p-note-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  background-color: #f0f7f4;
  border-left: 4px solid var(--color-brand-dark);
  margin-bottom: var(--space-6);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-heading);
}

.p-note-icon {
  font-size: 1.25rem;
  color: var(--color-brand-dark);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Responsive adjustments for product content */
@media (max-width: 768px) {
  .p-split-row {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding: var(--space-4);
  }

  .p-split-row--reverse {
    direction: ltr;
  }

  .p-icon-grid-vertical,
  .p-icon-grid-horizontal {
    grid-template-columns: 1fr;
  }

  .p-cta-box {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .p-cta-actions {
    width: 100%;
  }

  .p-btn-cta-primary,
  .p-btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .p-specs-table th,
  .p-specs-table .p-spec-key {
    width: 40%;
    padding: 12px 14px;
  }

  .p-specs-table td,
  .p-specs-table .p-spec-val {
    padding: 12px 14px;
  }
}

@media (max-width: 480px) {
  .p-specs-table {
    font-size: 0.85rem;
  }
  .p-specs-table th,
  .p-specs-table .p-spec-key {
    width: 45%;
    padding: 10px 12px;
  }
  .p-specs-table td,
  .p-specs-table .p-spec-val {
    padding: 10px 12px;
  }
}

/* Shipping Badges */
.badge-shipping-fast {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-sm, 4px);
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.28);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.badge-shipping-standard {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-sm, 4px);
  background: var(--color-surface-soft, #f1f5f9);
  color: var(--color-text-muted, #64748b);
  border: 1px solid var(--color-border, #e2e8f0);
  letter-spacing: 0.01em;
  white-space: nowrap;
}


/* ==========================================================================
   Checkout Gate & Google Auth Components
   ========================================================================== */
.checkout-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}
@media (max-width: 991px) {
  .checkout-options-grid {
    grid-template-columns: 1fr;
  }
}
.checkout-option-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.checkout-option-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}
.checkout-option-card.highlight {
  border: 2px solid var(--color-brand, #0284c7);
}
.btn-google-direct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-button, 8px);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  text-decoration: none;
}
.btn-google-direct:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}
[data-theme="dark"] .btn-google-direct,
body.theme-dark .btn-google-direct {
  background: #1e293b;
  color: #f1f5f9;
  border-color: #334155;
}
[data-theme="dark"] .btn-google-direct:hover,
body.theme-dark .btn-google-direct:hover {
  background: #334155;
  border-color: #475569;
  color: #ffffff;
}
.auth-divider {
  display: flex;
  align-items: center;
  margin: var(--space-4) 0;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.auth-divider span {
  padding: 0 12px;
}

/* ==========================================================================
   COOKIE CONSENT BANNER (KVKK & GDPR Compliant)
   ========================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 480px;
  width: calc(100% - 48px);
  background: #0f172a;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98));
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 999999;
  padding: 20px;
  font-family: inherit;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent-banner.cookie-consent-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cookie-consent-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cookie-consent-icon-box {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-consent-content {
  flex: 1;
  min-width: 0;
}

.cookie-consent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.cookie-consent-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.cookie-consent-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s ease;
}

.cookie-consent-close-btn:hover {
  color: #ffffff;
}

.cookie-consent-text {
  font-size: 0.815rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0 0 14px 0;
}

.cookie-consent-text a {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.cookie-consent-text a:hover {
  color: #7dd3fc;
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-consent-actions .cookie-btn-accept {
  background: #f97316;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.825rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cookie-consent-actions .cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

.cookie-consent-actions .cookie-btn-reject {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cookie-consent-actions .cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 640px) {
  .cookie-consent-banner {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 18px 18px 0 0;
    padding: 16px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  }
  .cookie-consent-inner {
    gap: 12px;
  }
  .cookie-consent-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .cookie-consent-actions {
    flex-direction: column;
    width: 100%;
  }
  .cookie-consent-actions button {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   INVOICE TYPE SWITCHER (Bireysel / Kurumsal Fatura)
   ========================================================================== */
.fatura-tipi-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: var(--space-4, 16px);
}

.fatura-tipi-option {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
}

.fatura-tipi-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.fatura-tipi-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background-color: var(--color-surface, #ffffff);
  border: 1.5px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius-md, 10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.fatura-tipi-option:hover .fatura-tipi-card {
  border-color: #94a3b8;
  background-color: var(--color-surface-soft, #f8fafc);
}

.fatura-radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.fatura-radio-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-brand-dark, #0f172a);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.fatura-tipi-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background-color: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.fatura-tipi-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fatura-tipi-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-heading, #0f172a);
  line-height: 1.25;
}

.fatura-tipi-sub {
  font-size: 0.725rem;
  color: var(--color-text-muted, #64748b);
  margin-top: 1px;
}

/* Checked State */
.fatura-tipi-option input[type="radio"]:checked + .fatura-tipi-card,
.fatura-tipi-option.is-active .fatura-tipi-card {
  border-color: var(--color-brand-dark, #0f172a);
  background-color: #ffffff;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.1), 0 0 0 1px var(--color-brand-dark, #0f172a);
}

.fatura-tipi-option input[type="radio"]:checked + .fatura-tipi-card .fatura-radio-dot,
.fatura-tipi-option.is-active .fatura-radio-dot {
  border-color: var(--color-brand-dark, #0f172a);
}

.fatura-tipi-option input[type="radio"]:checked + .fatura-tipi-card .fatura-radio-dot::after,
.fatura-tipi-option.is-active .fatura-radio-dot::after {
  opacity: 1;
  transform: scale(1);
}

.fatura-tipi-option input[type="radio"]:checked + .fatura-tipi-card .fatura-tipi-icon,
.fatura-tipi-option.is-active .fatura-tipi-icon {
  background-color: rgba(15, 23, 42, 0.08);
  color: var(--color-brand-dark, #0f172a);
}

@media (max-width: 520px) {
  .fatura-tipi-switcher {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


