/* ==========================================================================
   FAST PRINTS — Yellow-Dominant Premium Brand Design System
   COLOR PRIORITY: #C9A000 (60-70%) > #111111 (20-25%) > #FFFFFF (10-15%)
   ========================================================================== */

:root {
    /* ── FAST PRINTS Core Palette ── */
    --fp-yellow:        #C9A000;
    --fp-yellow-dark:   #A07E00;
    --fp-yellow-deeper: #7A5F00;
    --fp-yellow-light:  #E8BB00;
    --fp-yellow-pale:   #FFF4CC;
    --fp-yellow-ultra:  #FFFBE6;
    --fp-black:         #111111;
    --fp-black-soft:    #1C1C1C;
    --fp-black-mid:     #2A2A2A;
    --fp-black-muted:   #3D3D3D;
    --fp-white:         #FFFFFF;

    /* Semantic aliases */
    --primary-color:    #C9A000;
    --primary-dark:     #A07E00;
    --primary-light:    #E8BB00;
    --accent-green:     #C9A000;
    --accent-green-hover: #A07E00;
    --success-green:    #16a34a;
    --danger-red:       #dc2626;
    --warning-amber:    #C9A000;

    /* Surfaces */
    --bg-main:          #FFF8DC;    /* warm yellow-tinted page bg */
    --bg-ice:           #FFF8DC;
    --bg-section-alt:   #FFF4CC;
    --card-bg:          #ffffff;
    --card-border:      #E8C840;
    --card-border-hover:#A07E00;
    --text-main:        #111111;
    --text-muted:       #4A3800;
    --text-light:       #7A6200;

    /* Badges */
    --badge-popular:     #111111;
    --badge-recommended: #111111;
    --badge-new:         #111111;
    --badge-express:     #111111;

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-sm: 0 2px 10px rgba(201,160,0,0.10);
    --shadow-md: 0 8px 28px -6px rgba(0,0,0,0.14);
    --shadow-lg: 0 20px 50px -12px rgba(0,0,0,0.18);
    --shadow-yellow: 0 6px 24px rgba(201,160,0,0.35);

    /* Radii */
    --radius-sm:   6px;
    --radius-md:   10px;
    --radius-lg:   16px;
    --radius-full: 9999px;

    /* Fonts */
    --font-body:    'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* ── Reset ── */
* { margin:0; padding:0; box-sizing:border-box; -webkit-font-smoothing:antialiased; }

body {
    font-family: var(--font-body);
    color: var(--fp-black);
    background: var(--bg-main);
    line-height: 1.6;
    overflow-x: clip;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    color: var(--fp-black);
}

a { color:inherit; text-decoration:none; transition:all 0.2s ease; }
img { max-width:100%; height:auto; display:block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ══════════════════════════════════════════
   TOP ANNOUNCEMENT STRIP — White / Clean
   ══════════════════════════════════════════ */
.top-bar {
    background: #ffffff;
    color: #111111;
    font-size: 0.80rem;
    padding: 8px 0;
    border-bottom: 1px solid #e5e5e5;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.express-banner-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    letter-spacing: 0.1px;
    color: #111111;
}

.express-banner-text b { color: #111111; font-weight: 800; }

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--fp-yellow-dark);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%   { transform:scale(0.95); box-shadow:0 0 0 0 rgba(160,126,0,0.60); }
    70%  { transform:scale(1);    box-shadow:0 0 0 6px rgba(160,126,0,0); }
    100% { transform:scale(0.95); box-shadow:0 0 0 0 rgba(160,126,0,0); }
}

.top-nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.top-nav-links a {
    color: #444444;
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.1px;
    transition: color 0.18s;
}

.top-nav-links a:hover { color: #111111; }

.btn-b2b-pill {
    background: #111111;
    color: #ffffff !important;
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.2px;
    transition: all 0.18s;
    border: 1px solid #111111;
}

.btn-b2b-pill:hover {
    background: #2A2A2A;
    border-color: #2A2A2A;
    transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   MAIN HEADER — White Clean Background
   ══════════════════════════════════════════ */
.main-header {
    background: #ffffff;
    border: none;
    border-bottom: 2px solid #FFD400;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 28px;
}

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--fp-black);
    white-space: nowrap;
    text-decoration: none;
}

.brand-logo .fp-wordmark { display:flex; flex-direction:column; line-height:1.1; }
.brand-logo .fp-main { font-size:1.35rem; font-weight:900; letter-spacing:0.5px; color:var(--fp-black); }
.brand-logo .fp-tag  { font-size:0.52rem; font-weight:700; letter-spacing:0.8px; color:var(--fp-black-muted); text-transform:uppercase; }

/* Search */
.search-box-container { flex:1; max-width:560px; position:relative; }

.search-input {
    width: 100%;
    padding: 11px 48px 11px 18px;
    border: 1.5px solid #E5E7EB;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-family: var(--font-body);
    outline: none;
    background: #F9FAFB;
    color: var(--fp-black);
    transition: all 0.22s ease;
}

.search-input::placeholder { color: #888888; }

.search-input:focus {
    border-color: var(--fp-yellow);
    box-shadow: 0 0 0 3px rgba(201,160,0,0.18);
    background: #ffffff;
}

.search-btn {
    position: absolute;
    right: 5px; top: 50%;
    transform: translateY(-50%);
    background: var(--fp-black);
    border: none;
    color: var(--fp-yellow);
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.search-btn:hover { background: var(--fp-yellow); color: var(--fp-black); }

.autocomplete-dropdown {
    position: absolute;
    top: 110%; left: 0; right: 0;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--fp-yellow);
    display: none;
    z-index: 1500;
    overflow: hidden;
}

.autocomplete-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--fp-yellow-pale);
    cursor: pointer;
    transition: background 0.15s;
}

.autocomplete-item:hover { background: var(--fp-yellow-pale); }

/* ── Header Actions ─────────────────────────────────────────── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;   /* never let this section collapse */
}

.header-action-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--fp-black);
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.header-action-link:hover { color: var(--fp-yellow-dark); opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   CART ICON — Clean isolated structure, no conflicts
   ─────────────────────────────────────────────────────────────
   Structure:
     div.fp-cart-wrap   ← position:relative anchor (badge lives here)
       a.fp-cart-btn    ← clickable icon area
         svg            ← the cart icon
       span.fp-cart-count ← badge, position:absolute relative to wrap
   ═══════════════════════════════════════════════════════════════ */

/* 1. Outer wrapper — the ONLY position:relative element for the badge */
.fp-cart-wrap {
    position: relative;         /* badge is anchored here */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;             /* never squish inside .header-actions */
    width: 40px;                /* fixed width: badge never shifts icon */
    height: 40px;               /* fixed height: stable vertical alignment */
    overflow: visible;          /* CRITICAL: badge must be allowed outside */
}

/* 2. The clickable button — centers the SVG icon */
.fp-cart-btn {
    position: relative;         /* not needed for badge, but safe */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--fp-black);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
    border-radius: 6px;
    /* Expand clickable area to full 40px tap target via parent */
}

.fp-cart-btn:hover,
.fp-cart-wrap:hover .fp-cart-btn { color: var(--fp-yellow-dark); }

/* 3. Cart count badge — absolute, anchored to fp-cart-wrap top-right */
.fp-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;

    /* Centering */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Pill sizing — expands for multi-digit counts */
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    box-sizing: border-box;

    /* Style */
    background: var(--fp-black);
    color: var(--fp-yellow);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;        /* 999 never wraps */
    border: 2px solid #ffffff;
    z-index: 10;
    pointer-events: none;       /* clicks pass through to the <a> */
}

/* Hide badge when count is 0 (PHP renders empty string; JS sets data-count=0) */
.fp-cart-count[data-count="0"],
.fp-cart-count:empty { display: none; }

/* Old classes kept as no-ops so nothing else breaks if referenced elsewhere */
.cart-icon-wrapper { position: relative; }
.cart-badge { display: none; }

/* ══════════════════════════════════════════
   NAVIGATION BAR — Yellow with Black Text
   ══════════════════════════════════════════ */
.nav-menu-bar {
    background: var(--fp-yellow);
    border: none;
    border-bottom: none;
    position: relative;
    z-index: 1000;
}

.nav-menu-bar .container { position:relative; }

.nav-links-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2px;
}

.nav-item { position:static; }

.nav-link {
    display: inline-block;
    padding: 13px 15px;
    font-weight: 700;
    font-size: 0.86rem;
    color: rgba(17,17,17,0.80);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.18s;
    white-space: nowrap;
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
    color: var(--fp-black);
    background: rgba(17,17,17,0.08);
    border-bottom-color: var(--fp-black);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    width: 100%;
    background: var(--fp-yellow-pale) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.14);
    border: 1px solid var(--fp-yellow-dark);
    border-top: 3px solid var(--fp-black);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 32px 40px;
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px;
    z-index: 2500;
}

.nav-item.has-mega:hover .mega-menu {
    display: grid;
    animation: slideDownFade 0.20s ease;
}

@keyframes slideDownFade {
    from { opacity:0; transform:translateY(8px); }
    to   { opacity:1; transform:translateY(0); }
}

.mega-column h4 {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--fp-black);
    margin-bottom: 12px;
    border-bottom: 2px solid var(--fp-yellow-dark);
    padding-bottom: 7px;
}

.mega-column h4 a { color:var(--fp-black); display:flex; align-items:center; justify-content:space-between; width:100%; transition:all 0.18s; }
.mega-column h4 a:hover { color:var(--fp-yellow-deeper); transform:translateX(2px); }

.mega-column ul { list-style:none; }
.mega-column li { margin-bottom:8px; }
.mega-column li a { color:var(--fp-black-muted); font-size:0.84rem; font-weight:500; display:flex; align-items:center; justify-content:space-between; transition:all 0.18s; }
.mega-column li a:hover { color:var(--fp-black); transform:translateX(3px); font-weight:600; }

/* ══════════════════════════════════════════
   BADGES
   ══════════════════════════════════════════ */
.badge-pill {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.badge-popular     { background:var(--fp-black); color:var(--fp-yellow); }
.badge-recommended { background:var(--fp-black); color:var(--fp-yellow); }
.badge-new         { background:var(--fp-black); color:var(--fp-yellow); }
.badge-express     { background:var(--fp-black); color:var(--fp-yellow); }

/* ══════════════════════════════════════════
   HERO SECTION — Real Human Video Background
   ══════════════════════════════════════════ */
/* ══════════════════════════════════════════
   HERO SECTION — High-Clarity Full Background Video
   Video: Full-bleed background across entire hero
   Content: Firmly set on the Left Side
   ══════════════════════════════════════════ */
.hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    min-height: 540px;
    display: flex;
    align-items: center;
    padding: 60px 0 50px;
    border-bottom: 4px solid var(--fp-yellow-dark);
}

/* Full-Bleed HD Background Video */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: 75% center;
    z-index: 0;
    filter: none;
    transition: opacity 0.4s ease;
}

/* Crystal-Clear Sleek Dark Gradient: High contrast for left text, completely clear on right */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to right, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.80) 38%, rgba(10, 10, 10, 0.22) 64%, transparent 80%),
        linear-gradient(to top, rgba(10, 10, 10, 0.50) 0%, transparent 35%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Hero Content Block — Set firmly on the Left Side */
.hero-text-block {
    max-width: 580px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(17, 17, 17, 0.90);
    border: 1px solid rgba(201, 160, 0, 0.5);
    color: var(--fp-yellow);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.80rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fp-yellow);
    box-shadow: 0 0 10px var(--fp-yellow);
    animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    font-family: var(--font-heading);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
    text-align: left;
}

.hero-title-highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ffae00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.90);
    margin-bottom: 26px;
    line-height: 1.62;
    font-weight: 500;
    max-width: 540px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
    text-align: left;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    justify-content: flex-start;
}

.hero-actions .btn-primary {
    background: var(--fp-yellow);
    color: #111111;
    font-weight: 800;
    padding: 13px 26px;
    font-size: 0.98rem;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 20px rgba(201, 160, 0, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.hero-actions .btn-primary:hover {
    background: #e0b400;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(201, 160, 0, 0.55);
}

.hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    font-weight: 700;
    padding: 13px 26px;
    font-size: 0.98rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: all 0.25s ease;
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.hero-stat-card {
    background: rgba(17, 17, 17, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 12px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(201, 160, 0, 0.35);
}

.hero-stat-card .stat-number {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--fp-yellow);
}

.hero-stat-card .stat-label {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 3px;
    font-weight: 600;
    white-space: nowrap;
}

/* Video Scene Switcher & Playback Controls Pill Group */
.hero-video-controls {
    position: absolute;
    bottom: 24px;
    right: 2rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(17, 17, 17, 0.88);
    border: 1px solid rgba(201, 160, 0, 0.4);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.hero-scene-btn, .hero-video-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.88);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.hero-scene-btn:hover, .hero-video-toggle:hover {
    background: rgba(201, 160, 0, 0.25);
    border-color: var(--fp-yellow);
    color: var(--fp-yellow);
}

.hero-scene-btn.active {
    background: var(--fp-yellow);
    color: #111111;
    font-weight: 800;
    border-color: #ffffff;
    box-shadow: 0 4px 14px rgba(201, 160, 0, 0.4);
}

/* ══════════════════════════════════════════════════════════
   "WHAT WE PRINT" 3D RUNNING SERVICE SHOWCASE
   Visiting Card Inspired: Alternating Black & White 3D Ribbon
   Colors: #C9A000 (Yellow) • #111111 (Black) • #FFFFFF (White)
   ══════════════════════════════════════════════════════════ */
.services-showcase-section {
    background: var(--fp-yellow);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(17, 17, 17, 0.08) 0%, transparent 40%);
    padding: 64px 0 74px;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--fp-yellow-dark);
}

.services-showcase-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 44px;
    position: relative;
    z-index: 2;
}

/* ══════════════════════════════════════════
   HEADER SERVICES TICKER — 3D Animation Strip Below Nav
   ══════════════════════════════════════════ */
.header-services-ticker {
    background: var(--fp-yellow);
    border: none;
    border-bottom: 2px solid var(--fp-yellow-dark);
    position: relative;
    z-index: 10;
    overflow: hidden;
    margin-bottom: 0;
}

/* 3D Viewport with Perspective & Seamless Edge Masks */
.services-marquee-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0 8px;
    perspective: 1200px;
    -webkit-perspective: 1200px;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.services-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    animation: marquee3DStream 36s linear infinite;
    transform-style: preserve-3d;
}

.services-marquee-viewport:hover .services-marquee-track {
    animation-play-state: paused;
}

@keyframes marquee3DStream {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Diagonal Ribbon Group Container */
.services-ribbon-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 6px;
    transform-style: preserve-3d;
}

/* Service Pill Base */
.service-pill-item {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: all 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    cursor: pointer;
    user-select: none;
}

/* Cascading vertical offsets for the 5 services */
.service-step-1 {
    transform: translateY(-8px) rotate(-0.75deg) translateZ(0);
}
.service-step-2 {
    transform: translateY(-4px) rotate(-0.4deg) translateZ(3px);
}
.service-step-3 {
    transform: translateY(0px) rotate(0deg) translateZ(6px);
}
.service-step-4 {
    transform: translateY(4px) rotate(0.4deg) translateZ(3px);
}
.service-step-5 {
    transform: translateY(8px) rotate(0.75deg) translateZ(0);
}

/* Connector Arrow between stepped pills */
.service-connector-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    opacity: 0.55;
    font-size: 0.85rem;
    font-weight: 900;
    transition: transform 0.2s, opacity 0.2s;
    user-select: none;
    padding: 0 1px;
}

/* Alternating Black Strip */
.service-pill-black {
    background: #111111;
    color: #FFFFFF;
    border: 1.5px solid #111111;
    box-shadow: 0 5px 14px -2px rgba(17, 17, 17, 0.30), 0 2px 6px rgba(0,0,0,0.15);
}

.service-pill-black .pill-badge {
    background: #C9A000;
    color: #111111;
    font-weight: 900;
    font-size: 0.60rem;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    letter-spacing: 0.2px;
    font-family: var(--font-heading);
}

.service-pill-black .pill-title {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #FFFFFF;
    font-family: var(--font-heading);
}

.service-pill-black .pill-tag {
    font-size: 0.58rem;
    font-weight: 600;
    color: #C9A000;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.service-pill-black .pill-arrow {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #C9A000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

/* Alternating White Strip */
.service-pill-white {
    background: #FFFFFF;
    color: #111111;
    border: 1.5px solid #111111;
    box-shadow: 0 5px 14px -2px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0,0,0,0.08);
}

.service-pill-white .pill-badge {
    background: #111111;
    color: #FFFFFF;
    font-weight: 900;
    font-size: 0.60rem;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    letter-spacing: 0.2px;
    font-family: var(--font-heading);
}

.service-pill-white .pill-title {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #111111;
    font-family: var(--font-heading);
}

.service-pill-white .pill-tag {
    font-size: 0.58rem;
    font-weight: 700;
    color: rgba(17, 17, 17, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.service-pill-white .pill-arrow {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #111111;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

/* Hover States */
.service-pill-item:hover {
    transform: scale(1.06) translateY(-4px) translateZ(18px) !important;
    box-shadow: 0 12px 24px -4px rgba(17, 17, 17, 0.35), 0 0 0 2px #111111;
    z-index: 50;
}

.service-pill-black:hover {
    border-color: #FFFFFF;
}

.service-pill-black:hover .pill-arrow {
    background: #C9A000;
    color: #111111;
    transform: translateX(2px);
}

.service-pill-white:hover {
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.25), 0 0 0 2px #111111;
}

.service-pill-white:hover .pill-arrow {
    background: #C9A000;
    color: #111111;
    transform: translateX(2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .service-pill-item { padding: 5px 12px; gap: 7px; }
    .service-pill-black .pill-title,
    .service-pill-white .pill-title { font-size: 0.74rem; }
}

@media (max-width: 768px) {
    .services-marquee-viewport { padding: 8px 0 6px; }
    .service-step-1 { transform: translateY(-4px) rotate(-0.5deg); }
    .service-step-2 { transform: translateY(-2px) rotate(-0.25deg); }
    .service-step-3 { transform: translateY(0) rotate(0); }
    .service-step-4 { transform: translateY(2px) rotate(0.25deg); }
    .service-step-5 { transform: translateY(4px) rotate(0.5deg); }
    .service-pill-item { padding: 4px 10px; gap: 6px; }
    .service-pill-black .pill-title,
    .service-pill-white .pill-title { font-size: 0.70rem; }
    .service-pill-black .pill-tag,
    .service-pill-white .pill-tag { display: none; }
}

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn-primary {
    background: var(--fp-black);
    color: var(--fp-yellow);
    padding: 13px 30px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.96rem;
    font-family: var(--font-body);
    border: 2px solid var(--fp-black);
    cursor: pointer;
    transition: all 0.20s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--fp-black-mid);
    border-color: var(--fp-black-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17,17,17,0.25);
    color: var(--fp-yellow);
}

.btn-secondary {
    background: transparent;
    color: var(--fp-black);
    padding: 13px 30px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.96rem;
    border: 2px solid var(--fp-black);
    cursor: pointer;
    transition: all 0.20s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--fp-black);
    color: var(--fp-yellow);
}

.btn-yellow {
    background: var(--fp-yellow);
    color: var(--fp-black);
    padding: 13px 30px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.96rem;
    border: 2px solid var(--fp-yellow-dark);
    cursor: pointer;
    transition: all 0.20s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-yellow:hover {
    background: var(--fp-yellow-light);
    border-color: var(--fp-yellow);
    transform: translateY(-2px);
    box-shadow: var(--shadow-yellow);
}

.btn-sm-outline {
    border: 1.5px solid var(--fp-black);
    color: var(--fp-black);
    padding: 7px 14px;
    border-radius: var(--radius-md);
    font-size: 0.80rem;
    font-weight: 700;
    background: transparent;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.btn-sm-outline:hover {
    background: var(--fp-black);
    color: var(--fp-yellow);
}

.btn-dark {
    background: var(--fp-black);
    color: var(--fp-yellow);
    padding: 13px 30px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.96rem;
    border: 2px solid var(--fp-black);
    cursor: pointer;
    transition: all 0.20s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-dark:hover { background:var(--fp-black-mid); transform:translateY(-2px); }

/* Hero Image Card */
.hero-image-card {
    background: var(--fp-black);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--fp-black);
    transform: rotate(1.5deg);
    transition: transform 0.4s ease;
}

.hero-image-card:hover { transform:rotate(0deg) scale(1.02); }

.hero-image-card img {
    border-radius: var(--radius-md);
    width: 100%;
    height: 330px;
    object-fit: cover;
}

/* ══════════════════════════════════════════
   SECTION TITLES
   ══════════════════════════════════════════ */
.section-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--fp-black);
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: -0.03em;
}

.section-title span { color: var(--fp-yellow-dark); }

.section-subtitle {
    text-align: center;
    color: var(--fp-black-muted);
    font-size: 1.02rem;
    margin-bottom: 44px;
}

/* ══════════════════════════════════════════
   CATEGORY CARDS
   ══════════════════════════════════════════ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.category-card {
    background: var(--fp-yellow-pale);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 2px solid var(--fp-yellow-dark);
    transition: all 0.25s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    cursor: pointer;
    color: var(--fp-black);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    background: var(--fp-yellow);
    border-color: var(--fp-black);
}

.category-card img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    transition: transform 0.4s ease;
    border: 2px solid rgba(17,17,17,0.1);
}

.category-card:hover img { transform:scale(1.04); }
.category-card h3 { font-size:1.05rem; color:var(--fp-black); margin-bottom:5px; font-weight:700; }
.category-card p  { font-size:0.82rem; color:var(--text-muted); }

/* ══════════════════════════════════════════
   PRODUCT CARDS
   ══════════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.product-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 2px solid var(--fp-yellow-dark);
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--fp-black);
}

/* Shimmer placeholder keyframes */
@keyframes fpImageShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.product-thumb-wrap {
    position: relative;
    overflow: hidden;
    height: 215px;
    aspect-ratio: 4 / 3;
    background: linear-gradient(90deg, #f8fafc 0%, #edf2f7 50%, #f8fafc 100%);
    background-size: 200% 100%;
    animation: fpImageShimmer 2.2s infinite ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: opacity 0.25s ease-in-out;
}
.product-card:hover .product-thumb-wrap img { transform: none; }

.product-badge-stack {
    position: absolute;
    top: 10px; left: 10px;
    display: flex; flex-direction: column; gap: 5px; z-index: 10;
}

.product-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
}

.product-title   { font-size:1rem; font-weight:700; color:var(--fp-black); margin-bottom:4px; }
.product-tagline { font-size:0.82rem; color:var(--text-muted); margin-bottom:10px; }

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--fp-yellow-dark);
    margin-bottom: 10px;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 11px;
    border-top: 2px solid var(--fp-yellow-pale);
}

.price-text { font-family:var(--font-heading); font-size:1.2rem; font-weight:800; color:var(--fp-black); }
.price-text small { font-size:0.72rem; color:var(--text-muted); font-weight:400; }

/* ══════════════════════════════════════════
   PRODUCT DETAIL
   ══════════════════════════════════════════ */
.product-detail-layout { display:grid; grid-template-columns:1fr 1fr; gap:44px; padding:36px 0; }
.preview-gallery { position:sticky; top:110px; }

.main-preview-img {
    width: 100%;
    height: 410px;
    object-fit: contain;
    object-position: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 3px solid var(--fp-yellow-dark);
    margin-bottom: 16px;
    background: #ffffff;
    display: block;
}

.configurator-panel {
    background: var(--fp-yellow-pale);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--fp-yellow-dark);
    box-shadow: var(--shadow-sm);
}

.config-group { margin-bottom:24px; }
.config-group label { display:block; font-weight:700; font-size:0.90rem; margin-bottom:9px; color:var(--fp-black); }

.options-pill-grid { display:flex; flex-wrap:wrap; gap:9px; }

.option-pill {
    padding: 9px 18px;
    border: 2px solid var(--fp-yellow-dark);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 600;
    transition: all 0.16s ease;
    background: #fff;
    color: var(--fp-black);
}

.option-pill.active, .option-pill:hover {
    border-color: var(--fp-black);
    background: var(--fp-black);
    color: var(--fp-yellow);
    box-shadow: 0 2px 8px rgba(17,17,17,0.2);
}

.qty-slabs-table {
    width:100%; border-collapse:collapse;
    margin-top:12px; border-radius:var(--radius-md); overflow:hidden;
    border:2px solid var(--fp-yellow-dark);
}

.qty-slabs-table th, .qty-slabs-table td {
    padding:10px 13px; border:1px solid var(--fp-yellow-dark); text-align:center; font-size:0.83rem;
}

.qty-slabs-table th { background:var(--fp-yellow); color:var(--fp-black); font-weight:800; }

.price-summary-box {
    background: var(--fp-yellow);
    border: 3px solid var(--fp-black);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 20px;
}

.price-breakdown-row { display:flex; justify-content:space-between; font-size:0.90rem; margin-bottom:8px; color:var(--fp-black-muted); }
.price-total-row {
    display:flex; justify-content:space-between;
    font-family:var(--font-heading); font-size:1.5rem; font-weight:900;
    color:var(--fp-black);
    border-top:3px dashed var(--fp-black);
    padding-top:12px; margin-top:12px;
}

/* ══════════════════════════════════════════
   EDITOR STUDIO
   ══════════════════════════════════════════ */
.editor-container { display:grid; grid-template-columns:300px 1fr 300px; height:calc(100vh - 120px); background:var(--fp-yellow-pale); }
.editor-toolbar { background:var(--fp-yellow-pale); border-right:2px solid var(--fp-yellow-dark); padding:24px; overflow-y:auto; }
.editor-canvas-stage { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:40px; }
.canvas-wrapper { background:#fff; box-shadow:var(--shadow-lg); border-radius:6px; position:relative; }
.editor-sidebar { background:var(--fp-yellow-pale); border-left:2px solid var(--fp-yellow-dark); padding:24px; overflow-y:auto; }

/* ══════════════════════════════════════════
   CART & CHECKOUT
   ══════════════════════════════════════════ */
.cart-layout { display:grid; grid-template-columns:2fr 1fr; gap:28px; padding:36px 0; }

.cart-table {
    width:100%; border-collapse:collapse;
    background:#fff;
    border-radius:var(--radius-lg); overflow:hidden;
    box-shadow:var(--shadow-sm);
    border:2px solid var(--fp-yellow-dark);
}

.cart-table th, .cart-table td { padding:16px 18px; border-bottom:1px solid var(--fp-yellow-pale); text-align:left; }
.cart-table th { background:var(--fp-yellow); font-weight:800; font-size:0.80rem; color:var(--fp-black); text-transform:uppercase; letter-spacing:0.5px; }
.cart-table tbody tr:hover { background:var(--fp-yellow-pale); }

/* ══════════════════════════════════════════
   ORDER TRACKER
   ══════════════════════════════════════════ */
.tracking-pipeline { display:flex; justify-content:space-between; margin:44px 0 18px; position:relative; }
.tracking-pipeline::before { content:''; position:absolute; top:24px; left:50px; right:50px; height:3px; background:var(--fp-yellow-dark); z-index:1; }
.tracker-step { position:relative; z-index:2; text-align:center; flex:1; }

.tracker-icon {
    width:50px; height:50px; border-radius:50%;
    background:var(--fp-yellow-pale);
    color:var(--fp-black-muted);
    display:flex; align-items:center; justify-content:center;
    margin:0 auto 12px;
    font-weight:800;
    border:3px solid var(--fp-yellow-dark);
    box-shadow:var(--shadow-sm);
}

.tracker-step.completed .tracker-icon { background:var(--fp-black); color:var(--fp-yellow); border-color:var(--fp-black); }
.tracker-step.active .tracker-icon { background:var(--fp-yellow); color:var(--fp-black); border-color:var(--fp-black); box-shadow:0 0 0 5px rgba(201,160,0,0.30); }

/* ══════════════════════════════════════════
   ADMIN PANEL — Yellow Sidebar
   ══════════════════════════════════════════ */
.admin-layout { display:grid; grid-template-columns:250px 1fr; min-height:100vh; }

.admin-sidebar {
    background: var(--fp-yellow);
    color: var(--fp-black);
    padding: 0;
    border-right: 3px solid var(--fp-yellow-dark);
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.admin-sidebar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.admin-sidebar-header {
    padding: 20px 18px;
    border-bottom: 2px solid var(--fp-yellow-dark);
    margin-bottom: 10px;
    background: var(--fp-yellow);
}

.admin-menu-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 18px;
    color: rgba(17,17,17,0.75);
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.16s;
    border-left: 3px solid transparent;
}

.admin-menu-link:hover,
.admin-menu-link.active {
    background: var(--fp-black);
    color: var(--fp-yellow);
    border-left-color: var(--fp-black);
}

.admin-menu-link.active {
    font-weight: 700;
}

.admin-main {
    background: var(--fp-yellow-pale);
    padding: 32px;
    min-height: 100vh;
}

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

.metric-card {
    background: var(--fp-yellow);
    padding: 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--fp-yellow-dark);
}

.metric-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--fp-black);
    line-height: 1.1;
    margin-top: 5px;
}

.metric-label {
    font-size: 0.70rem;
    font-weight: 700;
    color: var(--fp-black-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════
   WHATSAPP FLOAT (keep green)
   ══════════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    background: #25D366;
    color: white;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover { transform:scale(1.1) translateY(-3px); box-shadow:0 10px 30px rgba(37,211,102,0.60); }

.whatsapp-badge-pulse {
    position: absolute;
    top: -3px; right: -3px;
    background: var(--fp-black);
    color: var(--fp-yellow);
    font-size: 0.65rem;
    font-weight: 800;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #25D366;
    animation: pulse 1.8s infinite;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--fp-black);
    color: var(--fp-yellow);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: all 0.20s ease;
}

.whatsapp-float:hover .whatsapp-tooltip { opacity:1; transform:translateX(0); }

/* ══════════════════════════════════════════
   MICRO-INTERACTIONS
   ══════════════════════════════════════════ */
.product-card, .category-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.product-card:hover, .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px -8px rgba(0,0,0,0.12);
}

.glass-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-md);
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.main-footer {
    background: var(--fp-black);
    color: rgba(255,255,255,0.70);
    padding: 64px 0 24px;
    margin-top: 0;
    border-top: 4px solid var(--fp-yellow);
}

.footer-grid { display:grid; grid-template-columns:2fr repeat(3, 1fr); gap:48px; margin-bottom:44px; }
.footer-col h4 { color:var(--fp-yellow); font-size:1rem; margin-bottom:18px; font-weight:800; letter-spacing:0.2px; }
.footer-col ul { list-style:none; }
.footer-col li { margin-bottom:9px; }
.footer-col li a { color:rgba(255,255,255,0.55); font-size:0.86rem; transition:all 0.18s; }
.footer-col li a:hover { color:var(--fp-yellow); padding-left:4px; }

.copyright-bar {
    border-top: 1px solid rgba(201,160,0,0.20);
    padding-top: 20px;
    text-align: center;
    font-size: 0.80rem;
    color: rgba(255,255,255,0.35);
}

/* ══════════════════════════════════════════
   EXTENDED UI COMPONENTS
   ══════════════════════════════════════════ */
.glass-surface { background:rgba(255,248,220,0.90); backdrop-filter:blur(14px); border:1px solid var(--fp-yellow-dark); }
.glass-surface-dark { background:rgba(17,17,17,0.92); backdrop-filter:blur(14px); border:1px solid rgba(201,160,0,0.25); color:#fff; }

.pdp-sticky-gallery { position:-webkit-sticky; position:sticky; top:24px; z-index:10; }

.pdp-main-image-card {
    background: var(--fp-yellow-pale);
    border-radius:14px; padding:22px;
    border:2px solid var(--fp-yellow-dark);
    text-align:center; min-height:400px;
    display:flex; align-items:center; justify-content:center;
    position:relative; transition:all 0.26s ease; overflow:hidden;
}

.pdp-main-image-card:hover { box-shadow:var(--shadow-md); border-color:var(--fp-black); }
.pdp-main-image-card img { max-width:100%; max-height:370px; width:100%; height:100%; object-fit:contain; object-position:center; border-radius:10px; display:block; }
.pdp-main-image-card:hover img { transform:none; }

.floating-badge-strip { position:absolute; top:12px; left:12px; display:flex; flex-direction:column; gap:5px; z-index:4; }
.floating-badge-pill { font-size:0.68rem; font-weight:700; padding:4px 10px; border-radius:9999px; display:inline-flex; align-items:center; gap:4px; }
.badge-express-gradient { background:var(--fp-black); color:var(--fp-yellow); }
.badge-quality-gradient { background:var(--fp-yellow); color:var(--fp-black); }
.badge-custom-gradient  { background:var(--fp-black); color:var(--fp-yellow); }

.pdp-thumbnail-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(70px,1fr)); gap:9px; margin-top:12px; }
.pdp-thumb-card { height:70px; border-radius:8px; border:2px solid var(--fp-yellow-dark); overflow:hidden; cursor:pointer; background:#f8fafc; padding:2px; transition:all 0.16s; display:flex; align-items:center; justify-content:center; }
.pdp-thumb-card:hover { border-color:var(--fp-black); transform:translateY(-2px); }
.pdp-thumb-card.active-thumb { border-color:var(--fp-black); box-shadow:0 0 0 3px rgba(17,17,17,0.20); transform:translateY(-2px); }
.pdp-thumb-card img { width:100%; height:100%; object-fit:contain; object-position:center; border-radius:5px; display:block; }

.visual-card-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:10px; margin-bottom:14px; }
.visual-option-card { background:var(--fp-yellow-pale); border:2px solid var(--fp-yellow-dark); border-radius:10px; padding:10px; cursor:pointer; transition:all 0.18s; position:relative; }
.visual-option-card:hover { border-color:var(--fp-black); transform:translateY(-2px); }
.visual-option-card.selected { border-color:var(--fp-black); background:var(--fp-yellow); }
.visual-option-card .card-check { position:absolute; top:7px; right:7px; width:18px; height:18px; border-radius:50%; background:var(--fp-yellow-dark); display:flex; align-items:center; justify-content:center; font-size:10px; color:transparent; transition:all 0.16s; }
.visual-option-card.selected .card-check { background:var(--fp-black); color:var(--fp-yellow); }

.qty-stepper-box { display:flex; align-items:center; background:#fff; border:2px solid var(--fp-yellow-dark); border-radius:8px; overflow:hidden; width:130px; }
.qty-stepper-box:focus-within { border-color:var(--fp-black); box-shadow:0 0 0 3px rgba(17,17,17,0.10); }
.qty-step-btn { background:var(--fp-yellow-pale); border:none; width:38px; height:40px; font-size:1.1rem; font-weight:700; color:var(--fp-black); cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background 0.14s; user-select:none; }
.qty-step-btn:hover { background:var(--fp-yellow); }
.qty-step-input { width:54px; height:40px; border:none; text-align:center; font-size:1rem; font-weight:800; color:var(--fp-black); outline:none; background:transparent; }

.qty-preset-chips { display:flex; flex-wrap:wrap; gap:7px; margin-top:8px; }
.qty-preset-chip { background:var(--fp-yellow-pale); border:1px solid var(--fp-yellow-dark); color:var(--fp-black); font-size:0.76rem; font-weight:600; padding:4px 11px; border-radius:20px; cursor:pointer; transition:all 0.14s; user-select:none; }
.qty-preset-chip:hover { background:var(--fp-yellow); border-color:var(--fp-black); font-weight:700; }
.qty-preset-chip.active { background:var(--fp-black); border-color:var(--fp-black); color:var(--fp-yellow); font-weight:700; }

.pricing-summary-card { background:var(--fp-yellow); border:2px solid var(--fp-black); border-radius:12px; padding:18px; margin-bottom:18px; }
.pricing-total-row { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.pricing-main-amount { font-size:2rem; font-weight:900; color:var(--fp-black); font-family:var(--font-heading); letter-spacing:-0.03em; line-height:1; }
.pricing-unit-amount { font-size:0.88rem; color:var(--fp-black-muted); font-weight:700; }
.pricing-tax-badge { background:rgba(17,17,17,0.10); color:var(--fp-black); font-size:0.72rem; font-weight:700; padding:2px 7px; border-radius:5px; display:inline-block; margin-left:5px; }
.bulk-discount-pill { background:var(--fp-black); border:1px solid var(--fp-black); color:var(--fp-yellow); font-size:0.78rem; font-weight:700; padding:5px 10px; border-radius:7px; display:inline-flex; align-items:center; gap:5px; margin-top:8px; }

.btn-primary-gradient { background:var(--fp-black); color:var(--fp-yellow); border:none; border-radius:9px; padding:14px 24px; font-weight:700; font-size:1rem; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:9px; transition:all 0.20s ease; }
.btn-primary-gradient:hover { background:var(--fp-black-mid); transform:translateY(-2px); box-shadow:0 8px 20px rgba(17,17,17,0.25); }
.btn-secondary-outline { background:#fff; color:var(--fp-black); border:2px solid var(--fp-yellow-dark); border-radius:9px; padding:12px 20px; font-weight:700; font-size:0.94rem; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:7px; transition:all 0.18s; }
.btn-secondary-outline:hover { border-color:var(--fp-black); background:var(--fp-yellow-pale); transform:translateY(-2px); }

.trust-badges-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:28px; padding-top:24px; border-top:2px solid var(--fp-yellow-dark); }
@media (max-width:768px) { .trust-badges-grid { grid-template-columns:repeat(2,1fr); } }
.trust-badge-card { background:var(--fp-yellow-pale); border:2px solid var(--fp-yellow-dark); border-radius:10px; padding:14px; text-align:center; transition:all 0.2s; }
.trust-badge-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-sm); border-color:var(--fp-black); background:var(--fp-yellow); }
.trust-badge-icon { font-size:1.5rem; margin-bottom:7px; display:inline-block; }
.trust-badge-title { font-size:0.82rem; font-weight:700; color:var(--fp-black); margin-bottom:2px; }
.trust-badge-desc { font-size:0.70rem; color:var(--text-muted); }

.pdp-tabs-container { margin-top:40px; background:var(--fp-yellow-pale); border-radius:14px; border:2px solid var(--fp-yellow-dark); overflow:hidden; }
.pdp-tabs-header { display:flex; background:var(--fp-yellow); border-bottom:2px solid var(--fp-yellow-dark); overflow-x:auto; }
.pdp-tab-nav-btn { padding:14px 22px; background:none; border:none; border-bottom:3px solid transparent; font-size:0.90rem; font-weight:700; color:var(--fp-black-muted); cursor:pointer; white-space:nowrap; transition:all 0.18s; display:flex; align-items:center; gap:7px; }
.pdp-tab-nav-btn:hover { color:var(--fp-black); }
.pdp-tab-nav-btn.active-tab { color:var(--fp-black); background:var(--fp-yellow-pale); border-bottom-color:var(--fp-black); }
.pdp-tab-content { padding:26px; }
.pdp-tab-pane { display:none; }
.pdp-tab-pane.active-pane { display:block; animation:fadeInTab 0.26s ease; }
@keyframes fadeInTab { from{opacity:0;transform:translateY(5px);} to{opacity:1;transform:translateY(0);} }

.specs-table { width:100%; border-collapse:collapse; }
.specs-table tr { border-bottom:1px solid var(--fp-yellow-pale); }
.specs-table tr:last-child { border-bottom:none; }
.specs-table td { padding:12px 14px; font-size:0.88rem; }
.specs-table td.spec-label { width:28%; font-weight:700; color:var(--fp-black); background:var(--fp-yellow); border-radius:5px; }
.specs-table td.spec-value { color:var(--fp-black-muted); }

.mobile-sticky-buy-bar { display:none; position:fixed; bottom:0; left:0; right:0; background:var(--fp-yellow); border-top:3px solid var(--fp-black); padding:12px 20px; box-shadow:0 -4px 20px rgba(0,0,0,0.12); z-index:999; align-items:center; justify-content:space-between; }
@media (max-width:768px) { .mobile-sticky-buy-bar { display:flex; } }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width:900px) {
    .pdp-two-column { grid-template-columns:1fr !important; gap:24px !important; }
    .hero-content { grid-template-columns:1fr; }
    .hero-image-card { display:none; }
    .footer-grid { grid-template-columns:1fr 1fr; }
    .admin-layout { grid-template-columns:1fr; }
    .admin-sidebar { display:none; }
}

@media (max-width:640px) {
    .header-row { flex-wrap:wrap; gap:12px; }
    .search-box-container { order:3; max-width:100%; flex:0 0 100%; }
    .header-actions { gap:14px; flex-shrink:0; }
    /* Cart stays fixed size on mobile — badge allowed outside */
    .fp-cart-wrap { width:40px; height:40px; overflow:visible; }
    .fp-cart-count { top:-8px; right:-10px; font-size:10px; }
    .cart-layout { grid-template-columns:1fr; }
    .metrics-cards-grid { grid-template-columns:repeat(2,1fr); }
    .footer-grid { grid-template-columns:1fr; gap:28px; }
    .top-nav-links { display:none; }
    .hero-text h1 { font-size:2.2rem; }
    .nav-links-list { overflow-x:auto; }
}

@media (max-width:430px) {
    .header-actions { gap:10px; }
    /* Badge stays correct size at 375px–430px */
    .fp-cart-count { min-width:18px; height:18px; font-size:10px; top:-7px; right:-9px; }
}

/* ══════════════════════════════════════════
   UTILITY
   ══════════════════════════════════════════ */
.text-yellow { color:var(--fp-yellow-dark); }
.text-black  { color:var(--fp-black); }
.bg-yellow   { background:var(--fp-yellow); }
.bg-black    { background:var(--fp-black); }
.bg-pale     { background:var(--fp-yellow-pale); }
.fw-800      { font-weight:800; }
.fw-900      { font-weight:900; }
.shimmer-effect { position:relative; overflow:hidden; }
.shimmer-effect::after { content:''; position:absolute; top:0;right:0;bottom:0;left:0; transform:translateX(-100%); background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,0.25) 20%,rgba(255,255,255,0.50) 60%,rgba(255,255,255,0)); animation:shimmer 2s infinite; }
@keyframes shimmer { 100%{transform:translateX(100%);} }

/* ══════════════════════════════════════════
   ADD TO CART BUTTON STATES & TOAST NOTIFICATION
   ══════════════════════════════════════════ */
.btn-add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--fp-black);
    color: var(--fp-yellow);
    border: 1.5px solid var(--fp-black);
    border-radius: var(--radius-sm, 8px);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    width: 100%;
}
.btn-add-to-cart:hover {
    background: var(--fp-yellow);
    color: var(--fp-black);
    border-color: var(--fp-black);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201,160,0,0.35);
}
.btn-add-to-cart.loading {
    opacity: 0.88;
    cursor: wait;
    pointer-events: none;
    background: #222222;
    color: var(--fp-yellow);
}
.btn-add-to-cart.added {
    background: #15803d !important;
    border-color: #15803d !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.35);
}

.fp-toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #111111;
    color: #ffffff;
    border-left: 4px solid var(--fp-yellow);
    border-radius: 10px;
    padding: 14px 20px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.38);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.90rem;
    font-weight: 600;
    z-index: 99999;
    animation: fpToastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    max-width: 440px;
}
@keyframes fpToastSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ══════════════════════════════════════════
   GLOBAL PRODUCT IMAGE DISPLAY RULES
   - object-fit: contain
   - object-position: center
   - Full aspect ratio preservation
   - No cropping or hover zoom
   ══════════════════════════════════════════ */
.product-image,
.product-image-container,
.product-thumb-wrap,
.product-card-image,
.product-card a.product-thumb-wrap {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.product-image img,
.product-image-container img,
.product-thumb-wrap img,
.product-card .product-thumb-wrap img,
.product-card-image img,
.product-card > a > img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    transform: none !important;
}

.product-card:hover .product-thumb-wrap img,
.product-card:hover img {
    transform: none !important;
}

/* ══════════════════════════════════════════
   STICKY FILTER SIDEBAR LAYOUT
   ══════════════════════════════════════════ */
.fp-category-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start; /* CRITICAL: allows sticky filter to stick within grid column */
}

.filter-sidebar,
#filterForm {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 135px !important; /* Header height (~120px) + 15px clearance */
    align-self: flex-start !important;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 50;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.filter-sidebar::-webkit-scrollbar,
#filterForm::-webkit-scrollbar {
    width: 5px;
}
.filter-sidebar::-webkit-scrollbar-track,
#filterForm::-webkit-scrollbar-track {
    background: transparent;
}
.filter-sidebar::-webkit-scrollbar-thumb,
#filterForm::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.filter-sidebar::-webkit-scrollbar-thumb:hover,
#filterForm::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Category Filter Mobile Drawer Components (Hidden by default on Desktop) */
.fp-mobile-filter-btn {
    display: none;
}
.fp-mobile-filter-overlay {
    display: none;
}
.fp-filter-drawer-close {
    display: none;
}
.fp-filter-drawer-footer {
    display: none;
}
.fp-filter-drawer-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 16px;
}
.fp-filter-drawer-body {
    padding: 0;
}
