/* ============================================================
   PermisOK – Pricing & Products Stylesheet
   Color palette matched to the website:
   Principal #021A58 | Secondaire #E7B104 | Texte #1A1A1A
   Accent #F07067 | Off white #FAFAFA | Accent2 #BE9200
   Card bg #FFF7D8 | Card bg2 #F3F1FF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ─── Shared Design Tokens (both shortcodes) ─── */
.pk-pricing,
.pk-embed {
    --pk-navy:       #021A58;
    --pk-navy-light: #0a2570;
    --pk-navy-dark:  #010e30;
    --pk-gold:       #E7B104;
    --pk-gold-light: #f0c636;
    --pk-gold-dark:  #BE9200;
    --pk-white:      #ffffff;
    --pk-offwhite:   #FAFAFA;
    --pk-card-bg:    #FFF7D8;
    --pk-card-bg2:   #F3F1FF;
    --pk-text:       #1A1A1A;
    --pk-accent:     #F07067;
    --pk-gray-100:   #f0ede7;
    --pk-gray-200:   #e0ddd7;
    --pk-gray-300:   #d1cec8;
    --pk-gray-400:   #9ca3af;
    --pk-gray-500:   #6b7280;
    --pk-gray-600:   #4b5563;
    --pk-green:      #059669;
    --pk-green-50:   #ecfdf5;
    --pk-radius:     50px;
    --pk-radius-card: 16px;
    --pk-radius-sm:  10px;
    --pk-radius-xs:  6px;
    --pk-shadow:     0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
    --pk-shadow-lg:  0 10px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.06);
    --pk-shadow-xl:  0 20px 40px -8px rgba(0,0,0,.15);
    --pk-transition: .25s cubic-bezier(.4,0,.2,1);

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--pk-text);
    line-height: 1.6;
}

.pk-pricing *, .pk-pricing *::before, .pk-pricing *::after,
.pk-embed *, .pk-embed *::before, .pk-embed *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ============================================================
   HERO BANNER (only [permisok_pricing])
   ============================================================ */
.pk-pricing__hero {
    position: relative;
    background: var(--pk-navy);
    padding: 80px 24px 60px;
    text-align: center;
    overflow: hidden;
}

.pk-pricing__hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(231,177,4,.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(231,177,4,.06) 0%, transparent 50%);
    pointer-events: none;
}

.pk-pricing__hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.pk-pricing__hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(231,177,4,.15);
    color: var(--pk-gold);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: var(--pk-radius);
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(231,177,4,.25);
}

.pk-pricing__hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--pk-white);
    margin-bottom: 14px;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.pk-pricing__hero-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,.7);
    max-width: 520px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.pk-pricing__hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.pk-pricing__hero-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,.85);
}

.pk-pricing__hero-feature svg {
    color: var(--pk-gold);
    flex-shrink: 0;
}

/* ============================================================
   STICKY CATEGORY NAV (pricing page)
   ============================================================ */
.pk-pricing__nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--pk-gray-200);
    padding: 0 24px;
    transition: box-shadow var(--pk-transition);
}

.pk-pricing__nav.is-scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.pk-pricing__nav-inner {
    display: flex;
    gap: 4px;
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 0;
}

.pk-pricing__nav-inner::-webkit-scrollbar {
    display: none;
}

.pk-pricing__nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--pk-radius);
    font-size: 13px;
    font-weight: 600;
    color: var(--pk-gray-500);
    text-decoration: none !important;
    white-space: nowrap;
    transition: all var(--pk-transition);
    flex-shrink: 0;
}

.pk-pricing__nav-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.pk-pricing__nav-link:hover {
    color: var(--pk-navy);
    background: var(--pk-offwhite);
    text-decoration: none !important;
}

.pk-pricing__nav-link.is-active {
    color: var(--pk-navy);
    background: var(--pk-offwhite);
    box-shadow: inset 0 -2px 0 var(--pk-gold);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.pk-pricing__sections {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.pk-pricing__section {
    padding: 56px 0 40px;
    border-bottom: 1px solid var(--pk-gray-200);
}

.pk-pricing__section:last-child {
    border-bottom: none;
}

/* Section header */
.pk-pricing__section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.pk-pricing__section-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--pk-radius-sm);
    background: var(--pk-navy);
    color: var(--pk-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pk-pricing__section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--pk-navy);
    margin: 0 0 4px;
    line-height: 1.2;
}

.pk-pricing__section-subtitle {
    font-size: 14px;
    color: var(--pk-gray-500);
    margin: 0;
}

/* ============================================================
   PACKAGE CARDS (grid)
   ============================================================ */
.pk-pricing__cards {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.pk-pricing__cards--1 { grid-template-columns: 1fr; max-width: 400px; }
.pk-pricing__cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
.pk-pricing__cards--3 { grid-template-columns: repeat(3, 1fr); }
.pk-pricing__cards--4,
.pk-pricing__cards--5,
.pk-pricing__cards--6 { grid-template-columns: repeat(3, 1fr); }

/* ── Individual Card ── */
.pk-package-card {
    position: relative;
    background: var(--pk-white);
    border: 2px solid var(--pk-gray-200);
    border-radius: var(--pk-radius-card);
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    transition: all var(--pk-transition);
    overflow: hidden;
}

.pk-package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--pk-navy);
    transition: background var(--pk-transition);
}

.pk-package-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pk-shadow-xl);
    border-color: var(--pk-navy);
}

/* ── Popular variant ── */
.pk-package-card--popular {
    border-color: var(--pk-gold);
    background: var(--pk-card-bg);
    box-shadow: var(--pk-shadow-lg);
}

.pk-package-card--popular::before {
    background: var(--pk-gold);
    height: 4px;
}

.pk-package-card--popular:hover {
    border-color: var(--pk-gold);
    box-shadow: var(--pk-shadow-xl);
}

/* ── Popular badge ── */
.pk-package-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--pk-gold);
    color: var(--pk-navy);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--pk-radius);
    text-transform: uppercase;
    letter-spacing: .3px;
}

/* ── Card header ── */
.pk-package-card__header {
    margin-bottom: 24px;
}

.pk-package-card__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--pk-navy);
    margin: 0 0 12px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.pk-package-card__price-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.pk-package-card__old-price {
    font-size: 16px;
    color: var(--pk-gray-400);
    text-decoration: line-through;
}

.pk-package-card__old-price .woocommerce-Price-amount {
    color: inherit;
    font-weight: 400;
}

.pk-package-card__price {
    font-size: 36px;
    font-weight: 900;
    color: var(--pk-navy);
    line-height: 1;
    letter-spacing: -.02em;
}

.pk-package-card__price .woocommerce-Price-amount {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
}

.pk-package-card__price .woocommerce-Price-currencySymbol {
    font-size: 22px;
    font-weight: 700;
}

.pk-package-card--popular .pk-package-card__price {
    color: var(--pk-navy);
}

/* ── Features list ── */
.pk-package-card__features {
    flex: 1;
    margin-bottom: 24px;
}

.pk-package-card__features ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pk-package-card__features li {
    position: relative;
    padding: 8px 0 8px 28px;
    font-size: 14px;
    color: var(--pk-gray-600);
    border-bottom: 1px solid rgba(0,0,0,.06);
    line-height: 1.5;
}

.pk-package-card__features li:last-child {
    border-bottom: none;
}

.pk-package-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 18px;
    height: 18px;
    background: var(--pk-green-50);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

/* Highlight "INCLUS" and "OFFERT" */
.pk-package-card__features li strong,
.pk-package-card__features li b {
    color: var(--pk-gold-dark);
    font-weight: 700;
}

/* ── Card footer / CTA ── */
.pk-package-card__footer {
    margin-top: auto;
}

.pk-package-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: var(--pk-radius);
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all var(--pk-transition);
    position: relative;
    overflow: hidden;
    background: var(--pk-navy);
    color: var(--pk-white);
}

.pk-package-card__cta:hover {
    background: var(--pk-navy-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(2,26,88,.3);
}

.pk-package-card__cta:active {
    transform: translateY(0);
}

.pk-package-card--popular .pk-package-card__cta {
    background: var(--pk-gold);
    color: var(--pk-navy);
}

.pk-package-card--popular .pk-package-card__cta:hover {
    background: var(--pk-gold-dark);
    box-shadow: 0 4px 16px rgba(231,177,4,.3);
}

/* Loading state */
.pk-package-card__cta.is-loading {
    pointer-events: none;
    opacity: .8;
}

.pk-package-card__cta.is-loading .pk-cta-text,
.pk-package-card__cta.is-loading .pk-cta-arrow {
    display: none;
}

.pk-package-card__cta.is-loading .pk-cta-loading {
    display: inline-flex !important;
}

/* Spinner */
.pk-spinner {
    animation: pkSpin .8s linear infinite;
}

@keyframes pkSpin {
    to { transform: rotate(360deg); }
}

/* CTA arrow animation */
.pk-cta-arrow {
    transition: transform var(--pk-transition);
}

.pk-package-card__cta:hover .pk-cta-arrow {
    transform: translateX(4px);
}

/* ============================================================
   COMPACT LIST (tarifs à l'unité)
   ============================================================ */
.pk-pricing__compact-list {
    display: grid;
    gap: 8px;
}

.pk-compact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--pk-white);
    border: 2px solid var(--pk-gray-200);
    border-radius: var(--pk-radius-sm);
    padding: 16px 20px;
    transition: all var(--pk-transition);
}

.pk-compact-item:hover {
    border-color: var(--pk-navy);
    box-shadow: var(--pk-shadow);
    transform: translateX(4px);
}

.pk-compact-item__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--pk-text);
}

.pk-compact-item__action {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.pk-compact-item__price {
    font-size: 18px;
    font-weight: 800;
    color: var(--pk-navy);
    white-space: nowrap;
}

.pk-compact-item__price .woocommerce-Price-amount {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
}

.pk-compact-item__price del {
    font-size: 13px;
    color: var(--pk-gray-400);
    font-weight: 400;
    margin-right: 6px;
}

.pk-compact-item__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 2px solid var(--pk-navy);
    border-radius: var(--pk-radius);
    background: transparent;
    color: var(--pk-navy);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all var(--pk-transition);
    white-space: nowrap;
}

.pk-compact-item__btn svg {
    width: 16px;
    height: 16px;
}

.pk-compact-item__btn:hover {
    background: var(--pk-navy);
    color: var(--pk-white);
}

.pk-compact-item__btn.is-loading {
    pointer-events: none;
    opacity: .6;
}

/* ============================================================
   BOTTOM CTA (only [permisok_pricing])
   ============================================================ */
.pk-pricing__bottom-cta {
    padding: 0 24px 60px;
}

.pk-pricing__bottom-cta-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--pk-navy);
    border-radius: var(--pk-radius-card);
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
}

.pk-pricing__bottom-cta-inner h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--pk-white);
    margin: 0 0 8px;
}

.pk-pricing__bottom-cta-inner p {
    font-size: 15px;
    color: rgba(255,255,255,.7);
    margin: 0 0 28px;
}

.pk-pricing__contact-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.pk-pricing__contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--pk-radius);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none !important;
    transition: all var(--pk-transition);
    background: var(--pk-gold);
    color: var(--pk-navy);
    border: 2px solid var(--pk-gold);
}

.pk-pricing__contact-btn:hover {
    background: var(--pk-gold-dark);
    border-color: var(--pk-gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(231,177,4,.3);
    text-decoration: none !important;
    color: var(--pk-navy);
}

.pk-pricing__contact-btn--outline {
    background: transparent;
    border-color: rgba(255,255,255,.25);
    color: var(--pk-white);
}

.pk-pricing__contact-btn--outline:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.4);
    color: var(--pk-white);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.pk-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}

.pk-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger cards */
.pk-pricing__cards .pk-reveal:nth-child(1) { transition-delay: 0ms; }
.pk-pricing__cards .pk-reveal:nth-child(2) { transition-delay: 100ms; }
.pk-pricing__cards .pk-reveal:nth-child(3) { transition-delay: 200ms; }
.pk-pricing__cards .pk-reveal:nth-child(4) { transition-delay: 300ms; }

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.pk-toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--pk-navy, #021A58);
    color: var(--pk-white, #fff);
    padding: 14px 22px;
    border-radius: var(--pk-radius, 50px);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    box-shadow: var(--pk-shadow-xl);
    transform: translateY(100px);
    opacity: 0;
    transition: all .4s cubic-bezier(.16,1,.3,1);
    pointer-events: none;
}

.pk-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.pk-toast svg {
    flex-shrink: 0;
    color: var(--pk-gold, #E7B104);
}

.pk-toast a {
    color: var(--pk-gold, #E7B104);
    text-decoration: none;
    font-weight: 700;
    margin-left: 6px;
}

.pk-toast a:hover {
    text-decoration: underline;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .pk-pricing__cards--3,
    .pk-pricing__cards--4,
    .pk-pricing__cards--5,
    .pk-pricing__cards--6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pk-pricing__hero {
        padding: 56px 20px 44px;
    }

    .pk-pricing__hero-title {
        font-size: 32px;
    }

    .pk-pricing__hero-subtitle {
        font-size: 15px;
    }

    .pk-pricing__hero-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .pk-pricing__nav-link span {
        display: none;
    }

    .pk-pricing__nav-link {
        padding: 10px 14px;
    }

    .pk-pricing__nav-link svg {
        width: 20px;
        height: 20px;
    }

    .pk-pricing__section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .pk-pricing__section-title {
        font-size: 22px;
    }

    .pk-pricing__sections {
        padding: 0 16px;
    }

    .pk-pricing__cards,
    .pk-pricing__cards--2,
    .pk-pricing__cards--3,
    .pk-pricing__cards--4,
    .pk-pricing__cards--5,
    .pk-pricing__cards--6 {
        grid-template-columns: 1fr;
    }

    .pk-package-card {
        padding: 24px 22px 22px;
    }

    .pk-package-card__price {
        font-size: 30px;
    }

    .pk-compact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .pk-compact-item__action {
        width: 100%;
        justify-content: space-between;
    }

    .pk-pricing__bottom-cta {
        padding: 0 16px 40px;
    }

    .pk-pricing__bottom-cta-inner {
        padding: 36px 24px;
    }

    .pk-pricing__contact-row {
        flex-direction: column;
        align-items: stretch;
    }

    .pk-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 480px) {
    .pk-pricing__hero {
        padding: 44px 16px 36px;
    }

    .pk-pricing__hero-title {
        font-size: 28px;
    }

    .pk-pricing__section {
        padding: 36px 0 28px;
    }

    .pk-package-card__name {
        font-size: 16px;
    }

    .pk-pricing__section-icon {
        width: 44px;
        height: 44px;
    }

    .pk-pricing__section-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* ============================================================
   CHECKOUT CUSTOMISATION
   ============================================================ */
.pk-checkout-advantages {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    background: var(--pk-offwhite, #FAFAFA);
    border: 2px solid #e0ddd7;
    border-radius: var(--pk-radius, 50px);
    padding: 20px 28px;
    margin-bottom: 32px;
}

.pk-checkout-advantage {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #021A58;
}

.pk-checkout-advantage svg {
    color: #E7B104;
    flex-shrink: 0;
}

/* ============================================================
   EMBEDDABLE PRODUCTS [permisok_products]
   ============================================================ */
.pk-embed {
    position: relative;
    padding-bottom: 100px;
}

/* ── Embed Sticky Nav ── */
.pk-embed__nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
}

.pk-embed__nav {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--pk-gray-200);
    border-radius: var(--pk-radius-sm);
    transition: box-shadow var(--pk-transition);
}

.pk-embed__nav.is-scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    border-radius: 0;
}

.pk-embed__nav-inner {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 4px;
}

.pk-embed__nav-inner::-webkit-scrollbar {
    display: none;
}

.pk-embed__nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--pk-radius);
    font-size: 13px;
    font-weight: 600;
    color: var(--pk-gray-500);
    text-decoration: none !important;
    white-space: nowrap;
    transition: all var(--pk-transition);
    flex-shrink: 0;
}

.pk-embed__nav-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.pk-embed__nav-link:hover {
    color: var(--pk-navy);
    background: var(--pk-offwhite);
    text-decoration: none !important;
}

.pk-embed__nav-link.is-active {
    color: var(--pk-navy);
    background: var(--pk-offwhite);
    box-shadow: inset 0 -2px 0 var(--pk-gold);
}

/* ── Embed Sections ── */
.pk-embed__sections {
    max-width: 1100px;
    margin: 0 auto;
}

.pk-embed__section {
    padding: 48px 0 36px;
    border-bottom: 1px solid var(--pk-gray-200);
}

.pk-embed__section:last-child {
    border-bottom: none;
}

.pk-embed__section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.pk-embed__section-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--pk-radius-sm);
    background: var(--pk-navy);
    color: var(--pk-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pk-embed__section-icon svg {
    width: 24px;
    height: 24px;
}

.pk-embed__section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--pk-navy);
    margin: 0 0 4px;
    line-height: 1.2;
}

.pk-embed__section-subtitle {
    font-size: 14px;
    color: var(--pk-gray-500);
    margin: 0;
}

/* ── "Added" button state ── */
.pk-package-card__cta.is-added,
.pk-compact-item__btn.is-added {
    background: var(--pk-green, #059669) !important;
    color: var(--pk-white, #fff) !important;
    border-color: var(--pk-green, #059669) !important;
    pointer-events: none;
}

/* ============================================================
   FLOATING CART BAR
   ============================================================ */
.pk-floating-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform .4s cubic-bezier(.16,1,.3,1);
    pointer-events: none;
}

.pk-floating-cart.is-visible {
    transform: translateY(0);
    pointer-events: auto;
}

.pk-floating-cart__inner {
    max-width: 800px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--pk-navy, #021A58);
    color: #fff;
    padding: 16px 24px;
    border-radius: var(--pk-radius-card, 16px);
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
    font-family: 'Inter', sans-serif;
}

.pk-floating-cart__info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pk-floating-cart__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.pk-floating-cart__icon svg {
    color: var(--pk-gold, #E7B104);
}

.pk-floating-cart__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pk-gold, #E7B104);
    color: var(--pk-navy, #021A58);
    font-size: 11px;
    font-weight: 800;
    border-radius: 50px;
    padding: 0 5px;
    line-height: 1;
}

.pk-floating-cart__details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pk-floating-cart__label {
    font-size: 12px;
    color: rgba(255,255,255,.6);
    font-weight: 500;
}

.pk-floating-cart__total {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.pk-floating-cart__total .woocommerce-Price-amount {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
}

.pk-floating-cart__checkout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--pk-radius, 50px);
    background: var(--pk-gold, #E7B104);
    color: var(--pk-navy, #021A58);
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-decoration: none !important;
    transition: all .25s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.pk-floating-cart__checkout:hover {
    background: var(--pk-gold-dark, #BE9200);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(231,177,4,.35);
    text-decoration: none !important;
    color: var(--pk-navy, #021A58);
}

.pk-floating-cart__checkout svg {
    transition: transform .25s ease;
}

.pk-floating-cart__checkout:hover svg {
    transform: translateX(3px);
}

/* Cart bump animation */
@keyframes pkCartBump {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.15); }
    60%  { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.pk-floating-cart__icon.is-bumping {
    animation: pkCartBump .4s cubic-bezier(.16,1,.3,1);
}

/* ── Embed Responsive ── */
@media (max-width: 768px) {
    .pk-embed__nav-link span {
        display: none;
    }

    .pk-embed__nav-link {
        padding: 10px 14px;
    }

    .pk-embed__section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pk-embed__section-title {
        font-size: 20px;
    }

    .pk-embed__section-icon {
        width: 44px;
        height: 44px;
    }

    .pk-embed__section {
        padding: 32px 0 24px;
    }

    .pk-floating-cart__inner {
        margin: 0 12px 12px;
        padding: 14px 18px;
        border-radius: 14px;
        gap: 12px;
    }

    .pk-floating-cart__label {
        display: none;
    }

    .pk-floating-cart__total {
        font-size: 16px;
    }

    .pk-floating-cart__checkout {
        padding: 10px 20px;
        font-size: 13px;
    }

    .pk-floating-cart__icon {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .pk-embed__section-title {
        font-size: 18px;
    }

    .pk-floating-cart__inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .pk-floating-cart__info {
        width: 100%;
        justify-content: center;
    }

    .pk-floating-cart__checkout {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   ORDER CONFIRMATION PAGE
   ============================================================ */
.pk-confirmation {
    --pk-navy:       #021A58;
    --pk-navy-light: #0a2570;
    --pk-gold:       #E7B104;
    --pk-gold-dark:  #BE9200;
    --pk-white:      #ffffff;
    --pk-offwhite:   #FAFAFA;
    --pk-card-bg:    #FFF7D8;
    --pk-text:       #1A1A1A;
    --pk-gray-200:   #e0ddd7;
    --pk-gray-400:   #9ca3af;
    --pk-gray-500:   #6b7280;
    --pk-gray-600:   #4b5563;
    --pk-green:      #059669;
    --pk-green-50:   #ecfdf5;
    --pk-amber-50:   #fffbeb;
    --pk-amber:      #d97706;

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    color: var(--pk-text);
}

.pk-confirmation *, .pk-confirmation *::before, .pk-confirmation *::after {
    box-sizing: border-box;
}

/* ── Header ── */
.pk-confirmation__header {
    text-align: center;
    margin-bottom: 36px;
}

.pk-confirmation__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.pk-confirmation__icon--success {
    background: var(--pk-green-50);
    color: var(--pk-green);
}

.pk-confirmation__icon--pending {
    background: var(--pk-amber-50);
    color: var(--pk-amber);
}

.pk-confirmation__title {
    font-size: 30px;
    font-weight: 900;
    color: var(--pk-navy);
    margin: 0 0 10px;
    line-height: 1.2;
}

.pk-confirmation__subtitle {
    font-size: 16px;
    color: var(--pk-gray-600);
    margin: 0 0 16px;
    line-height: 1.5;
}

.pk-confirmation__subtitle strong {
    color: var(--pk-navy);
}

.pk-confirmation__order-number {
    display: inline-block;
    background: var(--pk-offwhite);
    border: 2px solid var(--pk-gray-200);
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pk-navy);
    letter-spacing: .3px;
}

/* ── Card ── */
.pk-confirmation__card {
    background: var(--pk-white);
    border: 2px solid var(--pk-gray-200);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
}

.pk-confirmation__card--steps {
    background: var(--pk-offwhite);
    border-color: var(--pk-gray-200);
}

.pk-confirmation__card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--pk-navy);
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--pk-gray-200);
}

.pk-confirmation__card-title svg {
    color: var(--pk-gold);
    flex-shrink: 0;
}

/* ── Items list ── */
.pk-confirmation__items {
    margin-bottom: 16px;
}

.pk-confirmation__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.pk-confirmation__item:last-child {
    border-bottom: none;
}

.pk-confirmation__item-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pk-confirmation__item-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--pk-text);
}

.pk-confirmation__item-qty {
    font-size: 13px;
    color: var(--pk-gray-500);
    font-weight: 500;
}

.pk-confirmation__item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--pk-navy);
    white-space: nowrap;
}

.pk-confirmation__item-price .woocommerce-Price-amount {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
}

/* ── Total ── */
.pk-confirmation__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 2px solid var(--pk-navy);
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 700;
    color: var(--pk-navy);
}

.pk-confirmation__total-amount {
    font-size: 22px;
    font-weight: 900;
}

.pk-confirmation__total-amount .woocommerce-Price-amount {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
}

/* ── Order details grid ── */
.pk-confirmation__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pk-confirmation__detail {
    background: var(--pk-offwhite);
    border-radius: 10px;
    padding: 12px 16px;
}

.pk-confirmation__detail-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--pk-gray-500);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.pk-confirmation__detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--pk-text);
    word-break: break-word;
}

/* Status badges */
.pk-confirmation__status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 50px;
}

.pk-confirmation__status--paid {
    background: var(--pk-green-50);
    color: var(--pk-green);
}

.pk-confirmation__status--pending {
    background: var(--pk-amber-50);
    color: var(--pk-amber);
}

/* ── Steps timeline ── */
.pk-confirmation__steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pk-confirmation__step {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--pk-gray-200);
}

.pk-confirmation__step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pk-confirmation__step:first-child {
    padding-top: 0;
}

.pk-confirmation__step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pk-navy);
    color: var(--pk-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    flex-shrink: 0;
}

.pk-confirmation__step-content h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--pk-navy);
    margin: 0 0 4px;
}

.pk-confirmation__step-content p {
    font-size: 14px;
    color: var(--pk-gray-600);
    margin: 0;
    line-height: 1.5;
}

.pk-confirmation__step-content strong {
    color: var(--pk-navy);
}

/* ── CTA Buttons ── */
.pk-confirmation__actions {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.pk-confirmation__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    padding: 16px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-decoration: none !important;
    transition: all .25s ease;
    text-align: center;
}

.pk-confirmation__btn--primary {
    background: var(--pk-navy);
    color: var(--pk-white);
}

.pk-confirmation__btn--primary:hover {
    background: var(--pk-navy-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(2,26,88,.3);
    text-decoration: none !important;
    color: var(--pk-white);
}

.pk-confirmation__btn--outline {
    background: transparent;
    border: 2px solid var(--pk-navy);
    color: var(--pk-navy);
}

.pk-confirmation__btn--outline:hover {
    background: var(--pk-navy);
    color: var(--pk-white);
    transform: translateY(-1px);
    text-decoration: none !important;
}

/* ── Trust badges ── */
.pk-confirmation__trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 20px;
    background: var(--pk-offwhite);
    border: 2px solid var(--pk-gray-200);
    border-radius: 50px;
}

.pk-confirmation__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pk-navy);
}

.pk-confirmation__trust-item svg {
    color: var(--pk-gold);
    flex-shrink: 0;
}

/* Hide default WooCommerce thank you content */
.woocommerce-order-received .woocommerce-thankyou-order-received,
.woocommerce-order-received .woocommerce-thankyou-order-details,
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
    display: none !important;
}

/* ── Confirmation Responsive ── */
@media (max-width: 640px) {
    .pk-confirmation {
        padding: 28px 16px 40px;
    }

    .pk-confirmation__title {
        font-size: 24px;
    }

    .pk-confirmation__icon {
        width: 64px;
        height: 64px;
    }

    .pk-confirmation__icon svg {
        width: 32px;
        height: 32px;
    }

    .pk-confirmation__card {
        padding: 20px 18px;
    }

    .pk-confirmation__details {
        grid-template-columns: 1fr;
    }

    .pk-confirmation__actions {
        flex-direction: column;
    }

    .pk-confirmation__trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        border-radius: 16px;
    }

    .pk-confirmation__step {
        gap: 12px;
    }

    .pk-confirmation__step-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}
