.wc-sample-container {
    width: 100%;
    max-width: none;
    background: linear-gradient(135deg, #2b3238 0%, #1a1f24 100%);
    border-radius: 12px;
    margin: 1.5rem 0;
    padding: 0;
    box-shadow: 0 4px 20px rgba(43, 50, 56, 0.15);
    overflow: hidden;
    border: 2px solid #f39c12;
}

.wc-sample-content {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 2rem;
}

.wc-sample-left {
    flex: 1;
    color: white;
}

.wc-sample-right {
    flex-shrink: 0;
}

.wc-sample-heading {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #f39c12;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wc-sample-subtext {
    color: rgba(255,255,255,0.9);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    font-size: 0.95rem;
}

.wc-sample-price {
    color: #f39c12;
    font-weight: 600;
    font-size: 1rem;
    background: rgba(243, 156, 18, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    display: inline-block;
}

.wc-add-sample-button {
    position: relative;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #1a1f24;
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(243, 156, 18, 0.3);
}

.wc-add-sample-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.wc-add-sample-button:active {
    transform: translateY(0);
}

.wc-add-sample-button.loading {
    cursor: wait;
    pointer-events: none;
}

.wc-add-sample-button.loading .button-text {
    opacity: 0;
}

.button-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border: 2px solid rgba(26, 31, 36, 0.3);
    border-top: 2px solid #1a1f24;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wc-add-sample-button.loading .button-loader {
    opacity: 1;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.wc-sample-modal {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.wc-sample-modal.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.wc-sample-modal-content {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 250px;
}

.modal-icon {
    font-size: 1.1em;
    font-weight: bold;
}

/* Cart item label */
.wcsp-sample-label {
    color: #f39c12;
    font-size: 0.9em;
    font-weight: normal;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wc-sample-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.25rem;
        text-align: center;
    }
    
    .wc-sample-right {
        width: 100%;
    }
    
    .wc-add-sample-button {
        width: 100%;
        max-width: 300px;
    }
    
    .wc-sample-modal {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .wc-sample-modal-content {
        min-width: auto;
        padding: 0.875rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .wc-sample-content {
        padding: 1rem;
        gap: 1rem;
    }
    
    .wc-sample-heading {
        font-size: 1.2rem;
    }
    
    .wc-sample-subtext {
        font-size: 0.9rem;
    }
    
    .wc-add-sample-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .wc-sample-container {
        border: 3px solid #f39c12;
    }
    
    .wc-add-sample-button {
        border: 2px solid #1a1f24;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .wc-add-sample-button,
    .wc-sample-modal {
        transition: none;
    }
    
    .button-loader {
        animation: none;
    }
}