/* ==========================================================================
   WHMCS PRO TURKISH THEME — CORE STYLESHEET
   Reset, Turkish Typography, Responsive Grid, Buttons, Badges, Cards
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. WEB FONT IMPORTS (Inter & Plus Jakarta Sans with latin-ext)
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap&subset=latin,latin-ext');

/* --------------------------------------------------------------------------
   2. MODERN CSS RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* Turkish Diacritics Strict Compliance */
html[lang="tr"] {
  font-feature-settings: "case" 1, "calt" 1;
}

body {
  font-family: var(--theme-font-sans);
  font-size: var(--theme-text-base);
  color: var(--theme-text-main);
  background-color: var(--theme-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   3. TURKISH TYPOGRAPHY & HEADING HIERARCHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--theme-font-heading);
  color: var(--theme-text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, var(--theme-text-4xl));
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, var(--theme-text-3xl));
  margin-bottom: 0.875rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, var(--theme-text-xl));
  margin-bottom: 0.75rem;
  font-weight: 600;
}

h4 {
  font-size: var(--theme-text-lg);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

h5 {
  font-size: var(--theme-text-md);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

h6 {
  font-size: var(--theme-text-base);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--theme-text-muted);
  line-height: 1.65;
}

p.lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--theme-text-muted);
  line-height: 1.6;
}

small, .text-sm {
  font-size: var(--theme-text-sm);
  line-height: 1.4;
}

.text-xs {
  font-size: var(--theme-text-xs);
  line-height: 1.35;
}

a {
  color: var(--theme-primary);
  text-decoration: none;
  transition: color var(--theme-transition-fast);
}

a:hover {
  color: var(--theme-primary-hover);
}

code, pre, kbd, samp {
  font-family: var(--theme-font-mono);
  font-size: 0.875em;
}

code {
  padding: 0.2em 0.4em;
  border-radius: var(--theme-radius-xs);
  background-color: var(--theme-surface-alt);
  color: var(--theme-primary);
  border: 1px solid var(--theme-border);
}

pre {
  display: block;
  padding: 1rem;
  background-color: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  overflow-x: auto;
  color: var(--theme-text-main);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   4. RESPONSIVE CONTAINER & GRID SYSTEM
   -------------------------------------------------------------------------- */
.theme-container {
  width: 100%;
  max-width: var(--theme-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--theme-container-pad);
  padding-right: var(--theme-container-pad);
}

.theme-container-wide {
  width: 100%;
  max-width: var(--theme-container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--theme-container-pad);
  padding-right: var(--theme-container-pad);
}

.theme-container-narrow {
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--theme-container-pad);
  padding-right: var(--theme-container-pad);
}

/* Flexbox Helpers */
.theme-flex { display: flex; }
.theme-inline-flex { display: inline-flex; }
.theme-flex-col { flex-direction: column; }
.theme-flex-wrap { flex-wrap: wrap; }
.theme-items-center { align-items: center; }
.theme-items-start { align-items: flex-start; }
.theme-items-end { align-items: flex-end; }
.theme-justify-between { justify-content: space-between; }
.theme-justify-center { justify-content: center; }
.theme-justify-end { justify-content: flex-end; }
.theme-flex-1 { flex: 1 1 0%; }

/* Grid Helpers */
.theme-grid {
  display: grid;
  gap: 1.5rem;
}

.theme-grid > *,
.theme-grid-1 > *,
.theme-grid-2 > *,
.theme-grid-3 > *,
.theme-grid-4 > *,
.theme-page-layout-grid > * {
  min-width: 0;
}

.theme-grid-1 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.theme-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.theme-grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.theme-grid-4 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .theme-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .theme-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .theme-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .theme-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .theme-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Spacing Helpers */
.theme-gap-1 { gap: 0.25rem; }
.theme-gap-2 { gap: 0.5rem; }
.theme-gap-3 { gap: 0.75rem; }
.theme-gap-4 { gap: 1rem; }
.theme-gap-6 { gap: 1.5rem; }
.theme-gap-8 { gap: 2rem; }
.theme-gap-12 { gap: 3rem; }

/* --------------------------------------------------------------------------
   5. BUTTONS & INTERACTION STATES
   -------------------------------------------------------------------------- */
.btn-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--theme-font-sans);
  font-weight: 600;
  font-size: var(--theme-text-base);
  line-height: 1.25;
  padding: 0.625rem 1.25rem;
  border-radius: var(--theme-radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--theme-transition-normal);
  user-select: none;
}

.btn-theme:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb), 0.35);
}

.btn-theme-primary {
  background-color: var(--theme-primary);
  color: var(--theme-btn-primary-text, #FFFFFF) !important;
  border-color: var(--theme-primary);
  box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb), 0.25);
}

.btn-theme-primary:hover {
  background-color: var(--theme-primary-hover);
  color: var(--theme-btn-primary-text, #FFFFFF) !important;
  border-color: var(--theme-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(var(--theme-primary-rgb), 0.35);
}

.btn-theme-accent {
  background-color: var(--theme-accent);
  color: var(--theme-btn-accent-text, var(--theme-accent-text)) !important;
  border-color: var(--theme-accent);
  box-shadow: 0 4px 14px rgba(var(--theme-accent-rgb), 0.3);
}

.btn-theme-accent:hover {
  background-color: var(--theme-accent-hover);
  color: var(--theme-btn-accent-text, var(--theme-accent-text)) !important;
  border-color: var(--theme-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(var(--theme-accent-rgb), 0.4);
}

.btn-theme-secondary {
  background-color: var(--theme-secondary);
  color: #FFFFFF !important;
  border-color: var(--theme-secondary);
}

.btn-theme-secondary:hover {
  background-color: var(--theme-secondary-hover);
  border-color: var(--theme-secondary-hover);
  transform: translateY(-1px);
}

.btn-theme-outline {
  background-color: transparent;
  color: var(--theme-text-main);
  border: 1px solid var(--theme-border);
}

.btn-theme-outline:hover {
  background-color: var(--theme-surface-hover);
  border-color: var(--theme-primary);
  color: var(--theme-primary);
}

.btn-theme-ghost {
  background-color: transparent;
  color: var(--theme-text-muted);
  border-color: transparent;
}

.btn-theme-ghost:hover {
  background-color: var(--theme-surface-hover);
  color: var(--theme-text-main);
}

/* Button Sizes */
.btn-sm {
  font-size: var(--theme-text-sm);
  padding: 0.375rem 0.875rem;
}

.btn-md {
  font-size: var(--theme-text-base);
  padding: 0.625rem 1.25rem;
}

.btn-lg {
  font-size: var(--theme-text-md);
  padding: 0.875rem 1.75rem;
  font-weight: 700;
}

.btn-xl {
  font-size: var(--theme-text-lg);
  padding: 1.125rem 2.25rem;
  font-weight: 700;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* --------------------------------------------------------------------------
   6. BADGE STYLES
   -------------------------------------------------------------------------- */
.theme-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: var(--theme-text-xs);
  font-weight: 700;
  line-height: 1;
  border-radius: var(--theme-radius-full);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-ai {
  background-color: var(--theme-badge-ai-bg);
  color: var(--theme-badge-ai-text);
  border: 1px solid rgba(var(--theme-primary-rgb), 0.2);
}

.badge-sale {
  background-color: var(--theme-badge-sale-bg);
  color: var(--theme-badge-sale-text);
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.badge-popular {
  background: var(--theme-card-highlight-gradient);
  color: #FFFFFF;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
}

.badge-success {
  background-color: var(--theme-success-light);
  color: var(--theme-success);
}

.badge-warning {
  background-color: var(--theme-warning-light);
  color: var(--theme-warning);
}

.badge-danger {
  background-color: var(--theme-danger-light);
  color: var(--theme-danger);
}

.badge-info {
  background-color: var(--theme-info-light);
  color: var(--theme-info);
}

.badge-primary {
  background-color: rgba(var(--theme-primary-rgb, 29, 78, 216), 0.12);
  color: var(--theme-primary);
}

.badge-muted {
  background-color: var(--theme-surface-alt);
  color: var(--theme-text-muted);
  border: 1px solid var(--theme-border);
}

/* Control Panel Badges */
.badge-cpanel {
  background-color: #FFF2EB;
  color: #FF6C2C;
  border: 1px solid rgba(255, 108, 44, 0.3);
  font-weight: 700;
}

.badge-directadmin {
  background-color: #EBF5FB;
  color: #2D9CDB;
  border: 1px solid rgba(45, 156, 219, 0.3);
  font-weight: 700;
}

.badge-plesk {
  background-color: #F1F5F9;
  color: #0F172A;
  border: 1px solid #CBD5E1;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   7. CARD UTILITIES & SURFACE PANELS
   -------------------------------------------------------------------------- */
.theme-card {
  position: relative;
  background-color: var(--theme-card);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-card);
  box-shadow: var(--theme-shadow-card);
  transition: all var(--theme-transition-normal);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.theme-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--theme-shadow-card-hover);
  border-color: var(--theme-border-highlight);
}

.theme-card-highlighted {
  border-color: var(--theme-border-highlight);
  box-shadow: var(--theme-shadow-card-hover);
}

.theme-card-highlighted::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--theme-card-highlight-gradient);
  z-index: 2;
}

.theme-card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--theme-border);
}

.theme-card-body {
  padding: 1.5rem;
  flex: 1 1 auto;
}

.theme-card-footer {
  padding: 1.25rem 1.5rem;
  background-color: var(--theme-surface-hover);
  border-top: 1px solid var(--theme-border);
}

/* --------------------------------------------------------------------------
   8. BILLING CYCLE TOGGLE COMPONENT
   -------------------------------------------------------------------------- */
.billing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.billing-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  background-color: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-full);
  padding: 0.35rem;
  box-shadow: var(--theme-shadow-sm);
  position: relative;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.cycle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  padding: 0.5rem 1.15rem;
  font-family: var(--theme-font-sans);
  font-size: var(--theme-text-sm);
  font-weight: 600;
  color: var(--theme-text-muted);
  background: transparent;
  border: none;
  border-radius: var(--theme-radius-full);
  cursor: pointer;
  transition: all var(--theme-transition-fast);
  white-space: nowrap;
}

.cycle-btn:hover {
  color: var(--theme-text-main);
}

.cycle-btn.active {
  background-color: var(--theme-primary);
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(var(--theme-primary-rgb), 0.35);
}

.cycle-btn .cycle-badge {
  position: absolute;
  top: -10px;
  right: -8px;
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--theme-radius-full);
  font-weight: 800;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   9. FORM CONTROLS & SEARCH INPUTS
   -------------------------------------------------------------------------- */
.theme-input-group {
  position: relative;
  display: flex;
  width: 100%;
}

.theme-input {
  width: 100%;
  font-family: var(--theme-font-sans);
  font-size: var(--theme-text-base);
  color: var(--theme-text-main);
  background-color: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  padding: 0.75rem 1rem;
  line-height: 1.5;
  transition: border-color var(--theme-transition-fast), box-shadow var(--theme-transition-fast);
}

.theme-input:focus {
  outline: none;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb), 0.15);
}

.theme-input::placeholder {
  color: var(--theme-text-subtle);
}

/* --------------------------------------------------------------------------
   10. SECTION WRAPPERS & ACCORDIONS
   -------------------------------------------------------------------------- */
.theme-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  position: relative;
}

.theme-section-alt {
  background-color: var(--theme-bg-alt);
}

.theme-section-header {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}

.theme-section-tag {
  display: inline-block;
  font-size: var(--theme-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--theme-primary);
  margin-bottom: 0.75rem;
}

/* FAQ Accordion */
.theme-accordion,
.theme-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.theme-accordion-item,
.faq-item,
.accordion-item {
  background-color: var(--theme-card);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  overflow: hidden;
  transition: border-color var(--theme-transition-fast), box-shadow var(--theme-transition-fast);
}

.theme-accordion-item.active,
.theme-accordion-item.open,
.faq-item.active,
.faq-item.open,
.accordion-item.active,
.accordion-item.open {
  border-color: var(--theme-primary);
  box-shadow: var(--theme-shadow-sm);
}

.theme-accordion-header,
.faq-question,
.accordion-button {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  background-color: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--theme-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--theme-text-main);
  cursor: pointer;
  text-align: left;
  transition: color var(--theme-transition-fast), background-color var(--theme-transition-fast);
}

.theme-accordion-header:hover,
.faq-question:hover,
.accordion-button:hover {
  color: var(--theme-primary);
  background-color: var(--theme-surface-hover);
}

.theme-accordion-icon,
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--theme-transition-normal);
  color: var(--theme-primary);
}

.theme-accordion-item.active .theme-accordion-icon,
.theme-accordion-item.open .theme-accordion-icon,
.faq-item.active .faq-chevron,
.faq-item.open .faq-chevron,
.accordion-item.active .faq-chevron,
.accordion-button[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.theme-accordion-body,
.faq-answer,
.accordion-collapse {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--theme-text-muted);
  font-size: var(--theme-text-base);
  line-height: 1.65;
  display: none;
}

.theme-accordion-body p:last-child,
.faq-answer p:last-child,
.accordion-collapse p:last-child {
  margin-bottom: 0;
}

.theme-accordion-item.active .theme-accordion-body,
.theme-accordion-item.open .theme-accordion-body,
.faq-item.active .faq-answer,
.faq-item.open .faq-answer,
.accordion-item.active .accordion-collapse,
.accordion-item.open .accordion-collapse {
  display: block;
}

/* ==========================================================================
   9. GLOBAL HEADER, TOPBAR & MEGA-MENU NAVIGATION
   Consolidated from header.tpl and navbar.tpl
   ========================================================================== */

/* Header Wrapper Styles */
.theme-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--theme-surface);
  box-shadow: var(--theme-shadow-sm);
}

/* Top Utility Bar */
.theme-topbar {
  background-color: var(--theme-secondary);
  color: #CBD5E1;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}

.theme-topbar-left, .theme-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-topbar-link {
  color: #CBD5E1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--theme-transition-fast);
}

.theme-topbar-link:hover {
  color: #FFFFFF;
}

.theme-topbar-divider {
  color: rgba(255, 255, 255, 0.2);
}

.theme-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.4);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.theme-topbar-btn {
  background: transparent;
  border: none;
  color: #CBD5E1;
  font-size: 0.8rem;
  font-family: var(--theme-font-sans);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.4rem;
  border-radius: var(--theme-radius-xs);
}

.theme-topbar-btn:hover {
  color: #FFFFFF;
}

.theme-topbar-dropdown {
  position: relative;
}

.theme-dropdown-popover {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  box-shadow: var(--theme-shadow-lg);
  padding: 0.4rem 0;
  min-width: 140px;
  display: none;
  z-index: 1010;
}

.theme-dropdown-popover.show {
  display: block;
}

.theme-dropdown-opt {
  display: block;
  padding: 0.4rem 1rem;
  color: var(--theme-text-main);
  text-decoration: none;
  font-size: 0.8rem;
}

.theme-dropdown-opt:hover, .theme-dropdown-opt.active {
  background: var(--theme-surface-hover);
  color: var(--theme-primary);
}

.theme-topbar-admin-badge {
  background: #DC2626;
  color: #FFFFFF !important;
  padding: 0.15rem 0.5rem;
  border-radius: var(--theme-radius-xs);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
}

/* Main Navbar */
.theme-main-navbar {
  background-color: var(--theme-surface);
  border-bottom: 1px solid var(--theme-border);
  padding: 0.75rem 0;
  transition: background-color var(--theme-transition-fast);
}

.theme-navbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* Brand Logo */
.theme-logo-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.theme-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.theme-logo-img {
  height: 40px !important;
  max-height: 44px !important;
  width: auto;
  min-width: 135px;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.theme-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--theme-radius-md);
  background: var(--theme-card-highlight-gradient);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(var(--theme-primary-rgb), 0.3);
}

.theme-logo-text {
  display: flex;
  flex-direction: column;
}

.theme-logo-name {
  font-family: var(--theme-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--theme-text-main);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.theme-logo-name strong {
  color: var(--theme-primary);
}

.theme-logo-sub {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--theme-text-muted);
}

/* Desktop Navigation Container */
.theme-desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .theme-desktop-nav {
    display: block;
    flex: 1 1 auto;
  }
}

/* Navigation List Container */
.theme-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.theme-nav-item {
  position: relative;
}

.theme-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  font-family: var(--theme-font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--theme-text-main);
  text-decoration: none;
  border-radius: var(--theme-radius-sm);
  transition: all var(--theme-transition-fast);
  white-space: nowrap;
}

.theme-nav-link:hover,
.theme-nav-item.active .theme-nav-link {
  color: var(--theme-primary);
  background-color: var(--theme-surface-hover);
}

.nav-caret {
  font-size: 0.7rem;
  transition: transform var(--theme-transition-fast);
  opacity: 0.7;
}

.theme-nav-item:hover .nav-caret {
  transform: rotate(180deg);
}

/* Mega Menu Dropdown Container (Aligned to .theme-navbar-inner so it never overflows left or right) */
.theme-desktop-nav .theme-nav-item.has-mega {
  position: static;
}

.theme-mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  transform: translateY(8px);
  background-color: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-card);
  box-shadow: var(--theme-shadow-lg);
  padding: 1.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--theme-transition-normal), transform var(--theme-transition-normal), visibility var(--theme-transition-normal);
  z-index: 1000;
}

.theme-mega-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.theme-mega-menu > .theme-container {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

.theme-nav-item.has-mega:hover .theme-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.theme-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.theme-mega-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.theme-mega-cat-title {
  font-family: var(--theme-font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--theme-text-muted);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid var(--theme-border);
  padding-bottom: 0.5rem;
}

.theme-mega-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--theme-radius-md);
  text-decoration: none;
  transition: background-color var(--theme-transition-fast);
}

.theme-mega-link:hover {
  background-color: var(--theme-surface-hover);
}

.theme-mega-link-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: var(--theme-radius-sm);
  background-color: var(--theme-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.theme-mega-link-content {
  display: flex;
  flex-direction: column;
}

.theme-mega-link-content strong {
  font-size: 0.9rem;
  color: var(--theme-text-main);
  font-family: var(--theme-font-heading);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.theme-mega-link-content small {
  font-size: 0.775rem;
  color: var(--theme-text-muted);
  line-height: 1.3;
}

/* Spotlight Card in Mega Menu */
.theme-mega-spotlight {
  display: flex;
}

.theme-mega-card {
  width: 100%;
  background: var(--theme-surface-alt);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.theme-mega-card h4 {
  font-size: 1.05rem;
  margin-top: 0.5rem;
  margin-bottom: 0.35rem;
}

.theme-mega-card p {
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.theme-mega-card-price {
  font-family: var(--theme-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--theme-primary);
  margin-bottom: 0.85rem;
}

.theme-mega-card-price small {
  font-size: 0.75rem;
  color: var(--theme-text-muted);
  font-weight: 400;
  margin-left: 0.35rem;
}

/* Standard Dropdown Menu fallback */
.theme-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  box-shadow: var(--theme-shadow-lg);
  padding: 0.5rem 0;
  list-style: none;
  z-index: 1000;
}

.theme-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  color: var(--theme-text-main);
  text-decoration: none;
  font-size: var(--theme-text-sm);
  transition: background-color var(--theme-transition-fast);
}

.theme-dropdown-menu .dropdown-item:hover {
  background-color: var(--theme-surface-hover);
  color: var(--theme-primary);
}

/* Navbar Actions (Right) */
.theme-navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.theme-mode-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--theme-radius-full);
  background-color: var(--theme-surface-alt);
  border: 1px solid var(--theme-border);
  color: var(--theme-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--theme-transition-fast);
}

.theme-mode-toggle:hover {
  background-color: var(--theme-surface-hover);
  color: var(--theme-primary);
}

.theme-mode-toggle .dark-icon { display: block; }
.theme-mode-toggle .light-icon { display: none; }

[data-theme="dark"] .theme-mode-toggle .dark-icon,
html.dark .theme-mode-toggle .dark-icon {
  display: none;
}

[data-theme="dark"] .theme-mode-toggle .light-icon,
html.dark .theme-mode-toggle .light-icon {
  display: block;
  color: #FBBF24;
}

.theme-cart-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: var(--theme-radius-full);
  background-color: var(--theme-surface-alt);
  border: 1px solid var(--theme-border);
  color: var(--theme-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--theme-transition-fast);
}

.theme-cart-btn:hover {
  background-color: var(--theme-surface-hover);
  color: var(--theme-primary);
}

.theme-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--theme-accent);
  color: var(--theme-btn-accent-text, var(--theme-accent-text));
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.theme-mobile-menu-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--theme-radius-md);
  background-color: var(--theme-surface-alt);
  border: 1px solid var(--theme-border);
  color: var(--theme-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .theme-mobile-menu-toggle {
    display: none;
  }
}

/* User Popover Menu */
.theme-user-dropdown {
  position: relative;
}

.theme-user-popover {
  position: absolute;
  top: 100%;
  right: 0;
  width: 240px;
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-card);
  box-shadow: var(--theme-shadow-lg);
  display: none;
  z-index: 1010;
  overflow: hidden;
}

.theme-user-popover.show {
  display: block;
}

.theme-user-popover-header {
  padding: 1rem;
  background: var(--theme-surface-alt);
  border-bottom: 1px solid var(--theme-border);
  display: flex;
  flex-direction: column;
}

.theme-user-popover-header strong {
  font-family: var(--theme-font-heading);
  color: var(--theme-text-main);
}

.theme-user-popover-header small {
  color: var(--theme-text-muted);
  font-size: 0.775rem;
}

.theme-user-popover-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  color: var(--theme-text-main);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background var(--theme-transition-fast);
}

.theme-user-popover-links a:hover {
  background: var(--theme-surface-hover);
  color: var(--theme-primary);
}

.theme-user-divider {
  height: 1px;
  background: var(--theme-border);
  margin: 0.35rem 0;
}

/* ==========================================================================
   10. MOBILE OFF-CANVAS DRAWER & NAVIGATION
   Consolidated from header.tpl + vertical mobile navigation rules
   ========================================================================== */
.theme-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background-color: var(--theme-surface);
  box-shadow: var(--theme-shadow-lg);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform var(--theme-transition-normal);
  display: flex;
  flex-direction: column;
}

.theme-mobile-drawer.open {
  transform: translateX(0);
}

.theme-mobile-drawer-header {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--theme-border);
}

.theme-drawer-close {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--theme-text-muted);
  cursor: pointer;
}

.theme-mobile-drawer-body {
  padding: 1rem;
  overflow-y: auto;
  flex: 1 1 auto;
}

.theme-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1090;
  display: none;
}

.theme-drawer-backdrop.show {
  display: block;
}

/* Mobile Drawer Navigation Items */
.theme-mobile-drawer .theme-nav-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: stretch;
  gap: 0.5rem;
}

.theme-mobile-drawer .theme-nav-item {
  width: 100%;
}

.theme-mobile-drawer .theme-nav-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--theme-radius-sm);
  color: var(--theme-text-main);
  text-decoration: none;
  font-size: var(--theme-text-base);
  font-weight: 600;
  transition: background-color var(--theme-transition-fast), color var(--theme-transition-fast);
}

.theme-mobile-drawer .theme-nav-link .nav-caret {
  margin-left: auto;
  transition: transform 0.2s ease;
}

.theme-mobile-drawer .theme-nav-item.open > .theme-nav-link .nav-caret,
.theme-mobile-drawer .theme-nav-item.active > .theme-nav-link .nav-caret {
  transform: rotate(180deg);
}

.theme-mobile-drawer .theme-nav-link:hover,
.theme-mobile-drawer .theme-nav-link:focus {
  background-color: var(--theme-surface-hover);
  color: var(--theme-primary);
}

.theme-mobile-drawer .theme-mega-menu {
  position: static;
  width: 100%;
  max-width: 100%;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  box-shadow: none;
  border: 1px solid var(--theme-border);
  background-color: var(--theme-surface-alt);
  border-radius: var(--theme-radius-sm);
  transform: none;
  margin-top: 0.35rem;
  padding: 0.75rem;
  display: none;
}

.theme-mobile-drawer .theme-mega-menu::before {
  display: none;
}

.theme-mobile-drawer .theme-mega-menu > .theme-container {
  padding: 0;
  max-width: 100%;
}

.theme-mobile-drawer .theme-nav-item.open > .theme-mega-menu,
.theme-mobile-drawer .theme-nav-item.active > .theme-mega-menu,
.theme-mobile-drawer .nav-item.open > .dropdown-menu,
.theme-mobile-drawer .nav-item.active > .dropdown-menu {
  display: block;
}

.theme-mobile-drawer .theme-mega-grid {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.theme-mobile-drawer .theme-mega-promo-col,
.theme-mobile-drawer .theme-mega-spotlight {
  display: none;
}

.theme-mobile-drawer-actions {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--theme-border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (max-width: 640px) {
  .hidden-mobile {
    display: none !important;
  }
}

/* ==========================================================================
   11. TRUST & COMPLIANCE BADGES STRIP
   Consolidated from trust-badges.tpl
   ========================================================================== */
.theme-trust-badges-strip {
  background-color: var(--theme-surface);
  border-top: 1px solid var(--theme-border);
  border-bottom: 1px solid var(--theme-border);
  padding: 2.25rem 0;
  position: relative;
  z-index: 10;
}

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

@media (min-width: 640px) {
  .theme-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .theme-trust-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.theme-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--theme-radius-md);
  transition: background-color var(--theme-transition-fast);
}

.theme-trust-item:hover {
  background-color: var(--theme-surface-hover);
}

.theme-trust-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--theme-radius-md);
  background-color: var(--theme-surface-alt);
  border: 1px solid var(--theme-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.theme-trust-text {
  flex: 1 1 auto;
}

.theme-trust-title {
  font-family: var(--theme-font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--theme-text-main);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.theme-trust-desc {
  font-size: 0.775rem;
  color: var(--theme-text-muted);
  line-height: 1.35;
  margin-bottom: 0;
}

/* ==========================================================================
   12. FOOTER & SUB-FOOTER STYLES
   Consolidated from footer-content.tpl and footer.tpl
   ========================================================================== */
.theme-footer {
  background-color: var(--theme-secondary);
  color: #94A3B8;
  padding-top: 4rem;
  padding-bottom: 2.5rem;
  font-size: var(--theme-text-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .theme-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .theme-footer-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.theme-footer-heading {
  font-family: var(--theme-font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.theme-footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--theme-primary);
  border-radius: var(--theme-radius-full);
}

.theme-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.theme-footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: all var(--theme-transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.theme-footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

.theme-footer-links li a {
  color: #94A3B8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  transition: all var(--theme-transition-fast);
}

.theme-footer-links li a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

.theme-footer-links li a i {
  font-size: 0.7rem;
  color: var(--theme-accent);
}

/* Corporate details strip */
.theme-footer-corporate {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--theme-radius-md);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.825rem;
  color: #CBD5E1;
}

.theme-corp-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-corp-item strong {
  color: #FFFFFF;
}

/* Bottom Disclaimer and Payments */
.theme-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .theme-footer-bottom {
    flex-direction: row;
  }
}

.theme-disclaimer-text {
  font-size: 0.8rem;
  color: #94A3B8;
  margin-bottom: 0;
  line-height: 1.5;
}

.theme-payment-badges {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.theme-footer-badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: var(--theme-radius-xs);
  font-weight: 700;
  text-transform: uppercase;
}

.theme-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.theme-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.4;
}

.theme-footer-contact i {
  color: var(--theme-primary);
  margin-top: 0.2rem;
  font-size: 0.9rem;
}

.theme-footer-legal-box {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.theme-footer-corporate-info {
  font-size: 0.8rem;
  color: #94A3B8;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.theme-footer-corporate-info strong {
  color: #E2E8F0;
}

.theme-footer-disclaimer {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #64748B;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0.75rem 1rem;
  border-radius: var(--theme-radius-sm);
  border-left: 3px solid var(--theme-border-highlight);
}

.theme-footer-payment-strip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  .theme-footer-payment-strip {
    flex-direction: row;
    align-items: center;
  }
}

.theme-pay-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.theme-pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #CBD5E1;
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--theme-radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-pay-badge.ssl-badge {
  font-weight: 700;
  font-size: 0.775rem;
  color: #FFFFFF;
  background-color: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
}

.theme-pay-badge svg {
  display: block;
}

/* Sub-footer Copyright & Legal Strip */
.theme-sub-footer {
  background-color: #070D18;
  color: #64748B;
  padding: 1.25rem 0;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-sub-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .theme-sub-footer-inner {
    flex-direction: row;
  }
}

.theme-copyright-text {
  margin-bottom: 0;
  color: #94A3B8;
}

.theme-sub-footer-links {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-sub-footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color var(--theme-transition-fast);
}

.theme-sub-footer-links a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   13. INTERNAL PAGE HEADERS & LAYOUT GRID
   Consolidated from header.tpl
   ========================================================================== */
.theme-internal-header-strip {
  background-color: var(--theme-surface);
  border-bottom: 1px solid var(--theme-border);
  padding: 2rem 0;
  margin-bottom: 2.5rem;
}

.theme-internal-header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .theme-internal-header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.theme-internal-title {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.theme-internal-tagline {
  font-size: 0.95rem;
  color: var(--theme-text-muted);
  margin-bottom: 0;
}

.theme-breadcrumb-nav .breadcrumb,
.theme-breadcrumb-wrap .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--theme-text-muted);
}

.theme-breadcrumb-nav .breadcrumb-item,
.theme-breadcrumb-wrap .breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.theme-breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before,
.theme-breadcrumb-wrap .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 0.5rem;
  color: var(--theme-text-muted);
  opacity: 0.6;
}

.theme-breadcrumb-nav .breadcrumb-item a,
.theme-breadcrumb-wrap .breadcrumb-item a {
  color: var(--theme-text-muted);
  text-decoration: none;
  transition: color var(--theme-transition-fast);
}

.theme-breadcrumb-nav .breadcrumb-item a:hover,
.theme-breadcrumb-wrap .breadcrumb-item a:hover {
  color: var(--theme-primary);
}

.theme-breadcrumb-nav .breadcrumb-item.active,
.theme-breadcrumb-wrap .breadcrumb-item.active {
  color: var(--theme-text-main);
  font-weight: 600;
}

/* Page Body Layout Grid & Bottom Footer Separation */
.theme-page-body-container {
  padding-bottom: 4.5rem;
}

.theme-page-layout-grid.has-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

@media (min-width: 1024px) {
  .theme-page-layout-grid.has-sidebar {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

.theme-dashboard-panels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.whitespace-nowrap {
  white-space: nowrap !important;
}


/* ==========================================================================
   14. UTILITY CLASSES & STOREFRONT / CLIENTAREA / ORDERFORM COMPONENTS
   Complete layout rules for Hero, Domain Search, TLD Chips, Promo Cards,
   4-Tier Pricing Cards, Feature Cards, Reviews, Stat Tiles, and Modals.
   ========================================================================== */

/* 14.1 Spacing Utilities (Padding & Margin) */
.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 0.875rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 2rem !important; }
.p-6 { padding: 2.5rem !important; }

.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 0.875rem !important; padding-right: 0.875rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 0.875rem !important; padding-bottom: 0.875rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 0.875rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 0.875rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pl-3 { padding-left: 0.875rem !important; }
.pl-4 { padding-left: 1.5rem !important; }

.m-0 { margin: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 0.875rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 2.25rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.35rem !important; }
.mb-2 { margin-bottom: 0.65rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2.25rem !important; }
.ml-1 { margin-left: 0.25rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.mr-1 { margin-right: 0.35rem !important; }
.mr-2 { margin-right: 0.6rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* 14.2 Display, Flex & Width Utilities */
.block { display: block !important; }
.inline-block { display: inline-block !important; }
.inline { display: inline !important; }
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.flex-1 { flex: 1 1 0% !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.items-end { align-items: flex-end !important; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }
.justify-end { justify-content: flex-end !important; }
.hidden { display: none !important; }
.w-full { width: 100% !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-xl { max-width: 36rem !important; }
.max-w-2xl { max-width: 42rem !important; }

/* 14.3 Typography & Color Utilities */
.text-xs { font-size: 0.75rem !important; line-height: 1.35 !important; }
.text-sm { font-size: 0.875rem !important; line-height: 1.45 !important; }
.text-base { font-size: 1rem !important; line-height: 1.5 !important; }
.text-lg { font-size: 1.125rem !important; line-height: 1.45 !important; }
.text-xl { font-size: 1.25rem !important; line-height: 1.35 !important; }
.text-2xl { font-size: 1.5rem !important; line-height: 1.25 !important; }
.text-3xl { font-size: 1.875rem !important; line-height: 1.2 !important; }

.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.font-extrabold { font-weight: 800 !important; }
.font-black { font-weight: 900 !important; }
.font-mono { font-family: var(--theme-font-mono) !important; }
.font-sans { font-family: var(--theme-font-sans) !important; }

.uppercase { text-transform: uppercase !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.tracking-tight { letter-spacing: -0.02em !important; }
.leading-relaxed { line-height: 1.65 !important; }
.line-through { text-decoration: line-through !important; }
.text-decoration-none { text-decoration: none !important; }

.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

.text-main { color: var(--theme-text-main) !important; }
.text-muted { color: var(--theme-text-muted) !important; }
.text-primary { color: var(--theme-primary) !important; }
.text-accent { color: var(--theme-accent) !important; }
.text-success { color: var(--theme-success, #10B981) !important; }
.text-warning { color: var(--theme-warning, #F59E0B) !important; }
.text-danger { color: var(--theme-danger, #EF4444) !important; }
.text-info { color: var(--theme-info, #0284C7) !important; }
.text-white { color: #FFFFFF !important; }

.bg-surface { background-color: var(--theme-surface) !important; }
.bg-surface-alt { background-color: var(--theme-surface-alt) !important; }
.bg-card { background-color: var(--theme-card) !important; }
.bg-primary { background-color: var(--theme-primary) !important; }
.bg-primary-light { background-color: rgba(var(--theme-primary-rgb, 29, 78, 216), 0.1) !important; }
.bg-accent-light { background-color: rgba(var(--theme-accent-rgb, 245, 158, 11), 0.12) !important; }
.bg-success-light { background-color: var(--theme-success-light, #ECFDF5) !important; }
.bg-warning-light { background-color: var(--theme-warning-light, #FFFBEB) !important; }
.bg-danger-light { background-color: var(--theme-danger-light, #FEF2F2) !important; }
.bg-info-light { background-color: var(--theme-info-light, #F0F9FF) !important; }

.border { border: 1px solid var(--theme-border) !important; }
.border-t { border-top: 1px solid var(--theme-border) !important; }
.border-b { border-bottom: 1px solid var(--theme-border) !important; }
.border-l-4 { border-left: 4px solid var(--theme-primary) !important; }
.border-primary { border-color: var(--theme-primary) !important; }
.border-success { border-color: var(--theme-success, #10B981) !important; }
.rounded { border-radius: var(--theme-radius-md, 10px) !important; }
.shadow-lg { box-shadow: var(--theme-shadow-lg) !important; }
.cursor-pointer { cursor: pointer !important; }
.opacity-40 { opacity: 0.4 !important; }
.opacity-50 { opacity: 0.5 !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 14.4 Storefront Hero & Domain Search Box */
.theme-hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(var(--theme-primary-rgb, 29, 78, 216), 0.09) 0%, transparent 70%),
              linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-bg) 100%);
  border-bottom: 1px solid var(--theme-border);
  overflow: hidden;
}

.theme-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.theme-hero-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.theme-hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--theme-text-main);
  margin-bottom: 1.15rem;
}

.theme-hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--theme-text-muted);
  max-width: 740px;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}

.theme-hero-search-box {
  max-width: 820px;
  margin: 0 auto;
}

.theme-domain-search-form {
  width: 100%;
}

.theme-domain-input-wrap {
  display: flex;
  align-items: center;
  background-color: var(--theme-surface);
  border: 2px solid var(--theme-primary);
  border-radius: 16px;
  padding: 0.45rem 0.5rem 0.45rem 1.25rem;
  box-shadow: 0 16px 36px -6px rgba(var(--theme-primary-rgb, 29, 78, 216), 0.16);
  gap: 0.65rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.theme-domain-input-wrap:focus-within {
  box-shadow: 0 20px 42px -6px rgba(var(--theme-primary-rgb, 29, 78, 216), 0.28);
  border-color: var(--theme-accent);
}

.theme-domain-prefix {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--theme-font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--theme-text-muted);
  white-space: nowrap;
  padding-right: 0.5rem;
  border-right: 1px solid var(--theme-border);
}

.theme-domain-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none !important;
  background: transparent !important;
  font-family: var(--theme-font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--theme-text-main);
  padding: 0.75rem 0.5rem;
  outline: none !important;
  box-shadow: none !important;
}

.theme-domain-input::placeholder {
  color: var(--theme-text-subtle, #94A3B8);
}

.theme-domain-submit-btn {
  flex-shrink: 0;
  border-radius: 12px !important;
  padding: 0.85rem 1.85rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

@media (max-width: 640px) {
  .theme-domain-input-wrap {
    flex-wrap: wrap;
    padding: 0.75rem;
  }
  .theme-domain-prefix {
    display: none;
  }
  .theme-domain-input {
    width: 100%;
    padding: 0.5rem;
  }
  .theme-domain-submit-btn {
    width: 100%;
  }
}

/* 14.5 TLD Spotlight Chips */
.theme-tld-spotlight {
  margin-top: 1.5rem;
}

.theme-tld-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.theme-tld-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.95rem;
  background-color: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 9999px;
  text-decoration: none !important;
  box-shadow: var(--theme-shadow-sm);
  transition: all 0.2s ease;
}

.theme-tld-chip:hover {
  transform: translateY(-2px);
  border-color: var(--theme-primary);
  box-shadow: var(--theme-shadow-card);
}

.theme-tld-chip.featured {
  border-color: var(--theme-primary);
  background-color: rgba(var(--theme-primary-rgb, 29, 78, 216), 0.06);
}

.theme-tld-name {
  font-family: var(--theme-font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--theme-text-main);
}

.theme-tld-pricing {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.theme-tld-price {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--theme-primary);
}

.theme-tld-price small {
  font-size: 0.75rem;
  font-weight: 700;
}

.theme-tld-old {
  font-size: 0.75rem;
  color: var(--theme-text-muted);
  text-decoration: line-through;
}

.theme-tld-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  background-color: var(--theme-success-light, #ECFDF5);
  color: var(--theme-success, #059669);
}

.theme-tld-tag.hot {
  background-color: #FEF3C7;
  color: #D97706;
}

.theme-tld-tag.discount {
  background-color: #FEE2E2;
  color: #DC2626;
}

/* 14.6 Promotional Quick Cards (Below Hero) */
.theme-promo-strip {
  padding: 2rem 0 1rem;
  position: relative;
  z-index: 5;
}

.theme-promo-card {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1.5rem;
  background-color: var(--theme-card);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-card);
  box-shadow: var(--theme-shadow-card);
  transition: all 0.25s ease;
}

.theme-promo-card:hover {
  transform: translateY(-3px);
  border-color: var(--theme-primary);
  box-shadow: var(--theme-shadow-card-hover);
}

.theme-promo-icon-box {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.theme-promo-text {
  flex: 1 1 auto;
}

.theme-promo-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--theme-text-main);
}

.theme-promo-text p {
  font-size: 0.85rem;
  color: var(--theme-text-muted);
  margin-bottom: 0;
  line-height: 1.45;
}

.theme-promo-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  background-color: rgba(var(--theme-primary-rgb, 29, 78, 216), 0.1);
  color: var(--theme-primary);
  margin-bottom: 0.35rem;
}

.theme-promo-badge.hot {
  background-color: #FEF3C7;
  color: #D97706;
}

/* 14.7 4-Tier Hosting Comparison Cards */
.theme-pricing-card {
  overflow: visible !important;
  position: relative;
}

.theme-card-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  white-space: nowrap;
}

.theme-plan-meta {
  margin-bottom: 0.75rem;
}

.theme-plan-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--theme-text-main);
  margin-bottom: 0.4rem;
}

.theme-plan-desc {
  font-size: 0.85rem;
  color: var(--theme-text-muted);
  line-height: 1.5;
  min-height: 2.6rem;
  margin-bottom: 1.25rem;
}

.theme-plan-price-wrap {
  padding-top: 1rem;
  border-top: 1px dashed var(--theme-border);
}

.theme-price-current {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}

.theme-price-val,
.package-price-number {
  font-family: var(--theme-font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--theme-text-main);
  line-height: 1;
  letter-spacing: -0.03em;
}

.theme-card-highlighted .theme-price-val,
.theme-card-highlighted .package-price-number {
  color: var(--theme-primary);
}

.theme-price-period,
.package-cycle-suffix {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--theme-text-muted);
}

.theme-price-sub {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.5rem;
}

.theme-price-strike {
  font-size: 0.85rem;
  color: var(--theme-text-muted);
  text-decoration: line-through;
}

.theme-price-discount,
.package-discount-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
}

.theme-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.theme-plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--theme-text-main);
  line-height: 1.4;
}

.theme-plan-features li i {
  flex-shrink: 0;
  font-size: 0.9rem;
}

.theme-plans-guarantee-note {
  margin-top: 2.25rem;
  padding: 1rem 1.5rem;
  background-color: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
}

.theme-plans-guarantee-note p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--theme-text-main);
}

/* 14.8 Features Grid, Domain Pricing Table & Customer Reviews */
.theme-feature-card {
  padding: 1.75rem;
  gap: 0.6rem;
}

.theme-feature-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.theme-feature-card p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.theme-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--theme-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.theme-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.theme-table-price {
  font-weight: 800;
  color: var(--theme-primary);
  font-size: 1rem;
}

.theme-review-card {
  padding: 1.75rem;
  justify-content: space-between;
  gap: 1.25rem;
}

.theme-review-stars {
  display: flex;
  gap: 0.25rem;
  font-size: 0.95rem;
}

.theme-review-text {
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--theme-text-main);
  margin-bottom: 0;
}

.theme-review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--theme-border);
}

.theme-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(var(--theme-primary-rgb, 29, 78, 216), 0.1);
  color: var(--theme-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.theme-author-info {
  display: flex;
  flex-direction: column;
}

.theme-author-info strong {
  font-size: 0.9rem;
  color: var(--theme-text-main);
}

.theme-author-info small {
  font-size: 0.775rem;
  color: var(--theme-text-muted);
}

/* 14.9 Internal Storefront Page Heroes & Client Area Stat Icons */
.theme-page-hero {
  padding: 3.5rem 1.5rem 2.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(var(--theme-primary-rgb, 29, 78, 216), 0.08) 0%, transparent 70%),
              var(--theme-surface);
  border-bottom: 1px solid var(--theme-border);
}

.theme-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.theme-stat-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

/* 14.10 WHMCS Modal Visibility Fix (#modalAjax) */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  background-color: rgba(15, 23, 42, 0.6);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.show,
.modal.in {
  display: flex;
}

.modal-dialog {
  width: 100%;
  max-width: 520px;
  margin: auto;
}

/* 14.11 Contact Page Corporate List & Map */
.theme-corp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.theme-corp-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.875rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--theme-border);
  color: var(--theme-text-main);
}

.theme-corp-list li:last-child {
  border-bottom: none;
}

.theme-map-container {
  border-radius: var(--theme-radius-md);
  overflow: hidden;
  border: 1px solid var(--theme-border);
  background-color: var(--theme-surface-alt);
}

.theme-mock-map {
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 14.12 Global Responsive Overflow Prevention & Mobile / Tablet Polish */
html,
body {
  overflow-x: clip;
  max-width: 100vw;
}

.theme-card,
.theme-main-body-column,
.theme-sidebar-primary,
.theme-sidebar-secondary {
  min-width: 0;
  max-width: 100%;
}

.theme-card-header .theme-badge {
  max-width: 100%;
  white-space: normal;
  text-align: left;
  line-height: 1.3;
}

.theme-table-responsive {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--theme-radius-md);
}

/* Constrain full-bleed Storefront sections when .theme-container is omitted */
.theme-storefront-page > .theme-section {
  padding-left: max(1rem, calc((100% - var(--theme-container-max, 1280px)) / 2 + 1.5rem));
  padding-right: max(1rem, calc((100% - var(--theme-container-max, 1280px)) / 2 + 1.5rem));
}

.theme-storefront-page > .theme-section > .theme-container {
  padding-left: 0;
  padding-right: 0;
}

/* Account Type Tabs (Bireysel / Kurumsal) responsive wrap */
.theme-account-type-tabs {
  flex-wrap: wrap;
}

.theme-account-type-tabs .btn-theme {
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  min-width: 140px;
}

/* Laptop / Tablet Landscape (1024px - 1279px) adjustments */
@media (min-width: 1024px) and (max-width: 1279px) {
  .theme-navbar-inner {
    gap: 0.65rem;
  }

  .theme-nav-link {
    padding: 0.5rem 0.55rem;
    font-size: 0.82rem;
    gap: 0.3rem;
  }

  .theme-logo-name {
    font-size: 1.2rem;
  }

  .theme-page-layout-grid.has-sidebar .theme-dashboard-stats.theme-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-page-layout-grid.has-sidebar .theme-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Mobile & Small Tablet (< 768px) */
@media (max-width: 767px) {
  .theme-container,
  .theme-container-narrow {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .theme-topbar-inner {
    height: auto;
    min-height: 34px;
    padding: 0.3rem 0;
    font-size: 0.72rem;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .theme-topbar-left,
  .theme-topbar-right {
    gap: 0.45rem;
  }

  .theme-main-navbar {
    padding: 0.6rem 0;
  }

  .theme-navbar-inner {
    gap: 0.5rem;
  }

  .theme-logo {
    gap: 0.5rem;
  }

  .theme-logo-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .theme-logo-name {
    font-size: 1.1rem;
  }

  .theme-logo-sub {
    font-size: 0.52rem;
    letter-spacing: 0.08em;
  }

  .theme-navbar-actions {
    gap: 0.35rem;
  }

  .theme-mode-toggle,
  .theme-cart-btn,
  .theme-mobile-menu-toggle {
    width: 34px;
    height: 34px;
  }

  .theme-user-btn {
    padding: 0.35rem 0.55rem;
  }

  .theme-section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .theme-page-body-container {
    padding-bottom: 3rem;
  }

  .theme-section-header {
    margin-bottom: 2rem;
  }

  .theme-hero-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .theme-page-hero {
    padding: 2.25rem 1rem 1.75rem;
  }

  .theme-domain-input {
    font-size: 0.875rem;
    padding: 0.65rem 0.5rem;
  }

  .p-5 {
    padding: 1.25rem !important;
  }

  .p-4 {
    padding: 1rem !important;
  }

  .theme-tld-select-wrap {
    width: 100% !important;
  }
}

/* 14.13 Step Number Badge, Hover Utilities, Auth Alerts & Print Styles */
.theme-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--theme-card-highlight-gradient, linear-gradient(135deg, var(--theme-primary), var(--theme-accent)));
  color: #FFFFFF;
  font-family: var(--theme-font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  box-shadow: var(--theme-shadow-sm);
}

.theme-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  border: 1px solid transparent;
}

.hover\:bg-surface-hover:hover {
  background-color: var(--theme-surface-hover) !important;
}

.hover\:text-primary:hover {
  color: var(--theme-primary) !important;
}

.hover\:underline:hover {
  text-decoration: underline !important;
}

@media print {
  .no-print,
  .theme-header-wrapper,
  .theme-internal-header-strip,
  .theme-trust-badges-strip,
  .theme-footer,
  .theme-sub-footer,
  #themeCustomizerToggle,
  #themeCustomizerDrawer,
  #themeCustomizerBackdrop {
    display: none !important;
  }

  .theme-page-body-container {
    padding: 0 !important;
    max-width: 100% !important;
  }

  .theme-invoice-document {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}
