/* ==========================================================================
   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;
}

.theme-legal-prose ul,
.theme-legal-prose ol,
.theme-rich-content ul,
.theme-rich-content ol,
.panel-body ul:not(.list-group):not(.nav),
.panel-body ol,
.alert ul,
.alert ol {
  margin: 0.65rem 0;
  padding-left: 1.5rem;
}

.theme-legal-prose li,
.theme-rich-content li,
.panel-body ul:not(.list-group):not(.nav) li,
.panel-body ol li,
.alert li {
  margin: 0.25rem 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;
  max-width: 100%;
  transition: all var(--theme-transition-normal);
  user-select: none;
}

@media (max-width: 767px) {
  .btn-theme {
    white-space: normal;
    text-align: center;
    height: auto;
    line-height: 1.35;
  }
}

.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);
  border-radius: calc(var(--theme-radius-card) - 1px) calc(var(--theme-radius-card) - 1px) 0 0;
}

.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);
  border-radius: 0 0 calc(var(--theme-radius-card) - 1px) calc(var(--theme-radius-card) - 1px);
}

/* --------------------------------------------------------------------------
   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);
}

.theme-price-total,
.package-price-total {
  display: block;
  font-size: var(--theme-text-xs);
  color: var(--theme-text-muted);
  font-weight: 500;
  margin-top: 0.35rem;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .billing-toggle-container {
    margin-top: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    padding: 0 0.5rem;
  }

  .billing-toggle-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 390px;
    border-radius: var(--theme-radius-lg);
    padding: 0.35rem;
    gap: 0.45rem;
  }

  .cycle-btn {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 0.5rem;
    border-radius: var(--theme-radius-md);
    font-size: var(--theme-text-xs);
  }

  .cycle-btn .cycle-badge {
    top: -8px;
    right: 4px;
    font-size: 0.6rem;
    padding: 0.12rem 0.4rem;
  }
}

/* --------------------------------------------------------------------------
   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) !important;
  border-radius: var(--theme-radius-md) !important;
  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) !important;
  box-shadow: 0 4px 16px rgba(var(--theme-primary-rgb), 0.08) !important;
}

.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 !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  -webkit-tap-highlight-color: transparent !important;
  font-family: var(--theme-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--theme-text-main);
  cursor: pointer;
  text-align: left;
  border-radius: 0 !important;
  transition: color var(--theme-transition-fast), background-color var(--theme-transition-fast);
}

.theme-accordion-header:focus:not(:focus-visible),
.theme-accordion-header:active,
.faq-question:focus:not(:focus-visible),
.faq-question:active,
.accordion-button:focus:not(:focus-visible),
.accordion-button:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
}

.theme-accordion-header:focus-visible,
.faq-question:focus-visible,
.accordion-button:focus-visible {
  outline: 2px solid var(--theme-primary) !important;
  outline-offset: -2px;
  box-shadow: none !important;
}

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

.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;
  border: none !important;
  outline: none !important;
}

.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: 150px;
  max-height: 280px;
  overflow-y: auto;
  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: 0.75rem;
}

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

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

.theme-logo-img {
  height: 36px !important;
  max-height: 40px !important;
  width: auto;
  max-width: 170px;
  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: flex;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
  }
}

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

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

.theme-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.5rem 0.65rem;
  font-family: var(--theme-font-heading);
  font-size: 0.86rem;
  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.45rem;
  flex: 0 0 auto;
}

.theme-navbar-actions .btn-theme.btn-sm {
  padding: 0.45rem 0.78rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.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;
  flex-shrink: 0;
  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,
  .hidden-desktop {
    display: none !important;
  }
}

/* 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: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--theme-border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.theme-mobile-locale-bar {
  margin-top: 1rem;
  padding: 0.75rem;
  background-color: var(--theme-surface-alt);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.theme-mobile-locale-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.theme-mobile-locale-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--theme-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.theme-mobile-locale-pills {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.theme-mobile-locale-pill {
  padding: 0.2rem 0.55rem;
  border-radius: var(--theme-radius-sm);
  border: 1px solid var(--theme-border);
  background: var(--theme-surface);
  color: var(--theme-text-main);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.theme-mobile-locale-pill.active {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
  color: #ffffff;
}

/* Mobile Drawer Logged-in User Strip */
.theme-mobile-user-strip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background-color: var(--theme-surface-alt);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  margin-bottom: 0.85rem;
}

.theme-mobile-user-avatar {
  font-size: 2.25rem;
  color: var(--theme-primary);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-mobile-user-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.theme-mobile-user-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--theme-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-mobile-user-meta {
  font-size: 0.76rem;
  color: var(--theme-text-muted);
  margin-top: 0.15rem;
}

/* Mobile Drawer 2-Tab Switcher */
.theme-mobile-nav-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  background-color: var(--theme-surface-alt);
  padding: 0.25rem;
  border-radius: var(--theme-radius-md);
  border: 1px solid var(--theme-border);
  margin-bottom: 1rem;
}

.theme-mobile-nav-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.5rem 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--theme-text-muted);
  background: transparent;
  border: none;
  border-radius: calc(var(--theme-radius-md) - 2px);
  cursor: pointer;
  transition: all var(--theme-transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-mobile-nav-tab.active {
  background-color: var(--theme-primary);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.theme-mobile-nav-tab.active .theme-badge {
  background-color: #ffffff;
  color: var(--theme-danger, #ef4444);
}

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

.theme-mobile-tab-content {
  display: none;
  animation: themeFadeIn 0.18s ease-in-out;
}

.theme-mobile-tab-content.active {
  display: block;
}

/* Mobile Drawer Client Area Links */
.theme-mobile-client-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.theme-mobile-client-menu li {
  list-style: none;
}

.theme-mobile-client-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  background-color: var(--theme-surface-alt);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-sm);
  color: var(--theme-text-main);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background-color var(--theme-transition-fast), border-color var(--theme-transition-fast), transform var(--theme-transition-fast);
}

.theme-mobile-client-link i {
  font-size: 1rem;
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

.theme-mobile-client-link span {
  flex: 1 1 auto;
}

.theme-mobile-client-link .theme-badge {
  margin-left: auto;
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.theme-mobile-client-link:hover,
.theme-mobile-client-link:focus {
  background-color: var(--theme-surface-hover);
  border-color: var(--theme-primary);
  color: var(--theme-primary);
  text-decoration: none;
}

.theme-mobile-client-divider {
  height: 1px;
  background-color: var(--theme-border);
  margin: 0.4rem 0;
}

@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);
}

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

.theme-sitemap-links li a {
  color: var(--theme-text-main, #0f172a);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.16s ease, transform 0.16s ease;
}

.theme-sitemap-links li a:hover,
.theme-sitemap-links li a:focus-visible {
  color: var(--theme-primary, #1d4ed8);
  transform: translateX(3px);
}

.theme-sitemap-links li a i {
  font-size: 0.75rem;
  transition: transform 0.16s ease;
}

/* 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: 1.75rem 0;
  margin-bottom: 0;
}

.theme-internal-header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

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

.theme-internal-title {
  font-size: 1.65rem;
  line-height: 1.25;
  margin-bottom: 0.15rem;
}

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

.theme-breadcrumb-nav,
.theme-breadcrumb-wrap {
  max-width: 100%;
}

.theme-breadcrumb-nav .breadcrumb,
.theme-breadcrumb-wrap .breadcrumb {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0.35rem 0.75rem !important;
  font-size: 0.8rem !important;
  line-height: 1.4 !important;
  color: var(--theme-text-muted) !important;
  background-color: var(--theme-surface-alt) !important;
  border: 1px solid var(--theme-border) !important;
  border-radius: var(--theme-radius-full) !important;
  row-gap: 0.2rem !important;
}

.theme-breadcrumb-nav .breadcrumb-item,
.theme-breadcrumb-wrap .breadcrumb-item,
.theme-breadcrumb-wrap .breadcrumb > li {
  display: inline-flex;
  align-items: center;
  line-height: 1.35;
}

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

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

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

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

/* Page Body Layout Grid & Bottom Footer Separation */
.theme-page-body-container {
  padding-top: 2.25rem;
  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, .w-hidden { display: none; }
.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;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}

.theme-price-val,
.package-price-number {
  font-family: var(--theme-font-heading);
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 800;
  color: var(--theme-text-main);
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.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.85rem;
  font-weight: 600;
  color: var(--theme-text-muted);
  white-space: nowrap;
}

.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;
  overflow-y: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 520px;
  margin: auto;
  max-height: calc(100vh - 2rem);
}

/* 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);
  margin-bottom: 1.5rem;
}

.theme-table-responsive > .table {
  width: 100%;
  margin-bottom: 0;
}

.theme-comparison-table {
  min-width: 680px !important;
}

.theme-pricing-table {
  min-width: 620px !important;
}

.theme-server-table {
  min-width: 780px !important;
}

@media (max-width: 768px) {
  .theme-comparison-table th:first-child,
  .theme-comparison-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background-color: var(--theme-surface);
    min-width: 175px;
    max-width: 215px;
    box-shadow: 2px 0 8px -2px rgba(0, 0, 0, 0.12);
  }

  .theme-comparison-table thead th:first-child {
    background-color: var(--theme-surface-alt);
    z-index: 3;
  }

  .theme-comparison-table td,
  .theme-comparison-table th {
    white-space: nowrap;
    font-size: var(--theme-text-xs);
    padding: 0.75rem 0.85rem;
  }

  .theme-comparison-table td:first-child {
    white-space: normal;
    word-break: normal;
  }

  .theme-pricing-table th,
  .theme-pricing-table td,
  .theme-server-table th,
  .theme-server-table td {
    white-space: nowrap;
  }
}

/* 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.5rem;
  }

  .theme-nav-link {
    padding: 0.45rem 0.45rem;
    font-size: 0.8rem;
    gap: 0.25rem;
  }

  .theme-navbar-actions .btn-theme.btn-sm {
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
  }

  .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;
  }
}

/* ==========================================================================
   15. CLIENT AREA APP SIDEBAR, DASHBOARD STAT CARDS & CONTROL PANEL POPOVER
   ========================================================================== */

/* 15.1 Extra-Small Action Button (.btn-xs) */
.btn-xs {
  padding: 0.32rem 0.68rem;
  font-size: 0.75rem;
  line-height: 1.25;
  border-radius: var(--theme-radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* 15.2 Dedicated Client Area App Sidebar (includes/client-sidebar.tpl) */
.theme-client-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.theme-client-profile-card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-lg);
  padding: 1.15rem;
  box-shadow: var(--theme-shadow-sm);
}

.theme-client-profile-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.theme-client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -2px rgba(29, 78, 216, 0.25);
}

.theme-client-meta {
  min-width: 0;
  flex: 1;
}

.theme-client-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--theme-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-client-id-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--theme-text-muted);
  margin-top: 0.15rem;
}

.theme-client-id-badge strong {
  color: var(--theme-primary);
  font-weight: 700;
}

.theme-client-company {
  font-size: 0.78rem;
  color: var(--theme-text-muted);
  padding: 0.4rem 0.65rem;
  background: var(--theme-bg-alt);
  border-radius: var(--theme-radius-sm);
  margin-bottom: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-client-credit-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.8rem;
  background: var(--theme-bg-alt);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  margin-bottom: 0.8rem;
}

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

.theme-client-credit-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--theme-text-muted);
  font-weight: 600;
}

.theme-client-credit-amount {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--theme-success);
}

.theme-client-credit-btn {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--theme-primary);
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  padding: 0.3rem 0.6rem;
  border-radius: var(--theme-radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}

.theme-client-credit-btn:hover {
  background: var(--theme-primary);
  color: #ffffff;
  border-color: var(--theme-primary);
}

.theme-client-nav-card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-lg);
  overflow: hidden;
  box-shadow: var(--theme-shadow-sm);
}

.theme-client-nav-group {
  padding: 0.45rem;
  border-bottom: 1px solid var(--theme-border);
}

.theme-client-nav-group:last-child {
  border-bottom: none;
}

.theme-client-nav-heading {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--theme-text-muted);
  padding: 0.45rem 0.65rem 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.theme-client-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--theme-radius-sm);
  color: var(--theme-text-main);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
}

.theme-client-nav-link:hover {
  background: var(--theme-surface-hover);
  color: var(--theme-primary);
  text-decoration: none;
}

.theme-client-nav-link.active {
  background: rgba(29, 78, 216, 0.1);
  color: var(--theme-primary);
  font-weight: 700;
}

.theme-client-nav-icon {
  width: 20px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--theme-text-muted);
  flex-shrink: 0;
}

.theme-client-nav-link:hover .theme-client-nav-icon,
.theme-client-nav-link.active .theme-client-nav-icon {
  color: var(--theme-primary);
}

.theme-client-nav-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-client-nav-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  line-height: 1.3;
}

/* 15.3 Symmetrical Dashboard Stat Cards */
.theme-welcome-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.theme-stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 146px;
}

.theme-stat-card-primary {
  border-top: 3px solid var(--theme-primary);
}

.theme-stat-card-accent {
  border-top: 3px solid var(--theme-accent);
}

.theme-stat-card-danger {
  border-top: 3px solid var(--theme-danger);
}

.theme-stat-card-success {
  border-top: 3px solid var(--theme-success);
}

.theme-stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.theme-stat-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--theme-text-muted);
  white-space: nowrap;
}

.theme-stat-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0.35rem 0 0.65rem;
  font-family: var(--theme-font-heading);
}

.theme-stat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--theme-border);
  margin-top: auto;
}

.theme-stat-link {
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.theme-stat-link:hover {
  text-decoration: underline;
}

.theme-stat-quick-btn {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: var(--theme-radius-sm);
  background: var(--theme-bg-alt);
  color: var(--theme-text-main);
  border: 1px solid var(--theme-border);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.theme-stat-quick-btn:hover {
  background: var(--theme-primary);
  color: #ffffff;
  border-color: var(--theme-primary);
  text-decoration: none;
}

/* 15.4 Upgraded Control Panel User Popover */
.theme-user-popover {
  min-width: 280px;
}

.theme-user-popover-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: var(--theme-bg-alt);
  border-radius: var(--theme-radius-sm);
  font-size: 0.76rem;
}

.theme-user-popover-balance a {
  font-weight: 700;
  color: var(--theme-primary);
  text-decoration: none;
}

.theme-user-popover-section {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--theme-text-muted);
  padding: 0.5rem 0.75rem 0.2rem;
}

.theme-popover-count {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.08rem 0.42rem;
  border-radius: 999px;
  background: var(--theme-bg-alt);
  color: var(--theme-text-main);
}

/* ==========================================================================
   16. MOBILE-ONLY CLIENT AREA OPTIMIZATIONS
   - Collapsible Client Sidebar Menu (< 1024px)
   - Compact 2x2 Dashboard Stat Cards (<= 768px)
   - Stacked Mobile Card View for Client Area Tables (<= 768px, Zero H-Scroll)
   ========================================================================== */

/* Desktop default: hide mobile sidebar menu toggle button */
.theme-client-mobile-menu-toggle {
  display: none;
}

@media (max-width: 1023px) {
  .theme-page-body-container {
    padding-top: 1.25rem;
  }

  .theme-page-layout-grid.has-sidebar {
    gap: 1rem;
  }

  .theme-client-sidebar {
    gap: 0.65rem;
    margin-bottom: 0.25rem;
  }

  .theme-client-profile-card {
    padding: 0.85rem 1rem;
    overflow: hidden;
    max-width: 100%;
  }

  .theme-client-profile-top {
    margin-bottom: 0.65rem;
    gap: 0.65rem;
  }

  .theme-client-avatar {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .theme-client-credit-box {
    padding: 0.5rem 0.7rem;
    margin-bottom: 0.65rem;
  }

  .theme-client-profile-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    width: 100%;
  }

  @media (min-width: 540px) and (max-width: 1023px) {
    .theme-client-profile-actions {
      grid-template-columns: 1fr 1fr;
    }
  }

  .theme-client-edit-profile-btn {
    width: 100% !important;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .theme-client-mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.48rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--theme-primary);
    border: 1px solid var(--theme-primary);
    border-radius: var(--theme-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .theme-client-mobile-menu-toggle:hover,
  .theme-client-mobile-menu-toggle:focus {
    background: var(--theme-primary-hover, #1E40AF);
    outline: none;
  }

  .theme-client-mobile-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
  }

  .theme-client-mobile-toggle-icon {
    font-size: 0.72rem;
    transition: transform 0.25s ease;
  }

  /* Collapsed by default on mobile/tablet (< 1024px) */
  .theme-client-nav-card {
    display: none;
  }

  .theme-client-sidebar.mobile-nav-open .theme-client-nav-card {
    display: block;
    animation: themeSlideDown 0.2s ease-out;
  }

  .theme-client-sidebar.mobile-nav-open .theme-client-mobile-toggle-icon {
    transform: rotate(180deg);
  }
}

@keyframes themeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  /* 16.1 Compact Welcome Card on Mobile */
  .theme-dashboard-welcome {
    padding: 0.9rem 1rem !important;
    margin-bottom: 1rem !important;
  }

  .theme-welcome-title {
    font-size: 1.15rem !important;
  }

  .theme-welcome-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100%;
    gap: 0.45rem !important;
    margin-top: 0.75rem !important;
  }

  .theme-welcome-actions .btn-theme {
    width: 100%;
    justify-content: center;
    padding: 0.42rem 0.5rem;
    font-size: 0.75rem;
  }

  /* 16.2 Compact 2x2 Dashboard Stat Cards on Mobile */
  .theme-dashboard-stats.theme-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
    margin-bottom: 1rem !important;
  }

  .theme-dashboard-stats .theme-stat-card {
    min-height: auto !important;
    padding: 0.75rem 0.8rem !important;
    border-radius: var(--theme-radius-md) !important;
  }

  .theme-dashboard-stats .theme-stat-card-top {
    gap: 0.35rem;
  }

  .theme-dashboard-stats .theme-stat-label {
    font-size: 0.64rem;
    letter-spacing: 0.02em;
    white-space: normal;
    line-height: 1.2;
  }

  .theme-dashboard-stats .theme-stat-icon-box {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 0.85rem;
  }

  .theme-dashboard-stats .theme-stat-number {
    font-size: 1.4rem;
    margin: 0.2rem 0 0.35rem;
    line-height: 1.1;
  }

  .theme-dashboard-stats .theme-stat-actions {
    padding-top: 0.35rem;
  }

  .theme-dashboard-stats .theme-stat-link {
    font-size: 0.68rem;
  }

  /* 16.3 Client Area & Shopping Cart Tables -> Stacked Mobile Cards (Zero Horizontal Scroll) */
  .theme-internal-header-strip {
    padding: 1.15rem 0;
  }

  .theme-internal-title {
    font-size: 1.35rem;
  }

  .theme-viewcart-step .theme-table-responsive,
  .theme-clientarea-dashboard .theme-table-responsive,
  .theme-clientarea-products .theme-table-responsive,
  .theme-clientarea-domains .theme-table-responsive,
  .theme-clientarea-invoices .theme-table-responsive,
  .theme-clientarea-tickets .theme-table-responsive,
  #domainPricingSection .theme-table-responsive,
  .theme-pricing-table-container {
    overflow-x: visible !important;
    margin-bottom: 0 !important;
  }

  .table.theme-mobile-cards,
  .theme-pricing-table.theme-mobile-cards,
  .theme-cart-items-table,
  .theme-clientarea-dashboard .table,
  .theme-clientarea-products .table,
  .theme-clientarea-domains .table,
  .theme-clientarea-invoices .table,
  .theme-clientarea-tickets .table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: none !important;
    background: transparent !important;
  }

  .table.theme-mobile-cards > thead,
  .theme-pricing-table.theme-mobile-cards > thead,
  .theme-cart-items-table > thead,
  .theme-clientarea-dashboard .table > thead,
  .theme-clientarea-products .table > thead,
  .theme-clientarea-domains .table > thead,
  .theme-clientarea-invoices .table > thead,
  .theme-clientarea-tickets .table > thead {
    display: none !important;
  }

  .table.theme-mobile-cards > tbody,
  .theme-pricing-table.theme-mobile-cards > tbody,
  .theme-cart-items-table > tbody,
  .theme-clientarea-dashboard .table > tbody,
  .theme-clientarea-products .table > tbody,
  .theme-clientarea-domains .table > tbody,
  .theme-clientarea-invoices .table > tbody,
  .theme-clientarea-tickets .table > tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
    padding: 0.75rem !important;
  }

  .table.theme-mobile-cards > tbody > tr,
  .theme-pricing-table.theme-mobile-cards > tbody > tr,
  .theme-cart-items-table > tbody > tr,
  .theme-clientarea-dashboard .table > tbody > tr,
  .theme-clientarea-products .table > tbody > tr,
  .theme-clientarea-domains .table > tbody > tr,
  .theme-clientarea-invoices .table > tbody > tr,
  .theme-clientarea-tickets .table > tbody > tr {
    display: block !important;
    width: 100% !important;
    background-color: var(--theme-surface-alt) !important;
    border: 1px solid var(--theme-border) !important;
    border-radius: var(--theme-radius-md) !important;
    padding: 0.7rem 0.85rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  }

  .table.theme-mobile-cards > tbody > tr.theme-table-empty-row,
  .theme-pricing-table.theme-mobile-cards > tbody > tr.theme-table-empty-row,
  .theme-cart-items-table > tbody > tr.theme-table-empty-row {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .table.theme-mobile-cards > tbody > tr > td,
  .theme-pricing-table.theme-mobile-cards > tbody > tr > td,
  .theme-cart-items-table > tbody > tr > td,
  .theme-clientarea-dashboard .table > tbody > tr > td,
  .theme-clientarea-products .table > tbody > tr > td,
  .theme-clientarea-domains .table > tbody > tr > td,
  .theme-clientarea-invoices .table > tbody > tr > td,
  .theme-clientarea-tickets .table > tbody > tr > td {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    width: 100% !important;
    padding: 0.42rem 0 !important;
    border-top: none !important;
    border-bottom: 1px dashed var(--theme-border) !important;
    text-align: right !important;
    white-space: normal !important;
    font-size: 0.82rem !important;
  }

  .table.theme-mobile-cards > tbody > tr > td:last-child,
  .theme-pricing-table.theme-mobile-cards > tbody > tr > td:last-child,
  .theme-cart-items-table > tbody > tr > td:last-child,
  .theme-clientarea-dashboard .table > tbody > tr > td:last-child,
  .theme-clientarea-products .table > tbody > tr > td:last-child,
  .theme-clientarea-domains .table > tbody > tr > td:last-child,
  .theme-clientarea-invoices .table > tbody > tr > td:last-child,
  .theme-clientarea-tickets .table > tbody > tr > td:last-child {
    border-bottom: none !important;
    padding-top: 0.55rem !important;
    padding-bottom: 0.1rem !important;
  }

  .table.theme-mobile-cards > tbody > tr > td[data-label]::before,
  .theme-pricing-table.theme-mobile-cards > tbody > tr > td[data-label]::before,
  .theme-cart-items-table > tbody > tr > td[data-label]::before,
  .theme-clientarea-dashboard .table > tbody > tr > td[data-label]::before,
  .theme-clientarea-products .table > tbody > tr > td[data-label]::before,
  .theme-clientarea-domains .table > tbody > tr > td[data-label]::before,
  .theme-clientarea-invoices .table > tbody > tr > td[data-label]::before,
  .theme-clientarea-tickets .table > tbody > tr > td[data-label]::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--theme-text-muted);
    text-align: left;
    flex-shrink: 0;
  }

  /* Empty State Full-Width Centered on Mobile (No Clipping) */
  .table.theme-mobile-cards > tbody > tr > td[colspan],
  .table.theme-mobile-cards > tbody > tr > td.theme-table-empty-cell,
  .theme-cart-items-table > tbody > tr > td[colspan],
  .theme-clientarea-dashboard .table > tbody > tr > td[colspan],
  .theme-clientarea-products .table > tbody > tr > td[colspan],
  .theme-clientarea-domains .table > tbody > tr > td[colspan],
  .theme-clientarea-invoices .table > tbody > tr > td[colspan],
  .theme-clientarea-tickets .table > tbody > tr > td[colspan] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    padding: 1.25rem 0.5rem !important;
    border-bottom: none !important;
    white-space: normal !important;
  }

  .table.theme-mobile-cards > tbody > tr > td[colspan]::before,
  .table.theme-mobile-cards > tbody > tr > td.theme-table-empty-cell::before {
    display: none !important;
    content: none !important;
  }

  .table.theme-mobile-cards > tbody > tr > td[colspan] .theme-flex,
  .table.theme-mobile-cards > tbody > tr > td.theme-table-empty-cell .theme-flex {
    flex-direction: column !important;
    width: 100% !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }

  .table.theme-mobile-cards > tbody > tr > td[colspan] .btn-theme,
  .table.theme-mobile-cards > tbody > tr > td.theme-table-empty-cell .btn-theme {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   AUTH MODAL & PASSWORD VISIBILITY TOGGLE (v3.1)
   ========================================================================== */
.wpt-pw-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.wpt-pw-field-wrap .theme-input {
  padding-right: 2.6rem;
}

.wpt-pw-toggle-btn {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: var(--theme-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--theme-radius-sm);
  cursor: pointer;
}

.wpt-pw-toggle-btn:hover {
  color: var(--theme-primary);
  background: var(--theme-surface-alt);
}

.wpt-auth-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1055;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.wpt-auth-modal-backdrop.is-open {
  display: flex;
}

.wpt-auth-modal-dialog {
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.5rem;
  border-radius: var(--theme-radius-xl, 16px);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.35);
  position: relative;
}

.wpt-auth-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.wpt-auth-modal-close {
  width: 34px;
  height: 34px;
  border-radius: var(--theme-radius-full);
  border: 1px solid var(--theme-border);
  background: var(--theme-surface-alt);
  color: var(--theme-text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.wpt-auth-modal-close:hover {
  border-color: var(--theme-primary);
  color: var(--theme-primary);
}

.wpt-auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.3rem;
  background: var(--theme-surface-alt);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  margin-bottom: 1rem;
}

.wpt-auth-tab {
  border: none;
  background: transparent;
  color: var(--theme-text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.5rem 0.45rem;
  border-radius: var(--theme-radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.wpt-auth-tab.active {
  background: var(--theme-surface);
  color: var(--theme-primary);
  box-shadow: var(--theme-shadow-sm);
}

.wpt-auth-pane {
  display: none;
}

.wpt-auth-pane.active {
  display: block;
}

.wpt-auth-alert {
  padding: 0.7rem 0.9rem;
  border-radius: var(--theme-radius-sm);
  font-size: 0.82rem;
  margin-bottom: 0.9rem;
  border: 1px solid transparent;
}

.wpt-auth-alert.is-err {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
  color: #dc2626;
}

.wpt-auth-alert.is-ok {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
  color: #059669;
}

@media (max-width: 575px) {
  .wpt-auth-modal-dialog {
    padding: 1.1rem;
  }
  .wpt-auth-tab {
    font-size: 0.74rem;
    padding: 0.45rem 0.25rem;
  }
}

/* Inline Homepage / Storefront Domain Search Results Drawer */
.wpt-inline-domain-drawer {
  max-width: 780px;
  margin: 0 auto;
  background: var(--theme-surface, #ffffff);
  border: 1px solid var(--theme-border, #e2e8f0);
  border-radius: 16px;
  padding: 1.15rem;
  text-align: left;
  box-shadow: 0 14px 32px -14px rgba(15, 23, 42, 0.12);
}

.wpt-inline-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.05rem;
  border-radius: 12px;
}

.wpt-inline-primary.is-avail {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.wpt-inline-primary.is-taken {
  background: rgba(239, 68, 68, 0.07);
  border: 1px solid rgba(239, 68, 68, 0.24);
}

.wpt-inline-status {
  font-weight: 800;
  font-size: 0.95rem;
}

.wpt-inline-primary.is-avail .wpt-inline-status { color: #047857; }
.wpt-inline-primary.is-taken .wpt-inline-status { color: #b91c1c; }

.wpt-inline-sub {
  font-size: 0.8rem;
  color: var(--theme-text-muted, #64748b);
  margin-top: 0.15rem;
}

.wpt-inline-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.wpt-inline-price {
  font-weight: 800;
  font-size: 1rem;
  color: var(--theme-primary, #1d4ed8);
}

.wpt-inline-mini-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--theme-text-muted, #64748b);
  margin: 0.95rem 0 0.5rem;
}

.wpt-inline-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.wpt-inline-mini-card {
  background: var(--theme-surface-alt, #f8fafc);
  border: 1px solid var(--theme-border, #e2e8f0);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.45rem;
}

.wpt-inline-mini-dom {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--theme-text-main, #0f172a);
  word-break: break-all;
}

.wpt-inline-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.wpt-inline-mini-price {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--theme-primary, #1d4ed8);
}

.wpt-inline-taken-badge {
  background: var(--theme-border, #e2e8f0);
  color: var(--theme-text-muted, #475569);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.wpt-inline-footer {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--theme-border, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--theme-text-muted, #64748b);
}

.theme-tld-chip.active {
  border-color: var(--theme-primary, #1d4ed8);
  box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.15);
}

@media (max-width: 640px) {
  .wpt-inline-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wpt-inline-mini-row {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .wpt-inline-mini-price {
    white-space: nowrap;
  }

  .wpt-inline-mini-row .wpt-inline-add-btn {
    white-space: nowrap;
    width: 100%;
    justify-content: center;
  }
}

/* Redesigned WHOIS Lookup Page */
.theme-whois-page .theme-page-hero {
  background: transparent;
  border-bottom: 1px solid var(--theme-border, #e2e8f0);
  padding-top: 2.25rem;
}

.wpt-whois-wrap {
  max-width: 980px;
  margin: 2rem auto 3.5rem;
  padding: 0 1rem;
}

.wpt-whois-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--theme-surface-alt, #f8fafc);
  border: 1px solid var(--theme-border, #e2e8f0);
  border-radius: 14px;
  margin-bottom: 1.25rem;
}

.wpt-whois-domain-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--theme-text-main, #0f172a);
}

.wpt-whois-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.wpt-whois-pill.is-warn { background: rgba(245, 158, 11, 0.14); color: #92400e; }
.wpt-whois-pill.is-ok { background: rgba(16, 185, 129, 0.12); color: #065f46; }
.wpt-whois-pill.is-info { background: rgba(29, 78, 216, 0.1); color: var(--theme-primary, #1d4ed8); }
.wpt-whois-pill.is-muted { background: var(--theme-surface-alt, #f1f5f9); color: var(--theme-text-muted, #64748b); }

.wpt-whois-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.wpt-whois-stat-box {
  border: 1px solid var(--theme-border, #e2e8f0);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  background: var(--theme-surface, #ffffff);
}

.wpt-whois-stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--theme-text-muted, #64748b);
  margin-bottom: 0.35rem;
}

.wpt-whois-stat-val {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--theme-text-main, #0f172a);
}

.wpt-whois-stat-sub {
  font-size: 0.75rem;
  color: var(--theme-text-muted, #64748b);
  margin-top: 0.2rem;
}

.wpt-whois-details-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.wpt-whois-panel {
  border: 1px solid var(--theme-border, #e2e8f0);
  border-radius: 14px;
  padding: 1.15rem;
  background: var(--theme-surface, #ffffff);
}

.wpt-whois-panel h3 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wpt-whois-kv-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.wpt-whois-kv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed var(--theme-border, #e2e8f0);
  font-size: 0.84rem;
}

.wpt-whois-kv-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wpt-whois-kv-k {
  color: var(--theme-text-muted, #64748b);
  font-weight: 600;
  flex-shrink: 0;
}

.wpt-whois-kv-v {
  color: var(--theme-text-main, #0f172a);
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

.wpt-whois-ns-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wpt-whois-ns-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: var(--theme-surface-alt, #f1f5f9);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  font-weight: 700;
}

.wpt-whois-raw-box {
  border: 1px solid var(--theme-border, #e2e8f0);
  border-radius: 14px;
  overflow: hidden;
}

.wpt-whois-raw-head {
  padding: 0.75rem 1rem;
  background: var(--theme-surface-alt, #f8fafc);
  border-bottom: 1px solid var(--theme-border, #e2e8f0);
  font-size: 0.82rem;
  font-weight: 700;
}

.wpt-whois-raw-box .wpt-whois-pre {
  margin: 0;
  padding: 1rem 1.15rem;
  background: #0f172a;
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 780px) {
  .wpt-whois-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wpt-whois-details-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .wpt-whois-stats-grid { grid-template-columns: 1fr; }
}
