/**
 * Pro Offcanvas Cart V2 - Frontend Styles
 * Modern, fluid animations & responsive design
 */

/* ============================================
   Base & Reset
   ============================================ */

#poc-root {
    position: relative;
    z-index: var(--poc-z-index, 9999);
    font-family: var(--poc-font-family);
    font-size: var(--poc-font-size);
    line-height: 1.5;
}

#poc-root *,
#poc-root *::before,
#poc-root *::after {
    box-sizing: border-box;
}

#poc-root button {
    font-family: inherit;
}

/* Scroll lock — drawer et popup center/bottom uniquement */
html.poc-open:not(.poc-popup-corner),
html.poc-open:not(.poc-popup-corner) body {
    overflow: hidden !important;
}

/* ============================================
   Backdrop
   ============================================ */

.poc-backdrop {
    position: fixed;
    inset: 0;
    background: var(--poc-backdrop);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--poc-transition);
    z-index: calc(var(--poc-z-index, 9999) - 1);
}

html.poc-open .poc-backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* Pas de backdrop pour le coin bas-droite */
html.poc-popup-corner .poc-backdrop {
    display: none;
}

/* ============================================
   Drawer
   ============================================ */

.poc-drawer {
    position: fixed;
    top: 0;
    height: 100%;
    height: 100dvh; /* Modern viewport height */
    width: min(var(--poc-width), 92vw);
    background: var(--poc-bg);
    color: var(--poc-text);
    display: flex;
    flex-direction: column;
    z-index: var(--poc-z-index, 9999);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform var(--poc-transition) cubic-bezier(0.4, 0, 0.2, 1);
    font-size: var(--poc-font-size);
}

.poc-drawer * {
    font-size: inherit;
}

.poc-drawer--right {
    right: 0;
    transform: translateX(105%);
}

.poc-drawer--left {
    left: 0;
    transform: translateX(-105%);
}

html.poc-open .poc-drawer {
    transform: translateX(0);
}

/* ============================================
   Popup Modal
   ============================================ */

.poc-modal {
    position: fixed;
    z-index: var(--poc-z-index, 9999);
    background: var(--poc-bg);
    color: var(--poc-text);
    display: flex;
    flex-direction: column;
    border-radius: var(--poc-radius);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
    font-size: var(--poc-font-size);
    max-height: 90vh;
    overflow: hidden;

    /* Caché par défaut — scale + opacity */
    opacity: 0;
    pointer-events: none;
    transition:
        opacity var(--poc-transition) ease,
        transform var(--poc-transition) cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Tailles */
.poc-modal--small      { width: min(400px, 94vw); }
.poc-modal--medium     { width: min(540px, 94vw); }
.poc-modal--large      { width: min(700px, 94vw); }
.poc-modal--fullscreen {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    max-height: 100vh;
}

/* Positions */
.poc-modal--center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%) scale(0.96);
}
.poc-modal--bottom {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    border-radius: var(--poc-radius) var(--poc-radius) 0 0;
    max-height: 80vh;
    transform: translateY(20px);
}
.poc-modal--corner-br {
    bottom: 24px;
    right: 24px;
    max-height: 75vh;
    transform: translateY(16px) scale(0.97);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* État ouvert */
html.poc-open .poc-modal {
    opacity: 1;
    pointer-events: auto;
}
html.poc-open .poc-modal--center {
    transform: translate(-50%, -50%) scale(1);
}
html.poc-open .poc-modal--bottom {
    transform: translateY(0);
}
html.poc-open .poc-modal--corner-br {
    transform: translateY(0) scale(1);
}

/* Le scroll-zone dans le popup doit respecter la max-height du modal */
.poc-modal .poc-scroll-zone {
    max-height: calc(75vh - 70px); /* 70px = hauteur header */
}
.poc-modal--fullscreen .poc-scroll-zone {
    max-height: calc(100vh - 70px);
}

/* Mobile : popup bottom prend plus de place */
@media (max-width: 768px) {
    .poc-modal--corner-br {
        bottom: 0;
        right: 0;
        width: 100% !important;
        border-radius: var(--poc-radius) var(--poc-radius) 0 0;
        max-height: 80vh;
    }
    html.poc-open .poc-modal--corner-br {
        transform: translateY(0) scale(1);
    }
}

/* Peek state */
html.poc-peek .poc-drawer--right {
    transform: translateX(calc(100% - var(--peek-distance, 60px)));
}

html.poc-peek .poc-drawer--left {
    transform: translateX(calc(-100% + var(--peek-distance, 60px)));
}

html.poc-peek .poc-backdrop {
    opacity: 0.3;
    pointer-events: auto;
}

html.poc-peek .poc-drawer {
    cursor: pointer;
}

/* Peek message */
.poc-peek-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--poc-success);
    border-bottom: 1px solid var(--poc-border);
    font-weight: 500;
    animation: pocPeekMessageIn 0.3s ease;
}

@keyframes pocPeekMessageIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge bounce animation */
.poc-badge-bounce {
    animation: pocBadgeBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes pocBadgeBounce {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(0.9);
    }
    75% {
        transform: scale(1.15);
    }
}

/* Peek mode */
html.poc-peeking .poc-drawer {
    transform: translateX(calc(100% - var(--poc-peek-distance, 60px)));
    cursor: pointer;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
}

html.poc-peeking .poc-drawer--left {
    transform: translateX(calc(-100% + var(--poc-peek-distance, 60px)));
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.15);
}

html.poc-peeking .poc-drawer:hover {
    box-shadow: -6px 0 16px rgba(0, 0, 0, 0.2);
}

html.poc-peeking .poc-drawer--left:hover {
    box-shadow: 6px 0 16px rgba(0, 0, 0, 0.2);
}

html.poc-peeking .poc-backdrop {
    opacity: 0;
    pointer-events: none;
}

/* Loading state */
.poc-drawer.poc-loading {
    pointer-events: none;
}

.poc-drawer.poc-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--poc-primary-bg) 0%,
        var(--poc-primary-bg) 50%,
        transparent 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: pocLoading 1s linear infinite;
}

@keyframes pocLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   Header
   ============================================ */

.poc-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--poc-bg);
    border-bottom: 1px solid var(--poc-border);
    min-height: 70px;
    flex-shrink: 0;
}

/* Mobile : header plus visible */
@media (max-width: 768px) {
    .poc-header {
        padding: 16px 20px;
        min-height: 64px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
}

.poc-header__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.poc-header__count {
    font-size: 14px;
    font-weight: 400;
    color: var(--poc-muted);
}

.poc-header__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.poc-header__continue {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--poc-muted);
    text-decoration: none;
    transition: color 0.15s ease;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}

.poc-header__continue:hover {
    color: var(--poc-text);
}

.poc-header__continue svg {
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.poc-header__continue:hover svg {
    transform: translateX(-2px);
}

/* Style overrides for classic header */
.poc-drawer--classic .poc-header__continue {
    color: color-mix(in srgb, var(--poc-primary-text) 70%, transparent);
}

.poc-drawer--classic .poc-header__continue:hover {
    color: var(--poc-primary-text);
}

.poc-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: var(--poc-radius-sm);
    background: var(--poc-close-button-bg, rgba(0,0,0,0.05));
    color: var(--poc-close-button, #1a1a1a);
    cursor: pointer;
    transition: all var(--poc-transition);
    flex-shrink: 0;
}

/* Mobile : bouton plus grand et visible */
@media (max-width: 768px) {
    .poc-close {
        width: 48px;
        height: 48px;
        background: var(--poc-close-button-bg, rgba(0,0,0,0.08));
        border-radius: 12px;
    }
    
    .poc-close svg {
        width: 24px;
        height: 24px;
        stroke-width: 2.5;
    }
}

.poc-close:hover {
    filter: brightness(0.9);
}

.poc-close:active {
    transform: scale(0.95);
    filter: brightness(0.8);
}

/* ============================================
   Info Bar Sticky (Essential info always visible)
   ============================================ */

.poc-info-bar {
    position: sticky;
    top: 70px; /* Header height */
    z-index: 20;
    background: var(--poc-bg);
    padding: 12px 24px 16px;
    border-bottom: 1px solid var(--poc-border);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .poc-info-bar {
        top: 64px; /* Mobile header height */
        padding: 10px 20px 12px;
    }
}

/* Info bar - Free shipping (déjà sticky, pas de border ici) */
.poc-info-bar .poc-free-ship {
    margin-bottom: 12px;
}

/* Info bar - Total sticky */
.poc-info-bar__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 0;
}

.poc-info-bar__total-label {
    color: var(--poc-muted);
    font-size: 14px;
    font-weight: 500;
}

.poc-info-bar__total-value {
    color: var(--poc-text);
    font-size: 20px;
}

@media (max-width: 768px) {
    .poc-info-bar__total {
        font-size: 16px;
    }
    
    .poc-info-bar__total-value {
        font-size: 18px;
    }
}

/* ============================================
   Scroll Zone (Body + Footer unified scroll)
   ============================================ */

.poc-scroll-zone {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar for scroll zone */
.poc-scroll-zone::-webkit-scrollbar {
    width: 6px;
}

.poc-scroll-zone::-webkit-scrollbar-track {
    background: transparent;
}

.poc-scroll-zone::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 999px;
}

.poc-scroll-zone::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* ============================================
   Body (now inside scroll zone)
   ============================================ */

.poc-body {
    padding: 16px 24px;
    color: var(--poc-text);
}

/* ============================================
   Cart Items
   ============================================ */

.poc-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--poc-border);
    animation: pocItemIn var(--poc-transition);
}

@keyframes pocItemIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.poc-item:last-child {
    border-bottom: 0;
}

.poc-item__thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--poc-radius);
    overflow: hidden;
    position: relative;
}

.poc-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--poc-transition);
}

.poc-item__thumb:hover img {
    transform: scale(1.05);
}

.poc-item__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.poc-item__title {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--poc-text);
}

.poc-item__title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--poc-transition);
}

.poc-item__title a:hover {
    color: var(--poc-primary-bg);
}

.poc-item__variations {
    font-size: 13px;
    color: var(--poc-muted);
    line-height: 1.5;
}

.poc-item__variations dl {
    margin: 0;
}

.poc-item__variations dt {
    display: inline;
    font-weight: 500;
}

.poc-item__variations dd {
    display: inline;
    margin: 0;
}

.poc-item__variations dt::after {
    content: ': ';
}

.poc-item__variations dd::after {
    content: '\A';
    white-space: pre;
}

.poc-item__price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
}

.poc-item__unit-price {
    color: var(--poc-text);
}

.poc-item__subtotal {
    color: var(--poc-muted);
    font-size: 14px;
}

.poc-item__stock-warning {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(234, 88, 12, 0.1);
    color: var(--poc-warning);
    font-size: 13px;
    border-radius: var(--poc-radius-sm);
    font-weight: 500;
}

.poc-item__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

/* ============================================
   Quantity Control
   ============================================ */

.poc-qty {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--poc-border);
    border-radius: var(--poc-radius);
    overflow: hidden;
    background: var(--poc-bg);
}

.poc-qty__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--poc-text);
    cursor: pointer;
    transition: background-color var(--poc-transition);
}

.poc-qty__btn:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.05);
}

.poc-qty__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.poc-qty__input {
    width: 50px;
    height: 36px;
    border: 0;
    border-left: 1.5px solid var(--poc-border);
    border-right: 1.5px solid var(--poc-border);
    background: transparent;
    color: var(--poc-text);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    -moz-appearance: textfield;
}

.poc-qty__input::-webkit-outer-spin-button,
.poc-qty__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.poc-qty__input:focus {
    outline: 0;
    background: rgba(0, 0, 0, 0.02);
}

/* ============================================
   Remove Button
   ============================================ */

.poc-item__remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--poc-remove);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity var(--poc-transition);
}

.poc-item__remove:hover {
    opacity: 0.7;
}

/* ============================================
   Empty State
   ============================================ */

.poc-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    min-height: 400px;
}

.poc-empty__icon {
    margin-bottom: 24px;
    color: var(--poc-muted);
    opacity: 0.5;
}

.poc-empty__title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
}

.poc-empty__text {
    margin: 0 0 32px;
    color: var(--poc-muted);
    max-width: 300px;
}

/* ============================================
   Footer
   ============================================ */

.poc-footer {
    padding: 20px 24px;
    background: var(--poc-bg);
    color: var(--poc-text);
    border-top: 1px solid var(--poc-border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ============================================
   Free Shipping
   ============================================ */

.poc-free-ship {
    padding: 14px 16px;
    border-radius: var(--poc-radius);
    background: rgba(0, 0, 0, 0.03);
    border: 1.5px solid var(--poc-border);
    transition: all var(--poc-transition);
}

.poc-free-ship__message {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--poc-text);
}

.poc-free-ship__icon {
    flex-shrink: 0;
}

.poc-free-ship__progress {
    margin-top: 12px;
    height: 8px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.poc-free-ship__bar {
    height: 100%;
    background: var(--poc-primary-bg);
    border-radius: 999px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.poc-free-ship--unlocked {
    background: rgba(22, 163, 74, 0.1);
    border-color: var(--poc-success);
}

.poc-free-ship--unlocked .poc-free-ship__message {
    color: var(--poc-success);
}

/* ============================================
   Coupon
   ============================================ */

.poc-coupon {
    margin: 0;
}

.poc-coupon__input-wrap {
    display: flex;
    gap: 8px;
}

.poc-coupon__input {
    flex: 1;
    height: 44px;
    padding: 0 16px;
    border: 1.5px solid var(--poc-border);
    border-radius: var(--poc-radius);
    background: var(--poc-bg);
    color: var(--poc-text);
    font-size: 14px;
    transition: border-color var(--poc-transition);
}

.poc-coupon__input:focus {
    outline: 0;
    border-color: var(--poc-primary-bg);
}

.poc-coupon__button {
    height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--poc-radius);
    background: var(--poc-secondary-bg);
    color: var(--poc-secondary-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--poc-transition);
    white-space: nowrap;
}

.poc-coupon__button:hover {
    background: var(--poc-secondary-hover);
}

.poc-coupons-applied {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.poc-coupon-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--poc-success);
    border-radius: var(--poc-radius-sm);
    font-size: 13px;
    font-weight: 500;
}

.poc-coupon-tag__code {
    text-transform: uppercase;
}

.poc-coupon-tag__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    color: inherit;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background-color var(--poc-transition);
}

.poc-coupon-tag__remove:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* ============================================
   Totals
   ============================================ */

.poc-totals {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poc-totals__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

.poc-totals__row--total {
    padding-top: 12px;
    margin-top: 6px;
    border-top: 1.5px solid var(--poc-border);
    font-size: 17px;
    font-weight: 600;
}

.poc-muted {
    color: var(--poc-muted);
    font-size: 13px;
}

/* ============================================
   CTA Buttons
   ============================================ */

.poc-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.poc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--poc-radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--poc-transition);
    text-align: center;
}

.poc-btn--primary {
    background: var(--poc-primary-bg);
    color: var(--poc-primary-text);
}

.poc-btn--primary:hover {
    background: var(--poc-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.poc-btn--secondary {
    background: var(--poc-secondary-bg);
    color: var(--poc-secondary-text);
}

.poc-btn--secondary:hover {
    background: var(--poc-secondary-hover);
}

.poc-btn:active {
    transform: translateY(0);
}

/* ============================================
   Upsells
   ============================================ */

.poc-upsells {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1.5px solid var(--poc-border);
}

.poc-upsells__title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 600;
}

.poc-upsells__grid {
    display: grid;
    gap: 16px;
}

.poc-upsell {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.02);
    border: 1.5px solid var(--poc-border);
    border-radius: var(--poc-radius);
    transition: all var(--poc-transition);
}

.poc-upsell:hover {
    border-color: var(--poc-primary-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.poc-upsell__image {
    width: 70px;
    height: 70px;
    border-radius: var(--poc-radius-sm);
    overflow: hidden;
}

.poc-upsell__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poc-upsell__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.poc-upsell__title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.poc-upsell__title a {
    color: inherit;
    text-decoration: none;
}

.poc-upsell__price {
    font-size: 14px;
    font-weight: 600;
    color: var(--poc-primary-bg);
}

.poc-upsell__add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--poc-radius-sm);
    background: var(--poc-primary-bg);
    color: var(--poc-primary-text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--poc-transition);
    align-self: flex-start;
}

.poc-upsell__add:hover {
    background: var(--poc-primary-hover);
}

/* ============================================
   Floating Trigger Button
   ============================================ */

.poc-floating-trigger {
    position: fixed;
    z-index: calc(var(--poc-z-index, 9999) - 2);
}

.poc-trigger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--poc-radius-lg);
    background: var(--poc-primary-bg);
    color: var(--poc-primary-text);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all var(--poc-transition);
}

.poc-floating-btn {
    width: 56px;
    padding: 0;
    position: relative;
}

/* Bouton flottant avec total : devient une pilule */
.poc-floating-btn.poc-trigger-btn--with-total {
    width: auto;
    padding: 0 16px 0 14px;
    gap: 8px;
}

/* Total dans le bouton flottant */
.poc-floating-total {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0.95;
}

/* En mode pilule, le badge se place normalement dans le flux */
.poc-floating-btn.poc-trigger-btn--with-total .poc-badge {
    position: static;
    top: auto;
    right: auto;
    font-size: 11px;
    min-width: 20px;
    height: 20px;
}

.poc-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.poc-trigger-btn:active {
    transform: translateY(0);
}

.poc-trigger-icon {
    flex-shrink: 0;
}

.poc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--poc-badge-bg);
    color: var(--poc-badge-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

/* ── Variantes de badge ── */

/* Outline : contour coloré, fond transparent */
.poc-badge--outline {
    background: transparent;
    color: var(--poc-badge-bg);
    box-shadow: inset 0 0 0 2px var(--poc-badge-bg);
}

/* Dot : petit point sans chiffre */
.poc-badge--dot {
    min-width: 10px;
    width: 10px;
    height: 10px;
    padding: 0;
    font-size: 0;
}

/* Pill : badge plus large avec coins prononcés */
.poc-badge--pill {
    border-radius: 6px;
    min-width: 26px;
    height: 20px;
    font-size: 11px;
    letter-spacing: 0.03em;
}

.poc-badge-bounce {
    animation: pocBadgeBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes pocBadgeBounce {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.4);
    }
    50% {
        transform: scale(0.9);
    }
    75% {
        transform: scale(1.2);
    }
}

/* Badge en position absolue (bouton cercle sans total) */
.poc-floating-btn .poc-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background:  var(--poc-float-badge-bg,  var(--poc-badge-bg));
    color:       var(--poc-float-badge-text, var(--poc-badge-text));
    box-shadow:  var(--poc-float-badge-shadow, none);
    border-radius: var(--poc-float-badge-radius, 999px);
    min-width:   var(--poc-float-badge-min-w,   22px);
    height:      var(--poc-float-badge-height,   22px);
    padding:     var(--poc-float-badge-padding,  0 6px);
    font-size:   var(--poc-float-badge-font,     12px);
}

/* En mode pilule (avec total), le badge revient dans le flux */
.poc-floating-btn.poc-trigger-btn--with-total .poc-badge {
    position: static;
    top: auto;
    right: auto;
}

/* Total flottant — visibility pilotée par variable */
.poc-floating-total {
    display: var(--poc-float-total-display, inline);
}

/* ============================================
   Toast Notifications
   ============================================ */

.poc-toasts {
    position: fixed;
    z-index: calc(var(--poc-z-index, 9999) + 1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.poc-toasts--top-right {
    top: 20px;
    right: 20px;
}

.poc-toasts--top-left {
    top: 20px;
    left: 20px;
}

.poc-toasts--bottom-right {
    bottom: 20px;
    right: 20px;
}

.poc-toasts--bottom-left {
    bottom: 20px;
    left: 20px;
}

.poc-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    padding: 14px 18px;
    background: var(--poc-text);
    color: var(--poc-bg);
    border-radius: var(--poc-radius);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    animation: pocToastIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.poc-toast--success {
    background: var(--poc-success);
}

.poc-toast--error {
    background: var(--poc-remove);
}

@keyframes pocToastIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.poc-toast__icon {
    flex-shrink: 0;
}

.poc-toast__message {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.poc-toast__action {
    padding: 6px 12px;
    border: 0;
    border-radius: var(--poc-radius-sm);
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--poc-transition);
    white-space: nowrap;
}

.poc-toast__action:hover {
    background: rgba(255, 255, 255, 0.3);
}

.poc-toast__close {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background-color var(--poc-transition);
}

.poc-toast__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 640px) {
    .poc-drawer {
        width: 100vw;
        max-width: 100vw;
    }
    
    .poc-header {
        padding: 16px 20px;
    }
    
    .poc-body {
        padding: 12px 20px;
    }
    
    .poc-footer {
        padding: 16px 20px;
    }
    
    .poc-item {
        grid-template-columns: 70px 1fr;
        gap: 12px;
    }
    
    .poc-item__thumb {
        width: 70px;
        height: 70px;
    }
    
    .poc-cta {
        grid-template-columns: 1fr;
    }
    
    .poc-toast {
        min-width: calc(100vw - 40px);
    }
}

/* ============================================
   Available Coupons Display
   ============================================ */

.poc-available-coupons {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--poc-border-color);
}

.poc-available-coupons__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--poc-text-color);
    margin-bottom: 12px;
    opacity: 0.8;
}

.poc-available-coupons__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* COMPACT STYLE */
.poc-available-coupons--compact .poc-available-coupon__compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--poc-secondary-bg);
    border-radius: 6px;
    transition: background 0.2s;
}

.poc-available-coupons--compact .poc-available-coupon__compact:hover {
    background: var(--poc-secondary-hover);
}

.poc-available-coupons--compact .poc-available-coupon__info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.poc-available-coupons--compact .poc-available-coupon__code {
    font-weight: 600;
    font-size: 13px;
    color: var(--poc-text-color);
    font-family: 'Courier New', monospace;
}

.poc-available-coupons--compact .poc-available-coupon__amount {
    font-weight: 600;
    font-size: 13px;
    color: var(--poc-success-color);
}

.poc-available-coupons--compact .poc-available-coupon__min {
    font-size: 11px;
    color: var(--poc-muted-color);
}

.poc-available-coupons--compact .poc-available-coupon__apply {
    padding: 6px 12px;
    font-size: 12px;
    background: var(--poc-primary-bg);
    color: var(--poc-primary-text);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.poc-available-coupons--compact .poc-available-coupon__apply:hover {
    background: var(--poc-primary-hover);
}

/* CARDS STYLE */
.poc-available-coupons--cards .poc-available-coupon__card {
    padding: 14px;
    background: var(--poc-secondary-bg);
    border: 1px solid var(--poc-border-color);
    border-radius: 8px;
    transition: all 0.2s;
}

.poc-available-coupons--cards .poc-available-coupon__card:hover {
    border-color: var(--poc-primary-bg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.poc-available-coupons--cards .poc-available-coupon__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.poc-available-coupons--cards .poc-available-coupon__code {
    font-weight: 700;
    font-size: 14px;
    color: var(--poc-text-color);
    font-family: 'Courier New', monospace;
}

.poc-available-coupons--cards .poc-available-coupon__badge {
    padding: 2px 8px;
    font-size: 10px;
    background: var(--poc-badge-bg);
    color: var(--poc-badge-text);
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.poc-available-coupons--cards .poc-available-coupon__amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--poc-success-color);
    margin-bottom: 6px;
}

.poc-available-coupons--cards .poc-available-coupon__desc {
    font-size: 12px;
    color: var(--poc-muted-color);
    margin-bottom: 6px;
    line-height: 1.4;
}

.poc-available-coupons--cards .poc-available-coupon__min,
.poc-available-coupons--cards .poc-available-coupon__expires {
    font-size: 11px;
    color: var(--poc-muted-color);
    margin-bottom: 4px;
}

.poc-available-coupons--cards .poc-available-coupon__apply {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    background: var(--poc-primary-bg);
    color: var(--poc-primary-text);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.poc-available-coupons--cards .poc-available-coupon__apply:hover {
    background: var(--poc-primary-hover);
}

/* PILLS STYLE */
.poc-available-coupons--pills .poc-available-coupons__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.poc-available-coupons--pills .poc-available-coupon__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--poc-secondary-bg);
    border: 1px solid var(--poc-border-color);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.poc-available-coupons--pills .poc-available-coupon__pill:hover {
    background: var(--poc-primary-bg);
    color: var(--poc-primary-text);
    border-color: var(--poc-primary-bg);
}

.poc-available-coupons--pills .poc-available-coupon__pill:hover .poc-available-coupon__code,
.poc-available-coupons--pills .poc-available-coupon__pill:hover .poc-available-coupon__amount {
    color: var(--poc-primary-text);
}

.poc-available-coupons--pills .poc-available-coupon__code {
    font-weight: 600;
    font-size: 12px;
    color: var(--poc-text-color);
    font-family: 'Courier New', monospace;
}

.poc-available-coupons--pills .poc-available-coupon__amount {
    font-weight: 700;
    font-size: 12px;
    color: var(--poc-success-color);
}

/* CAROUSEL STYLE (horizontal scroll) */
.poc-available-coupons--carousel .poc-available-coupons__list {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px; /* Space for scrollbar */
}

.poc-available-coupons--carousel .poc-available-coupon {
    flex-shrink: 0;
    scroll-snap-align: start;
    width: 220px; /* Fixed width for carousel items */
}

.poc-available-coupons--carousel .poc-available-coupon__compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: var(--poc-secondary-bg);
    border: 1px solid var(--poc-border-color);
    border-radius: 8px;
    transition: all 0.2s;
}

.poc-available-coupons--carousel .poc-available-coupon__compact:hover {
    border-color: var(--poc-primary-bg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.poc-available-coupons--carousel .poc-available-coupon__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.poc-available-coupons--carousel .poc-available-coupon__code {
    font-weight: 600;
    font-size: 13px;
    color: var(--poc-text-color);
    font-family: 'Courier New', monospace;
}

.poc-available-coupons--carousel .poc-available-coupon__amount {
    font-weight: 700;
    font-size: 16px;
    color: var(--poc-success-color);
}

.poc-available-coupons--carousel .poc-available-coupon__min {
    font-size: 11px;
    color: var(--poc-muted-color);
}

.poc-available-coupons--carousel .poc-available-coupon__apply {
    width: 100%;
    padding: 8px;
    font-size: 12px;
    background: var(--poc-primary-bg);
    color: var(--poc-primary-text);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.poc-available-coupons--carousel .poc-available-coupon__apply:hover {
    background: var(--poc-primary-hover);
}

/* Hide scrollbar for carousel but keep functionality */
.poc-available-coupons--carousel .poc-available-coupons__list::-webkit-scrollbar {
    height: 3px;
}

.poc-available-coupons--carousel .poc-available-coupons__list::-webkit-scrollbar-track {
    background: transparent;
}

.poc-available-coupons--carousel .poc-available-coupons__list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
}

/* FOOTER POSITION: Add max height and scroll */
.poc-footer .poc-available-coupons {
    max-height: 250px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.poc-footer .poc-available-coupons__list {
    max-height: 200px;
}

/* ============================================
   Scroll to Bottom Arrow
   ============================================ */

.poc-scroll-arrow {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--poc-primary-bg);
    color: var(--poc-primary-text);
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    z-index: 15;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.poc-scroll-arrow.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.poc-scroll-arrow:hover {
    background: var(--poc-primary-hover);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.poc-scroll-arrow:active {
    transform: translateY(0) scale(0.95);
}

/* Mobile: larger touch target */
@media (max-width: 768px) {
    .poc-scroll-arrow {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}

/* Animation for arrow bounce */
@keyframes poc-arrow-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.poc-scroll-arrow.visible {
    animation: poc-arrow-bounce 2s ease-in-out infinite;
}

.poc-scroll-arrow:hover {
    animation: none;
}

/* ============================================
   Phase 1 Animations
   ============================================ */

@keyframes poc-bounce {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(0.9);
    }
    75% {
        transform: scale(1.1);
    }
}

@keyframes poc-shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

@keyframes poc-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes poc-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes poc-confetti {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--vx), var(--vy)) rotate(720deg);
        opacity: 0;
    }
}

/* Countdown style amélioré */
.poc-countdown {
    animation: poc-fade-in 0.3s ease-out;
}

/* Custom message style amélioré */
.poc-custom-message {
    animation: poc-fade-in 0.3s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Countdown Timer (Modulo Timer styles)
   ============================================ */

/* Variables CSS countdown */
/* Note: Size variables come from inline styles (PHP), not CSS defaults */
.poc-countdown {
    --mt-color: var(--poc-primary-bg);
    --mt-text-color: var(--poc-primary-text);
}

/* Base timer */
.mt-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--mt-color);
    color: var(--mt-text-color);
    padding: var(--mt-padding-v, 10px) var(--mt-padding-h, 14px);
    border-radius: var(--mt-radius, 8px);
    font-size: var(--mt-font-size, 14px);
    font-weight: 600;
    line-height: 1.4;
    margin: 10px 0;
    box-sizing: border-box;
    text-align: center;
}

.mt-timer__content {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.mt-timer__emoji {
    font-size: 1.2em;
}

.mt-timer__label {
    opacity: 0.9;
}

.mt-timer__time {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.mt-timer__value {
    display: inline-block;
    min-width: 1.2em;
    text-align: center;
}

.mt-timer__sep {
    opacity: 0.85;
}

/* Expired */
.mt-timer--expired {
    background: #95a5a6;
    opacity: 0.8;
}

.mt-timer__expired-message {
    font-weight: 500;
}

/* ===== 1. INLINE (default) ===== */
/* Already covered by base styles */

/* ===== 2. MINIMAL ===== */
.mt-timer--minimal {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--mt-color);
    padding: 0;
    margin: 0;
    font-size: var(--mt-font-size, 14px); /* respecte la taille choisie */
    font-weight: 600;
    border-radius: 0;
}

/* ===== 3. BADGE ===== */
.mt-timer--badge {
    display: inline-flex;
    flex-direction: row;
    gap: 4px;
    padding: var(--mt-padding-v) var(--mt-padding-h);
    font-size: var(--mt-font-size);
    border-radius: var(--mt-radius);
}

.mt-timer--badge .mt-timer__emoji {
    font-size: 1em;
}

/* ===== 4. BLOCKS ===== */
.mt-timer--blocks {
    flex-direction: column;
    text-align: center;
}

.mt-timer--blocks .mt-timer__header {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mt-timer__blocks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mt-timer__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--mt-radius);
    padding: var(--mt-padding-v) var(--mt-padding-h);
    min-width: calc(var(--mt-digits-size) * 2.5);
}

.mt-timer__block .mt-timer__value {
    font-size: var(--mt-digits-size);
    font-weight: 700;
    line-height: 1.2;
}

.mt-timer__block .mt-timer__unit {
    font-size: calc(var(--mt-digits-size) * 0.4);
    font-weight: 400;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.mt-timer__block-sep {
    font-size: var(--mt-digits-size);
    font-weight: 300;
    opacity: 0.6;
}

/* ===== 5. PROGRESS BAR ===== */
.mt-timer--progress-bar {
    flex-direction: column;
    width: 100%;
}

.mt-timer__progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
    gap: 8px;
    flex-wrap: wrap;
}

.mt-timer__progress-header .mt-timer__label {
    flex: 1;
}

.mt-timer__progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    overflow: hidden;
}

.mt-timer__progress-fill {
    height: 100%;
    background: var(--mt-text-color);
    border-radius: 3px;
    transition: width 1s linear;
}

/* ===== 6. CIRCLE / DONUT ===== */
.mt-timer--circle {
    flex-direction: column;
    align-items: center;
    background: transparent;
    color: inherit;
    padding: 0;
}

.mt-timer__circle-wrapper {
    position: relative;
    width: calc(var(--mt-digits-size) * 5);
    height: calc(var(--mt-digits-size) * 5);
}

.mt-timer__circle-svg {
    width: 100%;
    height: 100%;
    transform: scaleX(-1);
}

.mt-timer__circle-bg {
    stroke: rgba(0, 0, 0, 0.1);
}

.mt-timer__circle-progress {
    stroke: var(--mt-color);
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

.mt-timer__circle-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mt-timer__circle-time {
    font-size: var(--mt-digits-size);
    font-weight: 700;
    color: var(--mt-color);
    line-height: 1;
}

.mt-timer__circle-time .mt-timer__unit {
    font-size: 0.5em;
    font-weight: 400;
}

.mt-timer__circle-sub {
    font-size: calc(var(--mt-digits-size) * 0.45);
    color: #666;
    margin-top: 4px;
}

.mt-timer--circle .mt-timer__label {
    margin-top: 10px;
    font-size: var(--mt-font-size);
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== 7. DIGITAL LED ===== */
.mt-timer--digital {
    flex-direction: column;
    background: #111;
    border: 2px solid #333;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.mt-timer--digital .mt-timer__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.mt-timer--digital .mt-timer__label {
    color: #888;
    font-size: calc(var(--mt-font-size) * 0.75);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mt-timer__digital-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.mt-timer__digital-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mt-timer__digital-digits {
    background: #0a0a0a;
    border-radius: 4px;
    padding: 8px 6px;
    border: 1px solid #222;
}

.mt-timer__digital-digit {
    font-family: 'Courier New', 'Lucida Console', monospace;
    font-size: var(--mt-digits-size);
    font-weight: 700;
    color: var(--mt-color);
    text-shadow: 0 0 10px var(--mt-color), 0 0 20px var(--mt-color);
    letter-spacing: 2px;
}

.mt-timer__digital-label {
    font-size: calc(var(--mt-digits-size) * 0.35);
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 6px;
}

.mt-timer__digital-sep {
    font-size: var(--mt-digits-size);
    color: var(--mt-color);
    opacity: 0.7;
    margin: 0 2px;
    animation: mt-blink 1s infinite;
}

@keyframes mt-blink {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.2; }
}

/* ===== 8. FLIP CLOCK ===== */
.mt-timer--flip-clock {
    flex-direction: column;
    background: #1a1a2e;
}

.mt-timer--flip-clock .mt-timer__header {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mt-timer__flip-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mt-timer__flip-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mt-timer__flip {
    perspective: 300px;
}

.mt-timer__flip-card {
    position: relative;
    width: calc(var(--mt-digits-size) * 1.8);
    height: calc(var(--mt-digits-size) * 2.1);
    background: linear-gradient(180deg, #2d2d44 0%, #1a1a2e 50%, #2d2d44 50%, #1a1a2e 100%);
    border-radius: var(--mt-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.mt-timer__flip-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.mt-timer__flip-front {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mt-timer__flip-card .mt-timer__value {
    font-size: var(--mt-digits-size);
    font-weight: 700;
    color: var(--mt-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mt-timer__flip-group .mt-timer__unit {
    font-size: calc(var(--mt-digits-size) * 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-top: 6px;
}

.mt-timer__flip-sep {
    font-size: var(--mt-digits-size);
    font-weight: 300;
    opacity: 0.5;
    margin-bottom: 20px;
}

.mt-timer__flip.is-flipping .mt-timer__flip-card {
    animation: mt-flip 0.6s ease-in-out;
}

@keyframes mt-flip {
    0% { transform: perspective(300px) rotateX(0); }
    50% { transform: perspective(300px) rotateX(-90deg); }
    100% { transform: perspective(300px) rotateX(0); }
}

/* ============================================
   Header Styles
   ============================================ */

/* -- Logo centré dans le header -- */
.poc-header__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.poc-header {
    position: relative; /* needed for absolute logo */
}

/* ============================================================
   DRAWER STYLE THEMES
   Chaque variante couvre l'intégralité du drawer :
   header · title · close · body · items · thumb · footer ·
   boutons CTA · inputs · stepper · scrollbar
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   MODERN (référence)
   Fond blanc cassé, ombre portée sur le header,
   items séparés par un trait léger, boutons arrondis moyens
   ──────────────────────────────────────────────────────────── */

.poc-drawer--modern .poc-header {
    background: var(--poc-bg);
    border-bottom: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 22px 24px;
}

.poc-drawer--modern .poc-header__title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.poc-drawer--modern .poc-close {
    background: var(--poc-close-button-bg, rgba(0, 0, 0, 0.05));
    color: var(--poc-close-button, #1a1a1a);
    border-radius: 10px;
}

.poc-drawer--modern .poc-close:hover {
    background: var(--poc-close-button-bg, rgba(0, 0, 0, 0.1));
    filter: brightness(0.88);
}

.poc-drawer--modern .poc-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--poc-border);
}

.poc-drawer--modern .poc-item:last-child {
    border-bottom: none;
}

.poc-drawer--modern .poc-item__thumb {
    border-radius: 10px;
}

.poc-drawer--modern .poc-footer {
    border-top: 1px solid var(--poc-border);
    background: var(--poc-bg);
}

.poc-drawer--modern .poc-btn-primary,
.poc-drawer--modern .poc-btn-secondary {
    border-radius: 10px;
    font-weight: 600;
}

.poc-drawer--modern .poc-qty {
    border-radius: 10px;
}

/* ────────────────────────────────────────────────────────────
   MINIMAL
   Zéro fond, séparateurs ultra-fins, typographie discrète,
   items sans carte, tout respire — focus sur le contenu
   ──────────────────────────────────────────────────────────── */

.poc-drawer--minimal .poc-header {
    background: transparent;
    border-bottom: none;
    padding: 28px 24px 16px;
    box-shadow: none;
}

.poc-drawer--minimal .poc-header::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: var(--poc-border);
    opacity: 0.6;
}

.poc-drawer--minimal .poc-header__title {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--poc-muted);
}

.poc-drawer--minimal .poc-header__count {
    font-size: 11px;
    letter-spacing: 0.1em;
}

.poc-drawer--minimal .poc-close {
    background: var(--poc-close-button-bg, transparent);
    color: var(--poc-close-button, currentColor);
    border: none;
    width: 36px;
    height: 36px;
    opacity: 0.5;
}

.poc-drawer--minimal .poc-close:hover {
    background: var(--poc-close-button-bg, transparent);
    opacity: 1;
    filter: none;
}

.poc-drawer--minimal .poc-body {
    padding-top: 20px;
}

.poc-drawer--minimal .poc-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--poc-border);
    border-bottom-style: dashed;
    opacity: 0.92;
}

.poc-drawer--minimal .poc-item:last-child {
    border-bottom: none;
}

.poc-drawer--minimal .poc-item__thumb {
    border-radius: 4px;
    filter: grayscale(0.15);
}

.poc-drawer--minimal .poc-item__title {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.poc-drawer--minimal .poc-footer {
    background: transparent;
    border-top: 1px dashed var(--poc-border);
    padding-top: 16px;
}

.poc-drawer--minimal .poc-btn-primary,
.poc-drawer--minimal .poc-btn-secondary {
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 500;
}

.poc-drawer--minimal .poc-btn-primary {
    background: var(--poc-text);
    color: var(--poc-bg);
}

.poc-drawer--minimal .poc-btn-primary:hover {
    background: color-mix(in srgb, var(--poc-text) 80%, transparent);
}

.poc-drawer--minimal .poc-qty {
    border-radius: 4px;
    border-color: color-mix(in srgb, var(--poc-border) 80%, transparent);
}

.poc-drawer--minimal .poc-scroll-zone::-webkit-scrollbar-thumb {
    border-radius: 2px;
}

/* ────────────────────────────────────────────────────────────
   CLASSIC
   Header en couleur primaire, accent gauche sur les items,
   total mis en valeur, style "boutique traditionnelle"
   ──────────────────────────────────────────────────────────── */

.poc-drawer--classic .poc-header {
    background: var(--poc-primary-bg);
    border-bottom: none;
    color: var(--poc-primary-text);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.poc-drawer--classic .poc-header__title {
    color: var(--poc-primary-text);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.poc-drawer--classic .poc-header__count {
    color: color-mix(in srgb, var(--poc-primary-text) 65%, transparent);
}

.poc-drawer--classic .poc-header__continue {
    color: color-mix(in srgb, var(--poc-primary-text) 70%, transparent);
}

.poc-drawer--classic .poc-header__continue:hover {
    color: var(--poc-primary-text);
}

.poc-drawer--classic .poc-close {
    background: var(--poc-close-button-bg, rgba(255, 255, 255, 0.18));
    color: var(--poc-close-button, var(--poc-primary-text));
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.poc-drawer--classic .poc-close:hover {
    filter: brightness(1.15);
}

.poc-drawer--classic .poc-body {
    padding-top: 20px;
}

.poc-drawer--classic .poc-item {
    padding: 16px 0 16px 14px;
    border-bottom: 1px solid var(--poc-border);
    border-left: 3px solid transparent;
    transition: border-left-color 0.2s;
}

.poc-drawer--classic .poc-item:hover {
    border-left-color: var(--poc-primary-bg);
}

.poc-drawer--classic .poc-item:last-child {
    border-bottom: none;
}

.poc-drawer--classic .poc-item__thumb {
    border-radius: 6px;
    border: 1px solid var(--poc-border);
}

.poc-drawer--classic .poc-footer {
    border-top: 3px solid var(--poc-primary-bg);
    background: var(--poc-bg);
}

.poc-drawer--classic .poc-btn-primary {
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 13px;
}

.poc-drawer--classic .poc-btn-secondary {
    border-radius: 6px;
    border: 2px solid var(--poc-border);
    background: transparent;
    font-weight: 600;
}

.poc-drawer--classic .poc-qty {
    border-radius: 6px;
}

/* ────────────────────────────────────────────────────────────
   GLASS (Glassmorphism)
   Fond flouté, tout en transparence et reflets,
   fonctionne sur fond coloré ou image
   ──────────────────────────────────────────────────────────── */

.poc-drawer--glass {
    background: transparent !important;
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--poc-border) 40%, transparent),
        -20px 0 60px rgba(0, 0, 0, 0.12);
}

.poc-drawer--glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--poc-bg) 72%, transparent);
    backdrop-filter: blur(24px) saturate(1.6) brightness(1.05);
    -webkit-backdrop-filter: blur(24px) saturate(1.6) brightness(1.05);
    pointer-events: none;
    z-index: 0;
}

.poc-drawer--glass .poc-header,
.poc-drawer--glass .poc-body,
.poc-drawer--glass .poc-footer,
.poc-drawer--glass .poc-scroll-zone {
    position: relative;
    z-index: 1;
}

.poc-drawer--glass .poc-header {
    background: color-mix(in srgb, var(--poc-bg) 55%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--poc-border) 50%, transparent);
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    box-shadow: 0 1px 0 color-mix(in srgb, white 30%, transparent) inset;
}

.poc-drawer--glass .poc-header__title {
    font-weight: 600;
    font-size: 18px;
}

.poc-drawer--glass .poc-close {
    background: var(--poc-close-button-bg, color-mix(in srgb, var(--poc-border) 40%, transparent));
    color: var(--poc-close-button, var(--poc-text));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid color-mix(in srgb, var(--poc-border) 50%, transparent);
    border-radius: 10px;
}

.poc-drawer--glass .poc-close:hover {
    filter: brightness(1.15);
}

.poc-drawer--glass .poc-item {
    background: color-mix(in srgb, var(--poc-bg) 45%, transparent);
    border: 1px solid color-mix(in srgb, var(--poc-border) 45%, transparent);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    backdrop-filter: blur(8px) saturate(1.3);
    -webkit-backdrop-filter: blur(8px) saturate(1.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.poc-drawer--glass .poc-item + .poc-item {
    border-top: 1px solid color-mix(in srgb, var(--poc-border) 45%, transparent);
}

.poc-drawer--glass .poc-item:last-child {
    border-bottom: 1px solid color-mix(in srgb, var(--poc-border) 45%, transparent);
}

.poc-drawer--glass .poc-item__thumb {
    border-radius: 8px;
}

.poc-drawer--glass .poc-footer {
    background: color-mix(in srgb, var(--poc-bg) 62%, transparent);
    border-top: 1px solid color-mix(in srgb, var(--poc-border) 45%, transparent);
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    position: relative;
    z-index: 1;
}

.poc-drawer--glass .poc-btn-primary {
    border-radius: 10px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.poc-drawer--glass .poc-btn-secondary {
    border-radius: 10px;
    background: color-mix(in srgb, var(--poc-bg) 50%, transparent);
    border: 1px solid color-mix(in srgb, var(--poc-border) 60%, transparent);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.poc-drawer--glass .poc-qty {
    border-radius: 10px;
    background: color-mix(in srgb, var(--poc-bg) 40%, transparent);
    border-color: color-mix(in srgb, var(--poc-border) 50%, transparent);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.poc-drawer--glass .poc-scroll-zone::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--poc-border) 60%, transparent);
    border-radius: 999px;
}

/* ────────────────────────────────────────────────────────────
   ROUNDED (Bubbly / Artisanal)
   Tout est arrondi à l'extrême, items en cartes flottantes,
   boutons pilule, ambiance chaleureuse et accueillante
   ──────────────────────────────────────────────────────────── */

.poc-drawer--rounded {
    border-radius: 20px 0 0 20px;
}

.poc-drawer--rounded .poc-header {
    background: var(--poc-bg);
    border-bottom: none;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    padding: 24px;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}

.poc-drawer--rounded .poc-header__title {
    font-size: 17px;
    font-weight: 700;
}

.poc-drawer--rounded .poc-close {
    border-radius: 999px;
    width: 38px;
    height: 38px;
    background: var(--poc-close-button-bg, rgba(0, 0, 0, 0.06));
    color: var(--poc-close-button, var(--poc-text));
}

.poc-drawer--rounded .poc-close:hover {
    filter: brightness(0.88);
}

.poc-drawer--rounded .poc-body {
    padding-top: 14px;
}

.poc-drawer--rounded .poc-item {
    border: 1px solid var(--poc-border);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 10px;
    background: var(--poc-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s, transform 0.2s;
}

.poc-drawer--rounded .poc-item + .poc-item {
    border-top: 1px solid var(--poc-border);
}

.poc-drawer--rounded .poc-item:last-child {
    border-bottom: 1px solid var(--poc-border);
    margin-bottom: 0;
}

.poc-drawer--rounded .poc-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
    transform: translateY(-1px);
}

.poc-drawer--rounded .poc-item__thumb {
    border-radius: 12px;
}

.poc-drawer--rounded .poc-footer {
    border-top: none;
    background: var(--poc-bg);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.06);
    padding-top: 20px;
    position: relative;
    z-index: 2;
}

.poc-drawer--rounded .poc-btn-primary,
.poc-drawer--rounded .poc-btn-secondary {
    border-radius: 999px;
    font-weight: 700;
}

.poc-drawer--rounded .poc-qty {
    border-radius: 999px;
}

.poc-drawer--rounded .poc-qty__btn {
    border-radius: 999px;
}

.poc-drawer--rounded .poc-input,
.poc-drawer--rounded input[type="text"],
.poc-drawer--rounded textarea {
    border-radius: 12px;
}

.poc-drawer--rounded .poc-scroll-zone::-webkit-scrollbar {
    width: 4px;
}

.poc-drawer--rounded .poc-scroll-zone::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
}

/* ────────────────────────────────────────────────────────────
   SHARP (Editorial / Luxe)
   Zéro arrondi partout, séparateurs nets et épais,
   typographie grande et serrée, esprit maison de couture
   ──────────────────────────────────────────────────────────── */

.poc-drawer--sharp {
    border-radius: 0 !important;
}

.poc-drawer--sharp .poc-header {
    background: var(--poc-bg);
    border-bottom: none;
    border-radius: 0;
    padding: 30px 24px 22px;
    box-shadow: none;
    position: relative;
}

.poc-drawer--sharp .poc-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: var(--poc-text);
}

.poc-drawer--sharp .poc-header__title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 1;
}

.poc-drawer--sharp .poc-header__count {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--poc-muted);
}

.poc-drawer--sharp .poc-close {
    border-radius: 0;
    background: var(--poc-close-button-bg, transparent);
    color: var(--poc-close-button, var(--poc-text));
    border: 1px solid currentColor;
    width: 34px;
    height: 34px;
}

.poc-drawer--sharp .poc-close:hover {
    background: var(--poc-close-button, var(--poc-text));
    color: var(--poc-close-button-bg, var(--poc-bg));
    filter: none;
}

.poc-drawer--sharp .poc-close:hover {
    background: var(--poc-text);
    color: var(--poc-bg);
    filter: none;
}

.poc-drawer--sharp .poc-body {
    padding-top: 24px;
}

.poc-drawer--sharp .poc-item {
    border-radius: 0;
    border-bottom: 1px solid var(--poc-border);
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 20px 0;
}

.poc-drawer--sharp .poc-item:first-child {
    border-top: 1px solid var(--poc-border);
}

.poc-drawer--sharp .poc-item:last-child {
    border-bottom: 1px solid var(--poc-border);
}

.poc-drawer--sharp .poc-item__thumb {
    border-radius: 0;
}

.poc-drawer--sharp .poc-item__title {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 13px;
}

.poc-drawer--sharp .poc-footer {
    border-top: 2px solid var(--poc-text);
    border-radius: 0;
    background: var(--poc-bg);
}

.poc-drawer--sharp .poc-btn-primary,
.poc-drawer--sharp .poc-btn-secondary {
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    font-weight: 700;
}

.poc-drawer--sharp .poc-btn-secondary {
    border: 2px solid var(--poc-text);
    background: transparent;
    color: var(--poc-text);
}

.poc-drawer--sharp .poc-btn-secondary:hover {
    background: var(--poc-text);
    color: var(--poc-bg);
}

.poc-drawer--sharp .poc-input,
.poc-drawer--sharp input[type="text"],
.poc-drawer--sharp textarea {
    border-radius: 0;
    border: 1px solid var(--poc-text);
}

.poc-drawer--sharp .poc-qty {
    border-radius: 0;
    border: 1.5px solid var(--poc-text);
}

.poc-drawer--sharp .poc-qty__btn {
    border-radius: 0;
}

.poc-drawer--sharp .poc-close,
.poc-drawer--sharp .poc-badge,
.poc-drawer--sharp .poc-toast,
.poc-drawer--sharp .poc-input {
    border-radius: 0 !important;
}

.poc-drawer--sharp .poc-scroll-zone::-webkit-scrollbar {
    width: 2px;
}

.poc-drawer--sharp .poc-scroll-zone::-webkit-scrollbar-thumb {
    border-radius: 0;
    background: var(--poc-text);
}

/* ============================================================
   AUTO-CLOSE BAR
   ============================================================ */

.poc-autoclose-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: var(--poc-primary-bg);
    transform-origin: left;
    transform: scaleX(1);
    transition: none;
    z-index: 1;
}

.poc-autoclose-bar--running {
    transform: scaleX(0);
    transition: transform var(--poc-ac-duration, 8000ms) linear;
}

/* ============================================================
   CLEAR CART
   ============================================================ */

.poc-clear-cart {
    margin-top: 12px;
    text-align: center;
}

.poc-clear-cart__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--poc-remove);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.poc-clear-cart__btn:hover {
    opacity: 1;
}

.poc-clear-cart__confirm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--poc-bg);
    border: 1px solid var(--poc-border);
    border-radius: 8px;
    font-size: 13px;
    animation: poc-fade-in 0.15s ease;
}

.poc-clear-cart__actions {
    display: flex;
    gap: 8px;
}

.poc-clear-cart__cancel,
.poc-clear-cart__ok {
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s;
}

.poc-clear-cart__cancel {
    background: var(--poc-secondary-bg);
    color: var(--poc-secondary-text);
    border-color: var(--poc-border);
}

.poc-clear-cart__cancel:hover {
    background: var(--poc-secondary-hover);
}

.poc-clear-cart__ok {
    background: var(--poc-remove);
    color: #fff;
}

.poc-clear-cart__ok:hover {
    opacity: 0.85;
}

/* ============================================================
   ORDER NOTE
   ============================================================ */

.poc-order-note {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.poc-order-note__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--poc-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.poc-order-note__input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--poc-border);
    border-radius: 8px;
    background: var(--poc-bg);
    color: var(--poc-text);
    font-size: 13px;
    font-family: inherit;
    resize: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    line-height: 1.5;
}

.poc-order-note__input:focus {
    outline: none;
    border-color: var(--poc-primary-bg);
}

.poc-order-note__status {
    font-size: 11px;
    color: var(--poc-success);
    min-height: 14px;
    text-align: right;
}

/* ============================================================
   SAVED CARTS
   ============================================================ */

.poc-saved-carts {
    margin-top: 16px;
    border-top: 1px solid var(--poc-border);
    padding-top: 12px;
}

.poc-saved-carts__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    background: none;
    border: none;
    color: var(--poc-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.poc-saved-carts__toggle:hover {
    color: var(--poc-text);
}

.poc-saved-carts__chevron {
    margin-left: auto;
    transition: transform 0.2s;
}

.poc-saved-carts__toggle[aria-expanded="true"] .poc-saved-carts__chevron {
    transform: rotate(180deg);
}

.poc-saved-carts__panel {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poc-saved-carts__save-row {
    display: flex;
    gap: 8px;
}

.poc-saved-carts__name-input {
    flex: 1;
    padding: 7px 10px;
    border: 1px solid var(--poc-border);
    border-radius: 6px;
    background: var(--poc-bg);
    color: var(--poc-text);
    font-size: 12px;
    font-family: inherit;
}

.poc-saved-carts__name-input:focus {
    outline: none;
    border-color: var(--poc-primary-bg);
}

.poc-saved-carts__save-btn {
    padding: 7px 12px;
    background: var(--poc-secondary-bg);
    color: var(--poc-secondary-text);
    border: 1px solid var(--poc-border);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.poc-saved-carts__save-btn:hover {
    background: var(--poc-secondary-hover);
}

.poc-saved-carts__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.poc-saved-carts__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: var(--poc-secondary-bg);
    border-radius: 6px;
    gap: 8px;
}

.poc-saved-carts__item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.poc-saved-carts__item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--poc-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.poc-saved-carts__item-meta {
    font-size: 11px;
    color: var(--poc-muted);
}

.poc-saved-carts__item-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.poc-saved-carts__load {
    padding: 4px 10px;
    background: var(--poc-primary-bg);
    color: var(--poc-primary-text);
    border: none;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}

.poc-saved-carts__load:hover {
    opacity: 0.85;
}

.poc-saved-carts__delete {
    background: none;
    border: none;
    color: var(--poc-muted);
    cursor: pointer;
    padding: 2px;
    line-height: 1;
    transition: color 0.15s;
}

.poc-saved-carts__delete:hover {
    color: var(--poc-remove);
}

.poc-saved-carts__empty {
    font-size: 12px;
    color: var(--poc-muted);
    text-align: center;
    padding: 8px 0;
}

.poc-saved-carts__guest-msg {
    font-size: 11px;
    color: var(--poc-muted);
    margin: 0;
    line-height: 1.5;
}
