:root {
    --green: #1FA82C;
    --green-dark: #178421;
    --green-tint: #EAF6EC;
    --red: #EE3F32;
    --red-dark: #C92F23;
    --warm-1: #F3D9BC;
    --warm-2: #E8B98C;
    --warm-3: #D89D6A;
    --ink: #1A1D1B;
    --body: #5C625E;
    --line: #E8EAE8;
    --surface: #F6F7F6;
    --white: #FFFFFF;
    --star: #F5B731;
    --radius: 12px;
    --shadow: 0 6px 24px rgba(26, 29, 27, 0.07);
    --shadow-lg: 0 16px 44px rgba(26, 29, 27, 0.12);
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  img {
    display: block;
    max-width: 100%;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  h1, h2, h3 {
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
  }

  .wrap {
    width: min(1200px, 92%);
    margin-inline: auto;
  }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
  }

  .btn-primary {
    background: var(--green);
    color: var(--white);
  }

  .btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
  }

  .btn-outline {
    background: var(--white);
    color: var(--ink);
    border-color: var(--line);
  }

  .btn-outline:hover {
    border-color: var(--ink);
  }

  .btn-light {
    background: var(--white);
    color: var(--ink);
  }

  .btn-light:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
  }

  /* ---------- Promo strip ---------- */
  .promo {
    background: var(--red);
    color: var(--white);
    text-align: center;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 9px 16px;
  }

  .promo strong {
    font-weight: 800;
  }

  .promo .tag {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2px 10px;
    margin-left: 8px;
    font-size: 12px;
  }

  /* ---------- Top bar ---------- */
  .topbar {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
  }

  .topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
  }

  .topbar a {
    color: rgba(255, 255, 255, 0.82);
  }

  .topbar .left {
    display: flex;
    gap: 22px;
  }

  .topbar .right {
    display: flex;
    gap: 22px;
  }

  .topbar .right a:hover {
    color: var(--white);
  }

  /* ---------- Header ---------- */
  header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 28px;
  }

  .brand img {
    height: 48px;
    width: auto;
  }

  .nav-menu {
    display: flex;
    gap: 32px;
    font-weight: 500;
    font-size: 15px;
  }

  .nav-menu a {
    color: var(--ink);
    transition: color 0.18s;
  }

  .nav-menu a.active,
  .nav-menu a:hover {
    color: var(--green);
  }

  .nav-tools {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .tool {
    position: relative;
    display: grid;
    place-items: center;
    color: var(--ink);
    transition: color 0.18s;
  }

  .tool:hover {
    color: var(--green);
  }

  .tool .dot {
    position: absolute;
    top: -5px;
    right: -6px;
    background: var(--green);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    padding: 0 4px;
  }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    background:
      radial-gradient(circle at 78% 38%, rgba(255, 255, 255, 0.5), transparent 46%),
      linear-gradient(120deg, var(--warm-1) 0%, var(--warm-2) 55%, var(--warm-3) 100%);
    overflow: hidden;
  }

  .hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(238, 63, 50, 0.16), transparent 65%);
    border-radius: 50%;
  }

  .hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 76px 0;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 15px;
    border-radius: 20px;
    margin-bottom: 22px;
    box-shadow: 0 6px 16px rgba(238, 63, 50, 0.28);
  }

  .hero h1 {
    font-size: clamp(40px, 5.2vw, 64px);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 20px;
  }

  .hero h1 .hl {
    color: var(--red-dark);
  }

  .hero p {
    font-size: 18px;
    color: #4A3F33;
    max-width: 440px;
    margin-bottom: 32px;
  }

  .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
  }

  .hero .btn-outline {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(26, 29, 27, 0.18);
  }

  .hero-meta {
    display: flex;
    gap: 36px;
  }

  .hero-meta .item .n {
    font-size: 26px;
    font-weight: 800;
    color: var(--ink);
  }

  .hero-meta .item .l {
    font-size: 13px;
    color: #5A4D3F;
  }

  .hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 380px;
  }

  .hero-visual::after {
    content: none;
  }

  .hero-pedestal {
    display: none;
  }

  .hero-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 30px 50px rgba(80, 45, 20, 0.3);
  }

  .hero-float {
    position: absolute;
    z-index: 2;
    bottom: -16px;
    left: -16px;
    background: var(--white);
    border-radius: 14px;
    padding: 12px 18px;
    box-shadow: 0 14px 34px rgba(80, 45, 20, 0.22);
  }

  .hero-float .t {
    font-size: 13px;
    color: var(--body);
  }

  .hero-float .p {
    font-size: 19px;
    font-weight: 800;
    color: var(--red-dark);
  }

  .hero-tag2 {
    position: absolute;
    z-index: 2;
    top: -16px;
    right: -12px;
    background: var(--red);
    color: var(--white);
    border-radius: 14px;
    padding: 12px 16px;
    text-align: center;
    box-shadow: 0 14px 34px rgba(238, 63, 50, 0.32);
  }

  .hero-tag2 .big {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
  }

  .hero-tag2 .sm {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
  }

  /* ---------- Trust bar ---------- */
  .trust {
    border-bottom: 1px solid var(--line);
  }

  .trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 28px 0;
  }

  .trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .trust-ico {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--green-tint);
    color: var(--green-dark);
    display: grid;
    place-items: center;
  }

  .trust-item .ti {
    font-size: 15px;
    font-weight: 700;
  }

  .trust-item .ts {
    font-size: 13px;
    color: var(--body);
  }

  /* ---------- Section ---------- */
  .section {
    padding: 80px 0;
  }

  .section.tinted {
    background: var(--surface);
  }

  .sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
  }

  .sec-head .eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 8px;
  }

  .sec-head h2 {
    font-size: clamp(28px, 3.6vw, 40px);
  }

  .sec-head .link {
    font-weight: 600;
    font-size: 15px;
    color: var(--green-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }

  .sec-head .link:hover {
    gap: 10px;
  }

  /* ---------- Categories ---------- */
  .cats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .cat {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
  }

  .cat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .cat:hover img {
    transform: scale(1.06);
  }

  .cat-body {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(26, 29, 27, 0.78) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--white);
  }

  .cat-body h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 2px;
  }

  .cat-body span {
    font-size: 14px;
    opacity: 0.85;
  }

  .cat-body .go {
    margin-top: 14px;
    align-self: flex-start;
    background: var(--white);
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 7px;
    transition: background 0.18s, color 0.18s;
  }

  .cat:hover .go {
    background: var(--green);
    color: var(--white);
  }

  /* ---------- Products ---------- */
  .prod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }

  .card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  }

  .card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: transparent;
  }

  .thumb {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--surface);
  }

  .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .card:hover .thumb img {
    transform: scale(1.07);
  }

  .flag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    padding: 5px 11px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(26, 29, 27, 0.18);
  }

  .flag.sale {
    background: var(--red);
  }

  .flag.new {
    background: var(--green);
  }

  .wish {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--ink);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease, color 0.18s, background 0.18s;
  }

  .card:hover .wish {
    opacity: 1;
    transform: translateY(0);
  }

  .wish:hover {
    color: var(--white);
    background: var(--red);
  }

  .info {
    padding: 16px 18px 0;
    flex: 1;
  }

  .info .kind {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--body);
    margin-bottom: 5px;
  }

  .info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .rate {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--body);
    background: var(--surface);
    padding: 3px 9px;
    border-radius: 20px;
  }

  .rate .stars {
    color: var(--star);
    letter-spacing: 0.5px;
    font-size: 12px;
  }

  .buy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px 18px;
  }

  .price {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
  }

  .price .now {
    font-size: 19px;
    font-weight: 800;
    color: var(--ink);
  }

  .price .was {
    font-size: 13px;
    color: var(--body);
    text-decoration: line-through;
  }

  .addbtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green);
    color: var(--white);
    border: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 9px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s, transform 0.18s;
  }

  .addbtn:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
  }

  /* ---------- Feature banner ---------- */
  .feature {
    background: var(--ink);
    color: var(--white);
  }

  .feature .wrap {
    width: 100%;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .feature-text {
    padding: 72px clamp(28px, 5vw, 72px);
    align-self: center;
    max-width: 600px;
    margin-left: auto;
    width: 100%;
  }

  .feature-text .eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
  }

  .feature-text h2 {
    font-size: clamp(30px, 4vw, 46px);
    color: var(--white);
    margin-bottom: 18px;
  }

  .feature-text p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    max-width: 420px;
    margin-bottom: 28px;
  }

  .feature-list {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-bottom: 34px;
  }

  .feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
  }

  .feature-list .check {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--green);
    display: grid;
    place-items: center;
  }

  .feature-img {
    background: url('https://images.unsplash.com/photo-1449505278894-297fdb3edbc1?w=1000&q=80') center/cover;
  }

  /* ---------- Newsletter ---------- */
  .news .wrap {
    background: var(--green);
    border-radius: 20px;
    padding: 56px clamp(28px, 6vw, 64px);
    color: var(--white);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 36px;
  }

  .news h2 {
    font-size: clamp(28px, 3.6vw, 38px);
    color: var(--white);
    margin-bottom: 8px;
  }

  .news p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 360px;
  }

  .news-form {
    display: flex;
    gap: 10px;
    background: var(--white);
    padding: 8px;
    border-radius: 12px;
  }

  .news-form input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 15px;
    border-radius: 8px;
  }

  .news-form input:focus {
    outline: none;
  }

  .news-form button {
    background: var(--ink);
    color: var(--white);
    border: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    padding: 0 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.18s;
  }

  .news-form button:hover {
    opacity: 0.88;
  }

  /* ---------- Footer ---------- */
  footer {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 64px 0 0;
  }

  .foot-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
  }

  .foot-brand img {
    height: 46px;
    margin-bottom: 18px;
  }

  .foot-brand p {
    color: var(--body);
    font-size: 14px;
    max-width: 290px;
    margin-bottom: 22px;
  }

  .socials {
    display: flex;
    gap: 10px;
  }

  .socials a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--ink);
    transition: background 0.18s, color 0.18s, border-color 0.18s;
  }

  .socials a:hover {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
  }

  .foot-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
  }

  .foot-col a,
  .foot-col p {
    display: block;
    color: var(--body);
    font-size: 14px;
    margin-bottom: 11px;
    transition: color 0.18s;
  }

  .foot-col a:hover {
    color: var(--green);
  }

  .foot-bottom {
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    font-size: 13px;
    color: var(--body);
  }

  .foot-bottom .pay {
    display: flex;
    gap: 8px;
  }

  .foot-bottom .pay span {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 600;
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 1000px) {
    .prod-grid {
      grid-template-columns: repeat(2, 1fr);
    }

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

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

    .cats .cat:last-child {
      grid-column: span 2;
      aspect-ratio: 16 / 7;
    }

    .foot-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 820px) {
    .topbar .left a:last-child {
      display: none;
    }

    .nav-menu {
      display: none;
    }

    .hero-grid,
    .feature-grid,
    .news .wrap {
      grid-template-columns: 1fr;
    }

    .feature-text {
      padding: 56px 24px;
      margin-inline: auto;
    }

    .feature-img {
      min-height: 280px;
    }
  }

  @media (max-width: 560px) {
    /* Promo strip: smaller text, tag wraps neatly below */
    .promo {
      font-size: 12px;
      padding: 8px 14px;
      line-height: 1.5;
    }

    .promo .tag {
      display: inline-block;
      margin-left: 6px;
      font-size: 11px;
    }

    /* Top bar: stack contact + links, allow wrapping, drop the email if too tight */
    .topbar .wrap {
      height: auto;
      flex-direction: column;
      gap: 4px;
      padding-top: 7px;
      padding-bottom: 7px;
    }

    .topbar .left,
    .topbar .right {
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .topbar {
      font-size: 12px;
    }

    /* Very narrow: email is also in the footer, so drop it from the bar */
    .topbar .left a[href^="mailto"] {
      display: none;
    }

    .prod-grid {
      gap: 14px;
    }

    .info {
      padding: 13px 13px 0;
    }

    .info h3 {
      font-size: 15px;
    }

    .buy {
      padding: 12px 13px 14px;
    }

    .price .now {
      font-size: 17px;
    }

    .addbtn {
      padding: 9px 12px;
      font-size: 13px;
    }

    .cats,
    .foot-grid {
      grid-template-columns: 1fr;
    }

    .cats .cat:last-child {
      grid-column: auto;
      aspect-ratio: 4 / 3;
    }

    .hero-meta {
      gap: 24px;
    }

    .foot-bottom {
      flex-direction: column;
      gap: 14px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    * {
      scroll-behavior: auto;
    }
  }
  /* ============================================================
     INNER PAGE COMPONENTS (shop, product, cart, account, etc.)
     ============================================================ */

  /* ---------- Page banner / breadcrumb ---------- */
  .page-banner {
    background:
      radial-gradient(circle at 80% 30%, rgba(238, 63, 50, 0.1), transparent 50%),
      linear-gradient(120deg, var(--warm-1), var(--warm-2));
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
  }

  .page-banner h1 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 10px;
  }

  .crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5A4D3F;
  }

  .crumb a:hover {
    color: var(--red-dark);
  }

  .crumb .sep {
    opacity: 0.5;
  }

  /* ---------- Shop layout ---------- */
  .shop {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
    align-items: start;
  }

  .filters {
    position: sticky;
    top: 100px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
    background: var(--white);
  }

  .filter-block {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .filter-block:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
  }

  .filter-block h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
  }

  .filter-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--body);
    margin-bottom: 11px;
    cursor: pointer;
  }

  .filter-opt input {
    accent-color: var(--green);
    width: 16px;
    height: 16px;
  }

  .filter-opt .ct {
    margin-left: auto;
    font-size: 12px;
    color: var(--body);
    background: var(--surface);
    padding: 1px 8px;
    border-radius: 10px;
  }

  .swatches {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 1px var(--line);
    cursor: pointer;
  }

  .swatch.active {
    box-shadow: 0 0 0 2px var(--green);
  }

  /* ---------- Shop toolbar ---------- */
  .shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }

  .shop-toolbar .count {
    font-size: 14px;
    color: var(--body);
  }

  .shop-toolbar select {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 14px;
    background: var(--white);
    cursor: pointer;
  }

  .shop .prod-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ---------- Pagination ---------- */
  .pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 44px;
  }

  .pagination a {
    min-width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    background: var(--white);
    transition: background 0.18s, color 0.18s, border-color 0.18s;
  }

  .pagination a:hover {
    border-color: var(--green);
    color: var(--green);
  }

  .pagination a.active {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
  }

  /* ---------- Product detail ---------- */
  .pdp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }

  .pdp-gallery .main {
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
  }

  .pdp-gallery .main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .pdp-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 12px;
  }

  .pdp-thumbs img {
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
    cursor: pointer;
    transition: border-color 0.18s;
  }

  .pdp-thumbs img:hover,
  .pdp-thumbs img.active {
    border-color: var(--green);
  }

  .pdp-info .kind {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 10px;
  }

  .pdp-info h1 {
    font-size: clamp(28px, 3.4vw, 38px);
    font-weight: 800;
    margin-bottom: 14px;
  }

  .pdp-rate {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--body);
    margin-bottom: 20px;
  }

  .pdp-rate .stars {
    color: var(--star);
  }

  .pdp-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 22px;
  }

  .pdp-price .now {
    font-size: 32px;
    font-weight: 800;
  }

  .pdp-price .was {
    font-size: 18px;
    color: var(--body);
    text-decoration: line-through;
  }

  .pdp-price .save {
    background: var(--red);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
  }

  .pdp-desc {
    color: var(--body);
    font-size: 15px;
    margin-bottom: 26px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
  }

  .pdp-opt {
    margin-bottom: 22px;
  }

  .pdp-opt .lbl {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .sizes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .size {
    min-width: 48px;
    height: 46px;
    padding: 0 6px;
    display: grid;
    place-items: center;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, color 0.18s;
  }

  .size:hover {
    border-color: var(--ink);
  }

  .size.active {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
  }

  .size.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
  }

  .qty {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
  }

  .qty button {
    width: 42px;
    height: 46px;
    border: none;
    background: var(--white);
    font-size: 18px;
    cursor: pointer;
    color: var(--ink);
  }

  .qty button:hover {
    background: var(--surface);
  }

  .qty input {
    width: 48px;
    height: 46px;
    border: none;
    text-align: center;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
  }

  .qty input:focus {
    outline: none;
  }

  .pdp-actions {
    display: flex;
    gap: 12px;
    margin: 26px 0;
    flex-wrap: wrap;
  }

  .pdp-actions .btn {
    flex: 1;
    min-width: 160px;
  }

  .pdp-meta {
    display: grid;
    gap: 10px;
    font-size: 14px;
    color: var(--body);
  }

  .pdp-meta .row {
    display: flex;
    gap: 10px;
  }

  .pdp-meta .row strong {
    color: var(--ink);
    min-width: 90px;
  }

  /* ---------- Tabs ---------- */
  .tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
    flex-wrap: wrap;
  }

  .tab {
    padding: 12px 20px;
    font-weight: 600;
    font-size: 15px;
    color: var(--body);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
  }

  .tab.active {
    color: var(--green);
    border-bottom-color: var(--green);
  }

  /* ---------- Cart ---------- */
  .cart {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 36px;
    align-items: start;
  }

  .cart-items {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
  }

  .cart-row {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--line);
  }

  .cart-row:last-child {
    border-bottom: none;
  }

  .cart-row .ci-img {
    width: 96px;
    height: 96px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--surface);
    border: 1px solid var(--line);
  }

  .cart-row .ci-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
  }

  .cart-row .ci-meta {
    font-size: 13px;
    color: var(--body);
    margin-bottom: 10px;
  }

  .cart-row .ci-remove {
    background: none;
    border: none;
    color: var(--red);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
  }

  .cart-row .ci-price {
    text-align: right;
    font-weight: 700;
    font-size: 17px;
  }

  /* ---------- Summary box ---------- */
  .summary {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px;
    position: sticky;
    top: 100px;
  }

  .summary h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
  }

  .summary .line {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: var(--body);
    margin-bottom: 14px;
  }

  .summary .line.total {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 4px;
    font-size: 19px;
    font-weight: 800;
    color: var(--ink);
  }

  .summary .btn {
    width: 100%;
    margin-top: 8px;
  }

  .coupon {
    display: flex;
    gap: 8px;
    margin: 18px 0;
  }

  .coupon input {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 14px;
  }

  .coupon input:focus {
    outline: none;
    border-color: var(--green);
  }

  .coupon button {
    border: 1.5px solid var(--ink);
    background: var(--white);
    border-radius: 8px;
    padding: 0 18px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
  }

  /* ---------- Forms (checkout / account / contact) ---------- */
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .field {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  .field.full {
    grid-column: 1 / -1;
  }

  .field label {
    font-size: 14px;
    font-weight: 600;
  }

  .field input,
  .field select,
  .field textarea {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    background: var(--white);
  }

  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-tint);
  }

  .field textarea {
    resize: vertical;
    min-height: 120px;
  }

  .card-box {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px;
  }

  .card-box h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 20px;
  }

  /* ---------- Account dashboard ---------- */
  .account {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 36px;
    align-items: start;
  }

  .account-nav {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    position: sticky;
    top: 100px;
  }

  .account-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    color: var(--body);
    transition: background 0.18s, color 0.18s;
  }

  .account-nav a:hover {
    background: var(--surface);
    color: var(--ink);
  }

  .account-nav a.active {
    background: var(--green);
    color: var(--white);
  }

  .account-nav a.logout {
    color: var(--red);
  }

  .stat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
  }

  .stat-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px;
  }

  .stat-card .n {
    font-size: 28px;
    font-weight: 800;
  }

  .stat-card .l {
    font-size: 14px;
    color: var(--body);
  }

  /* ---------- Table (orders) ---------- */
  .table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
  }

  .table th {
    text-align: left;
    background: var(--surface);
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--body);
  }

  .table td {
    padding: 16px 18px;
    border-top: 1px solid var(--line);
    font-size: 14px;
  }

  .pill {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 20px;
  }

  .pill.done {
    background: var(--green-tint);
    color: var(--green-dark);
  }

  .pill.pending {
    background: #FFF3E0;
    color: #B26A00;
  }

  .pill.cancel {
    background: #FDE7E5;
    color: var(--red-dark);
  }

  /* ---------- Auth (login / register) ---------- */
  .auth {
    max-width: 460px;
    margin: 0 auto;
  }

  .auth .card-box {
    padding: 36px;
  }

  .auth .switch {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--body);
  }

  .auth .switch a {
    color: var(--green-dark);
    font-weight: 600;
  }

  /* ---------- Mini cart drawer ---------- */
  .drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 29, 27, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s;
    z-index: 90;
  }

  .drawer-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  .drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(400px, 90vw);
    height: 100%;
    background: var(--white);
    z-index: 95;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(26, 29, 27, 0.15);
  }

  .drawer.open {
    transform: translateX(0);
  }

  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
  }

  .drawer-head h3 {
    font-size: 18px;
    font-weight: 700;
  }

  .drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
    display: grid;
    place-items: center;
  }

  .drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 22px;
  }

  .mini-row {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .mini-row img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--surface);
    border: 1px solid var(--line);
  }

  .mini-row .mn {
    font-weight: 600;
    font-size: 14px;
  }

  .mini-row .mm {
    font-size: 12px;
    color: var(--body);
  }

  .mini-row .mp {
    font-weight: 700;
    font-size: 14px;
  }

  .drawer-foot {
    border-top: 1px solid var(--line);
    padding: 20px 22px;
  }

  .drawer-foot .line {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 16px;
  }

  .drawer-foot .btn {
    width: 100%;
    margin-bottom: 8px;
  }

  /* ---------- Wishlist grid reuse ---------- */
  .empty-state {
    text-align: center;
    padding: 60px 20px;
  }

  .empty-state svg {
    color: var(--line);
    margin-bottom: 16px;
  }

  .empty-state h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .empty-state p {
    color: var(--body);
    margin-bottom: 22px;
  }

  /* ---------- Inner page responsive ---------- */
  @media (max-width: 900px) {
    .shop,
    .cart,
    .account,
    .pdp {
      grid-template-columns: 1fr;
    }

    .filters,
    .account-nav,
    .summary {
      position: static;
    }

    .shop .prod-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .form-grid {
      grid-template-columns: 1fr;
    }

    .stat-cards {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 560px) {
    .cart-row {
      grid-template-columns: 72px 1fr;
    }

    .cart-row .ci-price {
      grid-column: 2;
      text-align: left;
    }

    .table {
      font-size: 13px;
    }

    .table th:nth-child(3),
    .table td:nth-child(3) {
      display: none;
    }
  }

  /* ============================================================
     HEADER SEARCH + MOBILE HAMBURGER DRAWER
     ============================================================ */

  /* Search form next to the logo */
  .skm-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 420px;
    margin: 0 28px;
    padding: 9px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
  }

  .skm-search:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-tint);
  }

  .skm-search-ico {
    color: var(--body);
    flex-shrink: 0;
  }

  .skm-search input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    color: var(--ink);
  }

  /* Hamburger button — hidden on desktop */
  .nav-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: none;
    background: none;
    color: var(--ink);
    cursor: pointer;
    border-radius: 8px;
  }

  .nav-burger:hover {
    background: var(--surface);
  }

  /* Slide-in drawer */
  .skm-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 29, 27, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 120;
  }

  .skm-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  .skm-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 84vw);
    height: 100%;
    background: var(--white);
    z-index: 130;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 40px rgba(26, 29, 27, 0.16);
  }

  .skm-drawer.open {
    transform: translateX(0);
  }

  .skm-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
  }

  .skm-drawer-title {
    font-weight: 700;
    font-size: 17px;
  }

  .skm-drawer-close {
    border: none;
    background: none;
    color: var(--ink);
    cursor: pointer;
    display: grid;
    place-items: center;
  }

  .skm-drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
  }

  .skm-drawer-nav a {
    padding: 13px 22px;
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
  }

  .skm-drawer-nav a:hover {
    background: var(--surface);
    color: var(--green-dark);
  }

  .skm-drawer-links {
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding: 12px 0;
    display: flex;
    flex-direction: column;
  }

  .skm-drawer-links a {
    padding: 11px 22px;
    font-size: 14px;
    color: var(--body);
  }

  /* ---------- Header responsive ---------- */
  @media (max-width: 980px) {
    .skm-search {
      max-width: 280px;
      margin: 0 16px;
    }
  }

  @media (max-width: 820px) {
    .nav-burger {
      display: inline-flex;
    }

    .nav .brand {
      margin-right: auto;
    }

    .nav.wrap {
      flex-wrap: wrap;
      height: auto;
      padding-top: 12px;
      padding-bottom: 12px;
    }

    /* search drops below the top row on small screens */
    .skm-search {
      order: 10;
      flex-basis: 100%;
      max-width: 100%;
      margin: 10px 0 2px;
    }
  }

  /* ============================================================
     PRODUCT CAROUSEL
     ============================================================ */

  .skm-carousel {
    position: relative;
  }

  /* When carousel is active, the grid becomes a horizontal flex track */
  .skm-carousel.is-carousel .prod-grid {
    display: flex;
    grid-template-columns: none;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .skm-carousel.is-carousel .prod-grid::-webkit-scrollbar {
    display: none;
  }

  /* Each card takes a share of the row based on --skm-slides (set by JS) */
  .skm-carousel.is-carousel .prod-grid > .card {
    scroll-snap-align: start;
    flex: 0 0 calc((100% - (var(--skm-gap, 22px) * (var(--skm-slides, 4) - 1))) / var(--skm-slides, 4));
  }

  .skm-carousel-arrow {
    position: absolute;
    top: 42%;
    z-index: 5;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(26, 29, 27, 0.12);
    transition: background 0.18s, color 0.18s, opacity 0.18s;
  }

  .skm-carousel-arrow:hover {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
  }

  .skm-carousel-arrow.prev {
    left: -18px;
  }

  .skm-carousel-arrow.next {
    right: -18px;
  }

  .skm-carousel-arrow[disabled] {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
  }

  @media (max-width: 600px) {
    .skm-carousel-arrow.prev {
      left: 2px;
    }

    .skm-carousel-arrow.next {
      right: 2px;
    }
  }
