/**
 * Swipe Config Products - Desktop Styles
 * 
 * Tinder-like swipe interface styles for desktop
 * 
 * @package SwipeConfigProducts
 */

/* Container and Layout */
.scp-swipe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 600px;
    position: relative;
}

/* Loading State */
.scp-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.scp-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
.scp-swipe-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
}

.scp-show-favorites-btn {
    padding: 8px 20px;
    background: linear-gradient(90deg, #b0132c, #b0132c);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.scp-show-favorites-btn:hover {
    transform: translateY(-1px);
}

/* Swipe Area */
.scp-swipe-area {
    position: relative;
    height: 550px;
    margin: 20px 0;
    transform: translateY(50px);
}

.scp-cards-container {
    position: relative;
    height: 100%;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Card Styles */
.scp-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    cursor: grab;
    transition: transform 0.2s ease;
    overflow: hidden;
}

.scp-card.dragging {
    transition: none;
    cursor: grabbing;
}

.scp-card-content {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Layer Styles */
.scp-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.scp-layer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.scp-background img {
    object-fit: cover;
}

/* Card Info Overlay */
.scp-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
}

.scp-card-info h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: bold;
}

.scp-card-description {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Swipe Indicators */
.scp-swipe-indicators {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 40px;
}

.scp-indicator-dislike,
.scp-indicator-like {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.scp-swipe-actions svg {
    width: 24px;
    height: 24px;
}

.scp-indicator-dislike {
    color: #b0132c;
}

.scp-indicator-like {
    color: #4fc3f7;
}

/* Action Buttons */
.scp-swipe-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    transform: translateY(50px);
}

.scp-swipe-actions button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scp-swipe-actions button:hover {
    transform: scale(1.1);
}

.scp-action-dislike {
    border: 2px solid #b0132c;
    color: #b0132c;
}

.scp-action-superlike {
    border: 2px solid #f5c87f;
    color: #f5c87f;
}

.scp-action-like {
    border: 2px solid #fdafbf;
    color: #fdafbf;
}

/* Results Screen */
.scp-results-screen {
    text-align: center;
    padding: 40px 20px;
}

.scp-liked-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

/* Mobile drawer styles for desktop */
.scp-mobile-liked-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 80px;
}

.scp-favorite-item {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.scp-favorite-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
}

.scp-favorite-preview {
    position: relative;
    height: 180px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
}

.scp-favorite-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scp-product-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.scp-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
}

.scp-product-item:last-child {
    border-bottom: none;
}

.scp-product-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.scp-product-link {
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.scp-product-link:hover {
    background-color: #f5f5f5;
}

.scp-eye-icon {
    flex-shrink: 0;
}

.scp-product-name {
    font-size: 13px;
    color: #333;
    flex: 1;
    text-align: left;
}

.scp-product-price {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.scp-price-current {
    font-size: 13px;
    font-weight: bold;
    color: #333;
}

.scp-price-original {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
}

.scp-price-discount {
    color: #333;
}

/* Stock status styling */
.scp-out-of-stock-badge {
    display: inline-block !important;
    background: #ff4444;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 5px;
    visibility: visible !important;
    z-index: 1000;
}

.scp-low-stock-badge {
    display: inline-block !important;
    background: #ff9800;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 5px;
    visibility: visible !important;
    z-index: 1000;
}

.scp-product-out-of-stock {
    opacity: 0.7;
}

.scp-product-out-of-stock .scp-product-name {
    color: #999;
}

.scp-add-to-cart-btn.scp-out-of-stock-disabled {
    background: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.scp-favorite-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8px 8px 8px;
    border-top: 2px solid #f0f0f0;
}

.scp-total-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.scp-total-current {
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

.scp-total-original {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.scp-total-discount {
    color: #333;
}

.scp-add-to-cart-btn {
    background: #333;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
    flex: 1;
}

.scp-add-to-cart-btn:hover {
    background: #222;
}

.scp-favorite-actions {
    display: flex;
    gap: 8px;
}

.scp-download-btn {
    background: #666;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
}

.scp-download-btn:hover {
    background: #555;
    transform: translateY(-1px);
}

.scp-super-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: none;
    color: #FFD700;
    padding: 0;
    border-radius: 0;
    font-size: 24px;
    font-weight: normal;
    z-index: 1001;
}

.scp-remove-favorite-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 1002;
    background: none;
    color: #f44336;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.scp-remove-favorite-btn:hover {
    color: #d32f2f;
    transform: scale(1.1);
}

.scp-remove-favorite-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.scp-favorite-toggle-btn {
    position: absolute;
    top: 8px;
    left: 8px;
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    padding: 0;
}

.scp-favorite-toggle-btn:hover {
    transform: scale(1.2);
}

.scp-upgrade-btn {
    color: #888;
}

.scp-upgrade-btn:hover {
    color: #FFD700;
}

.scp-downgrade-btn {
    color: #888;
    top: auto;
    bottom: 8px;
    left: 8px;
    right: auto;
}

.scp-downgrade-btn:hover {
    color: #f44336;
}

.scp-favorite-toggle-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

/* Drawer Header and Tabs */
.scp-drawer-header {
    padding: 8px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    flex-shrink: 0;
    min-height: 44px;
}

.scp-drawer-title {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.scp-drawer-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    background: white;
    flex-shrink: 0;
}

.scp-tab-btn {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.scp-tab-btn.active {
    color: #b0132c;
    border-bottom-color: #b0132c;
    background: #fff8f8;
}

.scp-tab-btn:not(.active):active {
    background: #f8f8f8;
}

.scp-tab-text {
    display: flex;
    align-items: center;
    gap: 4px;
}

.scp-tab-count {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    transition: all 0.2s ease;
}

.scp-tab-btn.active .scp-tab-count {
    background: rgba(176, 19, 44, 0.1);
    color: #b0132c;
}

.scp-tab-content {
    display: none;
}

.scp-tab-content.active {
    display: block;
}

.scp-close-drawer {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.scp-close-drawer:active {
    background: #f0f0f0;
}

.scp-drawer-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.scp-results-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.scp-results-actions button {
    padding: 12px 30px;
    border-radius: 25px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.scp-restart-btn {
    background: #e0e0e0;
    color: #333;
}

.scp-checkout-btn {
    background: linear-gradient(90deg, #b0132c, #b0132c);
    color: white;
}

.scp-results-actions button:hover {
    transform: translateY(-2px);
}

/* Sticky Favorites Button */
.scp-favorites-sticky-btn {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #b0132c, #b0132c);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
}

.scp-favorites-sticky-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.scp-favorites-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: black;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid white;
}

/* Favorites Drawer */
.scp-favorites-drawer {
    position: fixed;
    top: 120px;
    right: -800px;
    width: 800px;
    height: calc(100vh - 120px);
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.scp-favorites-drawer.open {
    right: 0;
}

.scp-drawer-header {
    padding: 5px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scp-drawer-title {
    margin: 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.scp-close-drawer {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.scp-close-drawer:hover {
    background: #f0f0f0;
}

.scp-drawer-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* Drawer Bottom Bar */
.scp-drawer-bottom-bar {
    background: white;
    border-top: 1px solid #e8e8e8;
    padding: 16px 20px;
    margin-top: auto;
}

.scp-favorites-counter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scp-counter-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.scp-current-count {
    color: #b0132c;
    font-weight: 700;
}

.scp-progress-bar {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.scp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #B0132C, #D01A39);
    border-radius: 3px;
    transition: width 0.3s ease, background 0.3s ease;
}

.scp-progress-fill.warning {
    background: linear-gradient(90deg, #ff9800, #ffb74d);
}

.scp-progress-fill.danger {
    background: linear-gradient(90deg, #f44336, #ef5350);
}

/* Tab Count Styling */
.scp-tab-text {
    display: flex;
    align-items: center;
    gap: 4px;
}

.scp-tab-count {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    transition: all 0.2s ease;
}

.scp-tab-btn.active .scp-tab-count {
    background: rgba(176, 19, 44, 0.1);
    color: #b0132c;
}

.scp-drawer-checkout-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #b0132c, #b0132c);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.scp-drawer-note {
    text-align: center;
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Drawer Overlay */
.scp-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scp-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Login Modal */
.scp-login-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scp-login-modal.active {
    opacity: 1;
    visibility: visible;
}

.scp-modal-content {
    padding: 0;
}

.scp-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scp-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 20px;
}

.scp-close-modal {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.scp-close-modal:hover {
    background: #f0f0f0;
}

.scp-modal-body {
    padding: 20px;
}

.scp-modal-body p {
    margin-bottom: 15px;
    color: #333;
    line-height: 1.5;
}

.scp-benefits-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.scp-benefits-list li {
    padding: 8px 0;
    color: #333;
    font-size: 14px;
}

.scp-reassurance {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid #b0132c;
    font-weight: 500;
    color: #b0132c !important;
}

.scp-modal-actions {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scp-create-account-btn {
    background: linear-gradient(45deg, #b0132c, #b0132c);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.scp-create-account-btn:hover {
    transform: translateY(-1px);
}

.scp-login-btn {
    background: #333;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.scp-login-btn:hover {
    background: #222;
}

.scp-continue-guest-btn {
    background: none;
    border: 2px solid #ddd;
    color: #666;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.scp-continue-guest-btn:hover {
    border-color: #333;
    color: #333;
}

/* Modal Overlay */
.scp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scp-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Cart Confirmation Modal */
.scp-cart-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scp-cart-modal.active {
    opacity: 1;
    visibility: visible;
}

.scp-cart-preview {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.scp-cart-combination-preview {
    position: relative;
    width: 200px;
    height: 200px;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.scp-cart-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.scp-cart-product-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scp-cart-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.scp-cart-product-item:last-child {
    border-bottom: none;
}

.scp-cart-product-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.scp-cart-product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.scp-cart-price-current {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.scp-cart-price-original {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.scp-cart-total {
    border-top: 2px solid #f0f0f0;
    padding-top: 15px;
}

.scp-cart-total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scp-cart-total-label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.scp-cart-total-amount {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.scp-cart-total-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.scp-confirm-add-cart-btn {
    background: linear-gradient(45deg, #b0132c, #b0132c);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
    font-size: 15px;
}

.scp-confirm-add-cart-btn:hover {
    transform: translateY(-1px);
}

.scp-confirm-add-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.scp-cancel-cart-btn {
    background: none;
    border: 2px solid #ddd;
    color: #666;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.scp-cancel-cart-btn:hover {
    border-color: #333;
    color: #333;
}

.scp-close-cart-modal {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.scp-close-cart-modal:hover {
    background: #f0f0f0;
}

/* Cart Modal Overlay */
.scp-cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scp-cart-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Cart Success/Error Notifications */
.scp-cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 2001;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.scp-cart-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.scp-cart-notification.success {
    background: #4caf50;
}

.scp-cart-notification.error {
    background: #f44336;
}

@media (max-width: 768px) {
    .scp-cart-preview {
        flex-direction: column;
        gap: 15px;
    }
    
    .scp-cart-combination-preview {
        width: 100%;
        height: 150px;
        align-self: center;
    }
    
    .scp-cart-modal {
        width: 95%;
        max-width: none;
    }
    
    .scp-cart-notification {
        left: 20px;
        right: 20px;
        transform: translateY(-100%);
    }
    
    .scp-cart-notification.show {
        transform: translateY(0);
    }
}

/* Share Button */
.scp-share-btn {
    background: #666;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
}

.scp-share-btn:hover {
    background: #555;
    transform: translateY(-1px);
}

.scp-share-btn svg {
    flex-shrink: 0;
}

/* Share Modal */
.scp-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scp-share-modal.show {
    opacity: 1;
    visibility: visible;
}

.scp-share-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.scp-share-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    z-index: 2;
    max-height: 80vh;
    overflow-y: auto;
}

.scp-share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.scp-share-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 20px;
}

.scp-close-share-modal {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s ease;
    color: #666;
}

.scp-close-share-modal:hover {
    background: #f0f0f0;
}

.scp-share-modal-body {
    padding: 20px;
}

.scp-share-preview {
    text-align: center;
    margin-bottom: 20px;
}

.scp-share-preview img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.scp-share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.scp-share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.scp-share-option:hover {
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.scp-share-option svg {
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .scp-share-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scp-share-modal-content {
        width: 95%;
        max-height: 90vh;
    }
}

/* Duplicate mobile styles removed */

