/* Svatební košík: Mini-Cart Drawer, Mobile Sticky Pill & Toast (globálně bez závislosti na Tailwind buildu) */
.dn-cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 23, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 94;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}
.dn-cart-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.dn-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 440px;
    max-width: 100vw;
    z-index: 95;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-left: 1px solid rgba(231, 229, 228, 0.9);
    box-shadow: -20px 0 50px -15px rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(104%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
}
.dn-cart-drawer[hidden] {
    display: none;
}
.dn-cart-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}
@media (max-width: 640px) {
    .dn-cart-drawer {
        top: auto;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 88dvh;
        border-left: none;
        border-top: 1px solid rgba(231, 229, 228, 0.95);
        border-radius: 1.5rem 1.5rem 0 0;
        transform: translateY(104%);
        box-shadow: 0 -20px 50px -10px rgba(0, 0, 0, 0.18);
    }
    .dn-cart-drawer.is-open {
        transform: translateY(0);
    }
}
.dn-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f5f5f4;
    background: linear-gradient(135deg, rgba(255, 241, 242, 0.7), rgba(255, 255, 255, 0.95));
    flex-shrink: 0;
}
.dn-cart-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overscroll-behavior: contain;
}
.dn-cart-seller-group {
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 1rem;
    padding: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 2px 10px -4px rgba(0, 0, 0, 0.04);
}
.dn-cart-seller-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.375rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f5f5f4;
}
.dn-cart-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.dn-cart-item-img {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 0.75rem;
    object-fit: cover;
    border: 1px solid #e7e5e4;
    background: #fafaf9;
    flex-shrink: 0;
}
.dn-cart-qty-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e7e5e4;
    border-radius: 9999px;
    background: #fafaf9;
    overflow: hidden;
}
.dn-cart-qty-btn {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #44403c;
    background: transparent;
    border: none;
    cursor: pointer;
}
.dn-cart-qty-btn:hover {
    background: #ffe4e6;
    color: #be123c;
}
.dn-cart-footer {
    flex-shrink: 0;
    padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #e7e5e4;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.dn-cart-checkout-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #e11d48 0%, #db2777 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    box-shadow: 0 10px 24px -6px rgba(225, 29, 72, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dn-cart-checkout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -6px rgba(225, 29, 72, 0.45);
}
.dn-sticky-cart-pill {
    position: fixed;
    bottom: 1.25rem;
    left: 0.875rem;
    max-width: calc(100vw - 5.5rem);
    z-index: 74;
    display: none;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.95rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 30px -6px rgba(190, 18, 60, 0.45);
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.dn-sticky-cart-pill.is-visible {
    display: inline-flex;
}
@media (min-width: 1024px) {
    .dn-sticky-cart-pill,
    .dn-sticky-cart-pill.is-visible {
        display: none !important;
    }
}
body.dn-ai-open .dn-sticky-cart-pill,
body.dn-cart-open .dn-sticky-cart-pill,
body.dn-ai-open .dn-mobile-product-bar,
body.dn-cart-open .dn-mobile-product-bar {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(14px);
}
.dn-cart-toast {
    position: fixed;
    top: 5.25rem;
    right: 1rem;
    z-index: 96;
    max-width: min(360px, calc(100vw - 2rem));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid #fecdd3;
    border-radius: 1rem;
    padding: 0.75rem 0.9rem;
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.dn-cart-toast.is-shown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
