/* 
 * Samsunspor Modern Checkout Styles
 * Design Language: Clean, Modern, Red (#D01018), White, Black
 */

/* =========================================
   Global Reset & Typography
   ========================================= */
body.samsunspor-checkout-active {
    background-color: #f4f6f8; /* Modern Light Gray Background */
    font-family: 'Roboto', sans-serif !important;
    color: #333;
}

/* Hide default page titles if theme allows, to keep it clean */
.samsunspor-checkout-active .woocommerce-checkout .entry-title,
.samsunspor-checkout-active .woocommerce-checkout .page-title {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #D01018; /* Samsunspor Red Underline */
    display: inline-block;
    padding-bottom: 10px;
}

/* Wrapper to center title if needed */
.samsunspor-checkout-active .woocommerce-checkout header {
    text-align: center;
}

/* =========================================
   Grid Layout (Desktop)
   ========================================= */
.samsunspor-checkout-active .woocommerce-checkout {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr; /* Left side wider */
    gap: 30px;
    padding: 0 20px;
    align-items: start;
}

/* Force Col-1 and Col-2 to full width inside our grid */
.samsunspor-checkout-active .col2-set {
    width: 100%;
    float: none;
    margin: 0;
}
.samsunspor-checkout-active .col-1, 
.samsunspor-checkout-active .col-2 {
    float: none;
    width: 100%;
    max-width: 100%;
}

/* =========================================
   Left Column: Billing & Shipping
   ========================================= */
.samsunspor-checkout-active #customer_details {
    grid-column: 1 / 2;
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    border-top: 4px solid #000; /* Black accent top */
}

/* Headings */
.samsunspor-checkout-active h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

/* Optional: Add icon before headings (CSS only) */
.samsunspor-checkout-active #customer_details h3:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #D01018;
    margin-right: 10px;
    border-radius: 50%;
}

/* =========================================
   Right Column: Order Review & Payment
   ========================================= */
.samsunspor-checkout-active #order_review_heading {
    display: none; /* Hide default heading, we'll style the box */
}

.samsunspor-checkout-active #order_review {
    grid-column: 2 / 3;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border-top: 5px solid #D01018; /* Samsunspor Red Top Border */
    position: sticky;
    top: 30px;
}

/* Order Review Title Injection */
.samsunspor-checkout-active #order_review:before {
    content: 'Sipariş Özeti';
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #000;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

/* =========================================
   Form Fields Styling
   ========================================= */
.samsunspor-checkout-active .form-row {
    margin-bottom: 20px;
}

.samsunspor-checkout-active .form-row label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
    display: block;
}

.samsunspor-checkout-active .form-row input.input-text,
.samsunspor-checkout-active .form-row textarea,
.samsunspor-checkout-active .select2-container .select2-selection--single {
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 4px; /* Slightly rounded */
    background-color: #f9f9f9;
    height: auto;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: none;
    width: 100%;
}

.samsunspor-checkout-active .select2-container .select2-selection--single {
    height: 48px; /* Match input height */
    padding: 10px;
}

.samsunspor-checkout-active .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
}

.samsunspor-checkout-active .form-row input.input-text:focus,
.samsunspor-checkout-active .form-row textarea:focus,
.samsunspor-checkout-active .select2-container.select2-container--open .select2-selection--single {
    border-color: #D01018;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(208, 16, 24, 0.1);
    outline: none;
}

/* Required Asterisk */
.samsunspor-checkout-active .required {
    color: #D01018;
    text-decoration: none;
    font-weight: bold;
}

/* =========================================
   Table Styling (Order Summary)
   ========================================= */
.samsunspor-checkout-active table.shop_table {
    border: none;
    margin: 0 0 20px;
    width: 100%;
    border-collapse: collapse;
}

.samsunspor-checkout-active table.shop_table th,
.samsunspor-checkout-active table.shop_table td {
    border-top: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
    background: transparent;
}

.samsunspor-checkout-active table.shop_table thead th {
    font-weight: 600;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.samsunspor-checkout-active table.shop_table tbody td.product-name {
    font-weight: 500;
    color: #333;
}

.samsunspor-checkout-active table.shop_table tfoot th {
    font-weight: 600;
    color: #555;
}

.samsunspor-checkout-active table.shop_table .order-total th,
.samsunspor-checkout-active table.shop_table .order-total td {
    border-top: 2px solid #000;
    border-bottom: none;
    padding-top: 20px;
    font-size: 20px;
    font-weight: 800;
    color: #D01018; /* Total Price in Samsunspor Red */
}

/* =========================================
   Payment Methods
   ========================================= */
.samsunspor-checkout-active #payment {
    background: #f8f8f8;
    border-radius: 6px;
    padding: 0;
}

.samsunspor-checkout-active #payment ul.payment_methods {
    border-bottom: none;
    padding: 0;
    margin: 0 0 20px;
    list-style: none;
}

.samsunspor-checkout-active #payment ul.payment_methods li {
    background: #fff;
    border: 1px solid #e5e5e5;
    margin-bottom: 10px;
    border-radius: 4px;
    padding: 15px;
    transition: all 0.2s;
}

.samsunspor-checkout-active #payment ul.payment_methods li.payment_method_cod,
.samsunspor-checkout-active #payment ul.payment_methods li.input-radio:checked + label {
    border-color: #D01018;
}

.samsunspor-checkout-active #payment div.payment_box {
    background-color: #fff4f4; /* Very light red bg for info */
    color: #555;
    padding: 15px;
    margin: 10px 0 0;
    border-radius: 4px;
    font-size: 13px;
    position: relative;
}

.samsunspor-checkout-active #payment div.payment_box:before {
    border-bottom-color: #fff4f4;
}

/* =========================================
   Place Order Button
   ========================================= */
.samsunspor-checkout-active #place_order {
    background-color: #D01018 !important; /* Samsunspor Red */
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    padding: 20px 30px;
    border-radius: 4px;
    border: none;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(208, 16, 24, 0.3);
    margin-top: 10px;
    display: block;
}

.samsunspor-checkout-active #place_order:hover {
    background-color: #000000 !important; /* Black on hover */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* =========================================
   Responsive Mobile
   ========================================= */
@media (max-width: 992px) {
    .samsunspor-checkout-active .woocommerce-checkout {
        grid-template-columns: 1fr; /* Single column */
        gap: 25px;
        margin: 20px auto;
        padding: 0 15px; /* Side padding for mobile screen */
    }
    
    .samsunspor-checkout-active #customer_details {
        padding: 25px 20px; /* More breathing room inside container */
        grid-column: 1 / -1;
    }
    
    .samsunspor-checkout-active #order_review {
        grid-column: 1 / -1;
        position: static;
        border-top: 4px solid #D01018;
        padding: 25px 20px;
    }

    /* Make inputs larger on mobile for easier tapping */
    .samsunspor-checkout-active .form-row input.input-text,
    .samsunspor-checkout-active .select2-container .select2-selection--single {
        padding: 15px; /* Larger touch area */
        font-size: 16px; /* Prevent iOS zoom */
        height: 50px;
    }
    
    .samsunspor-checkout-active .select2-container .select2-selection--single {
        height: 50px;
    }
    
    .samsunspor-checkout-active .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 30px;
    }

    /* Increase spacing between form fields */
    .samsunspor-checkout-active .form-row {
        margin-bottom: 25px; /* More vertical space */
    }

    /* Typography adjustments for mobile */
    .samsunspor-checkout-active h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    /* --- AGGRESSIVE MOBILE FORM FIXES --- */
    
    /* 0. Universal Box Sizing & Scroll Fix */
    .samsunspor-checkout-active *,
    .samsunspor-checkout-active *:before,
    .samsunspor-checkout-active *:after {
        box-sizing: border-box !important;
    }

    .samsunspor-checkout-active html,
    .samsunspor-checkout-active body {
        overflow-x: hidden !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important; /* Avoid 100vw scrollbar issue */
    }

    .samsunspor-checkout-active .woocommerce-checkout {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 10px !important; /* Minimal padding */
        display: block !important; /* Kill Grid on Mobile to be safe */
    }

    .samsunspor-checkout-active .site,
    .samsunspor-checkout-active .site-content,
    .samsunspor-checkout-active .content-area,
    .samsunspor-checkout-active .site-main,
    .samsunspor-checkout-active .entry,
    .samsunspor-checkout-active .entry-content,
    .samsunspor-checkout-active .page,
    .samsunspor-checkout-active .woocommerce,
    .samsunspor-checkout-active .woocommerce-checkout,
    .samsunspor-checkout-active #customer_details,
    .samsunspor-checkout-active #order_review,
    .samsunspor-checkout-active .woocommerce-checkout-review-order,
    .samsunspor-checkout-active .woocommerce-checkout-review-order-table {
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .samsunspor-checkout-active img,
    .samsunspor-checkout-active svg,
    .samsunspor-checkout-active iframe,
    .samsunspor-checkout-active video,
    .samsunspor-checkout-active canvas,
    .samsunspor-checkout-active table,
    .samsunspor-checkout-active .shop_table,
    .samsunspor-checkout-active .payment_box,
    .samsunspor-checkout-active .wp-block-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .samsunspor-checkout-active table.shop_table {
        table-layout: fixed !important;
        width: 100% !important;
    }

    /* 1. Reset all form rows and containers */
    .samsunspor-checkout-active .col2-set,
    .samsunspor-checkout-active .col-1, 
    .samsunspor-checkout-active .col-2,
    .samsunspor-checkout-active .woocommerce-billing-fields,
    .samsunspor-checkout-active .woocommerce-shipping-fields,
    .samsunspor-checkout-active .woocommerce-additional-fields,
    .samsunspor-checkout-active .woocommerce-checkout-review-order,
    .samsunspor-checkout-active .woocommerce-checkout-review-order-table,
    .samsunspor-checkout-active .form-row {
        width: 100% !important;
        float: none !important;
        display: block !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        min-width: 0 !important; /* Flexbox fix */
    }

    /* 2. Force Labels to be on top and readable */
    .samsunspor-checkout-active .form-row label {
        display: block !important;
        width: 100% !important;
        margin-bottom: 8px !important;
        text-align: left !important;
        white-space: normal !important; /* Allow wrapping */
        line-height: 1.4 !important;
    }

    /* 3. Force all inputs to 100% width with correct box model */
    .samsunspor-checkout-active input[type="text"],
    .samsunspor-checkout-active input[type="email"],
    .samsunspor-checkout-active input[type="tel"],
    .samsunspor-checkout-active input[type="password"],
    .samsunspor-checkout-active select,
    .samsunspor-checkout-active textarea,
    .samsunspor-checkout-active .select2-container,
    .samsunspor-checkout-active .select2-selection {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important; /* CRITICAL FIX */
        min-width: 0 !important; /* Flexbox overflow fix */
    }

    /* 5. Reduce container padding slightly to give more content width */
    .samsunspor-checkout-active #customer_details,
    .samsunspor-checkout-active #order_review {
        padding: 20px 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .samsunspor-checkout-active #place_order {
        padding: 25px; /* Larger button */
        font-size: 18px;
    }
}

/* =========================================
   ORDER RECEIVED (Sipariş Alındı) Page
   Same design language as checkout
   Uses .woocommerce-order (only on thank you page) - no custom body class needed
   ========================================= */

/* Body: sipariş alındı sayfası - sayfada .woocommerce-order varsa (teşekkür sayfası) */
body.samsunspor-order-received-active,
body.woocommerce-checkout:has(.woocommerce-order),
body:has(.woocommerce-order) {
    background-color: #f4f6f8 !important;
    font-family: 'Roboto', sans-serif !important;
    color: #333;
}

/* Wrapper - sipariş alındı sayfasında tek ana kapsayıcı (.woocommerce-order sadece bu sayfada var) */
.woocommerce-checkout .woocommerce-order,
.woocommerce-order {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Page title - Sipariş alındı */
.woocommerce-order .entry-title,
.woocommerce-order .page-title,
.woocommerce-order p.woocommerce-thankyou-order-received-text,
.woocommerce-order > p.woocommerce-notice,
.woocommerce-checkout .woocommerce-order .entry-title,
.woocommerce-checkout .woocommerce-order .page-title,
.woocommerce-checkout .woocommerce-order p.woocommerce-thankyou-order-received-text,
.woocommerce-checkout .woocommerce-order > p.woocommerce-notice {
    text-align: center !important;
    margin-bottom: 30px;
    font-weight: 700 !important;
    color: #000 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #D01018;
    display: inline-block;
    padding-bottom: 10px;
    width: 100%;
}

.woocommerce-order > p:first-of-type,
.woocommerce-checkout .woocommerce-order > p:first-of-type {
    text-align: center;
    width: 100%;
    margin-bottom: 30px;
}

/* Main content card */
.woocommerce-order .woocommerce-order-details,
.woocommerce-order .woocommerce-customer-details,
.woocommerce-checkout .woocommerce-order .woocommerce-order-details,
.woocommerce-checkout .woocommerce-order .woocommerce-customer-details {
    background: #ffffff !important;
    padding: 30px 40px !important;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    border-top: 4px solid #D01018;
    margin-bottom: 25px;
}

.woocommerce-order > ul.order_details,
.woocommerce-checkout .woocommerce-order > ul.order_details {
    background: #ffffff !important;
    padding: 30px 40px !important;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    border-top: 4px solid #D01018;
    margin-bottom: 25px;
    list-style: none !important;
    margin-left: 0;
}

.woocommerce-order h2,
.woocommerce-order h3,
.woocommerce-checkout .woocommerce-order h2,
.woocommerce-checkout .woocommerce-order h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.woocommerce-order h2:before,
.woocommerce-order h3:before,
.woocommerce-checkout .woocommerce-order h2:before,
.woocommerce-checkout .woocommerce-order h3:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #D01018;
    margin-right: 10px;
    border-radius: 50%;
}

/* Order details table (order number, date, email, etc.) */
.woocommerce-order ul.order_details,
.woocommerce-checkout .woocommerce-order ul.order_details {
    list-style: none !important;
    margin: 0 0 25px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.woocommerce-order ul.order_details li,
.woocommerce-checkout .woocommerce-order ul.order_details li {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
    background: #f9f9f9;
    text-align: center;
}

.woocommerce-order ul.order_details li strong,
.woocommerce-checkout .woocommerce-order ul.order_details li strong {
    display: block;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 5px;
}

.woocommerce-order ul.order_details li .amount,
.woocommerce-checkout .woocommerce-order ul.order_details li .amount {
    font-weight: 600;
    color: #333;
}

/* Products table */
.woocommerce-order .woocommerce-table--order-details,
.woocommerce-order table.shop_table,
.woocommerce-checkout .woocommerce-order .woocommerce-table--order-details,
.woocommerce-checkout .woocommerce-order table.shop_table {
    border: none !important;
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 20px;
}

.woocommerce-order table.shop_table th,
.woocommerce-order table.shop_table td,
.woocommerce-checkout .woocommerce-order table.shop_table th,
.woocommerce-checkout .woocommerce-order table.shop_table td {
    border-top: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 15px 0;
    background: transparent !important;
}

.woocommerce-order table.shop_table thead th,
.woocommerce-checkout .woocommerce-order table.shop_table thead th {
    font-weight: 600;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-order table.shop_table tbody td.product-name,
.woocommerce-checkout .woocommerce-order table.shop_table tbody td.product-name {
    font-weight: 500;
    color: #333;
}

.woocommerce-order table.shop_table tfoot th,
.woocommerce-checkout .woocommerce-order table.shop_table tfoot th {
    font-weight: 600;
    color: #555;
}

.woocommerce-order table.shop_table .order-total th,
.woocommerce-order table.shop_table .order-total td,
.woocommerce-checkout .woocommerce-order table.shop_table .order-total th,
.woocommerce-checkout .woocommerce-order table.shop_table .order-total td {
    border-top: 2px solid #000 !important;
    border-bottom: none !important;
    padding-top: 20px;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #D01018 !important;
}

/* Customer details address box */
.woocommerce-order .woocommerce-customer-details .col2-set,
.woocommerce-checkout .woocommerce-order .woocommerce-customer-details .col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.woocommerce-order .woocommerce-customer-details address,
.woocommerce-checkout .woocommerce-order .woocommerce-customer-details address {
    padding: 15px !important;
    background: #f8f8f8 !important;
    border-radius: 4px;
    border-left: 4px solid #D01018;
    font-style: normal;
    line-height: 1.6;
    color: #333;
}

/* Buttons (e.g. Pay, view order) */
.woocommerce-order a.button,
.woocommerce-order button.button,
.woocommerce-checkout .woocommerce-order a.button,
.woocommerce-checkout .woocommerce-order button.button {
    background-color: #D01018 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    border-radius: 4px;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(208, 16, 24, 0.3);
}

.woocommerce-order a.button:hover,
.woocommerce-order button.button:hover,
.woocommerce-checkout .woocommerce-order a.button:hover,
.woocommerce-checkout .woocommerce-order button.button:hover {
    background-color: #000000 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    color: #fff !important;
}

/* Responsive - Order received */
@media (max-width: 768px) {
    .woocommerce-order,
    .woocommerce-checkout .woocommerce-order {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .woocommerce-order .woocommerce-order-details,
    .woocommerce-order .woocommerce-customer-details,
    .woocommerce-order > ul.order_details,
    .woocommerce-checkout .woocommerce-order .woocommerce-order-details,
    .woocommerce-checkout .woocommerce-order .woocommerce-customer-details,
    .woocommerce-checkout .woocommerce-order > ul.order_details {
        padding: 25px 20px !important;
    }
    
    .woocommerce-order ul.order_details,
    .woocommerce-checkout .woocommerce-order ul.order_details {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-order .woocommerce-customer-details .col2-set,
    .woocommerce-checkout .woocommerce-order .woocommerce-customer-details .col2-set {
        grid-template-columns: 1fr;
    }
    
    .woocommerce-order h2,
    .woocommerce-order h3,
    .woocommerce-checkout .woocommerce-order h2,
    .woocommerce-checkout .woocommerce-order h3 {
        font-size: 18px !important;
    }
}

/* =========================================
   HESABIM (MY ACCOUNT) PAGE
   Same design language as checkout & order received
   ========================================= */

body.samsunspor-myaccount-active {
    background-color: #f4f6f8 !important;
    font-family: 'Roboto', sans-serif !important;
    color: #333;
}

/* Page title - Hesabım */
.samsunspor-myaccount-active .woocommerce-MyAccount-content .entry-title,
.samsunspor-myaccount-active .woocommerce-account .entry-title,
.samsunspor-myaccount-active .woocommerce-account .page-title {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #D01018;
    display: inline-block;
    padding-bottom: 10px;
}

/* Ana kapsayıcı: nav + content yan yana (WooCommerce .woocommerce içinde) */
.samsunspor-myaccount-active .woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* Left: Navigation (sidebar) - card style */
.samsunspor-myaccount-active .woocommerce-MyAccount-navigation {
    background: #ffffff;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    border-top: 4px solid #000;
    overflow: hidden;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-navigation li {
    margin: 0 !important;
    border-bottom: 1px solid #f0f0f0;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 16px 24px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-navigation a:hover {
    background: #f8f8f8;
    color: #D01018;
    border-left-color: #D01018;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-navigation li.is-active a {
    background: #fff4f4;
    color: #D01018;
    font-weight: 700;
    border-left-color: #D01018;
}

/* Right: Main content - card style */
.samsunspor-myaccount-active .woocommerce-MyAccount-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    border-top: 5px solid #D01018;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-content h2,
.samsunspor-myaccount-active .woocommerce-MyAccount-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-content h2:before,
.samsunspor-myaccount-active .woocommerce-MyAccount-content h3:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #D01018;
    margin-right: 10px;
    border-radius: 50%;
}

/* Form fields (addresses, account details) */
.samsunspor-myaccount-active .woocommerce-MyAccount-content .form-row {
    margin-bottom: 20px;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-content .form-row label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
    display: block;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-content input.input-text,
.samsunspor-myaccount-active .woocommerce-MyAccount-content textarea,
.samsunspor-myaccount-active .woocommerce-MyAccount-content select {
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    width: 100%;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-content input.input-text:focus,
.samsunspor-myaccount-active .woocommerce-MyAccount-content textarea:focus,
.samsunspor-myaccount-active .woocommerce-MyAccount-content select:focus {
    border-color: #D01018;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(208, 16, 24, 0.1);
    outline: none;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-content .required {
    color: #D01018;
}

/* Buttons */
.samsunspor-myaccount-active .woocommerce-MyAccount-content .button,
.samsunspor-myaccount-active .woocommerce-MyAccount-content button[type="submit"] {
    background-color: #D01018 !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 4px;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(208, 16, 24, 0.3);
}

.samsunspor-myaccount-active .woocommerce-MyAccount-content .button:hover,
.samsunspor-myaccount-active .woocommerce-MyAccount-content button[type="submit"]:hover {
    background-color: #000000 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    color: #fff !important;
}

/* Orders table & other tables */
.samsunspor-myaccount-active .woocommerce-MyAccount-content table {
    border: none;
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 20px;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-content table th,
.samsunspor-myaccount-active .woocommerce-MyAccount-content table td {
    border-top: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 12px;
    background: transparent;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-content table thead th {
    font-weight: 600;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-content table tbody td {
    color: #333;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-content table .order-number a,
.samsunspor-myaccount-active .woocommerce-MyAccount-content table a {
    color: #D01018;
    font-weight: 500;
}

.samsunspor-myaccount-active .woocommerce-MyAccount-content table a:hover {
    color: #000;
}

/* Dashboard welcome / info boxes */
.samsunspor-myaccount-active .woocommerce-MyAccount-content .woocommerce-info,
.samsunspor-myaccount-active .woocommerce-MyAccount-content .woocommerce-message {
    padding: 15px 20px;
    border-radius: 4px;
    border-left: 4px solid #D01018;
    background: #fff4f4;
    color: #333;
    margin-bottom: 20px;
}

/* Addresses */
.samsunspor-myaccount-active .woocommerce-MyAccount-content address {
    padding: 15px;
    background: #f8f8f8;
    border-radius: 4px;
    border-left: 4px solid #D01018;
    font-style: normal;
    line-height: 1.6;
    color: #333;
}

/* Responsive - Hesabım */
@media (max-width: 992px) {
    .samsunspor-myaccount-active .woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
        grid-template-columns: 1fr;
        margin: 20px auto;
        padding: 0 15px;
    }

    .samsunspor-myaccount-active .woocommerce-MyAccount-navigation {
        order: 1;
    }

    .samsunspor-myaccount-active .woocommerce-MyAccount-navigation ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .samsunspor-myaccount-active .woocommerce-MyAccount-navigation li {
        border-bottom: 1px solid #f0f0f0;
        border-right: 1px solid #f0f0f0;
    }

    .samsunspor-myaccount-active .woocommerce-MyAccount-navigation a {
        padding: 14px 16px;
        font-size: 13px;
    }

    .samsunspor-myaccount-active .woocommerce-MyAccount-content {
        padding: 25px 20px;
        order: 2;
    }

    .samsunspor-myaccount-active .woocommerce-MyAccount-content h2,
    .samsunspor-myaccount-active .woocommerce-MyAccount-content h3 {
        font-size: 18px;
    }

    .samsunspor-myaccount-active .woocommerce-MyAccount-content table {
        font-size: 14px;
    }

    .samsunspor-myaccount-active .woocommerce-MyAccount-content table th,
    .samsunspor-myaccount-active .woocommerce-MyAccount-content table td {
        padding: 12px 8px;
    }
}

@media (max-width: 576px) {
    .samsunspor-myaccount-active .woocommerce-MyAccount-navigation ul {
        grid-template-columns: 1fr;
    }

    .samsunspor-myaccount-active .woocommerce-MyAccount-navigation li {
        border-right: none;
    }
}
