
.product-datasheet-buttons {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.loxmet-btn {
  flex: 1; /* Tüm butonlar eşit genişlik alsın */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid #000 !important;
  background: transparent!important;
  color: #000;
  border-radius: 25px !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  min-width: 160px;
  transition: all 0.3s ease; /* Hover animasyonu için */
}

.loxmet-btn:hover {
  transform: translateY(-3px); /* Hover’da yukarı kalkma */
}

/* Mobil görünüm */
@media (max-width: 768px) {
  .product-datasheet-buttons {
    flex-direction: column;
  }

  .loxmet-btn {
    width: 100%;   /* Tam genişlik */
    min-width: unset;
  }
}


.share-btn-wrapper {
    position: relative;
    flex: 1;
    display: flex;
}

.share-btn-wrapper .loxmet-btn {
    width: 100%;
}

.share-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: none;
    z-index: 1000;
    min-width: 100%;
    margin-top: 5px;
}

.share-menu.show {
    display: block;
}

.share-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
}

.share-item:hover {
    background: #f8f9fa;
    color: #333;
}

.share-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.facebook { color: #1877f2; }
.twitter { color: #00000; }
.linkedin { color: #0077b5; }
.whatsapp { color: #25d366; }
.copy { color: #666; }

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    background: #27ae60;
    color: white;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 10000;
    font-size: 14px;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-notification.error {
    background: #e74c3c;
}

@media (max-width: 768px) {
    .product-datasheet-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .loxmet-btn {
        flex: none;
        width: 100%;
    }
    
    .share-btn-wrapper {
        flex: none;
    }
    
    .share-menu {
        left: 50%;
        transform: translateX(-50%);
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .loxmet-btn {
        padding: 14px 16px;
        font-size: 14px;
        min-height: 50px;
    }
    
    .share-menu {
        left: 0;
        right: 0;
        transform: none;
        margin: 5px 15px;
        min-width: auto;
    }
}
