.share-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #2A9D8F 0%, #248075 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(38, 228, 165, 0.623);
    font-weight: 600;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.share-button i {
    font-size: 16px;
}

.product-detail {
    position: relative;
}

/* Share Dialog Styles */
.share-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(5px);
}

.share-dialog-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease;
}

.share-dialog-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, #e44d26 0%, #f16529 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-dialog-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-share-dialog {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.close-share-dialog:hover {
    transform: rotate(90deg);
}

.share-options {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 10px;
}

.share-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
}

.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d95e8 100%);
}

.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #0072b1 100%);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.share-btn i {
    font-size: 18px;
}

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.download-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.copy-link-btn {
    background: linear-gradient(135deg, #6f42c1 0%, #6610f2 100%);
}

.share-native-btn {
    background: linear-gradient(135deg, #e44d26 0%, #f16529 100%);
}

.share-btn {
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.download-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.copy-link-btn {
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    color: white;
}

.share-native-btn {
    background: linear-gradient(135deg, #6f42c1 0%, #6610f2 100%);
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Toast Message */
.toast-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast-message.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-message i {
    color: #4CAF50;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
