/* ============================================================
   PACER COSMETICS — shared design system
   Palette: magenta / sage / blush, echoing the print catalog
   Display: Sacramento (script) | Headings: Poppins | Body: Inter
   ============================================================ */

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

:root{
  --pink: #E31C79;
  --pink-dark: #A8114F;
  --pink-deep: #7C0D3B;
  --sage: #7FB39A;
  --sage-dark: #3F7A5E;
  --sage-pale: #E4F1EA;
  --blush: #FBE3DC;
  --blush-light: #FDF3EE;
  --cream: #FFFCFA;
  --ink: #2B211F;
  --ink-soft: #6E615D;
  --line: #F0DAD0;
  --white: #ffffff;

  --font-script: 'Sacramento', cursive;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -25px rgba(124,13,59,0.35);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--font-head); margin:0; line-height:1.15; }
p{ margin:0; line-height:1.65; color:var(--ink-soft); }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }

.wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }
.section{ padding:96px 0; }
.section--tight{ padding:64px 0; }

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-head); font-weight:700; font-size:12.5px;
  letter-spacing:.14em; text-transform:uppercase; color:var(--pink-dark);
  margin-bottom:14px;
}
.eyebrow::before{
  content:''; width:22px; height:2px; background:var(--pink); border-radius:2px;
}

/* ---------- script headline ---------- */
.script{
  font-family:var(--font-script);
  color:var(--pink);
  font-weight:400;
  line-height:1;
}

/* ---------- NAV ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,252,250,0.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 28px; max-width:1180px; margin:0 auto;
}
.nav-logo{
  font-family:var(--font-script); font-size:32px; color:var(--pink);
  display:flex; align-items:center; gap:10px;
}
.nav-logo .bud{
  width:14px; height:14px; border-radius:50% 50% 50% 4px;
  background:var(--sage); transform:rotate(-45deg); flex:none;
}
.nav-logo img{ height:100px; width:auto; display:block; }

.hero-logo{ height:46px; width:auto; margin-bottom:22px; }
.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links a{
  font-family:var(--font-head); font-weight:600; font-size:14.5px;
  color:var(--ink); position:relative; padding:4px 0;
}
.nav-links a::after{
  content:''; position:absolute; left:0; right:0; bottom:-4px; height:2px;
  background:var(--pink); transform:scaleX(0); transform-origin:left;
  transition:transform .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ transform:scaleX(1); }
.nav-links a.active{ color:var(--pink-dark); }
.nav-cta{
  background:var(--pink); color:#fff !important; padding:10px 22px;
  border-radius:999px; font-size:14px !important;
}
.nav-cta::after{ display:none; }
.nav-toggle{ display:none; background:none; border:none; font-size:26px; color:var(--pink-dark); }

@media (max-width:860px){
  .nav-links{
    position:fixed; inset:64px 0 0 0; background:var(--cream);
    flex-direction:column; padding:36px 28px; gap:22px; align-items:flex-start;
    transform:translateY(-8px); opacity:0; pointer-events:none; transition:.25s ease;
  }
  .nav-links.open{ transform:translateY(0); opacity:1; pointer-events:all; }
  .nav-toggle{ display:block; }
}

/* ---------- BLOB corner motif (signature element) ---------- */
.blob-corner{
  position:absolute; top:0; left:0; width:120px; height:220px;
  background:var(--pink); border-radius:0 0 90px 0;
}
.blob-corner--sage{ background:var(--sage); }

/* ---------- HERO ---------- */
.hero{
  position:relative; overflow:hidden;
  background:linear-gradient(160deg, var(--blush) 0%, var(--blush-light) 55%, var(--cream) 100%);
  padding:110px 0 90px;
}
.hero .wrap{ position:relative; z-index:2; }
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:60px; align-items:center; }
.hero-eyebrow-badge{
  display:inline-flex; align-items:center; gap:10px; background:#fff;
  border:1px solid var(--line); padding:8px 16px 8px 8px; border-radius:999px;
  font-family:var(--font-head); font-weight:600; font-size:13px; margin-bottom:26px;
}
.hero-eyebrow-badge .ring{
  width:26px; height:26px; border-radius:50%; background:var(--sage-pale);
  display:flex; align-items:center; justify-content:center; font-size:13px;
}
.hero h1{ font-size:56px; letter-spacing:-.02em; margin-bottom:20px; }
.hero h1 .script{ font-size:1.35em; display:block; }
.hero p.lead{ font-size:18px; max-width:480px; margin-bottom:34px; }
.btn-row{ display:flex; gap:16px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:14px 28px;
  border-radius:999px; font-family:var(--font-head); font-weight:600; font-size:14.5px;
  border:2px solid transparent; transition:.2s ease;
}
.btn-primary{ background:var(--pink); color:#fff; box-shadow:var(--shadow); }
.btn-primary:hover{ background:var(--pink-dark); transform:translateY(-2px); }
.btn-ghost{ border-color:var(--ink); color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:#fff; }
.btn-ghost.on-dark{ border-color:#fff; color:#fff; }
.btn-ghost.on-dark:hover{ background:#fff; color:var(--ink); }

/* hero illustration: nail bottle trio */
.bottle-scene{ position:relative; height:380px; display:flex; align-items:flex-end; justify-content:center; gap:22px; }
.bottle{ position:relative; width:78px; }
.bottle .cap{ width:44px; height:34px; margin:0 auto; border-radius:8px 8px 4px 4px; }
.bottle .body{ width:78px; height:150px; border-radius:14px 14px 22px 22px; margin-top:-6px; position:relative; box-shadow:0 25px 40px -20px rgba(124,13,59,.4); }
.bottle .body::after{
  content:''; position:absolute; left:12px; top:20px; width:10px; bottom:20px;
  background:rgba(255,255,255,.55); border-radius:6px;
}
.bottle.tall .body{ height:190px; }
.bottle.short .body{ height:120px; }
.bottle .label{ position:absolute; left:50%; top:52%; transform:translate(-50%,-50%) rotate(-90deg); font-family:var(--font-script); font-size:18px; color:var(--pink-dark); white-space:nowrap; }
.bottle-1 .cap,.bottle-1 .body{ background:linear-gradient(160deg,#fff,#FBE3DC); }
.bottle-2 .cap,.bottle-2 .body{ background:linear-gradient(160deg,#fff,#EAF4EE); }
.bottle-3 .cap,.bottle-3 .body{ background:linear-gradient(160deg,#fff,#FDE9CF); }
.scene-blob{ position:absolute; width:280px; height:280px; border-radius:50%; background:radial-gradient(circle at 30% 30%, var(--sage-pale), transparent 70%); bottom:-40px; z-index:0; }

/* ---------- SECTION HEADERS ---------- */
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:38px; letter-spacing:-.01em; }
.section-head p{ margin-top:14px; font-size:16.5px; }

/* ---------- CARDS ---------- */
.card-grid{ display:grid; gap:24px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:860px){ .grid-3,.grid-2{ grid-template-columns:1fr; } .hero-grid{ grid-template-columns:1fr; } .hero h1{ font-size:40px; } }

.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md);
  padding:30px; transition:.25s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.card .icon-circle{
  width:52px; height:52px; border-radius:50%; background:var(--sage-pale);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px; font-size:22px;
}
.card h3{ font-size:19px; margin-bottom:10px; }
.card .tag{
  display:inline-block; background:var(--pink); color:#fff; font-size:11px; font-weight:700;
  letter-spacing:.06em; padding:4px 10px; border-radius:999px; margin-bottom:14px;
}

/* product feature card */
.product-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:28px; display:flex; flex-direction:column; gap:14px; height:100%;
}
.product-card .badge-new{
  align-self:flex-start; background:var(--pink); color:#fff; font-size:10.5px; font-weight:700;
  padding:4px 10px; border-radius:999px; letter-spacing:.06em;
}
.product-card h4{ font-size:18px; }
.product-card ul{ display:flex; flex-direction:column; gap:8px; margin-top:4px; }
.product-card li{ font-size:14.5px; color:var(--ink-soft); padding-left:20px; position:relative; }
.product-card li::before{ content:'◗'; position:absolute; left:0; color:var(--pink); font-size:11px; top:4px; }

/* ---------- TABLES ---------- */
.table-wrap{ overflow-x:auto; border-radius:var(--radius-md); border:1px solid var(--line); }
table{ width:100%; border-collapse:collapse; min-width:560px; background:#fff; }
th,td{ padding:14px 18px; text-align:left; font-size:14px; border-bottom:1px solid var(--line); }
thead th{
  background:var(--pink); color:#fff; font-family:var(--font-head); font-weight:600;
  font-size:12.5px; letter-spacing:.05em; text-transform:uppercase;
}
tbody th{ font-family:var(--font-head); font-weight:600; font-size:13.5px; background:var(--blush-light); }
tbody tr:last-child td, tbody tr:last-child th{ border-bottom:none; }
.rating{
  display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px;
  border-radius:50%; font-size:13px; font-weight:700; color:#fff;
}
.rating.inferior{ background:#C9BEB9; }
.rating.satisfactory{ background:var(--sage); }
.rating.superior{ background:var(--pink); }
.table--sage thead th{ background:var(--sage-dark); }

/* legend */
.legend{ display:flex; gap:22px; flex-wrap:wrap; margin-top:16px; font-size:13.5px; color:var(--ink-soft); }
.legend span{ display:inline-flex; align-items:center; gap:8px; }

/* ---------- STAT STRIP ---------- */
.stat-strip{ background:var(--sage-pale); border-radius:var(--radius-lg); padding:46px; }
.stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; text-align:center; }
@media (max-width:860px){ .stat-grid{ grid-template-columns:repeat(2,1fr); } }
.stat-num{ font-family:var(--font-head); font-size:38px; font-weight:800; color:var(--sage-dark); }
.stat-label{ font-size:13px; font-weight:600; color:var(--ink); margin-top:6px; text-transform:uppercase; letter-spacing:.04em; }

/* ---------- panels / soft blocks ---------- */
.panel{ border-radius:var(--radius-lg); padding:48px; }
.panel--pink{ background:var(--pink); color:#fff; }
.panel--pink h2, .panel--pink h3{ color:#fff; }
.panel--pink p{ color:rgba(255,255,255,.85); }
.panel--sage{ background:var(--sage-pale); }
.panel--outline{ border:1px solid var(--line); background:#fff; }

/* ---------- circular photo frame (echoes catalog crops) ---------- */
.circle-frame{
  width:100%; aspect-ratio:1/1; border-radius:50%; overflow:hidden;
  display:flex; align-items:center; justify-content:center; position:relative;
}
.circle-frame.pink-ring{ box-shadow:0 0 0 5px #fff, 0 0 0 8px var(--pink); }
.circle-frame.sage-ring{ box-shadow:0 0 0 5px #fff, 0 0 0 8px var(--sage); }

/* team avatar */
.avatar{
  width:100%; aspect-ratio:1/1; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-head); font-weight:700; font-size:34px; color:#fff;
  box-shadow:0 0 0 5px #fff, 0 0 0 8px var(--pink);
}

/* ---------- packaging swatch grid ---------- */
.swatch-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:20px; }
.swatch{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md);
  padding:22px 16px; text-align:center;
}
.swatch .mini-bottle{ width:34px; height:70px; margin:0 auto 14px; border-radius:8px 8px 14px 14px; }
.swatch p.name{ font-family:var(--font-head); font-weight:600; font-size:13.5px; color:var(--ink); }
.swatch p.sub{ font-size:12px; margin-top:4px; }

/* color dots */
.dot-row{ display:flex; gap:8px; justify-content:center; flex-wrap:wrap; margin-top:14px; }
.dot{ width:20px; height:20px; border-radius:50%; border:2px solid #fff; box-shadow:0 0 0 1px var(--line); }

/* ---------- form ---------- */
.form-field{ margin-bottom:20px; }
.form-field label{ display:block; font-family:var(--font-head); font-weight:600; font-size:13.5px; margin-bottom:8px; }
.form-field input, .form-field textarea, .form-field select{
  width:100%; padding:13px 16px; border-radius:var(--radius-sm); border:1px solid var(--line);
  font-family:var(--font-body); font-size:14.5px; background:#fff; color:var(--ink);
}
.form-field textarea{ min-height:130px; resize:vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{
  outline:none; border-color:var(--pink); box-shadow:0 0 0 3px rgba(227,28,121,.12);
}

/* ---------- footer ---------- */
.site-footer{ background:var(--ink); color:#EDE3E0; padding:64px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px; }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
.footer-logo{ font-family:var(--font-script); font-size:30px; color:#fff; margin-bottom:12px; display:block; }
.footer-logo img{ height:32px; width:auto; display:block; filter:brightness(0) invert(1); }
.site-footer p{ color:#C9BDB9; font-size:14px; }
.site-footer h4{ color:#fff; font-size:13px; letter-spacing:.08em; text-transform:uppercase; margin-bottom:18px; }
.site-footer ul li{ margin-bottom:10px; }
.site-footer ul a{ color:#C9BDB9; font-size:14.5px; }
.site-footer ul a:hover{ color:var(--pink); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12); padding-top:26px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  font-size:13px; color:#9C918D;
}
.footer-badges{ display:flex; gap:14px; align-items:center; }
.badge-pill{
  border:1px solid rgba(255,255,255,.18); border-radius:999px; padding:7px 14px;
  font-size:12px; font-weight:600; color:#EDE3E0; display:flex; align-items:center; gap:6px;
}

/* ---------- misc ---------- */
.divider-dot{
  display:flex; align-items:center; gap:10px; margin:36px 0; color:var(--line);
}
.divider-dot::before, .divider-dot::after{ content:''; flex:1; border-top:2px dotted var(--pink); opacity:.4; }

.pill-tag{
  display:inline-flex; align-items:center; gap:6px; background:var(--blush-light);
  border:1px solid var(--line); padding:6px 14px; border-radius:999px; font-size:12.5px; font-weight:600;
}

.cta-band{
  background:linear-gradient(135deg, var(--pink), var(--pink-dark));
  border-radius:var(--radius-lg); padding:60px; text-align:center; color:#fff;
  position:relative; overflow:hidden;
}
.cta-band h2{ color:#fff; font-size:32px; margin-bottom:14px; }
.cta-band p{ color:rgba(255,255,255,.85); max-width:480px; margin:0 auto 30px; }

@media (max-width:600px){
  .section{ padding:64px 0; }
  .panel, .cta-band, .stat-strip{ padding:30px; }
  .hero{ padding:80px 0 60px; }
  .hero h1{ font-size:34px; }
}

/* ============================================================
   MOBILE POLISH — preserve original menu style, fix visibility
   ============================================================ */
@media (max-width:860px){

  /* Keep the mobile header clean and predictable */
  .site-header{
    z-index:1000;
    background:var(--cream);
  }

  .nav{
    position:relative;
  }

  /* Slightly smaller logo on phones, without redesigning header */
  .nav-logo img{
    height:56px;
    width:auto;
  }

  .nav-toggle{
    display:block;
    position:relative;
    z-index:1002;
  }

  /*
    Preserve the original left-aligned menu look.
    The only structural change is anchoring the opaque menu panel
    directly below the header so page content cannot show through.
  */
  .nav-links{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    bottom:auto;
    z-index:1001;

    flex-direction:column;
    align-items:flex-start;
    gap:18px;

    padding:26px 28px 30px;
    background:var(--cream);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    box-shadow:0 16px 28px rgba(60,35,30,.10);

    max-height:calc(100dvh - 76px);
    overflow-y:auto;

    transform:translateY(-8px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:transform .22s ease, opacity .22s ease, visibility .22s ease;
  }

  .nav-links.open{
    transform:translateY(0);
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  /* Restore the original text-link treatment */
  .nav-links a:not(.nav-cta){
    width:auto;
    padding:4px 0;
    border-radius:0;
    color:var(--ink);
    background:transparent;
  }

  .nav-links a:not(.nav-cta)::after{
    display:block;
  }

  .nav-links a:not(.nav-cta).active{
    color:var(--pink-dark);
    background:transparent;
    font-weight:600;
  }

  .nav-links a:not(.nav-cta).active::after{
    transform:scaleX(1);
  }

  /* Keep Contact as the original compact pill */
  .nav-cta{
    width:auto;
    margin-top:0;
    padding:10px 22px;
    text-align:left;
  }

  /* Keep the pink corner motif, but stop it from swallowing "Care" */
  .blob-corner{
    width:64px;
    height:190px;
    border-radius:0 0 64px 0;
  }
}

/* Homepage real-product hero */
.bottle-scene--real{
  align-items:center;
  justify-content:center;
}
.hero-product-image{
  position:relative;
  z-index:2;
  width:min(100%, 540px);
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 22px 26px rgba(83,45,43,.16));
}
@media (max-width:860px){
  .bottle-scene--real{ height:310px; }
  .hero-product-image{ width:min(94%, 420px); }
}

/* ============================================================
   REAL ASSET REFRESH — About / Dip / Nail Glue / Nail Care
   ============================================================ */
.page-hero-grid{ grid-template-columns:1.02fr .98fr; }
.hero-photo-card{ min-height:320px; border-radius:28px; overflow:hidden; background:#fff; box-shadow:0 24px 48px -34px rgba(64,38,34,.45); }
.hero-photo-card img{ width:100%; height:100%; min-height:320px; object-fit:cover; display:block; }
.hero-photo-card--soft img{ object-position:center; }
.pillar-photo{ width:62px; height:62px; border-radius:50%; overflow:hidden; margin-bottom:16px; border:4px solid var(--sage-pale); background:var(--sage-pale); }
.pillar-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.gmp-mark{ width:96px; height:52px; object-fit:contain; display:block; }
.team-photo{ object-fit:cover; border:4px solid #fff; outline:3px solid var(--pink); }
.team-photo--lisa{ object-position:50% 30%; }
.team-photo--trisha{ object-position:50% 28%; }
.team-photo--nick{ object-position:45% 28%; }
.product-card--visual{ padding-top:18px; }
.product-card-image{ width:100%; height:126px; object-fit:contain; display:block; margin:0 auto 14px; }
.swatch-product{ width:100%; height:96px; object-fit:contain; display:block; margin:0 auto 10px; }
.swatch-product--glue{ height:105px; }
.custom-kit-panel{ display:flex; flex-direction:column; align-items:center; }
.custom-kit-image{ width:min(100%,310px); height:190px; object-fit:contain; margin-bottom:10px; }
.cap-color-image{ display:block; width:min(100%,420px); height:122px; object-fit:contain; margin-top:8px; }
.cap-color-image--brush{ width:min(100%,300px); }
.retail-card{ display:flex; flex-direction:column; }
.retail-image{ width:100%; height:210px; object-fit:contain; margin-bottom:16px; }
.serum-product-row{ display:flex; align-items:center; gap:22px; margin-top:24px; padding:18px 22px; border:1px solid var(--line); border-radius:20px; background:#fff; }
.serum-product-row img{ width:190px; height:120px; object-fit:contain; }
.serum-product-row div{ display:flex; flex-direction:column; gap:5px; color:var(--ink-soft); }
.serum-product-row strong{ color:var(--ink); font-family:var(--font-head); font-size:17px; }
.serum-product-row span{ font-size:13.5px; }
@media (max-width:860px){
  .page-hero-grid{ grid-template-columns:1fr; gap:34px; }
  .hero-photo-card, .hero-photo-card img{ min-height:250px; }
  .product-card-image{ height:145px; }
  .retail-image{ height:180px; }
}
@media (max-width:600px){
  .hero-photo-card, .hero-photo-card img{ min-height:215px; }
  .serum-product-row{ align-items:flex-start; flex-direction:column; }
  .serum-product-row img{ width:100%; height:120px; }
}

/* ============================================================
   FINAL CONTENT POLISH — 2026-09-24
   ============================================================ */

/* Four-card formula row on Nail Glue */
.glue-product-grid{
  grid-template-columns:repeat(4,1fr);
}
.application-visual-card{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.application-visual-card h4{
  align-self:flex-start;
}
.application-visual{
  display:block;
  width:min(100%,230px);
  height:auto;
  margin:8px auto 0;
  object-fit:contain;
}

/* Catalog Flex Glue Trials graph */
.flex-trials-card{
  padding:24px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.flex-trials-image{
  display:block;
  width:100%;
  max-width:560px;
  height:auto;
}

/* More dimensional Nail Repair Serum treatment */
.serum-product-row--pop{
  justify-content:center;
  padding:14px 0 0;
}
.serum-product-row--pop img{
  width:min(100%,340px);
  max-height:none;
  object-fit:contain;
}

/* Balanced Study Results panel */
.study-results-panel{
  text-align:center;
}
.study-results-panel > p{
  max-width:390px;
  margin-left:auto;
  margin-right:auto;
}
.study-results-list{
  display:flex;
  flex-direction:column;
  gap:16px;
  max-width:330px;
  margin:0 auto;
  text-align:center;
}
.study-results-panel .stat-label{
  text-align:center;
}

/* Catalog sustainability symbol */
.sustainability-icon-wrap{
  width:72px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.sustainability-icon-wrap img{
  display:block;
  width:72px;
  height:52px;
  object-fit:contain;
}

@media (max-width:1100px){
  .glue-product-grid{
    grid-template-columns:repeat(2,1fr);
  }
}
@media (max-width:600px){
  .glue-product-grid{
    grid-template-columns:1fr;
  }
  .application-visual{
    width:min(82%,230px);
  }
  .sustainability-icon-wrap{
    width:60px;
    height:46px;
  }
  .sustainability-icon-wrap img{
    width:60px;
    height:46px;
  }
}

/* ============================================================
   FINAL POLISH V2 — high-resolution chart + serum visual
   ============================================================ */

/* Preserve the full high-resolution Flex Glue chart without cropping */
.flex-trials-card{
  padding:22px 24px 26px;
  overflow:visible;
}
.flex-trials-image{
  display:block;
  width:100%;
  max-width:760px;
  height:auto;
  object-fit:contain;
  margin:0 auto;
}

/* Restore the clean serum product image and add brand pop behind it */
.serum-product-row--circle{
  position:relative;
  overflow:hidden;
}
.serum-product-visual{
  position:relative;
  width:210px;
  min-width:210px;
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.serum-product-visual::before{
  content:'';
  position:absolute;
  width:118px;
  height:118px;
  border-radius:50%;
  background:rgba(231,24,118,.34);
  z-index:0;
}
.serum-product-row--circle .serum-product-visual img{
  position:relative;
  z-index:1;
  width:190px;
  height:120px;
  object-fit:contain;
}
.serum-product-copy{
  display:flex;
  flex-direction:column;
  gap:5px;
  color:var(--ink-soft);
}
.serum-product-copy strong{
  color:var(--ink);
  font-family:var(--font-head);
  font-size:17px;
}
.serum-product-copy span{
  font-size:13.5px;
}

@media (max-width:600px){
  .serum-product-row--circle{
    align-items:center;
  }
  .serum-product-visual{
    width:100%;
    min-width:0;
    height:150px;
  }
  .serum-product-copy{
    width:100%;
    text-align:center;
    align-items:center;
  }
}

/* ============================================================
   FINAL POLISH V3 — serum pop + darker sustainability icon
   ============================================================ */

.serum-product-row--circle{
  align-items:center;
  gap:20px;
}
.serum-product-visual{
  position:relative;
  width:240px;
  min-width:240px;
  height:170px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.serum-product-visual::before{
  content:'';
  position:absolute;
  width:138px;
  height:138px;
  border-radius:50%;
  background:rgba(231,24,118,.22);
  box-shadow:0 10px 28px rgba(231,24,118,.20);
  z-index:0;
}
.serum-product-row--circle .serum-product-visual img{
  position:relative;
  z-index:1;
  width:220px;
  height:128px;
  object-fit:contain;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.08));
}
.serum-product-copy{
  display:flex;
  flex-direction:column;
  gap:5px;
  color:var(--ink-soft);
}
.serum-product-copy strong{
  color:var(--ink);
  font-family:var(--font-head);
  font-size:17px;
}
.serum-product-copy span{
  font-size:13.5px;
}

@media (max-width:600px){
  .serum-product-row--circle{
    align-items:center;
  }
  .serum-product-visual{
    width:100%;
    min-width:0;
    height:170px;
  }
  .serum-product-copy{
    width:100%;
    text-align:center;
    align-items:center;
  }
}


/* FINAL POLISH V4 — use provided Nail Care serum image as-is */
.serum-product-row--circle{align-items:center;gap:22px;}
.serum-product-visual{
  position:relative;
  width:320px;
  min-width:320px;
  height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.serum-product-visual::before{display:none !important; content:none !important;}
.serum-product-row--circle .serum-product-visual img{
  position:relative;
  z-index:1;
  width:300px;
  height:200px;
  object-fit:contain;
  filter:none;
}
@media (max-width: 600px){
  .serum-product-visual{width:100%; min-width:0; height:210px;}
  .serum-product-row--circle .serum-product-visual img{width:100%; height:190px;}
}

/* Contact + icon update */
.website-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}
.form-error{
  margin:0 0 18px;
  padding:12px 14px;
  border-radius:12px;
  background:#FBE3DC;
  color:#7C0D3B;
  font-size:14px;
}
.card .icon-circle--asset,
.product-card .icon-circle--asset{
  width:52px;
  height:52px;
  border-radius:50%;
  background:var(--pink);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  flex:0 0 auto;
}
.icon-circle--asset img{
  width:30px;
  height:30px;
  object-fit:contain;
  filter:brightness(0) invert(1);
}
.application-visual-card{
  align-items:flex-start;
}
.application-visual-card .application-icon{
  margin-bottom:16px;
}

/* Icon visibility polish */
.card .icon-circle--asset,
.product-card .icon-circle--asset{
  width:58px;
  height:58px;
  background:var(--pink);
}
.icon-circle--asset img{
  width:39px;
  height:39px;
  object-fit:contain;
  filter:brightness(0) invert(1);
  opacity:1;
}
.application-visual-card .application-icon{
  width:64px;
  height:64px;
}
.application-visual-card .application-icon img{
  width:44px;
  height:44px;
}
