/* ==========================================================================
   RG ACCESORIOS DE RIEGO - SISTEMA DE DISEÑO Y ESTILOS PRINCIPALES
   Colores Corporativos: Verde Agrícola (#0B5329) & Rojo Carmesí Hoja (#E31B23)
   Moneda: Soles Peruanos (S/.) | Teléfono WhatsApp: 987642876
   Panel de Administración CRUD Integrado
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand Colors */
  --primary-green: #0B5329;
  --primary-green-dark: #07381B;
  --primary-green-deep: #052612;
  --primary-green-light: #168039;
  --primary-green-subtle: #EAF4EE;
  
  --accent-red: #E31B23;
  --accent-red-hover: #C8102E;
  --accent-red-subtle: #FDE8E9;

  --emerald-highlight: #22A04B;
  --gold-star: #FFB800;

  /* Neutral Theme Tokens */
  --bg-main: #FAFCF9;
  --bg-surface: #FFFFFF;
  --bg-alt: #F0F6F2;
  
  --text-primary: #0F1D15;
  --text-secondary: #4A5D52;
  --text-muted: #7E9387;
  --text-white: #FFFFFF;

  --border-color: #E1EBE4;
  --border-hover: #0B5329;

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 8px rgba(11, 83, 41, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 83, 41, 0.10);
  --shadow-lg: 0 16px 40px rgba(11, 83, 41, 0.16);
  --shadow-glow-red: 0 8px 25px rgba(227, 27, 35, 0.35);

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);

  /* Layout Constants */
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-green-dark);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP NOTIFICATION BAR & HEADER
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, var(--primary-green-dark), var(--primary-green));
  color: var(--text-white);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-info span {
  margin-right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-info i {
  color: var(--accent-red);
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.top-bar-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  line-height: 1;
  transition: var(--transition-fast);
}

.top-bar-actions a i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  line-height: 1;
}

.top-bar-actions a:hover {
  color: var(--accent-red);
}

/* Admin Link & Badge */
#admin-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.25rem 0.7rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-white);
  line-height: 1;
  transition: all var(--transition-fast);
}

#admin-login-link:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(227, 27, 35, 0.35);
}

/* Admin Link & Badge */
.admin-session-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFB800;
  color: #000;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
}

.btn-admin-logout {
  background: rgba(255, 255, 255, 0.2);
  color: #FFF;
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-size: 0.7rem;
  margin-left: 0.4rem;
}

.btn-admin-logout:hover {
  background: var(--accent-red);
}

/* Main Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  height: 70px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  height: 52px;
}

.brand-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--primary-green-dark);
  position: relative;
  padding: 0.4rem 0;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-red);
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-red);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-trigger-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-green-subtle);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.cart-trigger-btn:hover {
  background: var(--primary-green);
  color: var(--text-white);
  transform: translateY(-2px);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-red);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-surface);
  box-shadow: 0 2px 5px rgba(227, 27, 35, 0.4);
}

.btn-quote-header {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-hover));
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-glow-red);
  transition: var(--transition-fast);
}

.btn-quote-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(227, 27, 35, 0.45);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-green);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 70% 30%, rgba(34, 160, 75, 0.12) 0%, transparent 60%),
              linear-gradient(180deg, #F0F6F2 0%, var(--bg-main) 100%);
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  z-index: 2;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary-green-subtle);
  color: var(--primary-green-dark);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid rgba(11, 83, 41, 0.15);
  margin-bottom: 1.2rem;
}

.brand-badge i {
  color: var(--accent-red);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-green-dark);
  margin-bottom: 1.2rem;
}

.hero-title span.highlight-red {
  color: var(--accent-red);
  position: relative;
}

.hero-title span.highlight-green {
  color: var(--primary-green);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.btn-block {
  width: 100%;
}

.btn-green {
  background: var(--primary-green);
  color: var(--text-white);
  box-shadow: 0 8px 20px rgba(11, 83, 41, 0.25);
}

.btn-green:hover {
  background: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 83, 41, 0.35);
}

.btn-red {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-hover));
  color: var(--text-white);
  box-shadow: var(--shadow-glow-red);
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(227, 27, 35, 0.45);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.8rem;
  flex-wrap: wrap;
}

.stat-item h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-green);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-surface);
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.floating-card-badge {
  position: absolute;
  bottom: 25px;
  left: -25px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.floating-card-badge i {
  font-size: 2rem;
  color: var(--accent-red);
}

.floating-card-badge strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-green-dark);
}

.floating-card-badge span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   HDPE NOTICE BANNER
   ========================================================================== */
.hdpe-spec-banner {
  background: linear-gradient(135deg, var(--primary-green-deep) 0%, var(--primary-green-dark) 100%);
  color: var(--text-white);
  padding: 2rem 0;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
}

.hdpe-banner-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.hdpe-banner-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hdpe-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--text-white);
  flex-shrink: 0;
  box-shadow: var(--shadow-glow-red);
}

.hdpe-banner-info h3 {
  color: var(--text-white);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.hdpe-banner-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.hdpe-tags {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.tag-hdpe {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   SECTION COMMON HEADINGS & ADMIN BAR
   ========================================================================== */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-subhead {
  text-transform: uppercase;
  color: var(--accent-red);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  color: var(--primary-green-dark);
  margin-bottom: 0.8rem;
}

.section-title span {
  color: var(--primary-green);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* BARRA DE ACCIONES ADMINISTRATIVAS */
.admin-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1A3626 0%, #0B5329 100%);
  color: var(--text-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border: 2px solid #FFB800;
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-actions-bar strong {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  color: #FFB800;
}

.admin-btn-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn-admin-add {
  background: #22A04B;
  color: var(--text-white);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.btn-admin-add:hover {
  background: #1B833D;
  transform: translateY(-2px);
}

.btn-admin-reset {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.btn-admin-reset:hover {
  background: var(--accent-red);
}

/* ==========================================================================
   PRODUCT CATALOG & FILTERS
   ========================================================================== */
.catalog-controls {
  margin-bottom: 2.5rem;
}

.search-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-surface);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.8rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-pill);
  outline: none;
  transition: var(--transition-fast);
}

.search-box input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(11, 83, 41, 0.12);
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
}

.tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--bg-alt);
  color: var(--text-secondary);
  white-space: nowrap;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.tab-btn:hover {
  background: var(--primary-green-subtle);
  color: var(--primary-green-dark);
}

.tab-btn.active {
  background: var(--primary-green);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(11, 83, 41, 0.25);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}

.product-card.admin-card-border {
  border: 2px dashed #FFB800;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-green);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: var(--accent-red);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 8px rgba(227, 27, 35, 0.4);
}

/* BOTONES DE EDICIÓN ADMIN EN LA TARJETA */
.admin-card-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 15;
  display: flex;
  gap: 0.4rem;
}

.btn-admin-edit {
  background: #0B5329;
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.btn-admin-edit:hover {
  background: #22A04B;
}

.btn-admin-delete {
  background: #E31B23;
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.btn-admin-delete:hover {
  background: #C8102E;
}

.product-image-box {
  position: relative;
  height: 220px;
  background: #F8FAF9;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image-box img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-box img {
  transform: scale(1.08);
}

.product-quick-view-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  color: var(--primary-green-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
}

.product-card:hover .product-quick-view-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.product-quick-view-btn:hover {
  background: var(--primary-green);
  color: var(--text-white);
}

.product-content {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-green-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.product-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.product-short-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.spec-chip {
  background: var(--primary-green-subtle);
  color: var(--primary-green-dark);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.product-price {
  display: flex;
  flex-direction: column;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-green-dark);
}

.price-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-add-cart {
  background: var(--accent-red);
  color: var(--text-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(227, 27, 35, 0.3);
}

.btn-add-cart:hover {
  background: var(--accent-red-hover);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(227, 27, 35, 0.45);
}

/* ==========================================================================
   TECHNICAL CALCULATOR & BLUEPRINT SECTION
   ========================================================================== */
.calculator-section {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-main) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.calc-wrapper-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  overflow: hidden;
}

.calc-form-side {
  padding: 3rem 2.5rem;
  background: #FFFFFF;
}

.calc-form-side h3 {
  font-size: 1.6rem;
  color: var(--primary-green-dark);
  margin-bottom: 0.6rem;
}

.calc-form-side p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-green-dark);
  margin-bottom: 0.4rem;
}

.form-row-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.input-with-select {
  display: flex;
}

.input-with-select input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  flex: 1;
  min-width: 80px;
}

.input-with-select select {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  min-width: 190px;
  width: auto;
  padding-right: 1.8rem;
  background-color: var(--bg-alt);
  font-weight: 600;
  color: var(--primary-green-dark);
  cursor: pointer;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  background: #FFFFFF;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(11, 83, 41, 0.12);
}

.calc-results-side {
  background: linear-gradient(135deg, #07381B 0%, var(--primary-green-dark) 100%);
  color: var(--text-white);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-results-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  color: #A3E6B8;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
}

.calc-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.metric-box {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-box.highlighted {
  background: rgba(255, 255, 255, 0.15);
  border-color: #22A04B;
}

.metric-box.highlighted.accent {
  border-color: var(--accent-red);
  background: rgba(227, 27, 35, 0.15);
}

.metric-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  display: block;
}

.metric-value small {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
}

.metric-sub {
  font-size: 0.78rem;
  color: #A3E6B8;
  display: block;
  margin-top: 0.2rem;
}

/* BLUEPRINT VISUAL LAYOUT CONTAINER */
.hdpe-blueprint-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.blueprint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #A3E6B8;
}

.blueprint-scale {
  background: rgba(227, 27, 35, 0.3);
  color: #FFF;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
}

.blueprint-svg-container {
  width: 100%;
  height: auto;
  max-height: 220px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

.blueprint-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.8rem;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.8);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-pump { background: #22A04B; }
.dot-main { background: #4CD97B; }
.dot-saddle { background: #E31B23; }
.dot-valve { background: #FFFFFF; border: 2px solid #E31B23; }
.dot-lateral { background: #4CD97B; border-style: dashed; }

.calc-accessories-breakdown h4 {
  color: var(--text-white);
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.acc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.acc-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
}

.badge-qty {
  background: var(--accent-red);
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   CART & QUOTE DRAWER (SLIDE OVER)
   ========================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  background: var(--bg-surface);
  z-index: 2001;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.5rem;
  background: var(--primary-green-dark);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-header h3 {
  color: var(--text-white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cart-drawer-close {
  color: var(--text-white);
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.cart-drawer-close:hover {
  background: var(--accent-red);
}

.cart-items-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  padding: 0.4rem;
  object-fit: contain;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin-bottom: 0.2rem;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.cart-item-qty-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-green-subtle);
  color: var(--primary-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.qty-btn:hover {
  background: var(--primary-green);
  color: var(--text-white);
}

.qty-val {
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.cart-item-remove:hover {
  color: var(--accent-red);
}

.cart-drawer-footer {
  padding: 1.5rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin-bottom: 1.2rem;
}

.cart-total-amount {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-red);
}

/* ==========================================================================
   QUICK VIEW & ADMIN FORM MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

/* ==========================================================================
   CLEAN ELEGANT WHITE ADMIN MODAL
   ========================================================================== */
.admin-modal-card-clean,
.modal-content.clean-white-modal,
#admin-product-modal .modal-content {
  background: #FFFFFF !important;
  color: #1A2B20 !important;
  border-radius: 20px !important;
  padding: 2.2rem 2.5rem !important;
  max-width: 650px !important;
  width: 95% !important;
  max-height: 85vh !important;
  overflow-y: auto !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
  border: none !important;
}

.modal-header {
  margin-bottom: 1.5rem !important;
  padding-bottom: 1rem !important;
  border-bottom: 1px solid #EAEFEB !important;
}

.modal-header h2 {
  font-family: var(--font-heading) !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #07381B !important;
  margin-bottom: 0.3rem !important;
}

.modal-subtitle {
  color: #5C7365 !important;
  font-size: 0.9rem !important;
}

.form-group.mb-4 {
  margin-bottom: 1.3rem !important;
}

.form-row-dual {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.2rem !important;
  margin-bottom: 1.3rem !important;
}

.form-label {
  display: block !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #1A362B !important;
  margin-bottom: 7px !important;
}

.form-control-clean {
  width: 100% !important;
  padding: 12px 16px !important;
  background: #F8FAF8 !important;
  border: 1px solid #D2E0D6 !important;
  border-radius: 10px !important;
  color: #0F1D15 !important;
  font-size: 0.95rem !important;
  font-family: inherit !important;
  transition: all 0.2s ease !important;
  outline: none !important;
}

.form-control-clean:focus {
  background: #FFFFFF !important;
  border-color: #0B5329 !important;
  box-shadow: 0 0 0 3px rgba(11, 83, 41, 0.15) !important;
}

.image-upload-box {
  background: #F2F7F4 !important;
  border: 1px dashed #A8C9B3 !important;
  padding: 1.2rem !important;
  border-radius: 12px !important;
  margin-bottom: 1.3rem !important;
}

.image-preview-row {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-top: 10px !important;
}

.preview-img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  border: 1px solid #D0E0D5 !important;
  background: #FFF !important;
  padding: 2px !important;
}

.preview-text {
  font-size: 0.85rem !important;
  color: #4A6354 !important;
  line-height: 1.4 !important;
}

.btn-save-clean {
  width: 100% !important;
  padding: 14px !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  background: #0B5329 !important;
  color: #FFFFFF !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px rgba(11, 83, 41, 0.25) !important;
  transition: transform 0.2s ease, background 0.2s ease !important;
  margin-top: 0.8rem !important;
}

.btn-save-clean:hover {
  background: #07381B !important;
  transform: translateY(-2px) !important;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--primary-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-red);
  color: var(--text-white);
}

.modal-img-wrapper {
  background: #F8FAF9;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img-wrapper img {
  max-height: 320px;
  object-fit: contain;
}

.modal-body {
  padding: 2.5rem;
}

.modal-category-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.modal-title {
  font-size: 1.6rem;
  color: var(--primary-green-dark);
  margin-bottom: 0.8rem;
}

.modal-price-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.modal-price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-green);
}

.modal-pn-badge {
  background: var(--primary-green-subtle);
  color: var(--primary-green-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.modal-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

.modal-specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.modal-specs-table td {
  padding: 0.5rem 0;
}

.modal-specs-table td:first-child {
  font-weight: 600;
  color: var(--primary-green-dark);
  width: 40%;
}

.modal-specs-table td:last-child {
  color: var(--text-secondary);
}

.diameter-select-group {
  margin-bottom: 1.5rem;
}

.diameter-select-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--primary-green-dark);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary-green-deep);
  color: var(--text-white);
  padding: 5rem 0 2rem;
  border-top: 4px solid var(--accent-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 1.2rem 0;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.social-btn.social-wa:hover {
  background: #25D366;
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.social-btn.social-fb:hover {
  background: #1877F2;
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4);
}

.social-btn.social-tt:hover {
  background: #000000;
  color: #00f2fe;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), 0 0 12px rgba(255, 0, 80, 0.4);
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--accent-red);
  border-radius: var(--radius-pill);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-red);
  padding-left: 5px;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.footer-contact-info i {
  color: var(--accent-red);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating Social Stack (WhatsApp, Facebook, TikTok) */
.floating-social-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.floating-social-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.floating-social-btn.facebook-float {
  background: #1877F2;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.45);
}

.floating-social-btn.facebook-float:hover {
  transform: scale(1.14) translateY(-3px);
  box-shadow: 0 10px 28px rgba(24, 119, 242, 0.65);
}

.floating-social-btn.tiktok-float {
  background: #010101;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.floating-social-btn.tiktok-float:hover {
  transform: scale(1.14) translateY(-3px);
  color: #00f2fe;
  box-shadow: 0 10px 28px rgba(255, 0, 80, 0.5), 0 0 14px rgba(0, 242, 254, 0.5);
}

.floating-social-btn.whatsapp-float {
  width: 58px;
  height: 58px;
  font-size: 1.8rem;
  background: #25D366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  animation: pulseGreen 2s infinite;
}

.floating-social-btn.whatsapp-float:hover {
  transform: scale(1.14) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toast {
  background: var(--primary-green-dark);
  color: var(--text-white);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
  border-left: 4px solid var(--accent-red);
  animation: slideInLeft 0.3s ease;
}

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

/* Blueprint Diagram Styling */
.blueprint-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: #D1E7DD;
  margin-top: 0.8rem;
}

.blueprint-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.blueprint-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.blueprint-legend .dot-pump { background: #526A5E; border: 1px solid #FFF; }
.blueprint-legend .dot-main { background: #22A04B; }
.blueprint-legend .dot-connector { background: #FFFFFF; border: 1px solid #E31B23; }
.blueprint-legend .dot-valve { background: #E31B23; }
.blueprint-legend .dot-gotero { background: #E31B23; border: 1px solid #FFF; }
.blueprint-legend .dot-tapon { background: #FFB800; }

/* ==========================================================================
   EXHAUSTIVE RESPONSIVE MEDIA QUERIES (320px to 1200px)
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .hero-grid, .calc-wrapper-card, .modal-card {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-menu.mobile-active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
  }

  .mobile-menu-toggle {
    display: block;
  }

  .floating-card-badge {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .top-bar-info {
    font-size: 0.78rem;
  }
  .top-bar-actions {
    font-size: 0.78rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .form-row-dual, .calc-metrics-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hdpe-banner-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .brand-logo {
    height: 42px;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.9rem;
  }
  .calc-form-side, .calc-results-side, .modal-body, .modal-card.admin-modal-card {
    padding: 1.5rem 1rem;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
    bottom: 15px;
    right: 15px;
  }
}
