/* Theme selector shared by original and dark modes */
.theme-switcher {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 24px rgba(8, 42, 77, 0.12);
}

/* Public release polish: compact, consistent, production-ready pages */
html.theme-original {
  --public-page-bg: linear-gradient(180deg, #f7fbff 0%, #eef7fb 48%, #f8fcfa 100%);
  --public-surface: rgba(255, 255, 255, 0.92);
  --public-surface-strong: #ffffff;
  --public-soft: #eef7fb;
  --public-text: #102033;
  --public-muted: #5b7084;
  --public-line: rgba(14, 73, 121, 0.13);
  --public-accent: #0f6fb8;
  --public-accent-2: #16a873;
}

html.theme-dark {
  --public-page-bg: linear-gradient(180deg, #070b12 0%, #060912 58%, #05070c 100%);
  --public-surface: rgba(13, 20, 32, 0.78);
  --public-surface-strong: rgba(13, 20, 32, 0.9);
  --public-soft: rgba(255, 255, 255, 0.055);
  --public-text: #f3fff8;
  --public-muted: #a7b8b0;
  --public-line: rgba(255, 255, 255, 0.11);
  --public-accent: #5ab7ff;
  --public-accent-2: #35d184;
}

body {
  overflow-x: hidden;
}

main {
  min-width: 0;
}

.auth-glow,
.shop-hero-glow,
.wizard-selectable-card .icon,
.auth-brand-icon,
.auth-feature-icon,
.auth-form-icon {
  display: none !important;
}

.home-premium-hero,
.egs-shop-hero,
.shop-hero,
.page-hero,
.account-dashboard-hero,
.account-page-title,
.quote-strip {
  position: relative;
  overflow: hidden;
}

.home-premium-hero {
  padding: clamp(34px, 4.8vw, 64px) 24px 30px !important;
}

.home-premium-inner,
.egs-shop-hero-inner,
.quote-strip-container {
  width: min(1240px, 100%) !important;
}

.home-premium-copy h1,
.egs-shop-copy h1,
.page-hero h1,
.account-dashboard-hero h1,
.account-page-title h1 {
  max-width: 760px !important;
  font-size: clamp(32px, 4.5vw, 56px) !important;
  line-height: 1.04 !important;
}

.home-premium-copy p,
.egs-shop-copy p,
.page-hero p,
.account-dashboard-hero p,
.account-page-title p {
  max-width: 660px !important;
  font-size: clamp(14px, 1.15vw, 17px) !important;
  line-height: 1.58 !important;
}

.home-section,
.home-brands-band,
.home-lead-section {
  padding-top: clamp(42px, 5.4vw, 72px) !important;
}

.home-section-head {
  align-items: center !important;
}

.home-section-head h2,
.home-lead-copy h2,
.home-newsletter h2 {
  max-width: 700px;
  font-size: clamp(25px, 3vw, 38px) !important;
  line-height: 1.12 !important;
}

.home-section-head p,
.home-lead-copy p {
  max-width: 560px;
}

.home-trust-strip {
  width: min(1240px, calc(100% - 48px)) !important;
}

.home-trust-strip div,
.home-hero-card,
.home-category-card,
.home-solution-grid article,
.home-package-card,
.home-info-grid article,
.home-lead-form,
.home-newsletter,
.egs-filter-form,
.egs-shop-toolbar,
.egs-product-card,
.product-detail,
.product-summary,
.product-info .tab-content,
.quote-strip .product-quote-form,
.panel,
.account-panel,
.account-metric-card,
.account-sidebar,
.account-empty-state,
.wizard-selectable-card,
.recommendation-panel {
  border-radius: 8px !important;
}

.home-solution-grid article,
.home-package-card,
.home-info-grid article,
.account-panel,
.account-metric-card,
.panel {
  border-color: var(--public-line) !important;
  background: var(--public-surface) !important;
}

.home-solution-grid article p,
.home-package-card p,
.home-info-grid article p,
.product-summary p,
.egs-product-card p,
.account-panel p,
.panel p {
  color: var(--public-muted) !important;
}

.home-category-grid,
.egs-product-grid,
.product-grid {
  align-items: stretch;
}

.product-card,
.egs-product-card,
.home-category-card {
  height: 100%;
}

.product-card .product-image,
.egs-product-media,
.home-category-media,
.cart-thumb,
.product-main-image,
.gallery-strip img {
  background: var(--public-soft) !important;
}

.product-card .product-image,
.egs-product-media {
  aspect-ratio: 1.18 / 1 !important;
  min-height: 0 !important;
}

.product-card .product-image img,
.egs-product-media img,
.product-main-image img,
.cart-thumb img,
.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}

.product-card .product-image img,
.egs-product-media img {
  padding: clamp(14px, 3vw, 24px);
}

.product-card h2 a,
.egs-product-card h2 a,
.home-category-body h3 {
  overflow-wrap: anywhere;
}

.egs-shop-hero {
  padding: clamp(30px, 4.6vw, 58px) 24px clamp(26px, 3.8vw, 42px) !important;
}

.egs-shop-copy h1 {
  margin: 10px 0 10px !important;
}

.egs-shop-proof {
  display: none !important;
}

.egs-shop-stats {
  grid-template-columns: 1fr !important;
}

.egs-shop-stats div {
  border-radius: 8px !important;
  padding: 14px 16px !important;
}

.egs-shop-stats strong {
  font-size: 28px !important;
}

.egs-filter-head {
  padding-bottom: 10px !important;
}

.egs-filter-head h2,
.egs-shop-toolbar h2 {
  font-size: clamp(19px, 2vw, 23px) !important;
}

.egs-filter-field input,
.egs-filter-field select,
.account-form-grid input,
.account-form-grid select,
.account-form-stack input,
.home-lead-form input,
.home-lead-form select,
.home-lead-form textarea,
.home-newsletter input,
.product-quote-form input,
.checkout-layout input:not([type="checkbox"]):not([type="radio"]),
.checkout-layout select,
.checkout-layout textarea {
  min-height: 44px;
  border-radius: 8px !important;
}

.egs-shop-empty {
  min-height: 240px;
}

.egs-shop-empty > span {
  display: none !important;
}

.product-detail {
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.78fr) !important;
  gap: clamp(20px, 3.2vw, 38px) !important;
  width: min(1240px, calc(100% - 48px)) !important;
  margin: 0 auto 28px !important;
  padding: clamp(20px, 3vw, 30px) !important;
}

.product-gallery {
  min-width: 0;
}

.product-main-image {
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 20px !important;
}

.gallery-strip {
  grid-template-columns: repeat(auto-fit, minmax(74px, 1fr)) !important;
}

.product-summary h1 {
  font-size: clamp(28px, 3.4vw, 44px) !important;
  line-height: 1.08 !important;
}

.product-badges,
.trust-row,
.detail-actions {
  gap: 8px !important;
}

.detail-price {
  border-radius: 8px !important;
  padding: 16px !important;
}

.detail-price strong {
  font-size: clamp(25px, 3vw, 34px) !important;
}

.add-cart-box {
  grid-template-columns: minmax(0, 1fr) 110px minmax(150px, auto) !important;
  border-radius: 8px !important;
  padding: 16px !important;
  gap: 12px !important;
}

.product-info {
  width: min(1240px, calc(100% - 48px)) !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.tab-buttons {
  gap: 8px !important;
  overflow-x: auto;
  border-bottom: 0 !important;
  scrollbar-width: thin;
}

.tab-btn {
  flex: 0 0 auto;
  border: 1px solid var(--public-line) !important;
  border-radius: 999px !important;
  padding: 9px 13px !important;
  background: var(--public-surface) !important;
  font-size: 0.9rem !important;
}

.tab-btn.active::after {
  display: none !important;
}

.quote-strip {
  padding: clamp(34px, 4.8vw, 58px) 24px !important;
}

.quote-strip-container {
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1fr) !important;
}

.product-quote-form {
  gap: 12px !important;
  padding: 20px !important;
}

.page-hero,
.compact-hero {
  padding: clamp(30px, 4vw, 50px) 0 !important;
}

.configurator-page {
  width: min(1240px, calc(100% - 48px)) !important;
  padding: clamp(24px, 4vw, 42px) 0 clamp(48px, 6vw, 74px) !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
}

.wizard-steps-indicator {
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.wizard-step-bullet {
  flex: 0 0 86px;
}

.wizard-step-bullet span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--public-line);
  border-radius: 999px;
  background: var(--public-surface);
}

.wizard-cards-grid,
.wizard-cards-grid[style] {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
}

.wizard-selectable-card {
  min-height: 126px;
  padding: 18px 14px !important;
  text-align: left !important;
  align-items: flex-start !important;
}

.wizard-selectable-card strong {
  font-size: 1rem !important;
}

.wizard-selectable-card p {
  margin: 0;
  font-size: 0.84rem !important;
}

.recommendation-panel {
  top: 24px !important;
}

.cart-layout,
.checkout-layout {
  width: min(1240px, calc(100% - 48px)) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
  gap: 22px !important;
}

.cart-item {
  grid-template-columns: 76px minmax(0, 1fr) 112px minmax(130px, auto) auto !important;
  gap: 14px !important;
  padding: 14px !important;
}

.cart-thumb,
.cart-item img {
  width: 76px !important;
  height: 76px !important;
}

.checkout-main {
  min-width: 0;
}

.order-summary,
.cart-summary {
  position: sticky;
  top: 24px;
  align-self: start;
}

.account-auth,
.account-auth-register,
.account-wrap {
  width: min(1240px, calc(100% - 48px)) !important;
}

.account-auth,
.account-auth-register {
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.74fr) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.auth-visual {
  border-radius: 8px !important;
  padding: clamp(28px, 4vw, 44px) !important;
}

.auth-visual h1 {
  font-size: clamp(27px, 3.1vw, 40px) !important;
}

.auth-features {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px !important;
}

.auth-feature-item {
  display: grid !important;
  align-content: start;
  gap: 5px !important;
  padding: 12px !important;
  border-radius: 8px !important;
  transform: none !important;
}

.auth-form-card {
  border-radius: 8px !important;
  padding: clamp(24px, 3vw, 34px) !important;
}

.account-page {
  background: var(--public-page-bg) !important;
}

.account-dashboard-hero,
.account-page-title {
  min-height: auto !important;
  padding: clamp(24px, 3.6vw, 38px) !important;
}

.account-dashboard-hero h1,
.account-page-title h1 {
  font-size: clamp(30px, 3.8vw, 46px) !important;
}

.account-menu a small,
.account-support-card span,
.account-support-card strong,
.account-support-card a {
  font-size: 0.82rem !important;
}

.account-energy-card {
  min-width: 230px !important;
  border-radius: 8px !important;
}

.account-energy-card strong {
  font-size: 42px !important;
}

.account-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.account-table {
  min-width: 720px;
}

.site-footer {
  padding-top: clamp(44px, 6vw, 68px) !important;
}

.footer-main {
  width: min(1240px, 100%) !important;
}

html.theme-original .site-footer,
html.theme-original .modern-footer {
  background: linear-gradient(135deg, #082a4d 0%, #0e5f8f 54%, #0f766e 100%) !important;
}

/* ═══════════════════════════════════════════════════════
   ORIGINAL THEME: Light / White Header Override
   (fights dark-premium.css !important glass rules)
   ═══════════════════════════════════════════════════════ */

html.theme-original .site-header,
html.theme-original .advanced-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom-color: rgba(14, 73, 121, 0.10) !important;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07) !important;
  backdrop-filter: blur(22px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(160%) !important;
}

html.theme-original .site-header.scrolled,
html.theme-original .advanced-header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 6px 32px rgba(15, 23, 42, 0.11) !important;
}

html.theme-original .header-main {
  background: transparent !important;
  border-color: transparent !important;
}

html.theme-original .header-mega {
  background: rgba(248, 250, 252, 0.96) !important;
  border-top-color: rgba(14, 73, 121, 0.08) !important;
}

html.theme-original .public-nav {
  background: rgba(248, 250, 252, 0.88) !important;
  border-color: rgba(14, 73, 121, 0.12) !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05) !important;
}

html.theme-original .public-nav a {
  color: #071827 !important;
}

html.theme-original .public-nav a:hover {
  color: #16a34a !important;
  background: rgba(22, 163, 74, 0.08) !important;
}

html.theme-original .public-nav a.is-current {
  color: #fff !important;
  background: linear-gradient(135deg, #16a34a 0%, #059669 100%) !important;
}

html.theme-original .nav-lightning {
  color: #f59e0b !important;
}

html.theme-original .public-nav a.is-current .nav-lightning {
  color: #fff !important;
}

html.theme-original .brand-copy strong {
  color: #071827 !important;
}

html.theme-original .brand-copy small {
  color: #64748B !important;
}

html.theme-original .theme-switcher {
  background: rgba(255, 255, 255, 0.75) !important;
  border-color: rgba(14, 73, 121, 0.15) !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.07) !important;
}

html.theme-original .theme-choice {
  color: #64748B !important;
  background: transparent !important;
}

html.theme-original .theme-choice:hover {
  color: #071827 !important;
  background: rgba(15, 23, 42, 0.05) !important;
}

html.theme-original .theme-choice.is-active {
  color: #071827 !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.11) !important;
}

html.theme-original .header-icon-btn {
  background: rgba(248, 250, 252, 0.90) !important;
  border-color: rgba(14, 73, 121, 0.13) !important;
  color: #071827 !important;
}

html.theme-original .header-icon-btn:hover {
  background: rgba(22, 163, 74, 0.08) !important;
  border-color: rgba(22, 163, 74, 0.25) !important;
  color: #16a34a !important;
}

html.theme-original .header-icon-btn.is-current {
  background: rgba(22, 163, 74, 0.09) !important;
  border-color: rgba(22, 163, 74, 0.26) !important;
  color: #16a34a !important;
}

html.theme-original .account-label {
  color: inherit !important;
}

html.theme-original .mega-link {
  color: #0f1c2b !important;
  background: transparent !important;
  border-color: transparent !important;
}

html.theme-original .mega-link:hover {
  background: #ffffff !important;
  border-color: rgba(22, 163, 74, 0.22) !important;
  color: #16a34a !important;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.09) !important;
}

html.theme-original .mega-link.is-current {
  background: rgba(22, 163, 74, 0.09) !important;
  border-color: rgba(22, 163, 74, 0.24) !important;
  color: #16a34a !important;
}

html.theme-original .mega-cat-icon {
  background: rgba(22, 163, 74, 0.09) !important;
}

html.theme-original .mega-cat-icon svg {
  color: #16a34a !important;
}

html.theme-original .menu-toggle {
  background: rgba(248, 250, 252, 0.90) !important;
  border-color: rgba(14, 73, 121, 0.13) !important;
}

html.theme-original .menu-toggle:hover {
  background: rgba(22, 163, 74, 0.08) !important;
  border-color: rgba(22, 163, 74, 0.24) !important;
}

html.theme-original .hamburger-line {
  background: #071827 !important;
}

html.theme-original .header-link {
  color: #071827 !important;
}

html.theme-original .header-link:hover {
  background: rgba(22, 163, 74, 0.07) !important;
  color: #16a34a !important;
}



html.theme-dark .home-solution-grid article,
html.theme-dark .home-package-card,
html.theme-dark .home-info-grid article,
html.theme-dark .account-panel,
html.theme-dark .account-metric-card,
html.theme-dark .panel,
html.theme-dark .product-detail,
html.theme-dark .product-info .tab-content,
html.theme-dark .wizard-selectable-card,
html.theme-dark .recommendation-panel {
  border-color: var(--public-line) !important;
  background: var(--public-surface) !important;
}

html.theme-original .home-premium-hero,
html.theme-original .egs-shop-hero,
html.theme-original .page-hero,
html.theme-original .compact-hero,
html.theme-original .quote-strip,
html.theme-original .account-dashboard-hero,
html.theme-original .account-page-title,
html.theme-original .auth-visual {
  background:
    linear-gradient(116deg, rgba(6, 47, 85, 0.94), rgba(15, 111, 184, 0.78) 54%, rgba(22, 138, 118, 0.72)),
    url("../images/hero-solar-home.webp") center/cover no-repeat !important;
}

html.theme-dark .home-premium-hero,
html.theme-dark .egs-shop-hero,
html.theme-dark .page-hero,
html.theme-dark .compact-hero,
html.theme-dark .quote-strip,
html.theme-dark .account-dashboard-hero,
html.theme-dark .account-page-title,
html.theme-dark .auth-visual {
  background:
    linear-gradient(118deg, rgba(5, 9, 16, 0.96), rgba(7, 38, 31, 0.88)),
    url("../images/hero-solar-home.webp") center/cover no-repeat !important;
}

@media (max-width: 1120px) {
  .advanced-header .header-topline {
    display: none !important;
  }

  .advanced-header .public-nav,
  .advanced-header .header-mega {
    display: none !important;
  }

  .advanced-header .menu-toggle {
    display: inline-flex !important;
  }

  .advanced-header .btn.btn-primary.small,
  .advanced-header .btn-whatsapp,
  .advanced-header .admin-panel-chip {
    display: none !important;
  }

  .product-detail,
  .product-info,
  .configurator-page,
  .cart-layout,
  .checkout-layout,
  .quote-strip-container,
  .account-auth,
  .account-auth-register,
  .account-wrap {
    grid-template-columns: 1fr !important;
  }

  .order-summary,
  .cart-summary,
  .recommendation-panel,
  .account-sidebar {
    position: static !important;
  }

  .auth-features,
  .account-metrics {
    grid-template-columns: 1fr !important;
  }

  .home-section-head {
    align-items: flex-start !important;
  }
}

@media (max-width: 760px) {
  .home-premium-inner,
  .home-section,
  .home-trust-strip,
  .home-brands-band > div,
  .home-lead-section,
  .home-newsletter,
  .product-detail,
  .product-info,
  .configurator-page,
  .cart-layout,
  .checkout-layout,
  .account-auth,
  .account-auth-register,
  .account-wrap {
    width: min(100% - 28px, 1240px) !important;
  }

  .home-premium-hero,
  .egs-shop-hero,
  .page-hero,
  .compact-hero {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .home-premium-copy h1,
  .egs-shop-copy h1,
  .page-hero h1,
  .account-dashboard-hero h1,
  .account-page-title h1 {
    font-size: clamp(27px, 8.8vw, 38px) !important;
  }

  .home-hero-card,
  .egs-shop-side {
    display: none !important;
  }

  .home-premium-hero,
  .egs-shop-hero {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .home-hero-actions,
  .home-section-head,
  .detail-actions,
  .wizard-actions,
  .form-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .home-primary-action,
  .home-secondary-action,
  .btn,
  .account-primary-action,
  .account-secondary-action {
    width: 100%;
  }

  .egs-shop-stats {
    grid-template-columns: 1fr !important;
  }

  .egs-shop-toolbar,
  .egs-toolbar-actions {
    align-items: stretch !important;
  }

  .egs-mobile-filter-btn {
    width: 100%;
    justify-content: center;
  }

  .add-cart-box,
  .product-quote-form,
  .home-newsletter form,
  .home-form-pair {
    grid-template-columns: 1fr !important;
  }

  .product-quote-form input,
  .product-quote-form .check-row,
  .product-quote-form button {
    grid-column: auto !important;
  }

  .cart-item {
    grid-template-columns: 68px minmax(0, 1fr) !important;
  }

  .cart-item label,
  .cart-price,
  .cart-item button {
    grid-column: 1 / -1;
  }

  .cart-thumb,
  .cart-item img {
    width: 68px !important;
    height: 68px !important;
  }

  .wizard-step-bullet {
    flex-basis: 72px;
  }

  .wizard-step-bullet small {
    font-size: 0.67rem;
  }

  .account-menu {
    grid-template-columns: 1fr !important;
  }

  .account-page {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.theme-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  color: rgba(242, 248, 255, 0.82);
  background: transparent;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.theme-choice:hover {
  color: #fff;
}

html.theme-original .theme-switcher {
  border-color: rgba(12, 93, 155, 0.16);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 26px rgba(8, 42, 77, 0.12);
}

html.theme-original .theme-choice {
  color: #42627c;
}

html.theme-original .theme-choice[data-theme-choice="original"],
html.theme-dark .theme-choice[data-theme-choice="dark"],
.theme-choice.is-active {
  color: #fff;
  background: linear-gradient(135deg, #0f6fb8 0%, #16a873 100%);
  box-shadow: 0 8px 18px rgba(15, 111, 184, 0.22);
}

html.theme-dark .theme-switcher {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

html.theme-dark .theme-choice {
  color: rgba(238, 249, 242, 0.72);
}

html.theme-dark .theme-choice[data-theme-choice="dark"],
html.theme-dark .theme-choice.is-active {
  color: #07110d;
  background: linear-gradient(135deg, #f5c542 0%, #35d184 100%);
}

html.theme-dark .brand-copy strong,
html.theme-dark .public-nav a,
html.theme-dark .header-link,
html.theme-dark .account-chip,
html.theme-dark .header-mega a {
  color: #f1fbf6 !important;
}

html.theme-dark .brand-copy small {
  color: rgba(238, 249, 242, 0.68) !important;
}

html.theme-dark .header-link:hover,
html.theme-dark .account-chip:hover,
html.theme-dark .public-nav a:hover,
html.theme-dark .header-mega a:hover {
  color: #d9ffe9 !important;
}

.offcanvas-menu {
  right: 0;
  transform: translateX(106%);
}

.offcanvas-menu.active {
  right: 0;
  transform: translateX(0);
}

/* Global responsive polish for media, homepage and admin surfaces */
.home-premium-hero {
  padding: clamp(30px, 4.2vw, 58px) 24px 28px !important;
}

.home-premium-inner {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px) !important;
  gap: clamp(20px, 3.4vw, 44px) !important;
  align-items: center !important;
}

.home-premium-copy h1 {
  max-width: 740px !important;
  margin: 10px 0 14px !important;
  font-size: clamp(32px, 4vw, 50px) !important;
  line-height: 1.03 !important;
}

.home-premium-copy p {
  max-width: 650px !important;
  font-size: clamp(15px, 1.1vw, 18px) !important;
  line-height: 1.55 !important;
}

.home-hero-card {
  gap: 12px !important;
  padding: 20px !important;
}

.home-hero-card h2 {
  font-size: clamp(22px, 2vw, 30px) !important;
  line-height: 1.16 !important;
}

.home-hero-card p {
  font-size: 0.95rem !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  line-height: 1.45 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.home-card-metrics div {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 10px !important;
}

.home-card-metrics span {
  font-size: 0.75rem !important;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-card-metrics strong {
  font-size: 0.9rem !important;
  min-width: 0;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-hero-actions,
.home-proof-row {
  margin-top: 18px !important;
}

.product-card .product-image,
.egs-product-media,
.home-category-media {
  aspect-ratio: 1.15 / 1 !important;
  min-height: 0;
}

.product-card .product-image img,
.egs-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}

.cart-thumb img,
.product-main-image img,
.gallery-strip img,
.setting-logo-preview img {
  object-fit: contain !important;
}

.admin-shell {
  min-width: 0;
}

.admin-topbar {
  gap: 16px;
}

.topbar-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-content {
  min-width: 0;
}

.panel,
.card,
.table-wrap {
  max-width: 100%;
}

.form-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important;
}

.form-grid .span-2,
.span-2 {
  grid-column: 1 / -1;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 14px !important;
}

td.row-actions,
.row-actions {
  white-space: normal;
}

td.row-actions a.btn,
td.row-actions form,
.row-actions a.btn,
.row-actions form {
  margin-top: 4px !important;
  margin-bottom: 4px !important;
}

.tab-buttons {
  overflow-x: auto;
  scrollbar-width: thin;
}

.tab-buttons .tab-btn {
  flex: 0 0 auto;
}

.admin-content .category-table-thumb {
  flex: 0 0 42px;
}

.category-admin-table td:first-child,
.category-admin-table th:first-child {
  width: 72px;
}

.category-image-field {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px;
  background: rgba(255, 255, 255, 0.5);
}

.category-image-field label:not(.check-row) {
  display: grid;
  gap: 7px;
}

.category-image-field small {
  color: var(--color-muted);
}

.category-remove-image {
  grid-column: 2;
}

.category-image-preview,
.category-table-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(15, 111, 184, 0.12), rgba(22, 168, 115, 0.14));
  color: var(--color-primary);
  font-family: var(--font-headings);
  font-weight: 900;
}

.category-image-preview {
  width: 76px;
  height: 76px;
  font-size: 28px;
}

.category-table-thumb {
  width: 42px;
  height: 42px;
  font-size: 17px;
}

.category-image-preview img,
.category-table-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-category-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 !important;
}

.home-category-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1.22 / 1;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--glass-line);
  border-radius: 0;
  margin-bottom: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(15, 111, 184, 0.34), rgba(22, 168, 115, 0.26)),
    rgba(255, 255, 255, 0.08);
}

.home-category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transition: transform 0.35s ease;
}

.home-category-card:hover .home-category-media img {
  transform: scale(1.04);
}

.home-category-media span {
  color: #fff !important;
  font-size: clamp(52px, 7vw, 76px);
  font-weight: 950;
  line-height: 1;
}

.home-category-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px 20px;
}

.home-category-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-category-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.07);
}

.home-category-body h3 {
  min-height: 2.55em;
  margin: 0 !important;
  font-size: clamp(20px, 1.6vw, 26px) !important;
  line-height: 1.25;
}

.home-category-body p {
  min-height: 4.5em;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-category-body strong {
  margin-top: auto !important;
}

.egs-shop-side {
  display: grid;
  gap: 14px;
}

.egs-category-hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(15, 111, 184, 0.28), rgba(22, 168, 115, 0.18)),
    rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.egs-category-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.egs-category-hero-media span {
  color: #fff;
  font-family: var(--font-headings);
  font-size: 82px;
  font-weight: 950;
  line-height: 1;
}

html.theme-original {
  color-scheme: light;
  --color-primary: #082a4d;
  --color-navy: #0b3b67;
  --color-green: #16a873;
  --color-emerald: #11ba93;
  --color-solar: #d9a928;
  --color-blue: #0f6fb8;
  --color-bg: #f3f8fc;
  --color-bg-soft: #e7f5ee;
  --color-card: #ffffff;
  --color-text: #102033;
  --color-muted: #5a6f84;
  --color-border: rgba(14, 73, 121, 0.14);
  --color-danger: #dc2626;
  --color-success: #16a873;
  --shadow-xs: 0 4px 14px rgba(8, 42, 77, 0.06);
  --shadow-sm: 0 10px 28px rgba(8, 42, 77, 0.09);
  --shadow-md: 0 18px 48px rgba(8, 42, 77, 0.13);
  --shadow-lg: 0 28px 80px rgba(8, 42, 77, 0.18);
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-bg-strong: rgba(255, 255, 255, 0.94);
  --glass-line: rgba(14, 73, 121, 0.14);
  --glass-line-soft: rgba(14, 73, 121, 0.09);
  --glass-blur: blur(18px) saturate(140%);
  --premium-ring: 0 1px 1px rgba(255, 255, 255, 0.78) inset, 0 22px 52px rgba(8, 42, 77, 0.12);
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-xl: 8px;
}

html.theme-original,
html.theme-original body {
  background:
    linear-gradient(180deg, #f8fbff 0%, #edf6fb 44%, #f8fcfa 100%) !important;
  color: var(--color-text);
}

html.theme-original body::before {
  background-image:
    linear-gradient(rgba(15, 111, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 111, 184, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.44), transparent 82%);
  opacity: 0.8;
}

html.theme-original h1,
html.theme-original h2,
html.theme-original h3,
html.theme-original h4,
html.theme-original h5,
html.theme-original h6,
html.theme-original .brand,
html.theme-original .admin-logo {
  color: var(--color-primary);
  letter-spacing: 0;
}

html.theme-original p,
html.theme-original small,
html.theme-original .text-muted,
html.theme-original .product-card p,
html.theme-original .panel p,
html.theme-original .role-card p,
html.theme-original .module-card p {
  color: var(--color-muted);
}

html.theme-original a:hover {
  color: var(--color-green);
}

html.theme-original .site-header,
html.theme-original .advanced-header,
html.theme-original .admin-topbar,
html.theme-original .panel,
html.theme-original .card,
html.theme-original .auth-card,
html.theme-original .stat-card,
html.theme-original .role-card,
html.theme-original .module-card,
html.theme-original .product-card,
html.theme-original .shop-filters,
html.theme-original .shop-toolbar,
html.theme-original .cart-item,
html.theme-original .cart-summary,
html.theme-original .order-summary,
html.theme-original .customer-box,
html.theme-original .recommendation-panel,
html.theme-original .offer-history article,
html.theme-original .table-wrap,
html.theme-original .account-panel,
html.theme-original .account-metric-card,
html.theme-original .egs-filter-form,
html.theme-original .egs-shop-toolbar,
html.theme-original .egs-product-card,
html.theme-original .account-sidebar,
html.theme-original .account-brand-card,
html.theme-original .account-support-card {
  border-color: var(--glass-line) !important;
  background: var(--glass-bg) !important;
  box-shadow: var(--premium-ring) !important;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

html.theme-original .site-header.advanced-header {
  z-index: 1000;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 44px rgba(8, 42, 77, 0.12) !important;
}

html.theme-original .advanced-header .header-topline,
html.theme-original .advanced-header .header-main,
html.theme-original .advanced-header .header-mega {
  max-width: none;
  width: 100%;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html.theme-original .advanced-header .header-topline {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
  padding-left: clamp(18px, 4vw, 56px);
  padding-right: clamp(18px, 4vw, 56px);
  color: rgba(236, 247, 255, 0.86);
  background: linear-gradient(90deg, #062f55 0%, #0f6fb8 54%, #168b76 100%) !important;
}

html.theme-original .advanced-header .header-main {
  margin: 0;
  padding-left: clamp(18px, 4vw, 56px);
  padding-right: clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--glass-line-soft) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

html.theme-original .advanced-header .header-mega {
  border-top: 1px solid rgba(14, 73, 121, 0.08) !important;
  border-bottom: 1px solid rgba(14, 73, 121, 0.08) !important;
  background: linear-gradient(90deg, rgba(231, 244, 252, 0.86), rgba(232, 247, 239, 0.82)) !important;
}

html.theme-original .brand-mark {
  background: linear-gradient(135deg, #0f6fb8 0%, #16a873 100%) !important;
  color: #fff !important;
}

html.theme-original .brand-copy strong,
html.theme-original .public-nav a,
html.theme-original .header-link,
html.theme-original .account-chip,
html.theme-original .header-mega a {
  color: #092f53 !important;
}

html.theme-original .brand-copy small {
  color: #5f7284 !important;
}

html.theme-original .header-topline a,
html.theme-original .topline-links a {
  color: rgba(236, 247, 255, 0.9) !important;
}

html.theme-original .header-topline a:hover,
html.theme-original .topline-links a:hover {
  color: #fff !important;
}

html.theme-original .header-link,
html.theme-original .account-chip,
html.theme-original .header-mega a,
html.theme-original .footer-badges span,
html.theme-original .auth-proof span,
html.theme-original .hero-proof span,
html.theme-original .product-badges .badge,
html.theme-original .badge,
html.theme-original .status-pill,
html.theme-original .account-status,
html.theme-original .egs-active-filters span,
html.theme-original .egs-product-specs span {
  border-color: rgba(14, 73, 121, 0.12) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #0d416d !important;
}

html.theme-original .public-nav a:hover,
html.theme-original .header-link:hover,
html.theme-original .account-chip:hover,
html.theme-original .header-mega a:hover {
  border-color: rgba(22, 168, 115, 0.28) !important;
  background: rgba(229, 248, 240, 0.84) !important;
  color: #10735a !important;
}

html.theme-original .admin-panel-chip,
html.theme-original .mega-admin-link,
html.theme-original .danger-link {
  color: #fff !important;
  background: linear-gradient(135deg, #dc2626, #991b1b) !important;
}

html.theme-original .menu-toggle {
  color: var(--color-primary);
}

html.theme-original .btn-primary,
html.theme-original .btn.primary,
html.theme-original .account-primary-action,
html.theme-original .egs-filter-actions button,
html.theme-original .egs-card-actions button,
html.theme-original .egs-shop-empty a,
html.theme-original .auth-submit-btn,
html.theme-original .filter-actions .btn-primary,
html.theme-original .home-primary-action,
html.theme-original .home-package-card.featured a,
html.theme-original .home-lead-form button,
html.theme-original .home-newsletter button {
  color: #fff !important;
  background: linear-gradient(135deg, #0f6fb8 0%, #16a873 100%) !important;
  border: 0 !important;
  box-shadow: 0 16px 34px rgba(15, 111, 184, 0.2) !important;
}

html.theme-original .btn-primary:hover,
html.theme-original .home-primary-action:hover,
html.theme-original .home-lead-form button:hover,
html.theme-original .home-newsletter button:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

html.theme-original .btn-outline,
html.theme-original .btn.outline,
html.theme-original .btn-ghost,
html.theme-original .btn.ghost,
html.theme-original .account-secondary-action,
html.theme-original .egs-filter-actions a,
html.theme-original .egs-card-actions a,
html.theme-original .account-row-action,
html.theme-original .admin-topbar .btn.ghost,
html.theme-original .admin-topbar .btn-outline,
html.theme-original .home-secondary-action,
html.theme-original .home-package-card a {
  color: #0b4d7d !important;
  border-color: rgba(14, 73, 121, 0.16) !important;
  background: rgba(255, 255, 255, 0.78) !important;
}

html.theme-original input,
html.theme-original select,
html.theme-original textarea,
html.theme-original .form-control,
html.theme-original .shop-filters input,
html.theme-original .shop-filters select,
html.theme-original .egs-filter-field input,
html.theme-original .egs-filter-field select,
html.theme-original .account-form-grid input,
html.theme-original .account-form-grid select,
html.theme-original .account-form-stack input,
html.theme-original .footer-newsletter input {
  color: var(--color-text) !important;
  border-color: rgba(14, 73, 121, 0.16) !important;
  background: rgba(255, 255, 255, 0.9) !important;
}

html.theme-original input::placeholder,
html.theme-original textarea::placeholder,
html.theme-original .footer-newsletter input::placeholder {
  color: rgba(79, 101, 122, 0.62) !important;
}

html.theme-original input:focus,
html.theme-original select:focus,
html.theme-original textarea:focus,
html.theme-original .form-control:focus {
  border-color: rgba(15, 111, 184, 0.58) !important;
  box-shadow: 0 0 0 4px rgba(15, 111, 184, 0.12) !important;
}

html.theme-original option {
  color: var(--color-text);
  background: #fff;
}

html.theme-original .home-hero,
html.theme-original .hero,
html.theme-original .shop-hero,
html.theme-original .egs-shop-hero,
html.theme-original .account-dashboard-hero,
html.theme-original .account-page-title,
html.theme-original .auth-body,
html.theme-original .account-auth {
  background:
    linear-gradient(120deg, rgba(6, 47, 85, 0.94), rgba(19, 128, 112, 0.72)),
    url("../images/hero-solar-home.webp") center/cover no-repeat !important;
}

html.theme-original .home-premium-hero {
  color: #fff;
  background:
    linear-gradient(115deg, rgba(6, 47, 85, 0.94), rgba(13, 111, 184, 0.78) 54%, rgba(22, 138, 118, 0.72)),
    url("../images/hero-solar-home.webp") center/cover no-repeat !important;
}

html.theme-original .home-premium-copy h1 {
  color: #fff;
  text-shadow: 0 14px 34px rgba(5, 31, 56, 0.28);
}

html.theme-original .home-premium-copy p,
html.theme-original .home-proof-row span {
  color: rgba(246, 251, 255, 0.86) !important;
}

html.theme-original .home-kicker {
  border-color: rgba(15, 111, 184, 0.16);
  color: #0f6fb8;
  background: rgba(239, 248, 255, 0.82);
}

html.theme-original .home-premium-hero .home-kicker {
  border-color: rgba(255, 255, 255, 0.24);
  color: #e8fff6;
  background: rgba(255, 255, 255, 0.12);
}

html.theme-original .home-hero-card,
html.theme-original .home-category-card,
html.theme-original .home-solution-grid article,
html.theme-original .home-package-card,
html.theme-original .home-info-grid article,
html.theme-original .home-lead-form,
html.theme-original .home-newsletter,
html.theme-original .home-trust-strip div,
html.theme-original .trust-bar div,
html.theme-original .category-card,
html.theme-original .solution-card,
html.theme-original .finance-card,
html.theme-original .advantage-card,
html.theme-original .feature-card,
html.theme-original .product-detail,
html.theme-original .product-summary,
html.theme-original .product-info,
html.theme-original .add-cart-box,
html.theme-original .quote-strip,
html.theme-original .configurator-form,
html.theme-original .recommendation-list div,
html.theme-original .egs-shop-empty,
html.theme-original .account-empty-state,
html.theme-original .metric-card,
html.theme-original .account-energy-card {
  border-color: var(--glass-line) !important;
  background: var(--glass-bg-strong) !important;
  box-shadow: var(--premium-ring) !important;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

html.theme-original .home-hero-card h2,
html.theme-original .home-section-head h2,
html.theme-original .home-lead-copy h2,
html.theme-original .home-newsletter h2,
html.theme-original .home-category-card h3,
html.theme-original .home-solution-grid h3,
html.theme-original .home-package-card h3,
html.theme-original .home-info-grid h3 {
  color: var(--color-primary);
}

html.theme-original .home-hero-card p,
html.theme-original .home-category-card p,
html.theme-original .home-solution-grid p,
html.theme-original .home-package-card p,
html.theme-original .home-info-grid p,
html.theme-original .home-lead-copy p {
  color: var(--color-muted) !important;
}

html.theme-original .home-card-metrics div,
html.theme-original .home-category-media,
html.theme-original .product-card .product-image,
html.theme-original .egs-product-media,
html.theme-original .cart-thumb,
html.theme-original .price-row,
html.theme-original .egs-price-box,
html.theme-original .account-table td,
html.theme-original .account-order-row,
html.theme-original .egs-stock-check,
html.theme-original .account-profile-card dl div,
html.theme-original .account-detail-side dl div,
html.theme-original .account-line-items > div,
html.theme-original .account-totals > div {
  border-color: var(--glass-line-soft) !important;
  background: rgba(239, 247, 252, 0.9) !important;
}

html.theme-original .home-card-metrics span,
html.theme-original .home-trust-strip span {
  color: var(--color-muted);
}

html.theme-original .home-card-metrics strong,
html.theme-original .home-trust-strip strong,
html.theme-original .home-category-card strong,
html.theme-original .home-solution-grid span,
html.theme-original .home-package-card > span,
html.theme-original .price-row strong,
html.theme-original .egs-price-box strong,
html.theme-original .summary-total strong,
html.theme-original .account-grand-total strong,
html.theme-original .shop-stat strong,
html.theme-original .egs-shop-stats strong {
  color: var(--color-green) !important;
  -webkit-text-fill-color: initial !important;
}

html.theme-original .home-category-media span,
html.theme-original .egs-category-hero-media span {
  color: #0f6fb8 !important;
}

html.theme-original .egs-category-hero-media {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(238, 248, 255, 0.72), rgba(231, 247, 239, 0.68)),
    rgba(255, 255, 255, 0.18);
}

html.theme-dark .category-image-field {
  background: rgba(255, 255, 255, 0.055);
}

html.theme-dark .category-image-preview,
html.theme-dark .category-table-thumb {
  color: #d9ffe9;
  background: linear-gradient(135deg, rgba(53, 209, 132, 0.16), rgba(90, 183, 255, 0.14));
}

html.theme-original .home-package-card.featured {
  border-color: rgba(22, 168, 115, 0.28) !important;
  background:
    linear-gradient(180deg, rgba(234, 248, 241, 0.96), rgba(255, 255, 255, 0.94)) !important;
}

html.theme-original .home-package-card li,
html.theme-original .home-lead-form label,
html.theme-original .home-newsletter label {
  color: #25435d;
}

html.theme-original .home-brand-strip span {
  border-color: rgba(14, 73, 121, 0.14);
  color: #0d416d;
  background: rgba(255, 255, 255, 0.8);
}

html.theme-original .home-brands-band > div {
  border-color: var(--glass-line);
  background: linear-gradient(90deg, rgba(235, 246, 253, 0.86), rgba(232, 247, 239, 0.84));
}

html.theme-original .section,
html.theme-original .section-tight,
html.theme-original .lead-section,
html.theme-original .newsletter-band,
html.theme-original .configurator-page,
html.theme-original .cart-layout,
html.theme-original .checkout-layout,
html.theme-original .shop-layout,
html.theme-original .egs-shop-page,
html.theme-original .account-page {
  background: transparent !important;
}

html.theme-original .product-card h2 a,
html.theme-original .egs-product-card h2 a,
html.theme-original .product-meta .product-brand,
html.theme-original .egs-product-meta span,
html.theme-original .account-metric-card strong,
html.theme-original .account-panel-header h2,
html.theme-original .egs-shop-toolbar h2,
html.theme-original .egs-filter-head h2,
html.theme-original .egs-shop-empty h2,
html.theme-original .account-profile-card dd,
html.theme-original .account-detail-side dd,
html.theme-original .cart-price strong {
  color: var(--color-primary) !important;
}

html.theme-original .site-footer,
html.theme-original .modern-footer {
  background: linear-gradient(135deg, #062f55 0%, #094f74 56%, #0f7468 100%) !important;
  color: rgba(240, 249, 255, 0.76);
}

html.theme-original .footer-main,
html.theme-original .footer-bottom {
  border-color: rgba(255, 255, 255, 0.13) !important;
}

html.theme-original .footer-column a,
html.theme-original .footer-brand p,
html.theme-original .footer-column span,
html.theme-original .footer-bottom {
  color: rgba(240, 249, 255, 0.72) !important;
}

html.theme-original .footer-column a:hover {
  color: #b8ffe3 !important;
}

html.theme-original table {
  color: var(--color-text);
}

html.theme-original th {
  color: #50687e !important;
}

html.theme-original td {
  border-color: var(--glass-line-soft) !important;
}

html.theme-original .table-wrap table,
html.theme-original .account-table,
html.theme-original .admin-content table {
  background: transparent !important;
}

html.theme-original .alert {
  border-color: var(--glass-line) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--color-text) !important;
  backdrop-filter: var(--glass-blur);
}

html.theme-original .alert.success {
  border-color: rgba(22, 168, 115, 0.28) !important;
}

html.theme-original .alert.error {
  border-color: rgba(220, 38, 38, 0.32) !important;
}

html.theme-original .status-new,
html.theme-original .status-processing,
html.theme-original .status-paid,
html.theme-original .status-shipped,
html.theme-original .status-completed,
html.theme-original .status-cancelled,
html.theme-original .in-stock,
html.theme-original .on-order,
html.theme-original .egs-product-media .in-stock,
html.theme-original .egs-product-media .on-order {
  color: #0c416e !important;
  background: rgba(231, 244, 252, 0.9) !important;
}

html.theme-original .pagination a,
html.theme-original .pagination span {
  color: #0c416e !important;
  border-color: var(--glass-line) !important;
  background: rgba(255, 255, 255, 0.84) !important;
}

html.theme-original .pagination a.active,
html.theme-original .pagination span.active {
  color: #fff !important;
  background: linear-gradient(135deg, #0f6fb8, #16a873) !important;
}

html.theme-original .offcanvas-menu,
html.theme-original .offcanvas-overlay.active + .offcanvas-menu {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: var(--glass-blur);
}

html.theme-original .offcanvas-header,
html.theme-original .offcanvas-nav a {
  border-color: rgba(14, 73, 121, 0.12);
}

html.theme-original .offcanvas-nav a,
html.theme-original .offcanvas-header h3 {
  color: var(--color-primary);
}

html.theme-original .admin-body {
  background: linear-gradient(180deg, #f3f8fc 0%, #eaf4fa 100%) !important;
}

html.theme-original .admin-sidebar {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(180deg, #062f55 0%, #0b3b67 100%) !important;
  box-shadow: 18px 0 48px rgba(8, 42, 77, 0.16) !important;
}

html.theme-original .admin-logo,
html.theme-original .admin-sidebar nav a.active,
html.theme-original .admin-sidebar nav a:hover {
  color: #fff !important;
}

html.theme-original .admin-sidebar nav a {
  color: rgba(236, 247, 255, 0.72) !important;
  border-color: transparent !important;
}

html.theme-original .admin-sidebar nav a.active,
html.theme-original .admin-sidebar nav a:hover {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

html.theme-original .admin-content,
html.theme-original .admin-shell {
  background: transparent !important;
}

html.theme-original .auth-form-card,
html.theme-original .auth-card {
  background: rgba(255, 255, 255, 0.94) !important;
}

html.theme-original .auth-visual {
  background: linear-gradient(145deg, #062f55 0%, #0f6fb8 54%, #168b76 100%) !important;
}

html.theme-original .auth-visual h1,
html.theme-original .auth-visual p,
html.theme-original .auth-feature-item strong,
html.theme-original .auth-feature-item small {
  color: #fff !important;
}

@media (max-width: 1080px) {
  .home-premium-hero {
    padding: 30px 18px 24px !important;
  }

  .home-premium-inner {
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }

  .home-hero-card {
    max-width: 620px;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .admin-content {
    padding: 24px 18px;
  }

  html.theme-original .egs-filter-panel {
    background: #f7fbff !important;
  }
}

@media (max-width: 700px) {
  .home-premium-hero {
    padding: 24px 14px 20px !important;
  }

  .home-premium-copy h1 {
    font-size: clamp(28px, 8vw, 36px) !important;
    line-height: 1.06 !important;
  }

  .home-premium-copy p {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .home-proof-row {
    display: none !important;
  }

  .home-hero-actions {
    gap: 8px !important;
    margin-top: 14px !important;
  }

  .home-primary-action,
  .home-secondary-action {
    padding: 10px 12px !important;
    font-size: 0.9rem !important;
  }

  .home-hero-card {
    padding: 14px !important;
  }

  .home-hero-card h2 {
    font-size: 20px !important;
  }

  .home-hero-card > .home-kicker,
  .home-hero-card > p,
  .home-card-metrics {
    display: none !important;
  }

  .home-category-grid {
    grid-template-columns: 1fr !important;
  }

  .home-category-media {
    aspect-ratio: 16 / 9 !important;
  }

  .home-category-body h3 {
    min-height: auto;
  }

  .home-category-body p {
    min-height: auto;
  }

  .admin-content {
    padding: 16px 12px;
  }

  .panel,
  .card {
    padding: 16px !important;
  }

  .panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .panel-header .btn,
  .panel-header a.btn {
    width: 100%;
  }

  .table-wrap {
    border-radius: 8px;
  }

  .table-wrap table {
    min-width: 680px;
  }

  .table-wrap th,
  .table-wrap td {
    padding: 10px 12px !important;
  }

  .admin-topbar h1 {
    font-size: 1.25rem;
  }

  .topbar-actions .theme-switcher {
    order: -1;
  }

  .category-image-field {
    grid-template-columns: 1fr;
  }

  .category-image-preview {
    width: 68px;
    height: 68px;
    font-size: 25px;
  }

  .category-remove-image {
    grid-column: auto;
  }

  .egs-category-hero-media {
    min-height: 160px;
  }

  .egs-category-hero-media img {
    min-height: 160px;
  }

  .footer-main {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer,
  .modern-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .advanced-header .header-actions > .header-link {
    display: none !important;
  }

  .advanced-header .brand-rich {
    gap: 8px;
    min-width: 0;
  }

  .advanced-header .brand-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .advanced-header .brand-copy {
    min-width: 0;
  }

  .advanced-header .brand-copy strong {
    max-width: 170px;
    overflow: hidden;
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .advanced-header .brand-copy small {
    font-size: 0.68rem;
  }

  .advanced-header .header-actions {
    gap: 7px;
    margin-left: auto;
  }

  .theme-switcher {
    padding: 2px;
  }

  .theme-choice {
    height: 26px;
    padding: 0 7px;
    font-size: 10px;
  }

  html.theme-original .advanced-header .header-main,
  html.theme-dark .advanced-header .header-main {
    gap: 8px;
  }
}

/* Final public polish overrides. Keep this block last. */
html.theme-original {
  --public-page-bg: linear-gradient(180deg, #f7fbff 0%, #eef7fb 48%, #f8fcfa 100%);
  --public-surface: rgba(255, 255, 255, 0.92);
  --public-soft: #eef7fb;
  --public-muted: #5b7084;
  --public-line: rgba(14, 73, 121, 0.13);
}

html.theme-dark {
  --public-page-bg: linear-gradient(180deg, #070b12 0%, #060912 58%, #05070c 100%);
  --public-surface: rgba(13, 20, 32, 0.78);
  --public-soft: rgba(255, 255, 255, 0.055);
  --public-muted: #a7b8b0;
  --public-line: rgba(255, 255, 255, 0.11);
}

body,
main {
  min-width: 0;
  overflow-x: hidden;
}

.auth-glow,
.shop-hero-glow,
.wizard-selectable-card .icon,
.auth-brand-icon,
.auth-feature-icon,
.auth-form-icon,
.egs-shop-proof,
.egs-shop-empty > span {
  display: none !important;
}

.home-premium-hero,
.egs-shop-hero,
.shop-hero,
.page-hero,
.compact-hero,
.quote-strip {
  padding-top: clamp(28px, 4.2vw, 52px) !important;
  padding-bottom: clamp(24px, 3.4vw, 38px) !important;
}

.home-premium-inner,
.egs-shop-hero-inner,
.quote-strip-container,
.home-trust-strip,
.product-detail,
.product-info,
.configurator-page,
.cart-layout,
.checkout-layout,
.account-auth,
.account-auth-register,
.account-wrap,
.footer-main {
  width: min(1240px, calc(100% - 48px)) !important;
}

.home-premium-copy h1,
.egs-shop-copy h1,
.page-hero h1,
.account-dashboard-hero h1,
.account-page-title h1 {
  max-width: 760px !important;
  font-size: clamp(32px, 4.1vw, 50px) !important;
  line-height: 1.04 !important;
}

.home-premium-hero h1,
.egs-shop-hero h1,
.shop-hero h1,
.page-hero h1,
.compact-hero h1,
.quote-strip h2,
.account-dashboard-hero h1,
.account-page-title h1,
.auth-visual h1 {
  color: #fff !important;
}

.home-premium-copy p,
.egs-shop-copy p,
.page-hero p,
.account-dashboard-hero p,
.account-page-title p {
  max-width: 660px !important;
  font-size: clamp(14px, 1.15vw, 17px) !important;
  line-height: 1.58 !important;
}

.home-section,
.home-brands-band,
.home-lead-section {
  padding-top: clamp(42px, 5.4vw, 72px) !important;
}

.home-section-head h2,
.home-lead-copy h2,
.home-newsletter h2 {
  max-width: 700px !important;
  font-size: clamp(25px, 3vw, 38px) !important;
  line-height: 1.12 !important;
}

.home-trust-strip div,
.home-hero-card,
.home-category-card,
.home-solution-grid article,
.home-package-card,
.home-info-grid article,
.home-lead-form,
.home-newsletter,
.egs-filter-form,
.egs-shop-toolbar,
.egs-product-card,
.product-detail,
.product-summary,
.product-info .tab-content,
.quote-strip .product-quote-form,
.panel,
.account-panel,
.account-metric-card,
.account-sidebar,
.account-empty-state,
.wizard-selectable-card,
.recommendation-panel,
.auth-visual,
.auth-form-card {
  border-radius: 8px !important;
}

.home-solution-grid article,
.home-package-card,
.home-info-grid article,
.account-panel,
.account-metric-card,
.panel {
  border-color: var(--public-line) !important;
  background: var(--public-surface) !important;
}

.product-card,
.egs-product-card,
.home-category-card {
  height: 100% !important;
}

.product-card .product-image,
.egs-product-media,
.home-category-media,
.cart-thumb,
.product-main-image,
.gallery-strip img {
  background: var(--public-soft) !important;
}

.product-card .product-image,
.egs-product-media {
  aspect-ratio: 1.18 / 1 !important;
  min-height: 0 !important;
}

.product-card .product-image img,
.egs-product-media img,
.product-main-image img,
.cart-thumb img,
.gallery-strip img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.product-card .product-image img,
.egs-product-media img {
  padding: clamp(14px, 3vw, 24px) !important;
}

.product-card h2 a,
.egs-product-card h2 a,
.home-category-body h3 {
  overflow-wrap: anywhere;
}

.egs-shop-stats div {
  border-radius: 8px !important;
  padding: 14px 16px !important;
}

.egs-shop-stats strong {
  font-size: 28px !important;
}

.egs-filter-head p {
  display: none !important;
}

.egs-filter-head h2,
.egs-shop-toolbar h2 {
  font-size: clamp(19px, 2vw, 23px) !important;
}

input,
select,
textarea,
.form-control {
  min-height: 44px;
  border-radius: 8px !important;
}

.product-detail {
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.78fr) !important;
  gap: clamp(20px, 3.2vw, 38px) !important;
  margin: 0 auto 28px !important;
  padding: clamp(20px, 3vw, 30px) !important;
}

.product-gallery {
  min-width: 0;
}

.product-main-image {
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 20px !important;
}

.gallery-strip {
  grid-template-columns: repeat(auto-fit, minmax(74px, 1fr)) !important;
}

.product-summary h1 {
  font-size: clamp(28px, 3.4vw, 44px) !important;
  line-height: 1.08 !important;
}

.detail-price {
  border-radius: 8px !important;
  padding: 16px !important;
}

.detail-price strong {
  font-size: clamp(25px, 3vw, 34px) !important;
}

.add-cart-box {
  grid-template-columns: minmax(0, 1fr) 110px minmax(150px, auto) !important;
  border-radius: 8px !important;
  padding: 16px !important;
  gap: 12px !important;
}

.product-info {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.tab-buttons {
  gap: 8px !important;
  overflow-x: auto;
  border-bottom: 0 !important;
  scrollbar-width: thin;
}

.tab-btn {
  flex: 0 0 auto;
  border: 1px solid var(--public-line) !important;
  border-radius: 999px !important;
  padding: 9px 13px !important;
  background: var(--public-surface) !important;
  font-size: 0.9rem !important;
}

.tab-btn.active::after {
  display: none !important;
}

.quote-strip-container {
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1fr) !important;
}

.product-quote-form {
  gap: 12px !important;
  padding: 20px !important;
}

.configurator-page {
  padding-left: 0 !important;
  padding-right: 0 !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
}

.wizard-steps-indicator {
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.wizard-step-bullet {
  flex: 0 0 86px;
}

.wizard-cards-grid,
.wizard-cards-grid[style] {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
}

.wizard-selectable-card {
  min-height: 126px;
  padding: 18px 14px !important;
  text-align: left !important;
  align-items: flex-start !important;
}

.cart-layout,
.checkout-layout {
  padding-left: 0 !important;
  padding-right: 0 !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
  gap: 22px !important;
}

.cart-item {
  grid-template-columns: 76px minmax(0, 1fr) 112px minmax(130px, auto) auto !important;
  gap: 14px !important;
  padding: 14px !important;
}

.cart-thumb,
.cart-item img {
  width: 76px !important;
  height: 76px !important;
}

.order-summary,
.cart-summary,
.recommendation-panel {
  position: sticky;
  top: 24px;
  align-self: start;
}

.account-auth,
.account-auth-register {
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.74fr) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.auth-visual {
  padding: clamp(28px, 4vw, 44px) !important;
}

.auth-visual h1 {
  font-size: clamp(27px, 3.1vw, 40px) !important;
}

.auth-features {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px !important;
}

.auth-feature-item {
  display: grid !important;
  align-content: start;
  gap: 5px !important;
  padding: 12px !important;
  transform: none !important;
}

.account-page {
  background: var(--public-page-bg) !important;
}

.account-dashboard-hero,
.account-page-title {
  min-height: auto !important;
  padding: clamp(24px, 3.6vw, 38px) !important;
}

.account-dashboard-hero h1,
.account-page-title h1 {
  font-size: clamp(30px, 3.8vw, 46px) !important;
}

.account-energy-card {
  min-width: 230px !important;
  border-radius: 8px !important;
}

.account-energy-card strong {
  font-size: 42px !important;
}

html.theme-original .home-premium-hero,
html.theme-original .egs-shop-hero,
html.theme-original .page-hero,
html.theme-original .compact-hero,
html.theme-original .quote-strip,
html.theme-original .account-dashboard-hero,
html.theme-original .account-page-title,
html.theme-original .auth-visual {
  background:
    linear-gradient(116deg, rgba(6, 47, 85, 0.94), rgba(15, 111, 184, 0.78) 54%, rgba(22, 138, 118, 0.72)),
    url("../images/hero-solar-home.webp") center/cover no-repeat !important;
}

html.theme-dark .home-premium-hero,
html.theme-dark .egs-shop-hero,
html.theme-dark .page-hero,
html.theme-dark .compact-hero,
html.theme-dark .quote-strip,
html.theme-dark .account-dashboard-hero,
html.theme-dark .account-page-title,
html.theme-dark .auth-visual {
  background:
    linear-gradient(118deg, rgba(5, 9, 16, 0.96), rgba(7, 38, 31, 0.88)),
    url("../images/hero-solar-home.webp") center/cover no-repeat !important;
}

@media (max-width: 1120px) {
  .advanced-header .header-topline,
  .advanced-header .public-nav,
  .advanced-header .header-mega,
  .advanced-header .btn.btn-primary.small,
  .advanced-header .btn-whatsapp,
  .advanced-header .admin-panel-chip {
    display: none !important;
  }

  .advanced-header .menu-toggle {
    display: inline-flex !important;
  }

  .product-detail,
  .product-info,
  .configurator-page,
  .cart-layout,
  .checkout-layout,
  .quote-strip-container,
  .account-auth,
  .account-auth-register,
  .account-wrap {
    grid-template-columns: 1fr !important;
  }

  .order-summary,
  .cart-summary,
  .recommendation-panel,
  .account-sidebar {
    position: static !important;
  }

  .auth-features,
  .account-metrics {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .home-premium-inner,
  .home-section,
  .home-trust-strip,
  .home-brands-band > div,
  .home-lead-section,
  .home-newsletter,
  .product-detail,
  .product-info,
  .configurator-page,
  .cart-layout,
  .checkout-layout,
  .account-auth,
  .account-auth-register,
  .account-wrap {
    width: min(100% - 28px, 1240px) !important;
  }

  .home-premium-copy h1,
  .egs-shop-copy h1,
  .page-hero h1,
  .account-dashboard-hero h1,
  .account-page-title h1 {
    font-size: clamp(27px, 8.8vw, 38px) !important;
  }

  .home-hero-actions,
  .home-section-head,
  .detail-actions,
  .wizard-actions,
  .form-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .home-primary-action,
  .home-secondary-action,
  .btn,
  .account-primary-action,
  .account-secondary-action,
  .egs-mobile-filter-btn {
    width: 100%;
  }

  .add-cart-box,
  .product-quote-form,
  .home-newsletter form,
  .home-form-pair {
    grid-template-columns: 1fr !important;
  }

  .product-quote-form input,
  .product-quote-form .check-row,
  .product-quote-form button {
    grid-column: auto !important;
  }

  .cart-item {
    grid-template-columns: 68px minmax(0, 1fr) !important;
  }

  .cart-item label,
  .cart-price,
  .cart-item button {
    grid-column: 1 / -1;
  }

  .cart-thumb,
  .cart-item img {
    width: 68px !important;
    height: 68px !important;
  }
}

/* Signature public polish for the original theme */
html.theme-original body {
  background:
    radial-gradient(circle at 12% 0%, rgba(15, 111, 184, 0.12), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(53, 168, 115, 0.10), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef7fb 48%, #f8fcfa 100%) !important;
}

html.theme-original body::before {
  opacity: 0.8;
}

html.theme-original .public-nav {
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(14, 73, 121, 0.12) !important;
}

html.theme-original .public-nav a.is-current {
  color: #fff !important;
  background: linear-gradient(135deg, #0f6fb8 0%, #16a873 100%) !important;
  box-shadow: 0 16px 28px rgba(15, 111, 184, 0.18) !important;
}

html.theme-original .header-actions {
  gap: 8px;
}

html.theme-original .header-link.is-current,
html.theme-original .account-chip.is-current {
  border-color: rgba(15, 111, 184, 0.22) !important;
  background: rgba(15, 111, 184, 0.08) !important;
}

html.theme-original .offcanvas-menu {
  background: rgba(255, 255, 255, 0.97) !important;
}

html.theme-original .site-footer,
html.theme-original .modern-footer {
  position: relative;
  overflow: hidden;
}

html.theme-original .site-footer::before,
html.theme-original .modern-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.12), transparent 32%),
    radial-gradient(circle at 90% 12%, rgba(53, 168, 115, 0.10), transparent 28%);
  pointer-events: none;
}

html.theme-original .configurator-market-strip span {
  border-color: rgba(14, 73, 121, 0.12) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  color: #0b3558 !important;
}

html.theme-original .wizard-selectable-card.power-choice.selected,
html.theme-original .wizard-selectable-card.storage-choice.selected {
  background: linear-gradient(180deg, rgba(15, 111, 184, 0.08), rgba(22, 168, 115, 0.10)) !important;
}

html.theme-original .recommendation-panel::before {
  background: linear-gradient(90deg, #0f6fb8, #16a873) !important;
}

html.theme-original .configuration-summary {
  background:
    radial-gradient(circle at top right, rgba(15, 111, 184, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,252,0.96)) !important;
}

html.theme-original .wizard-custom-panel,
html.theme-original .summary-grid article,
html.theme-original .summary-pricing > div {
  background: rgba(255,255,255,0.92) !important;
  border-color: rgba(14, 73, 121, 0.12) !important;
}

html.theme-original .wizard-live-note {
  background: rgba(231, 244, 252, 0.9) !important;
  border-color: rgba(15, 111, 184, 0.16) !important;
}

/* Configurator flow repair: selection first, result after submit */
.configurator-page {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  align-items: start !important;
}

.configurator-page .wizard-progress-bar-wrap {
  order: 1;
}

.configurator-page .configurator-form {
  order: 2;
  width: 100%;
}

.configurator-page .configuration-summary {
  order: 3;
  width: 100% !important;
  margin: 22px 0 0 !important;
}

.configurator-page.no-summary .configuration-summary {
  display: none !important;
}

.configurator-page.has-summary .configuration-summary {
  scroll-margin-top: 24px;
}

.configuration-summary .summary-hero {
  justify-items: stretch !important;
  text-align: left !important;
}

.configuration-summary .summary-actions {
  justify-content: flex-start !important;
}

.summary-price-box {
  min-width: 0 !important;
  overflow: hidden !important;
}

.summary-price-box strong {
  display: block !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  font-size: clamp(1.8rem, 5vw, 3rem) !important;
  line-height: 1.05 !important;
}

.summary-pricing strong,
.summary-grid article strong {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.configurator-form {
  overflow: hidden;
  min-width: 0;
}

.wizard-step.active {
  min-height: 360px;
}

.configurator-form .wizard-step,
.configurator-form .wizard-step p,
.configurator-form .wizard-selectable-card {
  min-width: 0;
  overflow-wrap: anywhere;
}

.page-hero .configurator-market-strip + *,
.page-hero p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.wizard-actions {
  margin-top: auto !important;
}

@media (max-width: 760px) {
  .configuration-summary .summary-hero,
  .summary-grid,
  .summary-pricing {
    grid-template-columns: 1fr !important;
  }

  .configuration-summary {
    padding: 18px !important;
  }
}

/* Shop and category final pass */
.egs-shop-page {
  grid-template-columns: 300px minmax(0, 1fr) !important;
  gap: 24px !important;
  width: min(1280px, calc(100% - 48px)) !important;
  padding: 28px 0 72px !important;
}

.egs-filter-panel {
  top: 24px !important;
}

.egs-filter-form {
  gap: 14px !important;
  overflow: hidden;
  border: 1px solid var(--public-line) !important;
  border-radius: 8px !important;
  padding: 16px !important;
  background: var(--public-surface) !important;
  box-shadow: 0 20px 54px rgba(8, 42, 77, 0.10) !important;
}

.egs-filter-head {
  align-items: center !important;
  border-bottom: 1px solid var(--public-line) !important;
  margin: -16px -16px 0 !important;
  padding: 16px !important;
  background:
    linear-gradient(135deg, rgba(15, 111, 184, 0.10), rgba(22, 168, 115, 0.10)),
    rgba(255, 255, 255, 0.28) !important;
}

.egs-filter-head .egs-shop-kicker {
  padding: 5px 9px !important;
  font-size: 10px !important;
}

.egs-filter-head h2 {
  margin: 8px 0 0 !important;
  font-size: 18px !important;
}

.egs-filter-field {
  gap: 8px !important;
}

.egs-filter-field > span,
.egs-sort-form label > span {
  color: var(--public-muted) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

.egs-filter-field input,
.egs-filter-field select,
.egs-sort-form select {
  min-height: 42px !important;
  border: 1px solid var(--public-line) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  color: var(--public-text, var(--color-text)) !important;
  background: rgba(255, 255, 255, 0.74) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset !important;
}

.egs-filter-pair {
  gap: 8px !important;
}

.egs-stock-check {
  min-height: 44px;
  border-color: var(--public-line) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  color: var(--public-text, var(--color-text)) !important;
  background: rgba(255, 255, 255, 0.68) !important;
  font-size: 13px !important;
}

.egs-stock-check input:checked + span::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #fff;
}

.egs-filter-actions {
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

.egs-filter-actions button,
.egs-filter-actions a {
  min-height: 42px;
  align-items: center;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
}

.egs-shop-toolbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 16px !important;
  align-items: center !important;
  border-radius: 8px !important;
  padding: 16px !important;
  background: var(--public-surface) !important;
}

.egs-shop-toolbar h2 {
  margin-top: 7px !important;
  font-size: clamp(19px, 1.9vw, 24px) !important;
}

.egs-toolbar-actions {
  display: flex !important;
  align-items: end !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

.egs-sort-form {
  margin: 0;
}

.egs-sort-form label {
  display: grid;
  gap: 6px;
  min-width: 196px;
}

.egs-sort-form select {
  width: 100%;
  cursor: pointer;
}

.egs-page-count {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--public-line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--public-muted) !important;
  background: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.egs-active-filters {
  gap: 8px !important;
}

.egs-active-filters span,
.egs-active-filters a {
  border: 1px solid var(--public-line) !important;
  border-radius: 999px !important;
  padding: 7px 10px !important;
  background: var(--public-surface) !important;
  font-size: 12px !important;
}

.egs-product-grid {
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)) !important;
  gap: 18px !important;
}

.egs-product-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
  overflow: hidden !important;
  border: 1px solid var(--public-line) !important;
  border-radius: 8px !important;
  background: var(--public-surface) !important;
  box-shadow: 0 18px 46px rgba(8, 42, 77, 0.09) !important;
}

.egs-product-media {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto;
  width: 100% !important;
  height: 230px !important;
  min-height: 230px !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  border-bottom: 1px solid var(--public-line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(239, 247, 252, 0.92)) !important;
}

.egs-product-media img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 82% !important;
  max-height: 76% !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
}

.egs-product-media > span:not(.in-stock):not(.on-order) {
  width: 74px !important;
  height: 74px !important;
  border-radius: 8px !important;
}

.egs-product-media em {
  top: 12px !important;
  left: 12px !important;
  z-index: 2;
  border: 1px solid var(--public-line) !important;
  border-radius: 999px !important;
  padding: 6px 9px !important;
  font-size: 11px !important;
  backdrop-filter: blur(10px);
}

.egs-product-body {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 11px !important;
  min-width: 0;
  padding: 16px !important;
}

.egs-product-meta {
  min-width: 0;
  gap: 8px !important;
  font-size: 11px !important;
}

.egs-product-meta span,
.egs-product-meta small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.egs-product-card h2 {
  font-size: 18px !important;
}

.egs-product-card h2 a {
  min-height: 46px !important;
}

.egs-product-card p {
  min-height: 42px !important;
  margin: 0 !important;
  font-size: 14px !important;
}

.egs-product-specs {
  min-height: 31px;
}

.egs-product-specs span {
  border-radius: 999px !important;
  padding: 6px 8px !important;
  font-size: 11px !important;
}

.egs-price-box {
  margin-top: auto;
  border: 1px solid rgba(22, 168, 115, 0.20) !important;
  border-radius: 8px !important;
  padding: 12px !important;
}

.egs-price-box strong {
  font-size: 22px !important;
}

.egs-card-actions {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

.egs-card-actions a,
.egs-card-actions button {
  min-height: 40px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
}

html.theme-dark .egs-filter-field input,
html.theme-dark .egs-filter-field select,
html.theme-dark .egs-sort-form select,
html.theme-dark .egs-stock-check,
html.theme-dark .egs-page-count {
  color: #f3fff8 !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: none !important;
}

html.theme-dark .egs-filter-head {
  background:
    linear-gradient(135deg, rgba(90, 183, 255, 0.10), rgba(53, 209, 132, 0.10)),
    rgba(255, 255, 255, 0.04) !important;
}

html.theme-dark .egs-product-media {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(53, 209, 132, 0.055)) !important;
}

@media (max-width: 1080px) {
  .egs-shop-page {
    grid-template-columns: 1fr !important;
  }

  .egs-filter-panel {
    top: 0 !important;
    padding: 14px !important;
  }

  .egs-filter-form {
    box-shadow: none !important;
  }
}

@media (max-width: 720px) {
  .egs-shop-page {
    width: min(100% - 28px, 1280px) !important;
    padding-top: 20px !important;
  }

  .egs-shop-toolbar {
    grid-template-columns: 1fr !important;
  }

  .egs-toolbar-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }

  .egs-sort-form label {
    min-width: 0;
  }

  .egs-page-count,
  .egs-mobile-filter-btn {
    width: 100%;
    justify-content: center;
  }

  .egs-product-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .egs-product-media {
    height: 214px !important;
    min-height: 214px !important;
  }

  .egs-product-media img {
    max-width: 84% !important;
    max-height: 74% !important;
  }

  .egs-filter-actions {
    grid-template-columns: 1fr !important;
  }
}

/* Product detail premium page */
.product-breadcrumb-band {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 12px;
}

.product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--public-muted);
  font-size: 13px;
  font-weight: 800;
}

.product-breadcrumbs a {
  color: var(--public-muted);
}

.product-breadcrumbs a:hover {
  color: var(--public-accent-2, var(--color-green));
}

.product-detail {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.78fr) !important;
  gap: 24px !important;
  width: min(1280px, calc(100% - 48px)) !important;
  margin: 0 auto 28px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-gallery,
.product-summary,
.product-info .tab-content,
.product-side-card,
.product-variant-card {
  border: 1px solid var(--public-line) !important;
  border-radius: 8px !important;
  background: var(--public-surface) !important;
  box-shadow: 0 20px 54px rgba(8, 42, 77, 0.10) !important;
}

.product-gallery {
  display: grid;
  gap: 14px;
  align-self: start;
  min-width: 0;
  padding: 16px;
}

.product-gallery-head,
.product-gallery-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-width: 0;
  color: var(--public-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-gallery-head strong,
.product-gallery-note strong {
  color: var(--public-text, var(--color-text));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-main-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  aspect-ratio: 1.2 / 1 !important;
  width: 100%;
  min-height: 0 !important;
  overflow: hidden;
  border: 1px solid var(--public-line) !important;
  border-radius: 8px !important;
  padding: clamp(18px, 4vw, 34px) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(239, 247, 252, 0.94)) !important;
}

.product-main-image img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 88% !important;
  max-height: 84% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.product-image-fallback {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #0f6fb8, #16a873);
  font-size: 54px;
  font-weight: 950;
}

.gallery-strip {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(72px, 88px)) !important;
  gap: 10px !important;
}

.gallery-strip img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  border: 1px solid var(--public-line) !important;
  border-radius: 8px !important;
  padding: 8px !important;
  background: var(--public-soft) !important;
}

.product-summary {
  position: sticky;
  top: 24px;
  align-self: start;
  display: grid !important;
  gap: 16px;
  min-width: 0;
  padding: clamp(18px, 2.4vw, 26px) !important;
}

.product-title-block {
  display: grid;
  gap: 10px;
}

.product-title-block .eyebrow,
.product-side-card .eyebrow {
  width: fit-content;
}

.product-summary h1 {
  margin: 0 !important;
  color: var(--public-text, var(--color-primary)) !important;
  font-size: clamp(30px, 3vw, 44px) !important;
  line-height: 1.07 !important;
  overflow-wrap: anywhere;
}

.product-summary p {
  margin: 0 !important;
  color: var(--public-muted) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px !important;
  margin: 0 !important;
}

.product-quick-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-quick-specs div {
  min-width: 0;
  border: 1px solid var(--public-line);
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--public-soft);
}

.product-quick-specs span {
  display: block;
  color: var(--public-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-quick-specs strong {
  display: block;
  margin-top: 4px;
  color: var(--public-text, var(--color-text));
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-purchase-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(22, 168, 115, 0.20);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(22, 168, 115, 0.08), rgba(15, 111, 184, 0.05)),
    var(--public-soft);
}

.detail-price {
  display: grid !important;
  gap: 4px;
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.detail-price span {
  color: var(--public-muted) !important;
  font-size: 11px !important;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-price strong {
  color: var(--public-accent-2, var(--color-green)) !important;
  font-size: clamp(30px, 3.4vw, 42px) !important;
  line-height: 1 !important;
}

.detail-price small {
  color: var(--public-muted) !important;
  font-weight: 800;
}

.add-cart-box {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 104px !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.add-cart-box .form-group {
  display: grid;
  gap: 6px;
  margin: 0 !important;
}

.add-cart-box .form-group:first-of-type:not(:last-of-type) {
  grid-column: 1 / -1;
}

.add-cart-box label {
  color: var(--public-muted) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.add-cart-box input,
.add-cart-box select {
  min-height: 46px !important;
}

.add-cart-box button {
  min-height: 46px !important;
  align-self: end;
  border-radius: 8px !important;
}

.detail-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px !important;
  width: 100%;
  margin: 0 !important;
}

.detail-actions .btn {
  min-height: 42px;
  width: 100%;
  border-radius: 8px !important;
}

.trust-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px !important;
  width: 100%;
  border-top: 1px solid var(--public-line) !important;
  padding-top: 14px !important;
}

.trust-row span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.trust-row span::before {
  display: none !important;
}

.trust-row strong {
  color: var(--public-text, var(--color-text));
  font-size: 13px;
}

.trust-row small {
  color: var(--public-muted);
  font-size: 12px;
  line-height: 1.35;
}

.product-info {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px) !important;
  gap: 24px !important;
  width: min(1280px, calc(100% - 48px)) !important;
  padding: 0 0 48px !important;
}

.tab-system {
  min-width: 0;
}

.tab-buttons {
  gap: 8px !important;
  margin-bottom: 12px;
}

.tab-content {
  padding: clamp(18px, 2.4vw, 28px) !important;
}

.tab-content h3 {
  color: var(--public-text, var(--color-primary));
}

.spec-list {
  display: grid !important;
  gap: 8px !important;
  border: 0 !important;
  overflow: visible !important;
}

.spec-list div {
  display: grid !important;
  grid-template-columns: minmax(170px, 0.45fr) minmax(0, 1fr) !important;
  overflow: hidden;
  border: 1px solid var(--public-line) !important;
  border-radius: 8px !important;
  background: var(--public-soft);
}

.spec-list dt,
.spec-list dd {
  border: 0 !important;
  background: transparent !important;
  padding: 12px 14px !important;
}

.spec-list dt {
  color: var(--public-muted) !important;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-list dd {
  color: var(--public-text, var(--color-text)) !important;
  font-weight: 800;
}

.product-file-list {
  display: grid;
  gap: 10px;
}

.product-file-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--public-line);
  border-radius: 8px;
  padding: 12px;
  background: var(--public-soft);
}

.product-file-list span {
  color: var(--public-text, var(--color-text));
  overflow-wrap: anywhere;
  font-weight: 900;
}

.product-side-info {
  display: grid;
  align-self: start;
  gap: 14px;
}

.product-side-card,
.product-variant-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.product-side-card h3,
.product-variant-card h3 {
  margin: 0;
  color: var(--public-text, var(--color-primary));
  font-size: 20px;
}

.product-side-card p {
  margin: 0;
  color: var(--public-muted);
}

.product-variant-list {
  display: grid;
  gap: 10px;
}

.product-variant-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--public-line);
  border-radius: 8px;
  padding: 12px;
  background: var(--public-soft);
}

.product-variant-list span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.product-variant-list strong {
  color: var(--public-text, var(--color-text));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-variant-list small {
  color: var(--public-muted);
  font-weight: 800;
}

.product-variant-list em {
  width: fit-content;
  justify-self: end;
  font-style: normal;
}

.quote-strip {
  margin-top: 10px;
}

html.theme-dark .product-gallery,
html.theme-dark .product-summary,
html.theme-dark .product-info .tab-content,
html.theme-dark .product-side-card,
html.theme-dark .product-variant-card {
  background: var(--public-surface) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.30) !important;
}

html.theme-dark .product-main-image {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(53, 209, 132, 0.055)) !important;
}

html.theme-dark .product-purchase-panel {
  background:
    linear-gradient(180deg, rgba(53, 209, 132, 0.10), rgba(90, 183, 255, 0.06)),
    rgba(255, 255, 255, 0.04) !important;
}

@media (max-width: 1080px) {
  .product-detail,
  .product-info {
    grid-template-columns: 1fr !important;
  }

  .product-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .product-breadcrumb-band,
  .product-detail,
  .product-info {
    width: min(100% - 28px, 1280px) !important;
  }

  .product-breadcrumb-band {
    padding-top: 18px;
  }

  .product-gallery,
  .product-summary {
    padding: 14px !important;
  }

  .product-gallery-head,
  .product-gallery-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .product-main-image {
    aspect-ratio: 1 / 1 !important;
    padding: 16px !important;
  }

  .product-summary h1 {
    font-size: clamp(27px, 8.5vw, 36px) !important;
  }

  .product-quick-specs,
  .trust-row,
  .detail-actions,
  .add-cart-box,
  .spec-list div,
  .product-variant-list > div {
    grid-template-columns: 1fr !important;
  }

  .add-cart-box .form-group:first-of-type:not(:last-of-type) {
    grid-column: auto;
  }

  .product-file-list > div {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Product detail final refinement */
.product-breadcrumb-band {
  padding-top: 18px !important;
  padding-bottom: 8px !important;
}

.product-detail {
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.64fr) !important;
  gap: 18px !important;
  width: min(1240px, calc(100% - 56px)) !important;
  align-items: start !important;
  padding-bottom: 22px !important;
}

.product-gallery,
.product-summary {
  border-color: rgba(112, 140, 166, 0.20) !important;
  border-radius: 10px !important;
  box-shadow: 0 18px 46px rgba(13, 45, 70, 0.10) !important;
}

.product-gallery {
  gap: 12px !important;
  padding: 14px !important;
}

.product-gallery-head {
  min-height: 30px;
  padding-inline: 2px;
}

.product-gallery-head span,
.product-gallery-note span {
  font-size: 11px !important;
  letter-spacing: 0 !important;
}

.product-gallery-head strong,
.product-gallery-note strong {
  font-size: 12px !important;
}

.product-main-image {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: clamp(330px, 29vw, 470px) !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  border-radius: 9px !important;
  padding: clamp(18px, 3vw, 34px) !important;
}

.product-main-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: min(100%, 620px) !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

.product-image-fallback {
  width: clamp(104px, 13vw, 150px) !important;
  height: clamp(104px, 13vw, 150px) !important;
  border-radius: 9px !important;
  font-size: clamp(46px, 6vw, 72px) !important;
  box-shadow: 0 14px 34px rgba(15, 111, 184, 0.16);
}

.gallery-strip {
  grid-template-columns: repeat(auto-fill, minmax(68px, 82px)) !important;
  gap: 8px !important;
}

.gallery-strip img {
  width: 82px !important;
  height: 68px !important;
  border-radius: 8px !important;
  object-fit: contain !important;
  padding: 6px !important;
}

.product-gallery-note {
  min-height: 28px;
  padding-inline: 2px;
}

.product-summary {
  position: sticky !important;
  top: 18px !important;
  gap: 13px !important;
  padding: 18px !important;
}

.product-title-block {
  gap: 8px !important;
}

.product-title-block .eyebrow {
  font-size: 12px !important;
}

.product-summary h1 {
  max-width: 100% !important;
  margin: 0 !important;
  font-size: clamp(33px, 2.7vw, 48px) !important;
  line-height: 1.04 !important;
}

.product-title-block p {
  max-width: 62ch !important;
  margin: 0 !important;
  color: var(--public-muted) !important;
  font-size: clamp(15px, 1.05vw, 18px) !important;
  line-height: 1.5 !important;
}

.product-badges {
  gap: 7px !important;
}

.product-badges .badge {
  min-height: 32px !important;
  padding: 7px 11px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
}

.product-quick-specs {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 9px !important;
}

.product-quick-specs > div {
  min-height: 70px !important;
  border-radius: 9px !important;
  padding: 11px 12px !important;
  background: color-mix(in srgb, var(--public-soft) 82%, white) !important;
}

.product-quick-specs span {
  font-size: 11px !important;
}

.product-quick-specs strong {
  font-size: 16px !important;
  line-height: 1.25 !important;
}

.product-purchase-panel {
  gap: 12px !important;
  border-radius: 10px !important;
  padding: 14px !important;
  background:
    linear-gradient(135deg, rgba(15, 111, 184, 0.08), rgba(22, 168, 115, 0.11)),
    var(--public-soft) !important;
}

.detail-price {
  gap: 3px !important;
}

.detail-price strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(32px, 3vw, 45px) !important;
  letter-spacing: 0 !important;
}

.detail-price small {
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.add-cart-box {
  grid-template-columns: minmax(88px, 0.34fr) minmax(150px, 0.66fr) !important;
  align-items: end !important;
}

.add-cart-box .form-control {
  border-radius: 8px !important;
  font-size: 16px !important;
}

.add-cart-box button,
.detail-actions .btn {
  min-width: 0 !important;
  padding-inline: 14px !important;
  white-space: normal !important;
}

.detail-actions {
  grid-template-columns: minmax(0, 1fr) !important;
}

.detail-actions .btn-outline {
  background: rgba(255, 255, 255, 0.72) !important;
}

.trust-row {
  gap: 8px !important;
  padding-top: 12px !important;
}

.trust-row span {
  border: 1px solid var(--public-line);
  border-radius: 9px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.58);
}

.trust-row strong {
  font-size: 12px !important;
}

.trust-row small {
  font-size: 11px !important;
}

.product-info {
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  width: min(1240px, calc(100% - 56px)) !important;
  padding: 8px 0 38px !important;
}

.tab-system {
  overflow: hidden;
  border: 1px solid rgba(112, 140, 166, 0.20);
  border-radius: 10px;
  background: var(--public-surface);
  box-shadow: 0 18px 46px rgba(13, 45, 70, 0.09);
}

.tab-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--public-line);
  padding: 8px !important;
  background: color-mix(in srgb, var(--public-soft) 78%, white);
}

.tab-btn {
  min-height: 38px !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 8px 13px !important;
  background: transparent !important;
  color: var(--public-muted) !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

.tab-btn.active {
  background: #ffffff !important;
  color: var(--public-accent, var(--color-primary)) !important;
  box-shadow: 0 8px 22px rgba(13, 45, 70, 0.08) !important;
}

.tab-content {
  border: 0 !important;
  border-radius: 0 !important;
  padding: clamp(22px, 3vw, 34px) !important;
  box-shadow: none !important;
  background: transparent !important;
}

.tab-content h3 {
  margin: 0 0 12px !important;
  color: var(--public-text, var(--color-primary)) !important;
  font-size: clamp(24px, 2vw, 32px) !important;
  line-height: 1.15 !important;
}

.tab-content p,
.tab-content li {
  max-width: 920px;
  color: var(--public-text, var(--color-text)) !important;
  font-size: 16px !important;
  line-height: 1.72 !important;
}

.tab-content ul {
  margin-top: 8px !important;
  gap: 6px !important;
}

.spec-list {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.spec-list div {
  grid-template-columns: 1fr !important;
  border-radius: 9px !important;
  background: color-mix(in srgb, var(--public-soft) 86%, white) !important;
}

.spec-list dt,
.spec-list dd {
  padding: 10px 12px !important;
}

.spec-list dt {
  padding-bottom: 2px !important;
  font-size: 11px !important;
}

.spec-list dd {
  padding-top: 0 !important;
  font-size: 15px !important;
}

.product-file-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-file-list > div {
  border-radius: 9px !important;
}

.product-side-info {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px !important;
}

.product-side-card,
.product-variant-card {
  border: 1px solid rgba(112, 140, 166, 0.20) !important;
  border-radius: 10px !important;
  padding: 16px !important;
  background: var(--public-surface) !important;
  box-shadow: 0 14px 34px rgba(13, 45, 70, 0.08) !important;
}

.product-side-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.product-side-card .eyebrow,
.product-side-card p {
  grid-column: 1;
}

.product-side-card h3 {
  grid-column: 1;
  font-size: 19px !important;
}

.product-side-card .btn {
  grid-column: 2;
  grid-row: 1 / span 3;
  min-width: 210px;
}

.product-variant-list {
  gap: 8px !important;
}

.product-variant-list > div {
  border-radius: 9px !important;
  padding: 10px !important;
}

html.theme-dark .product-gallery,
html.theme-dark .product-summary,
html.theme-dark .tab-system,
html.theme-dark .product-side-card,
html.theme-dark .product-variant-card {
  border-color: rgba(255, 255, 255, 0.11) !important;
  background: var(--public-surface) !important;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.34) !important;
}

html.theme-dark .tab-buttons {
  background: rgba(255, 255, 255, 0.035) !important;
}

html.theme-dark .tab-btn.active {
  background: rgba(255, 255, 255, 0.09) !important;
  color: #9ee6d0 !important;
}

html.theme-dark .product-quick-specs > div,
html.theme-dark .trust-row span,
html.theme-dark .spec-list div,
html.theme-dark .detail-actions .btn-outline {
  background: rgba(255, 255, 255, 0.045) !important;
}

@media (max-width: 1180px) {
  .product-detail {
    grid-template-columns: 1fr !important;
  }

  .product-summary {
    position: static !important;
  }

  .product-main-image {
    height: clamp(320px, 50vw, 520px) !important;
  }
}

@media (max-width: 820px) {
  .product-breadcrumb-band,
  .product-detail,
  .product-info {
    width: min(100% - 28px, 1240px) !important;
  }

  .product-summary h1 {
    font-size: clamp(28px, 8vw, 38px) !important;
  }

  .product-side-info,
  .product-side-card,
  .product-file-list,
  .spec-list {
    grid-template-columns: 1fr !important;
  }

  .product-side-card .eyebrow,
  .product-side-card h3,
  .product-side-card p,
  .product-side-card .btn {
    grid-column: auto;
    grid-row: auto;
  }

  .product-side-card .btn {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .product-detail {
    gap: 12px !important;
    padding-bottom: 14px !important;
  }

  .product-gallery,
  .product-summary {
    padding: 12px !important;
  }

  .product-main-image {
    height: clamp(240px, 76vw, 340px) !important;
    padding: 14px !important;
  }

  .product-quick-specs,
  .trust-row,
  .add-cart-box {
    grid-template-columns: 1fr !important;
  }

  .detail-price strong {
    font-size: clamp(28px, 11vw, 38px) !important;
  }

  .tab-buttons {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
  }

  .tab-buttons::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .tab-content {
    padding: 18px !important;
  }
}

/* Header icon sizing guard */
.advanced-header svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.header-promo-bar {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(90deg, #08365f 0%, #0f6fb8 52%, #168b76 100%);
}

.promo-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  min-height: 30px;
  padding: 6px clamp(16px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.90);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.promo-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
}

.promo-icon {
  width: 14px !important;
  height: 14px !important;
}

.promo-sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 7px;
  line-height: 1;
}

.topline-sun,
.topline-contact-link svg,
.public-nav svg,
.nav-lightning {
  width: 16px !important;
  height: 16px !important;
}

.theme-choice svg,
.header-icon-btn svg,
.advanced-header .btn svg {
  width: 17px !important;
  height: 17px !important;
}

.brand-mark svg {
  width: 27px !important;
  height: 27px !important;
}

.mega-cat-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 7px;
  background: rgba(15, 111, 184, 0.08);
  color: var(--public-accent, var(--color-primary));
}

.mega-cat-icon svg {
  width: 17px !important;
  height: 17px !important;
}

.header-icon-btn {
  min-width: 42px;
  min-height: 42px;
}

html.theme-dark .header-promo-bar {
  background: linear-gradient(90deg, rgba(5, 9, 16, 0.98), rgba(10, 61, 97, 0.90), rgba(7, 77, 60, 0.92));
}

html.theme-dark .mega-cat-icon {
  background: rgba(255, 255, 255, 0.06);
  color: #9ee6d0;
}

@media (max-width: 760px) {
  .promo-bar-inner {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .promo-bar-inner::-webkit-scrollbar {
    display: none;
  }

  .promo-sep {
    display: none;
  }
}

@media (max-width: 760px) {
  .header-promo-bar {
    display: none !important;
  }

  .advanced-header .header-main {
    min-height: 64px !important;
    padding: 10px 14px !important;
  }

  .advanced-header .brand-mark {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
  }

  .advanced-header .brand-copy strong {
    max-width: 138px !important;
    font-size: 0.92rem !important;
  }

  .advanced-header .brand-copy small {
    font-size: 0.6rem !important;
  }

  .advanced-header .theme-label,
  .advanced-header .account-label {
    display: none !important;
  }

  .advanced-header .account-chip {
    display: none !important;
  }

  .advanced-header .theme-choice,
  .advanced-header .header-icon-btn,
  .advanced-header .menu-toggle {
    min-width: 36px !important;
    width: 36px !important;
    min-height: 36px !important;
    height: 36px !important;
    padding: 0 !important;
  }

  .advanced-header .theme-switcher {
    gap: 2px !important;
    padding: 2px !important;
  }
}

/* Admin sidebar logo framing */
.admin-sidebar .admin-logo {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-height: 52px !important;
  margin: 0 0 28px !important;
  padding: 8px 10px !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.075) !important;
  font-size: 1rem !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.admin-sidebar .admin-logo::before {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #0f6fb8, #16a873) !important;
  color: #fff !important;
  font-size: 0.76rem !important;
  font-weight: 900 !important;
}

.admin-sidebar .admin-logo-text {
  display: block !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Product detail compact balance */
.product-summary {
  gap: 10px !important;
  padding: 16px !important;
}

.product-title-block {
  gap: 6px !important;
}

.product-title-block .eyebrow {
  font-size: 11px !important;
}

.product-summary h1 {
  font-size: clamp(30px, 2.35vw, 42px) !important;
}

.product-title-block p {
  display: -webkit-box;
  max-width: 56ch !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.product-badges {
  gap: 6px !important;
}

.product-badges .badge {
  min-height: 29px !important;
  padding: 6px 9px !important;
  font-size: 11px !important;
}

.product-quick-specs {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 7px !important;
}

.product-quick-specs > div {
  min-height: 62px !important;
  padding: 9px !important;
}

.product-quick-specs span {
  font-size: 10px !important;
}

.product-quick-specs strong {
  font-size: 14px !important;
}

.product-purchase-panel {
  gap: 10px !important;
  padding: 12px !important;
}

.detail-price strong {
  font-size: clamp(30px, 2.7vw, 39px) !important;
}

.detail-price small {
  font-size: 12px !important;
}

.add-cart-box {
  gap: 8px !important;
}

.add-cart-box input,
.add-cart-box select,
.add-cart-box button {
  min-height: 42px !important;
}

.detail-actions .btn {
  min-height: 40px !important;
}

.trust-row {
  gap: 6px !important;
  padding-top: 10px !important;
}

.trust-row span {
  padding: 7px 8px !important;
}

.trust-row strong {
  font-size: 11px !important;
}

.trust-row small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 10px !important;
}

.product-side-card,
.product-variant-card {
  box-shadow: 0 10px 26px rgba(13, 45, 70, 0.07) !important;
}

@media (min-width: 1181px) {
  .product-main-image {
    height: clamp(360px, 32vw, 520px) !important;
  }
}

@media (max-width: 560px) {
  .product-summary {
    gap: 9px !important;
  }

  .product-title-block .eyebrow {
    display: none;
  }

  .product-badges .badge {
    width: fit-content;
    max-width: 100%;
  }

  .product-quick-specs {
    grid-template-columns: 1fr !important;
  }

  .product-quick-specs > div {
    min-height: 54px !important;
  }

  .trust-row {
    grid-template-columns: 1fr !important;
  }
}

/* Public hero backgrounds: shop + homepage */
.sp-shop {
  position: relative;
  overflow: clip;
}

html.theme-original .sp-shop {
  background:
    linear-gradient(180deg, rgba(247, 252, 255, 0.96) 0%, rgba(238, 248, 251, 0.92) 46%, rgba(249, 253, 251, 0.98) 100%),
    radial-gradient(circle at 14% 20%, rgba(15, 111, 184, 0.12), transparent 32rem),
    radial-gradient(circle at 84% 8%, rgba(22, 168, 115, 0.14), transparent 30rem) !important;
}

html.theme-dark .sp-shop {
  background:
    radial-gradient(circle at 12% 0%, rgba(53, 209, 132, 0.10), transparent 30rem),
    radial-gradient(circle at 82% 8%, rgba(90, 183, 255, 0.10), transparent 32rem),
    linear-gradient(180deg, #070b12 0%, #060912 58%, #05070c 100%) !important;
}

.sp-hero {
  isolation: isolate;
  min-height: clamp(300px, 32vw, 430px);
  margin: clamp(14px, 2vw, 24px) auto 0;
  width: min(1320px, calc(100% - 48px));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(8, 42, 77, 0.16);
}

.sp-hero::before,
.sp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sp-hero::before {
  z-index: -2;
  background: url("../images/hero-solar-home.webp") center right 30% / cover no-repeat;
}

.sp-hero::after {
  z-index: -1;
}

.sp-hero-inner {
  min-height: inherit;
  width: min(1180px, calc(100% - 56px));
  padding: clamp(34px, 5vw, 64px) 0;
}

html.theme-original .sp-hero {
  color: #0d2b46 !important;
  background: #eef8fb !important;
  border-color: rgba(14, 73, 121, 0.13) !important;
  box-shadow: 0 26px 66px rgba(8, 42, 77, 0.14) !important;
}

html.theme-original .sp-hero::after {
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.98) 0%, rgba(240, 249, 252, 0.92) 42%, rgba(240, 249, 252, 0.42) 70%, rgba(240, 249, 252, 0.16) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.20), rgba(15, 111, 184, 0.08)) !important;
}

html.theme-dark .sp-hero {
  color: #f4fff9 !important;
  background: #07111d !important;
  border-color: rgba(255, 255, 255, 0.11) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38) !important;
}

html.theme-dark .sp-hero::after {
  background:
    linear-gradient(90deg, rgba(3, 8, 15, 0.94) 0%, rgba(5, 18, 28, 0.84) 43%, rgba(5, 18, 28, 0.46) 72%, rgba(5, 18, 28, 0.24) 100%),
    radial-gradient(circle at 78% 24%, rgba(53, 209, 132, 0.18), transparent 26rem) !important;
}

html.theme-original .sp-hero-copy .sp-kicker {
  border-color: rgba(22, 168, 115, 0.24) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #0f7f5d !important;
}

html.theme-original .sp-hero-copy h1 {
  color: #0b2e4d !important;
  text-shadow: none !important;
}

html.theme-original .sp-hero-copy p {
  color: #52687d !important;
}

html.theme-original .sp-stat {
  border-color: rgba(14, 73, 121, 0.13) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 18px 44px rgba(8, 42, 77, 0.12) !important;
}

html.theme-original .sp-stat strong {
  color: #0f6fb8 !important;
}

html.theme-original .sp-stat > span:last-child {
  color: #5b7084 !important;
}

html.theme-dark .sp-stat {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: rgba(7, 15, 25, 0.62) !important;
}

html.theme-dark .sp-hero-copy p {
  color: rgba(238, 250, 244, 0.80) !important;
}

html.theme-original .eg-home {
  background:
    radial-gradient(circle at 20% 10%, rgba(22, 168, 115, 0.1), transparent 35%),
    radial-gradient(circle at 80% 40%, rgba(15, 111, 184, 0.08), transparent 35%),
    radial-gradient(circle at 12% 0%, rgba(15, 111, 184, 0.08), transparent 32rem),
    linear-gradient(180deg, #f7fbff 0%, #edf8fb 45%, #f8fcfa 100%) !important;
}

html.theme-dark .eg-home {
  background:
    radial-gradient(circle at 20% 10%, rgba(35, 255, 160, 0.12), transparent 35%),
    radial-gradient(circle at 80% 40%, rgba(66, 217, 255, 0.08), transparent 35%),
    radial-gradient(circle at 12% 0%, rgba(53, 209, 132, 0.10), transparent 34rem),
    radial-gradient(circle at 86% 8%, rgba(90, 183, 255, 0.10), transparent 34rem),
    linear-gradient(180deg, #05080f 0%, #050812 55%, #04060b 100%) !important;
}

.eg-home .eg-hero {
  min-height: clamp(520px, 68vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
}

.eg-home .eg-hero::before,
.eg-home .eg-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.eg-home .eg-hero::before {
  z-index: -2;
  background: url("../images/hero-solar-home.webp") center right / cover no-repeat !important;
  opacity: 1;
  mask-image: none !important;
}

.eg-home .eg-hero::after {
  z-index: -1;
  width: auto;
  height: auto;
  top: 0;
  right: 0;
  border-radius: 0;
  filter: none;
}

html.theme-original .eg-home .eg-hero {
  background: #edf8fb !important;
}

html.theme-original .eg-home .eg-hero::after {
  background:
    linear-gradient(90deg, rgba(246, 251, 255, 0.98) 0%, rgba(235, 248, 250, 0.88) 43%, rgba(235, 248, 250, 0.42) 70%, rgba(235, 248, 250, 0.12) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(15, 111, 184, 0.10)) !important;
}

html.theme-dark .eg-home .eg-hero {
  background: #06101c !important;
}

html.theme-dark .eg-home .eg-hero::after {
  background:
    linear-gradient(90deg, rgba(3, 8, 15, 0.96) 0%, rgba(5, 15, 25, 0.86) 43%, rgba(5, 15, 25, 0.52) 72%, rgba(5, 15, 25, 0.22) 100%),
    radial-gradient(circle at 80% 24%, rgba(53, 209, 132, 0.18), transparent 28rem) !important;
}

html.theme-original .eg-home .eg-hero .eg-eyebrow {
  color: #0f7f5d !important;
  background: rgba(255, 255, 255, 0.76) !important;
  border-color: rgba(22, 168, 115, 0.26) !important;
}

html.theme-original .eg-home .eg-hero-title {
  color: #0b2e4d !important;
  text-shadow: none !important;
}

html.theme-original .eg-home .eg-hero-lead,
html.theme-original .eg-home .eg-hero-points li {
  color: #50677c !important;
}

html.theme-original .eg-home .eg-hero-card {
  color: #102033 !important;
  border-color: rgba(14, 73, 121, 0.14) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 26px 70px rgba(8, 42, 77, 0.16) !important;
}

html.theme-original .eg-home .eg-hero-card h2 {
  color: #0b2e4d !important;
}

html.theme-original .eg-home .eg-hero-card > p,
html.theme-original .eg-home .eg-hero-metrics span {
  color: #5b7084 !important;
}

html.theme-original .eg-home .eg-hero-metrics div {
  border-color: rgba(14, 73, 121, 0.10) !important;
  background: rgba(244, 249, 252, 0.82) !important;
}

html.theme-original .eg-home .eg-hero-metrics strong {
  color: #0b2e4d !important;
}

html.theme-original .eg-home .eg-hero .eg-btn-ghost {
  color: #0b2e4d !important;
  border-color: rgba(14, 73, 121, 0.18) !important;
  background: rgba(255, 255, 255, 0.58) !important;
}

html.theme-original .eg-home .eg-hero .eg-btn-ghost:hover {
  color: #0f7f5d !important;
  background: rgba(255, 255, 255, 0.78) !important;
}

html.theme-dark .eg-home .eg-hero-card {
  background: rgba(9, 16, 27, 0.68) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

@media (max-width: 900px) {
  .sp-hero,
  .eg-home .eg-hero {
    width: 100%;
    border-radius: 0;
    margin-top: 0;
  }

  .sp-hero::before,
  .eg-home .eg-hero::before {
    background-position: center right 32% !important;
  }

  html.theme-original .sp-hero::after,
  html.theme-original .eg-home .eg-hero::after,
  html.theme-dark .sp-hero::after,
  html.theme-dark .eg-home .eg-hero::after {
    background:
      linear-gradient(180deg, rgba(4, 15, 24, 0.58), rgba(4, 15, 24, 0.76)),
      linear-gradient(90deg, rgba(4, 15, 24, 0.76), rgba(4, 15, 24, 0.28)) !important;
  }

  html.theme-original .sp-hero-copy .sp-kicker,
  html.theme-original .eg-home .eg-hero .eg-eyebrow {
    color: #d9ffe9 !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
  }

  html.theme-original .sp-hero-copy h1,
  html.theme-original .eg-home .eg-hero-title {
    color: #fff !important;
  }

  html.theme-original .sp-hero-copy p,
  html.theme-original .eg-home .eg-hero-lead,
  html.theme-original .eg-home .eg-hero-points li {
    color: rgba(238, 250, 244, 0.84) !important;
  }

  .sp-hero-inner,
  .eg-home .eg-hero-grid {
    width: min(100% - 32px, 680px);
  }

  .sp-hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px !important;
    width: 100%;
    overflow: visible;
    padding-bottom: 0;
  }

  .sp-stat {
    min-width: 0 !important;
    padding: 13px 10px !important;
  }

  .sp-stat strong {
    font-size: 23px !important;
  }

  .sp-stat > span:last-child {
    font-size: 10px !important;
  }
}

@media (max-width: 620px) {
  .eg-home .eg-hero {
    min-height: auto;
    padding: 52px 0 44px;
  }

  .sp-hero {
    min-height: auto;
  }

  .sp-hero-inner {
    grid-template-columns: 1fr !important;
    padding: 42px 0;
  }

  .sp-hero-copy h1 {
    font-size: clamp(30px, 9.2vw, 38px) !important;
    line-height: 1.08 !important;
  }
}

/* Shop hero compact pass */
.sp-hero {
  min-height: clamp(218px, 17vw, 248px) !important;
  padding: 0 !important;
}

.sp-hero-inner {
  min-height: auto !important;
  width: min(1180px, calc(100% - 48px)) !important;
  padding: clamp(20px, 2.6vw, 32px) 0 !important;
  gap: clamp(16px, 2.6vw, 30px) !important;
}

.sp-hero-copy .sp-kicker {
  margin-bottom: 10px !important;
  padding: 5px 11px !important;
  font-size: 10px !important;
}

.sp-hero-copy h1 {
  max-width: 600px !important;
  margin-bottom: 8px !important;
  font-size: clamp(28px, 3vw, 40px) !important;
  line-height: 1.05 !important;
}

.sp-hero-copy p {
  max-width: 560px !important;
  font-size: clamp(13px, 1.05vw, 15px) !important;
  line-height: 1.5 !important;
}

.sp-hero-stats {
  gap: 10px !important;
}

.sp-stat {
  min-width: 78px !important;
  padding: 10px 10px !important;
  border-radius: 12px !important;
}

.sp-stat-icon {
  width: 28px !important;
  height: 28px !important;
  margin-bottom: 2px !important;
  border-radius: 9px !important;
}

.sp-stat strong {
  font-size: 20px !important;
}

.sp-stat > span:last-child {
  font-size: 10px !important;
}

.sp-cat-shell {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) 38px !important;
  align-items: center !important;
  gap: 9px !important;
  width: min(1280px, calc(100% - 48px)) !important;
  max-width: var(--sp-max) !important;
  margin: 0 auto !important;
  padding-top: 14px !important;
}

.sp-cat-shell::before,
.sp-cat-shell::after {
  content: "" !important;
  position: absolute !important;
  top: 14px !important;
  bottom: 0 !important;
  z-index: 2 !important;
  width: 44px !important;
  pointer-events: none !important;
  opacity: 1 !important;
  transition: opacity 0.18s ease !important;
}

.sp-cat-shell::before {
  left: 47px !important;
  background: linear-gradient(90deg, rgba(236, 247, 249, 0.96), rgba(236, 247, 249, 0)) !important;
}

.sp-cat-shell::after {
  right: 47px !important;
  background: linear-gradient(270deg, rgba(236, 247, 249, 0.96), rgba(236, 247, 249, 0)) !important;
}

html.theme-dark .sp-cat-shell::before {
  background: linear-gradient(90deg, rgba(5, 12, 22, 0.96), rgba(5, 12, 22, 0)) !important;
}

html.theme-dark .sp-cat-shell::after {
  background: linear-gradient(270deg, rgba(5, 12, 22, 0.96), rgba(5, 12, 22, 0)) !important;
}

.sp-cat-shell.is-start::before,
.sp-cat-shell.is-end::after,
.sp-cat-shell:not(.is-scrollable)::before,
.sp-cat-shell:not(.is-scrollable)::after {
  opacity: 0 !important;
}

.sp-cat-nav {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 4px 0 8px !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: x proximity !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}

.sp-cat-nav::-webkit-scrollbar {
  display: none !important;
}

.sp-cat-chip {
  flex: 0 0 auto !important;
  scroll-snap-align: start !important;
}

.sp-cat-arrow {
  position: relative !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border: 1px solid rgba(16, 87, 129, 0.16) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #0f4f78 !important;
  box-shadow: 0 12px 28px rgba(15, 79, 120, 0.13) !important;
  cursor: pointer !important;
  transition: transform 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease, background 0.16s ease !important;
}

.sp-cat-arrow svg {
  width: 18px !important;
  height: 18px !important;
}

.sp-cat-arrow:hover:not(:disabled) {
  transform: translateY(-1px) !important;
  background: linear-gradient(135deg, #ffffff, #e8fbf4) !important;
  box-shadow: 0 16px 32px rgba(15, 79, 120, 0.18) !important;
}

.sp-cat-arrow:disabled {
  opacity: 0.38 !important;
  cursor: default !important;
  box-shadow: none !important;
}

html.theme-dark .sp-cat-arrow {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(19, 29, 42, 0.92) !important;
  color: #7fe6ad !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34) !important;
}

html.theme-dark .sp-cat-arrow:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(38, 55, 73, 0.96), rgba(25, 93, 72, 0.92)) !important;
}

html.theme-dark .sp-shop .sp-cat-chip.is-active {
  color: #03160d !important;
  background: linear-gradient(135deg, #36e28c 0%, #7adb64 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 12px 28px rgba(54, 226, 140, 0.2) !important;
}

.sp-layout {
  padding-top: 16px !important;
}

@media (max-width: 900px) {
  .sp-hero {
    min-height: auto !important;
  }

  .sp-hero-inner {
    padding: 34px 0 !important;
  }
}

@media (max-width: 620px) {
  .sp-hero-inner {
    padding: 24px 0 !important;
    gap: 18px !important;
  }

  .sp-hero-copy .sp-kicker {
    margin-bottom: 8px !important;
  }

  .sp-hero-copy h1 {
    font-size: clamp(28px, 8.6vw, 34px) !important;
  }

  .sp-hero-copy p {
    font-size: 14px !important;
  }

  .sp-stat {
    min-height: 76px !important;
    padding: 8px 7px !important;
  }

  .sp-stat-icon {
    width: 26px !important;
    height: 26px !important;
  }

  .sp-stat strong {
    font-size: 18px !important;
  }

  .sp-cat-shell {
    grid-template-columns: 34px minmax(0, 1fr) 34px !important;
    gap: 7px !important;
    width: 100% !important;
    padding: 12px 12px 0 !important;
  }

  .sp-cat-shell::before,
  .sp-cat-shell::after {
    top: 12px !important;
    width: 28px !important;
  }

  .sp-cat-shell::before {
    left: 46px !important;
  }

  .sp-cat-shell::after {
    right: 46px !important;
  }

  .sp-cat-nav {
    gap: 8px !important;
    padding: 3px 0 7px !important;
  }

  .sp-cat-chip {
    padding: 8px 13px !important;
    font-size: 12px !important;
  }

  .sp-cat-arrow {
    width: 34px !important;
    height: 34px !important;
  }

  .sp-cat-arrow svg {
    width: 16px !important;
    height: 16px !important;
  }

  .sp-layout {
    padding-top: 12px !important;
  }
}

/* Cart + checkout premium refresh */
.egs-cart-hero,
.egs-checkout-hero {
  min-height: auto !important;
  padding: clamp(34px, 4.4vw, 56px) 0 !important;
}

.egs-cart-hero > div,
.egs-checkout-hero > div {
  width: min(1240px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
}

.egs-cart-hero h1,
.egs-checkout-hero h1 {
  max-width: 760px !important;
  margin: 8px 0 10px !important;
  font-size: clamp(34px, 4vw, 54px) !important;
  line-height: 1.03 !important;
}

.egs-cart-hero h1 {
  max-width: 980px !important;
  font-size: clamp(34px, 3.6vw, 48px) !important;
}

.egs-cart-hero p,
.egs-checkout-hero p {
  max-width: 650px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: clamp(14px, 1.1vw, 17px) !important;
  line-height: 1.55 !important;
}

.egs-cart-layout,
.egs-checkout-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 360px) !important;
  align-items: start !important;
  padding-top: clamp(22px, 3vw, 34px) !important;
}

.egs-cart-panel,
.egs-checkout-section,
.egs-cart-summary,
.egs-checkout-summary {
  border: 1px solid rgba(15, 79, 120, 0.12) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 22px 55px rgba(14, 58, 92, 0.1) !important;
}

.egs-cart-head,
.egs-checkout-section-head {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  padding-bottom: 18px !important;
  margin-bottom: 18px !important;
  border-bottom: 1px solid rgba(15, 79, 120, 0.1) !important;
}

.egs-cart-head h2,
.egs-checkout-section-head h2,
.egs-cart-summary h2,
.egs-checkout-summary h2 {
  margin: 0 !important;
  color: #082b4a !important;
  font-size: clamp(20px, 2vw, 26px) !important;
  line-height: 1.15 !important;
}

.egs-cart-eyebrow,
.egs-checkout-section-head > span {
  display: inline-flex !important;
  align-items: center !important;
  width: max-content !important;
  margin-bottom: 6px !important;
  color: #0d8a5a !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

.egs-checkout-section-head > span {
  justify-content: center !important;
  min-width: 70px !important;
  height: 34px !important;
  margin-bottom: 0 !important;
  border: 1px solid rgba(15, 148, 91, 0.2) !important;
  border-radius: 999px !important;
  background: rgba(16, 185, 129, 0.1) !important;
}

.egs-checkout-section-head p,
.egs-cart-summary p,
.egs-checkout-summary p {
  margin: 4px 0 0 !important;
  color: #60758a !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.egs-cart-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(15, 79, 120, 0.14) !important;
  border-radius: 999px !important;
  color: #0f4f78 !important;
  background: rgba(255, 255, 255, 0.72) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.egs-cart-link svg {
  width: 16px !important;
  height: 16px !important;
}

.egs-cart-list,
.egs-checkout-items {
  display: grid !important;
  gap: 12px !important;
}

.egs-cart-item {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) 144px minmax(156px, auto) 40px !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 14px !important;
  border: 1px solid rgba(15, 79, 120, 0.11) !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 250, 253, 0.78)) !important;
}

.egs-cart-thumb,
.egs-checkout-thumb {
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 1px solid rgba(15, 79, 120, 0.1) !important;
  border-radius: 8px !important;
  background: #f4fafc !important;
}

.egs-cart-thumb {
  width: 88px !important;
  height: 88px !important;
}

.egs-cart-thumb img,
.egs-checkout-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.egs-cart-thumb img {
  padding: 8px !important;
}

.egs-cart-thumb span,
.egs-checkout-thumb em {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  color: #fff !important;
  background: linear-gradient(135deg, #0f6fb8, #16a873) !important;
  font-style: normal !important;
  font-size: 28px !important;
  font-weight: 900 !important;
}

.egs-cart-info {
  display: grid !important;
  gap: 7px !important;
  min-width: 0 !important;
}

.egs-cart-info > a {
  color: #082b4a !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere !important;
}

.egs-cart-info > a:hover {
  color: #0f6fb8 !important;
}

.egs-cart-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
}

.egs-cart-meta span,
.egs-cart-info small,
.egs-cart-price span,
.egs-cart-price small {
  color: #60758a !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.egs-cart-meta span {
  padding: 5px 8px !important;
  border: 1px solid rgba(15, 79, 120, 0.1) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.72) !important;
}

.egs-cart-qty {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  color: #60758a !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

.egs-cart-stepper {
  display: grid !important;
  grid-template-columns: 34px minmax(42px, 1fr) 34px !important;
  align-items: center !important;
  overflow: hidden !important;
  min-height: 42px !important;
  border: 1px solid rgba(15, 79, 120, 0.13) !important;
  border-radius: 999px !important;
  background: #fff !important;
}

.egs-cart-stepper button {
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 40px !important;
  border: 0 !important;
  background: transparent !important;
  color: #0f6fb8 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.egs-cart-stepper input {
  min-height: 40px !important;
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #082b4a !important;
  text-align: center !important;
  font-weight: 900 !important;
  appearance: textfield !important;
}

.egs-cart-stepper input::-webkit-outer-spin-button,
.egs-cart-stepper input::-webkit-inner-spin-button {
  margin: 0 !important;
  appearance: none !important;
}

.egs-cart-price {
  display: grid !important;
  justify-items: end !important;
  gap: 4px !important;
  min-width: 0 !important;
}

.egs-cart-price strong {
  max-width: 100% !important;
  color: #0d8a5a !important;
  font-size: clamp(17px, 1.7vw, 22px) !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
  overflow-wrap: anywhere !important;
  text-align: right !important;
}

.egs-cart-remove {
  display: grid !important;
  place-items: center !important;
  width: 36px !important;
  height: 36px !important;
  border: 1px solid rgba(220, 38, 38, 0.15) !important;
  border-radius: 999px !important;
  background: rgba(254, 242, 242, 0.9) !important;
  color: #b42318 !important;
  cursor: pointer !important;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease !important;
}

.egs-cart-remove svg {
  width: 17px !important;
  height: 17px !important;
}

.egs-cart-remove:hover {
  transform: translateY(-1px) !important;
  background: #fee2e2 !important;
  box-shadow: 0 12px 22px rgba(180, 35, 24, 0.13) !important;
}

.egs-cart-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding-top: 16px !important;
  margin-top: 4px !important;
}

.egs-cart-actions span {
  color: #60758a !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.egs-cart-actions .btn {
  width: auto !important;
}

.egs-cart-empty:not([hidden]) {
  display: grid !important;
  justify-items: center !important;
  gap: 10px !important;
  padding: clamp(34px, 6vw, 62px) 20px !important;
  text-align: center !important;
}

.egs-cart-empty > span {
  display: grid !important;
  place-items: center !important;
  width: 62px !important;
  height: 62px !important;
  border-radius: 999px !important;
  color: #0f6fb8 !important;
  background: rgba(15, 111, 184, 0.09) !important;
}

.egs-cart-empty svg {
  width: 30px !important;
  height: 30px !important;
}

.egs-cart-empty h3 {
  margin: 0 !important;
  color: #082b4a !important;
  font-size: 24px !important;
}

.egs-cart-empty p {
  max-width: 460px !important;
  margin: 0 0 8px !important;
}

.egs-cart-summary,
.egs-checkout-summary {
  display: grid !important;
  gap: 8px !important;
  padding: 16px !important;
}

.egs-cart-summary > div,
.egs-checkout-summary .egs-summary-line,
.egs-cart-summary .summary-total,
.egs-checkout-summary .summary-total {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(15, 79, 120, 0.1) !important;
}

.egs-cart-summary span,
.egs-checkout-summary .egs-summary-line span,
.egs-checkout-summary .summary-total span {
  color: #60758a !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.egs-cart-summary > .egs-cart-eyebrow,
.egs-checkout-summary > .egs-cart-eyebrow {
  color: #0d8a5a !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

.egs-cart-summary strong,
.egs-checkout-summary strong {
  color: #082b4a !important;
  font-weight: 900 !important;
  text-align: right !important;
  overflow-wrap: anywhere !important;
}

.egs-cart-summary .summary-total,
.egs-checkout-summary .summary-total {
  padding: 12px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, rgba(15, 111, 184, 0.1), rgba(22, 168, 115, 0.12)) !important;
}

.egs-cart-summary .summary-total strong,
.egs-checkout-summary .summary-total strong {
  color: #0d8a5a !important;
  font-size: clamp(21px, 2.2vw, 28px) !important;
  line-height: 1.05 !important;
}

.egs-checkout-main {
  display: grid !important;
  gap: 18px !important;
}

.egs-checkout-section {
  padding: 20px !important;
}

.egs-field {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
}

.egs-field[hidden],
[data-checkout-iban][hidden] {
  display: none !important;
}

.egs-checkout-company-fields.is-hidden {
  display: none !important;
}

.egs-checkout-company-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

@media (max-width: 760px) {
  .egs-checkout-company-fields {
    grid-template-columns: 1fr;
  }
}

.egs-field > span {
  color: #476176 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
}

.egs-field input,
.egs-field select,
.egs-field textarea {
  width: 100% !important;
  border-color: rgba(15, 79, 120, 0.14) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  color: #082b4a !important;
}

.egs-field textarea {
  min-height: 118px !important;
  resize: vertical !important;
}

.egs-check-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 11px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(15, 79, 120, 0.11) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.62) !important;
  color: #476176 !important;
  font-weight: 800 !important;
}

.egs-check-row input {
  flex: 0 0 auto !important;
  min-height: auto !important;
  width: 18px !important;
  height: 18px !important;
  margin-top: 1px !important;
  accent-color: #16a873 !important;
}

.egs-checkout-items {
  max-height: 330px !important;
  overflow: auto !important;
  padding-right: 2px !important;
  scrollbar-width: thin !important;
}

.egs-checkout-item {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) minmax(92px, auto) !important;
  align-items: center !important;
  gap: 11px !important;
  padding: 10px !important;
  border: 1px solid rgba(15, 79, 120, 0.1) !important;
  border-radius: 8px !important;
  background: rgba(244, 250, 252, 0.82) !important;
}

.egs-checkout-thumb {
  width: 54px !important;
  height: 54px !important;
}

.egs-checkout-thumb img {
  padding: 5px !important;
}

.egs-checkout-thumb em {
  font-size: 20px !important;
}

.egs-checkout-item-copy {
  display: grid !important;
  gap: 3px !important;
  min-width: 0 !important;
}

.egs-checkout-item-copy strong {
  color: #082b4a !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  overflow-wrap: anywhere !important;
  text-align: left !important;
}

.egs-checkout-item-copy small {
  color: #60758a !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.egs-checkout-item > strong:last-child {
  color: #0d8a5a !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  text-align: right !important;
  overflow-wrap: anywhere !important;
}

html.theme-dark .egs-cart-panel,
html.theme-dark .egs-checkout-section,
html.theme-dark .egs-cart-summary,
html.theme-dark .egs-checkout-summary {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(13, 20, 32, 0.86) !important;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.26) !important;
}

html.theme-dark .egs-cart-head,
html.theme-dark .egs-checkout-section-head {
  border-color: rgba(255, 255, 255, 0.09) !important;
}

html.theme-dark .egs-cart-head h2,
html.theme-dark .egs-checkout-section-head h2,
html.theme-dark .egs-cart-summary h2,
html.theme-dark .egs-checkout-summary h2,
html.theme-dark .egs-cart-info > a,
html.theme-dark .egs-cart-empty h3,
html.theme-dark .egs-checkout-item-copy strong,
html.theme-dark .egs-cart-summary strong,
html.theme-dark .egs-checkout-summary strong {
  color: #f4fff8 !important;
}

html.theme-dark .egs-checkout-section-head p,
html.theme-dark .egs-cart-summary p,
html.theme-dark .egs-checkout-summary p,
html.theme-dark .egs-cart-actions span,
html.theme-dark .egs-cart-meta span,
html.theme-dark .egs-cart-info small,
html.theme-dark .egs-cart-price span,
html.theme-dark .egs-cart-price small,
html.theme-dark .egs-field > span,
html.theme-dark .egs-check-row,
html.theme-dark .egs-checkout-item-copy small,
html.theme-dark .egs-cart-summary span,
html.theme-dark .egs-checkout-summary .egs-summary-line span,
html.theme-dark .egs-checkout-summary .summary-total span {
  color: rgba(224, 242, 233, 0.7) !important;
}

html.theme-dark .egs-cart-item,
html.theme-dark .egs-checkout-item,
html.theme-dark .egs-check-row {
  border-color: rgba(255, 255, 255, 0.09) !important;
  background: rgba(255, 255, 255, 0.045) !important;
}

html.theme-dark .egs-cart-thumb,
html.theme-dark .egs-checkout-thumb,
html.theme-dark .egs-cart-stepper,
html.theme-dark .egs-field input,
html.theme-dark .egs-field select,
html.theme-dark .egs-field textarea,
html.theme-dark .egs-cart-meta span,
html.theme-dark .egs-cart-link {
  border-color: rgba(255, 255, 255, 0.11) !important;
  background: rgba(255, 255, 255, 0.065) !important;
  color: #f4fff8 !important;
}

html.theme-dark .egs-cart-stepper button {
  color: #7fe6ad !important;
}

html.theme-dark .egs-cart-stepper input {
  color: #f4fff8 !important;
}

html.theme-dark .egs-cart-summary .summary-total,
html.theme-dark .egs-checkout-summary .summary-total {
  background: linear-gradient(135deg, rgba(53, 209, 132, 0.13), rgba(245, 197, 66, 0.1)) !important;
}

html.theme-dark .egs-cart-remove {
  border-color: rgba(255, 115, 115, 0.16) !important;
  background: rgba(127, 29, 29, 0.34) !important;
  color: #ffb4a8 !important;
}

@media (max-width: 1120px) {
  .egs-cart-layout,
  .egs-checkout-layout {
    grid-template-columns: 1fr !important;
  }

  .egs-cart-item {
    grid-template-columns: 84px minmax(0, 1fr) 132px 40px !important;
  }

  .egs-cart-price {
    grid-column: 2 / 4 !important;
    justify-items: start !important;
  }

  .egs-cart-price strong {
    text-align: left !important;
  }
}

@media (max-width: 760px) {
  .egs-cart-layout,
  .egs-checkout-layout {
    width: min(100% - 28px, 1240px) !important;
  }

  .egs-cart-hero,
  .egs-checkout-hero {
    padding: 30px 0 !important;
  }

  .egs-cart-hero > div,
  .egs-checkout-hero > div {
    width: min(100% - 28px, 1240px) !important;
  }

  .egs-cart-hero h1,
  .egs-checkout-hero h1 {
    font-size: clamp(30px, 8.4vw, 38px) !important;
  }

  .egs-cart-head,
  .egs-checkout-section-head,
  .egs-cart-actions {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .egs-cart-link,
  .egs-cart-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .egs-cart-item {
    grid-template-columns: 70px minmax(0, 1fr) 36px !important;
    gap: 12px !important;
    padding: 12px !important;
  }

  .egs-cart-thumb {
    width: 70px !important;
    height: 70px !important;
  }

  .egs-cart-qty,
  .egs-cart-price {
    grid-column: 1 / -1 !important;
  }

  .egs-cart-price {
    justify-items: start !important;
    padding-top: 2px !important;
  }

  .egs-cart-price strong {
    text-align: left !important;
  }

  .egs-cart-remove {
    width: 34px !important;
    height: 34px !important;
    align-self: start !important;
  }

  .egs-cart-stepper {
    grid-template-columns: 42px 1fr 42px !important;
  }

  .egs-cart-stepper button {
    width: 42px !important;
  }

  .egs-checkout-section {
    padding: 16px !important;
  }

  .egs-checkout-section-head > span {
    justify-content: flex-start !important;
    width: max-content !important;
    padding: 0 12px !important;
  }

  .egs-checkout-section .span-2,
  .egs-checkout-layout .span-2 {
    grid-column: auto !important;
  }

  .egs-checkout-item {
    grid-template-columns: 48px minmax(0, 1fr) !important;
  }

  .egs-checkout-thumb {
    width: 48px !important;
    height: 48px !important;
  }

  .egs-checkout-item > strong:last-child {
    grid-column: 2 / -1 !important;
    text-align: left !important;
  }

  .egs-cart-summary .summary-total,
  .egs-checkout-summary .summary-total {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}

/* Account area premium cleanup */
.account-page {
  padding: clamp(24px, 3.4vw, 42px) 0 clamp(54px, 6vw, 82px) !important;
}

.account-wrap {
  width: min(1240px, calc(100% - 48px)) !important;
  grid-template-columns: minmax(232px, 264px) minmax(0, 1fr) !important;
  gap: clamp(18px, 2.4vw, 26px) !important;
}

.account-sidebar {
  top: 24px !important;
  gap: 12px !important;
  padding: 12px !important;
  border-radius: 8px !important;
}

.account-brand-card,
.account-support-card,
.account-menu a,
.account-logout-form button,
.account-dashboard-hero,
.account-page-title,
.account-panel,
.account-metric-card,
.account-order-row,
.account-empty-state,
.account-table td,
.account-profile-card dl div,
.account-detail-side dl div,
.account-line-items > div,
.account-totals > div,
.account-form-grid input,
.account-form-grid select,
.account-form-stack input {
  border-radius: 8px !important;
}

.account-brand-card {
  padding: 14px !important;
}

.account-brand-card strong {
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

.account-menu {
  gap: 7px !important;
}

.account-menu a {
  padding: 11px 12px !important;
  text-decoration: none !important;
}

.account-support-card {
  padding: 13px !important;
}

.account-main {
  gap: 18px !important;
}

.account-dashboard-hero,
.account-page-title {
  min-height: auto !important;
  padding: clamp(24px, 3.4vw, 34px) !important;
  align-items: center !important;
}

.account-dashboard-hero h1,
.account-page-title h1 {
  max-width: 720px !important;
  margin: 10px 0 10px !important;
  font-size: clamp(30px, 3.3vw, 42px) !important;
  line-height: 1.08 !important;
  overflow-wrap: anywhere !important;
}

.account-dashboard-hero p,
.account-page-title p {
  max-width: 620px !important;
  font-size: clamp(14px, 1vw, 16px) !important;
  line-height: 1.55 !important;
}

.account-energy-card {
  min-width: min(245px, 100%) !important;
  padding: 18px !important;
}

.account-energy-card strong {
  font-size: clamp(34px, 4vw, 44px) !important;
}

.account-hero-actions {
  margin-top: 16px !important;
}

.account-primary-action,
.account-secondary-action,
.account-row-action,
.account-empty-state a,
.account-panel-header > a,
.account-count {
  min-height: 40px !important;
  border-radius: 999px !important;
  padding: 9px 13px !important;
  text-decoration: none !important;
}

.account-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.account-metric-card {
  gap: 7px !important;
  padding: 18px !important;
}

.account-metric-card strong {
  font-size: clamp(24px, 2.4vw, 32px) !important;
  overflow-wrap: anywhere !important;
}

.account-grid,
.account-order-detail-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px) !important;
  gap: 18px !important;
}

.account-settings-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
  gap: 18px !important;
}

.account-panel {
  padding: 20px !important;
}

.account-panel-header {
  gap: 14px !important;
  margin-bottom: 16px !important;
}

.account-panel-header h2,
.account-form-grid h2,
.account-form-stack h2 {
  margin: 5px 0 0 !important;
  font-size: clamp(20px, 2vw, 24px) !important;
  line-height: 1.18 !important;
}

.account-panel-header p,
.account-form-grid p,
.account-form-stack p {
  margin: 6px 0 0 !important;
  line-height: 1.5 !important;
}

.account-order-list {
  gap: 9px !important;
}

.account-order-row {
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  padding: 13px !important;
  text-decoration: none !important;
}

.account-order-row strong,
.account-order-row small,
.account-table td,
.account-table th {
  overflow-wrap: anywhere !important;
}

.account-profile-card dl,
.account-detail-side dl {
  gap: 8px !important;
}

.account-form-grid,
.account-form-stack {
  gap: 14px !important;
}

.account-form-grid label,
.account-form-stack label {
  gap: 7px !important;
  margin: 0 !important;
  font-size: 12px !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
}

.account-form-grid input,
.account-form-grid select,
.account-form-stack input {
  min-height: 44px !important;
}

.account-table {
  border-spacing: 0 8px !important;
}

.account-table th {
  white-space: nowrap !important;
}

html.theme-original .account-page {
  background:
    radial-gradient(circle at 8% 0%, rgba(15, 111, 184, 0.13), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(22, 168, 115, 0.11), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, #edf7fb 54%, #f8fcfa 100%) !important;
}

html.theme-original .account-sidebar {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background:
    linear-gradient(155deg, rgba(6, 35, 63, 0.98), rgba(8, 71, 104, 0.96) 54%, rgba(12, 111, 92, 0.94)) !important;
  box-shadow: 0 22px 55px rgba(6, 47, 85, 0.18) !important;
}

html.theme-original .account-brand-card,
html.theme-original .account-menu a,
html.theme-original .account-support-card {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

html.theme-original .account-brand-card strong,
html.theme-original .account-menu a span,
html.theme-original .account-support-card strong,
html.theme-original .account-logout-form button {
  color: #ffffff !important;
}

html.theme-original .account-brand-card small,
html.theme-original .account-menu a,
html.theme-original .account-menu a small,
html.theme-original .account-support-card span,
html.theme-original .account-support-card a {
  color: rgba(238, 249, 255, 0.76) !important;
}

html.theme-original .account-menu a.active,
html.theme-original .account-menu a:hover {
  border-color: rgba(255, 255, 255, 0.26) !important;
  background: rgba(255, 255, 255, 0.16) !important;
}

html.theme-original .account-logout-form button {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: rgba(220, 38, 38, 0.22) !important;
}

html.theme-original .account-panel,
html.theme-original .account-metric-card,
html.theme-original .account-empty-state {
  border-color: rgba(15, 79, 120, 0.11) !important;
  background: rgba(255, 255, 255, 0.91) !important;
  box-shadow: 0 20px 52px rgba(14, 58, 92, 0.09) !important;
}

html.theme-original .account-dashboard-hero,
html.theme-original .account-page-title {
  border-color: rgba(15, 79, 120, 0.14) !important;
  box-shadow: 0 22px 56px rgba(6, 47, 85, 0.13) !important;
}

html.theme-original .account-dashboard-hero h1,
html.theme-original .account-page-title h1,
html.theme-original .account-dashboard-hero p,
html.theme-original .account-page-title p {
  color: #ffffff !important;
}

html.theme-original .account-energy-card {
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}

html.theme-original .account-energy-card span,
html.theme-original .account-energy-card small,
html.theme-original .account-energy-card strong {
  color: #ffffff !important;
}

html.theme-original .account-kicker {
  color: #0f6f55 !important;
  border-color: rgba(22, 168, 115, 0.22) !important;
  background: rgba(236, 253, 245, 0.9) !important;
}

html.theme-original .account-dashboard-hero .account-kicker,
html.theme-original .account-page-title .account-kicker {
  color: #e8fff6 !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

html.theme-original .account-metric-card span,
html.theme-original .account-metric-card small,
html.theme-original .account-panel-header p,
html.theme-original .account-form-grid p,
html.theme-original .account-form-stack p,
html.theme-original .account-empty-state,
html.theme-original .account-order-row small,
html.theme-original .account-profile-card dt,
html.theme-original .account-detail-side dt,
html.theme-original .account-table th,
html.theme-original .account-form-grid label,
html.theme-original .account-form-stack label {
  color: #5e7386 !important;
}

html.theme-original .account-metric-card strong,
html.theme-original .account-panel-header h2,
html.theme-original .account-form-grid h2,
html.theme-original .account-form-stack h2,
html.theme-original .account-empty-state strong,
html.theme-original .account-profile-card dd,
html.theme-original .account-detail-side dd,
html.theme-original .account-table td,
html.theme-original .account-table td strong,
html.theme-original .account-order-row strong,
html.theme-original .account-grand-total {
  color: #082b4a !important;
}

html.theme-original .account-order-row,
html.theme-original .account-table td,
html.theme-original .account-profile-card dl div,
html.theme-original .account-detail-side dl div,
html.theme-original .account-line-items > div,
html.theme-original .account-totals > div {
  border-color: rgba(15, 79, 120, 0.1) !important;
  background: rgba(246, 251, 253, 0.9) !important;
}

html.theme-original .account-primary-action {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0f6fb8, #16a873) !important;
}

html.theme-original .account-secondary-action,
html.theme-original .account-row-action,
html.theme-original .account-panel-header > a,
html.theme-original .account-count,
html.theme-original .account-empty-state a {
  color: #0b4d7d !important;
  border: 1px solid rgba(15, 79, 120, 0.14) !important;
  background: rgba(255, 255, 255, 0.78) !important;
}

html.theme-original .account-dashboard-hero .account-secondary-action,
html.theme-original .account-page-title .account-secondary-action {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

html.theme-original .account-form-grid input,
html.theme-original .account-form-grid select,
html.theme-original .account-form-stack input {
  color: #082b4a !important;
  border-color: rgba(15, 79, 120, 0.14) !important;
  background: rgba(255, 255, 255, 0.92) !important;
}

html.theme-dark .account-page {
  background:
    radial-gradient(circle at 10% 0%, rgba(53, 209, 132, 0.08), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #08101c 100%) !important;
}

html.theme-dark .account-dashboard-hero h1,
html.theme-dark .account-page-title h1,
html.theme-dark .account-dashboard-hero p,
html.theme-dark .account-page-title p,
html.theme-dark .account-energy-card span,
html.theme-dark .account-energy-card small,
html.theme-dark .account-energy-card strong {
  color: #f4fff8 !important;
}

@media (max-width: 1120px) {
  .account-wrap,
  .account-grid,
  .account-settings-grid,
  .account-order-detail-grid {
    grid-template-columns: 1fr !important;
  }

  .account-sidebar {
    position: static !important;
  }

  .account-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .account-page {
    padding: 20px 0 54px !important;
  }

  .account-wrap {
    width: min(100% - 28px, 1240px) !important;
    gap: 16px !important;
  }

  .account-sidebar {
    padding: 10px !important;
    gap: 10px !important;
  }

  .account-brand-card {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 12px !important;
    padding: 12px !important;
  }

  .account-brand-card span {
    grid-row: 1 / 3 !important;
    width: 44px !important;
    height: 44px !important;
  }

  .account-brand-card strong {
    margin-top: 0 !important;
    font-size: 15px !important;
  }

  .account-brand-card small {
    grid-column: 2 !important;
  }

  .account-menu,
  .account-metrics,
  .account-form-grid {
    grid-template-columns: 1fr !important;
  }

  .account-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .account-menu a {
    justify-items: center !important;
    min-height: 58px !important;
    padding: 10px 8px !important;
    text-align: center !important;
  }

  .account-menu a small {
    display: none !important;
  }

  .account-support-card {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px 10px !important;
    padding: 11px 12px !important;
  }

  .account-support-card span {
    grid-column: 1 / -1 !important;
    font-size: 12px !important;
  }

  .account-support-card strong {
    font-size: 13px !important;
  }

  .account-support-card a {
    white-space: nowrap !important;
    font-size: 12px !important;
  }

  .account-logout-form button {
    min-height: 40px !important;
    padding: 9px 12px !important;
  }

  .account-dashboard-hero,
  .account-page-title,
  .account-panel-header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .account-dashboard-hero,
  .account-page-title,
  .account-panel,
  .account-metric-card {
    padding: 16px !important;
  }

  .account-dashboard-hero {
    gap: 14px !important;
  }

  .account-dashboard-hero h1,
  .account-page-title h1 {
    font-size: clamp(28px, 8.4vw, 36px) !important;
  }

  .account-dashboard-hero p,
  .account-page-title p {
    font-size: 14px !important;
  }

  .account-hero-actions {
    gap: 8px !important;
    margin-top: 12px !important;
  }

  .account-energy-card {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    align-content: center !important;
    gap: 4px 12px !important;
    padding: 14px !important;
  }

  .account-energy-card strong {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    font-size: clamp(34px, 10vw, 44px) !important;
  }

  .account-progress {
    grid-column: 1 / -1 !important;
    margin-top: 8px !important;
  }

  .account-hero-actions,
  .account-primary-action,
  .account-secondary-action,
  .account-row-action,
  .account-panel-header > a,
  .account-count {
    width: 100% !important;
  }

  .account-order-row {
    grid-template-columns: 1fr !important;
  }

  .account-table {
    min-width: 760px !important;
  }
}

/* Checkout centering and flow polish */
.egs-checkout-hero {
  padding: clamp(26px, 3.2vw, 44px) 0 !important;
}

.egs-checkout-hero > div {
  width: min(1180px, calc(100% - 48px)) !important;
}

.egs-checkout-hero h1 {
  max-width: 680px !important;
  font-size: clamp(30px, 3.2vw, 44px) !important;
}

.egs-checkout-hero p {
  max-width: 560px !important;
}

.egs-checkout-layout.checkout-layout {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px) !important;
  justify-content: center !important;
  align-items: start !important;
  gap: clamp(18px, 2vw, 26px) !important;
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin: 0 auto clamp(52px, 7vw, 86px) !important;
  padding: clamp(22px, 3vw, 34px) 0 0 !important;
}

.egs-checkout-layout.checkout-layout *,
.egs-checkout-layout.checkout-layout *::before,
.egs-checkout-layout.checkout-layout *::after {
  box-sizing: border-box !important;
}

.egs-checkout-main {
  width: 100% !important;
  min-width: 0 !important;
  gap: 18px !important;
}

.egs-checkout-section.panel.form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: clamp(18px, 2vw, 24px) !important;
}

.egs-checkout-section .span-2,
.egs-checkout-section-head {
  grid-column: 1 / -1 !important;
}

.egs-checkout-section-head {
  align-items: flex-start !important;
  gap: 14px !important;
  padding-bottom: 16px !important;
  margin-bottom: 2px !important;
}

.egs-checkout-section-head > span {
  flex: 0 0 auto !important;
  min-width: 64px !important;
  height: 32px !important;
}

.egs-checkout-section-head h2 {
  font-size: clamp(20px, 1.7vw, 24px) !important;
}

.egs-checkout-section-head p {
  max-width: 560px !important;
}

.egs-field {
  min-width: 0 !important;
}

.egs-field input,
.egs-field select,
.egs-field textarea {
  min-width: 0 !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  outline: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64) !important;
}

.egs-field textarea {
  padding-top: 13px !important;
  padding-bottom: 13px !important;
  line-height: 1.5 !important;
}

.egs-field input:focus,
.egs-field select:focus,
.egs-field textarea:focus {
  border-color: rgba(15, 111, 184, 0.42) !important;
  box-shadow: 0 0 0 4px rgba(15, 111, 184, 0.1) !important;
}

.egs-field input[readonly] {
  color: #516b80 !important;
  background: rgba(239, 247, 251, 0.82) !important;
}

.egs-check-row {
  width: 100% !important;
  min-width: 0 !important;
}

.egs-checkout-summary.panel.order-summary {
  width: 100% !important;
  min-width: 0 !important;
  padding: 18px !important;
  gap: 10px !important;
  border-radius: 8px !important;
}

.egs-checkout-summary .btn.full {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 50px !important;
  margin-top: 4px !important;
  border-radius: 8px !important;
}

.egs-checkout-items {
  max-height: min(360px, 44vh) !important;
  padding-right: 4px !important;
}

.egs-checkout-item {
  grid-template-columns: 54px minmax(0, 1fr) minmax(74px, max-content) !important;
  min-width: 0 !important;
}

.egs-checkout-item-copy,
.egs-checkout-item-copy strong,
.egs-checkout-item-copy small {
  min-width: 0 !important;
}

.egs-checkout-summary .egs-summary-line,
.egs-checkout-summary .summary-total {
  min-width: 0 !important;
}

.egs-checkout-summary .egs-summary-line strong,
.egs-checkout-summary .summary-total strong {
  max-width: 58% !important;
  overflow-wrap: anywhere !important;
}

html.theme-original .egs-checkout-summary.panel.order-summary,
html.theme-original .egs-checkout-section.panel.form-grid {
  border-color: rgba(15, 79, 120, 0.13) !important;
  background: rgba(255, 255, 255, 0.92) !important;
}

html.theme-dark .egs-field input[readonly] {
  color: rgba(244, 255, 248, 0.72) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

html.theme-dark .egs-field input:focus,
html.theme-dark .egs-field select:focus,
html.theme-dark .egs-field textarea:focus {
  border-color: rgba(126, 230, 173, 0.42) !important;
  box-shadow: 0 0 0 4px rgba(126, 230, 173, 0.1) !important;
}

@media (max-width: 1180px) {
  .egs-checkout-layout.checkout-layout {
    grid-template-columns: 1fr !important;
  }

  .egs-checkout-summary.panel.order-summary {
    position: static !important;
  }
}

@media (max-width: 760px) {
  .egs-checkout-hero {
    padding: 24px 0 !important;
  }

  .egs-checkout-hero > div,
  .egs-checkout-layout.checkout-layout {
    width: min(100% - 28px, 1180px) !important;
  }

  .egs-checkout-hero h1 {
    font-size: clamp(28px, 8vw, 36px) !important;
  }

  .egs-checkout-layout.checkout-layout {
    gap: 14px !important;
    padding-top: 18px !important;
    margin-bottom: 54px !important;
  }

  .egs-checkout-section.panel.form-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  .egs-checkout-section-head {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .egs-checkout-section-head > span {
    justify-content: center !important;
  }

  .egs-field input,
  .egs-field select {
    min-height: 46px !important;
  }

  .egs-checkout-summary.panel.order-summary {
    padding: 16px !important;
  }

  .egs-checkout-item {
    grid-template-columns: 48px minmax(0, 1fr) !important;
  }

  .egs-checkout-item > strong:last-child {
    grid-column: 2 / -1 !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  .egs-checkout-summary .egs-summary-line strong,
  .egs-checkout-summary .summary-total strong {
    max-width: 100% !important;
  }
}

.egs-hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.account-auth.account-auth-login,
.account-auth.account-auth-register {
  width: min(1180px, calc(100% - 32px)) !important;
  min-height: auto !important;
  margin: 30px auto 60px !important;
  padding: 0 !important;
  gap: 18px !important;
  align-items: stretch !important;
  background: transparent !important;
}

.account-auth.account-auth-login {
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 0.62fr) !important;
}

.account-auth.account-auth-register {
  grid-template-columns: minmax(310px, 0.58fr) minmax(0, 1fr) !important;
}

.account-auth .auth-visual,
.account-auth .auth-form-card {
  border-radius: 8px !important;
}

.account-auth .auth-visual {
  min-height: 100% !important;
  padding: 34px !important;
  box-shadow: 0 22px 54px rgba(7, 24, 39, 0.18) !important;
}

.account-auth .auth-form-wrapper {
  align-items: center !important;
  justify-content: stretch !important;
}

.account-auth-register .auth-form-wrapper {
  align-items: flex-start !important;
}

.account-auth .auth-form-card {
  max-width: none !important;
  border: 1px solid rgba(14, 73, 121, 0.12) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1) !important;
}

.account-auth-login .auth-form-card {
  padding: 30px !important;
}

.account-auth-register .auth-form-card {
  padding: 28px !important;
}

.auth-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.auth-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(14, 73, 121, 0.12);
  border-radius: 999px;
  padding: 6px 10px;
  color: #0b4d7d;
  background: #eef8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.auth-input-wrap input {
  min-height: 48px;
}

.auth-input-wrap.auth-password-only input {
  padding-left: 16px !important;
}

.auth-input-wrap input[type="password"],
.auth-input-wrap input[type="text"][name="password"],
.auth-input-wrap input[type="text"][name="password_confirmation"] {
  padding-right: 50px !important;
}

.auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 9px;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(14, 73, 121, 0.12);
  border-radius: 8px;
  color: #0b4d7d;
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-50%);
  cursor: pointer;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
  border-color: rgba(15, 111, 184, 0.38);
  box-shadow: 0 0 0 4px rgba(15, 111, 184, 0.1);
}

.auth-password-toggle svg {
  width: 18px;
  height: 18px;
}

.auth-password-toggle .auth-eye-closed {
  display: none;
}

.auth-password-toggle[aria-pressed="true"] .auth-eye-open {
  display: none;
}

.auth-password-toggle[aria-pressed="true"] .auth-eye-closed {
  display: block;
}

.auth-company-fields {
  display: grid;
  gap: 16px;
}

.auth-company-fields.is-hidden {
  display: none !important;
}

.account-company-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.account-company-fields.is-hidden {
  display: none !important;
}

@media (max-width: 760px) {
  .account-company-fields {
    grid-template-columns: 1fr;
  }
}

.auth-password-meter {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5edf4;
}

.auth-password-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #ef4444;
  transition: width 180ms ease, background-color 180ms ease;
}

.auth-password-meter.is-good span {
  background: #d99a12;
}

.auth-password-meter.is-strong span {
  background: #16a873;
}

.auth-password-note {
  margin-top: -8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.auth-password-note.is-error {
  color: #b42318;
}

.auth-password-note.is-good {
  color: #0f7a4c;
}

html.theme-dark .account-auth .auth-form-card {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(10, 18, 29, 0.96) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.26) !important;
}

html.theme-dark .auth-proof span {
  color: #dffcef !important;
  border-color: rgba(53, 209, 132, 0.18) !important;
  background: rgba(53, 209, 132, 0.1) !important;
}

html.theme-dark .auth-password-toggle {
  color: #dffcef;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.92);
}

html.theme-dark .auth-password-meter {
  background: rgba(255, 255, 255, 0.12);
}

html.theme-dark .auth-password-note {
  color: rgba(242, 255, 248, 0.68);
}

@media (max-width: 1120px) {
  .account-auth.account-auth-login,
  .account-auth.account-auth-register {
    grid-template-columns: 1fr !important;
  }

  .account-auth .auth-visual {
    min-height: auto !important;
  }
}

@media (max-width: 760px) {
  .account-auth.account-auth-login,
  .account-auth.account-auth-register {
    width: min(100% - 24px, 1180px) !important;
    margin-top: 18px !important;
    margin-bottom: 42px !important;
  }

  .account-auth .auth-visual,
  .account-auth .auth-form-card {
    padding: 22px !important;
  }

  .auth-proof {
    justify-content: flex-start;
  }
}

.egs-checkout-auth-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 18px 20px !important;
  border: 1px solid rgba(15, 111, 184, 0.14) !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(231, 246, 249, 0.88)) !important;
  box-shadow: 0 18px 45px rgba(14, 58, 92, 0.1) !important;
}

.egs-checkout-auth-card h2 {
  margin: 3px 0 5px !important;
  color: #082b4a !important;
  font-size: clamp(20px, 1.8vw, 25px) !important;
}

.egs-checkout-auth-card p {
  max-width: 680px !important;
  margin: 0 !important;
  color: #60758a !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.egs-checkout-auth-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
}

.egs-checkout-auth-actions .btn {
  min-height: 42px !important;
  padding: 0 16px !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
}

html.theme-dark .egs-checkout-auth-card {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(13, 20, 32, 0.86) !important;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.26) !important;
}

html.theme-dark .egs-checkout-auth-card h2 {
  color: #f4fff8 !important;
}

html.theme-dark .egs-checkout-auth-card p {
  color: rgba(224, 242, 233, 0.72) !important;
}

@media (max-width: 760px) {
  .egs-checkout-auth-card {
    grid-template-columns: 1fr !important;
    padding: 16px !important;
  }

  .egs-checkout-auth-actions {
    justify-content: stretch !important;
  }

  .egs-checkout-auth-actions .btn {
    flex: 1 1 100% !important;
    justify-content: center !important;
  }
}
