:root {
      --brand: #295f98;
      --brand-2: #f4b860;
      --dark: #122033;
      --soft: #f7f9fc;
      --muted: #6b7280;
      --success-soft: #eaf8ef;
      --danger-soft: #fff0f0;
      --radius-xl: 1.5rem;
      --shadow-soft: 0 20px 50px rgba(18, 32, 51, 0.08);
    }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--dark);
      background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    }

    .navbar {
      backdrop-filter: blur(10px);
      background: rgba(255,255,255,0.92);
      border-bottom: 1px solid rgba(0,0,0,0.04);
    }

    .navbar-brand span:first-child { color: var(--brand); }
    .navbar-brand span:last-child { color: var(--brand-2); }

    .btn-brand {
      background: var(--brand);
      color: #fff;
      border: none;
      border-radius: 999px;
      padding: 0.8rem 1.35rem;
      font-weight: 600;
    }

    .btn-brand:hover {
      background: #204b79;
      color: #fff;
    }

    .btn-soft {
      background: #fff;
      color: var(--dark);
      border: 1px solid rgba(18, 32, 51, 0.1);
      border-radius: 999px;
      padding: 0.8rem 1.15rem;
      font-weight: 600;
    }

    .page-hero {
      padding: 7rem 0 2.5rem;
      background:
        radial-gradient(circle at top right, rgba(244,184,96,0.16), transparent 22%),
        radial-gradient(circle at top left, rgba(41,95,152,0.11), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      border-radius: 999px;
      background: rgba(41,95,152,0.08);
      color: var(--brand);
      padding: 0.45rem 0.9rem;
      font-weight: 700;
      font-size: 0.9rem;
    }

    .page-title {
      font-size: clamp(2rem, 5vw, 4rem);
      line-height: 1.05;
      font-weight: 800;
      letter-spacing: -0.04em;
    }

    .page-text {
      color: var(--muted);
      max-width: 720px;
      font-size: 1.06rem;
    }

    .filter-shell,
    .product-card,
    .cta-card {
      border: 1px solid rgba(18, 32, 51, 0.06);
      border-radius: 1.6rem;
      box-shadow: var(--shadow-soft);
      background: #fff;
    }

    .filter-shell {
      padding: 1.1rem;
      margin-top: -0.5rem;
    }

    .section-padding {
      padding: 2rem 0 5rem;
    }

    .product-card {
      overflow: hidden;
      height: 100%;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      border-radius: 1.35rem;
    }

    .product-card:hover {
      transform: translateY(-6px);
      color: inherit;
      box-shadow: 0 20px 40px rgba(18, 32, 51, 0.12);
    }

    .product-image {
      background: linear-gradient(135deg, #f1f6ff, #fff4e6);
      width: 100%;
      aspect-ratio: 4 / 3;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    .product-image img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.35s ease;
    }

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

    .mattress-illustration {
      width: 82%;
      max-width: 260px;
      aspect-ratio: 16 / 10;
      border-radius: 1.5rem;
      background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
      box-shadow: 0 20px 45px rgba(18, 32, 51, 0.1), inset 0 -8px 20px rgba(41,95,152,0.06);
      position: relative;
      border: 1px solid rgba(18, 32, 51, 0.06);
    }

    .mattress-illustration::before {
      content: '';
      position: absolute;
      inset: 12% 8% 48% 8%;
      border-radius: 1.1rem;
      background: linear-gradient(135deg, #ffffff, #eef5ff);
      border: 1px solid rgba(18, 32, 51, 0.05);
    }

    .mattress-illustration::after {
      content: '';
      position: absolute;
      inset: 54% 10% 14% 10%;
      border-radius: 0 0 1.2rem 1.2rem;
      background: linear-gradient(135deg, #dfeaf8, #f9e6c3);
    }

    .spring-lines {
      position: absolute;
      left: 14%;
      right: 14%;
      bottom: 18%;
      height: 26%;
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 6px;
    }

    .spring-lines span {
      border: 2px solid rgba(41,95,152,0.2);
      border-top: none;
      border-bottom: none;
      border-radius: 999px;
    }

    .discount-badge,
    .tag-badge,
    .status-badge {
      position: absolute;
      top: 0.85rem;
      border-radius: 999px;
      padding: 0.35rem 0.75rem;
      font-size: 0.76rem;
      font-weight: 800;
      letter-spacing: 0.02em;
      z-index: 2;
      line-height: 1.2;
    }

    .discount-badge {
      left: 0.85rem;
      background: var(--danger-soft);
      color: #cf3d3d;
    }

    .tag-badge {
      right: 0.85rem;
      background: rgba(255,255,255,0.92);
      color: var(--dark);
      backdrop-filter: blur(4px);
    }

    .status-badge {
      left: 0.85rem;
      top: auto;
      bottom: 0.85rem;
      background: var(--success-soft);
      color: #16824f;
      backdrop-filter: blur(4px);
    }

    .product-card-body {
      padding: 1.35rem;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .product-title {
      font-size: 1.15rem;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 0.4rem;
      color: var(--dark);
    }

    .product-summary {
      color: var(--muted);
      font-size: 0.86rem;
      line-height: 1.45;
      margin-bottom: 0.75rem;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .price-row {
      display: flex;
      align-items: baseline;
      gap: 0.5rem;
      flex-wrap: wrap;
      margin-bottom: 0.75rem;
    }

    .new-price {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--brand);
    }

    .old-price {
      color: #9ca3af;
      text-decoration: line-through;
      font-weight: 600;
      font-size: 0.85rem;
    }

    .product-features {
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem;
      margin-bottom: 1rem;
    }

    .mini-pill {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      padding: 0.28rem 0.6rem;
      background: #f5f7fb;
      color: #495466;
      font-size: 0.76rem;
      font-weight: 600;
      line-height: 1.2;
    }

    .product-footer {
      margin-top: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      color: var(--brand);
      font-weight: 700;
      font-size: 0.88rem;
      padding-top: 0.75rem;
      border-top: 1px solid rgba(18, 32, 51, 0.07);
    }

    .cta-card {
      background: linear-gradient(135deg, #1d3557, #295f98);
      color: #fff;
      padding: 2rem;
      position: relative;
      overflow: hidden;
    }

    .cta-card::after {
      content: '';
      position: absolute;
      width: 240px;
      height: 240px;
      right: -60px;
      top: -60px;
      background: rgba(255,255,255,0.08);
      border-radius: 50%;
    }

    .footer {
      background: #0f1b2b;
      color: rgba(255,255,255,0.8);
      padding: 2rem 0;
    }

    .footer a {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
    }

    .footer a:hover { color: #fff; }

    @media (max-width: 991.98px) {
      .page-hero { padding-top: 6rem; }
    }

    /* Mobile phone (2 columns): screen < 768px */
    @media (max-width: 767.98px) {
      .product-card {
        border-radius: 1.1rem;
      }

      .product-image {
        aspect-ratio: 4 / 3;
      }

      .discount-badge,
      .tag-badge,
      .status-badge {
        top: 0.45rem;
        font-size: 0.65rem;
        padding: 0.2rem 0.45rem;
        font-weight: 700;
      }

      .discount-badge {
        left: 0.45rem;
      }

      .tag-badge {
        right: 0.45rem;
        max-width: 52%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .status-badge {
        left: 0.45rem;
        bottom: 0.45rem;
        top: auto;
      }

      .product-card-body {
        padding: 0.85rem 0.75rem;
      }

      .product-title {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
        line-height: 1.25;
      }

      .product-summary {
        font-size: 0.76rem;
        margin-bottom: 0.55rem;
        line-height: 1.35;
      }

      .price-row {
        gap: 0.35rem;
        margin-bottom: 0.55rem;
      }

      .new-price {
        font-size: 1.02rem;
      }

      .old-price {
        font-size: 0.75rem;
      }

      .product-features {
        gap: 0.25rem;
        margin-bottom: 0.7rem;
      }

      .mini-pill {
        font-size: 0.66rem;
        padding: 0.18rem 0.42rem;
      }

      .product-footer {
        font-size: 0.78rem;
        padding-top: 0.5rem;
      }
    }
