/*
 * MediRoyal Delivery & Refund — Core (Plum/Sage)
 * Scoped: .log-delivery-refund-page
 * File 1/3 — Tokens, reveal, icon, hero, feature strip
 */

/* ── 1. TOKENS ── */
.log-delivery-refund-page{--plum-950:#2d0a35;--plum-900:#430f4a;--plum-800:#5c1760;--plum-700:#7a1f6e;--plum-600:#9b2f8a;--plum-500:#b8377f;--sage-700:#0c8f5e;--sage-600:#12b377;--sage-500:#1ddb95;--sage-400:#5eeec0;--paper:#f7f1ec;--paper-50:#fdfaf7;--blush-100:#f9e3f1;--ink-900:#241620;--ink-700:#4a3645;--gray-600:#7d6e79;--gray-400:#b6a8b2;--line:#e8dfe1;--white:#fff;--shadow-sm:0 2px 14px rgba(31,14,28,.07);--shadow-md:0 16px 36px rgba(31,14,28,.12);--shadow-lg:0 28px 64px rgba(31,14,28,.24);--r-sm:10px;--r-md:18px;--r-lg:28px;--r-pill:999px;--display:'Cormorant Garamond',Georgia,serif;--body:'Manrope',-apple-system,sans-serif;--ease:cubic-bezier(.22,.61,.36,1)}

/* ── 2. REVEAL ANIMATIONS ── */
.log-delivery-refund-page .reveal{opacity:0;transform:translateY(26px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.log-delivery-refund-page .reveal.in{opacity:1;transform:translateY(0)}
.log-delivery-refund-page .reveal-fade{opacity:0;transition:opacity .8s var(--ease)}
.log-delivery-refund-page .reveal-fade.in{opacity:1}

/* ── 3. ICON SPRITE ── */
.log-delivery-refund-page .icon{width:1em;height:1em;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}

/* ── 4. HERO ── */
.log-delivery-refund-page .hero-section{position:relative;background:linear-gradient(135deg,#fdfaf7 0%,#f4ede8 50%,#efe6f0 100%);overflow:hidden;min-height:380px;display:flex;flex-direction:column;align-items:center}
@keyframes heroIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.log-delivery-refund-page .hero-blob{position:absolute;border-radius:50%;pointer-events:none}
.log-delivery-refund-page .hero-blob-a{width:520px;height:520px;background:rgba(29,219,149,.12);filter:blur(100px);top:-120px;left:-80px}
.log-delivery-refund-page .hero-blob-b{width:380px;height:380px;background:rgba(122,31,110,.07);filter:blur(90px);bottom:-60px;right:0%}
.log-delivery-refund-page .hero-body{position:relative;z-index:4;display:flex;justify-content:center;flex:1;max-width:1220px;width:100%;margin:0 auto;padding:28px 24px 56px}
.log-delivery-refund-page .hero-text{padding-top:12px;max-width:720px;width:100%;text-align:center}
.log-delivery-refund-page .hero-kicker{display:inline-flex;align-items:center;gap:9px;font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:var(--sage-600);margin-bottom:18px;justify-content:center}
.log-delivery-refund-page .hero-kicker::before{content:'';width:18px;height:2px;background:var(--sage-600)}
.log-delivery-refund-page .hero-text h1{font-family:var(--display);font-weight:700;font-size:clamp(36px,5vw,64px);line-height:1.08;letter-spacing:-.02em;color:var(--ink-900)}
.log-delivery-refund-page .hero-text h1 em{font-style:italic;color:var(--plum-700)}
.log-delivery-refund-page .hero-text p{font-size:15px;line-height:1.74;color:var(--gray-600);max-width:520px;margin:16px auto 0}
.log-delivery-refund-page .hero-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px;justify-content:center}
.log-delivery-refund-page .h-chip{display:inline-flex;align-items:center;gap:6px;background:var(--white);border:1.5px solid var(--line);border-radius:var(--r-pill);padding:7px 14px;font-size:12px;font-weight:700;color:var(--ink-700);box-shadow:var(--shadow-sm)}
.log-delivery-refund-page .h-chip .icon{width:12px;height:12px;color:var(--sage-600)}
.log-delivery-refund-page .hero-btns{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px;justify-content:center}
.log-delivery-refund-page .hbtn-primary{display:inline-flex;align-items:center;gap:9px;background:linear-gradient(135deg,var(--plum-700),var(--plum-800));color:#fff;font-weight:700;font-size:13.5px;padding:14px 26px;border-radius:var(--r-pill);transition:all .25s var(--ease)}
.log-delivery-refund-page .hbtn-primary:hover{background:linear-gradient(135deg,var(--plum-600),var(--plum-700));transform:translateY(-2px);box-shadow:0 12px 28px rgba(122,31,110,.35)}
.log-delivery-refund-page .hbtn-primary .icon{width:15px;height:15px}

/* ── 5. FEATURE STRIP (3D Flip Cards) ── */
.log-delivery-refund-page .feature-strip{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--plum-950) 0%,#3a0d44 55%,var(--plum-800) 100%);padding:60px 24px 68px}
.log-delivery-refund-page .feature-strip::before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 55% 80% at 5% 50%,rgba(29,219,149,.1) 0%,transparent 65%),radial-gradient(ellipse 45% 60% at 95% 20%,rgba(122,31,110,.25) 0%,transparent 55%),radial-gradient(ellipse 30% 40% at 50% 110%,rgba(29,219,149,.06) 0%,transparent 60%)}
@keyframes shimmerSlide{0%{left:-60%}100%{left:160%}}
.log-delivery-refund-page .feature-strip::after{content:'';position:absolute;top:0;left:-60%;width:50%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.04),transparent);animation:shimmerSlide 6s ease-in-out infinite;pointer-events:none}
@keyframes floatDot{0%,100%{transform:translateY(0) scale(1);opacity:.5}50%{transform:translateY(-18px) scale(1.2);opacity:1}}
.log-delivery-refund-page .fstrip-dot{position:absolute;border-radius:50%;pointer-events:none}
.log-delivery-refund-page .fstrip-dot-1{width:6px;height:6px;background:var(--sage-400);top:18%;left:12%;animation:floatDot 4s ease-in-out infinite}
.log-delivery-refund-page .fstrip-dot-2{width:4px;height:4px;background:var(--sage-500);top:65%;left:24%;animation:floatDot 5.5s ease-in-out .8s infinite}
.log-delivery-refund-page .fstrip-dot-3{width:5px;height:5px;background:rgba(255,255,255,.3);top:30%;right:18%;animation:floatDot 4.8s ease-in-out .4s infinite}
.log-delivery-refund-page .fstrip-dot-4{width:3px;height:3px;background:var(--sage-400);top:72%;right:10%;animation:floatDot 6s ease-in-out 1.2s infinite}
.log-delivery-refund-page .fstrip-dot-5{width:7px;height:7px;background:rgba(122,31,110,.6);top:20%;left:50%;animation:floatDot 5s ease-in-out .6s infinite}
.log-delivery-refund-page .feature-strip-inner{max-width:1220px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;position:relative;z-index:1}
.log-delivery-refund-page .fstrip-item{perspective:900px;height:220px;cursor:pointer}
.log-delivery-refund-page .fstrip-flipper{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .65s cubic-bezier(.4,.2,.2,1)}
.log-delivery-refund-page .fstrip-item:hover .fstrip-flipper{transform:rotateY(180deg)}
.log-delivery-refund-page .fstrip-front,.log-delivery-refund-page .fstrip-back{position:absolute;inset:0;border-radius:20px;backface-visibility:hidden;-webkit-backface-visibility:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:28px 20px;text-align:center;border:1px solid rgba(255,255,255,.1)}
.log-delivery-refund-page .fstrip-front{background:rgba(255,255,255,.04);backdrop-filter:blur(8px)}
@keyframes entryPop{from{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
.log-delivery-refund-page .fstrip-item.visible .fstrip-front{animation:entryPop .6s var(--ease) both}
.log-delivery-refund-page .fstrip-item:nth-child(1).visible .fstrip-front{animation-delay:.05s}
.log-delivery-refund-page .fstrip-item:nth-child(2).visible .fstrip-front{animation-delay:.15s}
.log-delivery-refund-page .fstrip-item:nth-child(3).visible .fstrip-front{animation-delay:.25s}
.log-delivery-refund-page .fstrip-item:nth-child(4).visible .fstrip-front{animation-delay:.35s}
.log-delivery-refund-page .fstrip-back{background:linear-gradient(145deg,rgba(29,219,149,.18),rgba(29,219,149,.05));border-color:rgba(29,219,149,.35);transform:rotateY(180deg)}
@keyframes pulseRing{0%,100%{box-shadow:0 0 0 0 rgba(29,219,149,.35)}50%{box-shadow:0 0 0 10px rgba(29,219,149,0)}}
.log-delivery-refund-page .fstrip-icon-wrap{position:relative;width:64px;height:64px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.log-delivery-refund-page .fstrip-icon-ring{position:absolute;inset:0;border-radius:50%;background:rgba(29,219,149,.1);border:1.5px solid rgba(29,219,149,.25);transition:all .4s var(--ease)}
.log-delivery-refund-page .fstrip-item:hover .fstrip-icon-ring{animation:pulseRing 1.6s ease-in-out infinite;background:rgba(29,219,149,.2);border-color:rgba(29,219,149,.55)}
.log-delivery-refund-page .fstrip-icon-svg{position:relative;z-index:1;width:26px;height:26px;stroke:var(--sage-400);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.log-delivery-refund-page .fstrip-value{font-family:var(--display);font-size:clamp(32px,4vw,46px);font-weight:700;color:var(--white);line-height:1;letter-spacing:-.02em}
.log-delivery-refund-page .fstrip-value em{font-style:normal;color:var(--sage-400)}
.log-delivery-refund-page .fstrip-label{font-size:11.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.55);line-height:1.4}
.log-delivery-refund-page .fstrip-sub{font-size:10.5px;color:rgba(255,255,255,.25)}
.log-delivery-refund-page .fstrip-back-icon{width:48px;height:48px;border-radius:14px;background:rgba(29,219,149,.15);border:1px solid rgba(29,219,149,.3);display:flex;align-items:center;justify-content:center}
.log-delivery-refund-page .fstrip-back-icon svg{width:22px;height:22px;stroke:var(--sage-400);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.log-delivery-refund-page .fstrip-back-title{font-family:var(--display);font-size:22px;font-weight:700;color:var(--white);line-height:1.1}
.log-delivery-refund-page .fstrip-back-body{font-size:12.5px;color:rgba(255,255,255,.65);line-height:1.65}
.log-delivery-refund-page .fstrip-back-tag{display:inline-flex;align-items:center;gap:5px;background:rgba(29,219,149,.15);border:1px solid rgba(29,219,149,.3);border-radius:var(--r-pill);padding:4px 12px;font-size:10.5px;font-weight:800;color:var(--sage-400);letter-spacing:.05em;text-transform:uppercase}
.log-delivery-refund-page .fstrip-hint{position:absolute;bottom:12px;right:14px;font-size:9.5px;font-weight:700;color:rgba(255,255,255,.2);letter-spacing:.06em;text-transform:uppercase;display:flex;align-items:center;gap:4px;transition:color .3s}
.log-delivery-refund-page .fstrip-item:hover .fstrip-hint{color:rgba(255,255,255,0)}
.log-delivery-refund-page .fstrip-hint svg{width:10px;height:10px;stroke:currentColor;fill:none;stroke-width:2}

/* Feature strip grid — matches delivery_refund_2.html reference breakpoints. */
@media(max-width:1080px){
.log-delivery-refund-page .feature-strip{padding:44px 24px 52px}
.log-delivery-refund-page .feature-strip-inner{grid-template-columns:repeat(2,1fr);gap:16px}
.log-delivery-refund-page .fstrip-item{height:200px}
}
@media(max-width:600px){
.log-delivery-refund-page .feature-strip{padding:32px 14px 40px}
.log-delivery-refund-page .feature-strip-inner{grid-template-columns:1fr 1fr;gap:12px}
.log-delivery-refund-page .fstrip-item{height:180px}
.log-delivery-refund-page .fstrip-front,.log-delivery-refund-page .fstrip-back{padding:20px 12px;gap:10px}
.log-delivery-refund-page .fstrip-value{font-size:clamp(24px,6vw,34px)}
.log-delivery-refund-page .fstrip-dot{display:none}
}
@media(max-width:400px){
.log-delivery-refund-page .feature-strip-inner{grid-template-columns:1fr}
.log-delivery-refund-page .fstrip-item{height:160px}
}

/* Touch devices fake :hover on tap, flipping the card to its back face
   mid-scroll with no way to flip it back — disable the 3D flip there. */
@media (hover:none), (max-width:760px) {
.log-delivery-refund-page .fstrip-item{cursor:default}
.log-delivery-refund-page .fstrip-item:hover .fstrip-flipper{transform:none}
.log-delivery-refund-page .fstrip-item:hover .fstrip-icon-ring{animation:none;background:rgba(29,219,149,.1);border-color:rgba(29,219,149,.25)}
.log-delivery-refund-page .fstrip-item:hover .fstrip-hint{color:rgba(255,255,255,.2)}
.log-delivery-refund-page .fstrip-hint{display:none}
}
