/*
 * Purefit — shop.css  /assets/css/shop.css
 * Premium customer-facing extended styles
 * Extends style.css — all CSS variables inherited
 */

/* ══ SCROLL REVEAL ══════════════════════════════════════════════════════════ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.delay-1 { transition-delay: .1s; }
.animate-on-scroll.delay-2 { transition-delay: .2s; }
.animate-on-scroll.delay-3 { transition-delay: .3s; }
.animate-on-scroll.delay-4 { transition-delay: .4s; }
.animate-on-scroll.delay-5 { transition-delay: .5s; }
.animate-on-scroll.delay-6 { transition-delay: .6s; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeScaleIn {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}
@keyframes floatBlob {
  0%   { transform: translate(0, 0)     scale(1); }
  33%  { transform: translate(16px,-12px) scale(1.05); }
  66%  { transform: translate(-10px,10px) scale(.97); }
  100% { transform: translate(0, 0)     scale(1); }
}
@keyframes heroGradient {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}
@keyframes countdownFlip {
  0%   { transform: translateY(-8px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 1; }
}
@keyframes shineSweep {
  0%   { left: -80%; }
  100% { left: 160%;  }
}
@keyframes pulseRing {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(1.8); opacity: 0;  }
}
@keyframes progressFill {
  from { width: 0%; }
}

/* ══ AMBIENT BACKGROUND BLOBS ═══════════════════════════════════════════════ */
.pf-ambient {
  position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.pf-blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .12;
  animation: floatBlob 18s ease-in-out infinite;
}
.pf-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #0057FF, transparent);
  top: -150px; left: -150px; animation-delay: 0s;
}
.pf-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #00D4FF, transparent);
  bottom: -100px; right: -100px; animation-delay: -6s;
}
.pf-blob-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #7C3AED, transparent);
  top: 40%; right: 20%; animation-delay: -12s;
}

/* ══ HERO SECTION ════════════════════════════════════════════════════════════ */
.pf-hero {
  position: relative; overflow: hidden; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--bg-base);
}
.pf-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #020818 0%, #050A18 40%, #060C20 100%);
}
.pf-hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(0,87,255,.12), transparent),
              radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0,212,255,.06), transparent);
}
.pf-hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; transition: opacity .7s var(--ease-out); pointer-events: none;
}
.pf-hero-slide.active { opacity: 1; pointer-events: auto; }

.pf-hero-static { position: relative; z-index: 2; width: 100%; padding: 140px 0 100px; }

.pf-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,87,255,.12); border: 1px solid rgba(0,87,255,.3);
  border-radius: var(--radius-full); padding: 6px 18px;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #60A5FA; margin-bottom: 24px;
  animation: fadeSlideUp .7s var(--ease-out) both;
}
.pf-hero-eyebrow span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #0057FF; animation: pulseRing 1.6s infinite; }

.pf-hero-title {
  font-family: 'Syne', sans-serif; font-weight: 900; line-height: 1.05;
  letter-spacing: -.04em; margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 96px);
  animation: fadeSlideUp .7s .1s var(--ease-out) both;
}
.pf-hero-title .grad-text {
  background: linear-gradient(135deg, #60A5FA 0%, #38BDF8 40%, #06B6D4 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pf-hero-sub {
  font-size: clamp(16px, 1.8vw, 20px); color: var(--text-secondary);
  max-width: 540px; line-height: 1.7; margin-bottom: 40px;
  animation: fadeSlideUp .7s .2s var(--ease-out) both;
}
.pf-hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  animation: fadeSlideUp .7s .3s var(--ease-out) both;
}
.pf-hero-stats {
  display: flex; gap: 40px; margin-top: 56px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.07);
  animation: fadeSlideUp .7s .4s var(--ease-out) both;
}
.pf-hero-stat-num {
  font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 900;
  background: var(--grad-primary); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text; line-height: 1;
}
.pf-hero-stat-lbl { font-size: 12px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

.pf-hero-visual {
  position: relative; animation: fadeScaleIn .9s .2s var(--ease-out) both;
}
.pf-hero-img-wrap {
  position: relative; border-radius: 28px; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.07);
}
.pf-hero-img-wrap::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 60%, rgba(5,10,24,.8));
}
.pf-hero-float-badge {
  position: absolute; border-radius: var(--radius-xl);
  background: rgba(11,20,36,.9); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12); padding: 12px 16px;
  box-shadow: var(--shadow-xl); z-index: 10;
  animation: floatBlob 6s ease-in-out infinite;
}
.pf-hero-float-badge.badge-rating { bottom: -20px; left: -30px; animation-delay: -2s; }
.pf-hero-float-badge.badge-sale   { top: 20px; right: -30px; animation-delay: -4s; }

/* ══ PRODUCT CARD — PREMIUM ══════════════════════════════════════════════════ */
.pf-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out), border-color .3s;
  position: relative;
  group: true;
}
.pf-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(0,87,255,.3);
  border-color: rgba(0,87,255,.25);
}
.pf-product-card-img {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--bg-card-2);
}
.pf-product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.pf-product-card:hover .pf-product-card-img img {
  transform: scale(1.06);
}
/* Shine sweep on hover */
.pf-product-card-img::after {
  content: ''; position: absolute;
  top: -50%; left: -80%; width: 60%; height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.07) 50%, transparent 60%);
  transform: skewX(-15deg);
  animation: none; pointer-events: none;
  transition: none;
}
.pf-product-card:hover .pf-product-card-img::after {
  animation: shineSweep .6s var(--ease-out);
}

.pf-product-badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 4px; z-index: 3;
}
.pf-product-badge {
  display: inline-block; padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
}
.pf-product-badge.sale    { background: #EF4444; color: #fff; }
.pf-product-badge.new     { background: var(--grad-primary); color: #fff; }
.pf-product-badge.hot     { background: linear-gradient(135deg,#F59E0B,#EF4444); color: #fff; }
.pf-product-badge.out     { background: rgba(0,0,0,.7); color: var(--text-muted); }

.pf-product-card-actions {
  position: absolute; bottom: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 6px; z-index: 3;
  opacity: 0; transform: translateX(10px);
  transition: opacity .25s, transform .25s var(--ease-spring);
}
.pf-product-card:hover .pf-product-card-actions { opacity: 1; transform: translateX(0); }

.pf-product-card-action {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(11,20,36,.85); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12); color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: pointer; transition: all .2s;
  text-decoration: none;
}
.pf-product-card-action:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: scale(1.1); }
.pf-product-card-action.wishlisted { color: #EF4444; border-color: rgba(239,68,68,.4); }

.pf-product-card-body { padding: 16px; }
.pf-product-cat {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--primary-light); margin-bottom: 6px; display: block;
}
.pf-product-name {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px;
  color: var(--text-primary); margin-bottom: 6px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pf-product-name a { color: inherit; text-decoration: none; }
.pf-product-name a:hover { color: var(--primary-light); }

.pf-product-rating {
  display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 12px;
}
.pf-product-stars { color: #F59E0B; letter-spacing: 1px; font-size: 11px; }
.pf-product-rcount { color: var(--text-muted); }

.pf-product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.pf-product-price-current {
  font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 900;
  color: var(--text-primary);
}
.pf-product-price-original {
  font-size: 13px; color: var(--text-muted); text-decoration: line-through;
}
.pf-product-price-badge {
  font-size: 10px; font-weight: 800; color: #EF4444;
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.2);
  padding: 2px 8px; border-radius: var(--radius-full);
}
.pf-product-card-btn {
  width: 100%; height: 42px; border-radius: var(--radius-full);
  background: var(--grad-primary); color: #fff; border: none;
  font-size: 13px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: all .25s var(--ease-out);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(0,87,255,.25);
  position: relative; overflow: hidden;
}
.pf-product-card-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,87,255,.4); }
.pf-product-card-btn:active { transform: translateY(0); }
.pf-product-card-btn.out-of-stock { background: rgba(255,255,255,.07); color: var(--text-muted); box-shadow: none; cursor: not-allowed; }

/* ══ SECTION HEADER ══════════════════════════════════════════════════════════ */
.pf-section-hdr {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 36px; flex-wrap: wrap;
}
.pf-section-title {
  font-family: 'Syne', sans-serif; font-size: clamp(24px,3.5vw,40px);
  font-weight: 900; line-height: 1.1; letter-spacing: -.03em;
}
.pf-section-title .accent {
  background: var(--grad-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pf-section-subtitle {
  font-size: 15px; color: var(--text-muted); margin-top: 8px; max-width: 520px; line-height: 1.6;
}
.pf-section-view-all {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--primary-light);
  text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.pf-section-view-all:hover { border-bottom-color: var(--primary-light); }

/* ══ CATEGORY CARDS ══════════════════════════════════════════════════════════ */
.pf-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.pf-cat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px 16px;
  text-align: center; text-decoration: none;
  transition: all .3s var(--ease-spring);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.pf-cat-card:hover {
  border-color: rgba(0,87,255,.35); background: rgba(0,87,255,.06);
  transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.pf-cat-icon {
  width: 64px; height: 64px; border-radius: var(--radius-lg);
  background: var(--grad-primary); display: flex; align-items: center;
  justify-content: center; font-size: 26px; color: #fff;
  box-shadow: 0 8px 24px rgba(0,87,255,.3);
  transition: transform .3s var(--ease-spring);
}
.pf-cat-card:hover .pf-cat-icon { transform: scale(1.12) rotate(-3deg); }
.pf-cat-name {
  font-size: 13px; font-weight: 700; color: var(--text-primary); line-height: 1.3;
}
.pf-cat-count { font-size: 11px; color: var(--text-muted); }

/* ══ FLASH SALE SECTION ══════════════════════════════════════════════════════ */
.pf-flash-section {
  background: linear-gradient(135deg, #0B0F1E 0%, #0A0D1A 100%);
  border: 1px solid rgba(239,68,68,.15); border-radius: 28px;
  padding: 48px; position: relative; overflow: hidden;
}
.pf-flash-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(239,68,68,.08), transparent);
}
.pf-flash-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #EF4444; color: #fff;
  border-radius: var(--radius-full); padding: 6px 18px;
  font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px;
}
.pf-flash-badge i { animation: pulse 1.2s infinite; }

/* ══ COUNTDOWN ═══════════════════════════════════════════════════════════════ */
.pf-countdown {
  display: flex; align-items: center; gap: 8px;
}
.cd-block {
  background: var(--bg-card-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md); min-width: 56px;
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 10px; position: relative; overflow: hidden;
}
.cd-val {
  font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 900;
  color: var(--text-primary); line-height: 1; animation: countdownFlip .35s ease;
}
.cd-lbl {
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted); margin-top: 4px;
}
.cd-sep { font-size: 20px; font-weight: 900; color: var(--error); opacity: .6; animation: blink 1s infinite; }
.cd-block-sm .cd-val { font-size: 18px; }
.cd-block-sm { min-width: 44px; padding: 6px 8px; }

/* ══ SHOP PAGE LAYOUT ════════════════════════════════════════════════════════ */
.pf-shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px; align-items: start;
}
.pf-shop-sidebar {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
}
.pf-sidebar-hdr {
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-primary); display: flex; align-items: center; justify-content: space-between;
}
.pf-sidebar-section { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.pf-sidebar-section:last-child { border-bottom: none; }
.pf-sidebar-section-title {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 12px;
}
.pf-filter-check {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0; cursor: pointer; font-size: 13px; color: var(--text-secondary);
  transition: color .15s;
}
.pf-filter-check:hover { color: var(--text-primary); }
.pf-filter-check input { accent-color: var(--primary); width: 15px; height: 15px; flex-shrink: 0; }
.pf-price-range { display: flex; gap: 10px; align-items: center; }
.pf-price-range input[type=number] {
  flex: 1; height: 38px; background: var(--bg-input); border: 1px solid var(--border-md);
  border-radius: var(--radius); padding: 0 10px; color: var(--text-primary);
  font-size: 13px; font-family: inherit; outline: none; text-align: center;
}
.pf-range-slider {
  width: 100%; accent-color: var(--primary); height: 4px;
  background: var(--border-md); border-radius: 2px; cursor: pointer; margin: 8px 0;
}

/* ══ SHOP TOOLBAR ════════════════════════════════════════════════════════════ */
.pf-shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 20px; flex-wrap: wrap;
}
.pf-shop-result-count { font-size: 13px; color: var(--text-muted); }
.pf-shop-sort {
  height: 40px; background: var(--bg-card); border: 1px solid var(--border-md);
  border-radius: var(--radius); padding: 0 36px 0 14px; font-size: 13px;
  color: var(--text-primary); font-family: inherit; outline: none; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239BAACC'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
}

/* ══ PRODUCT DETAIL PAGE ═════════════════════════════════════════════════════ */
.pf-product-gallery {
  display: grid; grid-template-columns: 80px 1fr; gap: 12px;
}
.pf-gallery-thumbs {
  display: flex; flex-direction: column; gap: 8px;
}
.pf-gallery-thumb {
  width: 80px; height: 80px; border-radius: var(--radius-md);
  overflow: hidden; cursor: pointer; border: 2px solid transparent;
  transition: border-color .2s, transform .2s;
  flex-shrink: 0;
}
.pf-gallery-thumb:hover { transform: scale(1.05); }
.pf-gallery-thumb.active { border-color: var(--primary); }
.pf-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pf-gallery-main {
  border-radius: var(--radius-xl); overflow: hidden;
  background: var(--bg-card-2); aspect-ratio: 1;
  position: relative; cursor: zoom-in;
}
.pf-gallery-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s var(--ease-out);
}
.pf-gallery-main:hover img { transform: scale(1.04); }

.pf-product-detail-title {
  font-family: 'Syne', sans-serif; font-size: clamp(22px, 3vw, 36px);
  font-weight: 900; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 12px;
}
.pf-product-big-price {
  font-family: 'Syne', sans-serif; font-size: 36px; font-weight: 900;
  color: var(--text-primary);
}
.pf-product-big-original {
  font-size: 18px; color: var(--text-muted); text-decoration: line-through;
}

/* ══ CHECKOUT STEPS ══════════════════════════════════════════════════════════ */
.pf-checkout-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 40px;
}
.pf-step {
  display: flex; align-items: center; gap: 0;
}
.pf-step-num {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--border-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--text-muted);
  transition: all .3s; flex-shrink: 0;
}
.pf-step.active .pf-step-num, .pf-step.done .pf-step-num {
  background: var(--grad-primary); border-color: transparent; color: #fff;
  box-shadow: var(--shadow-primary);
}
.pf-step-label {
  margin-left: 8px; font-size: 13px; font-weight: 700; color: var(--text-muted);
  white-space: nowrap; transition: color .3s;
}
.pf-step.active .pf-step-label { color: var(--text-primary); }
.pf-step.done .pf-step-label { color: var(--success); }
.pf-step-line {
  flex: 1; min-width: 40px; max-width: 80px;
  height: 2px; background: var(--border); margin: 0 12px;
  transition: background .3s;
}
.pf-step-line.done { background: var(--primary); }

.pf-checkout-panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px;
}
.pf-checkout-panel + .pf-checkout-panel { margin-top: 20px; }

/* Payment method cards */
.pf-payment-method {
  border: 2px solid var(--border); border-radius: var(--radius-lg);
  padding: 16px 20px; cursor: pointer; transition: all .2s;
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-input);
}
.pf-payment-method:hover { border-color: rgba(0,87,255,.35); background: var(--primary-08); }
.pf-payment-method.selected { border-color: var(--primary); background: rgba(0,87,255,.06); }
.pf-payment-method-icon {
  width: 48px; height: 32px; object-fit: contain;
  border-radius: 6px; background: #fff; padding: 4px;
}
.pf-payment-method-name { font-weight: 700; font-size: 14px; }
.pf-payment-method-desc { font-size: 12px; color: var(--text-muted); }

/* Order summary sticky */
.pf-order-summary {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 24px;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.pf-order-summary-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--border); font-size: 13px;
}
.pf-order-summary-item:last-child { border-bottom: none; }
.pf-order-summary-img {
  width: 48px; height: 48px; border-radius: var(--radius);
  object-fit: cover; flex-shrink: 0; background: var(--bg-card-2);
}
.pf-order-total-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: 14px; color: var(--text-secondary);
}
.pf-order-total-row.grand {
  font-size: 18px; font-weight: 900; color: var(--text-primary);
  border-top: 1px solid var(--border-md); padding-top: 16px; margin-top: 8px;
}
.pf-order-total-row.discount { color: var(--success); }

/* Coupon input */
.pf-coupon-wrap {
  display: flex; gap: 8px; margin: 16px 0;
}
.pf-coupon-wrap input {
  flex: 1; height: 44px; background: var(--bg-input); border: 1.5px solid var(--border-md);
  border-radius: var(--radius); padding: 0 14px; color: var(--text-primary);
  font-size: 13px; font-family: inherit; outline: none; transition: border-color .2s;
  text-transform: uppercase; letter-spacing: 1px;
}
.pf-coupon-wrap input:focus { border-color: var(--primary); }
.pf-coupon-wrap button { height: 44px; padding: 0 18px; flex-shrink: 0; }

/* ══ ACCOUNT PAGES ═══════════════════════════════════════════════════════════ */
.pf-account-layout {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 28px; align-items: start;
}
.pf-account-sidebar {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.pf-account-avatar {
  padding: 28px; text-align: center; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(0,87,255,.05), transparent);
}
.pf-account-avatar-img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  border: 3px solid rgba(0,87,255,.3); margin: 0 auto 12px;
  background: var(--bg-card-2);
}
.pf-account-name { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.pf-account-email { font-size: 12px; color: var(--text-muted); }
.pf-account-nav { padding: 8px 0; }
.pf-account-nav-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 20px;
  font-size: 14px; color: var(--text-secondary); text-decoration: none;
  transition: all .2s; cursor: pointer; border: none; background: none;
  width: 100%; font-family: inherit; font-weight: 500;
}
.pf-account-nav-item:hover { background: var(--bg-hover); color: var(--text-primary); }
.pf-account-nav-item.active {
  background: var(--primary-08); color: var(--primary-light);
  border-right: 2px solid var(--primary);
}
.pf-account-nav-item i { width: 18px; text-align: center; font-size: 14px; }

/* ══ AUTH PAGES ══════════════════════════════════════════════════════════════ */
.pf-auth-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 80px 20px;
  background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(0,87,255,.07), transparent);
}
.pf-auth-card {
  width: 100%; max-width: 440px;
  background: var(--bg-card); border: 1px solid var(--border-md);
  border-radius: var(--radius-2xl); padding: 40px;
  box-shadow: var(--shadow-xl);
  animation: fadeScaleIn .5s var(--ease-spring) both;
}
.pf-auth-logo {
  text-align: center; margin-bottom: 28px;
}
.pf-auth-title { font-size: 26px; font-weight: 900; margin-bottom: 6px; text-align: center; }
.pf-auth-sub { font-size: 14px; color: var(--text-muted); text-align: center; margin-bottom: 28px; }

/* ══ BLOG GRID ═══════════════════════════════════════════════════════════════ */
.pf-blog-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.pf-blog-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .3s;
}
.pf-blog-card:hover {
  transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,.4);
  border-color: rgba(0,87,255,.2);
}
.pf-blog-card-img {
  aspect-ratio: 16/9; overflow: hidden; background: var(--bg-card-2);
}
.pf-blog-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.pf-blog-card:hover .pf-blog-card-img img { transform: scale(1.06); }
.pf-blog-card-body { padding: 20px; }
.pf-blog-cat-tag {
  display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--primary-light); margin-bottom: 8px;
}
.pf-blog-card-title {
  font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 800;
  color: var(--text-primary); line-height: 1.3; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pf-blog-card-title a { color: inherit; text-decoration: none; }
.pf-blog-card-title a:hover { color: var(--primary-light); }
.pf-blog-card-meta {
  display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--text-muted);
}

/* ══ FAQ ACCORDION ═══════════════════════════════════════════════════════════ */
.pf-faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 10px;
  transition: border-color .2s;
}
.pf-faq-item.open { border-color: rgba(0,87,255,.25); }
.pf-faq-question {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px; cursor: pointer;
  font-weight: 700; font-size: 15px; color: var(--text-primary);
  background: none; border: none; width: 100%; text-align: left;
  font-family: inherit; transition: color .2s;
}
.pf-faq-question:hover { color: var(--primary-light); }
.pf-faq-icon {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-md);
  display: flex; align-items: center; justify-content: center; font-size: 12px;
  flex-shrink: 0; transition: all .3s var(--ease-spring); color: var(--text-muted);
}
.pf-faq-item.open .pf-faq-icon {
  background: var(--primary); border-color: var(--primary); color: #fff; transform: rotate(45deg);
}
.pf-faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out), padding .3s;
  font-size: 14px; color: var(--text-secondary); line-height: 1.75;
  padding: 0 22px;
}
.pf-faq-item.open .pf-faq-answer { max-height: 500px; padding: 0 22px 18px; }

/* ══ ORDER STATUS BADGES ══════════════════════════════════════════════════════ */
.order-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}
.status-pending    { background: var(--warning-bg);  color: var(--warning);  border: 1px solid rgba(245,158,11,.2); }
.status-processing { background: var(--info-bg);     color: var(--info);     border: 1px solid rgba(59,130,246,.2); }
.status-shipped    { background: rgba(139,92,246,.1); color: #a78bfa;        border: 1px solid rgba(139,92,246,.2); }
.status-delivered  { background: var(--success-bg);  color: var(--success);  border: 1px solid rgba(16,185,129,.2); }
.status-cancelled  { background: var(--error-bg);    color: var(--error);    border: 1px solid rgba(239,68,68,.2); }

/* ══ CONTACT PAGE ════════════════════════════════════════════════════════════ */
.pf-contact-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px;
  text-align: center; transition: all .3s var(--ease-spring);
}
.pf-contact-card:hover { border-color: rgba(0,87,255,.25); transform: translateY(-4px); }
.pf-contact-icon {
  width: 60px; height: 60px; border-radius: var(--radius-lg);
  background: var(--primary-08); border: 1px solid var(--primary-15);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--primary-light); margin: 0 auto 16px;
}

/* ══ WHY US / FEATURES ═══════════════════════════════════════════════════════ */
.pf-feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px; text-align: center;
  transition: all .35s var(--ease-spring);
  position: relative; overflow: hidden;
}
.pf-feature-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-primary); opacity: 0; transition: opacity .3s;
}
.pf-feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.3); border-color: rgba(0,87,255,.2); }
.pf-feature-card:hover::before { opacity: 1; }
.pf-feature-icon {
  width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 20px;
  background: var(--grad-primary); display: flex; align-items: center;
  justify-content: center; font-size: 28px; color: #fff;
  box-shadow: 0 12px 32px rgba(0,87,255,.3);
  transition: transform .3s var(--ease-spring);
}
.pf-feature-card:hover .pf-feature-icon { transform: scale(1.1) rotate(-5deg); }
.pf-feature-title { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.pf-feature-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ══ TESTIMONIALS ════════════════════════════════════════════════════════════ */
.pf-testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px;
  transition: all .3s var(--ease-spring);
}
.pf-testimonial-card:hover { border-color: rgba(0,87,255,.2); transform: translateY(-4px); }
.pf-testimonial-stars { color: #F59E0B; font-size: 14px; margin-bottom: 12px; }
.pf-testimonial-text { font-size: 14px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.pf-testimonial-author { display: flex; align-items: center; gap: 12px; }
.pf-testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  background: var(--bg-card-2); border: 2px solid rgba(0,87,255,.2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--primary-light);
}
.pf-testimonial-name { font-weight: 800; font-size: 14px; }
.pf-testimonial-product { font-size: 12px; color: var(--text-muted); }

/* ══ BRANDS STRIP ════════════════════════════════════════════════════════════ */
.pf-brands-strip {
  overflow: hidden; position: relative;
}
.pf-brands-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 30s linear infinite;
}
.pf-brands-strip:hover .pf-brands-track { animation-play-state: paused; }
.pf-brand-logo {
  height: 40px; filter: grayscale(1) opacity(.4);
  transition: filter .3s;
  flex-shrink: 0;
}
.pf-brand-logo:hover { filter: none; }

/* ══ WISHLIST PAGE ═══════════════════════════════════════════════════════════ */
.pf-wishlist-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px;
}

/* ══ ORDER SUCCESS ═══════════════════════════════════════════════════════════ */
.pf-order-success-icon {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 24px;
  background: var(--success-bg); border: 3px solid var(--success);
  display: flex; align-items: center; justify-content: center; font-size: 36px;
  color: var(--success); animation: popIn .5s var(--ease-spring) both;
}

/* ══ TRACK ORDER ═════════════════════════════════════════════════════════════ */
.pf-track-timeline {
  display: flex; flex-direction: column; gap: 0; padding-left: 16px;
  border-left: 2px solid var(--border);
}
.pf-track-step {
  position: relative; padding: 0 0 24px 28px;
}
.pf-track-step::before {
  content: ''; position: absolute; left: -8px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--border-md);
  transition: all .3s;
}
.pf-track-step.done::before { background: var(--success); border-color: var(--success); }
.pf-track-step.active::before { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,87,255,.15); }

/* ══ SKELETON LOADING ════════════════════════════════════════════════════════ */
.pf-skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-2) 50%, var(--bg-card) 75%);
  background-size: 400px 100%; animation: shimmer 1.4s infinite;
  border-radius: var(--radius);
}
.pf-skeleton-card {
  border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border);
}
.pf-skeleton-img { aspect-ratio: 4/3; background: var(--bg-card-2); }
.pf-skeleton-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pf-skeleton-line { height: 12px; border-radius: 6px; }
.pf-skeleton-line.sm  { width: 60%; }
.pf-skeleton-line.md  { width: 80%; }
.pf-skeleton-line.full{ width: 100%; }

/* ══ BACK TO TOP REFINED ═════════════════════════════════════════════════════ */
#back-to-top {
  right: 24px; left: auto;
  backdrop-filter: blur(12px);
}

/* ══ RESPONSIVE ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pf-shop-layout { grid-template-columns: 1fr; }
  .pf-shop-sidebar { position: static; }
  .pf-account-layout { grid-template-columns: 1fr; }
  .pf-account-sidebar { position: static; }
  .pf-product-gallery { grid-template-columns: 60px 1fr; }
  .pf-gallery-thumb { width: 60px; height: 60px; }
  .pf-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pf-hero-static { padding: 120px 0 80px; }
  .pf-hero-stats { gap: 24px; flex-wrap: wrap; }
  .pf-flash-section { padding: 28px 20px; }
  .pf-cat-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .pf-blog-grid { grid-template-columns: 1fr; }
  .pf-checkout-steps .pf-step-label { display: none; }
  .pf-checkout-panel { padding: 20px; }
  .pf-auth-card { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .pf-product-gallery { grid-template-columns: 1fr; }
  .pf-gallery-thumbs { flex-direction: row; }
  .pf-gallery-thumb { width: 60px; height: 60px; }
  .pf-hero-actions { flex-direction: column; align-items: flex-start; }
}
