:root{
  /* Guest theme */
  --bg:#ebecee;         /* Athens Gray */
  --card:#ffffff;       /* White */
  --text:#172425;       /* Bunker */
  --muted:#798c96;      /* Slate Gray */
  --line:#d3d3d3;       /* Alto */
  --shadow:0 14px 30px rgba(23,36,37,.10);

  /* Accent */
  --primary:#04a2e2;    /* Cerulean */
  --primary2:#04a2e2;   /* Links / accents */
  --header-offset:140px;
}

/* ============================================================
   Desktop header alignment polish (all templates)
   ============================================================ */

@media (min-width: 901px){
  /* Ensure the header row height actually shrinks when the logo shrinks */
  .site-header .header-inline,
  .site-header .header-stacked{
    min-height: var(--header-h, 76px);
  }
  body.is-home .site-header.is-scrolled .header-inline,
  body.is-home .site-header.is-scrolled .header-stacked{
    min-height: var(--header-h-sm, 58px);
  }

  /* Keep brand and nav vertically aligned across all templates */
  .site-header .brand,
  .site-header .brand-center,
  .site-header .nav,
  .site-header .nav-left,
  .site-header .nav-right{
    display: flex;
    align-items: center;
  }

  /* Avoid logo introducing extra baseline space */
  .site-header .logo img{
    display: block;
  }

  /* Inline (logo left, menu right): lock to one row */
  .site-header .layout-inline_left .header-inline{
    align-items: center;
  }
  .site-header .layout-inline_left .nav{
    align-items: center;
  }

  /* Inline (menu split, logo center): keep everything on one row */
  .site-header .layout-inline_center_split .header-inline{
    align-items: center;
  }
  .site-header .layout-inline_center_split .nav-left,
  .site-header .layout-inline_center_split .nav-right{
    gap: 14px;
  }
  .site-header .layout-inline_center_split .brand-center{
    justify-content: center;
  }

  /* Links should not change row height */
  .site-header .nav a,
  .site-header .nav-left a,
  .site-header .nav-right a{
    line-height: 1;
    display: inline-flex;
    align-items: center;
  }
}


*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  background:var(--bg);
  color:var(--text)
}
html, body{overflow-x:hidden}


a{color:inherit;text-decoration:none}
.container{max-width:1120px;margin:0 auto;padding:0 16px}

.site-header{
  position:sticky;
  top:0;
  background:rgba(235,236,238,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  z-index:50
}

.header-divider{border-top:1px solid var(--line)}

/* =========================
   HEADER: desktop vs mobile visibility
   ========================= */

/* Desktop header wrapper should NOT force flex */
.header-desktop{display:block}

/* Mobile header bar hidden on desktop */
.header-mobile{
  display:none;
  align-items:center;
  justify-content:center;
  padding:10px 0;
  position:relative
}

.header-mobile .brand{width:100%;display:flex;align-items:center;justify-content:center}

/* Default: hamburger on the left (stacked + inline_center_split) */
.header-mobile .nav-toggle{position:absolute;left:14px;top:50%;transform:translateY(-50%)}

/* inline_left: hamburger on the right, brand aligned left */
.layout-inline_left .header-mobile{justify-content:flex-start}
.layout-inline_left .header-mobile .brand{justify-content:flex-start}
.layout-inline_left .header-mobile .nav-toggle{left:auto;right:14px}

/* =========================
   HEADER: brand + logo
   ========================= */

.brand{display:flex;align-items:center;gap:10px}
.brand-center{justify-content:center;justify-self:center}
.logo{height:54px;width:auto;object-fit:contain;display:block}
.brand-text{font-weight:700;letter-spacing:.3px;white-space:nowrap}

/* =========================
   HEADER: nav
   ========================= */

.nav{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap
}
.nav-left{justify-content:flex-end}
.nav-right{justify-content:flex-start}
.nav-center{justify-content:center}

.nav a{
  padding:8px 10px;
  border-radius:10px;
  color:var(--muted)
}
.nav a:hover{background:rgba(15,23,42,.06);color:var(--text)}
.nav a.active{color:var(--text);text-decoration:underline;text-underline-offset:8px}

/* =========================
   HEADER PRESETS
   ========================= */

/* Preset: stacked_center -> logo top center, nav below center */
.layout-stacked_center .header-top.logo-only{
  display:flex;
  justify-content:center;
  padding:10px 0
}
.layout-stacked_center .header-bottom{
  display:flex;
  justify-content:center;
  padding:8px 0
}

/* Preset: inline_left -> logo left, nav right */
.layout-inline_left .header-inline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0
}
.layout-inline_left .nav-center{
  justify-content:flex-end;
  flex:1
}

/* Preset: inline_center_split -> nav left + logo center + nav right */
.layout-inline_center_split .header-inline{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:10px 0;
  gap:12px
}
.layout-inline_center_split .nav-left{justify-content:flex-end}
.layout-inline_center_split .nav-right{justify-content:flex-start}

/* ============================================================
   FIXED: Desktop Alignment Logic (v1.9.4)
   - Force Single Row
   - Fix "Inline Left" to push menu right
   - Fix "Inline Split" to cluster center
   ============================================================ */

@media (min-width: 981px){
  /* 1. General Resets */
  .site-header .nav,
  .site-header .nav-left,
  .site-header .nav-right {
    flex-wrap: nowrap !important; /* Never wrap menu items on desktop */
    width: auto;
  }

  /* 2. Inline Left (Logo Left / Menu Right) 
     We must override the default 'nav-center' class behavior 
     to force alignment to the right side.
  */
  .layout-inline_left .header-inline {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between; /* Space out logo and menu */
    width: 100%;
  }
  
  .layout-inline_left .brand {
    flex: 0 0 auto;
    margin-right: auto; /* Push everything else to the right */
  }

  .layout-inline_left .nav,
  .layout-inline_left .nav-center {
    flex: 1 1 auto;
    justify-content: flex-end !important; /* Force right alignment */
    gap: 24px; /* Clean spacing between items */
    margin-left: auto; /* Ensure it sticks to the right */
  }

  /* 3. Inline Center Split (Menu Left / Logo Center / Menu Right) */
  .layout-inline_center_split .header-inner {
    display: flex;
    justify-content: center;
  }

  .layout-inline_center_split .header-inline {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: auto;
    max-width: 100%;
  }

  .layout-inline_center_split .nav-left,
  .layout-inline_center_split .nav-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
  }
  
  .layout-inline_center_split .nav-left { justify-content: flex-end; }
  .layout-inline_center_split .nav-right { justify-content: flex-start; }

  .layout-inline_center_split .brand-center {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 10px;
  }
}

/* =========================================
   FIXED HEADER (Inner Pages Only)
   ========================================= */

/* 1. Force Header to Stay Fixed on Top */
body:not(.is-home) .site-header {
    position: fixed !important; /* Forces it to stay put */
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999; /* High priority z-index */
    background-color: #ffffff; /* Solid white background */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Popfessional shadow */
}

/* 2. Push Content Down */
/* Since the header is fixed, we need to add padding to the body 
   so the first section doesn't hide behind the menu. */
body:not(.is-home) {
    padding-top: 85px; /* Adjust this number if your header is taller/shorter */
}

/* 3. Mobile Nav Z-Index Fix */
/* Ensures the drawer opens ON TOP of the fixed header */
.mobile-nav {
    z-index: 10000 !important;
}
.mobile-nav-backdrop {
    z-index: 9999 !important;
}

/* =========================================
   MOBILE FOOTER: Clean Stacked Layout
   ========================================= */

@media (max-width: 768px) {

    /* 1. Main Container */
    .footer-inner {
        display: flex;
        flex-direction: column;
        gap: 40px !important; /* Good spacing between major blocks */
        padding-bottom: 30px;
    }

    /* --- SECTION 1: BRAND (Top) --- */
    .footer-col.footer-brand {
        order: 1;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    .footer-brand-text {
        font-size: 24px;
        font-weight: 800;
        margin-bottom: 8px;
    }
    .footer-meta {
        margin-top: 10px;
        color: #64748b;
        font-size: 14px;
        line-height: 1.6;
    }

    /* --- SECTION 2: NEWSLETTER (Middle) --- */
    .footer-col:nth-child(3) {
        order: 2;
        text-align: center;
        background: #f8fafc;
        padding: 24px 20px;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        margin: 0 10px;
    }
    .footer-col:nth-child(3) .footer-title {
        font-size: 16px;
        color: #1e293b;
        margin-bottom: 6px;
        text-transform: none;
        letter-spacing: 0;
    }
    .newsletter-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-width: 100%;
        margin: 0 auto;
    }
    .newsletter-form input {
        text-align: center;
        border-radius: 8px;
        border: 1px solid #cbd5e1;
        padding: 12px;
    }
    .newsletter-form button {
        border-radius: 8px;
        padding: 12px;
        background: #0f172a;
        color: white;
        justify-content: center;
    }

    /* --- SECTION 3: LINKS & SOCIAL (Stacked Cleanly) --- */
    .footer-col:nth-child(2) {
        order: 3;
        display: flex;
        flex-direction: column; /* STACKED VERTICALLY */
        gap: 30px; /* Space between Links block and Social block */
        text-align: center;
        align-items: center;
        border-top: 1px dashed #e2e8f0;
        padding-top: 30px;
    }

    /* Generic Title Style */
    .footer-col:nth-child(2) .footer-title {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: #94a3b8;
        margin-bottom: 15px;
        font-weight: 700;
        display: block;
    }

    /* Links List */
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .footer-links a {
        font-size: 16px; /* Slightly larger for easier tapping */
        color: #334155;
        text-decoration: none;
        font-weight: 500;
        padding: 5px 0;
    }

    /* Social List */
    .footer-social-icons {
        display: flex;
        flex-direction: row; /* Icons side-by-side */
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    /* Social Button Style */
    .social-icon {
        background: #fff;
        border: 1px solid #e2e8f0;
        padding: 10px 20px;
        border-radius: 50px; /* Pill shape */
        display: flex;
        align-items: center;
        gap: 8px;
        color: #334155;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    .social-icon .icon {
        display: flex;
        width: 18px;
        height: 18px;
        color: var(--primary);
    }
    .social-icon .small {
        font-size: 14px;
        font-weight: 600;
    }

    /* --- FOOTER BOTTOM --- */
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding-top: 10px;
        opacity: 0.6;
        font-size: 12px;
    }
}

/* =========================================
   DARK SECTIONS (Home Updates & Price List)
   ========================================= */

.section-dark {
    background-color: #0b1220; /* Industrial Dark Blue */
    color: #ffffff;
    padding: 80px 0;
    position: relative;
}

/* Ensure headings in dark sections are white */
.section-dark h2, 
.section-dark h3, 
.section-dark .section-title,
.section-dark .card-title {
    color: #ffffff;
}

/* Subtext in dark sections */
.section-dark p, 
.section-dark .muted {
    color: #cbd5e1; /* Light Slate */
}

/* Buttons in dark sections need to be white/transparent */
.section-dark .btn-outline {
    color: #ffffff;
    border-color: rgba(255,255,255,0.3);
}
.section-dark .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border-color: #ffffff;
}

/* Cards inside dark sections should stay white for contrast ("Pop" effect) */
.section-dark .card,
.section-dark .product-card,
.section-dark .value-item {
    background: #ffffff;
    color: #172425; /* Dark text inside cards */
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* Stronger shadow for depth */
}

/* Reset text colors inside the white cards so they are readable */
.section-dark .card h2, 
.section-dark .card h3,
.section-dark .card .card-title,
.section-dark .product-card .pc-title {
    color: #172425;
}
.section-dark .card p,
.section-dark .product-card .price {
    color: #444; /* Or your primary color for price */
}
.section-dark .product-card .price {
    color: var(--primary);
}


/* =========================================
   ABOUT US PAGE (HDPEPH Style)
   ========================================= */

/* 1. Hero Section */
.about-hero {
    position: relative;
    background-color: #0b1220;
    color: #fff;
    padding: 80px 0;
    margin-bottom: 40px;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 20px 20px; /* Modern touch */
    overflow: hidden;
}
.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 162, 226, 0.9), rgba(11, 18, 32, 0.9));
    z-index: 1;
}
.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.about-hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.about-hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 400;
}

/* 2. Intro Section (Split Layout) */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}
@media (min-width: 992px) {
    .about-intro-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}
.about-intro-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
}
.about-intro-text h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary); /* Cerulean */
    margin-bottom: 20px;
    text-transform: uppercase;
}
.about-intro-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 20px 20px 0 rgba(4, 162, 226, 0.15); /* Offset shadow effect */
}
.about-intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}
.about-intro-image:hover img {
    transform: scale(1.03);
}

/* 3. Mission & Vision Cards */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}
@media (min-width: 768px) {
    .mv-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.mv-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}
.mv-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}
.mv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: var(--primary);
}
.mv-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: rgba(4, 162, 226, 0.1);
    border-radius: 50%;
    color: var(--primary);
}
.mv-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #172425;
}
.mv-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* 4. Core Values / Why Choose Us */
.values-section {
    background: #f8fafc;
    padding: 60px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 40px;
}
.section-title-center {
    text-align: center;
    margin-bottom: 40px;
}
.section-title-center h3 {
    font-size: 32px;
    font-weight: 900;
    color: #172425;
    margin-bottom: 10px;
}
.section-title-center p {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.value-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid var(--line);
    text-align: center;
    transition: 0.3s;
}
.value-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.value-item h4 {
    font-weight: 800;
    margin: 15px 0 10px;
    color: var(--primary);
}
/* =========================
   HAMBURGER
   ========================= */

.nav-toggle{
  width:42px;
  height:38px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  cursor:pointer
}
.nav-toggle span{
  display:block;
  width:18px;
  height:2px;
  background:var(--text);
  opacity:.9;
  border-radius:2px
}
.nav-toggle:hover{background:rgba(255,255,255,.05)}

/* =========================
   MOBILE DRAWER (default hidden)
   ========================= */

/* Mobile drawer (HDPEPH-like: clean + light) */
.mobile-nav{
  position: fixed;
  top: 0;
  bottom: 0;
  width: min(86vw, 360px);
  height: 100vh;
  background: #ebecee;
  color: #151e29;
  border-right: 1px solid rgba(21,30,41,.12);
  z-index: 80;

  left: 0;
  right: auto;
  transform: translateX(-110%);
  transition: transform .22s ease;
  will-change: transform;

  display: none; /* enabled on mobile only */
}

.mobile-nav.mobile-nav--right{
  left: auto;
  right: 0;
  border-right: 0;
  border-left: 1px solid rgba(21,30,41,.12);
  transform: translateX(110%);
}
.mobile-nav-inner{padding:16px}
.mobile-nav-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px
}
.mobile-nav-title{font-weight:900;color:#151e29}
.mobile-nav-close{
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid rgba(21,30,41,.18);
  background: rgba(255,255,255,.65);
  color:#151e29;
  font-size:22px;
  line-height:1;
  cursor:pointer
}
.mobile-nav-close:hover{background: rgba(255,255,255,.85)}

.mobile-links{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-top:10px
}
.mobile-links a{
  padding:10px 12px;
  border-radius:12px;
  color:#151e29;
  border:1px solid transparent;
  background: rgba(255,255,255,.5)
}
.mobile-links a:hover{background: rgba(255,255,255,.85)}
.mobile-links a.active{
  background: rgba(255,255,255,.95);
  border-color: rgba(21,30,41,.18)
}

.mobile-nav-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(21,30,41,.35);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 70;

  display: none; /* hidden by default, enabled on mobile only */
}

body.nav-open .mobile-nav{transform: translateX(0)}
body.nav-open .mobile-nav-backdrop{opacity:1;pointer-events:auto}

/* =========================
   UI & Modern Inputs (Light Mode)
   ========================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  background:var(--primary);
  color:#fff;
  font-weight:700;
  border:0;
  cursor:pointer;
  transition: filter .2s, transform .2s;
}
.btn:hover{
  filter:brightness(1.05);
  transform: translateY(-1px);
}

.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:transparent;
  color:var(--text);
  font-weight:700;
  transition: background .2s, border-color .2s;
}
.btn-outline:hover{
  background: #ffffff;
  border-color: #b0b0b0;
  color: var(--text);
}

.link{color:var(--primary2)}
.main{min-height:70vh}
.section{padding:30px 0}
.section-inner{max-width:980px;margin:0 auto}
.hero{padding:44px 0 22px}
.hero-inner{display:grid;grid-template-columns:1.3fr .9fr;gap:18px;align-items:start}
.hero h1{font-size:40px;line-height:1.1;margin:0 0 10px}
.muted{color:var(--muted)}
.small{font-size:13px}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.hero-card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow)}
.hero-card-title{font-weight:800;margin-bottom:10px}

/* =========================
   HOME HERO SLIDER
   ========================= */

.hero-slider-wrap{padding:18px 0 22px}
.hero-slider{position:relative;overflow:hidden;border-radius:22px;border:1px solid var(--line);background:#f1f5f9;aspect-ratio:16/9;height:auto}
.hero-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity .45s ease}
.hero-slide.is-active{opacity:1}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.50))}
.hero-content{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px}
.hero-content h1{font-size:clamp(34px,5vw,64px);line-height:1.05;margin:0 0 10px;text-shadow:0 10px 30px rgba(0,0,0,.45)}
.hero-content p{max-width:840px;margin:0 auto;text-shadow:0 10px 30px rgba(0,0,0,.35)}
.hero-actions{justify-content:center}
.hero-copy.is-hidden{display:none}

.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.35);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.hero-arrow:hover{background:rgba(0,0,0,.55)}
.hero-arrow.prev{left:14px}
.hero-arrow.next{right:14px}

.hero-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;gap:8px;justify-content:center;align-items:center;padding:0 12px}
.hero-dot{width:8px;height:8px;border-radius:999px;border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.2);cursor:pointer}
.hero-dot.is-active{background:#fff}

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

/* Modern Light Mode Search & Inputs */
.search{display:flex;gap:10px}
.search input,
.form input,
.form textarea,
.form select {
  flex:1;
  padding:11px 12px;
  border-radius:12px;
  border:1px solid #d1d5db; /* Light grey border */
  background:#ffffff; /* Clean white background */
  color:var(--text);
  font-family: inherit;
  font-size: 15px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: border-color .2s, box-shadow .2s;
}
.search input:focus,
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(4, 162, 226, 0.15);
}
.search-wide input{min-width:260px}

.grid{display:grid;gap:18px}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow)}
.card-title{font-weight:800;margin-bottom:6px}

/* Category tiles + category header (guest catalog)
   Goal: no cropping; show full image using object-fit:contain with blurred background fill. */
.cat-grid{gap:16px}
.cat-tile{display:block;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:var(--card);box-shadow:var(--shadow)}
.cat-media{position:relative;aspect-ratio:3/4;height:auto;background:#f1f5f9}
.cat-media-bg{position:absolute;inset:-18px;background-size:cover;background-position:center;filter:blur(18px);transform:scale(1.08);opacity:.55}
.cat-media-bg--placeholder{background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.02))}
.cat-media-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}

/* UPDATED: "Greyish" Dark Overlay for White Text
   Reduced blur + Dark Grey transparency to make white text pop on any background */
.cat-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:18px;
  color:#fff;
  /* Dark Slate Grey (40,44,52) at 60% opacity = clean dark greyish glass */
  background: rgba(40, 44, 52, 0.6); 
  backdrop-filter: blur(2px); /* Reduced blur as requested */
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.cat-name{font-size:clamp(22px,3.2vw,34px);line-height:1.05;font-weight:900;text-shadow:0 2px 8px rgba(0,0,0,.6)}
.cat-desc{max-width:92%;margin-top:10px;font-size:14px;line-height:1.35;color:rgba(255,255,255,.95);opacity:0;transform:translateY(6px);transition:opacity .18s ease,transform .18s ease;text-shadow:0 2px 6px rgba(0,0,0,.55);}
.cat-tile:hover .cat-desc{opacity:1;transform:translateY(0)}
.cat-desc--empty{opacity:.85}

.cat-hero{display:flex;gap:16px;align-items:stretch;margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--card);box-shadow:var(--shadow)}
.cat-hero--textonly{align-items:center;}
.cat-hero-media{width:220px;min-width:220px;border-radius:16px;overflow:hidden;background:#f1f5f9;position:relative}
.cat-hero-media .cat-media-bg{opacity:.45}
.cat-hero-media .cat-media-img{object-fit:contain}
.cat-hero-text{display:flex;flex-direction:column;justify-content:center;gap:6px}
.cat-hero-title{font-size:22px;font-weight:900}


.cat-tile--all{background:#ffffff;border-color:rgba(0,0,0,.08)}
.cat-tile--all .cat-media{background:#ffffff}
.cat-tile--all .cat-overlay{color:#0b1220;text-shadow:0 2px 10px rgba(0,0,0,.15)}
.cat-tile--all .cat-name{color:#0b1220;text-shadow:0 2px 10px rgba(0,0,0,.12)}
.cat-tile--all .cat-desc{color:rgba(11,18,32,.75);text-shadow:none}
.cat-tile--all:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(0,0,0,.25)}

@media (max-width: 980px){
  .cat-grid.grid-3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 640px){
  .cat-grid.grid-3{grid-template-columns:1fr}
}

@media (max-width: 720px){
  .cat-hero{flex-direction:column}
  .cat-hero-media{width:100%;min-width:0;height:170px}
  .cat-media{aspect-ratio:4/3}
  .cat-name{font-size:26px}
  .cat-desc{opacity:1;transform:none}
}
/* Removed old .product-card block to avoid duplicates */

.price.big{font-size:22px}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;} /* More breathing room */
.section-head.center{justify-content:center;text-align:center;flex-direction:column;gap:6px}
.banner-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.banner-tile{display:block;border-radius:16px;overflow:hidden;border:1px solid var(--line);background:#f1f5f9;box-shadow:var(--shadow)}
.banner-tile img{width:100%;height:140px;object-fit:cover;display:block;opacity:.98}
.banner-strip-footer{grid-template-columns:repeat(4,1fr)}
.footer-banners{padding-top:10px;padding-bottom:10px}

.map-block{padding-top:0}
.map-card{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}
.map-card iframe{width:100% !important;height:380px !important;border:0 !important;display:block}
.embed-map-fixed,.embed-map-container{width:100% !important;max-width:100% !important}
.embed-map-container iframe{width:100% !important}

/* Footer banners should show the whole image (no cropping) */
.footer-banners .banner-tile{background:#fff}
.footer-banners .banner-tile img{object-fit:contain;background:#fff;padding:10px;height:150px;opacity:1}
.banner-row{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.banner{position:relative;border-radius:16px;overflow:hidden;border:1px solid var(--line);background:#f1f5f9;min-height:140px;box-shadow:var(--shadow)}
.banner img{width:100%;height:100%;object-fit:cover;opacity:.9}
.banner-meta{position:absolute;left:0;right:0;bottom:0;padding:12px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.7))}
.banner-title{font-weight:900}
.catalog-head{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap}
.catalog-grid{display:grid;grid-template-columns:280px 1fr;gap:16px;margin-top:14px}
.filters{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:12px;position:sticky;top:var(--header-offset);height:fit-content;box-shadow:var(--shadow)}
.filter-title{font-weight:900;margin-bottom:10px}
.filter{display:block;padding:9px 10px;border-radius:12px;color:var(--muted)}
.filter:hover{background:rgba(15,23,42,.06);color:var(--text)}
.filter.active{background:rgba(37,99,235,.10);border:1px solid rgba(37,99,235,.18);color:var(--text)}
.pager{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}
.page{padding:8px 10px;border-radius:12px;border:1px solid var(--line);color:var(--muted)}
.page.active{background:rgba(15,23,42,.06);color:var(--text)}
.breadcrumbs{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:13px;margin-bottom:10px;flex-wrap:wrap}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:28px;align-items:start}
.gallery .main-img{position:relative;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#f1f5f9;aspect-ratio:1/1;max-height:520px}
.gallery .main-img .main-img-bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:blur(18px);transform:scale(1.08);opacity:.55}
.gallery .main-img img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;background:transparent}
.gallery .main-img .main-img-empty{display:flex;align-items:center;justify-content:center;height:100%;color:var(--muted);font-size:14px}

.thumb-row{display:flex;gap:10px;flex-wrap:nowrap;overflow-x:auto;margin-top:10px;padding-bottom:4px;-webkit-overflow-scrolling:touch}
.thumb-btn{border:0;background:transparent;padding:0;cursor:pointer;border-radius:14px;outline:none}
.thumb-sm{width:68px;height:68px;object-fit:cover;border-radius:14px;border:1px solid var(--line);background:#f1f5f9}
.thumb-btn.is-active .thumb-sm{border-color:rgba(37,99,235,.55);box-shadow:0 0 0 2px rgba(37,99,235,.18) inset}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.form label{display:block;font-size:13px;color:var(--muted);margin:10px 0 6px}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.alert{padding:10px 12px;border-radius:12px;border:1px solid var(--line);margin:10px 0}
.alert.success{border-color:rgba(16,185,129,.35);background:rgba(16,185,129,.12)}
.alert.error{border-color:rgba(239,68,68,.35);background:rgba(239,68,68,.12)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.footer{border-top:1px solid var(--line);padding:34px 0;background:#ffffff}
.footer-inner{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:22px;align-items:start}
.footer-title{font-weight:900;margin-bottom:10px}
.footer-logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
.footer-logo img{height:44px;width:auto;max-width:220px;object-fit:contain}
.footer-brand-text{font-weight:900;font-size:18px;color:var(--text)}
.footer-desc{margin-top:10px;max-width:420px}
.footer-meta{margin-top:12px}
.footer-links a{display:block;padding:5px 0;color:var(--muted)}
.footer-links a:hover{color:var(--text)}
.footer-social-icons{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.social-icon{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:14px;border:1px solid rgba(15,23,42,.14);color:var(--muted);text-decoration:none}
.social-icon:hover{background:rgba(15,23,42,.06);color:var(--text)}
.social-icon .icon{display:inline-flex}
.social-icon .small{font-size:12px}
.newsletter-form{display:flex;gap:10px;max-width:420px;margin-top:10px}
.newsletter-form input{flex:1;min-width:0}
.footer-bottom{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}
.footer-custom{flex:1;min-width:220px;text-align:center}
.messenger-fab{position:fixed;right:18px;bottom:18px;background:var(--primary2);color:#fff;font-weight:800;padding:12px 14px;border-radius:999px;box-shadow:0 10px 30px rgba(2,6,23,.22)}
.mt-8{margin-top:8px}.mt-12{margin-top:12px}.mt-16{margin-top:16px}
.prose{color:var(--text);line-height:1.65}
.hero-img img{width:100%;height:320px;object-fit:cover;border-radius:16px;border:1px solid var(--line)}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 980px){
  .header-desktop{display:none !important}
  .header-mobile{display:flex !important}
  .mobile-nav{ display:block; }
  .mobile-nav-backdrop{ display:block; }

  .hero-inner{grid-template-columns:1fr}
  .hero-slider{aspect-ratio:4/3;height:auto}
  .hero-arrow{width:40px;height:40px}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .banner-strip{grid-template-columns:repeat(2,1fr)}
  .banner-strip-footer{grid-template-columns:repeat(2,1fr)}
  .catalog-grid{grid-template-columns:1fr}
  .filters{position:relative;top:auto}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:28px;align-items:start}
  .gallery .main-img{max-height:420px}
  .contact-grid{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr;gap:18px}
  .footer-bottom{justify-content:center;text-align:center}
}

@media (max-width: 520px){
  .grid-4,.grid-3{grid-template-columns:1fr}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:28px;align-items:start}
  .thumb{height:170px}
  .banner-strip,.banner-strip-footer{grid-template-columns:1fr}
  .nav{gap:6px}
  .nav a{padding:8px}
  :root{--header-offset:110px}
  .logo{height:44px}
  .hero-slider{aspect-ratio:4/3;height:auto;border-radius:18px}
  .hero-content h1{font-size:32px}
}

/* Popups / Ads */
.pcms-popup-root{position:fixed;inset:0;display:none;align-items:center;justify-content:center;z-index:9999;padding:16px;}
.pcms-popup-root.is-open{display:flex;}
.pcms-popup-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.6);}
.pcms-popup-modal{position:relative;max-width:720px;width:100%;background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 25px 60px rgba(0,0,0,.45);}
.pcms-popup-close{position:absolute;top:10px;right:12px;z-index:2;width:36px;height:36px;border-radius:999px;border:1px solid rgba(255,255,255,.15);background:rgba(0,0,0,.25);color:#fff;font-size:22px;line-height:32px;cursor:pointer;}
.pcms-popup-content{position:relative;}
.pcms-popup-content img{display:block;width:100%;height:auto;}
.pcms-popup-html{padding:18px;color:var(--text);}
.pcms-popup-title{padding:14px 18px 0;color:var(--text);font-weight:800;font-size:18px;line-height:1.2;}
.pcms-popup-link{position:absolute;inset:0;display:block;}

/* Popup templates (no DB field needed)
   Default behavior: if you add BOTH an image and content, we show a split layout.
   You can force a layout by adding data-pcms-layout in the editor snippets. */
/*
  Split layout (image + text side-by-side)

  NOTE: JS uses the class `.pcms-popup-layout-split`, while older CSS used
  `.pcms-popup-split`. Keep both selectors so layouts work reliably.
*/
.pcms-popup-split,
.pcms-popup-layout-split{display:flex;min-height:260px;}
.pcms-popup-split .pcms-popup-media,
.pcms-popup-layout-split .pcms-popup-media{flex:0 0 56%;background:#000;}
.pcms-popup-split .pcms-popup-media img,
.pcms-popup-layout-split .pcms-popup-media img{width:100%;height:100%;object-fit:cover;}
.pcms-popup-split .pcms-popup-html,
.pcms-popup-layout-split .pcms-popup-html{flex:1 1 auto;}
.pcms-popup-split.is-reverse,
.pcms-popup-layout-split.is-reverse{flex-direction:row-reverse;}

@media (max-width: 720px){
  .pcms-popup-split,
  .pcms-popup-layout-split{flex-direction:column;min-height:0;}
  .pcms-popup-split.is-reverse,
  .pcms-popup-layout-split.is-reverse{flex-direction:column;}
  .pcms-popup-split .pcms-popup-media,
  .pcms-popup-layout-split .pcms-popup-media{flex:0 0 auto;}
  .pcms-popup-split .pcms-popup-media img,
  .pcms-popup-layout-split .pcms-popup-media img{height:auto;}

  /* Home hero: show the full banner on mobile (avoid harsh cropping) */
  .hero-slide{background-size:contain;background-repeat:no-repeat;background-position:center;}
}

/* Side popups (notification-style stack) */
.pcms-side-stack{position:fixed;left:16px;bottom:16px;z-index:9998;display:flex;flex-direction:column-reverse;gap:12px;max-width:min(360px, calc(100vw - 32px));}
.pcms-side-card{position:relative;background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 20px 45px rgba(0,0,0,.35);}
.pcms-side-close{position:absolute;top:8px;right:10px;z-index:3;width:32px;height:32px;border-radius:999px;border:1px solid rgba(255,255,255,.15);background:rgba(0,0,0,.25);color:#fff;font-size:20px;line-height:28px;cursor:pointer;}
.pcms-side-media{position:relative;}
.pcms-side-media img{display:block;width:100%;height:180px;object-fit:cover;}
.pcms-side-title{padding:12px 14px 0;color:var(--text);font-weight:800;font-size:15px;line-height:1.2;}
.pcms-side-body{padding:12px 14px;color:var(--text);font-size:14px;line-height:1.4;}
.pcms-side-link{position:absolute;inset:0;display:block;}

/* When an ad has BOTH image + rich content, show a nice side-by-side layout */
.pcms-side-card.pcms-side-split{display:flex;}
.pcms-side-card.pcms-side-split .pcms-side-media{flex:0 0 40%;}
.pcms-side-card.pcms-side-split .pcms-side-media img{height:100%;min-height:180px;}
.pcms-side-card.pcms-side-split .pcms-side-body{flex:1 1 auto;}

@media (max-width: 520px){
  .pcms-side-stack{left:12px;right:12px;max-width:unset;}
  .pcms-side-media img{height:160px;}
}
@media (max-width: 640px){
  .pcms-popup-modal{max-width:96vw;border-radius:14px;}
}


/* Side popup (non-blocking) */
.pcms-popup-root.is-side{justify-content:flex-start;align-items:flex-end;padding:20px;pointer-events:none;}
.pcms-popup-root.is-side .pcms-popup-modal{max-width:360px;width:360px;border-radius:14px;overflow:hidden;pointer-events:auto;}
.pcms-popup-root.is-side .pcms-popup-close{top:8px;right:10px;}
.pcms-popup-root.is-side .pcms-popup-content img{max-height:190px;object-fit:cover;}
.pcms-popup-root.is-side .pcms-popup-html{padding:14px;}

/* Side card: allow image + text combo */
.pcms-popup-root.is-side .pcms-popup-content img{width:100%;height:180px;object-fit:cover;}
.pcms-popup-root.is-side .pcms-popup-html{padding:14px;}
@media (max-width: 520px){
  .pcms-popup-root.is-side{padding:14px;}
  .pcms-popup-root.is-side .pcms-popup-modal{width:calc(100% - 28px);max-width:420px;}
}
/* ============================================================
   Homepage header behavior (hdpeph-like)
   - Homepage only: header overlays the hero/banner, transparent
   - Logo starts larger
   - On scroll: header becomes solid (light) + logo shrinks
   - Sticky header never disappears
   Note: No header template HTML changes needed.
   ============================================================ */

body.is-home{ --header-h:96px; }

body.is-home .site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  background:transparent;
  border-bottom:1px solid rgba(255,255,255,.18);
  box-shadow:none;
  backdrop-filter:none;
}

body.is-home .site-header .container{
  min-height:96px;
  padding-top:14px;
  padding-bottom:14px;
  transition:min-height .2s ease, padding .2s ease;
}

/* Homepage header uses container padding for spacing.
   Remove default inner padding to avoid an overly tall header on desktop. */
body.is-home .site-header .header-inner{padding:0;}
body.is-home .site-header.is-scrolled .container{
  min-height:64px;
  padding-top:8px;
  padding-bottom:8px;
}

body.is-home .site-header .logo{
  height:92px;
  transition:height .22s ease, transform .22s ease;
  transform-origin:center top;
}

/* Make text readable over the banner */
body.is-home .site-header a,
body.is-home .site-header .brand-text,
body.is-home .site-header .nav a{
  color:#ffffff;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}

body.is-home .site-header .nav a{
  padding:10px 14px;
  border-radius:12px;
}
body.is-home .site-header .nav a:hover{ background:rgba(255,255,255,.12); }
body.is-home .site-header .nav a.active{
  background:rgba(255,255,255,.18);
  border-color:rgba(255,255,255,.28);
}

/* Hero should start at the very top (banner behind header) */
body.is-home .hero{
  margin-top:0;
  padding-top:0;
  max-width:100%;
  border-radius:0;
  box-shadow:none;
}
/* Homepage banner set to a controlled height (instead of filling the screen).
   We size the banner section itself, not the image, so any slide still covers.
   Works with the sticky/overlay header behavior. */
body.is-home .hero-slider{
  border-radius:0;
  aspect-ratio:auto;
  height:70vh;
}
body.is-home .hero-slide{ min-height:0; border-radius:0; }

@media (max-width: 768px){
  body.is-home .hero-slider{ height:60vh; }
}

/* push the hero text down so it doesn't sit behind the header */
body.is-home .hero-content{ padding-top:calc(var(--header-h, 96px) + 28px); }

/* When scrolled, switch to solid light header + dark text */
body.is-home .site-header.is-scrolled{
  background:rgba(235,236,238,.95);
  border-bottom:1px solid rgba(211,211,211,.85);
  box-shadow:0 10px 30px rgba(0,0,0,.10);
  backdrop-filter:saturate(140%) blur(10px);
}

body.is-home .site-header.is-scrolled a,
body.is-home .site-header.is-scrolled .brand-text,
body.is-home .site-header.is-scrolled .nav a{
  color:var(--text);
  text-shadow:none;
}
body.is-home .site-header.is-scrolled .nav a:hover{ background:rgba(4,162,226,.10); }
body.is-home .site-header.is-scrolled .nav a{ padding:6px 10px; }
body.is-home .site-header.is-scrolled .logo{ height:52px; }

@media (min-width: 901px){
  body.is-home .site-header.is-scrolled .container{min-height:56px;}
  body.is-home .site-header.is-scrolled .logo{height:44px;}
}
@media (max-width: 900px){
  body.is-home .site-header .logo{height:64px}
  body.is-home .site-header.is-scrolled .logo{height:46px}
}

/* Mobile notch safe-area + hero fit */
:root{--safe-top: env(safe-area-inset-top, 0px);}
.site-header{padding-top: var(--safe-top);}
.site-header .header-inner{padding-top: 0;}
@supports (padding-top: env(safe-area-inset-top)){
  body.is-home .site-header{padding-top: env(safe-area-inset-top);}
}
@media (max-width: 900px){
  /* Mobile: make the HOME banner feel full-bleed and avoid any “gaps”.
     We use height (vh) so it scales with screen size, and remove the fixed aspect ratio. */
  body.is-home .hero-slider{
    aspect-ratio:auto;
    height:65vh;
    min-height:60vh;
  }
  body.is-home .hero-slide{
    background-size:cover;
    background-position:center center;
  }
  /* If a template uses an <img> inside the banner, keep it covered too. */
  body.is-home .hero-slider-wrap{overflow:hidden;}
  body.is-home .hero-slider-wrap img{
    height:100%;
    width:100%;
    object-fit:cover;
    object-position:center;
    display:block;
  }
}
@media (max-width: 480px){
  body.is-home .hero-slider{
    height:70vh;
    min-height:65vh;
  }
}


/* =========================================================
   v1.8.5 – Header templates fixes (mobile + duplicates + drawer UI)
   ========================================================= */

/* Prevent accidental double-render (force desktop/mobile visibility) */
@media (min-width: 981px){
  .header-mobile{ display:none !important; }
  .mobile-nav, .mobile-nav-backdrop{ display:none !important; }
  .header-desktop{ display:block !important; }
}

@media (max-width: 980px){
  /* Hamburger position rules per template */
  /* Inline logo left, menu right (layout-inline_left) => hamburger RIGHT */
  .site-header.layout-inline_left .header-mobile{ flex-direction: row; }

  /* Inline menu split + stacked => hamburger LEFT */
  .site-header.layout-inline_center_split .header-mobile,
  .site-header.layout-stacked_center .header-mobile{
    flex-direction: row-reverse;
  }

  /* Modern light mobile drawer */
  .mobile-nav{
    background: rgba(235,236,238,.98) !important; /* Athens Gray */
    border-left: 1px solid #d3d3d3 !important;    /* Alto */
    box-shadow: -18px 0 40px rgba(0,0,0,.12) !important;
  }
  .mobile-nav-head{
    border-bottom: 1px solid #d3d3d3 !important;
  }
  .mobile-nav-title{
    color: #151e29 !important; /* Mirage */
    font-weight: 700;
    letter-spacing: .2px;
  }
  .mobile-nav-close{
    color: #151e29 !important;
    background: rgba(21,30,41,.06) !important;
    border: 1px solid rgba(21,30,41,.10) !important;
    border-radius: 12px !important;
  }
  .mobile-nav-close:hover{
    background: rgba(21,30,41,.10) !important;
  }

  .mobile-links a{
    color: #172425 !important; /* Bunker */
    border: 1px solid rgba(211,211,211,.9) !important;
    background: rgba(255,255,255,.7) !important;
    border-radius: 12px !important;
  }
  .mobile-links a:hover{
    background: rgba(4,162,226,.10) !important; /* Cerulean soft */
    border-color: rgba(4,162,226,.35) !important;
  }

  /* Backdrop stays dark for focus */
  .mobile-nav-backdrop{
    background: rgba(21,30,41,.45) !important;
  }
}


/* Modern hamburger button */
@media (max-width: 980px){
  .nav-toggle{
    width:44px;
    height:44px;
    border-radius:12px;
    border:1px solid rgba(21,30,41,.12);
    background: rgba(235,236,238,.55);
    color:#151e29;
    font-size:22px;
    line-height:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  .nav-toggle:hover{ background: rgba(235,236,238,.85); }
  body.is-home .site-header .nav-toggle{
    /* on top of banner */
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.22);
    color:#ffffff;
  }
  body.is-home .site-header.is-scrolled .nav-toggle{
    background: rgba(235,236,238,.65);
    border-color: rgba(21,30,41,.12);
    color:#151e29;
  }
}

/* =========================
   HERO TEXT & ALIGNMENT (Custom)
   ========================= */

/* Base Hero Content Reset */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 22px;
  height: 100%;
  width: 100%;
  pointer-events: none; /* Let clicks pass through to arrows/dots if needed, but re-enable for buttons */
}

/* Re-enable clicks for text/buttons */
.hero-content > * { pointer-events: auto; }

/* 1. Vertical Positioning */
.hero-pos-middle { justify-content: center; }
.hero-pos-top    { justify-content: flex-start; padding-top: 140px; } /* Clear header */
.hero-pos-bottom { justify-content: flex-end;   padding-bottom: 80px; }

/* 2. Horizontal Alignment */
.hero-align-center { align-items: center; text-align: center; }
.hero-align-left   { align-items: flex-start; text-align: left; }
.hero-align-right  { align-items: flex-end; text-align: right; }

/* 3. Typography Tweaks */
.hero-small {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 12px;
  opacity: 0.9;
  color: var(--primary); /* Accent color for the small label */
  background: rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
  display: inline-block;
}

/* Bigger Headline on Desktop */
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
  }
  .hero-small { font-size: 18px; }
  
  /* Safe area for Left/Right alignment on wide screens */
  .hero-align-left  { padding-left: 60px; }
  .hero-align-right { padding-right: 60px; }
}

/* Mobile Safety */
@media (max-width: 767px) {
  /* On mobile, 'Top' can be dangerous with headers. Push it down. */
  .hero-pos-top { padding-top: 110px; }
  
  /* On mobile, 'Bottom' might hit the browser nav bar. Push it up. */
  .hero-pos-bottom { padding-bottom: 100px; }
  
  /* On very small screens, sometimes Center is safer. 
     But we respect the user choice. Just ensure max-width. */
  .hero-copy { max-width: 100%; }
}

/* =========================
   UPDATED: Price List & News Styles (v1.9.5)
   Refined to match HDPEPH clean aesthetic
   ========================= */

/* Price List (Product Cards) */
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
  border-color: rgba(4,162,226,.3); /* Primary hint on hover */
}
.thumb {
  height: 240px; /* Taller thumb for better proportions */
  background: #ffffff; /* Clean white bg */
  border-bottom: 1px solid rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Don't crop pipes */
  transition: transform .3s ease;
}
.product-card:hover .thumb img {
  transform: scale(1.05);
}
.pc-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pc-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text);
  line-height: 1.3;
}
.price {
  margin-top: auto; /* Push price to bottom */
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  padding-top: 10px;
}

/* Updates (News Cards) */
.section-inner .card {
  display: block;
  height: 100%;
  padding: 24px;
  border-left: 5px solid var(--primary); /* Accent border */
  border-radius: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.section-inner .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
  background: #fff;
}
.section-inner .card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

/* =========================================
   CONTACT PAGE (HDPEPH Style)
   ========================================= */

.contact-hero-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 20px;
}

/* DESKTOP: Split Layout (Info Left, Form Right) */
@media (min-width: 992px) {
    .contact-page-grid {
        grid-template-columns: 1fr 1.4fr; /* Info takes less space than form */
        align-items: start;
    }
}

/* LEFT COLUMN: Contact Info & Map */
.contact-info-box {
    background: #fff;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-section-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.contact-details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.contact-details-list li {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.5;
    color: #444;
    display: flex;
    gap: 10px;
}

.contact-icon {
    color: var(--primary);
    font-weight: bold;
    min-width: 20px;
}

/* Account Executives Section (Specific to HDPEPH style) */
.ae-list {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.ae-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 10px;
    display: block;
}
.ae-item {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text);
}

/* Map Container */
.contact-map-wrapper {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    height: 300px; /* Fixed height for consistency */
}
.contact-map-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
}

/* RIGHT COLUMN: Form Wrapper */
.contact-form-wrapper {
    background: #fff;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); /* More prominent shadow */
}

/* Force full width on contact form inputs */
.contact-form-wrapper input,
.contact-form-wrapper textarea,
.contact-form-wrapper select {
    width: 100% !important;
    max-width: 100%;
}

/* =========================================
   PRODUCT QUOTE FORM ALIGNMENT
   ========================================= */

/* 1. Force the Text Area to be Full Width */
.product-info-section .form textarea {
    width: 100% !important; /* Forces it to fill the container */
    display: block;
    box-sizing: border-box; /* Ensures padding doesn't break alignment */
}

/* 2. Force the Send Button to Match the Text Area Width */
.product-info-section .form .btn {
    width: 100% !important; /* stretches button to 100% */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
/* =========================================
   PRODUCT VIEW FIX (HDPEPH Style)
   ========================================= */

/* Main Container Wrapper */
.product-view-container {
    width: 100%;
    padding: 20px 15px;
    background-color: #fff; /* Clean white background */
}

/* Breadcrumbs (Optional styling if you use them) */
.product-breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}
/* ... existing code ... */

/* Modern Light Mode Search & Inputs */
.search{display:flex;gap:10px}
.search input,
.form input,
.form textarea,
.form select {
  width: 100%; /* ADDED: Ensures inputs fill the container */
  flex:1;
  padding:11px 12px;
  border-radius:12px;
  border:1px solid #d1d5db;
  background:#ffffff;
  color:var(--text);
  font-family: inherit;
  font-size: 15px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: border-color .2s, box-shadow .2s;
  resize: vertical; /* ADDED: Allows vertical resizing only */
}
.search input:focus,
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(4, 162, 226, 0.15);
}

/* ... rest of file ... */
/* DESKTOP LAYOUT (Min-width 992px) */
@media (min-width: 992px) {
    .product-view-wrapper {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 60px; /* Generous spacing like professional catalogs */
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Left Column: Image */
    .product-gallery-section {
        flex: 1;
        width: 50%;
        max-width: 600px;
    }

    /* Right Column: Info */
    .product-info-section {
        flex: 1;
        width: 50%;
        padding-top: 10px; /* Slight optical alignment with image top */
    }
}

/* Image Styling */
.product-main-image {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #eee; /* Subtle border for clean definition */
    border-radius: 4px;
}

/* Typography & Details (Popfessional / Industrial) */
.product-title-main {
    font-family: 'Roboto', sans-serif; /* Or your site's main font */
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.2;
}

.product-sku-code {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
    font-weight: 500;
}

.product-price-large {
    font-size: 26px;
    color: #0056b3; /* Industrial Blue to match plumbing theme */
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.product-description-text {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* Action Buttons */
.product-actions-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-inquire-main {
    background-color: #0056b3;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-inquire-main:hover {
    background-color: #003d80;
}