/* ================================================================
   VATTUNANGLUONG.COM - Custom Styles & Animations
   ================================================================ */

[x-cloak] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: -6rem;
  left: 1rem;
  padding: .75rem 1rem;
  background: white;
  color: #0052A5;
  border: 2px solid currentColor;
  border-radius: .5rem;
}
.skip-link:focus { top: 1rem; }
html { scroll-padding-top: 9rem; }
button:disabled { cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15%, 45%, 75% { transform: translateX(-3px); }
  30%, 60%, 90% { transform: translateX(3px); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes slide-in-right {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-in-up {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scale-in {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ─── ANIMATION UTILITIES ────────────────────────────────── */
.animate-shake-loop {
  animation: shake 2.5s ease-in-out infinite;
}

.animate-shake-once {
  animation: shake 0.4s ease-in-out;
}

.animate-pulse-ring {
  animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.animate-float {
  animation: float-y 3s ease-in-out infinite;
}

.animate-slide-right {
  animation: slide-in-right 0.35s ease-out forwards;
}

.animate-slide-up {
  animation: slide-in-up 0.3s ease-out forwards;
}

.animate-fade-in {
  animation: fade-in 0.3s ease-out forwards;
}

.animate-scale-in {
  animation: scale-in 0.25s ease-out forwards;
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

.animate-bounce-subtle {
  animation: bounce-subtle 2s ease-in-out infinite;
}

/* ─── PRODUCT CARD ───────────────────────────────────────── */
.product-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 82, 165, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);
}

.product-card .product-image {
  transition: transform 0.35s ease;
}

.product-card:hover .product-image {
  transform: scale(1.06);
}

/* ─── BADGE GRADIENT ─────────────────────────────────────── */
.badge-gradient {
  background: linear-gradient(90deg, #FF6B00 0%, #FFA800 100%);
}

.badge-gradient-blue {
  background: linear-gradient(90deg, #003875 0%, #0072CE 100%);
}

/* ─── CUSTOM SCROLLBAR ───────────────────────────────────── */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #0052A5;
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #003875;
}

/* ─── HIDE SCROLLBAR ─────────────────────────────────────── */
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* ─── ONLINE DOT ─────────────────────────────────────────── */
.online-dot {
  position: relative;
}

.online-dot::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse-ring 2s infinite;
}

/* ─── WAVE SVG SECTION DIVIDER ───────────────────────────── */
.wave-bottom {
  position: relative;
}

.wave-bottom::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,40 C360,100 720,0 1080,60 C1260,90 1380,50 1440,40 L1440,100 L0,100 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
}

/* ─── FILTER PILL ────────────────────────────────────────── */
.filter-pill {
  transition: all 0.2s ease;
}

.filter-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 82, 165, 0.15);
}

.filter-pill.active {
  background-color: #0052A5;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 82, 165, 0.3);
}

/* ─── BRAND PILL ─────────────────────────────────────────── */
.brand-pill {
  transition: all 0.2s ease;
  cursor: pointer;
}

.brand-pill:hover {
  border-color: #0052A5;
  background-color: #F2F7FF;
}

.brand-pill.active {
  border-color: #0052A5;
  background-color: #0052A5;
  color: white;
}

/* ─── BACKDROP ───────────────────────────────────────────── */
.backdrop-blur-custom {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ─── TOAST NOTIFICATION ─────────────────────────────────── */
.toast-enter {
  animation: slide-in-up 0.3s ease-out forwards, fade-in 0.3s ease-out forwards;
}

.toast-exit {
  animation: slide-in-up 0.3s ease-in reverse forwards, fade-in 0.3s ease-in reverse forwards;
}

/* ─── MEGA MENU ──────────────────────────────────────────── */
.mega-menu-enter {
  animation: slide-in-up 0.2s ease-out forwards;
}

/* ─── CTA BUTTON GLOW ───────────────────────────────────── */
.cta-glow {
  box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.4);
  transition: box-shadow 0.3s ease;
}

.cta-glow:hover {
  box-shadow: 0 0 20px 4px rgba(255, 122, 0, 0.3);
}

/* ─── SPEC TAG ───────────────────────────────────────────── */
.spec-tag {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: #F2F7FF;
  color: #0052A5;
  font-weight: 500;
  white-space: nowrap;
}

/* ─── CATEGORY CARD ──────────────────────────────────────── */
.category-card {
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 82, 165, 0.15);
}

/* ─── LINE CLAMP ─────────────────────────────────────────── */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── FOCUS VISIBLE OUTLINE ──────────────────────────────── */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #0052A5;
  outline-offset: 2px;
}

/* ─── MOBILE TOUCH OPTIMIZATION ──────────────────────────── */
@media (max-width: 768px) {
  .product-card {
    -webkit-tap-highlight-color: transparent;
  }

  button, a {
    min-height: 44px;
    min-width: 44px;
  }

  .mobile-cta-bar {
    padding-bottom: env(safe-area-inset-bottom, 12px);
  }
}

/* ─── PRINT HIDDEN ───────────────────────────────────────── */
@media print {
  .no-print {
    display: none !important;
  }
}

/* Catalogue and home presentation */
.solar-hero { background: #092d52; color: #fff; overflow: hidden; }
.solar-hero-inner { display: grid; grid-template-columns: 1.08fr 1fr; gap: 3.5rem; align-items: center; padding-top: 3.75rem; padding-bottom: 4rem; }
.solar-hero-copy { min-width: 0; }
.solar-eyebrow, .section-eyebrow { font-size: .8125rem; font-weight: 800; letter-spacing: .1em; line-height: 1.7; }
.solar-eyebrow { display: flex; align-items: center; gap: .65rem; color: #bcd5ea; margin-bottom: 1.25rem; }
.solar-eyebrow > span { width: 1.4rem; height: 3px; background: #ff9b3d; }
.solar-hero h1 { font-size: clamp(2.5rem, 4.3vw, 3.8rem); line-height: 1.2; letter-spacing: -.045em; font-weight: 800; }
.solar-hero h1 > span { color: #ffad58; }
.solar-hero-description { max-width: 35rem; margin-top: 1.4rem; color: #d3e2f0; font-size: 1rem; line-height: 1.9; }
.solar-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.solar-button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .9rem 1.15rem; min-height: 48px; border-radius: .7rem; font-size: .875rem; font-weight: 750; line-height: 1.5; transition: background-color .18s, border-color .18s; }
.solar-button svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.solar-button-accent { background: #ff9838; color: #142e46; border: 1px solid #ff9838; }
.solar-button-accent:hover { background: #ffad58; border-color: #ffad58; }
.solar-button-outline { color: #fff; border: 1px solid #63809c; }
.solar-button-outline:hover { background: #ffffff10; border-color: #bcd5ea; }
.solar-button-primary { color: #fff; background: #0052a5; }
.solar-button-primary:hover { background: #003875; }
.solar-hero-details { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; margin-top: 1.7rem; color: #c2d6e8; font-size: .8125rem; }
.solar-hero-details span { display: inline-flex; align-items: center; gap: .45rem; }
.solar-hero-details svg { width: 1rem; height: 1rem; color: #8fb8db; }
.solar-hero-visual { position: relative; min-width: 0; align-self: stretch; min-height: 385px; border: 1px solid #ffffff20; border-radius: 1.1rem; overflow: hidden; background: #183e5d; }
.solar-hero-visual > img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.solar-hero-visual::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #061f3ee0); pointer-events: none; }
.solar-hero-visual > figcaption { position: absolute; z-index: 1; left: 1.4rem; right: 1.4rem; bottom: 1.3rem; font-size: .8125rem; color: #e2eef7; line-height: 1.7; }
.solar-catalog-note { position: absolute; display: flex; gap: .8rem; align-items: center; top: 1.3rem; left: 1.3rem; right: 1.3rem; width: fit-content; max-width: calc(100% - 2.6rem); padding: .9rem 1.1rem; border-radius: .7rem; background: #fff; box-shadow: 0 12px 28px #00000015; color: #12314f; }
.solar-note-icon { display: flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: .55rem; background: #edf4fb; color: #0052a5; }
.solar-note-icon svg { width: 1.35rem; height: 1.35rem; }
.solar-catalog-note strong { display: block; font-size: 1.15rem; font-weight: 800; }
.solar-catalog-note div > span { display: block; color: #5e7287; margin-top: .15rem; font-size: .8125rem; }
.section-eyebrow { color: #ad5607; margin-bottom: .5rem; }
.home-category-section { padding-top: 2.8rem; padding-bottom: 2.75rem; }
.home-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.4rem; margin-bottom: 1.4rem; }
.home-section-heading h2 { color: #12314f; font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 800; line-height: 1.4; letter-spacing: -.025em; }
.home-section-heading p:not(.section-eyebrow) { color: #5b6c7d; font-size: .9375rem; line-height: 1.8; max-width: 47rem; margin-top: .6rem; }
.home-section-heading > a { flex-shrink: 0; font-size: .875rem; font-weight: 700; color: #0052a5; text-decoration: underline; text-underline-offset: .25rem; }
.home-categories > a { border-radius: .8rem; border-color: #dce5ed; box-shadow: none; position: relative; padding: 1.2rem; }
.home-categories > a::before { content: ''; display: block; width: 1.6rem; height: 3px; background: #ff9838; margin-bottom: 1rem; }
.home-categories > a > p:first-child { font-size: .9375rem; }
.home-categories > a > p:nth-child(2) { font-size: .875rem; line-height: 1.8; }
.home-categories > a > span { font-size: .875rem; color: #0052a5; }
.home-catalog-heading { border-top: 1px solid #e1e8ef; padding-top: 2.6rem; padding-bottom: .6rem; }
.solar-planning { background: #f0f5fa; border-top: 1px solid #dde6ef; border-bottom: 1px solid #dde6ef; padding: 3.75rem 0; }
.solar-planning h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.35; letter-spacing: -.03em; color: #12314f; }
.solar-planning p:not(.section-eyebrow) { color: #50667c; font-size: 1rem; line-height: 1.9; margin: 1rem 0 1.5rem; max-width: 35rem; }
.solar-planning-list { border-top: 1px solid #cfdce9; }
.solar-planning-list > div { padding: 1.35rem .3rem; border-bottom: 1px solid #cfdce9; }
.solar-planning-list dt { display: flex; gap: .75rem; align-items: center; font-size: 1rem; font-weight: 750; color: #12314f; }
.solar-planning-list svg { width: 1.3rem; height: 1.3rem; color: #0052a5; }
.solar-planning-list dd { margin-top: .55rem; padding-left: 2.05rem; color: #5b6c7d; font-size: .9375rem; line-height: 1.7; }
.home-support { padding-top: 3.2rem; padding-bottom: 3.7rem; }
.home-support-item { padding: 1.4rem 0 0; border-top: 2px solid #dce6ef; }
.home-support-item:hover { border-color: #ff9838; }
.home-support-item > svg { width: 1.6rem; height: 1.6rem; color: #0052a5; margin-bottom: 1rem; }
.home-support-item h3 { color: #12314f; font-size: 1rem; font-weight: 750; }
.home-support-item p { margin-top: .7rem; color: #5b6c7d; font-size: .9375rem; line-height: 1.8; }
.catalog-banner { background: #092d52; border-bottom: 1px solid #1d4569; }
.catalog-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.9rem; padding-top: 1.3rem; border-top: 1px solid #ffffff24; max-width: 48rem; }
.catalog-summary > div { display: flex; flex-direction: column-reverse; gap: .25rem; }
.catalog-summary dt { color: #c0d4e7; font-size: .8125rem; line-height: 1.6; }
.catalog-summary dd { color: #fff; font-size: 1.5rem; font-weight: 800; }
.catalog-category-navigation a { min-width: 0; }
.catalog-category-navigation .text-xs, .catalog-filters .text-xs { font-size: .875rem; line-height: 1.65; }
.catalog-category-navigation [class*="text-[11px]"] { font-size: .8125rem; }
.catalog-shell .product-card { min-width: 0; background: #fff; border: 1px solid #dce4ed; border-radius: .9rem; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.catalog-shell .product-card:hover { transform: none; border-color: #83a8cb; box-shadow: 0 8px 24px #092d520c; }
.catalog-card-image { position: relative; display: block; aspect-ratio: 4 / 3; background: #f8fafc; border-bottom: 1px solid #edf1f5; overflow: hidden; }
.catalog-card-image > img { height: 100%; width: 100%; object-fit: contain; padding: 1.65rem; }
.catalog-card-brand { position: absolute; top: .8rem; left: .8rem; border-radius: .4rem; padding: .3rem .6rem; background: #fffffff2; border: 1px solid #dce5ed; color: #12314f; font-size: .8125rem; font-weight: 750; }
.catalog-card-image-note { position: absolute; bottom: .5rem; right: .5rem; background: #fffffff0; color: #5d6d7e; padding: .15rem .4rem; border-radius: .3rem; font-size: .75rem; }
.catalog-card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 1.15rem; }
.catalog-card-stock { font-size: .8125rem; line-height: 1.6; font-weight: 600; margin-bottom: .7rem; }
.catalog-card-model { overflow-wrap: anywhere; font-size: .8125rem; line-height: 1.6; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; color: #586b80; margin-bottom: .35rem; }
.catalog-card-title { font-size: 1rem; line-height: 1.6; font-weight: 750; color: #12314f; min-height: 3.2em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.catalog-card-title a:hover { color: #0052a5; }
.catalog-card-description { color: #617286; font-size: .875rem; line-height: 1.7; margin-top: .7rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.catalog-card-specs { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .8rem; margin-bottom: 1rem; }
.catalog-card-specs li { font-size: .8125rem; color: #3f5870; background: #f0f5fa; border: 1px solid #e5edf5; border-radius: .35rem; padding: .2rem .45rem; }
.catalog-card-price { margin-top: auto; padding-top: .9rem; border-top: 1px solid #e8eef4; }
.catalog-card-price > span { display: block; font-size: .8125rem; line-height: 1.6; color: #64748b; }
.catalog-card-price strong { display: block; color: #a64900; font-size: 1.15rem; line-height: 1.6; font-weight: 800; overflow-wrap: anywhere; }
.catalog-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .35rem .7rem; margin-top: .85rem; font-size: .8125rem; font-weight: 650; color: #44617d; }
.catalog-card-footer a, .catalog-card-footer button { min-height: 36px; display: inline-flex; align-items: center; }
.catalog-card-footer a:hover, .catalog-card-footer button:hover { color: #0052a5; text-decoration: underline; }
.catalog-card-document { display: flex; align-items: center; justify-content: center; gap: .45rem; border-top: 1px solid #e8eef4; padding-top: .65rem; margin-top: .5rem; font-size: .8125rem; font-weight: 650; color: #0052a5; line-height: 1.7; }
.catalog-card-document:hover { text-decoration: underline; }
.catalog-home .catalog-filters { padding-top: 0; }
.catalog-shell #catalog-search, .catalog-shell #sort-products, .catalog-shell #system-filter { font-size: .875rem; min-height: 46px; }
.catalog-shell select { appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24' stroke='%2350657c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-position: right .75rem center; background-repeat: no-repeat; }
.catalog-shell #catalog-title { font-size: 1.2rem; }
.catalog-shell #product-catalog > div > div > div:first-child p { font-size: .875rem; }
.product-sheet .text-xs { font-size: .875rem; line-height: 1.75; }
.product-sheet [class*="text-[11px]"], .product-sheet [class*="text-[10px]"] { font-size: .8125rem; line-height: 1.65; }
.product-sheet section[aria-labelledby="product-description-title"] p { font-size: 1rem; line-height: 1.9; }
.product-sheet section[aria-labelledby="product-specifications-title"] dl > div { padding-top: 1rem; padding-bottom: 1rem; }
.product-sheet section[aria-labelledby="product-specifications-title"] dd { overflow-wrap: anywhere; }
.product-sheet aside[aria-labelledby="product-documents-title"] { border-top: 3px solid #ff9838; }
.product-technical-details { border: 1px solid #dae4ee; border-radius: .75rem; margin-top: 1.5rem; color: #50667c; }
.product-technical-details summary { padding: 1rem; cursor: pointer; font-size: .875rem; font-weight: 700; color: #12314f; line-height: 1.7; }
.product-technical-details summary:hover { background: #f4f8fc; }
.product-technical-details > ul { padding: 0 1.2rem 1.2rem 2.2rem; list-style: disc; font-size: .875rem; line-height: 1.85; }
.product-technical-details li + li { margin-top: .4rem; }
.site-topline { background-color: #003875; }
.site-topline > div {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.site-header nav ul.text-xs { font-size: .875rem; line-height: 1.65; }
#site-navigation a,
#site-navigation summary {
  border-radius: .4rem;
  transition: color .16s ease, background-color .16s ease;
}
#site-navigation a:hover,
#site-navigation a:focus-visible,
#site-navigation summary:hover,
#site-navigation summary:focus-visible,
#site-navigation .product-navigation:hover > a,
#site-navigation .product-navigation:focus-within > a,
#site-navigation .product-navigation:hover > details > summary,
#site-navigation .product-navigation:focus-within > details > summary,
#site-navigation > div > details:hover > summary,
#site-navigation > div > details[open] > summary,
#site-navigation > div > details:focus-within > summary {
  color: #0052a5;
  background-color: #f2f7ff;
}
.product-navigation { position: relative; min-height: 44px; }
.product-navigation summary::-webkit-details-marker { display: none; }
.product-navigation details[open] > summary svg { transform: rotate(180deg); }
.document-catalog .text-xs { font-size: .875rem; line-height: 1.75; }
@media (min-width: 1024px) { .catalog-filters > div { top: 8.5rem; } }
@media (max-width: 1023px) {
  .solar-hero-inner { gap: 2rem; }
  .solar-hero-visual { min-height: 360px; }
  .solar-hero h1 { font-size: clamp(2.25rem, 5vw, 3rem); }
  .solar-hero-actions { gap: .6rem; }
  .catalog-filters > div { padding: 1rem; }
}
@media (max-width: 767px) {
  .solar-hero-inner { grid-template-columns: 1fr; padding-top: 2.6rem; padding-bottom: 2rem; gap: 2rem; }
  .solar-hero h1 { font-size: clamp(2.4rem, 9vw, 3.3rem); }
  .solar-hero-description { font-size: .9375rem; line-height: 1.85; }
  .solar-hero-visual { min-height: 250px; aspect-ratio: 16 / 10; }
  .solar-eyebrow { font-size: .75rem; }
  .solar-catalog-note { top: 1rem; left: 1rem; padding: .65rem .85rem; }
  .solar-hero-visual > figcaption { bottom: 1rem; left: 1rem; right: 1rem; }
  .home-section-heading { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .home-category-section { padding-top: 2rem; padding-bottom: 2rem; }
  .home-categories > a { padding: 1rem; }
  .home-categories > a::before { margin-bottom: .7rem; }
  .home-catalog-heading { padding-top: 2rem; }
  .solar-planning { padding: 2.5rem 0; }
  .home-support { padding-top: 2.5rem; padding-bottom: 2.7rem; }
  .catalog-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
  .catalog-summary dd { font-size: 1.4rem; }
  .catalog-card-title { min-height: 0; }
  .catalog-card-footer a, .catalog-card-footer button { min-height: 44px; }
  .catalog-card-document { min-height: 44px; }
}

/* Product rows on the homepage */
.home-shop-intro { background: #f2f7ff; border-bottom: 1px solid #dce5ed; }
.home-shop-intro-inner { max-width: 1280px; margin: 0 auto; padding: 1.6rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.home-shop-intro h1 { color: #003875; font-size: clamp(1.55rem, 2.2vw, 1.85rem); line-height: 1.35; font-weight: 800; letter-spacing: -.025em; }
.home-shop-intro p { font-size: 1rem; line-height: 1.7; color: #50667c; margin-top: .45rem; }
.home-shop-catalog-link { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: #0052a5; border: 1px solid #cbd9e8; border-radius: .35rem; padding: .65rem 1rem; font-size: .875rem; font-weight: 700; background: #fff; }
.home-shop-catalog-link:hover { border-color: #0052a5; background: #f2f7ff; }
.home-merchandising { max-width: 1280px; margin: 0 auto; padding: 2rem 1.5rem 3rem; }
.home-product-section { min-width: 0; scroll-margin-top: 11rem; }
.home-product-section + .home-product-section { margin-top: 3.25rem; }
.home-row-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.1rem; }
.home-row-heading h2 { min-width: 0; color: #0052a5; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 800; text-transform: uppercase; line-height: 1.5; letter-spacing: .025em; }
.home-row-heading h2 span { color: #a64900; }
.home-product-section[data-home-section="featured"] .home-row-heading h2 { background: #0052a5; color: #fff; padding: .3rem .65rem; border-radius: .15rem; font-size: 1rem; letter-spacing: .015em; }
.home-product-section[data-home-section="featured"] .home-row-heading h2 span { color: inherit; }
.home-row-tabs { display: flex; align-items: center; gap: .45rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
.home-row-tabs::-webkit-scrollbar { display: none; }
.home-row-tabs a, .home-row-tabs button { white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; border: 1px solid #0052a5; border-radius: .25rem; background: #fff; color: #0052a5; padding: .45rem .85rem; font-size: .875rem; font-weight: 650; line-height: 1.5; transition: background-color .16s, color .16s; }
.home-row-tabs [aria-selected="true"], .home-row-tabs [aria-current="true"], .home-row-tabs a:hover, .home-row-tabs button:hover { background: #0052a5; color: #fff; }
.home-products-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.home-product-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid #dce4ed; border-radius: .4rem; overflow: hidden; background: #fff; transition: border-color .18s, box-shadow .18s; }
.home-product-card:hover { border-color: #83a8cb; box-shadow: 0 6px 16px #092d520c; }
.home-product-image { display: block; position: relative; aspect-ratio: 1 / 1; min-width: 0; overflow: hidden; background: #fff; border-bottom: 1px solid #edf1f5; }
.home-product-image > img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 1.6rem 1rem 1.8rem; }
.home-product-brand { position: absolute; z-index: 1; top: .55rem; left: .55rem; max-width: calc(100% - 1.1rem); border: 1px solid #dce5ed; border-radius: .25rem; padding: .15rem .4rem; font-size: .75rem; line-height: 1.5; font-weight: 700; color: #12314f; background: #fffffff0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-product-image-note { position: absolute; left: .4rem; right: .4rem; bottom: .35rem; color: #64748b; font-size: .75rem; line-height: 1.45; text-align: center; background: #fffffff0; }
.home-product-info { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: .8rem; }
.home-product-model { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .78125rem; line-height: 1.55; color: #586b80; overflow-wrap: anywhere; margin-bottom: .35rem; }
.home-product-title { font-size: .9375rem; line-height: 1.55; font-weight: 700; color: #12314f; min-height: 4.65em; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.home-product-title a { color: inherit; }
.home-product-title a:hover { color: #0052a5; text-decoration: underline; text-underline-offset: .15rem; }
.home-product-specs { color: #617286; font-size: .8125rem; line-height: 1.65; margin-top: .5rem; min-height: 1.65em; overflow-wrap: anywhere; }
.home-product-price { color: #a64900; font-size: 1.0625rem; line-height: 1.5; font-weight: 800; padding-top: .65rem; margin-top: auto; margin-bottom: .65rem; overflow-wrap: anywhere; }
.home-product-price small { display: inline; font-size: .8125rem; font-weight: 600; }
.home-add-cart { display: flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; min-height: 44px; padding: .6rem .4rem; border: 1px solid #0052a5; border-radius: .2rem; color: #fff; background: #0052a5; font-size: .875rem; line-height: 1.45; font-weight: 750; }
.home-add-cart:hover { background: #003875; border-color: #003875; }
.home-add-cart:disabled { border-color: #dce4ed; color: #64748b; background: #f1f5f9; }
.home-add-cart svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.home-view-all { display: flex; justify-content: center; margin-top: 1.1rem; }
.home-view-all a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #0052a5; border-radius: .2rem; color: #0052a5; background: #fff; font-size: .875rem; line-height: 1.5; font-weight: 650; padding: .55rem 1.3rem; }
.home-view-all a:hover { background: #f2f7ff; }
.home-pump-empty { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.25rem; padding: 1.5rem; border: 1px solid #dce4ed; border-radius: .35rem; background: #f2f7ff; color: #50667c; font-size: 1rem; line-height: 1.8; }
.home-pump-empty h3 { color: #12314f; font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; }
.home-pump-empty p { max-width: 50rem; }
.home-pump-empty a { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #0052a5; border-radius: .2rem; padding: .65rem 1rem; color: #fff; background: #0052a5; font-size: .875rem; font-weight: 700; }
.home-shop-planning { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.home-shop-planning h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.home-shop-planning .solar-planning-list > div { padding: 1rem .3rem; }

/* Responsive: Tablet View (640px - 1023px) */
@media (min-width: 640px) and (max-width: 1023px) {
  .home-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
  .home-product-card { border-radius: .5rem; }
  .home-product-title { min-height: 3.2em; -webkit-line-clamp: 2; }
}

/* Responsive: Mobile View (< 768px) */
@media (max-width: 767px) {
  body { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)); }
  .home-shop-intro-inner { align-items: flex-start; flex-direction: column; gap: .85rem; padding: 1.25rem 1rem; }
  .home-shop-intro h1 { font-size: 1.35rem; line-height: 1.35; }
  .home-shop-intro p { font-size: .875rem; line-height: 1.6; }
  .home-shop-catalog-link { width: 100%; text-align: center; }
  .home-merchandising { padding: 1.25rem .75rem 2.25rem; }
  .home-product-section + .home-product-section { margin-top: 2.25rem; }
  .home-row-heading { gap: .6rem; align-items: flex-start; margin-bottom: .85rem; }
  .home-row-tabs { gap: .35rem; }
  .home-row-tabs a, .home-row-tabs button { min-height: 38px; padding: .35rem .65rem; font-size: .8125rem; }
  .home-product-title a { min-width: 0; min-height: 0; }
  .home-pump-empty { padding: 1.1rem; }
  .home-view-all a { width: 100%; text-align: center; }
  .catalog-category-navigation { display: flex !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; scrollbar-width: none !important; gap: .5rem !important; padding-bottom: .4rem !important; }
  .catalog-category-navigation::-webkit-scrollbar { display: none !important; }
  .catalog-category-navigation > * { flex-shrink: 0 !important; min-width: 150px !important; }
}

/* Responsive: Phones & Small Devices (< 640px) */
@media (max-width: 639px) {
  .home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .home-product-card { border-radius: .55rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }
  .home-product-image > img { padding: 1.2rem .5rem 1.3rem; }
  .home-product-brand { top: .4rem; left: .4rem; font-size: .6875rem; padding: .1rem .35rem; }
  .home-product-image-note { font-size: .6875rem; bottom: .25rem; }
  .home-product-info { padding: .65rem .55rem; }
  .home-product-title { font-size: .8125rem; line-height: 1.45; min-height: 2.9em; -webkit-line-clamp: 2; }
  .home-product-model { font-size: .6875rem; margin-bottom: .2rem; }
  .home-product-specs { font-size: .71875rem; min-height: 1.4em; margin-top: .25rem; }
  .home-product-price { font-size: .9375rem; font-weight: 800; padding-top: .4rem; margin-bottom: .5rem; }
  .home-add-cart { font-size: .78125rem; min-height: 38px; padding: .45rem .25rem; border-radius: .35rem; font-weight: 700; }
  .catalog-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .65rem !important; }
  .catalog-shell .product-card { border-radius: .55rem !important; }
  .catalog-card-image > img { padding: 1.1rem .65rem !important; }
  .catalog-card-body { padding: .65rem .55rem !important; }
  .catalog-card-title { font-size: .8125rem !important; min-height: 2.9em !important; -webkit-line-clamp: 2 !important; line-height: 1.45 !important; }
  .catalog-card-specs { display: none !important; }
  .catalog-card-description { display: none !important; }
  .catalog-card-price strong { font-size: .9375rem !important; }
  .catalog-card-footer a, .catalog-card-footer button { font-size: .75rem !important; min-height: 36px !important; padding: .35rem .5rem !important; }
}
