/* Modern WooCommerce Bildirimleri */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    margin: 0 0 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Başarılı bildirim */
.woocommerce-message {
    background: #ebf7ee;
    color: #0c5937;
    border-left: 4px solid #34d399;
}

/* Bilgi bildirimi */
.woocommerce-info {
    background: #eff6ff;
    color: #1e40af;
    border-left: 4px solid #60a5fa;
}

/* Hata bildirimi */
.woocommerce-error {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #f87171;
}

/* Bildirim ikonları */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    position: static;
    margin: 0;
    content: '';
    width: 16px;
    height: 16px;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.woocommerce-message::before {
    background-image: url('../assets/icons/check.svg');
    color: #34d399;
}

.woocommerce-info::before {
    background-image: url('../assets/icons/info.svg');
    color: #60a5fa;
}

.woocommerce-error::before {
    background-image: url('../assets/icons/alert.svg');
    color: #f87171;
}

/* Bildirim butonları */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    order: 2;
    margin-left: auto !important;
    padding: 8px 16px !important;
    background: transparent !important;
    border: 1px solid currentColor !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-message .button {
    color: #0c5937 !important;
}

.woocommerce-info .button {
    color: #1e40af !important;
}

.woocommerce-error .button {
    color: #991b1b !important;
}

/* Buton hover efektleri */
.woocommerce-message .button:hover {
    background: #0c5937 !important;
    color: #fff !important;
}

.woocommerce-info .button:hover {
    background: #1e40af !important;
    color: #fff !important;
}

.woocommerce-error .button:hover {
    background: #991b1b !important;
    color: #fff !important;
}

/* Mobil için düzenleme */
@media screen and (max-width: 768px) {
    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .woocommerce-message .button,
    .woocommerce-info .button,
    .woocommerce-error .button {
        width: 100%;
        order: 1;
        margin: 0 !important;
    }
}

/* Link stilleri */
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button),
.woocommerce a:not(.button) {
    color: var(--primary-accent, #FF3B30) !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.woocommerce-message a:not(.button):hover,
.woocommerce-info a:not(.button):hover,
.woocommerce-error a:not(.button):hover,
.woocommerce a:not(.button):hover {
    opacity: 0.8;
    text-decoration: none !important;
}

/* WooCommerce hesap sayfası linkleri için */
.woocommerce-MyAccount-navigation a,
.woocommerce-MyAccount-content a:not(.button) {
    color: var(--primary-accent, #FF3B30) !important;
    text-decoration: none !important;
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-content a:not(.button):hover {
    opacity: 0.8;
    text-decoration: none !important;
}

/* Sepet sayfası linkleri */
.woocommerce-cart a:not(.button),
.woocommerce-cart-form a:not(.button),
.cart_totals a:not(.button),
.cart-collaterals a:not(.button),
.woocommerce table.cart a:not(.button),
.woocommerce table.shop_table a:not(.button),
.product-name a,
.product-remove a {
    color: var(--primary-accent, #FF3B30) !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.woocommerce-cart a:not(.button):hover,
.woocommerce-cart-form a:not(.button):hover,
.cart_totals a:not(.button):hover,
.cart-collaterals a:not(.button):hover,
.woocommerce table.cart a:not(.button):hover,
.woocommerce table.shop_table a:not(.button):hover,
.product-name a:hover,
.product-remove a:hover {
    opacity: 0.8;
    text-decoration: none !important;
}

/* Ürünü çıkar linki için özel stil */
.product-remove a.remove {
    color: #FF3B30 !important;
    background: transparent !important;
}

.product-remove a.remove:hover {
    color: #fff !important;
    background: #FF3B30 !important;
} 