/* O'Lay Dynamic Catalog Redesign
   Applies to product-types.html / materials.html / applications.html only */
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body.auto-catalog-page, body{margin:0;}
body.auto-catalog-page{background:#f7fbfe;color:#071936;font-family:Inter,Arial,Helvetica,sans-serif;line-height:1.5;}
body.auto-catalog-page a{color:inherit;}
body.auto-catalog-page img{max-width:100%;display:block;}
body.auto-catalog-page .container,.auto-catalog-page .container{width:min(1240px,calc(100% - 16px));margin:0 auto;}

/* Strong header fallback so the nav never becomes plain blue links */
.topbar,.auto-catalog-page .topbar{background:#073556!important;color:#e9f4f8!important;font-size:13px;letter-spacing:.02em;}
.topbar-inner,.auto-catalog-page .topbar-inner{min-height:34px;display:flex;align-items:center;justify-content:center;text-align:center;}
.site-header,.auto-catalog-page .site-header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.98)!important;border-bottom:1px solid #dce8f0;box-shadow:0 12px 30px rgba(7,25,54,.06);backdrop-filter:saturate(140%) blur(10px);}
.header-inner,.auto-catalog-page .header-inner{min-height:78px;display:flex;align-items:center;gap:18px;}
.logo,.auto-catalog-page .logo{display:flex!important;align-items:center;text-decoration:none!important;flex:0 0 auto;}
.logo img,.auto-catalog-page .logo img{width:132px;height:auto;max-height:58px;object-fit:contain;}
.nav-toggle,.auto-catalog-page .nav-toggle{display:none;border:0;background:#073556;color:#fff;border-radius:12px;padding:10px 12px;font-size:18px;cursor:pointer;}
.main-nav,.auto-catalog-page .main-nav{display:flex!important;align-items:center;justify-content:center;gap:4px;flex:1;min-width:0;}
.main-nav>a,.nav-dropdown>a,.auto-catalog-page .main-nav>a,.auto-catalog-page .nav-dropdown>a{display:flex!important;align-items:center;min-height:40px;padding:10px 10px;border-radius:999px;text-decoration:none!important;color:#0b223d!important;font-size:14px;font-weight:760;line-height:1;white-space:nowrap;background:transparent;}
.main-nav>a:hover,.nav-dropdown>a:hover,.main-nav .active,.auto-catalog-page .main-nav>a:hover,.auto-catalog-page .nav-dropdown>a:hover,.auto-catalog-page .main-nav .active{background:#eef6fa!important;color:#073556!important;}
.nav-dropdown,.auto-catalog-page .nav-dropdown{position:relative;display:flex;align-items:center;}
.dropdown-panel,.auto-catalog-page .dropdown-panel{position:absolute;top:calc(100% + 8px);left:0;display:none;width:max-content;min-width:230px;max-width:650px;background:#fff;border:1px solid #d8e6ef;border-radius:18px;padding:10px;box-shadow:0 22px 55px rgba(7,25,54,.15);grid-template-columns:repeat(2,minmax(170px,1fr));gap:4px;}
.nav-dropdown:hover .dropdown-panel,.auto-catalog-page .nav-dropdown:hover .dropdown-panel{display:grid;}
.dropdown-panel a,.auto-catalog-page .dropdown-panel a{display:block!important;padding:10px 12px;border-radius:12px;text-decoration:none!important;color:#24354d!important;font-size:14px;font-weight:650;white-space:nowrap;}
.dropdown-panel a:hover,.auto-catalog-page .dropdown-panel a:hover{background:#f0f7fb;color:#073556!important;}
.support-menu,.auto-catalog-page .support-menu{grid-template-columns:repeat(2,minmax(150px,1fr));}
.header-cta,.auto-catalog-page .header-cta{flex:0 0 auto;text-decoration:none!important;background:#073556!important;color:#fff!important;padding:12px 17px;border-radius:999px;font-weight:850;white-space:nowrap;box-shadow:0 10px 24px rgba(7,53,86,.16);}
.header-cta span,.auto-catalog-page .header-cta span{margin-left:5px;}

/* Hero */
.auto-hero{padding:56px 0 30px;background:linear-gradient(135deg,#f7fafc 0%,#eef6fb 52%,#fff 100%);border-bottom:1px solid #e5eef5;overflow:hidden;}
.auto-hero .eyebrow{letter-spacing:.22em;text-transform:uppercase;color:#216d84;font-weight:900;margin:0 0 12px;font-size:13px;}
.auto-hero h1{font-size:clamp(34px,4.2vw,56px);line-height:1.06;margin:0 0 16px;color:#071936;max-width:940px;font-family:Georgia,'Times New Roman',serif;letter-spacing:-.02em;}
.auto-hero p{font-size:18px;line-height:1.7;color:#516176;max-width:940px;margin:0;}
.auto-hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px;}
.auto-hero-actions a{display:inline-flex;align-items:center;gap:8px;padding:13px 22px;border-radius:999px;text-decoration:none!important;font-weight:850;font-size:14px;}
.auto-hero-actions .primary{background:#073556;color:#fff;}
.auto-hero-actions .secondary{background:#fff;color:#073556;border:1px solid #d4e3ed;}

/* Catalog */
.auto-catalog-section{padding:34px 0 76px;}
.auto-toolbar{display:grid;grid-template-columns:minmax(260px,1.35fr) minmax(210px,.75fr) minmax(170px,.55fr);gap:14px;align-items:center;margin-bottom:24px;}
.auto-toolbar input,.auto-toolbar select{width:100%;min-height:50px;border:1px solid #d3e0e9;border-radius:16px;background:#fff;padding:0 16px;font-size:15px;color:#0b223d;outline:none;box-shadow:0 10px 25px rgba(7,25,54,.04);font-family:inherit;}
.auto-toolbar input:focus,.auto-toolbar select:focus{border-color:#1f6f89;box-shadow:0 0 0 3px rgba(31,111,137,.12);}
.auto-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px;align-items:start;}
.auto-sidebar{position:sticky;top:104px;background:#fff;border:1px solid #d8e6ef;border-radius:24px;padding:18px;box-shadow:0 16px 40px rgba(7,25,54,.06);max-height:calc(100vh - 124px);overflow:hidden;}
.auto-sidebar h2{font-size:19px;line-height:1.25;margin:0 0 8px;color:#071936;font-family:Inter,Arial,Helvetica,sans-serif;}
.auto-sidebar p{font-size:13px;line-height:1.6;color:#657285;margin:0 0 16px;}
.auto-filter-list{display:flex;flex-direction:column;gap:9px;max-height:440px;overflow:auto;padding-right:4px;}
.auto-filter-list::-webkit-scrollbar{width:7px;}
.auto-filter-list::-webkit-scrollbar-thumb{background:#b8c9d5;border-radius:999px;}
.auto-filter-button{border:1px solid #e1ebf2;background:#f9fbfd;color:#0b223d;border-radius:16px;padding:11px 13px;text-align:left;cursor:pointer;display:flex;justify-content:space-between;gap:10px;align-items:center;font-weight:800;font-size:13px;transition:.18s ease;font-family:inherit;min-height:46px;}
.auto-filter-button span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.auto-filter-button span:last-child{font-size:12px;color:#6b7a8f;background:#fff;border:1px solid #e1ebf2;border-radius:999px;padding:3px 8px;min-width:34px;text-align:center;}
.auto-filter-button:hover,.auto-filter-button.active{background:#073556;color:#fff;border-color:#073556;transform:translateY(-1px);}
.auto-filter-button:hover span:last-child,.auto-filter-button.active span:last-child{color:#073556;background:#fff;}
.auto-main{min-width:0;}
.auto-main-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:18px;}
.auto-main-head h2{font-size:clamp(26px,2.4vw,36px);line-height:1.14;margin:0;color:#071936;font-family:Georgia,'Times New Roman',serif;letter-spacing:-.01em;}
.auto-main-head p{margin:7px 0 0;color:#657285;line-height:1.62;font-size:15px;max-width:780px;}
.auto-count{color:#216d84;font-weight:900;white-space:nowrap;margin-bottom:7px;font-size:14px;}

.auto-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px;}
.auto-category-card{appearance:none;background:#fff;border:1px solid #d8e6ef;border-radius:22px;padding:16px;text-decoration:none!important;color:#071936;box-shadow:0 14px 34px rgba(7,25,54,.045);display:flex;flex-direction:column;gap:8px;min-height:132px;transition:.22s ease;cursor:pointer;text-align:left;font-family:inherit;}
.auto-category-card:hover{transform:translateY(-2px);border-color:#9ec4d6;box-shadow:0 22px 42px rgba(7,25,54,.08);}
.auto-category-card strong{font-size:17px;line-height:1.24;font-weight:900;}
.auto-category-card p{font-size:13px;line-height:1.52;color:#657285;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.auto-category-card em{margin-top:auto;color:#216d84;font-style:normal;font-weight:900;font-size:12px;}

/* Product cards: vertical cards keep titles and images clean */
.auto-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:20px;align-items:stretch;}
.auto-product-card{background:#fff;border:1px solid #dbe8f1;border-radius:24px;padding:14px;box-shadow:0 16px 36px rgba(7,25,54,.055);display:flex!important;flex-direction:column;gap:12px;text-decoration:none!important;color:#071936;min-height:360px;transition:.22s ease;overflow:hidden;}
.auto-product-card:hover{transform:translateY(-2px);border-color:#9fc5d9;box-shadow:0 22px 46px rgba(7,25,54,.1);}
.auto-product-image{width:100%!important;height:185px!important;border-radius:20px;overflow:hidden;background:#f1f6f9;display:block;flex:0 0 auto;}
.auto-product-image img{width:100%!important;height:100%!important;object-fit:cover;display:block;}
.auto-product-content{display:flex;flex-direction:column;min-width:0;flex:1;overflow:hidden;}
.auto-product-kicker{letter-spacing:.14em;text-transform:uppercase;color:#216d84;font-weight:900;font-size:11px;line-height:1.2;margin:0 0 8px;font-family:Inter,Arial,Helvetica,sans-serif;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;}
.auto-product-card h3{font-family:Inter,Arial,Helvetica,sans-serif!important;font-size:21px!important;line-height:1.18!important;letter-spacing:-.02em;margin:0 0 8px!important;color:#071936;font-weight:900;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:normal;overflow-wrap:anywhere;}
.auto-product-card p{font-family:Inter,Arial,Helvetica,sans-serif!important;font-size:14px!important;line-height:1.45!important;color:#56667b;margin:0 0 10px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.auto-product-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;max-height:64px;overflow:hidden;}
.auto-product-meta span{font-size:11px;line-height:1.2;border:1px solid #d9e6ef;background:#f8fbfd;border-radius:999px;padding:6px 9px;color:#52657b;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.auto-product-meta span:nth-child(n+4){display:none;}
.auto-product-view{margin-top:12px;color:#216d84;font-weight:900;font-size:13px;}
.auto-load-wrap{text-align:center;margin-top:32px;}
.auto-load-more{border:0;background:#073556;color:#fff;border-radius:999px;padding:15px 28px;font-size:15px;font-weight:850;cursor:pointer;box-shadow:0 12px 28px rgba(7,53,86,.18);font-family:inherit;}
.auto-empty{padding:38px;border:1px dashed #b9ccd9;background:#fff;border-radius:24px;color:#64748b;line-height:1.7;text-align:center;grid-column:1/-1;}
.auto-hidden{display:none!important;}

/* Footer fallback */
.site-footer,.auto-catalog-page .site-footer{background:#073556;color:#d8e8f0;padding:54px 0 24px;margin-top:0;}
.footer-grid,.auto-catalog-page .footer-grid{display:grid;grid-template-columns:1.25fr repeat(3,1fr);gap:34px;}
.footer-logo img,.auto-catalog-page .footer-logo img{width:120px;height:auto;margin-bottom:12px;}
.site-footer h4,.auto-catalog-page .site-footer h4{color:#fff;margin:0 0 14px;font-size:16px;}
.site-footer p,.auto-catalog-page .site-footer p{margin:0 0 10px;color:#c4d8e3;line-height:1.6;font-size:14px;}
.site-footer a,.auto-catalog-page .site-footer a{display:block;color:#d8e8f0;text-decoration:none!important;margin:0 0 9px;font-size:14px;}
.site-footer a:hover,.auto-catalog-page .site-footer a:hover{color:#fff;text-decoration:underline!important;}
.site-footer .btn.light,.auto-catalog-page .site-footer .btn.light{display:inline-flex;margin-top:8px;background:#fff;color:#073556;border-radius:999px;padding:11px 16px;font-weight:850;text-decoration:none!important;}
.footer-bottom,.auto-catalog-page .footer-bottom{border-top:1px solid rgba(255,255,255,.16);margin-top:36px;padding-top:18px;display:flex;justify-content:space-between;gap:18px;color:#a9c4d3;font-size:13px;}
.whatsapp-float,.auto-catalog-page .whatsapp-float{position:fixed;right:22px;bottom:22px;z-index:90;background:#25d366;color:#fff!important;text-decoration:none!important;border-radius:999px;padding:14px 22px;font-weight:900;box-shadow:0 16px 36px rgba(37,211,102,.35);}

@media (max-width:1180px){
  .auto-catalog-page .container{width:min(100% - 16px,1120px);}
  .auto-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .auto-layout{grid-template-columns:235px minmax(0,1fr);gap:22px;}
  .main-nav,.auto-catalog-page .main-nav{gap:2px;}
  .main-nav>a,.nav-dropdown>a,.auto-catalog-page .main-nav>a,.auto-catalog-page .nav-dropdown>a{padding:10px 8px;font-size:13px;}
}
@media (max-width:980px){
  .header-inner,.auto-catalog-page .header-inner{flex-wrap:wrap;padding:12px 0;gap:12px;}
  .main-nav,.auto-catalog-page .main-nav{order:3;width:100%;overflow:auto;justify-content:flex-start;padding-bottom:4px;}
  .header-cta,.auto-catalog-page .header-cta{margin-left:auto;}
  .dropdown-panel,.auto-catalog-page .dropdown-panel{display:none!important;}
}
@media (max-width:880px){
  .auto-toolbar{grid-template-columns:1fr;}
  .auto-layout{grid-template-columns:1fr;}
  .auto-sidebar{position:static;max-height:none;}
  .auto-filter-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;}
  .auto-main-head{display:block;}
  .auto-count{margin-top:10px;}
  .footer-grid,.auto-catalog-page .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:620px){
  .auto-catalog-page .container{width:calc(100% - 16px);}
  .auto-hero{padding:42px 0 24px;}
  .auto-hero h1{font-size:34px;}
  .auto-hero p{font-size:16px;}
  .auto-category-grid,.auto-grid{grid-template-columns:1fr;}
  .auto-product-card{min-height:auto;}
  .auto-product-image{height:190px!important;border-radius:18px;}
  .auto-product-card h3{font-size:20px!important;}
  .auto-filter-list{grid-template-columns:1fr;}
  .auto-hero-actions a{width:100%;justify-content:center;}
  .footer-grid,.auto-catalog-page .footer-grid{grid-template-columns:1fr;}
  .footer-bottom,.auto-catalog-page .footer-bottom{display:block;}
  .whatsapp-float,.auto-catalog-page .whatsapp-float{right:14px;bottom:14px;padding:12px 18px;}
}

/* ==========================================================
   FINAL TRUE NAVIGATION LOCK - O'Lay
   Purpose: remove active-state size changes and page-to-page jump.
   Safe scope: header/topbar/navigation only.
   ========================================================== */
:root{
  --olay-final-header-h:82px;
  --olay-final-nav-item-h:46px;
  --olay-final-navy:#061a38;
  --olay-final-teal:#087b91;
  --olay-final-line:#d7eaf4;
}

/* Make every page use the same top vertical structure. Some old pages had a topbar and some did not. */
.topbar,
.v7-topbar,
.initi-topbar,
.olay-topbar{
  display:none!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* Header shell: fixed height on all pages */
.site-header,
.initi-header,
#site-header,
.olay-site-header{
  position:sticky!important;
  top:0!important;
  z-index:1000!important;
  height:var(--olay-final-header-h)!important;
  min-height:var(--olay-final-header-h)!important;
  max-height:var(--olay-final-header-h)!important;
  padding:0!important;
  margin:0!important;
  background:rgba(255,255,255,.97)!important;
  border-bottom:1px solid var(--olay-final-line)!important;
  box-shadow:0 10px 30px rgba(6,26,56,.05)!important;
  backdrop-filter:blur(14px)!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}

.site-header .header-inner,
.initi-header .header-inner,
#site-header .header-inner,
.site-header > .container,
.initi-header > .container{
  height:var(--olay-final-header-h)!important;
  min-height:var(--olay-final-header-h)!important;
  max-height:var(--olay-final-header-h)!important;
  padding-top:0!important;
  padding-bottom:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
  box-sizing:border-box!important;
}

/* Logo: reserve the same space on every page */
.site-header .logo,
.initi-header .logo,
.site-header .logo-image,
.initi-header .logo-image{
  flex:0 0 136px!important;
  width:136px!important;
  min-width:136px!important;
  max-width:136px!important;
  height:58px!important;
  min-height:58px!important;
  max-height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  overflow:visible!important;
  text-decoration:none!important;
}
.site-header .logo img,
.initi-header .logo img,
.site-header .logo-image img,
.initi-header .logo-image img{
  width:auto!important;
  max-width:132px!important;
  height:auto!important;
  max-height:54px!important;
  display:block!important;
  object-fit:contain!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  filter:none!important;
}

/* Main navigation layout */
.site-header .main-nav,
.initi-header .main-nav,
#site-header .main-nav{
  flex:1 1 auto!important;
  height:var(--olay-final-header-h)!important;
  min-height:var(--olay-final-header-h)!important;
  max-height:var(--olay-final-header-h)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  line-height:1!important;
}
.site-header .nav-dropdown,
.initi-header .nav-dropdown,
#site-header .nav-dropdown{
  position:relative!important;
  height:var(--olay-final-header-h)!important;
  min-height:var(--olay-final-header-h)!important;
  max-height:var(--olay-final-header-h)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}

/* Each top-level menu item: same height, same font, active state must not change size */
.site-header .main-nav > a,
.site-header .nav-dropdown > a,
.initi-header .main-nav > a,
.initi-header .nav-dropdown > a,
#site-header .main-nav > a,
#site-header .nav-dropdown > a{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:var(--olay-final-nav-item-h)!important;
  min-height:var(--olay-final-nav-item-h)!important;
  max-height:var(--olay-final-nav-item-h)!important;
  padding:0 14px!important;
  margin:0!important;
  border:1px solid transparent!important;
  border-radius:999px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--olay-final-navy)!important;
  font-family:Inter,Manrope,Arial,sans-serif!important;
  font-size:16px!important;
  font-weight:800!important;
  letter-spacing:0!important;
  line-height:1!important;
  text-decoration:none!important;
  text-transform:none!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
  transform:none!important;
  vertical-align:middle!important;
}

/* Active and hover: color only, no bubble, no underline, no height change */
.site-header .main-nav > a:hover,
.site-header .nav-dropdown:hover > a,
.site-header .main-nav > a.active,
.site-header .nav-dropdown > a.active,
.initi-header .main-nav > a:hover,
.initi-header .nav-dropdown:hover > a,
.initi-header .main-nav > a.active,
.initi-header .nav-dropdown > a.active,
#site-header .main-nav > a:hover,
#site-header .nav-dropdown:hover > a,
#site-header .main-nav > a.active,
#site-header .nav-dropdown > a.active{
  height:var(--olay-final-nav-item-h)!important;
  min-height:var(--olay-final-nav-item-h)!important;
  max-height:var(--olay-final-nav-item-h)!important;
  padding:0 14px!important;
  color:var(--olay-final-teal)!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1!important;
  transform:none!important;
}

/* Remove all old underline pseudo-elements from simple links */
.site-header .main-nav > a::after,
.initi-header .main-nav > a::after,
#site-header .main-nav > a::after{
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
  background:transparent!important;
  border:0!important;
}

/* Dropdown arrow: standardized. This also overwrites old active underline rules. */
.site-header .nav-dropdown > a::after,
.initi-header .nav-dropdown > a::after,
#site-header .nav-dropdown > a::after,
.site-header .nav-dropdown > a.active::after,
.initi-header .nav-dropdown > a.active::after,
#site-header .nav-dropdown > a.active::after{
  content:""!important;
  display:inline-block!important;
  position:static!important;
  flex:0 0 auto!important;
  width:8px!important;
  height:8px!important;
  margin-left:10px!important;
  margin-right:0!important;
  background:transparent!important;
  border:0!important;
  border-right:2px solid currentColor!important;
  border-bottom:2px solid currentColor!important;
  border-radius:0!important;
  transform:rotate(45deg) translateY(-2px)!important;
  opacity:.75!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  box-shadow:none!important;
}

/* CTA fixed size */
.site-header .header-cta,
.initi-header .header-cta,
#site-header .header-cta{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:46px!important;
  min-height:46px!important;
  max-height:46px!important;
  min-width:132px!important;
  padding:0 22px!important;
  margin:0!important;
  border:0!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#087b91,#0aa0b5)!important;
  color:#fff!important;
  font-family:Inter,Manrope,Arial,sans-serif!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
  transform:none!important;
}

/* Dropdown panels still work */
.site-header .dropdown-panel,
.initi-header .dropdown-panel,
#site-header .dropdown-panel{
  position:absolute!important;
  top:calc(100% - 6px)!important;
  left:50%!important;
  transform:translateX(-50%) translateY(10px)!important;
  min-width:230px!important;
  width:max-content!important;
  max-width:340px!important;
  display:grid!important;
  gap:4px!important;
  padding:12px!important;
  margin:0!important;
  background:#fff!important;
  border:1px solid var(--olay-final-line)!important;
  border-radius:18px!important;
  box-shadow:0 22px 60px rgba(8,38,64,.14)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  z-index:9999!important;
  overflow:visible!important;
}
.site-header .nav-dropdown:hover .dropdown-panel,
.site-header .nav-dropdown:focus-within .dropdown-panel,
.initi-header .nav-dropdown:hover .dropdown-panel,
.initi-header .nav-dropdown:focus-within .dropdown-panel,
#site-header .nav-dropdown:hover .dropdown-panel,
#site-header .nav-dropdown:focus-within .dropdown-panel{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translateX(-50%) translateY(0)!important;
}
.site-header .dropdown-panel a,
.initi-header .dropdown-panel a,
#site-header .dropdown-panel a{
  display:flex!important;
  align-items:center!important;
  min-height:38px!important;
  padding:0 13px!important;
  border-radius:12px!important;
  color:#20324b!important;
  background:transparent!important;
  border:0!important;
  font-family:Inter,Manrope,Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:650!important;
  line-height:1.2!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
.site-header .dropdown-panel a:hover,
.initi-header .dropdown-panel a:hover,
#site-header .dropdown-panel a:hover{
  background:#eef9fd!important;
  color:var(--olay-final-teal)!important;
}

/* Desktop spacing safety */
@media(max-width:1200px){
  .site-header .header-inner,
  .initi-header .header-inner,
  #site-header .header-inner{gap:16px!important;}
  .site-header .main-nav,
  .initi-header .main-nav,
  #site-header .main-nav{gap:4px!important;}
  .site-header .main-nav > a,
  .site-header .nav-dropdown > a,
  .initi-header .main-nav > a,
  .initi-header .nav-dropdown > a,
  #site-header .main-nav > a,
  #site-header .nav-dropdown > a{font-size:14px!important;padding:0 10px!important;}
  .site-header .main-nav > a:hover,
  .site-header .nav-dropdown:hover > a,
  .site-header .main-nav > a.active,
  .site-header .nav-dropdown > a.active{font-size:14px!important;padding:0 10px!important;}
  .site-header .header-cta,
  .initi-header .header-cta,
  #site-header .header-cta{min-width:112px!important;padding:0 16px!important;font-size:14px!important;}
}

/* Mobile menu */
.nav-toggle,
.site-header .nav-toggle,
.initi-header .nav-toggle,
#site-header .nav-toggle{
  display:none!important;
  width:44px!important;
  height:44px!important;
  border-radius:12px!important;
  border:1px solid var(--olay-final-line)!important;
  background:#fff!important;
  color:var(--olay-final-navy)!important;
  font-size:22px!important;
  padding:0!important;
  margin:0!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
}
@media(max-width:900px){
  :root{--olay-final-header-h:72px;--olay-final-nav-item-h:42px;}
  .nav-toggle,
  .site-header .nav-toggle,
  .initi-header .nav-toggle,
  #site-header .nav-toggle{display:inline-flex!important;}
  .site-header .main-nav,
  .initi-header .main-nav,
  #site-header .main-nav{
    position:absolute!important;
    top:calc(100% + 8px)!important;
    left:16px!important;
    right:16px!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:4px!important;
    padding:14px!important;
    border:1px solid var(--olay-final-line)!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 24px 70px rgba(8,38,64,.18)!important;
  }
  .site-header.nav-open .main-nav,
  .site-header .main-nav.open,
  .initi-header.nav-open .main-nav,
  .initi-header .main-nav.open,
  #site-header.nav-open .main-nav,
  #site-header .main-nav.open{display:flex!important;}
  .site-header .nav-dropdown,
  .initi-header .nav-dropdown,
  #site-header .nav-dropdown{height:auto!important;min-height:0!important;max-height:none!important;display:block!important;}
  .site-header .main-nav > a,
  .site-header .nav-dropdown > a,
  .initi-header .main-nav > a,
  .initi-header .nav-dropdown > a,
  #site-header .main-nav > a,
  #site-header .nav-dropdown > a{width:100%!important;justify-content:flex-start!important;padding:0 12px!important;}
  .site-header .dropdown-panel,
  .initi-header .dropdown-panel,
  #site-header .dropdown-panel{
    position:static!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    transform:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    display:none!important;
    margin:4px 0 8px!important;
    box-shadow:none!important;
    background:#f6fbfe!important;
  }
  .site-header .nav-dropdown:hover .dropdown-panel,
  .site-header .nav-dropdown:focus-within .dropdown-panel,
  .initi-header .nav-dropdown:hover .dropdown-panel,
  .initi-header .nav-dropdown:focus-within .dropdown-panel,
  #site-header .nav-dropdown:hover .dropdown-panel,
  #site-header .nav-dropdown:focus-within .dropdown-panel{display:grid!important;transform:none!important;}
  .site-header .header-cta,
  .initi-header .header-cta,
  #site-header .header-cta{display:none!important;}
}


/* ==========================================================
   Edge Gutter Fix - White Side Space Only
   Scope: dynamic catalog content pages only.
   This does NOT modify navigation size, logo, menu, dropdowns or JS.
   ========================================================== */
body.auto-catalog-page .container,
.auto-catalog-page .container{
  width:min(1240px, calc(100% - 16px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

@media (max-width: 980px){
  body.auto-catalog-page .container,
  .auto-catalog-page .container{
    width:calc(100% - 16px)!important;
  }
}
