/*
 * Storefront home + craft worlds (Crochet, Aipan)
 * ---------------------------------------------------------------
 * One brand, one cart, one checkout. Each craft is recognisable by its
 * own colour wherever ITS products appear: Crochet is tan and cream,
 * Aipan is geru red. The shared parts (header, announcement bar, trust
 * strip, Gifts by Budget, footer) stay neutral.
 *
 * The rule that keeps the page calm: a craft's colour stays inside that
 * craft's own section. Never put tan on an Aipan section or geru on a
 * Crochet one.
 *
 * Every colour and font is a var(--pk-*) from pk-tokens.css.
 * Loaded on every customer page (the menu dots and card tags are sitewide);
 * the home-only blocks cost nothing elsewhere.
 */

/* ---- Header menu: craft tabs ----------------------------------- */

.menu-craft-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.menu-craft--crochet .menu-craft-dot { background: var(--pk-tan); }

/* Aipan's marker is a diamond, a nod to the diamond borders of Aipan art. */
.menu-craft--aipan .menu-craft-dot {
    background: var(--pk-geru);
    border-radius: 0;
    transform: rotate(45deg) scale(0.9);
}

/* ---- Craft tag on cards that mix both crafts ------------------- */

.pk-craft-tag {
    display: inline-block;
    align-self: flex-start;
    margin: 0 0 8px;
    padding: 3px 9px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.4;
}

.pk-craft-tag--crochet {
    background: var(--pk-cream);
    color: var(--pk-tan-deep);
    border-radius: 999px;
}

.pk-craft-tag--aipan {
    background: var(--pk-geru-tint);
    color: var(--pk-geru-deep);
    border-radius: 2px;
}

/* ---- Home: base --------------------------------------------------- */

.pk-home {
    background: var(--pk-page);
}

.pk-wrap {
    max-width: var(--pk-container);
    margin: 0 auto;
    padding: 0 var(--pk-gutter);
}

.pk-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.pk-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pk-tan-deep);
}

.pk-eyebrow--light { color: rgba(255, 253, 249, 0.85); }
.pk-eyebrow--red { color: var(--pk-geru); }

.pk-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 26px;
    border-radius: var(--pk-radius-pill);
    background: var(--pk-tan);
    color: var(--pk-ink);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.pk-pill-btn:hover {
    background: var(--pk-tan-deep);
    color: var(--pk-paper);
}

.pk-pill-btn--light {
    background: var(--pk-paper);
    color: var(--pk-geru);
}

.pk-pill-btn--light:hover {
    background: var(--pk-geru-tint);
    color: var(--pk-geru-deep);
}

.pk-row-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 36px 0 16px;
}

.pk-row-head h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--pk-ink);
}

.pk-row-head--plain { margin-top: 0; }

.pk-row-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--pk-tan-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.pk-row-link:hover { color: var(--pk-ink); }

.pk-aipan .pk-row-link { color: var(--pk-geru); }

/* ---- Home: round shortcuts -------------------------------------- */

.pk-circles {
    background: var(--pk-paper);
    border-bottom: 1px solid var(--pk-line);
}

.pk-circles-track {
    max-width: var(--pk-container);
    margin: 0 auto;
    padding: 16px var(--pk-gutter) 14px;
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none;
}

.pk-circles-track::-webkit-scrollbar { display: none; }

.pk-circle {
    flex: 0 0 auto;
    width: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--pk-ink);
    text-align: center;
}

.pk-circle:hover { color: var(--pk-ink); }

.pk-circle-img {
    display: block;
    width: 62px;
    height: 62px;
    padding: 2px;
    border-radius: 50%;
    background: var(--pk-paper);
    border: 2px solid var(--pk-tan);
    transition: transform 0.2s ease;
}

.pk-circle--aipan .pk-circle-img { border-color: var(--pk-geru); }

.pk-circle:hover .pk-circle-img { transform: translateY(-2px); }

/* Icon circles: each takes its own pastel and a deeper ink for the icon. The
   ring stays tan (Crochet) or geru (Aipan) so the two crafts still read apart. */
.pk-circle-img--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: var(--pk-cream);
    color: var(--pk-tan-deep);
    font-size: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pk-circle:hover .pk-circle-img--icon { box-shadow: 0 6px 14px rgba(60, 40, 20, .14); }

.pk-circle-img--icon.pk-hue-0 { background: var(--pk-hue-rose); color: var(--pk-hue-rose-ink); }
.pk-circle-img--icon.pk-hue-1 { background: var(--pk-hue-peach); color: var(--pk-hue-peach-ink); }
.pk-circle-img--icon.pk-hue-2 { background: var(--pk-hue-butter); color: var(--pk-hue-butter-ink); }
.pk-circle-img--icon.pk-hue-3 { background: var(--pk-hue-sage); color: var(--pk-hue-sage-ink); }
.pk-circle-img--icon.pk-hue-4 { background: var(--pk-hue-mint); color: var(--pk-hue-mint-ink); }
.pk-circle-img--icon.pk-hue-5 { background: var(--pk-hue-sky); color: var(--pk-hue-sky-ink); }
.pk-circle-img--icon.pk-hue-6 { background: var(--pk-hue-lilac); color: var(--pk-hue-lilac-ink); }
.pk-circle-img--icon.pk-hue-7 { background: var(--pk-hue-coral); color: var(--pk-hue-coral-ink); }

.pk-circle-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.pk-circle-label {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

/* ---- Home: hero ------------------------------------------------ */

.pk-hero {
    position: relative;
    max-width: var(--pk-container);
    margin: 0 auto;
    padding: 28px var(--pk-gutter) 0;
    display: grid;
    grid-template-columns: 2.1fr 1fr;
    gap: 16px;
}

.pk-hero-main {
    position: relative;
    display: grid;
    min-height: 340px;
    border-radius: 20px;
    overflow: hidden;
}

/* Every slide sits in the same grid cell; only the active one shows, so the
   hero is the same size before and after the script runs (no layout shift). */
.pk-hero-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.pk-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.pk-hero-slide--crochet { background: var(--pk-tan); color: var(--pk-ink); }
.pk-hero-slide--aipan { background: var(--pk-geru); color: var(--pk-paper); }

.pk-hero-text {
    padding: 40px 28px 52px 44px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.pk-hero-chip {
    padding: 5px 14px;
    border-radius: var(--pk-radius-pill);
    background: rgba(255, 253, 249, 0.7);
    color: var(--pk-ink);
    font-size: 12px;
    font-weight: 500;
}

.pk-hero-text h1,
.pk-hero-text h2 {
    margin: 18px 0 0;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: inherit;
}

.pk-hero-text p {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.55;
    max-width: 340px;
}

.pk-hero-btn {
    margin-top: 22px;
    display: inline-flex;
    align-items: center;
    height: 46px;
    padding: 0 28px;
    border-radius: var(--pk-radius-pill);
    background: var(--pk-ink);
    color: var(--pk-paper);
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.15s ease, background 0.2s ease;
}

.pk-hero-btn:hover { color: var(--pk-paper); transform: translateY(-1px); }

.pk-hero-slide--aipan .pk-hero-btn { background: var(--pk-paper); color: var(--pk-geru); }
.pk-hero-slide--aipan .pk-hero-btn:hover { color: var(--pk-geru-deep); }

.pk-hero-img { min-height: 0; background: var(--pk-field); }

.pk-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pk-hero-dots {
    position: absolute;
    left: 44px;
    bottom: 20px;
    z-index: 3;
    display: flex;
    gap: 6px;
}

.pk-hero-dots button {
    position: relative;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(28, 21, 18, 0.28);
    transition: width 0.2s ease, background 0.2s ease;
}

/* Wider hit area than the visible dot. */
.pk-hero-dots button::after { content: ''; position: absolute; inset: -10px -4px; }

.pk-hero-dots button.is-active { width: 22px; background: var(--pk-ink); }

.pk-hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}

.pk-side {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    border-radius: 18px;
    overflow: hidden;
    color: var(--pk-ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pk-side:hover { transform: translateY(-2px); box-shadow: var(--pk-shadow-md); color: var(--pk-ink); }

.pk-side--aipan { background: var(--pk-geru); color: var(--pk-paper); }
.pk-side--aipan:hover { color: var(--pk-paper); }
.pk-side--combos { background: var(--pk-pink-tint); }

.pk-side-text {
    padding: 22px 8px 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.pk-side-title { font-size: 18px; font-weight: 700; line-height: 1.2; }
.pk-side-sub { font-size: 13px; line-height: 1.45; opacity: 0.9; }

.pk-side-link {
    margin-top: auto;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pk-side-img { display: block; min-height: 0; }
.pk-side-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Home: trust strip ------------------------------------------ */

.pk-trust {
    max-width: var(--pk-container);
    margin: 22px auto 0;
    padding: 0 var(--pk-gutter);
}

.pk-trust-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 18px 28px;
    background: var(--pk-paper);
    border-radius: 16px;
    box-shadow: var(--pk-shadow-sm);
}

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

.pk-trust-item > span:last-child { display: flex; flex-direction: column; }
.pk-trust-item strong { font-size: 13px; font-weight: 600; color: var(--pk-ink); }
.pk-trust-item span span { font-size: 12px; color: var(--pk-text-muted); }

.pk-trust-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--pk-field);
    color: var(--pk-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

/* ---- Home: Crochet Corner --------------------------------------- */

.pk-corner {
    margin-top: 30px;
    padding: 28px 0 36px;
    background: var(--pk-cream);
    border-top: 2px dashed var(--pk-tan-soft);
}

.pk-corner-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.pk-corner-head h2 {
    margin: 6px 0 0;
    font-size: 30px;
    font-weight: 700;
    color: var(--pk-ink);
}

.pk-corner .pk-row-head:first-of-type { margin-top: 18px; }

/* ---- Product cards (craft rows and recently viewed) ------------- */

.pk-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.pk-card {
    display: flex;
    flex-direction: column;
    background: var(--pk-paper);
    border: 1px solid var(--pk-line);
    border-radius: 14px;
    overflow: hidden;
    color: var(--pk-ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pk-card:hover {
    border-color: var(--pk-line-strong);
    box-shadow: var(--pk-shadow-md);
    color: var(--pk-ink);
}

.pk-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--pk-field);
    overflow: hidden;
}

.pk-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pk-card:hover .pk-card-media img { transform: scale(1.04); }

.pk-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--pk-plum);
    color: var(--pk-paper);
    font-size: 11px;
    font-weight: 600;
}

.pk-card--aipan .pk-card-badge { background: var(--pk-geru); }

.pk-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 14px;
}

.pk-card-title {
    margin: 0;
    font-family: var(--pk-font-body);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--pk-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 39px;
}

.pk-card-price {
    margin-top: 6px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.pk-card-now { font-size: 17px; font-weight: 700; color: var(--pk-ink); font-variant-numeric: tabular-nums; }
.pk-card-was { font-size: 12.5px; color: var(--pk-text-faint); text-decoration: line-through; }
.pk-card-off { font-size: 12.5px; font-weight: 600; color: var(--pk-olive); }
.pk-card--aipan .pk-card-off { color: var(--pk-geru); }

.pk-card-rating {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--pk-text-muted);
}

.pk-card-chip {
    padding: 2px 7px;
    border-radius: 4px;
    background: var(--pk-olive);
    color: var(--pk-paper);
    font-size: 11.5px;
    font-weight: 600;
}

.pk-card--aipan .pk-card-chip { background: var(--pk-geru); }

.pk-card-foot {
    margin-top: auto;
    padding-top: 8px;
    font-size: 12px;
    color: var(--pk-text-muted);
}

.pk-card-foot::before {
    content: '';
    display: block;
    margin-bottom: 8px;
    border-top: 1px dashed var(--pk-line-strong);
}

/* ---- Home: combos strip ---------------------------------------- */

.pk-combo-strip {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.pk-combo {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: var(--pk-paper);
    border-radius: 14px;
    box-shadow: var(--pk-shadow-sm);
    color: var(--pk-ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pk-combo:hover { transform: translateY(-2px); box-shadow: var(--pk-shadow-md); color: var(--pk-ink); }

.pk-combo-imgs { display: flex; flex: 0 0 auto; }

.pk-combo-imgs span {
    width: 52px;
    height: 52px;
    margin-left: -10px;
    border-radius: 12px;
    border: 2px solid var(--pk-paper);
    overflow: hidden;
    background: var(--pk-field);
}

.pk-combo-imgs span:first-child { margin-left: 0; }
.pk-combo-imgs img { width: 100%; height: 100%; object-fit: cover; }

.pk-combo-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pk-combo-body strong { font-size: 15px; font-weight: 600; }
.pk-combo-sub { font-size: 12.5px; color: var(--pk-text-muted); }
.pk-combo-price { font-size: 15px; font-weight: 700; }
.pk-combo-price s { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--pk-text-faint); }
.pk-combo-price em { margin-left: 6px; font-size: 12.5px; font-style: normal; font-weight: 600; color: var(--pk-olive); }

/* ---- Home: Gifts by Budget -------------------------------------- */

.pk-budget { padding: 28px 0 32px; }

.pk-budget-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.pk-budget-tile {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 6px;
    padding: 10px;
    min-height: 132px;
    border-radius: 16px;
    overflow: hidden;
    color: var(--pk-ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pk-budget-tile:hover { transform: translateY(-2px); box-shadow: var(--pk-shadow-md); color: var(--pk-ink); }

.pk-budget-tile--tan { background: var(--pk-tan-soft); }
.pk-budget-tile--sage { background: var(--pk-sage-tint); }
.pk-budget-tile--pink { background: var(--pk-pink-tint); }
.pk-budget-tile--beige { background: var(--pk-beige); }

.pk-budget-text {
    padding: 8px 4px 6px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pk-budget-label { font-size: 12px; color: var(--pk-text-body); }
.pk-budget-big { margin-top: 6px; font-size: 22px; font-weight: 700; line-height: 1.15; }

.pk-budget-link {
    margin-top: auto;
    padding-top: 10px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pk-budget-img { display: block; min-height: 0; border-radius: 12px; overflow: hidden; }
.pk-budget-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Home: Aipan & Pooja ---------------------------------------- */

.pk-aipan {
    background: var(--pk-aipan-wash);
    padding-bottom: 36px;
}

/* The red band with white dots that opens the section, like the dotted
   border of an Aipan floor painting. Drawn with gradients: nothing to download. */
.pk-aipan-band {
    height: 10px;
    background:
        radial-gradient(circle, var(--pk-paper) 1.6px, transparent 2px) 0 50% / 12px 10px repeat-x,
        var(--pk-geru);
}

.pk-aipan .pk-wrap { padding-top: 28px; }

.pk-aipan-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 260px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--pk-geru);
}

.pk-aipan-banner-img { min-height: 0; background: var(--pk-geru-deep); }
.pk-aipan-banner-img img { width: 100%; height: 100%; object-fit: cover; }

.pk-aipan-banner-text {
    padding: 36px 44px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: var(--pk-paper);
}

.pk-aipan-banner-text h2 {
    margin: 10px 0 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--pk-paper);
}

.pk-aipan-banner-text p {
    margin: 12px 0 20px;
    max-width: 420px;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 253, 249, 0.92);
}

/* ---- Home: who makes this -------------------------------------- */

.pk-maker { padding: 32px 0 0; }

.pk-maker-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--pk-paper);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--pk-shadow-sm);
}

.pk-maker-img { min-height: 250px; background: var(--pk-field); }
.pk-maker-img img { width: 100%; height: 100%; object-fit: cover; }

.pk-maker-text {
    padding: 36px 44px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.pk-maker-text h2 {
    margin: 10px 0 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--pk-ink);
}

.pk-maker-text p {
    margin: 12px 0 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--pk-text-body);
}

.pk-text-link {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pk-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pk-text-link:hover { color: var(--pk-geru); }

/* ---- Home: reviews ---------------------------------------------- */

.pk-reviews { padding: 32px 0 0; }

.pk-reviews-head { margin-bottom: 18px; }
.pk-reviews-head h3 { margin: 0; font-size: 22px; font-weight: 700; color: var(--pk-ink); }

/* Summary card on the left, the review rail on the right. */
.pk-reviews-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.pk-rating-card {
    padding: 26px 24px;
    background: var(--pk-cream);
    border: 1px solid var(--pk-line);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pk-rating-score { font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--pk-ink); }

.pk-stars { display: inline-flex; gap: 3px; color: var(--pk-star); font-size: 17px; }
.pk-rating-card .pk-stars { margin-top: 10px; }
.pk-stars--sm { font-size: 14px; gap: 2px; }
.pk-stars .far { color: var(--pk-line-strong); }

.pk-rating-count { margin: 8px 0 0; font-size: 13.5px; color: var(--pk-text-muted); }

.pk-rating-bars { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }

.pk-rating-bars li {
    display: grid;
    grid-template-columns: 34px 1fr 38px;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--pk-text-body);
}

.pk-rating-bars li > span:first-child i { font-size: 10px; color: var(--pk-star); }
.pk-rating-bar { height: 7px; border-radius: 4px; background: var(--pk-line); overflow: hidden; }
.pk-rating-bar > span { display: block; height: 100%; border-radius: 4px; background: var(--pk-star); }
.pk-rating-pct { text-align: right; color: var(--pk-text-muted); font-variant-numeric: tabular-nums; }

.pk-reviews-rail { position: relative; min-width: 0; }

.pk-reviews-grid {
    --reviews-visible: 2.4;
    display: flex;
    gap: 16px;
    padding: 2px 2px 10px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.pk-reviews-grid::-webkit-scrollbar { display: none; }

.pk-reviews-grid > .pk-review {
    flex: 0 0 calc((100% - 16px * (var(--reviews-visible) - 1)) / var(--reviews-visible));
    scroll-snap-align: start;
}

.pk-review {
    margin: 0;
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    background: var(--pk-paper);
    border: 1px solid var(--pk-line);
    border-radius: 16px;
}

.pk-review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.pk-review blockquote {
    margin: 14px 0 16px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--pk-ink);
}

/* A photo the buyer sent, when there is one. */
.pk-review-photo { display: block; margin-bottom: 16px; border-radius: 12px; overflow: hidden; background: var(--pk-field); }
.pk-review-photo img { width: 100%; height: 120px; object-fit: cover; }

.pk-review figcaption {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px dashed var(--pk-line-strong);
}

.pk-review-avatar {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pk-sage-tint);
    color: var(--pk-olive);
    font-size: 16px;
    font-weight: 600;
}

.pk-review--aipan .pk-review-avatar { background: var(--pk-aipan-wash); color: var(--pk-geru); }

.pk-review-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.pk-review-who strong { font-size: 14px; font-weight: 600; color: var(--pk-ink); }
.pk-review-who span { font-size: 12px; color: var(--pk-text-muted); }
.pk-review-who span i { margin-right: 3px; color: var(--pk-olive); }
.pk-review--aipan .pk-review-who span i { color: var(--pk-geru); }

/* The product the review is about: a small photo and its name. */
.pk-review-product {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--pk-field);
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--pk-text-body);
}

.pk-review-product:hover { color: var(--pk-ink); background: var(--pk-line); }
.pk-review-thumb { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 8px; overflow: hidden; background: var(--pk-line); }
.pk-review-thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1199px) {
    .pk-reviews-layout { grid-template-columns: 1fr; }
    .pk-rating-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding: 18px 20px; }
    .pk-rating-card .pk-stars { margin-top: 0; }
    .pk-rating-count { margin: 0; }
    .pk-rating-bars { display: none; }
}

/* ---- Home: FAQ --------------------------------------------------- */

.pk-faq { padding: 32px var(--pk-gutter) 0; }

.pk-faq-inner { max-width: 560px; margin: 0 auto; }

.pk-faq-inner h3 {
    margin: 0 0 20px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--pk-ink);
}

.pk-faq-item {
    margin-bottom: 10px;
    background: var(--pk-paper);
    border-radius: 12px;
    box-shadow: var(--pk-shadow-sm);
}

.pk-faq-item summary {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pk-ink);
    cursor: pointer;
}

.pk-faq-item p {
    margin: 0;
    padding: 0 20px 16px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--pk-text-muted);
}

/* ---- Home: newsletter ------------------------------------------- */

.pk-news { padding: 32px 0 40px; }

.pk-news-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 16px 32px;
    padding: 28px 36px;
    border-radius: 18px;
    background: var(--pk-tan-soft);
}

.pk-news-text h3 { margin: 0; font-size: 20px; font-weight: 700; color: var(--pk-ink); }
.pk-news-text p { margin: 4px 0 0; font-size: 13px; color: var(--pk-text-body); }

.pk-news-form { display: flex; gap: 10px; }

.pk-news-form input[type="email"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--pk-radius-pill);
    background: var(--pk-paper);
    font-size: 14px;
    color: var(--pk-ink);
}

.pk-news-form button {
    height: 46px;
    padding: 0 26px;
    border: 0;
    border-radius: var(--pk-radius-pill);
    background: var(--pk-ink);
    color: var(--pk-paper);
    font-size: 14px;
    font-weight: 600;
}

.pk-news-form button:hover { background: var(--pk-geru); }

.pk-news-note { grid-column: 1 / -1; margin: 0; font-size: 13px; text-align: center; }
.pk-news-note:empty { display: none; }
.pk-news-note.is-success { color: var(--pk-pine); }
.pk-news-note.is-error { color: var(--pk-geru-deep); }

/* ---- Responsive ------------------------------------------------ */

@media (max-width: 1199px) {
    .pk-hero-text { padding: 32px 20px 48px 32px; }
    .pk-hero-text h1, .pk-hero-text h2 { font-size: 28px; }
    .pk-hero-dots { left: 32px; }
}

@media (max-width: 991px) {
    .pk-card-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .pk-budget-grid { grid-template-columns: repeat(2, 1fr); }
    .pk-trust-inner { grid-template-columns: repeat(2, 1fr); }
    .pk-reviews-grid { --reviews-visible: 2.1; }
    .pk-corner-head h2 { font-size: 26px; }
}

@media (max-width: 899px) {
    .pk-hero { grid-template-columns: 1fr; padding-top: 18px; }
    .pk-hero-main { height: auto; }
    .pk-hero-slide { grid-template-columns: 1fr; }
    .pk-hero-text { padding: 26px 22px 46px; }
    .pk-hero-img { height: 210px; order: -1; }
    .pk-hero-dots { left: 22px; bottom: 16px; }
    .pk-hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
    .pk-side { grid-template-columns: 1fr; }
    .pk-side-img { height: 110px; order: -1; }
    .pk-side-text { padding: 16px; }
    .pk-aipan-banner,
    .pk-maker-card,
    .pk-news-card { grid-template-columns: 1fr; }
    .pk-aipan-banner-img { height: 200px; }
    .pk-aipan-banner-text,
    .pk-maker-text { padding: 26px 22px; }
    .pk-maker-img { min-height: 200px; }
    .pk-combo-strip { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .pk-reviews-grid { --reviews-visible: 1.15; }
    .pk-circles-track { gap: 22px; padding-top: 12px; }
    .pk-hero-text h1, .pk-hero-text h2 { font-size: 24px; }
    .pk-hero-side { grid-template-columns: 1fr; }
    .pk-side { grid-template-columns: 1.2fr 1fr; }
    .pk-side-img { height: auto; order: 0; }
    .pk-trust-inner { grid-template-columns: 1fr; padding: 16px 18px; }
    .pk-corner { padding: 32px 0 40px; margin-top: 32px; }
    .pk-corner-head { align-items: center; }
    .pk-corner-head h2 { font-size: 22px; }
    .pk-card-grid { gap: 12px; }
    .pk-card-body { padding: 10px 12px 12px; }
    .pk-card-now { font-size: 15px; }
    .pk-card-off { font-size: 11.5px; }
    .pk-budget { padding: 30px 0 34px; }
    .pk-budget-grid { gap: 12px; }
    .pk-budget-big { font-size: 18px; }
    .pk-budget-text { padding: 14px 6px 12px 14px; }
    .pk-reviews-head { flex-direction: column; gap: 4px; }
    .pk-news-card { padding: 22px 20px; }
    .pk-news-form { flex-direction: column; }
    .pk-news-form button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .pk-card, .pk-card-media img, .pk-side, .pk-budget-tile, .pk-combo, .pk-circle-img,
    .pk-hero-slide, .pk-hero-btn { transition: none; }
    .pk-card:hover, .pk-side:hover, .pk-budget-tile:hover, .pk-combo:hover { transform: none; }
}

/* ---- Fixed-height banners (desktop) ------------------------------
   The photo fills its half without setting the row height, so a tall
   picture can't stretch the banner. Below 900px they stack and the
   image gets its own height. */
@media (min-width: 900px) {
    .pk-aipan-banner, .pk-maker-card { height: 280px; }
    .pk-aipan-banner-img, .pk-maker-img { position: relative; overflow: hidden; }
    .pk-aipan-banner-img img, .pk-maker-img img { position: absolute; inset: 0; }
}
.pk-hero-text { padding-bottom: 64px; }

/* ================================================================
   Wider screens, more cards, new sections
   ================================================================ */

/* Heading icons */
.pk-h-icon {
    margin-right: 6px;
    font-size: 0.9em;
    color: var(--pk-tan-deep);
}

.pk-aipan .pk-h-icon,
.pk-process .pk-h-icon { color: var(--pk-geru); }

.pk-row-link--ink { color: var(--pk-ink); }

/* Card footer: small icons for COD and free delivery. */
.pk-card-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.pk-card-foot::before { flex: 0 0 100%; }

.pk-card-foot i { margin-right: 4px; color: var(--pk-text-faint); }

/* Rows that carry more than four cards: 5 per line on wide screens, 4
   below (and 2 on phones), so a row is never left with one stray card. */
@media (max-width: 1499px) {
    .pk-card-grid--5 > .pk-card:nth-child(n+5),
    .pk-card-grid--10 > .pk-card:nth-child(n+9) { display: none; }
}

@media (min-width: 1500px) {
    .pk-card-grid { grid-template-columns: repeat(5, 1fr); }
    .pk-budget-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Large screens: bigger hero and a little more room. */
@media (min-width: 1600px) {
    .geru-home { --pk-gutter: 40px; }
    .pk-hero-main { min-height: 400px; }
    .pk-hero-text { padding-left: 56px; }
    .pk-hero-text h1, .pk-hero-text h2 { font-size: 40px; }
    .pk-hero-text p { font-size: 16px; max-width: 400px; }
    .pk-circle { width: 88px; }
    .pk-circle-img { width: 72px; height: 72px; }
    .pk-circle-img--icon { font-size: 28px; }
    .pk-circles-track { justify-content: space-between; }
    .pk-aipan-banner, .pk-maker-card { height: 320px; }
}

/* ---- Recently viewed -------------------------------------------- */

.pk-rv { padding: 28px 0 0; }

/* ---- How a piece reaches you ------------------------------------ */

.pk-process { padding: 36px 0 0; }

.pk-process-head { text-align: center; margin-bottom: 28px; }

.pk-process-head h3 {
    margin: 8px 0 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--pk-ink);
}

.pk-process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--pk-steps, 4), 1fr);
    gap: 20px;
}

/* A dashed thread running behind the four icons, like a line of stitches. */
.pk-process-grid::before {
    content: '';
    position: absolute;
    top: 34px;
    left: 12%;
    right: 12%;
    border-top: 2px dashed var(--pk-line-strong);
}

.pk-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.pk-step-icon {
    position: relative;
    width: 68px;
    height: 68px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--pk-paper);
    border: 2px solid var(--pk-tan);
    color: var(--pk-tan-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--pk-shadow-sm);
}

/* Alternate the ring colour: Crochet tan, Aipan geru, like the two crafts. */
.pk-step:nth-child(even) .pk-step-icon { border-color: var(--pk-geru); color: var(--pk-geru); }

.pk-step strong { font-size: 15px; font-weight: 600; color: var(--pk-ink); }
.pk-step p { margin: 6px 0 0; font-size: 13px; line-height: 1.6; color: var(--pk-text-muted); max-width: 240px; }

/* ---- Trust strip: six points ------------------------------------ */

.pk-trust-inner { grid-template-columns: repeat(var(--pk-trust-cols, 6), 1fr); gap: 12px; padding: 18px 22px; }
.pk-trust-item { min-width: 0; }
.pk-trust-item strong { line-height: 1.3; }

/* ---- Responsive for the additions -------------------------------- */

@media (max-width: 1399px) {
    .pk-trust-inner { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
}

@media (max-width: 1199px) {
    .pk-process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
    .pk-process-grid::before { display: none; }
}

@media (max-width: 991px) {
    .pk-trust-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .pk-process-grid { grid-template-columns: 1fr; }
    .pk-process-head h3 { font-size: 20px; }
    .pk-trust-inner { grid-template-columns: repeat(2, 1fr); }
    .pk-moments { padding-top: 32px; }
}

/* Hero: the side cards are exactly as tall as the slider, whatever size their
   pictures are (the picture fills its half without setting the height). */
.pk-hero-side { height: auto; }
.pk-side { min-height: 0; }
.pk-side-img { position: relative; overflow: hidden; }
.pk-side-img img { position: absolute; inset: 0; }
@media (max-width: 899px) { .pk-hero-side { height: auto; } .pk-side-img { height: 110px; } }
@media (max-width: 576px) { .pk-side { min-height: 120px; } .pk-side-img { height: auto; } }

/* Phones: the two-line rows (10 cards) show one line of 4, so the page isn't endless. */
@media (max-width: 576px) {
    .pk-card-grid--10 > .pk-card:nth-child(n+5) { display: none; }
}

/* ================================================================
   Gifts for every moment: tall photo tiles. The picture fills the
   whole tile (one clean crop, nothing cut by an inner box), a soft
   dark fade at the bottom carries the title in white. One treatment
   for all six, so mixed photos still read as one set.
   ================================================================ */

.pk-moments { padding: 28px 0 0; }

/* A rail: tiles in one scrollable line, the next one peeking in from the
   right so it reads as "more this way". Arrows are the buttons below. */
.pk-moments-rail { position: relative; }

.pk-moments-grid {
    --moments-visible: 5.4;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.pk-moments-grid::-webkit-scrollbar { display: none; }

.pk-moments-grid > .pk-moment {
    flex: 0 0 calc((100% - 14px * (var(--moments-visible) - 1)) / var(--moments-visible));
    scroll-snap-align: start;
}

.pk-rail-btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    border: 0;
    border-radius: 50%;
    background: var(--pk-paper);
    color: var(--pk-ink);
    box-shadow: 0 2px 12px rgba(32, 22, 16, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pk-rail-btn[hidden] { display: none; }
.pk-rail-btn:hover { background: var(--pk-cream); }
.pk-rail-btn--prev { left: -14px; }
.pk-rail-btn--next { right: -14px; }

.pk-moment {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
    background: var(--pk-tan-deep);
    color: var(--pk-paper);
    transition: box-shadow 0.2s ease;
}

.pk-moment:hover { box-shadow: var(--pk-shadow-md); color: var(--pk-paper); }

.pk-moment-img { position: absolute; inset: 0; display: block; }
.pk-moment-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pk-moment:hover .pk-moment-img img { transform: scale(1.04); }

.pk-moment-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 56px 18px 16px;
    background: linear-gradient(to top, rgba(32, 22, 16, 0.72), rgba(32, 22, 16, 0));
}

.pk-moment-text strong { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.pk-moment-text strong i { margin-left: 4px; font-size: 11px; }
.pk-moment-text > span { font-size: 13px; line-height: 1.4; color: rgba(255, 253, 249, 0.86); }

/* The small round icon sits on the photo's top-left corner. */
.pk-moment-icon {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 253, 249, 0.92);
    color: var(--pk-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

@media (max-width: 1499px) { .pk-moments-grid { --moments-visible: 4.4; } }
@media (max-width: 991px) { .pk-moments-grid { --moments-visible: 3.3; } }
@media (max-width: 767px) {
    .pk-moments-grid { --moments-visible: 2.3; gap: 10px; }
    /* Phones swipe; the arrows are for mouse users. */
    .pk-rail-btn { display: none; }
    .pk-moment-text { padding: 44px 12px 12px; }
    .pk-moment-text strong { font-size: 14.5px; }
    .pk-moment-text > span:not(.pk-moment-icon) { display: none; }
    .pk-moment-icon { top: 10px; left: 10px; }
}
/* ================================================================
   Large screens: type and sizes closer to a gift storefront
   ================================================================ */

@media (min-width: 1200px) {
    .geru-home { --pk-gutter: 40px; }

    .pk-row-head { margin: 30px 0 16px; }
    .pk-row-head h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
    .pk-row-link { font-size: 14px; }
    .pk-corner-head h2 { font-size: 32px; }
    .pk-eyebrow { font-size: 12.5px; }
    .pk-pill-btn { height: 48px; padding: 0 30px; font-size: 15px; }

    .pk-circles-track { padding-top: 22px; padding-bottom: 20px; }
    .pk-circle { width: 112px; gap: 10px; }
    .pk-circle-img { width: 92px; height: 92px; }
    .pk-circle-img--icon { font-size: 34px; }
    .pk-circle-label { font-size: 15px; font-weight: 500; }

    .pk-hero-text h1, .pk-hero-text h2 { font-size: clamp(30px, 2.5vw, 40px); }
    .pk-hero-slide { grid-template-columns: 1.15fr 1fr; }
    .pk-hero-text p { font-size: 17px; }
    .pk-hero-btn { height: 50px; font-size: 15px; }
    .pk-side-title { font-size: 22px; }
    .pk-side-sub { font-size: 14.5px; }
    .pk-side-link { font-size: 14.5px; }

    .pk-trust-item strong { font-size: 14px; }
    .pk-trust-item span span { font-size: 13px; }

    /* Card text follows the gift-storefront scale: 14px title, 16px price. */
    .pk-card-title { font-size: 14px; min-height: 40px; }
    .pk-card-body { padding: 12px 14px 12px; }
    .pk-card-now { font-size: 16px; }
    .pk-card-was, .pk-card-off { font-size: 12.5px; }
    .pk-card-chip { font-size: 12px; }
    .pk-card-foot { font-size: 12.5px; }
    .pk-card-badge { font-size: 11.5px; }

    .pk-budget-big { font-size: 26px; }
    .pk-budget-label, .pk-budget-link { font-size: 14px; }

    .pk-aipan-banner-text h2 { font-size: 34px; }
    .pk-aipan-banner-text p { font-size: 16px; }
    .pk-maker-text h2 { font-size: 32px; }
    .pk-maker-text p { font-size: 16px; }
    .pk-reviews-head h3, .pk-faq-inner h3, .pk-process-head h3 { font-size: 30px; }
    .pk-review blockquote { font-size: 15.5px; }
    .pk-step strong { font-size: 17px; }
    .pk-step p { font-size: 14px; }
    .pk-faq-inner { max-width: 760px; }
    .pk-faq-item summary { font-size: 15.5px; }
    .pk-news-text h3 { font-size: 24px; }
}
/* ================================================================
   Wide pages: listings, search, product detail, combos and the product
   reviews use the same wide canvas as the home page (the header gutter on
   each side) instead of Bootstrap's 1350px column. Pages with long
   reading text (policies, about, account, checkout) keep their width.
   ================================================================ */

.container.pk-wide {
    max-width: var(--pk-container);
    padding-left: var(--pk-header-gutter);
    padding-right: var(--pk-header-gutter);
}

/* Listings: five cards across once there is room for them. */
@media (min-width: 1500px) {
    .product-list-listing-bg { grid-template-columns: repeat(5, 1fr); }
}

/* Product page: the gallery takes 45%, so the picture stays about one screen
   tall and the details get the rest. */
@media (min-width: 1400px) {
    .pk-pdp > .row > .col-lg-6:first-child { flex: 0 0 45%; max-width: 45%; }
    .pk-pdp > .row > .col-lg-6:last-child { flex: 0 0 55%; max-width: 55%; padding-left: 40px; }
}

/* Product page: edge-to-edge looked stretched on big screens, so it sits in a
   centred frame with room on both sides (150px each at 1920px wide). */
.container.pk-wide.pk-pdp { max-width: 1700px; }

/* Product page on desktop: the small pictures stand in a column to the left of
   the main picture, as tall as it is, and scroll if there are more than fit.
   The strip is positioned inside the gallery, so it can never make the main
   picture's row taller. Phones and tablets keep the row under the picture. */
@media (min-width: 992px) {
    .pk-pdp .product-gallery { padding-left: 100px; }

    .pk-pdp .product-gallery .thumbnail-gallery {
        position: absolute !important;
        top: 0;
        bottom: 0;
        left: 0;
        width: 86px;
        flex-direction: column;
        gap: 10px;
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
        scrollbar-width: thin;
    }

    .pk-pdp .product-gallery .thumbnail { width: 82px; height: 82px; }
}

/* Product description text keeps a readable line length on very wide screens. */
.pk-pdp .description-content { max-width: 1100px; }

@media (max-width: 400px) {
    .pk-card-cta { font-size: 11.5px; letter-spacing: .02em; padding: 9px 4px; }
}

/* ================================================================
   Product page: detail cards with icons, and the add-on shelf.
   ================================================================ */

/* The fixed details of a product (colour, material, size...) as icon cards. */
/* The fixed details of a product (material, size...): one quiet line of
   "Label: value" pairs. */
.pk-specs { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 2px 0 18px; font-size: 14px; }
.pk-spec { display: inline-flex; gap: 6px; }
.pk-spec-label { color: var(--pk-text-muted); }
.pk-spec-label::after { content: ':'; }
.pk-spec-value { color: var(--pk-ink); font-weight: 600; overflow-wrap: anywhere; }

/* The two columns must be allowed to shrink below their content, or the
   sideways add-on shelf stretches the whole page wider than a phone screen. */
.pk-pdp > .row > [class*="col-"] { min-width: 0; }

/* Add-ons: a sideways shelf of the normal product cards. */
.pk-addons {
    margin: 22px 0 6px;
    padding: 18px 0 4px;
    border-top: 1px solid var(--pk-line);
}

.pk-addons-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.pk-addons-title { font-size: 18px; font-weight: 700; margin: 0; color: var(--pk-ink); }
.pk-addons-title i { color: var(--pk-geru); margin-right: 6px; }
.pk-addons-sub { margin: 4px 0 0; font-size: 13.5px; color: var(--pk-text-muted); }

.pk-addons-nav { display: none; gap: 8px; flex-shrink: 0; }
.pk-addons-nav button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--pk-line-strong);
    background: var(--pk-paper);
    color: var(--pk-ink);
    cursor: pointer;
}
.pk-addons-nav button:hover { background: var(--pk-ink); color: var(--pk-paper); }
@media (min-width: 768px) { .pk-addons-nav { display: flex; } }

.pk-addons-rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 10px; }
.pk-addons-rail::-webkit-scrollbar { display: none; }

.pk-addons-rail .product-list-listing-bg {
    display: flex;
    gap: 12px;
    width: max-content;
}

.pk-addons-rail .product-list-listing-box {
    flex: 0 0 168px;
    width: 168px;
    scroll-snap-align: start;
}

.pk-addons-rail .product-list-listing-box:hover { transform: none; }
.pk-addons-rail .product-list-listing-info { padding: 10px 10px 12px; }
.pk-addons-rail .pk-card-category { display: none; }
.pk-addons-rail .product-title { font-size: 13px; }
@media (min-width: 992px) {
    .pk-addons-rail .product-list-listing-box { flex-basis: 180px; width: 180px; }
}

/* Phones: the Qty / Add to Cart bar is fixed to the bottom of the screen. The
   footer used to leave room beneath the last section; with the footer hidden
   on this page, the page keeps that room itself so nothing ends up behind it. */
@media (max-width: 767.98px) {
    .container.pk-pdp { padding-bottom: 140px; }
}

/* Phones: the home page trust strip is hidden; it pushed the first products down. */
@media (max-width: 767.98px) {
    .pk-trust { display: none; }
}

/* ================================================================
   Phones: one polish pass on the home page. Tighter, calmer, and
   less to scroll (the page was over 10,000px tall).
   ================================================================ */
@media (max-width: 767.98px) {
    /* Product cards: the "Free delivery / COD" lines repeat on every card and make
       neighbouring cards different heights. Both are stated at checkout and on the page. */
    .pk-card-foot { display: none; }

    /* "Gifts for every moment": the arrow dropped onto its own line. */
    .pk-moment-text strong i { display: none; }

    /* Section heading with its button: a compact button and a one-line label. */
    .pk-corner-head { gap: 10px; }
    .pk-corner-head .pk-eyebrow { font-size: 10.5px; letter-spacing: .1em; white-space: nowrap; }
    .pk-corner-head .pk-pill-btn { height: 34px; padding: 0 16px; font-size: 13px; }

    /* How it reaches you: a 2 x 2 grid instead of four tall stacked blocks. */
    .pk-process { padding-top: 28px; }
    .pk-process-head { margin-bottom: 18px; }
    .pk-process-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
    .pk-step strong { font-size: 14px; }
    .pk-step p { font-size: 12.5px; line-height: 1.45; margin-bottom: 0; }
    .pk-step-icon { width: 52px; height: 52px; font-size: 20px; }
}

/* ================================================================
   Phones: a compact hero. The pictures keep their size and the text is
   cut down to a heading and a button, and the two side cards sit side by side as small
   tiles. Desktop is untouched.
   ================================================================ */
@media (max-width: 767.98px) {
    .pk-hero { padding-top: 12px; gap: 10px; }
    .pk-hero-main { min-height: 0; border-radius: 16px; }

    .pk-hero-img { height: 210px; }
    .pk-hero-text { padding: 16px 18px 40px; }
    .pk-hero-chip { padding: 3px 11px; font-size: 11px; }
    .pk-hero-text h1,
    .pk-hero-text h2 { margin-top: 10px; font-size: 21px; line-height: 1.2; }
    .pk-hero-text p { display: none; }
    .pk-hero-btn { margin-top: 12px; height: 38px; padding: 0 22px; font-size: 13px; }
    .pk-hero-dots { left: 18px; bottom: 14px; }

    .pk-hero-side { grid-template-columns: 1fr 1fr; gap: 10px; }
    .pk-side { grid-template-columns: 1fr; min-height: 0; border-radius: 14px; }
    .pk-side-img { height: 110px; order: -1; }
    .pk-side-text { padding: 10px 12px 12px; gap: 2px; }
    .pk-side-title { font-size: 14px; }
    .pk-side-sub { display: none; }
    .pk-side-link { margin-top: 2px; font-size: 12px; }
}

/* ================================================================
   Phones: app-style header and tab bar.
   Header = logo + a search field that fills the space + account.
   The burger is gone; its menu opens from the Categories tab.
   ================================================================ */
.pk-m-search { display: none; }

@media (max-width: 767.98px) {
    .geru-header-burger { display: none !important; }

    .geru-header-inner { gap: 10px; padding: 8px 12px; }
    .geru-header-logo-mark { height: 38px; }

    .pk-m-search {
        flex: 1 1 auto;
        min-width: 0;
        height: 38px;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 12px;
        border: 0;
        border-radius: var(--pk-radius-pill);
        background: var(--pk-field);
        color: var(--pk-text-muted);
        text-align: left;
    }
    .pk-m-search i { font-size: 13px; color: var(--pk-text-muted); }
    .pk-m-search span {
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 12.5px !important;
    }

    /* The plain search icon some pages add to the header is now redundant. */
    .geru-header-actions .pdp-mobile-search-btn { display: none !important; }

    .geru-header-actions { margin-left: 0; gap: 0; }
    .geru-header-action,
    .geru-header-cart .position-relative { min-width: 38px; height: 38px; font-size: 16px; }
}

/* ================================================================
   Phones: the type scale, matched to fnp.com's mobile site (measured
   in headless Chrome at 390px, 2026-11-14). FNP uses Inter and only
   four sizes: 16 for titles, 14 for body, 12 for card names and
   labels, 10 for tab labels and badges. Weights stay 500 to 700.
   The sizes are tokens (--pk-fs-*, pk-tokens.css). Desktop untouched.
   `body` in front of a selector lets it win over older single-class
   rules, including the ones inside a page's own <style> block.
   ================================================================ */
@media (max-width: 767.98px) {
    /* ---- Header, tab bar, menu ---- */
    .geru-header-inner { padding-left: 16px; padding-right: 12px; }
    .geru-ribbon-msg { font-size: var(--pk-fs-small); }
    .pk-m-search span { font-size: 13px !important; }
    .bottom-nav .nav-item span { font-size: var(--pk-fs-micro) !important; }
    body .mobile-menu-label,
    body .mobile-submenu a { font-size: var(--pk-fs-body); font-weight: 500; }
    body .mobile-menu-parent-link span { font-size: var(--pk-fs-body); }
    body .mobile-menu-section-label { font-size: var(--pk-fs-micro); }

    /* ---- Home: titles ---- */
    .pk-moments h3,
    .pk-row-head h3,
    .pk-budget h3,
    .pk-process-head h3,
    .pk-reviews-head h3,
    .pk-faq-inner h3,
    .pk-news-card h3 { font-size: var(--pk-fs-title); font-weight: 600; }
    .pk-corner-head h2,
    .pk-maker-text h2 { font-size: 18px; font-weight: 600; }
    .pk-eyebrow { font-size: var(--pk-fs-micro); }
    .pk-row-link { font-size: var(--pk-fs-small); }

    /* ---- Home: hero, circles, tiles ---- */
    .pk-hero-text h1,
    .pk-hero-text h2 { font-size: 18px; font-weight: 600; }
    .pk-hero-chip { font-size: var(--pk-fs-micro); }
    .pk-hero-btn { height: 36px; font-size: 13px; }
    .pk-side-title { font-size: 13px; }
    .pk-side-link { font-size: var(--pk-fs-small); }
    .pk-circle-label { font-size: var(--pk-fs-small); font-weight: 600; }
    .pk-moment-text strong { font-size: var(--pk-fs-body); }
    .pk-budget-big { font-size: var(--pk-fs-title); font-weight: 600; }
    .pk-budget-label,
    .pk-budget-link { font-size: var(--pk-fs-small); }

    /* ---- Product cards (home, listing, add-ons, related) ---- */
    .pk-card-title { font-size: var(--pk-fs-small); font-weight: 500; }
    .pk-card-now { font-size: var(--pk-fs-body); font-weight: 600; }
    .pk-card-was { font-size: var(--pk-fs-small); }
    .pk-card-off { font-size: var(--pk-fs-micro); font-weight: 700; }
    .pk-card-chip { font-size: var(--pk-fs-micro); }
    .pk-craft-tag { font-size: var(--pk-fs-micro); }
    body .product-list-listing-box .product-title { font-size: var(--pk-fs-small); font-weight: 500; line-height: 1.4; min-height: 2.8em; }
    body .product-list-listing-box .price-box { font-size: var(--pk-fs-body); }
    body .product-list-listing-box .product-price { font-size: var(--pk-fs-body); font-weight: 600; }
    body .product-list-listing-box .old-price { font-size: var(--pk-fs-small); font-weight: 400; }
    body .pk-discount-badge,
    body .free-shipping-ribbon { font-size: var(--pk-fs-micro); padding: 4px 8px; }
    body .pk-card-category { font-size: var(--pk-fs-micro); }

    /* ---- Home: story, steps, reviews, FAQ, footer ---- */
    .pk-step strong { font-size: var(--pk-fs-body); font-weight: 600; }
    .pk-step p { font-size: var(--pk-fs-small); }
    .pk-maker-text p { font-size: 13px; }
    .pk-rating-score { font-size: 32px; }
    .pk-rating-count { font-size: var(--pk-fs-small); }
    .pk-review-who strong { font-size: var(--pk-fs-body); font-weight: 500; }
    .pk-review-who span { font-size: var(--pk-fs-micro); }
    .pk-faq-item summary { font-size: var(--pk-fs-body); }
    .pk-review { padding: 16px 16px 14px; }
    .pk-review blockquote { font-size: 13px; line-height: 1.55; }
    .pk-footer { font-size: 13px; }

    /* ---- Listing page ---- */
    body h1.h4 { font-size: 18px; font-weight: 600; }

    /* ---- Product page ---- */
    body .prd-detail-heading { font-size: var(--pk-fs-title); font-weight: 500; line-height: 1.4; }
    body .prd-detail-new-price { font-size: 20px; font-weight: 700; }
    body .prd-detail-old-price { font-size: 13px; margin-left: 8px; }
    body .discount-badge { font-size: 11px; padding: 3px 9px; margin-left: 10px; }
    body .pk-specs { font-size: 13px; }
    body .pk-addons-title { font-size: var(--pk-fs-title); font-weight: 600; }
    body .pk-addons-sub { font-size: var(--pk-fs-small); }
    body .pk-cod-card-title { font-size: var(--pk-fs-body); }
    body .nav-tabs-custom .nav-link,
    body .nav-link { font-size: var(--pk-fs-body); font-weight: 500; }
    body .pk-artisan-story-heading { font-size: var(--pk-fs-title); font-weight: 600; }
    body .pk-artisan-story-copy { font-size: 13px; line-height: 1.6; }
    body .pk-artisan-story-stat strong { font-size: var(--pk-fs-body); }
    body .description-content,
    body .description-content :is(p, ul, li, strong, span) { font-size: 13px; line-height: 1.6; }
    body .social-share strong { font-size: var(--pk-fs-body); }
    body .reviews-heading { font-size: var(--pk-fs-title); font-weight: 600; }
    body .reviews-summary-number { font-size: 28px; }
    body .review-card-name { font-size: var(--pk-fs-body); font-weight: 500; }
    body .review-card-text { font-size: 13px; }
    body .section-title { font-size: var(--pk-fs-title); font-weight: 600; }
    body .pk-promo-tile-heading { font-size: var(--pk-fs-title); font-weight: 600; }
    body .pk-related-view-all { font-size: 13px; }
}

/* ================================================================
   Categories page (the phone "Categories" tab): each craft with its
   sub-categories as picture tiles.
   ================================================================ */
.pk-cats { padding: 16px 0 32px; background: var(--pk-page); }
.pk-cats-head h1 { margin: 0; font-size: var(--pk-fs-title); font-weight: 600; color: var(--pk-ink); }
.pk-cats-head p { margin: 4px 0 0; font-size: var(--pk-fs-small); color: var(--pk-text-muted); }

.pk-cats-quick {
    display: flex;
    gap: 8px;
    margin: 14px -16px 0;
    padding: 0 16px 2px;
    overflow-x: auto;
    scrollbar-width: none;
}
.pk-cats-quick::-webkit-scrollbar { display: none; }
.pk-cats-quick a {
    flex: 0 0 auto;
    padding: 7px 14px;
    border: 1px solid var(--pk-line-strong);
    border-radius: var(--pk-radius-pill);
    background: var(--pk-paper);
    color: var(--pk-ink);
    font-size: var(--pk-fs-small);
    font-weight: 500;
    white-space: nowrap;
}

.pk-cats-craft { margin-top: 16px; padding: 14px; border-radius: 16px; background: var(--pk-cream); }
.pk-cats-craft--aipan { background: var(--pk-aipan-wash); }
.pk-cats-craft-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pk-cats-craft-head h2 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: var(--pk-fs-title); font-weight: 600; color: var(--pk-ink); }
.pk-cats-craft-head a { font-size: var(--pk-fs-small); font-weight: 600; color: var(--pk-tan-deep); }
.pk-cats-craft--aipan .pk-cats-craft-head a { color: var(--pk-geru); }
.pk-cats-craft-head a i { margin-left: 3px; font-size: 9px; }
.pk-cats-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pk-tan); }
.pk-cats-craft--aipan .pk-cats-dot { background: var(--pk-geru); }

.pk-cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.pk-cat-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; color: var(--pk-ink); text-align: center; }
.pk-cat-tile:hover { color: var(--pk-ink); }
.pk-cat-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: var(--pk-paper);
    border: 1px solid var(--pk-line);
}
.pk-cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pk-cat-thumb b { font-size: 22px; font-weight: 600; color: var(--pk-tan-deep); }
.pk-cats-craft--aipan .pk-cat-thumb b { color: var(--pk-geru); }
.pk-cat-name { font-size: var(--pk-fs-small); font-weight: 500; line-height: 1.3; }

.pk-cats-banner {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--pk-pink-tint);
    color: var(--pk-ink);
}
.pk-cats-banner:hover { color: var(--pk-ink); }
.pk-cats-banner span { font-size: var(--pk-fs-body); font-weight: 600; }
.pk-cats-banner small { margin-left: auto; font-size: var(--pk-fs-small); color: var(--pk-text-body); }
.pk-cats-banner > i:last-child { font-size: 11px; }

@media (min-width: 768px) {
    .pk-cats { padding: 32px 0 48px; }
    .pk-cats-head h1 { font-size: 26px; }
    .pk-cats-head p { font-size: 14px; }
    .pk-cats-quick { margin: 18px 0 0; padding: 0; }
    .pk-cats-craft { padding: 22px; margin-top: 120px; }
    .pk-cats-craft-head h2 { font-size: 20px; }
    .pk-cats-craft-head a { font-size: 14px; }
    .pk-cats-grid { grid-template-columns: repeat(6, 1fr); gap: 20px 16px; }
    .pk-cat-name { font-size: 14px; }
}

/* ================================================================
   Public order tracking (/track-order).
   ================================================================ */
.pk-track { padding: 16px 0 40px; background: var(--pk-page); }
.pk-track-wrap { max-width: 640px; }
.pk-track-head h1 { margin: 0; font-size: var(--pk-fs-title); font-weight: 600; color: var(--pk-ink); }
.pk-track-head p { margin: 4px 0 0; font-size: var(--pk-fs-small); color: var(--pk-text-muted); line-height: 1.5; }

.pk-track-form, .pk-track-card, .pk-track-summary {
    margin-top: 14px;
    padding: 16px;
    background: var(--pk-paper);
    border: 1px solid var(--pk-line);
    border-radius: 14px;
}
.pk-track-form label { display: block; margin: 0 0 4px; font-size: var(--pk-fs-small); font-weight: 600; color: var(--pk-ink); }
.pk-track-form input {
    display: block;
    width: 100%;
    height: 42px;
    margin-bottom: 12px;
    padding: 0 12px;
    border: 1px solid var(--pk-line-strong);
    border-radius: 10px;
    background: var(--pk-paper);
    font-size: var(--pk-fs-body);
    color: var(--pk-ink);
}
.pk-track-form input:focus { outline: 0; border-color: var(--pk-geru); box-shadow: 0 0 0 3px rgba(var(--pk-geru-rgb), .12); }
.pk-track-form button {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: var(--pk-radius-pill);
    background: var(--pk-geru);
    color: var(--pk-paper);
    font-size: var(--pk-fs-body);
    font-weight: 600;
}
.pk-track-form button:hover { background: var(--pk-geru-deep); }
.pk-track-err { display: block; margin: -8px 0 10px; font-size: var(--pk-fs-small); color: var(--pk-geru); }

.pk-track-alert {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--pk-geru-tint);
    color: var(--pk-geru-deep);
    font-size: var(--pk-fs-small);
    line-height: 1.5;
}

.pk-track-summary { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; border-left: 4px solid var(--pk-tan); }
.pk-track-summary--success { border-left-color: var(--pk-olive); }
.pk-track-summary--danger { border-left-color: var(--pk-geru); }
.pk-track-summary small { display: block; font-size: var(--pk-fs-small); color: var(--pk-text-muted); }
.pk-track-summary strong { font-size: 18px; font-weight: 600; color: var(--pk-ink); }
.pk-track-summary > span { align-self: end; font-size: var(--pk-fs-small); color: var(--pk-text-muted); }
.pk-track-summary p { grid-column: 1 / -1; margin: 8px 0 0; font-size: var(--pk-fs-small); color: var(--pk-text-body); line-height: 1.5; }

.pk-track-steps { list-style: none; margin: 14px 0 0; padding: 14px 8px; display: flex; background: var(--pk-paper); border: 1px solid var(--pk-line); border-radius: 14px; }
.pk-track-steps li { flex: 1 1 0; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; min-width: 0; }
.pk-track-steps li::before { content: ''; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--pk-line-strong); }
.pk-track-steps li:first-child::before { display: none; }
.pk-track-steps li.is-done::before { background: var(--pk-olive); }
.pk-track-dot {
    position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--pk-paper); border: 2px solid var(--pk-line-strong); color: var(--pk-line-strong); font-size: 9px;
}
.pk-track-steps .is-done .pk-track-dot { background: var(--pk-olive); border-color: var(--pk-olive); color: var(--pk-paper); }
.pk-track-steps .is-current .pk-track-dot { border-color: var(--pk-tan); color: var(--pk-tan); }
.pk-track-steps b { margin-top: 4px; font-size: 11px; font-weight: 600; color: var(--pk-ink); line-height: 1.25; }
.pk-track-steps small { font-size: var(--pk-fs-micro); color: var(--pk-text-muted); line-height: 1.3; }

.pk-track-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pk-track-card-head h2 { margin: 0; font-size: var(--pk-fs-body); font-weight: 600; color: var(--pk-ink); }
.pk-track-card-head h2 i { margin-right: 6px; color: var(--pk-tan-deep); }
.pk-track-pill { padding: 3px 10px; border-radius: var(--pk-radius-pill); background: var(--pk-cream); color: var(--pk-tan-deep); font-size: var(--pk-fs-micro); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pk-track-awb { margin: 10px 0 0; font-size: var(--pk-fs-small); color: var(--pk-text-body); }
.pk-track-awb a { margin-left: 8px; color: var(--pk-geru); font-weight: 600; white-space: nowrap; }
.pk-track-muted { margin: 10px 0 0; font-size: var(--pk-fs-small); color: var(--pk-text-muted); line-height: 1.5; }

.pk-track-scans { list-style: none; margin: 14px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--pk-line); }
.pk-track-scans li { position: relative; padding: 0 0 14px 10px; }
.pk-track-scans li:last-child { padding-bottom: 0; }
.pk-track-scans li::before { content: ''; position: absolute; left: -22px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--pk-line-strong); border: 2px solid var(--pk-paper); }
.pk-track-scans li:first-child::before { background: var(--pk-olive); }
.pk-track-scans b { display: block; font-size: var(--pk-fs-small); font-weight: 600; color: var(--pk-ink); line-height: 1.4; }
.pk-track-scans small { font-size: var(--pk-fs-micro); color: var(--pk-text-muted); }

.pk-track-items { list-style: none; margin: 12px 0 0; padding: 0; }
.pk-track-items li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--pk-line); font-size: var(--pk-fs-small); color: var(--pk-ink); }
.pk-track-items li:first-child { border-top: 0; }
.pk-track-items small { color: var(--pk-text-muted); }
.pk-track-help { margin: 18px 0 0; font-size: var(--pk-fs-small); color: var(--pk-text-muted); text-align: center; line-height: 1.7; }
.pk-track-help a { color: var(--pk-geru); font-weight: 600; }

@media (min-width: 768px) {
    .pk-track { padding: 32px 0 56px; }
    .pk-track-head h1 { font-size: 26px; }
    .pk-track-head p { font-size: 14px; }
    .pk-track-form label { font-size: 13px; }
    .pk-track-steps b { font-size: 13px; }
    .pk-track-steps small, .pk-track-scans small { font-size: 12px; }
    .pk-track-scans b, .pk-track-items li, .pk-track-awb, .pk-track-muted, .pk-track-alert, .pk-track-summary p { font-size: 14px; }
}

/* Phones: Track Order is an icon in the header next to Account. */
@media (max-width: 767.98px) {
    .geru-header-track { display: flex !important; }
}
.pk-track-items b { white-space: nowrap; }

/* ================================================================
   Gifts by Budget: a square picture (shown whole, the thumbnails are
   already square) over the price band and an arrow. Same card at every
   width: 2 across on phones, 4 across on desktop.
   ================================================================ */
.pk-budget-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

.pk-budget-tile {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    padding: 8px;
    border-radius: 18px;
}

.pk-budget-img {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--pk-paper);
    color: var(--pk-text-muted);
    font-size: 28px;
}
.pk-budget-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pk-budget-tile:hover .pk-budget-img img { transform: scale(1.04); }

.pk-budget-text { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 4px 4px 6px; }
.pk-budget-copy { display: flex; flex-direction: column; min-width: 0; }
.pk-budget-label { font-size: var(--pk-fs-small); color: var(--pk-text-body); line-height: 1.3; }
.pk-budget-big { margin: 2px 0 0; font-size: var(--pk-fs-title); font-weight: 600; line-height: 1.2; color: var(--pk-ink); white-space: nowrap; }

.pk-budget-go {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pk-paper);
    color: var(--pk-ink);
    font-size: 11px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.pk-budget-tile:hover .pk-budget-go { background: var(--pk-ink); color: var(--pk-paper); transform: translateX(2px); }

@media (min-width: 768px) {
    .pk-budget-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .pk-budget-tile { padding: 10px; }
    .pk-budget-text { padding: 12px 6px 6px 8px; }
    .pk-budget-label { font-size: 14px; }
    .pk-budget-big { font-size: 20px; }
    .pk-budget-go { width: 34px; height: 34px; font-size: 13px; }
}

/* ================================================================
   Phones: the same type scale on cart, checkout and account pages
   (and as the base size for every customer page). Inputs keep their
   own size on purpose: under 16px, iPhones zoom the page on focus.
   ================================================================ */
@media (max-width: 767.98px) {
    body { font-size: var(--pk-fs-body); }
    body .btn:not(.btn-lg) { font-size: 13px; }

    /* ---- Cart ---- */
    body .cart-page-header h2 { font-size: var(--pk-fs-title); font-weight: 600; }
    body .clear-cart { font-size: var(--pk-fs-small); }
    body .product-info-bg h4 { font-size: var(--pk-fs-body); font-weight: 500; line-height: 1.35; }
    body .product-info-bg p { font-size: var(--pk-fs-small); }
    body .cart-item-bg p.font-weight-bold { font-size: var(--pk-fs-body); }
    body .cart-item-bg .text-muted,
    body .cart-item-bg small { font-size: var(--pk-fs-small); }

    /* ---- Order summary (cart and checkout) ---- */
    body .summary-title { font-size: var(--pk-fs-title); margin-bottom: 12px; }
    body .summary-row { font-size: 13px; margin-bottom: 10px; }
    body .summary-row.muted { font-size: var(--pk-fs-small); }
    body .summary-row.total { font-size: var(--pk-fs-title); font-weight: 700; }
    body .btn-checkout { font-size: var(--pk-fs-body); font-weight: 600; }

    /* ---- Checkout ---- */
    body .section-title.pay-heading,
    body h5.section-title { font-size: var(--pk-fs-title); font-weight: 600; }
    body #checkoutForm h6, body .order-summary-card h6 { font-size: 13px; font-weight: 500; }
    body .order-summary-card strong { font-size: var(--pk-fs-body); font-weight: 600; }

    /* ---- Account (profile, addresses, orders, order detail, login) ---- */
    body .account-section-title { font-size: var(--pk-fs-title); font-weight: 600; }
    body.pk-acct h2, body.pk-acct .h2 { font-size: var(--pk-fs-title); font-weight: 600; }
    body.pk-acct h3 { font-size: var(--pk-fs-title); }
    body.pk-acct h4, body.pk-acct h5, body.pk-acct h6, body.pk-acct .h6 { font-size: var(--pk-fs-body); font-weight: 600; }
    body.pk-acct label, body.pk-acct .form-label { font-size: 13px; font-weight: 500; }
    body.pk-acct strong { font-weight: 600; }
    body.pk-acct .section-title { font-size: var(--pk-fs-title); }
}

/* Content pages and order detail on phones: oversized Bootstrap headings come down. */
@media (max-width: 767.98px) {
    body.pk-acct h1 { font-size: 18px; font-weight: 600; }
    body .display-5 { font-size: 22px; }
    body .display-6 { font-size: 20px; }
    body h2.h3, body h3.h4 { font-size: var(--pk-fs-title); font-weight: 600; }
    body .container h4:not([class]),
    body .container h5:not([class]) { font-size: var(--pk-fs-body); font-weight: 600; }
}

/* Tab bar: shown up to 991px (where the old stylesheet turns it on), so it is styled up to there. */
@media (max-width: 991.98px) {
    /* Tab bar. */
    .bottom-nav {
        height: calc(54px + env(safe-area-inset-bottom, 0px));
        padding: 0 4px env(safe-area-inset-bottom, 0px);
        justify-content: space-around;
        box-shadow: 0 -2px 12px rgba(28, 21, 18, .07);
    }
    .bottom-nav .nav-item {
        flex: 1 1 0;
        position: relative;
        font-size: var(--pk-fs-micro);
        font-weight: 500;
        color: var(--pk-text-muted);
    }
    .bottom-nav .nav-item.serch-mob-ico-bg { width: auto; height: auto; }
    .bottom-nav .nav-item a {
        width: 100%;
        height: 54px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: inherit;
    }
    .bottom-nav .nav-item i { margin: 0; font-size: 18px; line-height: 1; }
    .bottom-nav .nav-item span { font-size: var(--pk-fs-micro) !important; line-height: 1; color: inherit !important; }
    .bottom-nav .nav-item .bottom-nav-icon-wrap { display: inline-flex; font-size: 18px; }
    .bottom-nav .nav-item .bottom-nav-icon-wrap + span { margin-top: 0; }
    .bottom-nav .nav-item.active { color: var(--pk-geru); }
    .bottom-nav .nav-item.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 30%;
        right: 30%;
        height: 2px;
        border-radius: 0 0 2px 2px;
        background: var(--pk-geru);
    }
    /* The badge is a span, so the tab's "label colour" rule above had turned its
       digit grey on red. Keep it white. */
    .bottom-nav .nav-item .bottom-nav-badge {
        top: -6px; right: -9px; min-width: 16px; height: 16px;
        font-size: 10px !important; line-height: 16px !important;
        color: var(--pk-paper) !important; font-weight: 600;
    }
}

/* ================================================================
   Card "Add" button: a small pill, not a full-width bar.
   ================================================================ */
.pk-card-cta {
    width: auto;
    min-width: 64px;
    margin: 8px 0 0 auto;
    padding: 6px 16px;
    border-width: 1px;
    border-radius: var(--pk-radius-pill);
    font-size: var(--pk-fs-small);
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

/* Phones: the header cart icon is a clear size and its count badge small. */
@media (max-width: 767.98px) {
    .geru-header-action i,
    .geru-header-cart .position-relative i { font-size: 19px; }
    .geru-header-cart .wish-number {
        top: 3px;
        right: 1px;
        min-width: 15px;
        height: 15px;
        padding: 0 3px;
        font-size: 9px;
        line-height: 1;
    }
}

/* ================================================================
   Product page: after "Add to Cart", the button pair turns into one
   "View Cart" button for a few seconds (script: showViewCartButton).
   ================================================================ */
.action-buttons .view-cart-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: 1.5px solid var(--pk-success);
    border-radius: 8px;
    background: var(--pk-success);
    color: var(--pk-paper);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}
.action-buttons .view-cart-btn:hover { color: var(--pk-paper); filter: brightness(.92); text-decoration: none; }
.action-buttons.is-view-cart #addToCartBtn,
.action-buttons.is-view-cart #buyNowBtn { display: none !important; }
.action-buttons.is-view-cart .view-cart-btn { display: inline-flex; }

@media (max-width: 767.98px) {
    .button-container .view-cart-btn { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; }
}

/* Product page: the delivery / COD / trust cards sit under the pictures on desktop. */
.pk-gallery-extras { margin-top: 20px; }

/* ================================================================
   Cart page, kept simple: items, a coupon line, price details and a
   checkout button (a bar with the total on phones).
   ================================================================ */
.cart-page-wrap .cart-page-container { background: transparent; }
.cart-page-wrap .cart-page-header { margin-bottom: 4px; padding: 0; background: transparent !important; }

.cart-page-wrap .cart-item-bg {
    margin: 0;
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid var(--pk-line);
    border-radius: 0;
    background: transparent;
}
.cart-page-wrap .cart-item-bg .row { margin: 0; }
.cart-page-wrap .cart-item-bg [class*="col-"] { padding: 0; position: static; }
.cart-page-wrap .product-info-bg { align-items: flex-start; gap: 12px; }
.cart-page-wrap .cart-item-thumb { width: 72px; height: 72px; min-width: 72px; border-radius: 10px; }
.cart-page-wrap .product-info-bg h4 { font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.4; }
.cart-page-wrap .product-info-bg h4 a { color: var(--pk-ink); }
.cart-page-wrap .product-info-bg p { font-size: 12px; margin-top: 2px; }
.cart-page-wrap .qty-control-bg { margin-top: 10px; padding-left: 84px; gap: 12px; justify-content: flex-start; }
.cart-page-wrap .qty-control { width: auto; }
.cart-page-wrap .quantity-controls { display: inline-flex; align-items: center; border: 1px solid var(--pk-line-strong); border-radius: var(--pk-radius-pill); background: var(--pk-paper); overflow: hidden; }
.cart-page-wrap .quantity-btn { width: 30px; height: 30px; border: 0; background: transparent; color: var(--pk-ink); font-size: 15px; line-height: 1; }
.cart-page-wrap .quantity-input { width: 30px; padding: 0; font-size: 14px; font-weight: 600; background: transparent; }
.cart-page-wrap .item-total { margin-left: auto; font-size: 14px; font-weight: 600; }
.cart-page-wrap .cart-item-bg { position: relative; }
.cart-page-wrap .remove-item { position: absolute; top: 14px; right: 0; color: var(--pk-text-muted); }
.cart-page-wrap .product-info-bg { padding-right: 26px; }
.cart-page-wrap .cart-remove-btn { font-size: 14px; color: var(--pk-text-muted); }
.cart-page-wrap .cart-each-price { display: none; }
.cart-page-wrap .cart-qty-tiers { padding-left: 84px; }

.pk-cart-continue { margin-top: 14px; }
.pk-cart-continue a { font-size: 13px; font-weight: 500; color: var(--pk-geru); }

.pk-coupon { margin: 0 0 14px; border: 1px solid var(--pk-line); border-radius: 12px; background: var(--pk-paper); }
.pk-coupon > summary { padding: 12px 14px; font-size: 13px; font-weight: 600; color: var(--pk-ink); cursor: pointer; list-style: none; }
.pk-coupon > summary::-webkit-details-marker { display: none; }
.pk-coupon > summary i { margin-right: 8px; color: var(--pk-geru); }
.pk-coupon .coupon-box { margin: 0; padding: 0 14px 14px; }

.cart-page-wrap .order-summary-card { padding: 16px; border-radius: 12px; box-shadow: none; }
.cart-page-wrap .summary-title { margin-bottom: 10px; }
.cart-page-wrap .order-summary hr { margin: 8px 0 12px; }

.pk-cart-bar-total { display: none; }

@media (max-width: 992px) {
    .proceed-to-checkout {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    }
    .pk-cart-bar-total { display: block; line-height: 1.2; }
    .pk-cart-bar-total small { display: block; font-size: 11px; color: var(--pk-text-muted); }
    .pk-cart-bar-total strong { font-size: 16px; font-weight: 700; color: var(--pk-ink); }
    .proceed-to-checkout .btn-checkout { flex: 1 1 auto; max-width: 220px; height: 44px; margin-left: auto; border-radius: var(--pk-radius-pill); }
}
@media (min-width: 993px) {
    .pk-cart-bar-long { display: inline; }
}
@media (max-width: 400px) {
    .pk-cart-bar-long { display: none; }
}

/* Public tracking, OTP flow additions. */
.pk-track-field { display: flex; margin-bottom: 12px; }
.pk-track-field .pk-track-prefix {
    display: flex; align-items: center; padding: 0 12px;
    border: 1px solid var(--pk-line-strong); border-right: 0; border-radius: 10px 0 0 10px;
    background: var(--pk-field); color: var(--pk-text-muted); font-size: var(--pk-fs-body); font-weight: 600;
}
.pk-track-field input { margin-bottom: 0; border-radius: 0 10px 10px 0; flex: 1 1 auto; min-width: 0; }
.pk-track-otp { text-align: center; letter-spacing: .5em; font-size: 20px !important; font-weight: 600; }
.pk-track-sent { margin: 0 0 12px; font-size: var(--pk-fs-body); color: var(--pk-text-body); }
.pk-track-notice { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--pk-sage-tint); color: var(--pk-success); font-size: var(--pk-fs-small); }
.pk-track-links { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 14px; font-size: var(--pk-fs-small); color: var(--pk-text-muted); }
.pk-track-links form { margin: 0; }
.pk-track-links button { padding: 0; border: 0; background: none; color: var(--pk-geru); font-size: inherit; font-weight: 600; }
.pk-track-links a { color: var(--pk-geru); font-weight: 600; }
.pk-track-pick { list-style: none; margin: 12px 0 0; padding: 0; }
.pk-track-pick li + li { margin-top: 8px; }
.pk-track-pick a {
    display: flex; align-items: center; gap: 10px; padding: 12px;
    border: 1px solid var(--pk-line-strong); border-radius: 12px; background: var(--pk-paper); color: var(--pk-ink);
}
.pk-track-pick a:hover { border-color: var(--pk-geru); color: var(--pk-ink); }
.pk-track-pick-main { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.pk-track-pick-main b { font-size: var(--pk-fs-body); font-weight: 600; }
.pk-track-pick-main small { font-size: var(--pk-fs-small); color: var(--pk-text-muted); overflow-wrap: anywhere; }
.pk-track-pick a > i { color: var(--pk-text-muted); font-size: 11px; }
.pk-track-back { display: inline-block; margin-top: 14px; font-size: var(--pk-fs-small); font-weight: 600; color: var(--pk-geru); }

/* ================================================================
   Gaps: space reserved for things that load later, and old offsets
   from when the header was fixed, were leaving blank bands.
   ================================================================ */
/* Cart: reserve only what the free-shipping card really needs. */
.cart-page-wrap #free-shipping-container { min-height: 58px; margin-bottom: 12px !important; }
.cart-page-wrap #coupon-progress-container { margin-bottom: 12px !important; }
.cart-page-wrap #coupon-progress-container:empty { margin: 0 !important; }
.cart-page-wrap .cart-page-container { padding: 0; border: 0; box-shadow: none; }
.pk-coupon .coupon-box { margin-bottom: 0 !important; }
.pk-coupon #coupon-message:empty { display: none; }
.pk-coupon[open] > summary { padding-bottom: 8px; }
.pk-coupon #coupon-applied-row { margin-top: 0 !important; }

@media (max-width: 991.98px) {
    .cart-summary-col { margin-top: 8px; }
}

/* Orders (and other account pages): the 80px top offset belonged to a fixed header. */
@media (max-width: 767.98px) {
    .order-main-bg { margin-top: 8px; }
}

/* Phones: the keychain shelf is sized so two cards show whole and a bit of the
   third peeks in, which tells the customer to swipe for more. */
@media (max-width: 767.98px) {
    .pk-addons-rail .product-list-listing-box {
        flex-basis: calc((100vw - 64px) / 2.3);
        width: calc((100vw - 64px) / 2.3);
    }
}

/* ================================================================
   Variant pickers (Color, Size...): "Color: Peach" over rounded picture
   swatches, or pills when there is no picture.
   ================================================================ */
.variant-option { margin-bottom: 18px; }
.variant-label { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; font-size: 14px; text-transform: none; color: var(--pk-text-muted); }
.variant-label-value { color: var(--pk-ink); font-weight: 600; }
.variant-values { gap: 10px; }

.variant-value.has-swatch {
    width: 64px;
    height: 64px;
    margin-right: 0;
    padding: 2px;
    border-radius: 12px;
    border: 1px solid var(--pk-line-strong);
    background: var(--pk-paper);
}
.variant-value.has-swatch.selected { padding: 1px; border: 2px solid var(--pk-geru); box-shadow: 0 0 0 3px rgba(var(--pk-geru-rgb), .12); }
.variant-value-swatch { border-radius: 9px; }

.variant-value:not(.has-swatch) {
    margin-right: 0;
    padding: 8px 18px;
    border-radius: var(--pk-radius-pill);
    font-size: 13px;
    font-weight: 500;
    color: var(--pk-ink);
}
.variant-value:not(.has-swatch).selected { border-color: var(--pk-geru); background: var(--pk-geru-tint); color: var(--pk-geru); font-weight: 600; }
.variant-value:hover { transform: none; }

@media (max-width: 767.98px) {
    .variant-value.has-swatch { width: 56px; height: 56px; }
    .variant-label { font-size: 13px; }
}

/* The delivery / COD / trust panel (desktop) sits under the buy buttons and is always shown. */
.pk-gallery-extras.is-visible { opacity: 1; transform: none; }

/* Desktop: the pictures stay in view while the longer column beside them scrolls, so a short
   column on one side never leaves a blank gap. Only where the pictures fit on the screen. */
@media (min-width: 992px) {
    .pk-pdp-gallery-col { align-self: flex-start; position: sticky; top: 120px; }
}

/* ================================================================
   Product page: no scroll bar under (or beside) the small pictures. They
   still swipe on phones and scroll with the wheel or trackpad.
   ================================================================ */
.pk-pdp .product-gallery .thumbnail-gallery {
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.pk-pdp .product-gallery .thumbnail-gallery::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ================================================================
   Desktop: the block under the product picture ("How it reaches you", COD,
   trust points) is one calm panel with hairline dividers instead of three
   filled cards, in the flat style of the rest of the page.
   ================================================================ */
body .pk-gallery-extras {
    margin-top: 28px;
    border: 1px solid var(--pk-line);
    border-radius: 14px;
    background: var(--pk-paper);
    overflow: hidden;
}

body .pk-gallery-extras .pk-delivery-card {
    background: none;
    border-radius: 0;
    margin: 0;
    padding: 20px 24px 18px;
}
body .pk-gallery-extras .pk-delivery-card::after,
body .pk-gallery-extras .pk-cod-card::after { display: none; }

body .pk-gallery-extras .pk-delivery-card-title {
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--pk-ink);
    margin-bottom: 16px;
}

body .pk-gallery-extras .pk-delivery-steps::before {
    top: 20px;
    left: 18%;
    right: 18%;
    border-top: 1px dashed var(--pk-line-strong);
}

body .pk-gallery-extras .pk-delivery-step .pk-delivery-step-icon {
    width: 40px;
    height: 40px;
    font-size: 15px;
    background: var(--pk-paper);
    color: var(--pk-geru);
    border: 1px solid var(--pk-line-strong);
    margin-bottom: 8px;
}
body .pk-gallery-extras .pk-delivery-step-label { font-size: 13px; font-weight: 600; }
body .pk-gallery-extras .pk-delivery-step-note { font-size: 12px; }

body .pk-gallery-extras .pk-cod-card {
    background: none;
    border: 0;
    border-top: 1px solid var(--pk-line);
    border-radius: 0;
    margin: 0;
    padding: 13px 24px;
}
body .pk-gallery-extras .pk-cod-card-title { font-size: 13px; font-weight: 600; }
body .pk-gallery-extras .pk-cod-card-note { font-size: 12px; }
body .pk-gallery-extras .pk-cod-card-save { font-size: 12px; }

body .pk-gallery-extras .pk-trust-badges {
    background: none;
    border-top: 1px solid var(--pk-line);
    border-radius: 0;
    margin: 0;
    padding: 16px 0;
    gap: 0;
    flex-wrap: nowrap;
}
body .pk-gallery-extras .pk-trust-badge {
    padding: 2px 8px;
    border-left: 1px solid var(--pk-line);
}
body .pk-gallery-extras .pk-trust-badge:first-child { border-left: 0; }
body .pk-gallery-extras .pk-trust-badge-icon { font-size: 18px; margin-bottom: 6px; }
body .pk-gallery-extras .pk-trust-badge-title { font-size: 12px; }
body .pk-gallery-extras .pk-trust-badge-note { font-size: 11px; margin-top: 1px; }

/* ================================================================
   Listing page on phones: one slim bar that stays at the top while the grid
   scrolls: Filter, Sort (opens a sheet) and quick price chips. The category
   chips above scroll away with the heading instead of taking a second sticky row.
   ================================================================ */
@media (max-width: 991.98px) {
    body .pk-category-chips-row { position: static; box-shadow: none; margin-bottom: 4px; }

    body .search-rightContainer { min-width: 0; }

    body .pk-qbar {
        min-width: 0;
        max-width: 100%;
        position: sticky;
        top: 0;
        z-index: 40;
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 8px;
        padding: 8px 0;
        background: var(--pk-paper);
        box-shadow: 0 1px 0 var(--pk-line);
    }

    .pk-qbar-btn,
    .pk-qchip {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        height: 34px;
        padding: 0 12px;
        border: 1px solid var(--pk-line-strong);
        border-radius: 999px;
        background: var(--pk-paper);
        color: var(--pk-ink);
        font-size: var(--pk-fs-small);
        font-weight: 600;
        line-height: 1;
        white-space: nowrap;
        cursor: pointer;
    }
    .pk-qbar-btn i { font-size: 12px; }
    .pk-qbar-sub { font-weight: 500; color: var(--pk-text-muted); }
    .pk-qbar-count {
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 8px;
        background: var(--pk-geru);
        color: var(--pk-paper);
        font-size: 10px;
        line-height: 16px;
        text-align: center;
    }
    .pk-qbar-count:empty { display: none; }

    .pk-qbar-sep { flex: 0 0 1px; height: 20px; background: var(--pk-line-strong); }

    .pk-qbar-chips {
        flex: 1 1 auto;
        display: flex;
        gap: 8px;
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .pk-qbar-chips::-webkit-scrollbar { display: none; }

    .pk-qchip { font-weight: 500; }
    .pk-qchip.is-on {
        background: var(--pk-ink);
        border-color: var(--pk-ink);
        color: var(--pk-paper);
        font-weight: 600;
    }

    /* Sort sheet */
    .pk-sheet[hidden] { display: none; }
    .pk-sheet { position: fixed; inset: 0; z-index: 1200; }
    .pk-sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
    .pk-sheet-panel {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 8px 16px calc(14px + env(safe-area-inset-bottom));
        background: var(--pk-paper);
        border-radius: 18px 18px 0 0;
        animation: pkSheetUp .22s ease-out;
    }
    .pk-sheet-grab { width: 40px; height: 4px; margin: 4px auto 10px; border-radius: 2px; background: var(--pk-line-strong); }
    .pk-sheet-title { font-size: var(--pk-fs-title); font-weight: 600; padding: 4px 0 8px; }
    .pk-sheet-opt {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 2px;
        border: 0;
        border-top: 1px solid var(--pk-line);
        background: none;
        font-size: var(--pk-fs-body);
        color: var(--pk-ink);
        text-align: left;
    }
    .pk-sheet-opt i { visibility: hidden; color: var(--pk-geru); }
    .pk-sheet-opt.is-on { font-weight: 600; }
    .pk-sheet-opt.is-on i { visibility: visible; }
    body.pk-sheet-open { overflow: hidden; }

    @keyframes pkSheetUp { from { transform: translateY(100%); } to { transform: none; } }
    @media (prefers-reduced-motion: reduce) { .pk-sheet-panel { animation: none; } }
}

body.pk-sheet-open .float-whatsapp { display: none; }

/* ================================================================
   Product page on phones: Description / Specifications / Shipping & Returns
   are sections that open and close (one at a time) instead of tabs.
   Tablets and desktop keep the tabs.
   ================================================================ */
.pk-acc-head { display: none; }

@media (max-width: 767.98px) {
    .product-details-tabs .nav-tabs-custom { display: none; }

    .product-details-tabs .tab-content > .tab-pane {
        display: block;
        opacity: 1;
        border-bottom: 1px solid var(--pk-line);
    }
    .product-details-tabs .tab-content > .tab-pane:first-child { border-top: 1px solid var(--pk-line); }

    .pk-acc-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 2px;
        border: 0;
        background: none;
        color: var(--pk-ink);
        font-size: var(--pk-fs-title);
        font-weight: 600;
        text-align: left;
    }
    .pk-acc-head i { font-size: 12px; color: var(--pk-text-muted); transition: transform .2s ease; }
    .pk-open > .pk-acc-head i { transform: rotate(180deg); }

    .tab-pane:not(.pk-open) > :not(.pk-acc-head) { display: none; }
    .tab-pane.pk-open > :not(.pk-acc-head) { padding-bottom: 14px; }
}

/* ================================================================
   Track order, simpler: product pictures, the latest courier update on
   top with the older ones folded away, and the order's items in a fold.
   ================================================================ */
.pk-track-thumb {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--pk-cream);
    border: 1px solid var(--pk-line);
}

.pk-track-stack { display: inline-flex; align-items: center; flex: 0 0 auto; }
.pk-track-stack .pk-track-thumb { width: 40px; height: 40px; flex-basis: 40px; border: 2px solid var(--pk-paper); box-shadow: 0 0 0 1px var(--pk-line); }
.pk-track-stack .pk-track-thumb + .pk-track-thumb,
.pk-track-stack .pk-track-thumb + .pk-track-more { margin-left: -12px; }
.pk-track-more {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--pk-cream); color: var(--pk-text-muted);
    border: 2px solid var(--pk-paper); box-shadow: 0 0 0 1px var(--pk-line);
    font-size: var(--pk-fs-small); font-weight: 600;
}

.pk-track-pick a { gap: 12px; }
.pk-track-pick-status { color: var(--pk-tan-deep) !important; font-weight: 600; }
.pk-track-parcel-items { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: var(--pk-fs-small); color: var(--pk-text-body); line-height: 1.4; }
.pk-track-parcel-items > span:last-child { min-width: 0; overflow-wrap: anywhere; }

/* Folds (native <details>, no script) */
.pk-track-fold > summary { list-style: none; cursor: pointer; }
.pk-track-fold > summary::-webkit-details-marker { display: none; }
.pk-track-fold > summary::after {
    content: '';
    flex: 0 0 auto;
    width: 7px; height: 7px; margin: 0 4px 3px 4px;
    border-right: 2px solid var(--pk-text-muted); border-bottom: 2px solid var(--pk-text-muted);
    transform: rotate(45deg);
    transition: transform .2s ease;
}
.pk-track-fold[open] > summary::after { transform: rotate(-135deg); margin-bottom: -2px; }
.pk-track-fold > summary em { font-style: normal; font-size: var(--pk-fs-small); color: var(--pk-text-muted); }

.pk-track-order { padding: 0; }
.pk-track-order > summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.pk-track-fold-title { flex: 1 1 auto; font-size: var(--pk-fs-body); font-weight: 600; color: var(--pk-ink); }
.pk-track-order > .pk-track-items,
.pk-track-order > .pk-track-muted { margin-left: 16px; margin-right: 16px; }
.pk-track-order > .pk-track-items { margin-top: 0; border-top: 1px solid var(--pk-line); }
.pk-track-order > .pk-track-muted { margin-top: 0; padding: 12px 0 16px; border-top: 1px solid var(--pk-line); }

.pk-track-items li { align-items: center; justify-content: flex-start; gap: 12px; padding: 10px 0; }
.pk-track-item-name { flex: 1 1 auto; min-width: 0; font-size: var(--pk-fs-small); line-height: 1.4; overflow-wrap: anywhere; }
.pk-track-item-name small { display: block; margin-top: 1px; }
.pk-track-items b { margin-left: auto; font-size: var(--pk-fs-small); color: var(--pk-text-muted); }

.pk-track-fold--inline { margin-top: 10px; }
.pk-track-fold--inline > summary {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 0 0; border-top: 1px solid var(--pk-line);
    font-size: var(--pk-fs-small); font-weight: 600; color: var(--pk-geru);
}
.pk-track-fold--inline > summary span { flex: 1 1 auto; }
.pk-track-fold--inline > summary::after { border-color: var(--pk-geru); }
.pk-track-scans--older { margin-top: 12px; }

@media (min-width: 768px) {
    .pk-track-item-name { font-size: 14px; }
}

/* ================================================================
   Checkout order summary on phones: smaller product names, a quiet
   "coupon applied" line and a smaller coupon banner. The sizes come from
   the same phone type scale as the rest of the store.
   ================================================================ */
@media (max-width: 767.98px) {
    body .checkout-page .checkout-item-name {
        font-family: var(--pk-font-body, inherit);
        font-size: var(--pk-fs-body);
        font-weight: 600;
        line-height: 1.35;
        letter-spacing: 0;
    }
    body .checkout-page .checkout-item-card small,
    body .checkout-page .checkout-item-card .text-muted { font-size: var(--pk-fs-small); }
    body .checkout-page .item-total-checkout { font-size: var(--pk-fs-body); }

    body .checkout-page .order-summary-card .summary-title { font-size: var(--pk-fs-title); }
    body .checkout-page .bill-breakdown .summary-row { font-size: var(--pk-fs-body); }
    body .checkout-page .bill-breakdown .summary-row.total { font-size: var(--pk-fs-title); }

    /* "PAHADI5 applied": one small line, Remove on the right */
    body .checkout-page #coupon-applied-row {
        margin-top: 0 !important;
        padding: 8px 12px;
        border-radius: 10px;
        background: var(--pk-hue-sage);
        font-size: var(--pk-fs-small);
    }
    body .checkout-page #coupon-applied-row .text-success { color: var(--pk-hue-sage-ink) !important; font-weight: 600; }
    body .checkout-page #coupon-applied-row .btn { font-size: var(--pk-fs-small); font-weight: 600; min-height: 0; height: auto; line-height: 1.4; padding: 2px 0; }

    /* The "You've unlocked PAHADI5" banner above the summary */
    body .coupon-progress-card,
    body .coupon-progress-card .btn { font-size: var(--pk-fs-small); }
    body .coupon-progress-card { padding: 10px 12px; }
}

/* ================================================================
   Phone search page: before anything is typed it shows recent searches,
   popular searches, shop by category and budget links instead of a blank
   screen. It scrolls when the keyboard is up.
   ================================================================ */
.search-container {
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.search-container .search-header-sub { margin-bottom: 12px; }
.search-container .search-header-sub h3 { font-size: var(--pk-fs-title); }

.pk-sdisc { padding: 6px 0 28px; }
.pk-sdisc-sec { margin-top: 18px; }
.pk-sdisc-sec[hidden] { display: none; }
.pk-sdisc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pk-sdisc-head h4 { margin: 0; font-size: var(--pk-fs-body); font-weight: 600; color: var(--pk-ink); }
.pk-sdisc-head a,
.pk-sdisc-head button { padding: 0; border: 0; background: none; font-size: var(--pk-fs-small); font-weight: 600; color: var(--pk-geru); }

.pk-sdisc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-sdisc-chips a {
    padding: 8px 14px; border-radius: 999px; background: var(--pk-field);
    font-size: var(--pk-fs-small); font-weight: 500; color: var(--pk-ink);
}
.pk-sdisc-chips a:hover { background: var(--pk-tan-soft); color: var(--pk-ink); text-decoration: none; }

.pk-sdisc-recent { list-style: none; margin: 0; padding: 0; }
.pk-sdisc-recent li + li { border-top: 1px solid var(--pk-line); }
.pk-sdisc-recent a { display: flex; align-items: center; gap: 12px; padding: 11px 2px; font-size: var(--pk-fs-body); color: var(--pk-ink); }
.pk-sdisc-recent a:hover { text-decoration: none; color: var(--pk-geru); }
.pk-sdisc-recent a > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-sdisc-recent i { color: var(--pk-text-muted); font-size: 13px; }
.pk-sdisc-fill { transform: rotate(-45deg); }

.pk-sdisc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; }
.pk-sdisc-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: var(--pk-fs-micro); font-weight: 500; line-height: 1.25; color: var(--pk-ink); }
.pk-sdisc-tile:hover { color: var(--pk-ink); text-decoration: none; }
.pk-sdisc-ico { width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.pk-sdisc-ico.pk-hue-0 { background: var(--pk-hue-rose); color: var(--pk-hue-rose-ink); }
.pk-sdisc-ico.pk-hue-1 { background: var(--pk-hue-peach); color: var(--pk-hue-peach-ink); }
.pk-sdisc-ico.pk-hue-2 { background: var(--pk-hue-butter); color: var(--pk-hue-butter-ink); }
.pk-sdisc-ico.pk-hue-3 { background: var(--pk-hue-sage); color: var(--pk-hue-sage-ink); }
.pk-sdisc-ico.pk-hue-4 { background: var(--pk-hue-mint); color: var(--pk-hue-mint-ink); }
.pk-sdisc-ico.pk-hue-5 { background: var(--pk-hue-sky); color: var(--pk-hue-sky-ink); }
.pk-sdisc-ico.pk-hue-6 { background: var(--pk-hue-lilac); color: var(--pk-hue-lilac-ink); }
.pk-sdisc-ico.pk-hue-7 { background: var(--pk-hue-coral); color: var(--pk-hue-coral-ink); }

/* Phones and tablets: the fixed tab bar covers the bottom of the page, so the last footer row
   (Sitemap, Become a Seller) sat underneath it and could not be reached. The footer gets room for it. */
@media (max-width: 991.98px) {
    .pk-footer { padding-bottom: calc(54px + env(safe-area-inset-bottom, 0px) + 16px); }
}


/* ================================================================
   Home: the two cards beside (desktop) and under (phones) the hero banner.

   "Arch window": the picture sits in an arch, like the niche a lamp or a
   deity stands in, with a thin frame set off from it. The card behind it
   carries a faint Aipan dot pattern. The one-line description is a tag that
   hangs over the bottom edge of the arch, and the link is a pill.
   Only CSS: the markup is still picture + title + line + link.
   ================================================================ */
.pk-hero-side .pk-side {
    position: relative;
    isolation: isolate;
    border-radius: 22px;
    box-shadow: 0 1px 2px rgba(28, 21, 18, .05), 0 10px 26px rgba(28, 21, 18, .08);
}

/* Aipan is drawn in dots and lines: a quiet dot grid behind everything. */
.pk-hero-side .pk-side::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: 15px 15px;
    pointer-events: none;
}
.pk-hero-side .pk-side--aipan::before {
    background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255, 253, 249, .2) 1.3px, transparent 1.7px);
}
.pk-hero-side .pk-side--combos::before {
    background-image: radial-gradient(circle at 1.5px 1.5px, rgba(var(--pk-geru-rgb), .14) 1.3px, transparent 1.7px);
}

.pk-hero-side .pk-side:active { transform: scale(.985); }

/* The arch. The frame is an outline, which follows the rounded corners. */
.pk-hero-side .pk-side-img {
    position: relative;
    overflow: visible;
    border-radius: 999px 999px 16px 16px;
    outline: 1.5px solid rgba(255, 253, 249, .5);
    outline-offset: 5px;
    transition: transform .3s ease, outline-offset .3s ease;
}
.pk-hero-side .pk-side--combos .pk-side-img { outline-color: rgba(var(--pk-geru-rgb), .38); }
.pk-hero-side .pk-side-img img { border-radius: inherit; }
.pk-hero-side .pk-side:hover .pk-side-img { transform: translateY(-3px); outline-offset: 8px; }

/* The description, as a tag hanging over the bottom of the arch. */
.pk-hero-side .pk-side-pill {
    display: block;
    position: absolute;
    left: 50%;
    bottom: -11px;
    z-index: 2;
    transform: translateX(-50%);
    /* Both cards get the same tag: one width (a card is half the screen) and room for two lines,
       so a short line and a long one look alike. */
    box-sizing: border-box;
    width: min(172px, calc(50vw - 40px));
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 14px;
    background: var(--pk-paper);
    color: var(--pk-ink);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.25;
    text-align: center;
    box-shadow: 0 3px 10px rgba(28, 21, 18, .22);
}

.pk-hero-side .pk-side-title { letter-spacing: -.005em; font-weight: 800; }

/* The link is a pill with an arrow. */
.pk-hero-side .pk-side-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 116px;
    min-height: 32px;
    gap: 7px;
    padding: 8px 15px 8px 17px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    transition: gap .2s ease;
}
.pk-hero-side .pk-side-link::after { content: '\2192'; font-size: 14px; line-height: 1; }
.pk-hero-side .pk-side:hover .pk-side-link { gap: 11px; }
.pk-hero-side .pk-side--aipan .pk-side-link { background: var(--pk-paper); color: var(--pk-geru); }
.pk-hero-side .pk-side--combos .pk-side-link { background: var(--pk-ink); color: var(--pk-paper); }

/* The two extra colours an admin can pick for a card (Tan and Green). */
.pk-hero-side .pk-side--crochet { background: var(--pk-tan); color: var(--pk-ink); }
.pk-hero-side .pk-side--crochet:hover { color: var(--pk-ink); }
.pk-hero-side .pk-side--crochet::before { background-image: radial-gradient(circle at 1.5px 1.5px, rgba(28, 21, 18, .13) 1.3px, transparent 1.7px); }
.pk-hero-side .pk-side--crochet .pk-side-img { outline-color: rgba(28, 21, 18, .35); }
.pk-hero-side .pk-side--crochet .pk-side-link { background: var(--pk-ink); color: var(--pk-paper); }

.pk-hero-side .pk-side--pine { background: var(--pk-pine); color: var(--pk-paper); }
.pk-hero-side .pk-side--pine:hover { color: var(--pk-paper); }
.pk-hero-side .pk-side--pine::before { background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255, 253, 249, .16) 1.3px, transparent 1.7px); }
.pk-hero-side .pk-side--pine .pk-side-link { background: var(--pk-paper); color: var(--pk-pine); }

/* ---- Wide screens: text on the left, the arch on the right ---- */
@media (min-width: 900px) {
    .pk-hero-side .pk-side { grid-template-columns: 1fr 41%; }
    .pk-hero-side .pk-side-text { padding: 22px 6px 22px 24px; gap: 8px; }
    .pk-hero-side .pk-side-title { font-size: 21px; }
    .pk-hero-side .pk-side-sub { font-size: 13px; }
    .pk-hero-side .pk-side-img { margin: 18px 20px 18px 8px; }
    /* The description is already in the text column here. */
    .pk-hero-side .pk-side-pill { display: none; }
}

/* ---- Phones and small tablets: two upright tiles, arch on top ---- */
@media (max-width: 899.98px) {
    .pk-hero-side { gap: 12px; }
    .pk-hero-side .pk-side {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 18px 12px 16px;
    }
    .pk-hero-side .pk-side-img {
        order: -1;
        width: 100%;
        max-width: 116px;
        height: 136px;
        margin: 5px auto 24px;
    }
    .pk-hero-side .pk-side-text { padding: 0; align-items: center; gap: 10px; }
    .pk-hero-side .pk-side-sub { display: none; }
    .pk-hero-side .pk-side-title { font-size: 16px; line-height: 1.2; }
    .pk-hero-side .pk-side-link { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .pk-hero-side .pk-side-img, .pk-hero-side .pk-side-link { transition: none; }
}
