/**
 * GetPress Design System
 * Version: 2.2
 * Mobile Scaling Enhancement: Viewport-based native scaling
 */

/* ========================================
   DESIGN TOKENS
   Based on 8px spacing scale
   ======================================== */

/* Pagination Visibility Fix */
.pagination-container nav div[class*="hidden"] {
    display: flex !important;
}

.pagination-container nav div.justify-between.flex-1.sm\:hidden {
    display: none !important;
}

@media (max-width: 640px) {
    .pagination-container nav div.justify-between.flex-1.sm\:hidden {
        display: flex !important;
    }

    .pagination-container nav div.hidden.sm\:flex-1 {
        display: none !important;
    }
}

:root {
    /* ========================================
       RESPONSIVE DESIGN TOKENS
       Using clamp(min, preferred, max) for fluid scaling
       ======================================== */

    /* Fluid Typography Scale */
    --text-display: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
    /* 28px - 36px */
    --text-h1: 1.6rem;
    /* 24px - 28px */
    --text-h2: clamp(1.25rem, 1.125rem + 0.5vw, 1.375rem);
    /* 20px - 22px */
    --text-h3: clamp(1rem, 0.9375rem + 0.25vw, 1.125rem);
    /* 16px - 18px */
    --text-body-lg: clamp(0.9375rem, 0.875rem + 0.125vw, 1rem);
    /* 15px - 16px */
    --text-body: 0.95rem;
    /* 13px - 14px */
    --text-caption: 0.85rem;
    /* 11px - 12px */
    --text-micro: 0.75rem;
    /* 9px - 10px */

    /* Fluid Spacing Scale */
    --space-1: clamp(2px, 0.125rem + 0.1vw, 4px);
    --space-2: clamp(6px, 0.375rem + 0.1vw, 8px);
    --space-3: clamp(8px, 0.5rem + 0.2vw, 12px);
    --space-4: clamp(12px, 0.75rem + 0.25vw, 16px);
    --space-6: clamp(16px, 1rem + 0.5vw, 24px);
    --space-8: clamp(24px, 1.5rem + 0.5vw, 32px);
    --space-12: clamp(32px, 2rem + 1vw, 48px);
    --space-16: clamp(48px, 3rem + 1vw, 64px);

    /* Section & Container Spacing */
    --space-section: clamp(2rem, 1.5rem + 2vw, 4rem);
    --space-container: clamp(1rem, 0.5rem + 2vw, 2rem);
    --header-height: clamp(56px, 3.5rem + 1vw, 72px);

    /* Color System */
    --color-primary-600: #DC2626;
    --color-primary-700: #B91C1C;
    --color-primary-50: #FEF2F2;
    --color-slate-900: #0F172A;
    --color-slate-800: #1E293B;
    --color-slate-600: #475569;
    --color-slate-400: #94A3B8;
    --color-slate-100: #F1F5F9;
    --color-slate-50: #F8FAFC;
    --color-white: #FFFFFF;
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;

    /* Fluid Border Radius */
    --radius-sm: clamp(6px, 0.375rem + 0.15vw, 8px);
    --radius-md: clamp(8px, 0.5rem + 0.25vw, 12px);
    --radius-lg: clamp(12px, 0.75rem + 0.25vw, 16px);
    --radius-xl: clamp(16px, 1rem + 0.25vw, 20px);
    --radius-2xl: clamp(20px, 1.25rem + 0.25vw, 24px);

    /* Shadows (subtle, not heavy) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;
}

/* ========================================
   ACCESSIBILITY - Focus States (WCAG 2.4.7)
   ======================================== */

/* Global focus ring for interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--color-primary-600);
    outline-offset: 2px;
}

/* Remove default outline since we handle it above */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* ========================================
   TYPOGRAPHY UTILITIES
   ======================================== */

.text-display {
    font-size: var(--text-display);
    font-weight: 800;
    line-height: 1.2;
}

.text-h1 {
    font-size: var(--text-h1);
    font-weight: 700;
    line-height: 1.3;
}

.text-h2 {
    font-size: var(--text-h2);
    font-weight: 700;
    line-height: 1.35;
}

.text-h3 {
    font-size: var(--text-h3);
    font-weight: 600;
    line-height: 1.4;
}

.text-body-lg {
    font-size: var(--text-body-lg);
    font-weight: 400;
    line-height: 1.6;
}

.text-body {
    font-size: var(--text-body);
    font-weight: 400;
    line-height: 1.6;
}

.text-caption {
    font-size: var(--text-caption);
    font-weight: 500;
    line-height: 1.5;
}

.text-micro {
    font-size: var(--text-micro);
    font-weight: 600;
    line-height: 1.4;
}

/* ========================================
   BUTTON SYSTEM
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--color-primary-600);
    color: var(--color-white);
    box-shadow: 0 1px 2px rgba(220, 38, 38, 0.2);
}

.btn-primary:hover {
    background: var(--color-primary-700);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary-600);
    border: 1px solid var(--color-primary-600);
}

.btn-secondary:hover {
    background: var(--color-primary-50);
}

.btn-ghost {
    background: transparent;
    color: var(--color-slate-600);
}

.btn-ghost:hover {
    background: var(--color-slate-100);
    color: var(--color-slate-900);
}

/* Button Sizes */
.btn-lg {
    height: 48px;
    padding: 0 var(--space-6);
    font-size: var(--text-body-lg);
}

.btn-md {
    height: 40px;
    padding: 0 var(--space-4);
    font-size: var(--text-body);
}

.btn-sm {
    height: 32px;
    padding: 0 var(--space-3);
    font-size: var(--text-caption);
}

/* ========================================
   CARD SYSTEM (No heavy shadows, no colored glows)
   ======================================== */

.card {
    background: var(--color-white);
    border: 1px solid var(--color-slate-100);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: border-color var(--transition-base);
}

.card:hover {
    border-color: var(--color-slate-400);
}

.card-product {
    padding: var(--space-4);
}

.card-content {
    padding: var(--space-6);
}

.card-stat {
    padding: var(--space-6);
    box-shadow: none;
}

.card-form {
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    border: none;
}

/* ========================================
   PRODUCT CARD FIXES (Remove blue glow, simplify hover)
   ======================================== */

/* Override any existing heavy shadow/glow effects on product cards */
article.bg-white.rounded-2xl {
    box-shadow: var(--shadow-card) !important;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

article.bg-white.rounded-2xl:hover {
    box-shadow: var(--shadow-md) !important;
    border-color: var(--color-slate-400) !important;
    /* NO scale, NO translateY, NO colored shadows */
    transform: none !important;
}

/* Product card image hover - subtle, not scale+shadow+translate */
article.bg-white.rounded-2xl img {
    transition: transform var(--transition-slow);
}

article.bg-white.rounded-2xl:hover img {
    transform: scale(1.02);
}

/* ========================================
   TYPOGRAPHY NORMALIZATION
   Fixes ALL-CAPS content from database
   ======================================== */

/* Book titles - force proper title case */
article h4,
article h3,
.gp-book-title,
.line-clamp-2,
.gp-cart-item-title {
    text-transform: capitalize;
}

/* Category labels - consistent capitalization */
.gp-category-label,
article .text-xs.font-bold.text-primary-600,
article span[class*="text-primary"] {
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.05em;
}

/* ========================================
   HEADER COMPONENT STYLES
   Extracted from: header.blade.php
   ======================================== */


/* Top Bar */
.gp-topbar {
    background: linear-gradient(to right, #0f172a, #1e293b, #0f172a);
    color: #94a3b8;
    font-size: 12px;
}

.gp-topbar a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.gp-topbar a:hover {
    color: #f87171;
}

/* Main Header */
.gp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e2e8f0;
}

/* Eliminate gap between header and content */
main#main-content {
    margin-top: 0;
}

main#main-content>section:first-child {
    margin-top: 0;
}

.gp-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: var(--space-4);
}

/* Logo */
.gp-logo img {
    height: 44px;
    width: auto;
    transition: transform 0.2s;
}

.gp-logo:hover img {
    transform: scale(1.05);
}

/* Navigation */
.gp-nav {
    display: none;
    gap: 4px;
}

.gp-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}

.gp-nav a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.gp-nav a.active {
    background: #fef2f2;
    color: #dc2626;
}

/* ========================================
   PUBLIC CORE SYSTEM OVERRIDES
   ======================================== */

:root {
    --gp-shell-bg: #f8fafc;
    --gp-surface: #ffffff;
    --gp-border: #e2e8f0;
    --gp-border-soft: #eef2f7;
    --gp-text: #0f172a;
    --gp-muted: #64748b;
    --gp-muted-soft: #94a3b8;
    --gp-shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.06);
    --gp-shadow-card: 0 10px 30px rgba(15, 23, 42, 0.05);
    --gp-header-top: 34px;
    --gp-header-main: 80px; /* Reduced from 72 to account for real minimal height */
    --gp-header-offset: var(--gp-header-main);
}

@media (min-width: 1024px) { /* Adjusted from 1536px to 1024px to show top strip on tablets */
    :root {
        --gp-header-offset: 112px; /* Adjusted for ultra-thin 24px top strip + 80px main header */
    }
}

.public-shell {
    background: linear-gradient(180deg, #fcfdff 0%, #f8fafc 100%);
    padding-top: var(--gp-header-offset);
    position: relative;
    overflow-x: hidden; /* Prevent horizontal bleed */
}

.gp-public-header__top {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(226, 232, 240, 0.82);
    backdrop-filter: blur(16px);
    /* height removed — min-height controlled by inline style in header.blade.php */
}

.gp-top-strip-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.5rem;
    border-radius: 999px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: 0.18s ease;
}

.gp-top-strip-link:hover {
    color: #dc2626;
    border-color: #fecaca;
    background: #fff1f2;
}

.gp-public-header__main {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(226, 232, 240, 0.82);
    backdrop-filter: blur(18px);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.gp-public-header__main.is-scrolled {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05); /* Reduced shadow spread and intensity */
}

.gp-public-header__row {
    min-height: var(--gp-header-main);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gp-public-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    text-decoration: none;
}

.gp-public-brand__logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.gp-public-brand__title {
    display: block;
    color: var(--gp-text);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.gp-public-brand__sub {
    display: block;
    color: var(--gp-muted);
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px;
}

.gp-public-nav {
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.5rem;
}

.gp-public-nav a,
.gp-public-nav__dropdown {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    color: #475569;
    background: transparent;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.18s ease;
}

.gp-public-nav__dropdown {
    min-width: 0;
    justify-content: center;
}

/* Publish landing page */
.gp-publish-page {
    color: #0f172a;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 26%, #fff7f7 100%);
}

.gp-publish-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(254, 226, 226, 0.9), transparent 30%),
        radial-gradient(circle at bottom right, rgba(224, 242, 254, 0.7), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
    color: #0f172a;
    padding: 3.5rem 0 4rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.gp-publish-hero::before,
.gp-publish-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.gp-publish-hero::before {
    width: 20rem;
    height: 20rem;
    top: -8rem;
    right: -6rem;
    border: 2px solid rgba(248, 113, 113, 0.18);
}

.gp-publish-hero::after {
    width: 26rem;
    height: 26rem;
    top: -12rem;
    right: -9rem;
    border: 1px solid rgba(251, 146, 60, 0.14);
}

.gp-publish-hero__grid,
.gp-publish-proof__grid,
.gp-publish-cta__grid {
    display: grid;
    gap: 2rem;
}

.gp-publish-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    align-items: center;
}

.gp-publish-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 40rem;
}

.gp-publish-hero__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #64748b;
}

.gp-publish-hero__brand img {
    width: 9.5rem;
    max-width: 100%;
}

.gp-publish-hero__eyebrow,
.gp-publish-sectionhead__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gp-publish-hero__eyebrow {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
}

.gp-publish-hero__title {
    font-size: clamp(2.5rem, 5vw, 5.25rem);
    line-height: 0.94;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #0f172a;
    max-width: 10ch;
    margin: 0;
}

.gp-publish-hero__copy {
    max-width: 36rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}

.gp-publish-hero__actions,
.gp-publish-cta__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.gp-publish-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 3.25rem;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.gp-publish-button:hover {
    transform: translateY(-1px);
}

.gp-publish-button.is-primary {
    background: linear-gradient(135deg, #dc2626 0%, #be123c 100%);
    color: #ffffff;
    box-shadow: 0 18px 30px rgba(220, 38, 38, 0.18);
}

.gp-publish-button.is-secondary {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
}

.gp-publish-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gp-publish-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.72rem 0.95rem;
    border: 1px solid #f1d4d4;
    background: #ffffff;
    border-radius: 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
}

.gp-publish-chip i {
    color: #dc2626;
}

.gp-publish-hero__proofbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    width: 100%;
    max-width: 40rem;
    padding: 1rem 1.1rem;
    border-radius: 1.35rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
}

.gp-publish-hero__proofbar strong {
    display: block;
    font-size: 1.65rem;
    line-height: 1;
    color: #dc2626;
}

.gp-publish-hero__proofbar span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #94a3b8;
}

.gp-publish-hero__proofbar p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #64748b;
}

.gp-publish-hero__visual {
    position: relative;
    min-height: 34rem;
}

.gp-publish-hero__badge {
    position: absolute;
    top: 1rem;
    right: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 1.1rem;
    border-radius: 1.4rem;
    background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%);
    border: 1px solid #fecdd3;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    text-transform: uppercase;
}

.gp-publish-hero__badge span {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.gp-publish-hero__badge strong {
    font-size: 1.2rem;
    line-height: 1;
    color: #be123c;
}

.gp-publish-certificate,
.gp-publish-bookmock {
    position: absolute;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(46, 7, 7, 0.28);
}

.gp-publish-certificate {
    top: 2.5rem;
    right: 1.6rem;
    width: min(26rem, 100%);
    background: linear-gradient(145deg, #ffffff 0%, #fff7f7 100%);
    color: #6a1515;
    border: 1px solid #e2e8f0;
}

.gp-publish-certificate__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.35rem 0.8rem;
}

.gp-publish-certificate__head img {
    width: 3.25rem;
    height: 3.25rem;
    object-fit: contain;
    background: #fff;
    border-radius: 1rem;
    padding: 0.4rem;
}

.gp-publish-certificate__head span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9b3737;
}

.gp-publish-certificate__head strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    line-height: 1.05;
    color: #7b0a0a;
}

.gp-publish-certificate__body {
    padding: 0 1.35rem 1.35rem;
}

.gp-publish-certificate__body p {
    margin: 0 0 1rem;
    color: #7b3030;
    line-height: 1.7;
}

.gp-publish-certificate__isbn {
    display: inline-flex;
    align-items: center;
    padding: 0.72rem 0.95rem;
    border-radius: 999px;
    background: rgba(123, 10, 10, 0.08);
    color: #7b0a0a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gp-publish-bookmock {
    left: 0;
    bottom: 0;
    width: min(23rem, calc(100% - 4rem));
    background: linear-gradient(160deg, #ffffff 0%, #fff1f2 100%);
    border: 1px solid #fbcfe8;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 5rem;
}

.gp-publish-bookmock__cover {
    padding: 1.5rem;
    color: #0f172a;
}

.gp-publish-bookmock__kicker {
    display: inline-flex;
    margin-bottom: 0.75rem;
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    background: #fff1f2;
    color: #be123c;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gp-publish-bookmock__cover strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.8rem;
    color: #7f1d1d;
}

.gp-publish-bookmock__cover p {
    margin: 0;
    line-height: 1.7;
    color: #64748b;
}

.gp-publish-bookmock__spines {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 0.9rem 0.55rem;
    background: linear-gradient(180deg, #fda4af 0%, #fecdd3 100%);
    color: #7f1d1d;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gp-publish-packages,
.gp-publish-proof,
.gp-publish-process,
.gp-publish-cta {
    padding: 4.75rem 0;
}

.gp-publish-packages {
    background: #ffffff;
}

.gp-publish-proof {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.gp-publish-process {
    background: #fff;
}

.gp-publish-cta {
    background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
}

.gp-publish-sectionhead {
    max-width: 42rem;
    margin-bottom: 2.25rem;
}

.gp-publish-sectionhead.is-centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.gp-publish-sectionhead__eyebrow {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
    margin-bottom: 0.9rem;
}

.gp-publish-sectionhead h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 3.2vw, 3.4rem);
    line-height: 1.03;
    color: #0f172a;
}

.gp-publish-sectionhead p,
.gp-publish-proof__intro p,
.gp-publish-cta__main p {
    margin: 0;
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.8;
}

.gp-publish-packages__grid,
.gp-publish-process__grid {
    display: grid;
    gap: 1.4rem;
}

.gp-publish-packages__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gp-publish-package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    min-height: 100%;
    padding: 1.25rem 1.25rem 1.4rem;
    border-radius: 2rem;
    background: #fff;
    border: 1px solid rgba(180, 83, 9, 0.12);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.gp-publish-package-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 34%);
    pointer-events: none;
}

.gp-publish-package-card__cap {
    position: relative;
    z-index: 1;
    padding: 1rem 1rem 0.9rem;
    border-radius: 1.5rem;
    color: #fff;
    text-align: center;
}

.gp-publish-package-card__cap span {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.gp-publish-package-card__cap strong {
    display: block;
    margin-top: 0.35rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    line-height: 1;
    text-transform: uppercase;
}

.gp-publish-package-card.is-silver .gp-publish-package-card__cap {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    color: #334155;
}

.gp-publish-package-card.is-gold .gp-publish-package-card__cap {
    background: linear-gradient(180deg, #fef3c7 0%, #fde68a 100%);
    color: #854d0e;
}

.gp-publish-package-card.is-platinum .gp-publish-package-card__cap {
    background: linear-gradient(180deg, #f8fafc 0%, #dbe4f0 100%);
    color: #334155;
}

.gp-publish-package-card.is-titanium .gp-publish-package-card__cap {
    background: linear-gradient(180deg, #fee2e2 0%, #fecaca 100%);
    color: #7f1d1d;
}

.gp-publish-package-card__price {
    position: relative;
    z-index: 1;
    align-self: center;
    padding: 0.78rem 1.15rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #951414 0%, #c12424 100%);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 900;
    box-shadow: 0 14px 24px rgba(123, 10, 10, 0.18);
}

.gp-publish-package-card__features {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gp-publish-package-card__features li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: #334155;
    line-height: 1.6;
}

.gp-publish-package-card__features i {
    margin-top: 0.1rem;
    color: #b91c1c;
}

.gp-publish-package-card__cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3rem;
    margin-top: auto;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: #fff7ed;
    color: #7b0a0a;
    font-weight: 800;
    border: 1px solid rgba(123, 10, 10, 0.1);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.gp-publish-package-card__cta:hover {
    background: #7b0a0a;
    color: #fff;
    transform: translateY(-1px);
}

.gp-publish-proof__grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    align-items: start;
}

.gp-publish-proof__list {
    display: grid;
    gap: 1rem;
}

.gp-publish-benefit {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1.1rem 1.15rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(180, 83, 9, 0.1);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.gp-publish-benefit__icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #fee2e2 0%, #fecdd3 100%);
    color: #be123c;
    font-size: 1.25rem;
}

.gp-publish-benefit h3,
.gp-publish-step h3,
.gp-publish-cta__main h2 {
    margin: 0 0 0.45rem;
}

.gp-publish-benefit h3 {
    font-size: 1.05rem;
    color: #0f172a;
}

.gp-publish-benefit p,
.gp-publish-step p {
    margin: 0;
    color: #64748b;
    line-height: 1.75;
}

.gp-publish-process__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gp-publish-step {
    padding: 1.35rem;
    border-radius: 1.75rem;
    background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
    border: 1px solid rgba(180, 83, 9, 0.1);
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.05);
}

.gp-publish-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecdd3 100%);
    color: #be123c;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.gp-publish-step h3,
.gp-publish-cta__main h2 {
    color: #0f172a;
}

.gp-publish-cta__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    padding: 1.6rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, #7f1d1d 0%, #be123c 100%);
    color: #fff7ed;
    box-shadow: 0 28px 54px rgba(123, 10, 10, 0.18);
}

.gp-publish-cta__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.gp-publish-cta__brand img {
    width: 8.6rem;
    max-width: 100%;
    object-fit: contain;
}

.gp-publish-cta__brand span {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 244, 229, 0.78);
}

.gp-publish-cta__main p {
    color: rgba(255, 244, 229, 0.82);
    margin-bottom: 1.5rem;
}

.gp-publish-cta__panel {
    display: grid;
    gap: 0.85rem;
    align-content: start;
    padding: 1.25rem;
    border-radius: 1.6rem;
    background: rgba(255, 248, 237, 0.12);
    border: 1px solid rgba(255, 227, 184, 0.18);
}

.gp-publish-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0.9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
    line-height: 1.55;
}

.gp-publish-contact-item i {
    width: 1.25rem;
    color: #ffd86b;
    text-align: center;
}

@media (max-width: 1199px) {
    .gp-publish-packages__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .gp-publish-hero {
        padding: 2.75rem 0 3rem;
    }

    .gp-publish-hero__grid,
    .gp-publish-proof__grid,
    .gp-publish-cta__grid,
    .gp-publish-process__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gp-publish-hero__visual {
        min-height: auto;
        display: grid;
        gap: 1rem;
    }

    .gp-publish-hero__badge,
    .gp-publish-certificate,
    .gp-publish-bookmock {
        position: relative;
        inset: auto;
        width: 100%;
    }

    .gp-publish-bookmock {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .gp-publish-packages,
    .gp-publish-proof,
    .gp-publish-process,
    .gp-publish-cta {
        padding: 3.5rem 0;
    }

    .gp-publish-hero__brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .gp-publish-hero__brand img {
        width: 8.5rem;
    }

    .gp-publish-hero__title {
        max-width: none;
    }

    .gp-publish-hero__proofbar {
        grid-template-columns: minmax(0, 1fr);
    }

    .gp-publish-packages__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gp-publish-benefit {
        grid-template-columns: 3.25rem minmax(0, 1fr);
    }

    .gp-publish-benefit__icon {
        width: 3.25rem;
        height: 3.25rem;
        border-radius: 1rem;
    }

    .gp-publish-bookmock {
        grid-template-columns: minmax(0, 1fr);
    }

    .gp-publish-bookmock__spines {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .gp-publish-cta__grid {
        padding: 1.1rem;
    }

    .gp-publish-button,
    .gp-publish-package-card__cta {
        width: 100%;
    }
}

.gp-public-nav a:hover,
.gp-public-nav__dropdown:hover,
.gp-public-nav__dropdown.is-open {
    color: var(--gp-text);
    background: #f8fafc;
    border-color: #e2e8f0;
}

.gp-public-nav a.is-active {
    color: #dc2626;
    background: #fff1f2;
    border-color: #fecaca;
}

.gp-public-explore-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-height: 108px;
    padding: 1rem;
    border-radius: 1.1rem;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #fff, #fafbfd);
    color: var(--gp-text);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.18s ease;
}

.gp-public-explore-card:hover {
    border-color: #fecaca;
    background: #fff7f7;
    color: #dc2626;
}

.gp-public-explore-card__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.95rem;
    background: #ffffff;
    color: #ef4444;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
}

.gp-public-header__tools {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
}

.gp-public-search {
    position: relative;
    display: flex;
    align-items: center;
    min-width: min(420px, 36vw);
    height: 46px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.gp-public-search__icon {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 14px;
}

.gp-public-search__input {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--gp-text);
    padding: 0 18px 0 42px;
    font-size: 14px;
    font-weight: 600;
    outline: none;
}

.gp-public-search__input::placeholder {
    color: #94a3b8;
}

.gp-public-cta,
.gp-public-login {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0 1rem;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    transition: 0.18s ease;
}

.gp-public-cta {
    color: #dc2626;
    background: #fff1f2;
}

.gp-public-cta:hover {
    background: #ffe4e6;
}

.gp-public-login {
    color: #fff;
    background: #0f172a;
}

.gp-public-login:hover {
    background: #dc2626;
}

.gp-public-icon-btn,
.gp-public-account {
    min-height: 42px;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.gp-public-icon-btn {
    width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: 0.18s ease;
}

.gp-public-icon-btn:hover {
    color: #dc2626;
    border-color: #fecaca;
}

.gp-public-account {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.7rem 0.35rem 0.35rem;
    transition: 0.18s ease;
    justify-content: space-between;
}

.gp-public-account:hover {
    border-color: #fecaca;
}

.gp-public-account__avatar {
    width: 32px;
    height: 32px;
    border-radius: 0.85rem;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

.gp-public-account__avatar--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.gp-public-dropdown__chevron {
    margin-left: auto;
    flex-shrink: 0;
}

.gp-public-badge {
    position: absolute;
    right: -4px;
    top: -4px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    border: 2px solid #fff;
}

.gp-public-menu-link,
.gp-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 46px;
    padding: 0 1rem;
    border-radius: 1rem;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.18s ease;
}

.gp-public-menu-link:hover,
.gp-mobile-nav-link:hover {
    background: #f8fafc;
    color: #dc2626;
}

.gp-mobile-nav-link.is-active {
    background: #fff1f2;
    color: #dc2626;
}

.gp-public-menu-link--danger {
    color: #dc2626;
}

.gp-page-hero {
    padding: 1.75rem 0 1.25rem;
}

.gp-page-hero__inner {
    border: 1px solid var(--gp-border);
    background: linear-gradient(135deg, #fff7f7, #ffffff 45%, #fffaf4);
    border-radius: 1.75rem;
    padding: clamp(1.25rem, 1rem + 1vw, 2rem);
    box-shadow: var(--gp-shadow-soft);
}

.gp-page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 32px;
    padding: 0 0.85rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.gp-page-hero__title {
    font-size: clamp(1.6rem, 1.35rem + 1vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--gp-text);
    font-weight: 900;
    margin: 1rem 0 0.7rem;
    max-width: 16ch;
}

.gp-page-hero__copy {
    max-width: 60ch;
    color: var(--gp-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.gp-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.gp-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 34px;
    padding: 0 0.9rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.gp-toolbar,
.gp-section-surface {
    border: 1px solid var(--gp-border);
    background: var(--gp-surface);
    border-radius: 1.5rem;
    box-shadow: var(--gp-shadow-card);
}

.gp-toolbar {
    padding: 1rem;
}

.gp-checkout-lane {
    border: 1px solid var(--gp-border);
    border-radius: 1.5rem;
    padding: 1.15rem 1.25rem;
    box-shadow: var(--gp-shadow-card);
}

.gp-checkout-lane--digital {
    background: linear-gradient(135deg, #eff6ff, #ffffff 38%, #f8fafc);
}

.gp-checkout-lane--physical {
    background: linear-gradient(135deg, #fff7ed, #ffffff 38%, #f8fafc);
}

.gp-checkout-lane__label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 30px;
    padding: 0 0.8rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--gp-border);
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.gp-checkout-lane__title {
    font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.9rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: var(--gp-text);
    font-weight: 900;
    margin: 0.9rem 0 0.45rem;
}

.gp-checkout-lane__copy {
    color: var(--gp-muted);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

.gp-checkout-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.95rem;
}

.gp-checkout-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 32px;
    padding: 0 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--gp-border);
    color: #475569;
    font-size: 11px;
    font-weight: 800;
}

.gp-skeleton,
.gp-skeleton-image::before {
    background: linear-gradient(90deg, #eef2f7 0%, #f8fafc 45%, #eef2f7 100%);
    background-size: 200% 100%;
    animation: gp-soft-pulse 1.6s ease-in-out infinite;
}

.gp-skeleton-image {
    position: relative;
    overflow: hidden;
    background: #eef2f7;
}

.gp-skeleton-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.gp-skeleton-image::after {
    content: "";
    position: absolute;
    inset: 12%;
    z-index: 0;
    background-image: url('/assets/getpress/images/default_book_cover.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.1;
    pointer-events: none;
}

.gp-skeleton-image > * {
    position: relative;
    z-index: 2;
}

.gp-skeleton-image.is-loaded::before {
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gp-skeleton-image.is-loaded::after {
    opacity: 0;
    transition: opacity 0.25s ease;
}

@keyframes gp-soft-pulse {
    0% {
        background-position: 100% 50%;
        opacity: 0.72;
    }
    50% {
        background-position: 0% 50%;
        opacity: 1;
    }
    100% {
        background-position: -100% 50%;
        opacity: 0.78;
    }
}

.member-sidebar {
    border: 1px solid var(--gp-border);
    background: #fff;
    border-radius: 1.75rem;
    box-shadow: var(--gp-shadow-card);
}

.member-profile-header {
    background: linear-gradient(160deg, #7f273d 0%, #5a1f2d 45%, #0f172a 100%);
}

.member-bottom-nav {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.85rem;
    z-index: 48;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.4rem;
    padding: 0.5rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.3rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.member-bottom-nav-item {
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    border-radius: 1rem;
    color: #64748b;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    transition: 0.18s ease;
}

.member-bottom-nav-item.active {
    color: #dc2626;
    background: #fff1f2;
}

.member-content-with-bottom-nav {
    padding-top: 0.9rem;
    padding-bottom: 6.5rem;
}

.gp-member-sidebar-sticky {
    top: calc(var(--gp-header-height-mobile) + 0.9rem);
    height: calc(100vh - var(--gp-header-height-mobile) - 1.8rem);
}

.gp-footer-shell {
    border-top: 1px solid var(--gp-border);
    background: linear-gradient(180deg, #fffefe 0%, #f8fafc 100%);
}

.gp-footer-cta {
    border: 1px solid var(--gp-border);
    border-radius: 1.8rem;
    padding: clamp(1.4rem, 1rem + 1vw, 2rem);
    background: linear-gradient(135deg, #fff1f2, #ffffff 45%, #fff7ed);
    box-shadow: var(--gp-shadow-soft);
}

.gp-footer-panel {
    border: 1px solid var(--gp-border);
    border-radius: 1.6rem;
    background: #fff;
    box-shadow: var(--gp-shadow-card);
}

.gp-testimonial-copy.is-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

@media (max-width: 1023px) {
    :root {
        --gp-header-top: 32px;
        --gp-header-main: 62px;
    }

    body.public-shell {
        padding-top: var(--gp-header-offset);
    }

    .gp-page-hero {
        padding: 1rem 0;
    }

    .gp-page-hero__inner {
        border-radius: 1.25rem;
        padding: 1.1rem;
    }

    .gp-page-hero__title {
        max-width: none;
    }
}

@media (max-width: 767px) {
    :root {
        --gp-header-top: 30px;
        --gp-header-main: 58px;
    }

    .gp-public-header__row {
        min-height: 58px;
    }

    .gp-public-brand__logo {
        width: 38px;
        height: 38px;
    }

    .gp-public-icon-btn,
    .gp-public-account {
        min-height: 38px;
    }

    .gp-public-icon-btn {
        width: 38px;
        border-radius: 0.9rem;
    }

    .gp-public-account {
        padding-right: 0.5rem;
        border-radius: 0.95rem;
    }

    .gp-public-account__avatar {
        width: 28px;
        height: 28px;
        border-radius: 0.8rem;
    }

    .gp-public-search {
        min-width: 100%;
        height: 42px;
    }

    .member-bottom-nav {
        left: 0.5rem;
        right: 0.5rem;
        bottom: 0.55rem;
    }
}

/* Search */
.gp-search {
    display: none;
    flex: 1;
    max-width: 400px;
}

.gp-search-box {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 10px 16px;
    transition: all 0.3s;
}

.gp-search-box:focus-within {
    background: #fff;
    border-color: #fca5a5;
    box-shadow: 0 0 0 4px rgba(252, 165, 165, 0.2);
}

.gp-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #0f172a;
}

.gp-search-input::placeholder {
    color: #94a3b8;
}

.gp-search-btn {
    background: transparent;
    border: none;
    color: #dc2626;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    transition: all 0.2s;
}

.gp-search-btn:hover {
    color: #b91c1c;
    text-decoration: underline;
}

/* Action Buttons */
.gp-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gp-action-btn {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: none;
    border-radius: 12px;
    color: #dc2626;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.gp-action-btn:hover {
    background: #fef2f2;
    color: #b91c1c;
    transform: translateY(-1px);
}

.gp-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    background: #dc2626;
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Login Button */
.gp-login-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: #dc2626;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.3);
}

.gp-login-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

/* User Button */
.gp-user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.gp-user-btn:hover {
    background: #f1f5f9;
}

.gp-user-avatar {
    width: 36px;
    height: 36px;
    background: #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
}

.gp-user-info {
    display: none;
    text-align: left;
}

.gp-user-label {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500;
}

.gp-user-name {
    font-size: 12px;
    color: #334155;
    font-weight: 700;
}

/* Mobile Toggle */
.gp-mobile-toggle {
    display: flex;
}

/* Mobile Nav */
.gp-mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 12px;
    z-index: 100;
    max-height: 80vh;
    overflow-y: auto;
}

.gp-mobile-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.gp-mobile-nav a:hover {
    background: #f1f5f9;
}

.gp-mobile-nav a.active {
    background: #fef2f2;
    color: #dc2626;
}

.gp-mobile-nav a i {
    width: 18px;
    text-align: center;
    font-size: 14px;
}

/* Cart Overlay & Panel - Works with Alpine x-show */
.gp-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    /* Note: visibility controlled by Alpine x-show, not CSS class toggle */
}

/* Legacy class toggle support (deprecated - use Alpine) */
.gp-cart-overlay.open {
    display: block;
}

.gp-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 400px;
    background: white;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 201;
}

.gp-cart-overlay.open .gp-cart-panel {
    transform: translateX(0);
}

.gp-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.gp-cart-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.gp-cart-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #64748b;
    cursor: pointer;
    font-size: 20px;
}

.gp-cart-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.gp-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.gp-cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.gp-cart-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.gp-cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 12px;
}

.gp-cart-item-img {
    width: 50px;
    height: 65px;
    background: #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.gp-cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-cart-item-info {
    flex: 1;
    min-width: 0;
}

.gp-cart-item-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gp-cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: #dc2626;
    margin-top: 4px;
}

.gp-cart-footer {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.gp-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.gp-cart-total-label {
    color: #64748b;
    font-weight: 500;
}

.gp-cart-total-value {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.gp-checkout-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: #dc2626;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    transition: background 0.2s;
}

/* ========================================
   MEMBER BOTTOM NAVIGATION
   Mobile & Premium Design
   ======================================== */

@media (min-width: 1024px) {
    .gp-checkout-btn:hover {
        background: #b91c1c;
    }
}

.gp-checkout-btn:hover {
    background: #b91c1c;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

@media (min-width: 768px) {
    .gp-search {
        display: flex;
    }

    .gp-login-btn {
        display: flex;
    }

    .gp-user-info {
        display: block;
    }
}

@media (min-width: 1024px) {
    .gp-nav {
        display: flex;
    }

    .gp-mobile-toggle {
        display: none;
    }
}

/* ========================================
   STYLE.BLADE.PHP EXTRACTED STYLES
   ======================================== */

/* Alpine.js cloak */
[x-cloak] {
    display: none !important;
}

/* Custom Select2 styling */
.select2-container--default .select2-selection--single {
    background-color: #F8FAFC;
    border: 2px solid #E2E8F0;
    border-radius: 0.75rem;
    height: 48px;
    padding: 8px 12px;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #60A5FA;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.05);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
    color: #334155;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    right: 12px;
}

.select2-dropdown {
    border: 2px solid #E2E8F0;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: linear-gradient(135deg, #3B82F6 0%, #14B8A6 100%);
}

/* Navigation Link Styles */
.header-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.top-bar-gradient {
    background: linear-gradient(to right, #7f1d1d, #dc2626, #7f1d1d);
}

.nav-link {
    color: #475569;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    white-space: nowrap;
    display: inline-block;
}

.nav-link:hover {
    color: #ef4444;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, #ef4444, #f97316);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateX(-50%);
    border-radius: 999px;
}

.nav-link:hover::after,
.nav-link-active::after {
    width: 105%;
}

.nav-link-active {
    color: #ef4444;
}

/* Search Pill */
.search-pill {
    background: #f1f5f9;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-pill:focus-within {
    background: #ffffff;
    border-color: #fca5a5;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.05);
}

/* Animation Utilities */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ----------------------------------------
   PREMIUM PHOTO UPLOAD SYSTEM
   ---------------------------------------- */

.profile-photo-container {
    position: relative;
    width: 128px;
    height: 128px;
    margin: 0 auto;
}

.profile-photo-wrapper {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    background: #f1f5f9;
}

.profile-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-loading-spinner {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    z-index: 20;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.photo-loading-spinner.active {
    display: flex;
}

.upload-progress-ring {
    width: 40px;
    height: 40px;
    border: 3px solid #f1f5f9;
    border-top: 3px solid #dc2626;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.photo-success-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #10b981;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 30;
}

.photo-success-badge.active {
    transform: scale(1);
}

.photo-edit-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #dc2626;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    border: 2px solid white;
    transition: all 0.3s ease;
    z-index: 25;
}

.photo-edit-btn:hover {
    transform: scale(1.1) rotate(15deg);
    background: #b91c1c;
}

/* ========================================
   MICRO-ANIMATIONS & TRANSITIONS
   Premium UX Enhancement Suite
   ======================================== */

/* === ENTRANCE ANIMATIONS === */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse-subtle {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-4px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(4px);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(220, 38, 38, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    }
}

/* === ANIMATION UTILITY CLASSES === */

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.5s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.5s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.5s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease-out forwards;
}

.animate-slide-in-up {
    animation: slideInUp 0.4s ease-out forwards;
}

.animate-shimmer {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.animate-shake {
    animation: shake 0.5s ease-in-out;
}

.animate-glow {
    animation: glow-pulse 2s ease-in-out infinite;
}

/* Stagger delays for list items */
.stagger-1 {
    animation-delay: 0.05s;
}

.stagger-2 {
    animation-delay: 0.1s;
}

.stagger-3 {
    animation-delay: 0.15s;
}

.stagger-4 {
    animation-delay: 0.2s;
}

.stagger-5 {
    animation-delay: 0.25s;
}

.stagger-6 {
    animation-delay: 0.3s;
}

.stagger-7 {
    animation-delay: 0.35s;
}

.stagger-8 {
    animation-delay: 0.4s;
}

/* Initial hidden state for animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* === SCROLL REVEAL VARIANTS === */

.scroll-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* === ENHANCED PRODUCT CARD ANIMATIONS === */

.product-card-enhanced {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.product-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

.product-card-enhanced:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -4px rgba(0, 0, 0, 0.12);
}

.product-card-enhanced .product-image {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-enhanced:hover .product-image {
    transform: scale(1.05);
}

/* === BUTTON PRESS ANIMATION === */

.btn-press {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-press:hover {
    transform: translateY(-2px);
}

.btn-press:active {
    transform: translateY(0) scale(0.98);
}

/* === TOUCH RIPPLE EFFECT === */

.ripple-container {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    animation: ripple 0.6s linear;
}

/* === CART PANEL ANIMATIONS === */

.cart-panel-enter {
    animation: slideInFromRight 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.cart-panel-leave {
    animation: slideOutToRight 0.25s ease-in forwards;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.cart-backdrop {
    transition: opacity 0.3s ease;
}

.cart-item-enter {
    animation: fadeInLeft 0.3s ease-out forwards;
}

.cart-item-remove {
    animation: fadeOutRight 0.3s ease-in forwards;
}

@keyframes fadeOutRight {
    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

/* === FORM INPUT ANIMATIONS === */

.input-focus-ring {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.input-focus-ring:focus {
    border-color: var(--color-primary-600);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
    background-color: #fff;
}

.floating-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.2s ease;
    pointer-events: none;
    color: var(--color-slate-400);
    font-size: 14px;
}

.floating-label.active,
input:focus+.floating-label,
input:not(:placeholder-shown)+.floating-label {
    top: 8px;
    transform: translateY(0);
    font-size: 11px;
    color: var(--color-primary-600);
    font-weight: 600;
}

.input-success {
    border-color: var(--color-success) !important;
}

.input-error {
    border-color: var(--color-error) !important;
    animation: shake 0.4s ease-in-out;
}

/* === TOAST NOTIFICATION STYLES === */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #10b981;
    pointer-events: auto;
    animation: toastSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    max-width: 380px;
}

.toast-success {
    border-left-color: #10b981;
}

.toast-error {
    border-left-color: #ef4444;
}

.toast-warning {
    border-left-color: #f59e0b;
}

.toast-info {
    border-left-color: #3b82f6;
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: #d1fae5;
    color: #10b981;
}

.toast-error .toast-icon {
    background: #fee2e2;
    color: #ef4444;
}

.toast-warning .toast-icon {
    background: #fef3c7;
    color: #f59e0b;
}

.toast-info .toast-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
}

.toast-message {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

.toast-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #0f172a;
}

.toast-exit {
    animation: toastSlideOut 0.3s ease-in forwards;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* === BACK TO TOP BUTTON === */

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--color-primary-600);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
}

@media (max-width: 1024px) {
    .back-to-top {
        bottom: 24px;
        /* Align with WhatsApp by default */
        width: 44px;
        height: 44px;
    }

    .back-to-top.has-filter {
        bottom: 100px;
        /* Shift up only when filter is present */
    }
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary-700);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.5);
}

/* === MOBILE TOUCH ENHANCEMENTS === */

@media (hover: none) and (pointer: coarse) {

    /* Larger touch targets */
    .touch-target {
        min-height: 44px;
        min-width: 44px;
    }

    /* Active state feedback */
    .touch-feedback:active {
        opacity: 0.8;
        transform: scale(0.98);
    }

    /* Remove hover animations on touch */
    .product-card-enhanced:hover {
        transform: none;
        box-shadow: var(--shadow-card);
    }
}

/* === LOADING SKELETON ENHANCEMENTS === */

.skeleton {
    background: linear-gradient(90deg,
            #f1f5f9 0%,
            #e2e8f0 50%,
            #f1f5f9 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 8px;
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-text-sm {
    height: 12px;
    width: 60%;
}

.skeleton-image {
    aspect-ratio: 2/3;
    border-radius: 12px;
}

.skeleton-card {
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

/* === PAGE TRANSITION === */

.page-enter {
    animation: fadeInUp 0.4s ease-out forwards;
}

main {
    animation: fadeInUp 0.35s ease-out;
}

/* === HERO SECTION ENHANCEMENTS === */

.hero-text-animate {
    animation: fadeInUp 0.7s ease-out forwards;
}

.hero-text-animate:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-text-animate:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-text-animate:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-cta-animate {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

/* Floating background shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatShape 6s ease-in-out infinite;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ========================================
   MEMBER AREA DESIGN SYSTEM
   Premium UI/UX with Glassmorphism & Animations
   ======================================== */

/* Member Area Tokens */
:root {
    --member-sidebar-width: 280px;
    --member-sidebar-collapsed: 72px;
    --member-content-max: 1200px;
    --member-bottom-nav-height: 64px;
}

/* ----------------------------------------
   GLASSMORPHISM UTILITIES
   ---------------------------------------- */

.member-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.member-glass-dark {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ----------------------------------------
   MEMBER SIDEBAR STYLES
   ---------------------------------------- */

.member-sidebar {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-right: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

/* Fix sidebar visibility on desktop (lg: 1024px+) */
@media (min-width: 1024px) {

    .hidden.lg\:block,
    div.hidden.lg\:block {
        display: block !important;
    }
}

.member-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.03) 0%, rgba(220, 38, 38, 0) 100%);
    pointer-events: none;
}

/* Sidebar Profile Header */
.member-profile-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.member-profile-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

/* Sidebar Navigation Item */
.member-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    color: #475569;
    transition: all 0.2s ease;
    overflow: hidden;
}

.member-nav-item:hover {
    background: #f1f5f9;
    color: #0f172a;
    transform: translateX(4px);
}

.member-nav-item.active {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
    color: #dc2626;
    font-weight: 600;
}

.member-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 0 4px 4px 0;
    animation: slideInLeft 0.3s ease;
}

.member-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.member-nav-item:hover i {
    transform: scale(1.1);
}

/* Sidebar Section Title */
.member-nav-section {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 16px 16px 8px;
}

/* ----------------------------------------
   STAT CARDS WITH ANIMATIONS
   ---------------------------------------- */

.member-stat-card {
    position: relative;
    border-radius: 20px;
    padding: 24px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.member-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.member-stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-stat-card:hover::before {
    opacity: 1;
}

/* Gradient Variants */
.member-stat-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    color: white;
}

.member-stat-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    color: white;
}

.member-stat-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    color: white;
}

.member-stat-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: white;
}

.member-stat-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    color: white;
}

/* Stat Icon */
.member-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    backdrop-filter: blur(10px);
}

/* Stat Number with Counter Animation */
.member-stat-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin: 12px 0 4px;
    animation: countUp 0.8s ease-out forwards;
}

.member-stat-label {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.85;
}

/* ----------------------------------------
   CONTENT CARDS
   ---------------------------------------- */

.member-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.2s ease;
}

.member-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

.member-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.member-card-body {
    padding: 24px;
}

/* ----------------------------------------
   TABLES ENHANCEMENT
   ---------------------------------------- */

.member-table {
    width: 100%;
}

.member-table thead {
    background: #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.member-table th {
    padding: 14px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    border-bottom: 2px solid #e2e8f0;
}

.member-table td {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.member-table tbody tr {
    transition: all 0.15s ease;
}

.member-table tbody tr:hover {
    background: #f8fafc;
}

.member-table tbody tr:hover td {
    color: #0f172a;
}

/* ----------------------------------------
   BADGES & STATUS
   ---------------------------------------- */

.member-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.member-badge-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #047857;
}

.member-badge-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #b45309;
}

.member-badge-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #b91c1c;
}

.member-badge-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
}

.member-badge-neutral {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #475569;
}

/* ----------------------------------------
   MOBILE BOTTOM NAVIGATION
   ---------------------------------------- */

.member-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--member-bottom-nav-height, 64px);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex !important;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

/* Hide on desktop (lg: 1024px+) */
@media (min-width: 1024px) {
    .member-bottom-nav {
        display: none !important;
    }
}

.member-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.2s ease;
    color: #64748b;
    min-width: 64px;
}

.member-bottom-nav-item:hover,
.member-bottom-nav-item:active {
    background: #f1f5f9;
}

.member-bottom-nav-item.active {
    color: #dc2626;
}

.member-bottom-nav-item.active i {
    transform: scale(1.1);
}

.member-bottom-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
}

.member-bottom-nav-item span {
    font-size: 10px;
    font-weight: 600;
}

/* ----------------------------------------
   EMPTY STATES
   ---------------------------------------- */

.member-empty-state {
    text-align: center;
    padding: 48px 24px;
}

.member-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #94a3b8;
}

.member-empty-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.member-empty-desc {
    font-size: 14px;
    color: #64748b;
    max-width: 300px;
    margin: 0 auto;
}

/* ----------------------------------------
   ANIMATIONS
   ---------------------------------------- */

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateY(-50%) translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.member-shimmer {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Page transition */
.member-page-enter {
    animation: fadeInUp 0.4s ease-out forwards;
}

/* Card stagger animation */
.member-stagger>* {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.member-stagger>*:nth-child(1) {
    animation-delay: 0.05s;
}

.member-stagger>*:nth-child(2) {
    animation-delay: 0.1s;
}

.member-stagger>*:nth-child(3) {
    animation-delay: 0.15s;
}

.member-stagger>*:nth-child(4) {
    animation-delay: 0.2s;
}

.member-stagger>*:nth-child(5) {
    animation-delay: 0.25s;
}

.member-stagger>*:nth-child(6) {
    animation-delay: 0.3s;
}

/* ----------------------------------------
   RESPONSIVE ADJUSTMENTS
   ---------------------------------------- */

@media (max-width: 1024px) {
    .member-content-with-bottom-nav {
        padding-bottom: calc(var(--member-bottom-nav-height) + 100px) !important;
    }

    /* Aggressive Hide Back to Top button on mobile member area */
    body #topcontrol,
    body .member-content-with-bottom-nav~#topcontrol,
    #topcontrol[style*="display: block"] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

@media (max-width: 768px) {
    .member-stat-card {
        padding: 20px;
    }

    .member-stat-number {
        font-size: 1.75rem;
    }

    .member-card-header {
        padding: 16px 20px;
    }

    .member-card-body {
        padding: 20px;
    }
}

/* ----------------------------------------
   PREMIUM BUTTON STYLES
   ---------------------------------------- */

.member-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.member-btn-sm {
    padding: 8px 14px;
    font-size: 12px;
    gap: 5px;
    border-radius: 8px;
}

.member-btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 4px 14px -3px rgba(220, 38, 38, 0.4);
}

.member-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(220, 38, 38, 0.5);
}

.member-btn-secondary {
    background: #f1f5f9;
    color: #475569;
}

.member-btn-secondary:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.member-btn-outline {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #475569;
}

.member-btn-outline:hover {
    border-color: #dc2626;
    color: #dc2626;
}

/* ----------------------------------------
   OWL CAROUSEL NAVIGATION
   Premium styled navigation arrows
   ---------------------------------------- */

/* Ensure carousel has position context for nav */
.owl-carousel {
    position: relative;
}

.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex !important;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 8px;
    left: 0;
    z-index: 20;
}

/* Override disabled state - force show nav */
.owl-carousel .owl-nav.disabled {
    display: flex !important;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    background: white !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #1e293b !important;
    font-size: 18px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s ease;
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
}

.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
    background: #dc2626 !important;
    border-color: #dc2626 !important;
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

.owl-carousel .owl-nav .owl-prev {
    margin-left: -20px;
}

.owl-carousel .owl-nav .owl-next {
    margin-right: -20px;
}

.owl-carousel .owl-nav .owl-prev span,
.owl-carousel .owl-nav .owl-next span {
    display: none;
}

.owl-carousel .owl-nav button.owl-prev i,
.owl-carousel .owl-nav button.owl-next i {
    font-size: 14px;
}

/* Dots styling */
.owl-carousel .owl-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.owl-carousel .owl-dots .owl-dot {
    width: 8px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.owl-carousel .owl-dots .owl-dot.active {
    background: #dc2626;
    transform: scale(1.2);
}

.owl-carousel .owl-dots .owl-dot:hover {
    background: #dc2626;
}

/* Layout Density & Whitespace Refinements */
section {
    padding-top: clamp(0.75rem, 1.5vw, 1.5rem) !important;
    padding-bottom: clamp(0.75rem, 1.5vw, 1.5rem) !important;
}

@media (max-width: 640px) {
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Mobile Filter Drawer Utilities */
[x-cloak] {
    display: none !important;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ========================================
   PUBLIC SHELL SYSTEM
   Shared look for all public-facing pages
   ======================================== */

.public-shell {
    background:
        radial-gradient(circle at top left, rgba(254, 226, 226, 0.65), transparent 32%),
        radial-gradient(circle at top right, rgba(255, 237, 213, 0.7), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 22%, #f8fafc 100%);
}

.public-shell main#main-content {
    position: relative;
}

.public-shell main#main-content::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: min(380px, 45vw);
    height: min(380px, 45vw);
    background: radial-gradient(circle, rgba(254, 242, 242, 0.9) 0%, rgba(254, 242, 242, 0) 72%);
    pointer-events: none;
    z-index: -1;
}

.gp-public-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 26rem;
}

.gp-public-search__icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 12px;
    pointer-events: none;
}

.gp-public-search__input {
    width: 100%;
    height: 42px;
    border-radius: 9999px;
    border: 1px solid rgba(203, 213, 225, 0.95);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
    padding: 0 1rem 0 2.8rem;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gp-public-search__input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.gp-public-search__input:focus {
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 10px 32px rgba(220, 38, 38, 0.08);
    background: #ffffff;
}

.gp-checkout-lane {
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
    border-radius: 1.5rem;
    padding: 0.95rem 1rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.gp-checkout-lane--digital {
    background: linear-gradient(135deg, rgba(254, 242, 242, 0.98), rgba(255, 255, 255, 0.98), rgba(255, 247, 237, 0.98));
}

.gp-checkout-lane--physical {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.98), rgba(240, 253, 250, 0.98));
}

.gp-checkout-lane__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 0.8rem;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #64748b;
    border: 1px solid rgba(226, 232, 240, 0.95);
}

.gp-checkout-lane__title {
    margin: 0.7rem 0 0.3rem;
    font-size: clamp(1.15rem, 1rem + 0.55vw, 1.6rem);
    line-height: 1.15;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.gp-checkout-lane__copy {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.gp-checkout-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.gp-checkout-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.95);
    padding: 0.5rem 0.85rem;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.gp-section-surface {
    border-radius: 1.6rem;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.gp-page-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    background:
        radial-gradient(circle at top left, rgba(254, 226, 226, 0.85), transparent 28%),
        radial-gradient(circle at top right, rgba(255, 237, 213, 0.7), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
}

.gp-page-hero__inner {
    position: relative;
    z-index: 1;
    padding: 2rem 0 1.5rem;
}

.gp-page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.45rem 0.8rem;
    color: #dc2626;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.gp-page-hero__title {
    margin: 0.95rem 0 0.45rem;
    font-size: clamp(1.8rem, 1.3rem + 1.6vw, 3.2rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.gp-page-hero__copy {
    max-width: 44rem;
    margin: 0;
    color: #475569;
    font-size: clamp(0.95rem, 0.88rem + 0.2vw, 1.05rem);
    line-height: 1.7;
}

.gp-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.gp-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.94);
    padding: 0.5rem 0.85rem;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.gp-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0.95rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.gp-info-banner {
    border-radius: 1.2rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
    padding: 0.9rem 1rem;
}

.gp-skeleton,
.gp-skeleton-line,
.gp-skeleton-block,
.gp-skeleton-chip,
.gp-skeleton-avatar,
.gp-skeleton-image::before {
    background:
        linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 48%, rgba(255,255,255,0) 100%),
        #e8eef5;
    background-size: 180px 100%, 100% 100%;
    background-repeat: no-repeat;
    animation: gp-skeleton-sweep 1.7s ease-in-out infinite, gp-skeleton-breathe 1.8s ease-in-out infinite;
}

.gp-skeleton {
    position: relative;
    overflow: hidden;
}

.gp-skeleton-line,
.gp-skeleton-block,
.gp-skeleton-chip,
.gp-skeleton-avatar {
    display: block;
    border-radius: 0.85rem;
}

.gp-skeleton-line {
    height: 0.9rem;
}

.gp-skeleton-chip {
    height: 2rem;
    border-radius: 9999px;
}

.gp-skeleton-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
}

.gp-skeleton-region {
    position: relative;
}

.gp-skeleton-region.is-loading [data-skeleton-content] {
    opacity: 0;
    pointer-events: none;
}

.gp-skeleton-region [data-skeleton-placeholder] {
    display: none;
}

.gp-skeleton-region.is-loading [data-skeleton-placeholder] {
    display: block;
}

.gp-skeleton-region.is-ready [data-skeleton-placeholder] {
    display: none;
}

.gp-skeleton-region.is-ready [data-skeleton-content] {
    opacity: 1;
    pointer-events: auto;
}

.gp-skeleton-image {
    position: relative;
    background: #e8eef5;
}

.gp-skeleton-image img {
    opacity: 0;
    transition: opacity 0.28s ease;
    position: relative;
    z-index: 2;
}

.gp-skeleton-image.is-loaded {
    background: transparent;
}

.gp-skeleton-image.is-loaded::before {
    opacity: 0;
}

.gp-skeleton-image.is-loaded img {
    opacity: 1;
}

.gp-skeleton-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: opacity 0.25s ease;
}

@keyframes gp-skeleton-sweep {
    0% {
        background-position: -220px 0, 0 0;
    }
    100% {
        background-position: calc(100% + 220px) 0, 0 0;
    }
}

@keyframes gp-skeleton-breathe {
    0%, 100% {
        opacity: 0.88;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 1023px) {
    .gp-public-search__input {
        height: 42px;
    }

    .gp-page-hero__inner {
        padding: 1.45rem 0 1.2rem;
    }
}

/* 2026-04 refinement pass: calmer header, lighter heroes, subtler footer, sturdier testimonial expand */
:root {
    --gp-header-top: 40px;
    --gp-header-main: 68px;
}

body.public-shell {
    background: #f8fafc;
}

.gp-public-header__top {
    background: #fff;
    border-bottom: 1px solid #edf2f7;
    backdrop-filter: none;
    /* padding-top removed — vertical centering handled by inline grid */
}

.gp-top-strip-link {
    padding: 0.2rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.12em;
    gap: 0.45rem;
}

.gp-top-strip-link:hover {
    color: #dc2626;
    border-color: transparent;
    background: transparent;
}

.gp-public-header__main {
    background: #fff;
    border-bottom: 1px solid #e9eef5;
    backdrop-filter: none;
}

.gp-public-header__main.is-scrolled {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.gp-public-header__row {
    min-height: var(--gp-header-main);
    gap: 0.85rem;
}

.gp-public-brand {
    align-items: center;
}

.gp-public-brand__title {
    font-size: 14px;
    white-space: nowrap;
}

.gp-public-brand__sub {
    font-size: 10px;
}

.gp-public-nav {
    gap: 0.15rem;
}

.gp-public-nav a,
.gp-public-nav__dropdown {
    min-height: 38px;
    padding: 0 0.9rem;
    font-size: 13px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gp-public-explore-card {
    border-radius: 0.85rem;
    min-height: 104px;
}

.gp-public-explore-card__icon {
    border-radius: 0.7rem;
}

.gp-public-search {
    min-width: min(470px, 33vw);
    height: 42px;
    border: 1px solid #d9e2ec;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.gp-public-search__icon {
    top: 50%;
    left: 15px;
    bottom: auto;
    transform: translateY(-50%) !important;
    font-size: 15px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    width: 18px;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.gp-public-search__input {
    padding: 0 16px 0 41px;
    font-size: 13px;
    font-weight: 700;
}

.gp-public-search__input::placeholder {
    color: #9aa8bb;
}

.gp-public-cta,
.gp-public-login {
    min-height: 40px;
    padding: 0 0.95rem;
    font-size: 12px;
}

.gp-public-cta {
    background: #fff4f3;
    border: 1px solid #ffe0dc;
}

.gp-public-account {
    min-height: 42px;
    border-color: #e5eaf1;
    box-shadow: none;
}

.gp-page-hero,
.gp-page-hero__inner,
.gp-page-hero__inner--compact {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.gp-page-hero {
    overflow: visible;
    padding: 0;
    border-bottom: 0;
}

.gp-page-hero__inner,
.gp-page-hero__inner--compact {
    max-width: 980px;
    padding: 1rem 0 0.85rem;
}

.gp-page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #ef4444;
}

.gp-page-hero__title {
    max-width: 860px;
    margin: 0.45rem 0 0.25rem;
    font-size: clamp(1.55rem, 1.2rem + 1vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.gp-page-hero__copy {
    max-width: 760px;
    font-size: 0.98rem;
    line-height: 1.72;
}

.gp-chip-row {
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.gp-chip {
    padding: 0.46rem 0.8rem;
    border: 1px solid #e7edf5;
    box-shadow: none;
}

.gp-toolbar {
    padding: 0.75rem 0.85rem;
    border-radius: 1.1rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.gp-toolbar--catalog {
    top: calc(var(--gp-header-main) + 0.85rem);
}

.gp-footer-shell {
    background: transparent;
}

.gp-footer-cta {
    border: 1px solid #e7edf5;
    border-radius: 1.3rem;
    background: linear-gradient(180deg, #fff, #fbfcfe);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.gp-footer-panel {
    border-radius: 1.4rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.gp-testimonial-copy {
    position: relative;
    transition: max-height 0.22s ease;
}

.gp-testimonial-copy.is-collapsed {
    display: block;
    max-height: 5.9em;
    overflow: hidden;
}

.gp-testimonial-copy:not(.is-collapsed) {
    max-height: none;
}

@media (max-width: 1023px) {
    :root {
        --gp-header-top: 0px;
        --gp-header-main: 60px;
    }

    .gp-top-strip-link {
        font-size: 9px;
        letter-spacing: 0.12em;
    }

    .gp-public-search {
        min-width: 100%;
        height: 40px;
    }

    .gp-page-hero__inner,
    .gp-page-hero__inner--compact {
        padding: 0.85rem 0 0.7rem;
    }

    .gp-page-hero__title {
        font-size: clamp(1.35rem, 1.15rem + 1.6vw, 2rem);
    }

    .gp-page-hero__copy {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .gp-footer-cta {
        border-radius: 1.1rem;
    }
}

/* ========================================
   FINAL PUBLIC SHELL OVERRIDES
   Shared bug-fix layer to beat legacy styles
   ======================================== */

.gp-header-search-icon,
.gp-public-search i,
.gp-toolbar-search i,
.gp-header .fa-search,
.gp-header [class*="fa-search"] {
    top: 50% !important;
    transform: translateY(-50%) !important;
    line-height: 1 !important;
}

.gp-nav-link,
.gp-nav a,
.gp-brand-title,
.gp-header a {
    word-break: keep-all;
}

.gp-nav-link[href*="product"],
.gp-nav a[href*="product"] {
    white-space: nowrap !important;
}

.gp-explore-menu a,
.gp-header-explore-card,
.gp-header-explore-card:hover {
    border-radius: 1.1rem !important;
}

.gp-footer-quicklink {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 0.75rem 1rem;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.gp-footer-quicklink:hover {
    border-color: #fecaca;
    color: #dc2626;
    background: #fff7f7;
    transform: translateY(-1px);
}

.gp-site-footer {
    background: transparent;
}

.gp-skeleton-table-row {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.7fr;
    gap: 0.9rem;
    padding: 0.9rem 0;
}

.gp-skeleton-panel {
    border-radius: 1.2rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.gp-skeleton-panel > * + * {
    margin-top: 0.7rem;
}

.gp-skeleton-region.is-loading [data-skeleton-content] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gp-skeleton-region.is-loading [data-skeleton-placeholder] {
    display: block;
}

.gp-skeleton-region.is-ready [data-skeleton-placeholder] {
    display: none;
}

.gp-skeleton-region.is-ready [data-skeleton-content] {
    opacity: 1;
    visibility: visible;
}

.gp-testimonial-copy {
    color: #475569;
}

.gp-testimonial-copy.is-collapsed {
    max-height: 5.9em;
    overflow: hidden;
}

.gp-testimonial-copy:not(.is-collapsed) {
    max-height: none;
}

@media (max-width: 1023px) {
    .gp-top-strip {
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }

    .gp-nav-link,
    .gp-nav a {
        white-space: nowrap !important;
    }

    .gp-footer-quicklink {
        min-height: 2.85rem;
        font-size: 0.77rem;
        padding: 0.7rem 0.85rem;
    }
}

/* ========================================
   FINAL PUBLIC SHELL REFACTOR
   Desktop / Mobile strict modes, BookCard parity,
   reserved media and skeleton-first loading
   ======================================== */

:root {
    --gp-header-height-desktop: 86px;
    --gp-header-height-mobile: 74px;
    --gp-mobile-nav-safe-offset: 84px;
    --gp-book-card-ratio: 1 / 1.5;
    --gp-skeleton-base: #e2e8f0;
    --gp-skeleton-highlight: rgba(255,255,255,0.92);
    --gp-reserved-hero-height: clamp(240px, 28vw, 440px);
    --gp-reserved-card-media-height: clamp(240px, 23vw, 360px);
}

.public-shell {
    padding-top: calc(var(--gp-header-height-mobile) + 0.35rem);
}

.gp-public-header__top {
    border-bottom: 1px solid rgba(226, 232, 240, 0.78);
}

.gp-public-header__main {
    min-height: var(--gp-header-height-mobile);
}

.gp-public-header__row {
    min-height: var(--gp-header-height-mobile);
    gap: 0.85rem;
}

.gp-public-brand {
    min-width: 0;
}

.gp-public-brand__logo {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.gp-public-header__tools {
    gap: 0.7rem;
}

.gp-public-header__tools > * {
    flex-shrink: 0;
}

.gp-public-icon-btn,
.gp-public-cta,
.gp-public-login,
.gp-public-nav a,
.gp-public-nav__dropdown,
.gp-mobile-nav-link,
.gp-public-menu-link,
.gp-public-explore-card,
.gp-footer-quicklink {
    min-height: 44px;
}

.gp-public-search {
    min-height: 3rem;
    border-radius: 9999px;
}

.gp-public-search__icon {
    top: 50%;
    transform: translateY(-50%);
}

.gp-public-search__input {
    min-height: 3rem;
    line-height: 1.2;
}

.gp-public-search__input:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.gp-public-account__meta {
    min-width: 0;
}

.gp-public-account__role {
    white-space: nowrap;
}

.gp-public-explore-card {
    justify-content: flex-start;
    padding-inline: 0.9rem;
}

.gp-public-explore-card__icon {
    flex-shrink: 0;
}

.product-card-enhanced,
.gp-book-card-shell {
    min-height: 100%;
}

.product-card-enhanced [data-skeleton-image] {
    aspect-ratio: 2 / 3;
    min-height: auto;
    padding: 0;
    background: #f1f5f9;
    box-shadow: none;
    border: 0;
}

.product-card-enhanced [data-skeleton-image].is-loaded {
    background: #f1f5f9;
}

.product-card-enhanced [data-skeleton-image].is-loaded::before {
    opacity: 0 !important;
    animation: none !important;
}

.product-card-enhanced .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.product-card-enhanced h3,
.product-card-enhanced h4 {
    min-height: 2.9em;
}

.product-card-enhanced .line-clamp-2,
.gp-book-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gp-skeleton,
.gp-skeleton-line,
.gp-skeleton-block,
.gp-skeleton-chip,
.gp-skeleton-avatar,
.gp-skeleton-image::before {
    background-image: linear-gradient(90deg, var(--gp-skeleton-base) 0%, var(--gp-skeleton-highlight) 50%, var(--gp-skeleton-base) 100%);
}

.gp-skeleton-card {
    border-radius: 1.2rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 0.95rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.gp-skeleton-hero {
    min-height: var(--gp-reserved-hero-height);
    border-radius: 1.5rem;
    overflow: hidden;
}

.gp-reserved-media,
.gp-reserved-slider,
.gp-reserved-hero {
    position: relative;
    min-height: var(--gp-reserved-hero-height);
}

.gp-reserved-media img,
.gp-reserved-slider img,
.gp-reserved-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-footer-panel,
.gp-footer-cta {
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.05);
}

@media (min-width: 1536px) {
    .public-shell {
        padding-top: calc(var(--gp-header-height-desktop) + 0.6rem);
    }

    .member-content-with-bottom-nav {
        padding-top: 1.65rem;
    }

    .gp-public-header__main,
    .gp-public-header__row {
        min-height: var(--gp-header-height-desktop);
    }

    .gp-public-header__row {
        gap: 0.75rem;
    }

    .gp-public-header__tools {
        gap: 0.55rem;
    }

    .gp-public-search {
        min-width: clamp(300px, 24vw, 430px);
        width: clamp(300px, 24vw, 430px);
        flex: 0 1 clamp(300px, 24vw, 430px);
    }

    .gp-public-account {
        min-width: 164px;
        max-width: 184px;
        padding-right: 0.65rem;
    }

    .gp-member-sidebar-sticky {
        top: calc(var(--gp-header-height-desktop) + 3.35rem);
        height: calc(100vh - var(--gp-header-height-desktop) - 4.2rem);
    }
}

@media (max-width: 1023.98px) {
    body.public-shell {
        padding-top: var(--gp-header-main);
    }
    
    .gp-public-header__main {
        backdrop-filter: blur(14px);
    }

    .gp-public-header__tools {
        margin-left: auto;
    }
}

@media (max-width: 1023.98px) {
    body.public-shell {
        padding-top: calc(var(--gp-header-height-mobile) + 0.25rem);
    }

    .gp-public-header__row {
        gap: 0.65rem;
    }

    .gp-public-brand__logo {
        width: 2.7rem;
        height: 2.7rem;
    }

    .gp-public-search {
        width: 100%;
    }
}

/* 2026-04 public shell cleanup: header unification, shared inner-page heroes, and clearer Play Books states */
.public-shell .gp-public-header {
    font-family: "Plus Jakarta Sans", "IBM Plex Sans", system-ui, sans-serif;
}

.public-shell .gp-public-header__top {
    background: rgba(255, 255, 255, 0.76);
    border-bottom: 1px solid rgba(226, 232, 240, 0.82);
    backdrop-filter: blur(18px);
}

.public-shell .gp-public-header__main {
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(226, 232, 240, 0.84);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(18px);
}

.public-shell .gp-public-header__main.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.09);
}

.public-shell .gp-public-header__row {
    gap: 0.9rem;
}

.public-shell .gp-public-header__tools {
    gap: 0.65rem;
}

.public-shell .gp-public-brand {
    gap: 0.8rem;
}

.public-shell .gp-public-brand__logo {
    width: 3rem;
    height: 3rem;
    border-radius: 1.05rem;
}

.public-shell .gp-public-brand__title {
    font-size: 0.96rem;
    font-weight: 800;
    color: #0f172a;
}

.public-shell .gp-public-brand__sub {
    font-size: 0.75rem;
    color: #64748b;
}

.public-shell .gp-top-strip-link {
    min-height: 1.9rem;
    padding: 0 0.85rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #64748b;
}

.public-shell .gp-top-strip-link:hover {
    border-color: #e2e8f0;
    background: rgba(255, 255, 255, 0.9);
    color: #dc2626;
}

.public-shell .gp-public-nav {
    gap: 0.45rem;
}

.public-shell .gp-public-nav a,
.public-shell .gp-public-nav__dropdown {
    min-height: 2.75rem;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.public-shell .gp-public-nav a:hover,
.public-shell .gp-public-nav__dropdown:hover,
.public-shell .gp-public-nav__dropdown.is-open {
    border-color: #e2e8f0;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
}

.public-shell .gp-public-nav a.is-active {
    border-color: #fecaca;
    background: #fff4f3;
    color: #dc2626;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.public-shell .gp-public-search {
    min-width: clamp(320px, 25vw, 440px);
    width: clamp(320px, 25vw, 440px);
    height: 2.9rem;
    border-radius: 999px;
    border: 1px solid #dbe4ee;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.public-shell .gp-public-search__icon {
    color: #94a3b8;
}

.public-shell .gp-public-search__input {
    height: 2.9rem;
    padding: 0 1rem 0 2.7rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
}

.public-shell .gp-public-search__input:focus {
    border-color: transparent;
    box-shadow: none;
    outline: none;
}

.public-shell .gp-public-search:focus-within {
    border-color: rgba(220, 38, 38, 0.28);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.public-shell .gp-public-cta,
.public-shell .gp-public-login,
.public-shell .gp-public-account {
    min-height: 2.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
}

.public-shell .gp-public-cta {
    border: 1px solid #fecaca;
    background: #fff4f3;
    color: #dc2626;
    box-shadow: none;
}

.public-shell .gp-public-cta:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.public-shell .gp-public-login {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.public-shell .gp-public-login:hover {
    border-color: #fecaca;
    background: #fff4f3;
    color: #dc2626;
}

.public-shell .gp-public-icon-btn {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.public-shell .gp-public-icon-btn:hover {
    border-color: #fecaca;
    background: #fff4f3;
    color: #dc2626;
    transform: translateY(-1px);
}

.public-shell .gp-public-account {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    gap: 0.7rem;
    padding: 0.32rem 0.78rem 0.32rem 0.34rem;
}

.public-shell .gp-public-account:hover {
    border-color: #fecaca;
    background: #fff8f8;
}

.public-shell .gp-public-account__avatar {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
}

.public-shell .gp-public-account__avatar--fallback {
    background: #dc2626;
}

.public-shell .gp-public-account__role {
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.public-shell .gp-public-badge {
    top: -0.18rem;
    right: -0.18rem;
    min-width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    background: #dc2626;
    border: 2px solid #ffffff;
    box-shadow: none;
}

.public-shell .gp-public-menu-link,
.public-shell .gp-public-explore-card {
    min-height: 3rem;
    border-radius: 1rem;
    border: 1px solid #eef2f7;
    background: #ffffff;
    color: #334155;
}

.public-shell .gp-public-menu-link:hover,
.public-shell .gp-public-explore-card:hover {
    border-color: #fecaca;
    background: #fff8f8;
    color: #dc2626;
}

.public-shell .gp-public-explore-card__icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.9rem;
    background: #fff4f3;
    color: #dc2626;
}

.gp-page-hero {
    position: relative;
    overflow: hidden;
    padding: 0.55rem 0 0;
    background:
        radial-gradient(circle at top center, rgba(254, 226, 226, 0.86), transparent 38%),
        linear-gradient(180deg, #fff8f8 0%, #ffffff 62%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.gp-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.24));
    pointer-events: none;
}

.gp-page-hero__inner,
.gp-page-hero__inner--compact {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 1.25rem 0 1.5rem;
    text-align: center;
}

.gp-page-hero__inner--centered {
    align-items: center;
}

.gp-page-hero--catalog .gp-page-hero__inner,
.gp-page-hero--catalog .gp-page-hero__inner--compact {
    padding-top: 0.95rem;
    padding-bottom: 0.8rem;
}

.gp-page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.1rem;
    padding: 0 0.95rem;
    border-radius: 999px;
    border: 1px solid #fecaca;
    background: rgba(255, 255, 255, 0.9);
    color: #dc2626;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gp-page-hero__title {
    max-width: 16ch;
    margin: 1rem auto 0.55rem;
    font-size: clamp(2rem, 1.65rem + 1.25vw, 3.4rem);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.045em;
    color: #0f172a;
}

.gp-page-hero__copy {
    max-width: 62ch;
    margin: 0 auto;
    color: #475569;
    font-size: clamp(0.95rem, 0.88rem + 0.18vw, 1.02rem);
    line-height: 1.75;
}

.gp-page-hero__actions,
.gp-page-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.gp-page-hero__actions {
    margin-top: 1.45rem;
}

.gp-page-hero__meta {
    margin-top: 1.15rem;
}

.gp-page-hero__action,
.gp-page-hero__meta-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.9rem;
    padding: 0 1.1rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gp-page-hero__action:hover,
.gp-page-hero__meta-chip:hover {
    transform: translateY(-1px);
}

.gp-page-hero__action.is-primary {
    border-color: transparent;
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(220, 38, 38, 0.16);
}

.gp-page-hero__action.is-primary:hover {
    background: #b91c1c;
    color: #ffffff;
}

.gp-page-hero__action.is-secondary:hover,
.gp-page-hero__meta-chip.is-link:hover {
    border-color: #fecaca;
    background: #fff4f3;
    color: #dc2626;
}

.gp-page-hero__meta-chip.is-neutral {
    color: #475569;
}

.gp-page-hero__meta-chip.is-warm {
    border-color: #fde68a;
    background: #fffbeb;
    color: #b45309;
}

.gp-page-hero__meta-chip.is-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
}

.gp-page-hero__meta-chip.is-link {
    color: #dc2626;
}

.gp-playbooks-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.gp-playbooks-badge img {
    width: 0.95rem;
    height: 0.95rem;
    object-fit: contain;
}

.gp-playbooks-badge.is-available:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05); /* Mengubah shadow biru menjadi slate lembut */
    transform: translateY(-1px);
}

.gp-playbooks-badge.is-unavailable {
    opacity: 0.78;
    cursor: default;
}

.gp-playbooks-badge.is-unavailable img {
    filter: grayscale(1);
    opacity: 0.56;
}

.gp-playbooks-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
}

.gp-playbooks-inline img {
    width: 0.78rem;
    height: 0.78rem;
    object-fit: contain;
}

.gp-playbooks-inline.is-available {
    color: #2563eb;
}

.gp-playbooks-inline.is-unavailable {
    color: #94a3b8;
}

.gp-playbooks-inline.is-unavailable img {
    filter: grayscale(1);
    opacity: 0.6;
}

@media (max-width: 1023.98px) {
    .public-shell .gp-public-search {
        min-width: 100%;
        width: 100%;
    }
}

@media (max-width: 1023.98px) {
    .gp-page-hero__inner,
    .gp-page-hero__inner--compact {
        padding: 1.55rem 0 1.45rem;
    }

    .gp-page-hero__title {
        max-width: 18ch;
    }
}

@media (max-width: 767px) {
    .gp-page-hero {
        padding-top: 0.55rem;
    }

    .gp-page-hero__inner,
    .gp-page-hero__inner--compact {
        padding: 1.2rem 0 1.2rem;
    }

    .gp-page-hero__title {
        max-width: none;
        font-size: clamp(1.6rem, 1.3rem + 1.6vw, 2.2rem);
    }

    .gp-page-hero__copy {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .gp-page-hero__actions,
    .gp-page-hero__meta {
        gap: 0.55rem;
    }

    .gp-page-hero__action,
    .gp-page-hero__meta-chip {
        width: 100%;
    }

    .public-shell .gp-public-header__row {
        gap: 0.65rem;
    }

    .public-shell .gp-public-brand__logo {
        width: 2.7rem;
        height: 2.7rem;
    }

    .public-shell .gp-public-account,
    .public-shell .gp-public-icon-btn,
    .public-shell .gp-public-login {
        min-height: 2.55rem;
    }
}

/* Final public asset mapping and WhatsApp fallback */
.public-shell .gp-public-brand {
    gap: 0.85rem;
}

.public-shell .gp-public-brand__logo--full {
    display: block;
    width: auto;
    height: 2.55rem;
    object-fit: contain;
}

.public-shell .gp-public-brand__logo--compact {
    width: 2.8rem;
    height: 2.8rem;
    object-fit: contain;
}

.public-shell .gp-public-brand__copy {
    display: none !important;
}

.public-shell .fa-whatsapp,
.public-shell .fab.fa-whatsapp,
.public-shell .fa-whatsapp-square,
.public-shell .fab.fa-whatsapp-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.public-shell .fa-whatsapp::before,
.public-shell .fab.fa-whatsapp::before,
.public-shell .fa-whatsapp-square::before,
.public-shell .fab.fa-whatsapp-square::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M13.601 2.326A7.854 7.854 0 0 0 8.017 0C3.64 0 .068 3.558.064 7.935a7.89 7.89 0 0 0 1.077 3.965L0 16l4.2-1.102a7.95 7.95 0 0 0 3.815.97h.003c4.375 0 7.948-3.558 7.95-7.935a7.89 7.89 0 0 0-2.367-5.607zM8.019 14.63h-.003a6.67 6.67 0 0 1-3.403-.935l-.243-.145-2.49.653.665-2.43-.158-.25a6.65 6.65 0 0 1-1.015-3.557C1.374 4.3 4.357 1.333 8.02 1.333c1.78 0 3.451.692 4.71 1.95a6.61 6.61 0 0 1 1.947 4.706c-.002 3.664-2.986 6.64-6.658 6.64zm3.65-4.94c-.2-.1-1.183-.582-1.366-.647-.183-.066-.316-.1-.45.1-.133.2-.516.646-.633.779-.116.132-.233.149-.433.05-.2-.1-.847-.312-1.613-.995-.596-.53-.996-1.186-1.113-1.386-.116-.2-.012-.308.088-.406.09-.088.2-.232.3-.349.1-.116.132-.2.2-.332.066-.133.033-.249-.017-.349-.05-.099-.45-1.08-.616-1.48-.162-.39-.326-.337-.45-.343-.116-.006-.249-.007-.383-.007a.736.736 0 0 0-.532.249c-.183.2-.699.682-.699 1.663 0 .98.716 1.93.816 2.064.1.133 1.408 2.149 3.41 3.014.477.206.849.33 1.14.424.479.152.915.13 1.26.079.384-.057 1.183-.482 1.35-.947.166-.466.166-.865.116-.947-.05-.083-.183-.133-.383-.232z'/></svg>") center / contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M13.601 2.326A7.854 7.854 0 0 0 8.017 0C3.64 0 .068 3.558.064 7.935a7.89 7.89 0 0 0 1.077 3.965L0 16l4.2-1.102a7.95 7.95 0 0 0 3.815.97h.003c4.375 0 7.948-3.558 7.95-7.935a7.89 7.89 0 0 0-2.367-5.607zM8.019 14.63h-.003a6.67 6.67 0 0 1-3.403-.935l-.243-.145-2.49.653.665-2.43-.158-.25a6.65 6.65 0 0 1-1.015-3.557C1.374 4.3 4.357 1.333 8.02 1.333c1.78 0 3.451.692 4.71 1.95a6.61 6.61 0 0 1 1.947 4.706c-.002 3.664-2.986 6.64-6.658 6.64zm3.65-4.94c-.2-.1-1.183-.582-1.366-.647-.183-.066-.316-.1-.45.1-.133.2-.516.646-.633.779-.116.132-.233.149-.433.05-.2-.1-.847-.312-1.613-.995-.596-.53-.996-1.186-1.113-1.386-.116-.2-.012-.308.088-.406.09-.088.2-.232.3-.349.1-.116.132-.2.2-.332.066-.133.033-.249-.017-.349-.05-.099-.45-1.08-.616-1.48-.162-.39-.326-.337-.45-.343-.116-.006-.249-.007-.383-.007a.736.736 0 0 0-.532.249c-.183.2-.699.682-.699 1.663 0 .98.716 1.93.816 2.064.1.133 1.408 2.149 3.41 3.014.477.206.849.33 1.14.424.479.152.915.13 1.26.079.384-.057 1.183-.482 1.35-.947.166-.466.166-.865.116-.947-.05-.083-.183-.133-.383-.232z'/></svg>") center / contain no-repeat;
}



/* Premium Cart Modal Table (Update 50 Refined) */
.gp-cart-modal-table {
    width: 100%;
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.gp-cart-modal-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.gp-cart-modal-table th {
    background: #f8fafc;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.85rem 1rem;
    border-bottom: 2px solid #f1f5f9;
    text-align: left;
}

.gp-cart-modal-table td {
    padding: 1.15rem 1rem;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.gp-cart-modal-table tr:last-of-type td {
    border-bottom: none;
}

/* Force Title Case for Item Names */
.gp-cart-modal-table td:nth-child(2) {
    text-transform: capitalize !important;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
}

/* Quantity Column */
.gp-cart-modal-table td:nth-child(3) {
    color: #64748b;
    font-weight: 700;
}

/* Price Column */
.gp-cart-modal-table td:nth-child(4) {
    color: #dc2626;
    font-weight: 900;
    white-space: nowrap;
}

/* Total Row Styling */
.gp-cart-modal-table tr.total-row td {
    background: #fff1f2;
    color: #991b1b;
    font-size: 1.1rem;
    font-weight: 900;
    padding: 1.25rem 1rem;
    border-top: 2px solid #fecaca;
}

/* Delete Button */
.gp-cart-modal-table a[onclick*="hapus"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    background: #fff1f2;
    color: #ef4444;
    transition: all 0.2s ease;
}

.gp-cart-modal-table a[onclick*="hapus"]:hover {
    background: #ef4444;
    color: #ffffff;
    transform: scale(1.1);
}

/* ─── PREMIUM MODERN SHELL SYSTEM ─────────────────────────── */
.gp-shell-decor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -10;
    overflow: hidden; /* FIX: Prevent decorative glows from causing horizontal overflow */
    background: #f8fafc; /* Base color sitting behind glows */
}

/* ─── PREMIUM MODERN SHELL SYSTEM ─────────────────────────── */
.gp-shell-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 9999px;
    display: none !important;
    opacity: 0.2;
    mix-blend-mode: color-burn;
    animation: none 25s infinite alternate ease-in-out;
}

.gp-shell-glow--1 {
    top: -10%;
    right: -10%;
    background: radial-gradient(circle, #fecaca 0%, transparent 75%);
}

.gp-shell-glow--2 {
    bottom: -15%;
    left: -15%;
    background: radial-gradient(circle, #ddd6fe 0%, transparent 75%);
    animation-delay: -8s;
}

@keyframes gp-glow-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

.public-shell {
    background: transparent !important; /* Let the decor layer show */
}


/* ─── MEMBER AREA SHELL SPACING ─────────────────────────── */
.member-content-with-bottom-nav {
    padding-top: 2.25rem !important;
}

@media (min-width: 1024px) {
    .member-content-with-bottom-nav {
        padding-top: 3rem !important;
    }
}


/* --- ULTIMATE HEADER CENTERING FIX --------------------------- */
#gp-header-top-container {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    height: 100% !important;
    width: 100% !important;
    max-width: 1280px !important; /* Standard container width */
    margin: 0 auto !important;
}

.gp-header-top-col-left {
    display: flex !important;
    justify-content: flex-start !important;
}

.gp-header-top-col-center {
    display: flex !important;
    justify-content: center !important;
}

.gp-header-top-col-right {
    display: flex !important;
    justify-content: flex-end !important;
}

/* ═══════════════════════════════════════════════════════════
   COMPACT SCALE LAYER: Tablet & Desktop (>=768px landscape)
   Achieves ~75% zoom density at 100% zoom natively.
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .public-shell .container { max-width: 1100px !important; }
    .gp-page-hero__title { font-size: clamp(1.45rem, 1.1rem + 1vw, 2.3rem) !important; }
    .gp-page-hero__copy { font-size: 0.88rem !important; }
    .gp-page-hero__inner, .gp-page-hero__inner--compact { padding: 0.9rem 0 1rem !important; }
    .gp-page-hero__eyebrow { min-height: 1.8rem !important; font-size: 0.68rem !important; }
    .gp-public-header__row { min-height: 62px !important; }
    .gp-public-brand__logo--full { 
        height: 2.4rem !important; 
        width: auto !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .gp-toolbar { padding: 0.5rem 0.65rem !important; }
    section { padding-top: clamp(0.45rem, 1vw, 0.9rem) !important; padding-bottom: clamp(0.45rem, 1vw, 0.9rem) !important; }
    .grid.grid-cols-2, .grid.grid-cols-3, .grid.grid-cols-4, .grid.grid-cols-5 { gap: 0.65rem !important; }
    .gp-footer-quicklink { min-height: 2.6rem !important; font-size: 0.75rem !important; padding: 0.55rem 0.8rem !important; }
    .public-shell .gp-public-nav a, .public-shell .gp-public-nav__dropdown { min-height: 2.4rem !important; padding: 0 0.8rem !important; font-size: 0.82rem !important; }
    .public-shell .gp-public-search { height: 2.5rem !important; }
    .public-shell .gp-public-search__input { height: 2.5rem !important; font-size: 0.8rem !important; }
    .public-shell .gp-public-cta, .public-shell .gp-public-login, .public-shell .gp-public-account { min-height: 2.4rem !important; font-size: 0.78rem !important; }
    .public-shell .gp-public-icon-btn { width: 2.4rem !important; height: 2.4rem !important; }
    .product-card-enhanced h3, .product-card-enhanced h4 { font-size: 0.82rem !important; min-height: 2.4em !important; }
    .gp-checkout-lane { padding: 0.75rem 0.85rem !important; }
    .gp-checkout-lane__title { font-size: clamp(1rem, 0.9rem + 0.4vw, 1.35rem) !important; }
    .gp-checkout-lane__copy { font-size: 0.8rem !important; }
    .gp-chip { font-size: 0.7rem !important; padding: 0.35rem 0.6rem !important; }
    .gp-chip-row { gap: 0.4rem !important; }
    .gp-footer-cta { padding: clamp(0.9rem, 0.7rem + 0.6vw, 1.4rem) !important; }
}
@media (min-width: 1536px) { .public-shell .container { max-width: 1180px !important; } }

/* ═══════════════════════════════════════════════════════════
   MOBILE PORTRAIT DEEP POLISH (<768px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 767.98px) {
    .gp-public-header__row { min-height: 50px !important; gap: 0.45rem !important; }
    .gp-public-brand__logo--full { height: 1.85rem !important; }
    .public-shell .gp-public-icon-btn, .public-shell .gp-public-account, .public-shell .gp-public-login { min-height: 2.15rem !important; }
    .public-shell .gp-public-icon-btn { width: 2.15rem !important; height: 2.15rem !important; border-radius: 0.7rem !important; }
    .public-shell .gp-public-account { padding: 0.2rem 0.45rem 0.2rem 0.2rem !important; gap: 0.4rem !important; border-radius: 0.75rem !important; }
    .public-shell .gp-public-account__avatar { width: 1.6rem !important; height: 1.6rem !important; }
    .gp-public-badge { min-width: 0.95rem !important; height: 0.95rem !important; font-size: 7px !important; border-width: 1.5px !important; }
    .gp-page-hero { padding-top: 0.2rem !important; }
    .gp-page-hero__inner, .gp-page-hero__inner--compact { padding: 0.6rem 0 0.55rem !important; }
    .gp-page-hero__title { font-size: clamp(1.15rem, 1rem + 1vw, 1.5rem) !important; margin: 0.35rem auto 0.25rem !important; }
    .gp-page-hero__copy { font-size: 0.78rem !important; line-height: 1.55 !important; }
    .gp-page-hero__eyebrow { min-height: 1.55rem !important; font-size: 0.55rem !important; padding: 0 0.55rem !important; }
    .gp-page-hero__action, .gp-page-hero__meta-chip { min-height: 2.3rem !important; padding: 0 0.8rem !important; font-size: 0.75rem !important; }
    .gp-toolbar { padding: 0.35rem 0.45rem !important; border-radius: 0.75rem !important; gap: 0.4rem !important; }
    .gp-toolbar input[type="text"], .gp-toolbar input[name="search"] { font-size: 0.75rem !important; padding-top: 0.35rem !important; padding-bottom: 0.35rem !important; }
    .grid.grid-cols-2 { gap: 0.45rem !important; }
    section { padding-top: 0.35rem !important; padding-bottom: 0.35rem !important; }
    div[class*="fixed"][class*="bottom-28"][class*="-translate-x-1"] { bottom: 18px !important; left: auto !important; right: 14px !important; transform: none !important; }
    div[class*="fixed"][class*="bottom-28"][class*="-translate-x-1"] button { padding: 0.5rem 0.85rem !important; font-size: 0.72rem !important; gap: 0.35rem !important; box-shadow: 0 5px 16px rgba(220,38,38,0.28) !important; }
    .back-to-top { bottom: 62px !important; right: 14px !important; width: 34px !important; height: 34px !important; }
    div[class*="md\:hidden"][class*="fixed"][class*="z-30"] { bottom: 56px !important; left: 6px !important; right: 6px !important; }
    div[class*="md\:hidden"][class*="fixed"][class*="z-30"] .bg-white { padding: 0.35rem 0.6rem !important; border-radius: 0.85rem !important; }
    .gp-footer-quicklink { min-height: 2.2rem !important; font-size: 0.68rem !important; padding: 0.4rem 0.6rem !important; }
    .member-bottom-nav { left: 0.35rem !important; right: 0.35rem !important; bottom: 0.35rem !important; padding: 0.3rem !important; gap: 0.25rem !important; border-radius: 1rem !important; }
    .member-bottom-nav-item { min-height: 40px !important; font-size: 8px !important; gap: 0.2rem !important; border-radius: 0.75rem !important; }
    .member-bottom-nav-item i { font-size: 14px !important; }
    h1, .text-h1 { font-size: 1.2rem !important; }
    h2, .text-h2 { font-size: 1.05rem !important; }
    .text-xl { font-size: 1rem !important; }
    .text-2xl { font-size: 1.15rem !important; }
    .text-lg { font-size: 0.92rem !important; }
    .product-card-enhanced h3, .product-card-enhanced h4 { font-size: 0.72rem !important; min-height: 2.2em !important; }
    .product-card-enhanced .text-xs { font-size: 0.6rem !important; }
    .product-card-enhanced .text-sm { font-size: 0.7rem !important; }
    .card-product { padding: 0.5rem !important; }
    .fixed.inset-y-0.right-0.w-full.max-w-xs { max-width: 85vw !important; }
    .container { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
    .gp-checkout-lane { padding: 0.6rem 0.7rem !important; border-radius: 1rem !important; }
    .gp-checkout-lane__title { font-size: 1rem !important; }
    .gp-checkout-lane__copy { font-size: 0.75rem !important; }
    .gp-checkout-pill { font-size: 0.6rem !important; padding: 0.3rem 0.5rem !important; }
}

/* --- CROSS-SHELL FINAL REFINEMENT (deploy_update115) -------------------- */
:root {
    --gp-header-top: 34px;
    --gp-header-main: 82px;
    --gp-header-offset: calc(var(--gp-header-top) + var(--gp-header-main));
    --gp-member-bottom-nav-height: 72px;
    --member-bottom-nav-height: 72px;
    --gp-public-border: rgba(226, 232, 240, 0.88);
    --gp-public-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

html.gp-public-lock-scroll,
body.gp-public-lock-scroll {
    overflow: hidden !important;
}

body.public-shell {
    padding-top: var(--gp-header-offset) !important;
    background: #f8fafc !important;
}

body.public-shell.member-shell-root {
    background: #f3f6fb !important;
}

body.public-shell.member-shell-root .gp-shell-decor {
    display: none;
}

#gp-header-top-container {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 1rem;
    height: 100% !important;
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
}

.gp-header-top-col-left,
.gp-header-top-col-center,
.gp-header-top-col-right {
    display: flex !important;
    align-items: center;
}

.gp-header-top-col-left {
    justify-content: flex-start !important;
}

.gp-header-top-col-center {
    justify-content: center !important;
}

.gp-header-top-col-right {
    justify-content: flex-end !important;
}

.public-shell .gp-public-header {
    isolation: isolate;
}

.public-shell .gp-public-header__top {
    height: var(--gp-header-top);
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0;
    backdrop-filter: none !important;
}

.public-shell .gp-top-strip-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 1.95rem;
    padding: 0 0.68rem;
    border-radius: 9999px;
    color: #64748b;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.public-shell .gp-top-strip-link:hover {
    color: #dc2626;
    background: #fff1f2;
}

.public-shell .gp-public-header__main {
    min-height: var(--gp-header-main);
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    backdrop-filter: none !important;
}

.public-shell .gp-public-header__main.is-scrolled {
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.public-shell .gp-public-header__row {
    min-height: var(--gp-header-main);
    display: grid;
    grid-template-columns: minmax(9.25rem, 10rem) minmax(0, 1fr) minmax(17rem, auto);
    align-items: center;
    gap: 0.85rem;
}

.public-shell .gp-public-header__brand-rail,
.public-shell .gp-public-header__nav-rail,
.public-shell .gp-public-header__utility-rail {
    min-width: 0;
}

.public-shell .gp-public-header__brand-rail {
    display: flex;
    align-items: center;
    padding-right: 0.75rem;
    overflow: hidden;
}

.public-shell .gp-public-header__nav-rail {
    display: flex;
    justify-content: center;
    padding-inline: 0.5rem;
    min-width: 0;
    overflow: hidden;
}

.public-shell .gp-public-header__utility-rail {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.public-shell .gp-public-brand {
    display: inline-flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.public-shell .gp-public-brand__logo--full {
    display: block !important;
    width: clamp(7.8rem, 8.8vw, 9.2rem) !important;
    height: 3rem !important;
    min-width: 0 !important;
    max-width: 100%;
    object-fit: contain;
    flex: 0 0 auto;
    flex-shrink: 0 !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.public-shell .gp-public-brand__logo--compact {
    display: none !important;
    width: 2.7rem;
    height: 2.7rem;
    object-fit: contain;
    border-radius: 1rem !important;
    box-shadow: 0 10px 18px rgba(239, 68, 68, 0.16);
}

.public-shell .gp-public-nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    min-width: 0;
}

.public-shell .gp-public-nav__item,
.public-shell .gp-public-nav__dropdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.62rem;
    min-height: 2.72rem;
    padding: 0 0.78rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    color: #334155;
    text-decoration: none;
    font-size: 0.87rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.public-shell .gp-public-nav__item:hover,
.public-shell .gp-public-nav__dropdown:hover,
.public-shell .gp-public-nav__dropdown.is-open {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #0f172a;
    transform: translateY(-1px);
}

.public-shell .gp-public-nav__item.is-primary {
    border-color: #f2d3d3;
    background: linear-gradient(180deg, #fff8f8 0%, #fffdfd 100%);
}

.public-shell .gp-public-nav__item.is-store {
    color: #1f2937;
}

.public-shell .gp-public-nav__item.is-collab {
    color: #9f1239;
}

.public-shell .gp-public-nav__item.is-store:hover,
.public-shell .gp-public-nav__item.is-store.is-active {
    background: linear-gradient(180deg, #1f2937 0%, #0f172a 100%);
    border-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
}

.public-shell .gp-public-nav__item.is-collab:hover,
.public-shell .gp-public-nav__item.is-collab.is-active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 52%, #be123c 100%);
    border-color: #dc2626;
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(220, 38, 38, 0.24);
}

.public-shell .gp-public-nav__glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    color: currentColor;
    font-size: 0.72rem;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.92);
    transition: background-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.public-shell .gp-public-nav__item.is-store:hover .gp-public-nav__glyph,
.public-shell .gp-public-nav__item.is-store.is-active .gp-public-nav__glyph,
.public-shell .gp-public-nav__item.is-collab:hover .gp-public-nav__glyph,
.public-shell .gp-public-nav__item.is-collab.is-active .gp-public-nav__glyph {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    transform: scale(1.02);
}

.public-shell .gp-public-header__tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.48rem;
    width: auto;
    max-width: 100%;
}

.public-shell .gp-public-search {
    display: flex !important;
    position: relative;
    width: clamp(8.5rem, 14vw, 11.5rem);
    min-height: 3rem;
    border-radius: 9999px;
    border: 1px solid #dbe4f0;
    background: #fbfdff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
    flex: 0 1 auto;
}

.public-shell .gp-public-search__icon {
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
}

.public-shell .gp-public-search__input {
    min-height: 3rem;
    padding-left: 2.8rem;
    padding-right: 1.1rem;
}

.public-shell .gp-public-cta,
.public-shell .gp-public-login,
.public-shell .gp-public-account,
.public-shell .gp-public-icon-btn {
    min-height: 3rem;
    flex-shrink: 0;
}

.public-shell .gp-public-cta,
.public-shell .gp-public-login {
    border-radius: 9999px;
}

.public-shell .gp-public-account {
    gap: 0.75rem;
    border-radius: 9999px;
}

.public-shell .gp-public-account__avatar {
    width: 2.45rem;
    height: 2.45rem;
}

.public-shell .gp-public-menu-link {
    min-height: 2.9rem;
}

.public-shell .gp-public-explore-card {
    justify-content: flex-start;
    gap: 0.85rem;
    min-height: 5.3rem;
    padding: 0.95rem 1rem;
    border-radius: 1.15rem;
}

.public-shell .gp-public-explore-card__icon {
    flex-shrink: 0;
}

.public-shell .gp-public-mobile-toggle {
    display: none !important;
}

.public-shell .gp-public-mobile-layer {
    z-index: 95;
}

.public-shell .gp-public-mobile-sheet {
    max-width: 21rem;
    margin-left: auto;
    margin-right: auto;
}

.public-shell .gp-mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    min-height: 3.2rem;
    padding: 0.78rem 0.95rem;
    border: 1px solid transparent;
    border-radius: 1rem;
    text-decoration: none;
    color: #334155;
    font-size: 0.94rem;
    font-weight: 700;
}

.public-shell .gp-mobile-nav-link__main {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.public-shell .gp-mobile-nav-link__hint {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.public-shell .gp-mobile-nav-link.is-primary {
    background: #fff7f7;
    border-color: #fee2e2;
    color: #991b1b;
}

.public-shell .gp-mobile-nav-link.is-store {
    background: linear-gradient(180deg, #1f2937 0%, #0f172a 100%);
    border-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
}

.public-shell .gp-mobile-nav-link.is-collab {
    background: linear-gradient(180deg, #fff8f8 0%, #fff4f7 100%);
    border-color: #fecaca;
    color: #9f1239;
}

.public-shell .gp-mobile-nav-link.is-store:hover,
.public-shell .gp-mobile-nav-link.is-store.is-active {
    background: linear-gradient(180deg, #1f2937 0%, #0f172a 100%);
    border-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
}

.public-shell .gp-mobile-nav-link.is-collab:hover,
.public-shell .gp-mobile-nav-link.is-collab.is-active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 52%, #be123c 100%);
    border-color: #dc2626;
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(220, 38, 38, 0.22);
}

.public-shell .gp-mobile-nav-link.is-active:not(.is-store):not(.is-collab) {
    background: #fff1f2;
    border-color: #fecaca;
    color: #dc2626;
}

.public-shell .gp-mobile-nav-link.is-store .gp-public-nav__glyph,
.public-shell .gp-mobile-nav-link.is-collab .gp-public-nav__glyph {
    transition: background-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.public-shell .gp-mobile-nav-link.is-store .gp-public-nav__glyph {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.public-shell .gp-mobile-nav-link.is-collab .gp-public-nav__glyph {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(254, 202, 202, 0.95);
}

.public-shell .gp-mobile-nav-link.is-store:hover .gp-public-nav__glyph,
.public-shell .gp-mobile-nav-link.is-store.is-active .gp-public-nav__glyph,
.public-shell .gp-mobile-nav-link.is-collab:hover .gp-public-nav__glyph,
.public-shell .gp-mobile-nav-link.is-collab.is-active .gp-public-nav__glyph {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    color: #ffffff;
    transform: scale(1.02);
}

.public-shell .gp-mobile-nav-link.is-active:not(.is-store):not(.is-collab) .gp-mobile-nav-link__hint {
    color: #f87171;
}

.public-shell .gp-mobile-nav-link.is-store:hover .gp-mobile-nav-link__hint,
.public-shell .gp-mobile-nav-link.is-store.is-active .gp-mobile-nav-link__hint,
.public-shell .gp-mobile-nav-link.is-collab:hover .gp-mobile-nav-link__hint,
.public-shell .gp-mobile-nav-link.is-collab.is-active .gp-mobile-nav-link__hint {
    color: rgba(255, 255, 255, 0.78);
}

.public-shell .gp-mobile-nav-link.is-store .gp-mobile-nav-link__hint {
    color: rgba(255, 255, 255, 0.72);
}

.public-shell .gp-mobile-nav-link.is-collab .gp-mobile-nav-link__hint {
    color: #c2410c;
}

.public-shell .gp-site-footer--dark {
    position: relative;
    margin-top: 3rem;
    background: linear-gradient(180deg, #0b1120 0%, #111827 52%, #0f172a 100%);
    color: #e2e8f0;
    overflow: clip;
}

.public-shell .gp-site-footer--dark > .container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
}

.public-shell .gp-site-footer--dark::before,
.public-shell .gp-site-footer--dark::after {
    content: "";
    position: absolute;
    inset: auto;
    width: 30rem;
    height: 30rem;
    border-radius: 9999px;
    filter: blur(90px);
    opacity: 0.12;
    pointer-events: none;
}

.public-shell .gp-site-footer--dark::before {
    top: 0;
    left: -8rem;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.72) 0%, transparent 70%);
}

.public-shell .gp-site-footer--dark::after {
    right: -9rem;
    bottom: -6rem;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.34) 0%, transparent 72%);
}

.public-shell .gp-footer-panel--dark {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.88) 0%, rgba(17, 24, 39, 0.96) 100%);
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.34);
}

.public-shell .gp-site-footer__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: end;
    padding: 1.6rem 1.6rem 1.35rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    max-width: 1320px;
    margin-inline: auto;
}

.public-shell .gp-site-footer__eyebrow,
.gp-member-footer-shell__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0 0.8rem;
    border-radius: 9999px;
    border: 1px solid rgba(248, 113, 113, 0.34);
    background: rgba(220, 38, 38, 0.16);
    color: #fecaca;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.public-shell .gp-site-footer__hero h2 {
    margin: 0.8rem 0 0.35rem;
    color: #f8fafc;
    font-size: clamp(1.5rem, 1.18rem + 0.9vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.08;
    max-width: 14ch;
}

.public-shell .gp-site-footer__hero p {
    margin: 0;
    max-width: 42rem;
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.92rem;
    line-height: 1.7;
}

.public-shell .gp-site-footer__hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

.public-shell .gp-site-footer__action {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.34);
    color: #e2e8f0;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.public-shell .gp-site-footer__action:hover {
    transform: translateY(-1px);
    border-color: rgba(248, 113, 113, 0.4);
    background: rgba(30, 41, 59, 0.7);
}

.public-shell .gp-site-footer__action.is-primary {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-color: transparent;
    color: #ffffff;
}

.public-shell .gp-site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 1.45rem 1.6rem 1.35rem;
    max-width: 1320px;
    margin-inline: auto;
}

.public-shell .gp-site-footer__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.public-shell .gp-site-footer__brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.15rem;
    height: 3.15rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
    flex-shrink: 0;
}

.public-shell .gp-site-footer__brand-logo {
    width: 2.25rem;
    height: 2.25rem;
    object-fit: contain;
}

.public-shell .gp-site-footer__brand-copywrap strong {
    display: block;
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.public-shell .gp-site-footer__brand-copywrap span {
    display: block;
    margin-top: 0.14rem;
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.78rem;
    line-height: 1.5;
}

.public-shell .gp-site-footer__brand-copy {
    margin: 1rem 0 0;
    max-width: 24rem;
    color: rgba(226, 232, 240, 0.76);
    line-height: 1.75;
}

.public-shell .gp-site-footer__contact-stack,
.public-shell .gp-site-footer__network,
.public-shell .gp-site-footer__link-list,
.public-shell .gp-site-footer__info-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.public-shell .gp-site-footer__contact-chip,
.public-shell .gp-site-footer__network-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    width: fit-content;
    min-height: 2.85rem;
    padding: 0 0.95rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.28);
    color: #f8fafc;
    text-decoration: none;
}

.public-shell .gp-site-footer__brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
}

.public-shell .gp-site-footer__brand-icon svg {
    width: 100%;
    height: 100%;
}

.public-shell .gp-site-footer__heading {
    margin: 0;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.public-shell .gp-site-footer__link-list a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.5;
    transition: color 0.2s ease, transform 0.2s ease;
}

.public-shell .gp-site-footer__link-list a:hover,
.public-shell .gp-site-footer__bottom-links a:hover,
.public-shell .gp-site-footer__network-link:hover,
.public-shell .gp-site-footer__contact-chip:hover {
    color: #fca5a5;
    transform: translateX(2px);
}

.public-shell .gp-site-footer__info-item {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
}

.public-shell .gp-site-footer__info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    margin-top: 0.18rem;
    color: rgba(241, 245, 249, 0.88);
    flex-shrink: 0;
}

.public-shell .gp-site-footer__info-icon.is-brand {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.08rem;
}

.public-shell .gp-site-footer__info-icon i {
    font-size: 0.82rem;
    line-height: 1;
}

.public-shell .gp-site-footer__info-icon svg {
    width: 0.82rem;
    height: 0.82rem;
}

.public-shell .gp-site-footer__info-icon img {
    width: 1.15rem;
    height: 1.15rem;
    object-fit: contain;
}

.public-shell .gp-site-footer__info-item strong {
    display: block;
    margin-bottom: 0.15rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
}

.public-shell .gp-site-footer__info-item span {
    display: block;
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.82rem;
    line-height: 1.65;
}

.public-shell .gp-site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.6rem 1.35rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    max-width: 1320px;
    margin-inline: auto;
}

.public-shell .gp-site-footer__bottom p,
.public-shell .gp-site-footer__bottom-links a {
    color: rgba(226, 232, 240, 0.64);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}

.public-shell .gp-site-footer__bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.member-shell-root .gp-member-shell,
.member-shell-root .member-content-with-bottom-nav {
    position: relative;
}

.member-shell-root .member-content-with-bottom-nav {
    padding-bottom: calc(var(--gp-member-bottom-nav-height) + 3.25rem) !important;
}

.member-shell-root .gp-member-shell > .container,
.member-shell-root .member-content-with-bottom-nav > .container {
    max-width: 1320px;
}

.member-shell-root .member-sidebar {
    border: 1px solid #e2e8f0;
    border-radius: 1.55rem;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.member-shell-root .member-profile-header {
    position: relative;
    background: linear-gradient(180deg, #0f172a 0%, #182437 100%);
}

.member-shell-root .member-nav-section {
    padding: 0.5rem 0.85rem 0.15rem;
    color: #94a3b8;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.member-shell-root .member-nav-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 2.95rem;
    padding: 0.76rem 0.9rem;
    border-radius: 1rem;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.member-shell-root .member-nav-item:hover {
    background: #f8fafc;
    color: #0f172a;
}

.member-shell-root .member-nav-item.active {
    background: #fff1f2;
    color: #dc2626;
    box-shadow: inset 0 0 0 1px #fecdd3;
}

.member-shell-root .member-nav-item i {
    width: 1rem;
    text-align: center;
}

.member-shell-root .gp-member-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0 0.7rem;
    border-radius: 9999px;
    background: #fff1f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.member-shell-root .gp-member-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2rem;
    padding: 0 0.75rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 800;
}

.member-shell-root .gp-member-dashboard__workspace,
.member-shell-root .gp-member-panel {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.member-shell-root .gp-member-dashboard__workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 330px);
    gap: 1rem;
    padding: 1.15rem;
}

.member-shell-root .gp-member-dashboard__workspace-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.member-shell-root .gp-member-dashboard__title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.55rem, 1.22rem + 0.55vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.06;
}

.member-shell-root .gp-member-dashboard__subtitle {
    margin: 0.55rem 0 0;
    max-width: 42rem;
    color: #64748b;
    font-size: 0.94rem;
    line-height: 1.72;
}

.member-shell-root .gp-member-dashboard__workspace-actions,
.member-shell-root .gp-member-dashboard__wallet-links,
.member-shell-root .gp-member-footer-shell__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.member-shell-root .gp-member-action-btn,
.member-shell-root .gp-member-footer-shell__link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.85rem;
    padding: 0 0.95rem;
    border-radius: 0.95rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.member-shell-root .gp-member-action-btn:hover,
.member-shell-root .gp-member-footer-shell__link:hover,
.member-shell-root .gp-member-inline-link:hover {
    transform: translateY(-1px);
}

.member-shell-root .gp-member-action-btn.is-primary {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}

.member-shell-root .gp-member-dashboard__wallet-card {
    padding: 1rem 1rem 1.05rem;
    border-radius: 1.35rem;
    background: linear-gradient(180deg, #0f172a 0%, #182131 100%);
    color: #ffffff;
}

.member-shell-root .gp-member-dashboard__wallet-card strong {
    display: block;
    margin-top: 0.75rem;
    font-size: clamp(1.3rem, 1.1rem + 0.55vw, 1.8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.member-shell-root .gp-member-dashboard__wallet-card p {
    margin: 0.5rem 0 0;
    color: rgba(226, 232, 240, 0.74);
    line-height: 1.7;
    font-size: 0.86rem;
}

.member-shell-root .gp-member-dashboard__wallet-links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.45rem;
    padding: 0 0.8rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
}

.member-shell-root .gp-member-dashboard__ribbon {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.95rem;
}

.member-shell-root .gp-member-metric-card {
    min-height: 8.6rem;
    padding: 1rem 1.05rem;
    border: 1px solid #e2e8f0;
    border-radius: 1.35rem;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.member-shell-root .gp-member-metric-card.is-accent {
    border-color: #fecaca;
    box-shadow: 0 14px 28px rgba(239, 68, 68, 0.08);
}

.member-shell-root .gp-member-metric-card__label {
    display: block;
    margin-bottom: 0.65rem;
    color: #94a3b8;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.member-shell-root .gp-member-metric-card strong {
    display: block;
    color: #0f172a;
    font-size: clamp(1.35rem, 1.16rem + 0.55vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.member-shell-root .gp-member-metric-card p {
    margin: 0.5rem 0 0;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.55;
}

.member-shell-root .gp-member-panel {
    padding: 1.1rem;
}

.member-shell-root .gp-member-list-scroll {
    max-height: min(62vh, 42rem);
    overflow: auto;
    scrollbar-gutter: stable;
}

.member-shell-root .gp-member-pagination nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.member-shell-root .gp-member-pagination .relative {
    box-shadow: none !important;
}

.member-shell-root .gp-member-pagination p {
    margin: 0;
    color: #64748b;
    font-size: 0.82rem;
}

.member-shell-root .gp-member-pagination a,
.member-shell-root .gp-member-pagination span {
    border-color: #e2e8f0 !important;
    font-size: 0.82rem;
}

.member-shell-root .gp-member-referral-card {
    background:
        radial-gradient(circle at top right, rgba(254, 226, 226, 0.72), transparent 32%),
        #ffffff;
}

.member-shell-root .gp-member-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.member-shell-root .gp-member-panel__head h2 {
    margin: 0.42rem 0 0.22rem;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.member-shell-root .gp-member-panel__head p {
    margin: 0;
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.7;
}

.member-shell-root .gp-member-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #dc2626;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
}

.member-shell-root .gp-member-book-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.member-shell-root .gp-member-book-card {
    display: grid;
    grid-template-columns: 4.7rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    padding: 0.78rem;
    border-radius: 1.2rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.member-shell-root .gp-member-book-card:hover,
.member-shell-root .gp-member-quick-card:hover {
    border-color: #fecaca;
    background: #ffffff;
    transform: translateY(-1px);
}

.member-shell-root .gp-member-book-card__cover {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.member-shell-root .gp-member-book-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-shell-root .gp-member-book-card__body strong {
    display: block;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.4;
}

.member-shell-root .gp-member-book-card__body span {
    display: block;
    margin-top: 0.22rem;
    color: #64748b;
    font-size: 0.74rem;
}

.member-shell-root .gp-member-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.member-shell-root .gp-member-quick-card {
    display: grid;
    grid-template-columns: 2.55rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    min-height: 5rem;
    padding: 0.82rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    background: #ffffff;
    text-decoration: none;
}

.member-shell-root .gp-member-quick-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 0.95rem;
    background: #fff1f2;
    color: #dc2626;
}

.member-shell-root .gp-member-quick-card strong {
    display: block;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 800;
}

.member-shell-root .gp-member-quick-card span {
    display: block;
    margin-top: 0.15rem;
    color: #64748b;
    font-size: 0.73rem;
}

.member-shell-root .gp-member-stat-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.member-shell-root .gp-member-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 3.25rem;
    padding: 0.82rem 0.9rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.member-shell-root .gp-member-stat-row span {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.member-shell-root .gp-member-stat-row strong {
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 900;
}

.member-shell-root .gp-member-empty-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    min-height: 16rem;
    justify-content: center;
    padding: 1rem 0;
}

.member-shell-root .gp-member-empty-panel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 1.35rem;
    background: #fff1f2;
    color: #dc2626;
    font-size: 1.4rem;
}

.member-shell-root .gp-member-empty-panel h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 900;
}

.member-shell-root .gp-member-empty-panel p {
    margin: 0.35rem 0 0;
    max-width: 32rem;
    color: #64748b;
    line-height: 1.7;
}

.member-shell-root .gp-member-footer-shell {
    background: transparent;
}

.member-shell-root .gp-member-footer-shell__panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid #dbe4f0;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.member-shell-root .gp-member-footer-shell__panel h3 {
    margin: 0.45rem 0 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    max-width: 38rem;
}

.member-shell-root .member-bottom-nav {
    left: max(0.65rem, env(safe-area-inset-left));
    right: max(0.65rem, env(safe-area-inset-right));
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    height: auto;
    padding: 0.4rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(22px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.member-shell-root .member-bottom-nav-item {
    flex: 1 1 0;
    min-width: 0;
    min-height: 3.2rem;
    gap: 0.28rem;
    border-radius: 1rem;
    padding: 0.6rem 0.45rem;
}

.member-shell-root .member-bottom-nav-item i {
    margin-bottom: 0;
    font-size: 1rem;
}

.member-shell-root .member-bottom-nav-item span {
    font-size: 0.62rem;
    font-weight: 800;
}

.member-shell-root .member-bottom-nav-item.active {
    background: #fff1f2;
    color: #dc2626;
    box-shadow: inset 0 0 0 1px #fecaca;
}

@media (max-width: 1279.98px) {
    .member-shell-root .gp-member-dashboard__workspace {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1023.98px) {
    :root {
        --gp-header-top: 0px;
        --gp-header-main: 108px;
        --gp-header-offset: var(--gp-header-main);
    }

    body.public-shell {
        padding-top: calc(var(--gp-header-main) + 0.2rem) !important;
    }

    body.public-shell.member-shell-root {
        --gp-header-main: 68px;
    }

    .public-shell .gp-public-header__top {
        display: none !important;
    }

    .public-shell .gp-public-header__main {
        min-height: var(--gp-header-main) !important;
        background: rgba(255, 255, 255, 0.97);
    }

    .public-shell .gp-public-header__row {
        min-height: 60px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem !important;
    }

    .public-shell .gp-public-header__brand-rail {
        flex: 0 0 auto !important;
    }

    .public-shell .gp-public-header__utility-rail {
        flex: 1 1 auto !important;
        min-width: 0;
    }

    .public-shell .gp-public-header__tools {
        gap: 0.4rem !important;
    }

    .public-shell .gp-public-header__nav-rail,
    .public-shell .gp-public-header .hidden.lg\:flex,
    .public-shell .gp-public-header .hidden.lg\:block,
    .public-shell .gp-public-header .gp-public-search.hidden.lg\:flex,
    .public-shell .gp-public-header .gp-public-nav.hidden.lg\:flex {
        display: none !important;
    }

    .public-shell .gp-public-brand__logo--full {
        display: none !important;
    }

    .public-shell .gp-public-brand__logo--compact {
        display: block !important;
        width: 2.45rem;
        height: 2.45rem;
    }

    .public-shell .gp-public-header__tools {
        gap: 0.42rem;
    }

    .public-shell .gp-public-mobile-quicknav {
        display: block !important;
        padding-top: 0.1rem !important;
        padding-bottom: 0.72rem !important;
    }

    .public-shell .gp-public-mobile-quicknav__scroller {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .public-shell .gp-public-mobile-quicknav__item {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        flex: 0 0 auto;
        min-height: 2.45rem;
        padding: 0 0.82rem;
        border-radius: 9999px;
        border: 1px solid #e2e8f0;
        background: #ffffff;
        color: #475569;
        text-decoration: none;
        font-size: 0.78rem;
        font-weight: 800;
        white-space: nowrap;
    }

    .public-shell .gp-public-mobile-quicknav__item.is-primary {
        background: #fff7f7;
        border-color: #fecaca;
        color: #991b1b;
    }

    .public-shell .gp-public-mobile-quicknav__item.is-active {
        background: #fff1f2;
        border-color: #fca5a5;
        color: #dc2626;
    }

    .public-shell .gp-public-mobile-toggle {
        display: inline-flex !important;
    }

    .public-shell .gp-public-account {
        min-width: 2.75rem;
        padding-right: 0.7rem;
        padding-left: 0.1rem;
    }

    .public-shell .gp-public-account.hidden.lg\:inline-flex {
        display: none !important;
    }

    .public-shell .gp-public-account__meta,
    .public-shell .gp-public-account .gp-public-dropdown__chevron {
        display: none !important;
    }

    .public-shell .gp-public-account__avatar {
        width: 2.3rem;
        height: 2.3rem;
    }

    .public-shell .gp-public-icon-btn,
    .public-shell .gp-public-mobile-toggle {
        width: 2.5rem;
        height: 2.5rem;
    }

    .public-shell .gp-public-mobile-sheet {
        inset-inline: 0.8rem;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        border-radius: 1.4rem;
        width: auto;
        max-height: calc(100dvh - var(--gp-header-main) - 1.2rem);
    }

    .public-shell .gp-public-mobile-sheet .max-h-\[75vh\] {
        max-height: calc(100dvh - var(--gp-header-main) - 5.4rem) !important;
    }

    .public-shell .gp-public-explore-card {
        min-height: 5rem;
        padding: 0.9rem;
    }

    .public-shell .gp-site-footer--dark {
        margin-top: 2rem;
    }

    .public-shell .gp-site-footer__hero,
    .public-shell .gp-site-footer__grid,
    .public-shell .gp-site-footer__bottom {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .public-shell .gp-site-footer__hero,
    .public-shell .gp-site-footer__grid,
    .public-shell .gp-site-footer__bottom,
    .member-shell-root .gp-member-footer-shell__panel {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .public-shell .gp-site-footer__hero h2 {
        max-width: 18rem;
    }

    .public-shell .gp-site-footer__hero-actions {
        justify-content: flex-start;
    }

    .public-shell .gp-site-footer__grid {
        grid-template-columns: 1fr;
    }

    .member-shell-root .gp-member-dashboard__ribbon,
    .member-shell-root .gp-member-book-grid,
    .member-shell-root .gp-member-quick-grid {
        grid-template-columns: 1fr;
    }

    .member-shell-root .gp-public-header__main {
        min-height: 68px !important;
    }

    .member-shell-root .gp-public-search-toggle {
        display: none !important;
    }

    .member-shell-root .gp-public-header__row {
        min-height: 68px !important;
    }

    .member-shell-root .gp-member-dashboard__workspace,
    .member-shell-root .gp-member-panel {
        border-radius: 1.3rem;
    }

    .member-shell-root .gp-member-panel__head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .public-shell .container {
        padding-left: 0.95rem !important;
        padding-right: 0.95rem !important;
    }

    .public-shell .product-card-enhanced h3,
    .public-shell .product-card-enhanced h4 {
        min-height: 2.6em !important;
        font-size: 0.82rem !important;
        line-height: 1.4 !important;
    }

    .public-shell .product-card-enhanced .text-sm,
    .public-shell .product-card-enhanced .text-xs {
        line-height: 1.45 !important;
    }

    .public-shell .card-product,
    .public-shell .gp-book-card-shell {
        border-radius: 1.15rem !important;
    }

    .public-shell .gp-public-header__row {
        min-height: 58px !important;
        gap: 0.45rem !important;
    }

    .public-shell .gp-public-header__tools {
        gap: 0.32rem !important;
    }

    .public-shell .gp-public-mobile-sheet {
        top: calc(var(--gp-header-main) + 0.55rem) !important;
        inset-inline: 0.6rem !important;
        border-radius: 1.2rem !important;
    }

    .public-shell .gp-public-mobile-quicknav {
        display: block !important;
        margin-top: 0 !important;
        padding-bottom: 0.6rem !important;
    }

    .public-shell .gp-public-mobile-quicknav__item {
        min-height: 2.25rem !important;
        padding: 0 0.72rem !important;
        font-size: 0.74rem !important;
    }

    .public-shell .gp-public-header__main {
        border-bottom-width: 1px !important;
    }

    .public-shell .gp-public-brand__logo--compact {
        width: 2.2rem !important;
        height: 2.2rem !important;
    }

    .public-shell .gp-public-icon-btn,
    .public-shell .gp-public-mobile-toggle {
        width: 2.35rem !important;
        height: 2.35rem !important;
        min-height: 2.35rem !important;
    }

    .public-shell .gp-public-mobile-layer {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .member-shell-root .gp-public-header__row {
        min-height: 64px !important;
    }

    .public-shell .gp-mobile-nav-link {
        min-height: 3rem !important;
        padding: 0.72rem 0.82rem !important;
        font-size: 0.88rem !important;
    }

    .public-shell .gp-mobile-nav-link__hint {
        font-size: 0.6rem !important;
    }

    .member-shell-root .gp-member-dashboard__workspace,
    .member-shell-root .gp-member-panel {
        padding: 0.95rem;
    }

    .member-shell-root .gp-member-dashboard__title {
        font-size: 1.45rem;
    }

    .member-shell-root .gp-member-dashboard__subtitle,
    .member-shell-root .gp-member-panel__head p,
    .member-shell-root .gp-member-empty-panel p {
        font-size: 0.82rem;
    }

.member-shell-root .member-bottom-nav {
        left: max(0.45rem, env(safe-area-inset-left));
        right: max(0.45rem, env(safe-area-inset-right));
        bottom: max(0.45rem, env(safe-area-inset-bottom));
        padding: 0.34rem;
    }
}

/* --- PUBLIC HEADER HARD STABILIZATION (deploy_update115) ---------------- */
@media (min-width: 1024px) {
    body.public-shell .gp-public-header__main > .container > .gp-public-header__row {
        display: flex !important;
        align-items: center !important;
        gap: 0.85rem !important;
        min-height: var(--gp-header-main) !important;
    }

    body.public-shell .gp-public-header__brand-rail {
        flex: 0 0 8.45rem !important;
        width: 8.45rem !important;
        max-width: 8.45rem !important;
        min-width: 8.45rem !important;
        overflow: hidden !important;
        padding-right: 0.35rem !important;
    }

    body.public-shell .gp-public-brand {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    body.public-shell .gp-public-brand__logo--full {
        width: 7.7rem !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 2.55rem !important;
        object-fit: contain !important;
    }

    body.public-shell .gp-public-header__nav-rail {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
        justify-content: center !important;
        padding-inline: 0.25rem !important;
    }

    body.public-shell .gp-public-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.12rem !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    body.public-shell .gp-public-nav__item,
    body.public-shell .gp-public-nav__dropdown {
        min-height: 2.66rem !important;
        padding: 0 0.58rem !important;
        font-size: 0.82rem !important;
        flex-shrink: 1 !important;
    }

    body.public-shell .gp-public-header__utility-rail {
        flex: 0 0 auto !important;
        min-width: 0 !important;
        margin-left: auto !important;
    }

    body.public-shell .gp-public-header__tools {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0.4rem !important;
        min-width: 0 !important;
    }

    body.public-shell .gp-public-search {
        width: 8.9rem !important;
        max-width: 8.9rem !important;
        min-width: 8.9rem !important;
        flex: 0 0 8.9rem !important;
        min-height: 2.8rem !important;
    }

    body.public-shell .gp-public-search__input {
        min-height: 2.8rem !important;
        font-size: 0.82rem !important;
    }

    body.public-shell .gp-public-cta,
    body.public-shell .gp-public-login,
    body.public-shell .gp-public-account,
    body.public-shell .gp-public-icon-btn {
        min-height: 2.8rem !important;
    }
}

@media (max-width: 1023.98px) {
    body.public-shell {
        --gp-header-main: 102px !important;
        --gp-header-offset: var(--gp-header-main) !important;
    }

    body.public-shell.member-shell-root {
        --gp-header-main: 66px !important;
    }

    body.public-shell .gp-public-header__main > .container {
        display: block !important;
    }

    body.public-shell .gp-public-header__main > .container > .gp-public-header__row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.45rem !important;
        min-height: 58px !important;
    }

    body.public-shell .gp-public-header__brand-rail {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        padding-right: 0 !important;
        overflow: visible !important;
    }

    body.public-shell .gp-public-brand {
        width: auto !important;
        overflow: visible !important;
    }

    body.public-shell .gp-public-brand__logo--full {
        display: none !important;
    }

    body.public-shell .gp-public-brand__logo--compact {
        display: block !important;
        width: 2.35rem !important;
        height: 2.35rem !important;
        box-shadow: none !important;
    }

    body.public-shell .gp-public-mobile-search-wrap {
        display: block !important;
        padding-bottom: 0.42rem !important;
    }

    body.public-shell .gp-public-search--mobile {
        display: flex !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        min-height: 2.72rem !important;
    }

    body.public-shell .gp-public-search--mobile .gp-public-search__input {
        min-height: 2.72rem !important;
        font-size: 0.82rem !important;
    }

    body.public-shell .gp-public-header__utility-rail {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    body.public-shell .gp-public-header__tools {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0.36rem !important;
        min-width: 0 !important;
    }

    body.public-shell .gp-public-icon-btn,
    body.public-shell .gp-public-mobile-toggle {
        width: 2.38rem !important;
        height: 2.38rem !important;
        min-height: 2.38rem !important;
    }

    body.public-shell .gp-public-mobile-quicknav {
        display: block !important;
        padding-top: 0.05rem !important;
        padding-bottom: 0.58rem !important;
    }

    body.public-shell .gp-public-mobile-quicknav__scroller {
        display: flex !important;
        gap: 0.42rem !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }

    body.public-shell .gp-public-mobile-quicknav__item {
        min-height: 2.18rem !important;
        padding: 0 0.7rem !important;
        font-size: 0.74rem !important;
        border-radius: 9999px !important;
        flex: 0 0 auto !important;
    }

    body.public-shell .gp-public-mobile-avatar {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 1.9rem !important;
        height: 1.9rem !important;
        border-radius: 9999px !important;
        overflow: hidden !important;
        background: #f8fafc !important;
        color: #475569 !important;
        font-size: 0.74rem !important;
        font-weight: 900 !important;
        line-height: 1 !important;
    }

    body.public-shell .gp-public-mobile-avatar--fallback {
        background: #dc2626 !important;
        color: #ffffff !important;
    }

    body.public-shell .gp-public-mobile-sheet {
        inset-inline: 0.7rem !important;
        top: calc(var(--gp-header-main) + 0.45rem) !important;
        border-radius: 1.22rem !important;
        max-height: calc(100dvh - var(--gp-header-main) - 0.9rem) !important;
    }

    body.public-shell .gp-public-mobile-sheet .max-h-\[75vh\] {
        max-height: calc(100dvh - var(--gp-header-main) - 4.8rem) !important;
    }

    body.public-shell.member-shell-root .gp-public-search-toggle {
        display: none !important;
    }

    body.public-shell.member-shell-root .gp-public-mobile-quicknav,
    body.public-shell.member-shell-root .gp-public-mobile-layer {
        display: none !important;
    }

    body.public-shell.member-shell-root .gp-public-header__main > .container > .gp-public-header__row {
        min-height: 64px !important;
    }
}

/* --- DEPLOY UPDATE115 FINAL PUBLIC SHELL RESET ------------------------ */
body.public-shell .gp-public-header,
body.public-shell .gp-public-header__main,
body.public-shell .gp-public-header__row,
body.public-shell .gp-public-header__nav-rail,
body.public-shell .gp-public-nav {
    overflow: visible !important;
}

body.public-shell .gp-public-nav__glyph {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1rem !important;
    height: 1rem !important;
    flex: 0 0 1rem !important;
    color: currentColor !important;
}

body.public-shell .gp-public-nav__glyph svg,
body.public-shell .gp-public-nav__glyph i {
    width: 1rem !important;
    height: 1rem !important;
    display: block !important;
    color: currentColor !important;
}

body.public-shell .gp-public-mobile-search-wrap,
body.public-shell .gp-public-mobile-quicknav,
body.public-shell .gp-site-footer__hero-actions {
    display: none !important;
}

body.public-shell .gp-footer-shell .container > div {
    text-align: center !important;
}

body.public-shell .gp-footer-shell .container > div .inline-flex.items-center.gap-3,
body.public-shell .gp-footer-shell .container > div .mt-6.flex.flex-wrap {
    justify-content: center !important;
}

body.public-shell .gp-site-footer__hero {
    grid-template-columns: 1fr !important;
    justify-items: start !important;
}

@media (min-width: 1024px) {
    body.public-shell .gp-public-search--mobile-inline {
        display: none !important;
    }

    body.public-shell {
        --gp-header-main: 5rem !important;
        --gp-header-offset: calc(var(--gp-header-top) + var(--gp-header-main)) !important;
    }

    body.public-shell .gp-public-header__main > .container > .gp-public-header__row {
        display: flex !important;
        align-items: center !important;
        min-height: var(--gp-header-main) !important;
        gap: 1rem !important;
    }

    body.public-shell .gp-public-header__brand-rail {
        flex: 0 0 7rem !important;
        width: 7rem !important;
        max-width: 7rem !important;
        min-width: 7rem !important;
        padding-right: 0.2rem !important;
        overflow: visible !important;
        position: relative !important;
        z-index: 3 !important;
    }

    body.public-shell .gp-public-brand__logo--full {
        display: block !important;
        width: 6.3rem !important;
        height: 2.1rem !important;
        max-width: none !important;
        object-fit: contain !important;
    }

    body.public-shell .gp-public-brand__logo--compact {
        display: none !important;
    }

    body.public-shell .gp-public-header__nav-rail {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        justify-content: center !important;
        position: relative !important;
        z-index: 4 !important;
    }

    body.public-shell .gp-public-nav {
        justify-content: center !important;
        gap: 0.22rem !important;
    }

    body.public-shell .gp-public-nav__item,
    body.public-shell .gp-public-nav__dropdown {
        min-height: 2.7rem !important;
        padding: 0 0.72rem !important;
        font-size: 0.86rem !important;
        border-radius: 999px !important;
        position: relative !important;
        z-index: 2 !important;
        gap: 0.38rem !important;
    }

    body.public-shell .gp-public-nav__item:hover,
    body.public-shell .gp-public-nav__dropdown:hover {
        z-index: 5 !important;
    }

    body.public-shell .gp-public-header__utility-rail {
        flex: 0 0 auto !important;
        margin-left: auto !important;
        position: relative !important;
        z-index: 6 !important;
    }

    body.public-shell .gp-public-header__tools {
        gap: 0.5rem !important;
    }

    body.public-shell .gp-public-search {
        width: 7.6rem !important;
        max-width: 7.6rem !important;
        min-width: 7.6rem !important;
        flex: 0 0 7.6rem !important;
        min-height: 2.8rem !important;
        border-radius: 999px !important;
    }

    body.public-shell .gp-public-search__input {
        min-height: 2.8rem !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 1023.98px) {
    body.public-shell {
        --gp-header-main: 4.35rem !important;
        --gp-header-offset: var(--gp-header-main) !important;
    }

    body.public-shell.member-shell-root {
        --gp-header-main: 4.25rem !important;
    }

    body.public-shell .gp-public-header__main > .container {
        display: block !important;
    }

    body.public-shell .gp-public-header__main > .container > .gp-public-header__row {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        min-height: var(--gp-header-main) !important;
    }

    body.public-shell .gp-public-header__brand-rail {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        overflow: visible !important;
    }

    body.public-shell .gp-public-brand {
        width: auto !important;
    }

    body.public-shell .gp-public-brand__logo--full {
        display: block !important;
        width: 5.2rem !important;
        height: 1.75rem !important;
        object-fit: contain !important;
    }

    body.public-shell .gp-public-brand__logo--compact {
        display: none !important;
    }

    body.public-shell .gp-public-header__nav-rail {
        display: none !important;
    }

    body.public-shell .gp-public-header__utility-rail {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin-left: auto !important;
    }

    body.public-shell .gp-public-header__tools {
        display: flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
        width: 100% !important;
        justify-content: flex-end !important;
    }

    body.public-shell .gp-public-search--mobile-inline {
        display: flex !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: none !important;
        width: auto !important;
        min-height: 2.5rem !important;
        border-radius: 999px !important;
    }

    body.public-shell .gp-public-search--mobile-inline .gp-public-search__input {
        min-height: 2.5rem !important;
        font-size: 0.8rem !important;
        padding-right: 0.8rem !important;
    }

    body.public-shell .gp-public-icon-btn,
    body.public-shell .gp-public-mobile-toggle {
        width: 2.45rem !important;
        height: 2.45rem !important;
        min-height: 2.45rem !important;
        flex: 0 0 2.45rem !important;
    }

    body.public-shell .gp-public-mobile-avatar {
        width: 1.95rem !important;
        height: 1.95rem !important;
    }

    body.public-shell .gp-public-mobile-sheet {
        inset-inline: 0.8rem !important;
        top: calc(var(--gp-header-main) + 0.5rem) !important;
        max-height: calc(100dvh - var(--gp-header-main) - 1rem) !important;
        z-index: 130 !important;
    }

    body.public-shell .gp-public-mobile-layer {
        z-index: 125 !important;
    }

    body.public-shell.member-shell-root .gp-public-search--mobile-inline {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .gp-toolbar--catalog {
        top: auto !important;
        margin-bottom: 2.5rem !important;
    }

    .gp-catalog-content-shell {
        position: relative;
        z-index: 3;
        margin-top: -5.5rem !important;
    }
}

@media (min-width: 1024px) {
    .gp-page-hero--catalog .gp-page-hero__inner,
    .gp-page-hero--catalog .gp-page-hero__inner--compact {
        padding-top: 0.9rem;
        padding-bottom: 0.45rem;
    }
}

.gp-mobile-filter-backdrop {
    z-index: 160 !important;
}

.gp-mobile-filter-drawer {
    top: var(--gp-header-main);
    width: min(22rem, 100vw);
    max-width: 100vw;
    height: calc(100dvh - var(--gp-header-main));
    z-index: 165 !important;
}

.member-shell-root .gp-member-dashboard__wallet-card .gp-member-kicker {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    box-shadow: none;
}

body.public-shell .gp-public-search--surface-hidden {
    display: none !important;
}

/* --- PUBLIC MOBILE CONSISTENCY HOTFIX (deploy_update120) -------------- */
body.public-shell .gp-public-header__mobile-search-slot,
body.public-shell .gp-public-header__mobile-actions,
body.public-shell .gp-site-footer__brand-panel,
body.public-shell .gp-site-footer__section,
body.public-shell .gp-collab-detail-shell,
body.public-shell .gp-collab-detail-layout,
body.public-shell .gp-collab-detail-progress,
body.public-shell .gp-collab-detail-share,
body.public-shell .gp-collab-detail-meta,
body.public-shell .gp-collab-detail-timeline,
body.public-shell .gp-collab-detail-timeline__track,
body.public-shell .gp-collab-detail-timeline__step,
body.public-shell .gp-collab-detail-chapters,
body.public-shell .gp-collab-detail-chapter-card {
    min-width: 0;
}

body.public-shell .gp-collab-detail-shell,
body.public-shell .gp-site-footer--dark {
    overflow-x: clip;
}

body.public-shell .gp-collab-detail-breadcrumb,
body.public-shell .gp-collab-detail-title,
body.public-shell .gp-collab-detail-chapter-title,
body.public-shell .gp-site-footer__brand-copy,
body.public-shell .gp-site-footer__brand-copywrap span,
body.public-shell .gp-site-footer__info-item span,
body.public-shell .gp-site-footer__contact-chip span,
body.public-shell .gp-site-footer__network-link span {
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.public-shell .gp-site-footer__brand-panel,
body.public-shell .gp-site-footer__section {
    position: relative;
}

@media (max-width: 1023.98px) {
    body.public-shell .gp-public-header__mobile-search-slot {
        flex: 1 1 auto;
        min-width: 0;
    }

    body.public-shell .gp-public-header__mobile-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.35rem;
        flex: 0 0 auto;
    }

    body.public-shell .gp-public-search--mobile-consistent {
        display: flex !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    }

    body.public-shell .gp-collab-detail-shell .container {
        overflow-x: clip;
    }

    body.public-shell .gp-collab-detail-breadcrumb {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem 0.45rem;
        align-items: center;
        white-space: normal !important;
        overflow: visible;
    }

    body.public-shell .gp-collab-detail-breadcrumb a,
    body.public-shell .gp-collab-detail-breadcrumb i {
        flex: 0 0 auto;
    }

    body.public-shell .gp-collab-detail-breadcrumb span:last-child {
        flex: 1 1 100%;
        min-width: 0;
    }

    body.public-shell .gp-collab-detail-layout {
        gap: 1.1rem !important;
    }

    body.public-shell .gp-collab-detail-title {
        font-size: clamp(1.85rem, 5.8vw, 2.35rem) !important;
        line-height: 1.12 !important;
        margin-bottom: 0.85rem !important;
    }

    body.public-shell .gp-collab-detail-meta {
        gap: 0.55rem !important;
    }

    body.public-shell .gp-collab-detail-meta > span {
        width: 100%;
        justify-content: flex-start;
    }

    body.public-shell .gp-collab-detail-progress,
    body.public-shell .gp-collab-detail-share,
    body.public-shell .gp-collab-detail-timeline {
        border-radius: 1.2rem;
    }

    body.public-shell .gp-collab-detail-timeline {
        margin-bottom: 1.3rem !important;
        padding: 1rem !important;
    }

    body.public-shell .gp-collab-detail-timeline__track {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.9rem 0.45rem;
        overflow: visible !important;
        padding-bottom: 0 !important;
        justify-items: center;
    }

    body.public-shell .gp-collab-detail-timeline__track > .absolute {
        display: none !important;
    }

    body.public-shell .gp-collab-detail-timeline__step {
        width: 100%;
        min-width: 0 !important;
    }

    body.public-shell .gp-collab-detail-timeline__step > span:last-child {
        width: 100%;
        text-align: center;
        white-space: normal;
        line-height: 1.35;
    }

    body.public-shell .gp-collab-detail-chapters {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0.85rem !important;
    }

    body.public-shell .gp-collab-detail-chapter-card {
        padding: 1rem !important;
        border-radius: 1.1rem !important;
    }

    body.public-shell .gp-collab-detail-chapter-title {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    body.public-shell .gp-collab-detail-chapter-meta {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.7rem;
    }

    body.public-shell .gp-collab-detail-chapter-meta > div:last-child {
        white-space: normal;
        line-height: 1.45;
    }

    body.public-shell .gp-collab-detail-share > div,
    body.public-shell .gp-collab-detail-share .flex.gap-2 {
        gap: 0.55rem;
    }

    body.public-shell .gp-site-footer__grid {
        gap: 0.95rem;
    }

    body.public-shell .gp-site-footer__brand-panel,
    body.public-shell .gp-site-footer__section {
        padding: 1rem;
        border: 1px solid rgba(148, 163, 184, 0.14);
        border-radius: 1.2rem;
        background: rgba(15, 23, 42, 0.24);
        box-shadow: 0 14px 30px rgba(2, 6, 23, 0.18);
    }

    body.public-shell .gp-site-footer__brand-link {
        align-items: flex-start;
    }

    body.public-shell .gp-site-footer__contact-chip,
    body.public-shell .gp-site-footer__network-link {
        width: 100%;
        justify-content: flex-start;
    }

    body.public-shell .gp-site-footer__bottom {
        gap: 0.8rem;
        padding-top: 1rem;
    }

    body.public-shell .gp-site-footer__bottom-links {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.5rem 0.8rem;
    }
}

/* --- PUBLIC MOBILE HEADER RESCUE (Deploy_Update12) --------------------- */
@media (max-width: 1023.98px) {
    body.public-shell {
        --gp-header-main: 4.65rem !important;
        --gp-header-offset: var(--gp-header-main) !important;
        padding-top: calc(var(--gp-header-main) + 0.2rem) !important;
    }

    body.public-shell .gp-public-header__main {
        min-height: var(--gp-header-main) !important;
    }

    body.public-shell .gp-public-header__main > .container > .gp-public-header__row,
    body.public-shell #gp-header-desktop-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.55rem !important;
        min-height: var(--gp-header-main) !important;
        width: 100% !important;
    }

    body.public-shell .gp-public-brand--mobile-stable {
        display: inline-flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 5.35rem !important;
        max-width: 6.35rem !important;
        overflow: visible !important;
        position: relative !important;
        z-index: 2 !important;
    }

    body.public-shell .gp-public-brand--mobile-stable .gp-public-brand__logo--full {
        display: block !important;
        width: 5.35rem !important;
        max-width: 5.35rem !important;
        height: auto !important;
        max-height: 2rem !important;
        object-fit: contain !important;
    }

    body.public-shell .gp-public-brand--mobile-stable .gp-public-brand__logo--compact {
        display: none !important;
    }

    body.public-shell .gp-public-header__mobile-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0.32rem !important;
        flex: 0 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        margin-left: auto !important;
    }

    body.public-shell .gp-public-header__mobile-actions > .gp-public-search.hidden.lg\:flex,
    body.public-shell .gp-public-header__mobile-actions > .gp-public-cta.hidden.md\:inline-flex {
        display: none !important;
    }

    body.public-shell .gp-public-header__mobile-actions .gp-public-account {
        min-width: 2.4rem !important;
        max-width: 2.4rem !important;
        width: 2.4rem !important;
        padding: 0.2rem !important;
        overflow: hidden !important;
    }

    body.public-shell .gp-public-header__mobile-actions .gp-public-account__meta,
    body.public-shell .gp-public-header__mobile-actions .gp-public-account .gp-public-dropdown__chevron {
        display: none !important;
    }

    body.public-shell .gp-public-icon-btn,
    body.public-shell .gp-public-header__mobile-actions .gp-public-account,
    body.public-shell .gp-public-header__mobile-actions .gp-public-login {
        flex: 0 0 2.4rem !important;
        width: 2.4rem !important;
        height: 2.4rem !important;
        min-height: 2.4rem !important;
        border-radius: 0.78rem !important;
    }

    body.public-shell .gp-public-header__mobile-search-slot {
        width: 100% !important;
        padding-bottom: 0.7rem !important;
    }

    body.public-shell .gp-public-search--mobile-consistent {
        display: flex !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }
}

/* --- PUBLIC BOOK COVER RATIO RESCUE (Deploy_Update12) ---------------- */
.gp-book-cover-frame {
    aspect-ratio: 2 / 3;
}

.gp-book-cover-frame img,
.product-card-enhanced .gp-book-cover-frame .product-image {
    object-fit: contain !important;
}

.gp-book-cover-frame .product-image {
    width: 100%;
    height: 100%;
}

@media (max-width: 640px) {
    .gp-book-cover-frame {
        border-radius: 0.85rem;
    }

    .gp-book-cover-frame img,
    .gp-book-cover-frame .product-image {
        border-radius: 0.65rem;
    }
}

/* --- PUBLIC LIST CARD COMPACT MOBILE POLISH (Deploy_Update13) -------- */
.gp-public-list-card {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.035);
}

.gp-public-list-cover {
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto !important;
}

.gp-public-list-cover a {
    display: block;
    height: 100%;
    width: 100%;
}

.gp-public-list-category {
    max-width: 100%;
    line-height: 1.25;
}

.gp-public-list-meta {
    border-top: 1px solid rgba(226, 232, 240, 0.65);
    border-bottom: 1px solid rgba(226, 232, 240, 0.45);
    padding-block: 0.38rem;
}

@media (max-width: 640px) {
    .gp-public-list-card {
        border-radius: 1rem !important;
        min-height: 9rem !important;
        align-items: center !important;
    }

    .gp-public-list-cover {
        width: 6.5rem !important;
        min-width: 6.5rem !important;
        height: 9.5rem !important;
        max-height: 9.5rem !important;
        margin-left: 0.45rem !important;
        padding: 0 !important;
        background: transparent !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .gp-public-list-cover img,
    .gp-public-list-cover .product-image {
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
        width: 100% !important;
        height: auto !important;
        max-height: 100% !important;
        object-fit: contain !important;
        border-radius: 0.5rem !important;
    }

    .gp-public-list-cover .gp-playbooks-badge {
        width: 22px !important;
        height: 22px !important;
        top: 4px !important;
        right: 4px !important;
        border-radius: 6px !important;
    }
    .gp-public-list-cover .gp-playbooks-badge img {
        width: 12px !important;
        height: 12px !important;
    }

    .gp-public-list-category {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gp-public-list-meta {
        gap: 0.35rem 0.65rem !important;
        margin-bottom: 0.4rem !important;
        padding-block: 0.32rem !important;
    }

    .gp-public-list-meta .gp-playbooks-inline {
        width: 100%;
        gap: 0.32rem;
    }
}

/* --- PUBLIC MODERATE RADIUS PASS (Deploy_Update15) ------------------- */
body.public-shell .product-card-enhanced,
body.public-shell .gp-public-list-card,
body.public-shell .gp-section-surface,
body.public-shell .gp-news-card,
body.public-shell .gp-site-footer__brand-panel,
body.public-shell .gp-site-footer__section,
body.public-shell .gp-collab-detail-shell,
body.public-shell .gp-collab-detail-progress,
body.public-shell .gp-collab-detail-share,
body.public-shell .gp-collab-detail-timeline,
body.public-shell .gp-collab-detail-chapter-card,
body.public-shell .gp-toolbar--catalog,
body.public-shell .gp-page-hero__inner,
body.public-shell .gp-page-hero__inner--compact {
    border-radius: 0.625rem !important;
}

body.public-shell .gp-book-cover-frame,
body.public-shell .gp-public-list-cover,
body.public-shell .product-card-enhanced .product-image,
body.public-shell .gp-member-book-card__cover,
body.public-shell .gp-collab-detail-timeline__step,
body.public-shell .gp-category-chip {
    border-radius: 0.5rem !important;
}

body.public-shell .gp-public-list-category,
body.public-shell .gp-playbooks-badge,
body.public-shell .gp-playbooks-inline,
body.public-shell .gp-member-inline-link,
body.public-shell .gp-member-empty-panel,
body.public-shell .gp-home-carousel-arrow {
    border-radius: 0.5rem !important;
}

/* --- PUBLIC MOBILE FLOATING STACK PASS (Deploy_Update25) -------------- */
@media (max-width: 767.98px) {
    body.public-shell:has(.gp-product-detail-page) {
        padding-bottom: calc(5.75rem + env(safe-area-inset-bottom)) !important;
    }

    .gp-product-detail-page .gp-product-mobile-bottom-spacer {
        display: block !important;
        height: calc(6.5rem + env(safe-area-inset-bottom)) !important;
    }

    .gp-product-detail-page .gp-product-mobile-cta {
        left: max(0.75rem, env(safe-area-inset-left)) !important;
        right: max(0.75rem, env(safe-area-inset-right)) !important;
        bottom: calc(0.75rem + env(safe-area-inset-bottom)) !important;
        z-index: 90 !important;
        pointer-events: auto !important;
    }

    .gp-product-detail-page .gp-product-mobile-cta > .bg-white {
        min-height: 4rem !important;
        padding: 0.55rem 0.75rem !important;
        border-radius: 1rem !important;
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18) !important;
    }

    .gp-product-detail-page .gp-product-mobile-cta a,
    .gp-product-detail-page .gp-product-mobile-cta button {
        min-height: 2.75rem !important;
        padding-inline: 0.9rem !important;
        border-radius: 0.9rem !important;
        white-space: nowrap !important;
    }

    body.public-shell:has(.gp-product-detail-page) #topcontrol,
    body.public-shell:has(.gp-product-detail-page) .back-to-top {
        right: max(0.9rem, env(safe-area-inset-right)) !important;
        bottom: calc(5.25rem + env(safe-area-inset-bottom)) !important;
        z-index: 95 !important;
    }

    body.public-shell:has(.gp-product-detail-page) #topcontrol img,
    body.public-shell:has(.gp-product-detail-page) .back-to-top {
        width: 2.55rem !important;
        height: 2.55rem !important;
    }

    body.public-shell div[class*="md\:hidden"][class*="fixed"][class*="z-30"]:not(.gp-product-mobile-cta) {
        bottom: calc(0.75rem + env(safe-area-inset-bottom)) !important;
    }
}
