/*
Theme Name: Daily Words Magic
Theme URI: https://dailywordsmagic.com
Author: Daily Words Magic
Author URI: https://instagram.com/ddailywordsmagic
Description: Daily Words Magic İngilizce Öğrenim, PDF Not Kütüphanesi ve VIP Üyelik WooCommerce Özel Teması. Tailwind CSS altyapılı, ultra hızlı, kurumsal ve güven veren e-ticaret teması.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: dailywordsmagic
*/

@charset "UTF-8";

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --dark: #0f172a;
    --surface: #1e293b;
    --border: #e2e8f0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.025em;
    font-weight: 700;
}

/* Standart ve okunaklı input boyutları */
input, select, textarea {
    font-size: 0.9375rem !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Glassmorphism utility classes */
.glass-header {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Custom badge glow */
.badge-glow {
    box-shadow: 0 0 20px -3px rgba(79, 70, 229, 0.35);
}

/* Custom Transitions */
.transition-smooth {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* PDF Preview Watermark layer */
.watermark-overlay {
    background-image: repeating-linear-gradient(
        45deg,
        rgba(79, 70, 229, 0.04),
        rgba(79, 70, 229, 0.04) 120px,
        rgba(14, 165, 233, 0.04) 120px,
        rgba(14, 165, 233, 0.04) 240px
    );
}

/* Modal and Drawer Transitions */
.modal-backdrop {
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
}

/* Cart badge bounce */
@keyframes cartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

.cart-bump {
    animation: cartPulse 0.3s ease-in-out;
}

/* PayTR simulation badge */
.paytr-badge {
    border-left: 4px solid #10b981;
}

/* WooCommerce reset & styling helper */
.woocommerce-error, .woocommerce-info, .woocommerce-message {
    padding: 1rem 1.25rem !important;
    border-radius: 1rem !important;
    font-size: 0.9375rem !important;
    margin-bottom: 1.5rem !important;
}

.woocommerce-message {
    background-color: #ecfdf5 !important;
    border-left: 4px solid #10b981 !important;
    color: #065f46 !important;
}

.woocommerce-error {
    background-color: #fff1f2 !important;
    border-left: 4px solid #f43f5e !important;
    color: #9f1239 !important;
}

/* WooCommerce Added to Cart linkini gizle (Kart tasarımını kaydırmaması için) */
.added_to_cart {
    display: none !important;
}

/* WooCommerce Fiyat ve İndirim Stilleri */
.woocommerce-Price-amount {
    font-weight: 800;
}
del {
    color: #94a3b8 !important;
    text-decoration: line-through;
    opacity: 0.8;
}
del .woocommerce-Price-amount {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
}
ins {
    text-decoration: none !important;
}
ins .woocommerce-Price-amount {
    color: #0f172a !important;
}

/* WooCommerce Ödeme Yöntemleri (Payment Gateways & PayTR) */
.woocommerce-checkout-payment {
    background: transparent !important;
    padding: 0 !important;
}
.woocommerce-checkout-payment ul.wc_payment_methods {
    list-style: none !important;
    margin: 0 0 1.5rem 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.woocommerce-checkout-payment ul.wc_payment_methods li.wc_payment_method {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    transition: all 0.2s ease;
}
.woocommerce-checkout-payment ul.wc_payment_methods li.wc_payment_method:hover {
    border-color: #6366f1;
}
.woocommerce-checkout-payment ul.wc_payment_methods li.wc_payment_method input[type="radio"] {
    accent-color: #4f46e5;
    margin-right: 0.625rem;
    width: 1.125rem;
    height: 1.125rem;
}
.woocommerce-checkout-payment ul.wc_payment_methods li.wc_payment_method label {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.9375rem;
    cursor: pointer;
}
.woocommerce-checkout-payment div.payment_box {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.5;
}

/* Sipariş Ver / Ödeme Butonu */
#place_order {
    width: 100% !important;
    padding: 1rem 1.5rem !important;
    border-radius: 1rem !important;
    background-color: #4f46e5 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3) !important;
    transition: all 0.2s ease !important;
}
#place_order:hover {
    background-color: #4338ca !important;
}

/* Miktar Girişi (Quantity Input) */
.quantity {
    display: inline-flex;
    align-items: center;
}
.quantity input.qty {
    width: 3.5rem !important;
    height: 2.5rem !important;
    text-align: center;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-weight: 700;
    color: #1e293b;
    padding: 0 0.25rem;
}

/* Responsive Masaüstü Menü Taşıntı Önleme */
.glass-header nav ul {
    display: flex;
    align-items: center;
}
