﻿:root {
      --pink: #d90070;
      --pink-dark: #a00055;
      --pink-soft: #fff1f7;
      --pink-softer: #fff8fb;
      --cream: #fffaf3;
      --gold: #c88733;
      --ink: #2f2530;
      --text: #44383f;
      --muted: #746873;
      --line: #f0d7e3;
      --card: #ffffff;
      --green: #3f7d64;
      --shadow: 0 14px 38px rgba(72, 25, 54, 0.10);
      --shadow-soft: 0 8px 24px rgba(72, 25, 54, 0.08);
      --radius: 22px;
      --max: 1180px;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 12% 0%, rgba(255, 196, 222, .52), transparent 32%),
        radial-gradient(circle at 88% 10%, rgba(255, 236, 190, .54), transparent 28%),
        linear-gradient(180deg, #fff8fc 0%, #fffaf4 44%, #ffffff 100%);
    }

    a { color: inherit; }
    button, input, textarea { font-family: inherit; }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, .93);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(240, 215, 227, .9);
    }

    .nav {
      max-width: var(--max);
      margin: 0 auto;
      padding: 11px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
      text-decoration: none;
    }

    .logo {
      width: 42px;
      height: 42px;
      flex: 0 0 42px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      color: #fff;
      background: linear-gradient(135deg, #ff7aba, var(--pink));
      box-shadow: 0 8px 18px rgba(217, 0, 112, .25);
      font-size: 14px;
      font-weight: 900;
      letter-spacing: .5px;
    }

    .brand-text strong {
      display: block;
      color: var(--pink-dark);
      font-size: 18px;
      line-height: 1.05;
    }

    .brand-text span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.2;
      white-space: nowrap;
    }

    .menu {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      color: #4b4048;
    }

    .menu a {
      text-decoration: none;
      padding: 9px 10px;
      border-radius: 999px;
      white-space: nowrap;
    }

    .menu a:hover {
      background: var(--pink-soft);
      color: var(--pink-dark);
    }

    /*Nút login*/
    /*Nút login đỏ, nổi*/
    /*.login-link {
      border: 1px solid #edb7d2;
      color: var(--pink-dark) !important;
      font-weight: 800;
      background: #fff;
    }*/

/*Nút login mờ, nhỏ hơn*/


    .login-link {
  border: 1px solid rgba(237, 183, 210, .45);
  color: rgba(168, 0, 92, .55) !important;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 9px !important;
  background: rgba(255, 255, 255, .45);
  opacity: .72;
}

.login-link:hover {
  opacity: 1;
  color: var(--pink-dark) !important;
  background: var(--pink-soft);
}

.mobile-nav a[href*="/cnp/"],
.footer a[href*="/cnp/"],
.mobile-nav a[href="/login.aspx"],
.footer a[href="/login.aspx"] {
    opacity: .55;
    font-size: 12px;
}

    .mobile-nav a[href*="/cnp/"]:hover,
    .footer a[href*="/cnp/"]:hover,
    .mobile-nav a[href="/login.aspx"]:hover,
    .footer a[href="/login.aspx"]:hover {
        opacity: 1;
    }


/*End Nút login*/



    .mobile-nav {
      display: none;
      max-width: var(--max);
      padding: 0 14px 10px;
      margin: 0 auto;
      overflow-x: auto;
      gap: 8px;
    }

    .mobile-nav a {
      flex: 0 0 auto;
      text-decoration: none;
      padding: 8px 11px;
      border-radius: 999px;
      border: 1px solid #efd2e0;
      background: #fff;
      color: var(--pink-dark);
      font-size: 13px;
      font-weight: 700;
    }

    .hero {
      max-width: var(--max);
      margin: 0 auto;
      padding: 34px 18px 18px;
      display: grid;
      grid-template-columns: 1.08fr .92fr;
      gap: 22px;
      align-items: stretch;
    }

    .hero-card {
      background: rgba(255, 255, 255, .86);
      border: 1px solid rgba(240, 215, 227, .95);
      box-shadow: var(--shadow);
      border-radius: 30px;
      padding: 34px;
      position: relative;
      overflow: hidden;
    }

    .hero-card::after {
      content: "";
      position: absolute;
      width: 160px;
      height: 160px;
      border-radius: 50%;
      background: rgba(255, 194, 220, .32);
      right: -70px;
      top: -70px;
    }

    .tagline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 13px;
      margin-bottom: 14px;
      border-radius: 999px;
      color: var(--pink-dark);
      background: var(--pink-soft);
      border: 1px solid #f2cfe0;
      font-size: 13px;
      font-weight: 800;
    }

    h1 {
      margin: 0 0 14px;
      color: var(--ink);
      font-size: clamp(31px, 5.1vw, 56px);
      line-height: 1.02;
      letter-spacing: -1.55px;
      max-width: 760px;
    }

    .hero-lead {
      margin: 0 0 18px;
      color: #5a4e57;
      font-size: 17px;
      line-height: 1.66;
      max-width: 720px;
    }

    .heart-note {
      margin: 20px 0 0;
      padding: 16px 17px;
      border-radius: 20px;
      background: linear-gradient(135deg, #fff8fb, #fffaf0);
      border: 1px solid #f2d3e0;
      color: #53424d;
      line-height: 1.62;
      font-size: 15px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 11px;
      margin-top: 20px;
      align-items: center;
    }

    .btn {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      gap: 7px;
      border-radius: 999px;
      border: 1px solid transparent;
      padding: 12px 17px;
      min-height: 44px;
      font-size: 14px;
      font-weight: 850;
      text-decoration: none;
      cursor: pointer;
      transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    }

    .btn:hover { transform: translateY(-1px); }
    .btn-primary { background: var(--pink); color: white; box-shadow: 0 9px 18px rgba(217,0,112,.22); }
    .btn-secondary { background: #fff; color: var(--pink-dark); border-color: #efbad5; }
    .btn-soft { background: var(--pink-soft); color: var(--pink-dark); border-color: #f3cddd; }
    .btn-muted { background: #fff; color: #5d5058; border-color: #e9d3dc; }

    .value-panel {
      display: grid;
      gap: 12px;
    }

    .value-card {
      min-height: 122px;
      display: grid;
      grid-template-columns: 56px 1fr;
      gap: 14px;
      align-items: center;
      padding: 18px;
      background: rgba(255,255,255,.88);
      border: 1px solid rgba(240, 215, 227, .92);
      border-radius: 24px;
      box-shadow: var(--shadow-soft);
    }

    .value-icon {
      width: 56px;
      height: 56px;
      display: grid;
      place-items: center;
      border-radius: 18px;
      background: linear-gradient(135deg, #fff2f8, #fff7df);
      color: var(--pink-dark);
      font-size: 26px;
      border: 1px solid #f0d4e1;
    }

    .value-card h3 {
      margin: 0 0 6px;
      color: var(--ink);
      font-size: 18px;
    }

    .value-card p {
      margin: 0;
      color: #5d5058;
      line-height: 1.48;
      font-size: 14px;
    }

    .section {
      max-width: var(--max);
      margin: 0 auto;
      padding: 18px;
    }

    .section-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 16px;
      margin: 24px 0 14px;
    }

    .eyebrow {
      margin: 0 0 6px;
      color: var(--pink-dark);
      font-weight: 850;
      font-size: 13px;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .section-head h2 {
      margin: 0;
      color: var(--ink);
      font-size: clamp(24px, 3.2vw, 34px);
      line-height: 1.1;
      letter-spacing: -.5px;
    }

    .section-head .helper {
      max-width: 380px;
      text-align: right;
      color: var(--muted);
      line-height: 1.45;
      font-size: 14px;
    }

    .card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow-soft);
      padding: 20px;
    }

    .gallery-wrap {
        display: grid;
        grid-template-columns: minmax(320px, 520px) minmax(280px, 1fr);
        gap: 16px;
        align-items: start;
    }

  
    .featured {
        position: relative;
        width: 100%;
        aspect-ratio: 4 / 5;
        min-height: 0;
        overflow: hidden;
        border-radius: 26px;
        background: #f8e9f1;
        box-shadow: var(--shadow);
    }

   

    .featured img {
        width: 100%;
        height: 100%;
        min-height: 0;
        display: block;
        object-fit: cover;
        object-position: center;
        transform: none;
    }

.featured-overlay {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(34, 16, 28, .77));
}

    .featured-overlay h3 {
      margin: 0 0 8px;
      font-size: 27px;
      line-height: 1.08;
      text-shadow: 0 2px 12px rgba(0,0,0,.28);
    }

    .featured-overlay p {
      margin: 0;
      line-height: 1.45;
      max-width: 620px;
      color: rgba(255,255,255,.93);
    }

    .image-like-row {
      position: absolute;
      top: 14px;
      left: 14px;
      right: 14px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
    }

    .pill {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 8px 12px;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,.55);
        background: rgba(255,255,255,.88);
        color: var(--pink-dark);
        font-size: 13px;
        font-weight: 850;
        box-shadow: 0 6px 18px rgba(0,0,0,.12);
        white-space: nowrap;
        min-width: 54px;
        justify-content: center;
    }

    .image-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    .tiny-btn {
      border: 1px solid #e8c8d8;
      background: rgba(255,255,255,.92);
      color: var(--pink-dark);
      border-radius: 999px;
      padding: 8px 11px;
      font-weight: 800;
      font-size: 13px;
      cursor: pointer;
      box-shadow: 0 6px 18px rgba(0,0,0,.08);
    }

    .tiny-btn.active, .small-btn.active {
      background: var(--pink);
      color: #fff;
      border-color: var(--pink);
    }

    .gallery-side {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .gallery-info {
      padding: 20px;
    }

    .gallery-info h3 {
      margin: 0 0 8px;
      color: var(--ink);
      font-size: 22px;
    }

    .gallery-info p {
      margin: 0 0 14px;
      color: #5b5058;
      line-height: 1.58;
      font-size: 15px;
    }

    .best-for {
      margin: 0 0 10px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    .chips {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin: 10px 0 0;
    }

    .chip {
      border: 1px solid #efd0de;
      background: #fff8fb;
      color: var(--pink-dark);
      padding: 7px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 800;
    }

    .gallery-controls {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .gallery-controls .btn {
      width: 100%;
    }

    .thumb-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
    }

    .thumb {
      border: 3px solid transparent;
      border-radius: 16px;
      overflow: hidden;
      height: 82px;
      cursor: pointer;
      background: #f6e7ef;
      padding: 0;
    }

    .thumb img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .thumb.active {
      border-color: var(--pink);
      box-shadow: 0 8px 16px rgba(217,0,112,.18);
    }

    .two-col {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
      gap: 16px;
      align-items: start;
    }

    .tip-card {
      min-height: 100%;
    }

    .tip-top {
      display: flex;
      align-items: flex-start;
      gap: 14px;
    }

    .round-icon {
      width: 54px;
      height: 54px;
      display: grid;
      place-items: center;
      flex: 0 0 54px;
      border-radius: 18px;
      background: linear-gradient(135deg, #fff1f7, #fff7dd);
      font-size: 25px;
      border: 1px solid #efd3e0;
    }

    .tip-card h3, .salon-tip h3, .moment-card h3, .ad-card h3 {
      margin: 0 0 9px;
      color: var(--ink);
      font-size: 22px;
      line-height: 1.18;
    }

    .tip-card p, .salon-tip p, .moment-card p, .ad-card p {
      margin: 0 0 13px;
      color: #584d55;
      line-height: 1.62;
      font-size: 15px;
    }

    .read-more-text {
      max-height: 0;
      overflow: hidden;
      transition: max-height .25s ease;
      color: #584d55;
    }

    .read-more-text.open { max-height: 240px; }

    .action-row {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
      margin-top: 14px;
    }

    .small-btn {
      border: 1px solid #e8c8d8;
      background: #fff;
      color: #514650;
      border-radius: 999px;
      padding: 10px 13px;
      min-height: 40px;
      font-weight: 800;
      font-size: 13px;
      cursor: pointer;
    }

    .related-ad {
      overflow: hidden;
      background: linear-gradient(135deg, #fff8fb, #fffaf0);
    }

    .ad-image {
      width: 100%;
      height: 190px;
      object-fit: cover;
      border-radius: 18px;
      display: block;
      margin-bottom: 14px;
      background: #f7e9ef;
    }

    .salon-tip {
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,248,251,.92)),
        url('https://images.unsplash.com/photo-1604654894611-6973b376cbde?auto=format&fit=crop&w=1200&q=80') center/cover;
    }

    .salon-tip .quote-mark {
      position: absolute;
      right: 18px;
      top: 10px;
      color: rgba(217,0,112,.10);
      font-size: 96px;
      font-family: Georgia, serif;
      line-height: 1;
    }

    .moments-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .moment-card {
      min-height: 225px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .moment-card.book {
      background: linear-gradient(135deg, #fff, #fff8ef);
      border-color: #efd9bd;
    }

    .global-ad {
      display: grid;
      grid-template-columns: 260px minmax(0, 1fr);
      gap: 20px;
      align-items: center;
      background: linear-gradient(135deg, #fff, #fff8fb);
      overflow: hidden;
    }

    .global-ad img {
      width: 260px;
      height: 210px;
      border-radius: 20px;
      object-fit: cover;
      background: #f8e8f0;
    }

    .invite-wrap {
      display: grid;
      grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
      gap: 16px;
      align-items: stretch;
    }

    .form-grid {
      display: grid;
      gap: 10px;
    }

    input[type="email"], input[type="text"], textarea {
      width: 100%;
      border: 1px solid #e8cbd9;
      border-radius: 15px;
      padding: 13px 14px;
      font-size: 14px;
      background: #fff;
      color: var(--text);
      outline: none;
    }

    input:focus, textarea:focus {
      border-color: var(--pink);
      box-shadow: 0 0 0 3px rgba(217,0,112,.08);
    }

    textarea { min-height: 110px; resize: vertical; line-height: 1.48; }

    .note-small {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
    }

    .footer {
      margin-top: 40px;
      padding: 30px 18px;
      color: #fbe9f3;
      background: #30212b;
      text-align: center;
      line-height: 1.62;
      font-size: 13px;
    }

    .footer a { color: #ffd4e8; }

    .modal {
      position: fixed;
      inset: 0;
      z-index: 200;
      display: none;
      background: rgba(25, 13, 22, .78);
      padding: 18px;
      overflow: auto;
    }

    .modal.open { display: block; }

    .modal-inner {
      max-width: 1100px;
      margin: 28px auto;
      background: #fff;
      border-radius: 28px;
      box-shadow: 0 30px 80px rgba(0,0,0,.35);
      overflow: hidden;
    }

    .modal-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 14px;
      padding: 18px 20px;
      border-bottom: 1px solid var(--line);
    }

    .modal-head h3 { margin: 0; color: var(--ink); }

    .close-x {
      border: 0;
      background: var(--pink-soft);
      color: var(--pink-dark);
      width: 38px;
      height: 38px;
      border-radius: 50%;
      font-weight: 900;
      cursor: pointer;
    }

    .all-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      padding: 18px;
    }

    .all-tile {
      border-radius: 18px;
      overflow: hidden;
      background: #f8e9ef;
      position: relative;
      min-height: 210px;
      cursor: pointer;
    }

    .all-tile img {
      display: block;
      width: 100%;
      height: 210px;
      object-fit: cover;
    }

    .all-tile div {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 10px;
      color: white;
      font-weight: 850;
      font-size: 13px;
      background: linear-gradient(180deg, transparent, rgba(31, 12, 24, .76));
    }

    .slideshow-stage {
      position: relative;
      min-height: 72vh;
      background: #120b10;
      display: grid;
      place-items: center;
      overflow: hidden;
    }

    .slideshow-stage img {
      width: 100%;
      height: 72vh;
      object-fit: contain;
      background: #120b10;
    }

    .slideshow-caption {
      position: absolute;
      left: 18px;
      right: 18px;
      bottom: 18px;
      color: white;
      background: rgba(0,0,0,.44);
      border: 1px solid rgba(255,255,255,.16);
      border-radius: 18px;
      padding: 14px;
      backdrop-filter: blur(6px);
    }

    .slideshow-controls {
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      transform: translateY(-50%);
      display: flex;
      justify-content: space-between;
      padding: 0 14px;
      pointer-events: none;
    }

    .slide-arrow {
      pointer-events: auto;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,.44);
      background: rgba(255,255,255,.15);
      color: white;
      font-size: 24px;
      cursor: pointer;
    }

    @media (max-width: 940px) {
      .menu { display: none; }
      .mobile-nav { display: flex; }
      .hero { grid-template-columns: 1fr; padding-top: 22px; }
      .value-panel { grid-template-columns: repeat(3, 1fr); }
      .value-card { grid-template-columns: 1fr; text-align: center; }
      .value-icon { margin: 0 auto; }
      .gallery-wrap, .two-col, .invite-wrap { grid-template-columns: 1fr; }
      .featured, .featured img { min-height: 0; }
      .moments-grid { grid-template-columns: repeat(2, 1fr); }
      .global-ad { grid-template-columns: 1fr; }
      .global-ad img { width: 100%; height: 260px; }
      .all-grid { grid-template-columns: repeat(3, 1fr); }
    }

    @media (max-width: 620px) {
      .nav { padding: 10px 14px; }
      .brand-text strong { font-size: 16px; }
      .brand-text span { display: none; }
      .hero, .section { padding-left: 12px; padding-right: 12px; }
      .hero-card { padding: 23px; border-radius: 24px; }
      .hero-actions .btn { width: 100%; }
      .value-panel { grid-template-columns: 1fr; }
      .value-card { grid-template-columns: 50px 1fr; text-align: left; }
      .value-icon { margin: 0; width: 50px; height: 50px; }
      .section-head { flex-direction: column; align-items: flex-start; }
      .section-head .helper { text-align: left; max-width: none; }
      .featured, .featured img { min-height: 0; }
      .featured-overlay h3 { font-size: 23px; }
      .image-like-row { align-items: flex-start; flex-direction: column; }
      .image-actions { justify-content: flex-start; }
      .gallery-controls { grid-template-columns: 1fr; }
      .thumb-grid { grid-template-columns: repeat(4, 1fr); }
      .thumb { height: 70px; }
      .tip-top { flex-direction: column; }
      .moments-grid { grid-template-columns: 1fr; }
      .all-grid { grid-template-columns: repeat(2, 1fr); padding: 12px; }
      .all-tile, .all-tile img { min-height: 170px; height: 170px; }
      .modal { padding: 10px; }
      .modal-inner { margin: 18px auto; border-radius: 22px; }
      .slideshow-stage, .slideshow-stage img { min-height: 70vh; height: 70vh; }
    }
/* Phase 1 Hub overrides: neutral root Hub, database-backed Nail Ideas, and mobile polish. */
.phase1-hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 8px; }
.phase1-hero .hero-card { max-width: 960px; margin: 0 auto; }
.content-date { margin-top: 7px; color: var(--muted); font-size: 14px; font-weight: 800; line-height: 1.45; }
.empty-state { border: 1px solid var(--line); background: rgba(255,255,255,.9); box-shadow: var(--shadow-soft); border-radius: var(--radius); padding: 24px; color: #5b5058; line-height: 1.55; font-size: 16px; }
.best-for-line { margin: 14px 0 0; color: var(--muted); line-height: 1.5; font-size: 14px; font-weight: 800; }
.nail-credit { color: #655961; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.gallery-info .nail-credit { margin: 8px 0 10px; }
.nail-credit-link { color: var(--pink-dark); font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.nail-credit-link:hover { color: var(--ink); }
.nail-credit-link:focus-visible { outline: 3px solid rgba(188, 75, 121, .28); outline-offset: 3px; border-radius: 3px; }
.feedback-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.feedback-message { min-height: 20px; color: var(--green); font-size: 13px; font-weight: 800; }
.tiny-btn:disabled, .small-btn:disabled, .btn:disabled { cursor: default; opacity: .62; transform: none; }
.image-missing { visibility: hidden; }
.modal-inner.modal-small { max-width: 560px; }
.modal-body { padding: 18px 20px 22px; }
.modal-body .form-grid { margin-top: 12px; }
.email-design-line { color: var(--muted); line-height: 1.45; margin: 0; }
.email-demo-message { min-height: 22px; margin: 12px 0 0; color: var(--green); font-weight: 850; line-height: 1.45; }
button.all-tile { border: 0; padding: 0; width: 100%; text-align: left; font-family: inherit; }
.placeholder-copy { position: relative; max-width: 820px; }
.product-cta { width: auto; }
.contact-email { font-size: 20px; font-weight: 900; color: var(--pink-dark); margin-top: 12px; }
@media (max-width: 720px) { .section-head { align-items: flex-start; } .thumb-grid { display: flex; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; } .thumb { flex: 0 0 96px; scroll-snap-align: start; } }
@media (max-width: 620px) { .image-like-row { align-items: flex-start; } .image-actions { justify-content: flex-start; } .gallery-controls { grid-template-columns: 1fr; } .all-grid { grid-template-columns: 1fr; } .modal { padding: 10px; } .modal-inner { margin: 12px auto; border-radius: 20px; } .featured, .featured img { min-height: 0; } }

.home-nail-search {
  margin: -4px 0 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.82);
}

.home-nail-search > label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.home-nail-search-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 9px;
}

.home-nail-search-row input {
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #ddc9d3;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.home-nail-search p {
  margin: 8px 0 0;
  color: #786b73;
  font-size: 13px;
}

.home-nail-search :focus-visible {
  outline: 3px solid #7b2f63;
  outline-offset: 2px;
}

@media (max-width: 620px) {
  .home-nail-search-row { grid-template-columns: 1fr; }
  .home-nail-search-row .btn { width: 100%; }
}
#undoFeedbackBtn {
    display: none !important;
}
.idea-related-ad {
    display: none;
}

    .idea-related-ad img {
        max-width: 100%;
        height: auto;
        border-radius: 16px;
    }


.read-more-link {
    border: 0;
    background: transparent;
    color: var(--pink-dark);
    padding: 0;
    margin: 2px 0 10px;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
}

    .read-more-link:hover {
        text-decoration: underline;
    }

/* Mobile-first Hub shell and homepage experience. */
img,
svg,
video {
    max-width: 100%;
}

.topbar,
.nav,
.hero,
.section,
.gallery-wrap,
.gallery-wrap > *,
.gallery-side,
.home-nail-search,
.footer {
    min-width: 0;
    max-width: 100%;
}

.topbar {
    width: 100%;
}

.nav {
    min-height: 60px;
    padding: 8px 12px;
    gap: 10px;
}

.brand {
    max-width: calc(100% - 86px);
}

.logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
}

.brand-text strong {
    overflow-wrap: anywhere;
    font-size: 16px;
}

.brand-text span,
.menu {
    display: none;
}

.mobile-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 74px;
    min-height: 44px;
    padding: 8px 11px;
    border: 1px solid #e9bfd3;
    border-radius: 999px;
    background: #fff;
    color: var(--pink-dark);
    cursor: pointer;
    font-size: 14px;
    font-weight: 850;
}

.mobile-menu-icon,
.mobile-menu-icon::before,
.mobile-menu-icon::after {
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.mobile-menu-icon {
    position: relative;
}

.mobile-menu-icon::before,
.mobile-menu-icon::after {
    position: absolute;
    left: 0;
    content: '';
}

.mobile-menu-icon::before { top: -5px; }
.mobile-menu-icon::after { top: 5px; }

.mobile-menu-toggle[aria-expanded='true'] .mobile-menu-icon {
    background: transparent;
}

.mobile-menu-toggle[aria-expanded='true'] .mobile-menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle[aria-expanded='true'] .mobile-menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.mobile-nav {
    position: absolute;
    top: 100%;
    right: 10px;
    left: 10px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 520px;
    max-height: calc(100dvh - 72px);
    margin: 0 0 0 auto;
    padding: 10px;
    overflow-y: auto;
    overflow-x: clip;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 16px 38px rgba(64, 29, 50, .2);
}

.mobile-nav[data-open='true'] {
    display: grid;
}

.mobile-nav a,
.mobile-nav a[href='/login.aspx'] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: 9px 10px;
    overflow-wrap: anywhere;
    border: 1px solid #efd2e0;
    border-radius: 12px;
    background: #fff8fb;
    color: var(--pink-dark);
    opacity: 1;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.hero {
    display: block;
    padding: 12px 12px 4px;
}

.hero-card {
    padding: 16px;
    border-radius: 20px;
}

.hero-card::after {
    width: 100px;
    height: 100px;
}

.tagline {
    max-width: 100%;
    margin-bottom: 9px;
    padding: 6px 9px;
    white-space: normal;
    font-size: 11px;
}

h1 {
    margin-bottom: 9px;
    font-size: 29px;
    line-height: 1.07;
    letter-spacing: -.75px;
}

.hero-lead {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.45;
}

.hero-more {
    display: none;
}

.hero-more[data-open='true'] {
    display: block;
}

.heart-note {
    margin-top: 12px;
    padding: 12px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.48;
}

.hero-read-more {
    min-height: 44px;
    margin: 5px 0 -6px;
    padding: 7px 2px;
    border: 0;
    background: transparent;
    color: var(--pink-dark);
    cursor: pointer;
    font-size: 13px;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.hero-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 9px;
    font-size: 12px;
    line-height: 1.25;
}

.section {
    padding: 12px;
}

.section-head {
    align-items: flex-start;
    margin: 18px 0 10px;
}

.section-head h2 {
    font-size: 30px;
}

.section-head .helper {
    max-width: none;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}

#nail-ideas {
    display: flex;
    flex-direction: column;
}

#nail-ideas .section-head {
    margin-top: 10px;
}

.content-date {
    margin-top: 4px;
    font-size: 13px;
}

.gallery-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
}

.featured-shell {
    min-width: 0;
    width: 100%;
}

.featured {
    width: 100%;
    max-height: 62vh;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
}

.featured img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}

.image-like-row {
    position: static;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding-top: 9px;
}

.pill {
    align-self: flex-start;
    min-height: 34px;
    padding: 6px 10px;
}

.image-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
}

.tiny-btn {
    min-width: 0;
    min-height: 44px;
    padding: 7px 8px;
    font-size: 13px;
    line-height: 1.2;
    white-space: normal;
}

#loveImageBtn,
#notStyleBtn,
#emailDesignBtn,
#viewAllBtn,
#startSlideBtn {
    font-size: 0;
}

#loveImageBtn::after { content: '\2661  Love'; }
#notStyleBtn::after { content: 'Not for me'; }
#emailDesignBtn::after { content: 'Email'; }
#viewAllBtn::after { content: 'Find a Design'; }
#startSlideBtn::after { content: 'Slideshow'; }

#loveImageBtn::after,
#notStyleBtn::after,
#emailDesignBtn::after,
#viewAllBtn::after,
#startSlideBtn::after {
    font-size: 13px;
}

.gallery-side {
    gap: 10px;
}

.gallery-info,
.card {
    padding: 15px;
    border-radius: 18px;
}

.gallery-info h3 {
    margin-bottom: 6px;
    overflow-wrap: anywhere;
    font-size: 19px;
    line-height: 1.25;
}

.gallery-info p {
    margin-bottom: 9px;
    font-size: 15px;
    line-height: 1.48;
}

.best-for-line {
    margin-top: 9px;
    font-size: 13px;
}

.gallery-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.gallery-controls .btn {
    min-width: 0;
    min-height: 44px;
    padding: 8px 10px;
    font-size: 13px;
}

.thumb-grid {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    padding: 2px 0 5px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.thumb-grid::-webkit-scrollbar {
    display: none;
}

.thumb {
    flex: 0 0 78px;
    width: 78px;
    height: 68px;
    scroll-snap-align: start;
}

.home-nail-search-toggle {
    display: inline-flex;
    width: 100%;
    margin-top: 12px;
}

.home-nail-search {
    display: none;
    width: 100%;
    margin: 9px 0 0;
    padding: 14px;
}

.home-nail-search[data-open='true'] {
    display: block;
}

.home-nail-search-row {
    grid-template-columns: minmax(0, 1fr);
}

.home-nail-search-row input,
.home-nail-search-row .btn {
    width: 100%;
    max-width: 100%;
}

.two-col,
.moments-grid,
.invite-wrap,
.global-ad {
    grid-template-columns: minmax(0, 1fr);
}

.footer {
    margin-top: 28px;
    padding: 24px 14px;
    overflow-wrap: anywhere;
}

.footer a {
    display: inline-block;
    margin: 2px 1px;
}

#productIdeaHtml,
#productIdeaHtml table,
#productIdeaHtml tbody,
#productIdeaHtml tr,
#productIdeaHtml td,
#productIdeaHtml a,
#productIdeaHtml img {
    min-width: 0 !important;
    max-width: 100% !important;
}

#productIdeaHtml table,
#productIdeaHtml tbody,
#productIdeaHtml tr,
#productIdeaHtml td {
    width: 100% !important;
}

#productIdeaHtml img {
    height: auto !important;
}

#productIdeaHtml td,
#productIdeaHtml a {
    overflow-wrap: anywhere;
}

body.modal-open {
    overflow: hidden;
}

.salon-return-bar {
    position: sticky;
    top: 61px;
    z-index: 40;
    width: 100%;
    min-width: 0;
    padding: 5px 8px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 250, 252, .97);
    box-shadow: 0 5px 14px rgba(43, 36, 41, .07);
}

.salon-return-inner {
    display: flex;
    width: 100%;
    max-width: var(--max);
    min-width: 0;
    margin: 0 auto;
}

.salon-return-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 7px 12px;
    border: 1px solid rgba(179, 48, 111, .22);
    border-radius: 12px;
    color: var(--pink-dark);
    background: #fff;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.salon-return-link:hover,
.salon-return-link:focus-visible {
    border-color: var(--pink);
    background: var(--pink-soft);
}

.modal {
    padding: 8px;
}

.modal-inner,
.modal-inner.modal-small {
    width: 100%;
    max-width: 100%;
    margin: 8px auto;
    border-radius: 18px;
}

.modal-head {
    padding: 12px 14px;
}

.close-x {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
}

.modal-body {
    padding: 14px;
}

@media (min-width: 481px) {
    .nav,
    .hero,
    .section {
        padding-right: 16px;
        padding-left: 16px;
    }

    .hero-card {
        padding: 20px;
    }

    h1 {
        font-size: 34px;
    }

    .hero-actions .btn,
    .gallery-controls .btn,
    #loveImageBtn::after,
    #notStyleBtn::after,
    #emailDesignBtn::after,
    #viewAllBtn::after,
    #startSlideBtn::after {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .salon-return-bar {
        top: 65px;
        padding: 5px 18px;
    }

    .salon-return-link {
        width: auto;
        justify-content: flex-start;
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (min-width: 1024px) {
    .salon-return-bar {
        top: 61px;
    }
}

@media (min-width: 768px) {
    .nav {
        padding: 10px 18px;
    }

    .brand-text span {
        display: block;
    }

    .hero {
        padding: 24px 18px 10px;
    }

    .hero-card {
        padding: 28px;
        border-radius: 28px;
    }

    h1 {
        font-size: clamp(38px, 6vw, 56px);
    }

    .hero-lead {
        font-size: 17px;
        line-height: 1.58;
    }

    .hero-more {
        display: block;
    }

    .hero-read-more {
        display: none;
    }

    .heart-note {
        margin-top: 18px;
        padding: 16px 17px;
        font-size: 15px;
    }

    .hero-actions {
        display: flex;
        margin-top: 18px;
    }

    .hero-actions .btn {
        width: auto;
        padding: 12px 17px;
        font-size: 14px;
    }

    .section {
        padding: 18px;
    }

    .section-head {
        align-items: flex-end;
        margin: 24px 0 14px;
    }

    .section-head .helper {
        max-width: 380px;
        text-align: right;
    }

    #nail-ideas > .section-head { order: 1; }
    #nail-ideas > .home-nail-search { order: 2; }
    #nail-ideas > .empty-state { order: 3; }
    #nail-ideas > .gallery-wrap { order: 4; }

    .home-nail-search-toggle {
        display: none;
    }

    .home-nail-search {
        display: block;
        margin: -4px 0 20px;
        padding: 16px;
    }

    .home-nail-search-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .home-nail-search-row .btn {
        width: auto;
    }

    .gallery-wrap {
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
        gap: 16px;
    }

    .featured {
        max-height: none;
        border-radius: 26px;
    }

    .image-actions {
        display: flex;
        width: auto;
    }

    #loveImageBtn,
    #notStyleBtn,
    #emailDesignBtn,
    #viewAllBtn,
    #startSlideBtn {
        font-size: 13px;
    }

    #loveImageBtn::after,
    #notStyleBtn::after,
    #emailDesignBtn::after,
    #viewAllBtn::after,
    #startSlideBtn::after {
        content: none;
    }

    .gallery-info,
    .card {
        padding: 20px;
        border-radius: var(--radius);
    }

    .gallery-info h3 {
        font-size: 22px;
    }

    .thumb-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        overflow: visible;
    }

    .thumb {
        width: auto;
        height: 76px;
    }

    .two-col {
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    }

    .moments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .modal {
        padding: 18px;
    }

    .modal-inner {
        width: auto;
        max-width: 1100px;
        margin: 28px auto;
        border-radius: 28px;
    }

    .modal-inner.modal-small {
        max-width: 560px;
    }
}

@media (min-width: 1024px) {
    .nav,
    .hero,
    .section {
        max-width: var(--max);
    }

    .mobile-menu-toggle,
    .mobile-nav,
    .mobile-nav[data-open='true'] {
        display: none;
    }

    .menu {
        display: flex;
    }

    .brand {
        max-width: none;
    }

    .gallery-wrap {
        grid-template-columns: minmax(320px, 520px) minmax(280px, 1fr);
    }

    .featured-shell {
        position: relative;
    }

    .image-like-row {
        position: absolute;
        top: 14px;
        right: 14px;
        left: 14px;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        width: auto;
        padding-top: 0;
    }

    .pill {
        align-self: auto;
    }

    .moments-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .global-ad {
        grid-template-columns: 260px minmax(0, 1fr);
    }
}
