/* ============================================================
   KAYURE EXTRAS (v3.1) — loaded after style.css
   Footer SEO section, bundles, reviews, quiz/routine states,
   pagination, mobile hardening. Mobile-first.
   ============================================================ */

/* ---- Never allow sideways page scroll (the carousels scroll inside their own boxes) ---- */
html,body{max-width:100%;overflow-x:clip}
img,video,svg{max-width:100%}

/* ---- Footer SEO section ("Korean Skincare & Beauty Products in Pakistan") ---- */
.kayure-home-seo{padding:clamp(40px,6vw,72px) 0;background:var(--bg)}
.kayure-home-seo .kseo-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(22px,4vw,44px);box-shadow:var(--shadow);display:grid;gap:clamp(22px,4vw,44px);grid-template-columns:1fr}
.kayure-home-seo .kseo-copy h2{font-family:var(--display);font-weight:700;font-size:clamp(1.7rem,4.6vw,2.5rem);line-height:1.12;margin:0 0 14px;color:var(--text);overflow-wrap:anywhere}
.kayure-home-seo .kseo-copy p{color:#4b3d44;font-size:1rem;line-height:1.75;max-width:68ch;margin:0 0 14px}
.kayure-home-seo .kseo-links{display:grid;gap:20px;align-content:start;min-width:0}
.kayure-home-seo .kseo-links h3{font-family:var(--sans);font-size:.74rem;font-weight:700;letter-spacing:2.4px;text-transform:uppercase;color:var(--rose);margin:0 0 10px}
.kayure-home-seo .chip-list{display:flex;flex-wrap:wrap;gap:8px}
.kayure-home-seo .chip{display:inline-flex;align-items:center;min-height:40px;padding:8px 15px;font-size:.84rem;text-decoration:none;max-width:100%;overflow-wrap:anywhere}
@media(min-width:900px){.kayure-home-seo .kseo-card{grid-template-columns:1.15fr 1fr;align-items:start}}

/* ---- Bundles ---- */
.bundle-card h3 a{color:inherit;text-decoration:none}
.bundle-card h3 a:hover{color:var(--rose)}
a.bundle-cover{display:block}
.b-details{display:block;text-align:center;margin-top:12px;font-size:.84rem;font-weight:600;color:var(--rose);text-decoration:none}
.b-details:hover{text-decoration:underline}
.bundle-card .btn[disabled],.bundle-detail .btn[disabled]{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
.bundle-detail{display:grid;gap:28px;grid-template-columns:1fr;margin-bottom:40px;align-items:start}
.bundle-detail-media img{width:100%;height:auto;border-radius:var(--radius);display:block}
.bundle-detail-info{display:grid;gap:14px;align-content:start}
.bundle-detail-info .b-price{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.bundle-detail-info .b-price .now{font-family:var(--display);font-size:2.2rem;font-weight:700;color:var(--rose)}
.bundle-detail-info .b-price .was{text-decoration:line-through;color:var(--muted)}
.b-note{font-size:.84rem;color:var(--muted);margin:0}
.bundle-items-title{font-family:var(--display);font-size:clamp(1.5rem,4vw,2rem);margin:0 0 18px}
@media(min-width:860px){.bundle-detail{grid-template-columns:1fr 1fr;gap:44px}}

/* ---- Product reviews ---- */
.kr-reviews{max-width:860px;margin:0 auto}
.kr-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.kr-head h2{font-family:var(--display);font-size:clamp(1.6rem,4vw,2.2rem);margin:0}
.kr-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.kr-avg{font-family:var(--display);font-size:2rem;font-weight:700;color:var(--rose)}
.kr-stars{color:var(--gold-deep);letter-spacing:2px}
.kr-count{color:var(--muted);font-size:.86rem}
.kr-list{list-style:none;margin:0 0 26px;padding:0;display:grid;gap:14px}
.kr-item{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.kr-item-top{display:flex;gap:12px;align-items:center;margin-bottom:8px}
.kr-avatar{flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:var(--rose-tint);color:var(--rose-deep);display:grid;place-items:center;font-weight:700}
.kr-verified{margin-left:8px;font-size:.7rem;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:#0f7a4a;background:#e5f6ec;border-radius:30px;padding:3px 9px}
.kr-meta{font-size:.8rem;color:var(--muted)}
.kr-text{color:#3d3138;line-height:1.7;overflow-wrap:anywhere}
.kr-text p{margin:0 0 .6em}
.kr-empty{display:flex;gap:14px;align-items:flex-start;background:var(--rose-tint);border-radius:var(--radius);padding:18px;margin-bottom:24px;color:var(--rose-deep)}
.kr-empty i{font-size:1.4rem;margin-top:2px}
.kr-empty p{margin:0;color:#4b3d44}
.kr-form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(16px,3vw,28px)}
.kr-form .comment-reply-title{font-family:var(--display);font-size:1.5rem;display:block;margin-bottom:12px}
.kr-form label{display:block;font-size:.84rem;font-weight:600;margin-bottom:6px}
.kr-form input[type=text],.kr-form input[type=email],.kr-form select,.kr-form textarea{width:100%;padding:13px 16px;border:1px solid var(--line);border-radius:14px;font:inherit;background:#fff;box-sizing:border-box}
.kr-form input:focus,.kr-form select:focus,.kr-form textarea:focus{outline:2px solid var(--rose-soft);border-color:var(--rose)}
.kr-form p{margin:0 0 14px}
.kr-form .submit{background:linear-gradient(135deg,var(--rose),var(--rose-deep));color:#fff;border:0;border-radius:var(--pill);padding:14px 28px;font-weight:700;cursor:pointer;min-height:48px}
.kr-note{font-size:.8rem;color:var(--muted)}
.required{color:var(--red)}

/* ---- Quiz / routine ---- */
button.quiz-opt{font:inherit;color:inherit;text-align:center;cursor:pointer;min-height:56px}
.quiz-pick{position:relative}
.quiz-step{display:inline-block;margin:0 0 8px 4px;font-size:.72rem;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--rose)}
.quiz-total{text-align:center;margin:22px 0 0;font-size:1.05rem}
.quiz-missing{text-align:center;color:var(--muted);font-size:.9rem;margin-top:14px}
.rb-note{color:var(--muted);font-size:.84rem;margin:6px 0}
.rb-empty{color:var(--muted);padding:18px}
.routine-pick{position:relative}
.rp-name small{display:block;font-size:.68rem;letter-spacing:1.6px;text-transform:uppercase;color:var(--rose)}
.rp-remove{border:0;background:var(--rose-tint);color:var(--rose-deep);width:30px;height:30px;border-radius:50%;font-size:1.1rem;line-height:1;cursor:pointer;flex:0 0 30px}
.pc-oos{display:block;text-align:center;font-size:.82rem;color:var(--muted);padding:10px 0}

/* ---- Pagination / load more ---- */
.kayure-pagination{margin:32px 0 0}
.kayure-pagination ul{list-style:none;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0;padding:0}
.kayure-pagination a,.kayure-pagination span{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;padding:0 14px;border:1px solid var(--line);border-radius:var(--pill);text-decoration:none;color:var(--text);background:#fff}
.kayure-pagination .current{background:var(--rose);border-color:var(--rose);color:#fff}
.load-more-wrap{text-align:center;margin:28px 0 0}
.concern-switch{margin-bottom:24px}
.concern-switch .chip{text-decoration:none}

/* ---- Mobile hardening ---- */
@media(max-width:600px){
  .btn-sm{min-height:44px}
  .chip{min-height:44px;display:inline-flex;align-items:center}
  .shop-bar select,.shop-bar .btn{min-height:44px}
  .kr-item{padding:14px}
}

/* ---- Navbar account dropdown (customer + affiliate login/signup) ---- */
.acct-menu{position:relative;display:inline-flex}
.acct-menu .icon-btn{border:0;background:transparent;cursor:pointer}
.acct-pop{position:absolute;right:0;top:calc(100% + 10px);width:min(300px,calc(100vw - 24px));background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 50px rgba(120,20,70,.18);padding:8px;z-index:1200}
.acct-pop[hidden]{display:none}
.acct-pop a{display:flex;gap:12px;align-items:center;padding:12px;border-radius:12px;color:var(--text);text-decoration:none;min-height:56px}
.acct-pop a:hover,.acct-pop a:focus-visible{background:var(--rose-tint);outline:none}
.acct-pop a>i{flex:0 0 36px;height:36px;border-radius:50%;background:var(--rose-tint);color:var(--rose);display:grid;place-items:center}
.acct-pop b{display:block;font-size:.95rem}
.acct-pop small{display:block;color:var(--muted);font-size:.78rem;margin-top:2px}

/* ============================================================
   v3.2 — bundles scroller, bundle page, hero CTA, content pages, review stars
   ============================================================ */

/* ---- Hero buttons ---- */
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 26px}
.hero-cta .btn{min-height:48px}
.btn-hero-ghost{background:rgba(255,255,255,.12);color:#fff;border:1.5px solid rgba(255,255,255,.55);backdrop-filter:blur(6px)}
.btn-hero-ghost:hover{background:#fff;color:var(--rose-deep)}
@media(max-width:480px){.hero-cta .btn{flex:1 1 100%;justify-content:center}}

/* ---- Bundles: swipe sideways, page still scrolls vertically ---- */
.bundle-row{display:flex;gap:20px;overflow-x:auto;overflow-y:hidden;padding:26px 6px 18px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;overscroll-behavior-y:auto;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:thin;scrollbar-color:var(--rose) var(--rose-tint)}
.bundle-row .bundle-card{flex:0 0 min(330px,84vw);scroll-snap-align:start;display:flex;flex-direction:column;align-items:stretch;transform:none;min-width:0}
.bundle-row .bundle-card:hover{transform:translateY(-4px)}
.bundle-row .bundle-card .btn{margin-top:auto}
/* Tag badge sits INSIDE the card flow (it used to be absolutely positioned and stuck out of the card) */
.bundle-card .bundle-tag,.bundle-detail-info .bundle-tag{position:static;transform:none;display:inline-block;align-self:center;max-width:100%;margin:0 0 14px;white-space:normal;text-align:center;overflow-wrap:anywhere}
.bundle-detail-info .bundle-tag{align-self:flex-start}
.bundle-card .b-price{margin-bottom:16px}
.bundle-card .b-price .was,.bundle-card .b-save{display:none}

/* ---- Bundle detail page ---- */
.bundle-detail{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:start}
.bundle-detail-media{min-width:0}
.bundle-detail-media>img{width:100%;height:auto;border-radius:var(--radius);display:block}
.bundle-collage{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));background:var(--rose-tint);border-radius:var(--radius);padding:12px}
.bundle-collage.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
.bundle-collage span{display:block;aspect-ratio:1/1;border-radius:16px;overflow:hidden;background:#fff}
.bundle-collage img{width:100%;height:100%;object-fit:cover;display:block}
.bundle-detail-info{display:flex;flex-direction:column;gap:16px;min-width:0}
.bundle-detail-info .b-price{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.bundle-detail-info .b-price .was,.bundle-detail-info .b-save{display:none}
.bundle-detail-info .b-for{font-size:.86rem;color:var(--muted)}
.bundle-detail-info .btn{align-self:flex-start;max-width:100%}
.bundle-about,.bundle-how{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px}
.bundle-about h2,.bundle-how h2{font-family:var(--display);font-size:1.35rem;margin:0 0 8px}
.bundle-about p{margin:0;color:#4b3d44;line-height:1.75}
.bundle-how ol{margin:0;padding-left:22px;display:grid;gap:6px}
.bundle-how a{color:var(--rose-deep);text-decoration:none}
.bundle-how a:hover{text-decoration:underline}
@media(min-width:900px){
  .bundle-detail{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:44px}
  .bundle-detail-media{position:sticky;top:96px}
}
@media(max-width:600px){.bundle-detail-info .btn{align-self:stretch;justify-content:center}}

/* ---- Content pages (guides etc.) ---- */
.kayure-page{max-width:820px;margin:0 auto;font-size:1.02rem;line-height:1.8;color:#3d3138}
.kayure-page-wide{max-width:1100px}
.kayure-page h2{font-family:var(--display);font-size:clamp(1.5rem,4vw,2rem);margin:1.6em 0 .5em;color:var(--text)}
.kayure-page h3{font-family:var(--display);font-size:1.25rem;margin:1.3em 0 .4em}
.kayure-page p{margin:0 0 1em;overflow-wrap:anywhere}
.kayure-page a{color:var(--rose-deep)}
.kayure-page ul,.kayure-page ol{padding-left:1.3em;margin:0 0 1em}
.kayure-page-cta{max-width:820px;margin:36px auto 0;text-align:center;background:var(--rose-tint);border-radius:var(--radius);padding:clamp(20px,4vw,34px)}
.kayure-page-cta h2{font-family:var(--display);margin:0 0 6px}
.kayure-page-cta p{margin:0 0 16px;color:#4b3d44}
.kayure-page-cta .btn{margin:4px}

/* ---- Review stars ---- */
.kr-rate{margin:0 0 16px}
.kr-rate-title{display:block;font-size:.9rem;font-weight:700;margin-bottom:8px}
.kr-stars-input{display:flex;gap:6px}
.kr-star{border:0;background:transparent;cursor:pointer;font-size:2.4rem;line-height:1;padding:2px 4px;color:#e6cfda;transition:transform .15s,color .15s;min-width:44px;min-height:44px}
.kr-star.on{color:#f5a623;text-shadow:0 2px 10px rgba(245,166,35,.45)}
.kr-star:hover,.kr-star:focus-visible{transform:scale(1.18);outline:none}
.kr-rate-hint{display:inline-block;margin-top:4px;font-size:.88rem;font-weight:600;color:var(--rose-deep)}
.kr-rate.kr-missing .kr-stars-input{animation:krshake .35s}
.kr-rate.kr-missing .kr-rate-hint{color:var(--red)}
@keyframes krshake{25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
.kr-reviews{background:linear-gradient(180deg,#fff,var(--rose-tint));border-radius:var(--radius);padding:clamp(16px,4vw,32px)}
.kr-sparkle{font-size:.8em}
.kr-item{box-shadow:0 8px 24px rgba(194,59,111,.06)}
.kr-form{border-style:dashed;border-color:var(--rose-soft)}
.kr-form .comment-reply-title{font-size:1.6rem}
@media(prefers-reduced-motion:reduce){.kr-star,.kr-rate.kr-missing .kr-stars-input{transition:none;animation:none}}
