.variant-btn.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
}

.variant-btn.unavailable::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ef4444;
    transform: rotate(-45deg);
    z-index: 20;
}

.variant-btn.unavailable.rounded-full::after {
    width: 140%;
    left: -20%;
}

.has-error {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 1px #ef4444 !important;
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

.has-error .bg-rose-50 {
    background-color: #fee2e2 !important;
    border-color: #fecaca !important;
}

.has-error .text-primary {
    color: #ef4444 !important;
}

.cod-error-message {
    display: block;
    color: #ef4444;
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px;
    margin-left: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cod-error-message::before {
    content: '!';
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 12px;
    height: 12px;
    background: #ef4444;
    color: white;
    font-size: 9px;
    border-radius: 50%;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* Compact Shipping Method Selection */
.shipping-selection-compact {
    padding-bottom: 5px;
}

.shipping-method-card {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    position: relative;
    margin-bottom: 12px;
}

.shipping-method-card:last-child {
    margin-bottom: 0;
}

.shipping-method-card:hover {
    border-color: #d1d5db;
    background: #fafafa;
}

.shipping-method-card.active {
    background: #ffffff;
    border-color: hsl(var(--primary));
}

.radio-indicator {
    width: 18px;
    height: 18px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s;
    background: #fff;
}

.shipping-method-card.active .radio-indicator {
    border-color: hsl(var(--primary));
}

.shipping-method-card.active .radio-indicator::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: hsl(var(--primary));
    border-radius: 50%;
    animation: radio-pop 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes radio-pop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.method-name {
    font-size: 11px;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.method-price {
    font-size: 11px;
    font-weight: 800;
}

[dir="rtl"] .mr-3 {
    margin-right: 0;
    margin-left: 0.75rem;
}

[dir="rtl"] .ml-2 {
    margin-left: 0;
    margin-right: 0.5rem;
}

/* Product Reels */
.product-reels-container {
    margin-bottom: 30px;
}

.reel-item {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reel-overlay {
    z-index: 10;
}

.reel-item.is-playing .reel-overlay {
    opacity: 1;
    background: transparent;
}

.reel-item.is-playing:hover .reel-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.reel-item.is-playing .play-icon {
    display: none;
}

.reel-item.is-playing .pause-icon {
    display: block;
}

.reel-item.is-playing .play-btn-wrapper {
    opacity: 0;
}

.reel-item.is-playing:hover .play-btn-wrapper {
    opacity: 1;
}

.play-btn-wrapper {
    width: 44px;
    height: 44px;
    background: hsl(var(--primary)) !important;
    border-radius: 50%;
    transition: opacity 0.3s ease;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon,
.pause-icon {
    width: 18px !important;
    height: 18px !important;
}

.reel-item:hover .play-btn-wrapper {
    transform: none !important;
    background: hsl(var(--primary)) !important;
}