/* 
 * WooCommerce Premium Design System 
 * Theme: Minoform / Architecture & Furniture
 * Description: Clean, Brutalist, Architectural Aesthetic
 */

:root {
    --wc-bg: #ffffff;
    --wc-text: #111111;
    --wc-muted: #666666;
    --wc-border: #e8e8e8;
    --wc-accent: #c5a47e;
    --wc-soft: #fafafa;
}

/* --- 1. Layout & Reset --- */
.woocommerce-MyAccount-content {
    background: transparent;
    padding: 0;
    width: 100%;
}

.minoform-account-wrapper {
    background-color: var(--wc-bg);
    padding-top: 80px;
}

.account-layout-split {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
}

@media (max-width: 1024px) {
    .account-layout-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* --- 2. Global Form Row Fix (The "Bozuk" Issue) --- */
.woocommerce form .form-row,
.woocommerce-page form .form-row {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    /* Tightened further */
    float: none !important;
    width: 100% !important;
    clear: both;
}

.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
    display: block !important;
    margin-bottom: 8px !important;
    /* Reduced from 12px */
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    line-height: 1 !important;
    color: var(--wc-muted) !important;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row textarea,
.woocommerce-Input {
    width: 100% !important;
    padding: 18px 25px !important;
    border: 1px solid var(--wc-border) !important;
    border-radius: 0 !important;
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    background: #fff !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

.woocommerce form .form-row .input-text:focus {
    border-color: var(--wc-text) !important;
    outline: none !important;
    background: var(--wc-soft) !important;
}

/* Parallel Columns Fix */
@media (min-width: 769px) {

    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last,
    .woocommerce-page form .form-row-first,
    .woocommerce-page form .form-row-last {
        width: 48% !important;
        float: left !important;
        clear: none !important;
    }

    .woocommerce form .form-row-last,
    .woocommerce-page form .form-row-last {
        float: right !important;
    }

    .woocommerce form .form-row-wide,
    .woocommerce-page form .form-row-wide {
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
}

/* Clearfix */
.woocommerce form::after,
.woocommerce-EditAccountForm::after,
.woocommerce-address-fields__field-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

/* --- 3. Hero & Navigation --- */
.account-hero {
    width: 100% !important;
    height: 40vh !important;
    min-height: 300px !important;
    margin-bottom: 0 !important;
    position: relative;
    overflow: hidden;
}

.account-hero .products-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.minoform-account-nav li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    background: var(--wc-soft);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.minoform-account-nav li.is-active a {
    background: var(--wc-text);
    color: #fff;
}

/* --- 4. Address Labels & Headers --- */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-address-fields h3 {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.4rem !important;
    margin: 0 0 40px 0 !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid var(--wc-text);
    display: inline-block;
}

address {
    font-style: normal;
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--wc-muted);
    background: var(--wc-soft);
    padding: 35px;
    border: 1px solid var(--wc-border);
    min-height: 180px;
}

/* --- 5. Buttons --- */
.woocommerce .button,
.woocommerce-Button {
    background: var(--wc-text) !important;
    color: #fff !important;
    padding: 20px 40px !important;
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-radius: 0 !important;
    border: 1px solid var(--wc-text) !important;
    cursor: pointer !important;
    display: inline-block !important;
    transition: 0.3s !important;
}

.woocommerce .button:hover {
    background: transparent !important;
    color: var(--wc-text) !important;
}

/* --- 6. Notices (Alerts) --- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: var(--wc-soft) !important;
    color: var(--wc-text) !important;
    border-top: 3px solid var(--wc-text) !important;
    padding: 20px 30px !important;
    font-family: var(--font-body) !important;
    font-weight: 500 !important;
    margin-bottom: 40px !important;
    display: flex;
    align-items: center;
    gap: 15px;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none !important;
}

/* --- 7. Order Table --- */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--wc-border);
}

.woocommerce-orders-table th {
    background: var(--wc-text);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px;
    text-align: left;
    font-size: 0.85rem;
}

.woocommerce-orders-table td {
    border-bottom: 1px solid var(--wc-border);
    padding: 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--wc-muted);
}

.woocommerce-orders-table tr:last-child td {
    border-bottom: none;
}

.woocommerce-button.view {
    padding: 10px 20px !important;
    font-size: 0.75rem !important;
    background: transparent !important;
    color: var(--wc-text) !important;
    border: 1px solid var(--wc-border) !important;
}

.woocommerce-button.view:hover {
    border-color: var(--wc-text) !important;
    background: var(--wc-text) !important;
    color: #fff !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   CART PAGE DESIGN V5 - Pixel-Perfect Match (dosyalar/cart.html)
   ===================================================== */

/* 1. Global Page Style */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    padding-bottom: 0;
    background-color: var(--bg-color);
}

.woocommerce-cart .page-hero-title,
.woocommerce-cart .entry-title {
    display: none !important;
}

/* 2. Cart Hero Centered (Like cart.html) */
.cart-hero-centered .products-hero-content,
.cart-hero-centered .cart-hero-content {
    text-align: center !important;
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cart-hero-centered .breadcrumb-mini {
    text-align: center;
}

.cart-hero-centered .hero-title-main {
    font-size: 4.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.cart-hero {
    height: 40vh !important;
    min-height: 350px !important;
    margin-bottom: 80px !important;
    background: #111;
}

.cart-hero-bg img {
    opacity: 0.5;
}

/* 3. Main Layout - 2 Column Grid (cart items + sidebar) */
.woocommerce-cart .minoform-cart-wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    padding-bottom: 120px;
}

/* Grid applied to .woocommerce div (direct parent of form + collaterals) */
.woocommerce-cart .minoform-cart-wrapper>.woocommerce {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: start;
}

/* Hide the notices wrapper from taking grid space unnecessarily */
.woocommerce-cart .minoform-cart-wrapper .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
}

@media (max-width: 1024px) {
    .woocommerce-cart .minoform-cart-wrapper>.woocommerce {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* 4. Product List - Clean Blueprint (Matched to cart.html) */
.woocommerce-cart-form {
    width: 100%;
}

.shop_table.cart {
    width: 100%;
    border-collapse: collapse;
    border: none !important;
}

.shop_table.cart thead,
.shop_table.cart tbody {
    display: block;
    width: 100%;
}

/* Cart Header - "ÜRÜN" left / "TOPLAM" right */
.shop_table.cart thead tr {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--text-color);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.shop_table.cart thead th {
    display: none;
    padding: 0 !important;
    border: none !important;
}

.shop_table.cart thead th.product-name,
.shop_table.cart thead th.product-subtotal {
    display: block;
}

/* Cart Item Row - 5 column grid like cart.html */
.shop_table.cart tbody tr.cart_item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto 40px;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    transition: 0.3s;
}

.shop_table.cart tbody tr.cart_item:hover {
    border-bottom-color: var(--text-color);
}

.shop_table.cart tbody td {
    display: block;
    padding: 0 !important;
    border: none !important;
}

/* Product Thumbnail - 100x130, full color */
.woocommerce-cart .product-thumbnail img,
.shop_table.cart .product-thumbnail img,
.woocommerce-cart-form__cart-item .product-thumbnail img {
    width: 100px !important;
    height: 130px !important;
    min-width: 100px !important;
    min-height: 130px !important;
    max-width: 100px !important;
    max-height: 130px !important;
    object-fit: cover;
    transition: 0.6s ease;
}

.cart_item:hover .product-thumbnail img {
    transform: scale(1.05);
}

/* Meta Labels (Category | Collection) */
.item-meta {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
    line-height: 1;
}

.item-meta span:first-child::after {
    content: '|';
    margin-left: 10px;
    opacity: 0.3;
}

/* Product Name Link */
.product-name a {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 0.5px;
    display: block;
    line-height: 1.2;
    margin-bottom: 5px;
}

/* Product Price (below name) */
.product-price,
td.product-name .product-price {
    font-family: var(--font-body);
    color: #666;
    font-size: 1rem;
}

/* Product Subtotal (total column) */
.product-subtotal {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

/* Quantity Control - matching cart.html qty box with -/+ buttons */
.quantity {
    display: flex;
    border: 1px solid var(--border-color);
    height: 40px;
    align-items: center;
}

.quantity .qty {
    width: 50px;
    border: none !important;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    background: transparent !important;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-btn {
    width: 30px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.3s;
    user-select: none;
    color: var(--text-color);
}

.qty-btn:hover {
    background: var(--soft-gray, #f5f5f5);
}

/* Remove button - X icon, rightmost column */
.product-remove {
    grid-column: 5;
    text-align: right;
}

/* Remove button - needs very high specificity to override WooCommerce defaults */
.woocommerce-cart table.cart a.remove,
.woocommerce a.remove,
table.cart td.product-remove a.remove,
a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #999 !important;
    font-size: 1.2rem !important;
    text-decoration: none !important;
    transition: 0.3s !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    border-radius: 0 !important;
    line-height: 1 !important;
    font-weight: 300 !important;
}

.woocommerce-cart table.cart a.remove:hover,
.woocommerce a.remove:hover,
table.cart td.product-remove a.remove:hover,
a.remove:hover {
    color: var(--text-color) !important;
    background: none !important;
    transform: rotate(90deg);
}

/* 5. Cart Actions Row */
.shop_table.cart tbody tr:last-child {
    display: block;
    border: none;
}

.actions {
    padding-top: 60px !important;
    border: none !important;
}

.cart-actions-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.coupon {
    display: flex;
    border-bottom: 2px solid var(--border-color);
}

.coupon .input-text {
    border: none !important;
    background: transparent !important;
    padding: 12px 0 !important;
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    width: 280px !important;
}

.coupon .input-text::placeholder {
    color: #bbb;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.coupon .button {
    background: transparent !important;
    color: var(--text-color) !important;
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    letter-spacing: 2px !important;
    padding: 12px 20px !important;
    border: none !important;
}

button[name="update_cart"] {
    background: var(--text-color) !important;
    color: #fff !important;
    padding: 16px 40px !important;
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 0.8rem !important;
    transition: 0.4s !important;
    border: none !important;
}

button[name="update_cart"]:hover {
    opacity: 0.8;
}

/* 6. Cart Totals Sidebar - "SEPET ÖZETİ" style (matched to cart.html) */
.cart-collaterals {
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
}

.cart_totals {
    width: 100% !important;
    background: var(--soft-gray, #fafafa);
    padding: 40px;
    position: sticky;
    top: 100px;
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

.cart_totals h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 35px;
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 15px;
    white-space: nowrap;
}

.cart_totals table {
    width: 100%;
    border-collapse: collapse;
}

.cart_totals table tr {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cart_totals th,
.cart_totals td {
    padding: 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: none !important;
    width: auto !important;
}

.cart_totals th {
    text-align: left;
    color: var(--text-color);
    font-weight: 400;
}

.cart_totals td {
    text-align: right;
    font-weight: 500;
}

/* Total row styling - matching cart.html .summary-row.total */
.cart_totals .order-total {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #ddd !important;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

/* Hide shipping calculator extras */
.cart_totals .woocommerce-shipping-destination,
.cart_totals .shipping-calculator-button,
.cart_totals .shipping-calculator-form {
    display: none !important;
}

/* Cart totals order total row uppercase */
.cart_totals .order-total th {
    text-transform: uppercase;
    font-family: var(--font-display);
}

/* Proceed to Checkout Button */
.wc-proceed-to-checkout {
    margin-top: 40px;
}

.wc-proceed-to-checkout a.checkout-button,
.wc-block-cart__submit-button {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: var(--text-color) !important;
    color: #fff !important;
    padding: 24px 0 !important;
    text-align: center !important;
    font-family: var(--font-display) !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    text-decoration: none !important;
    transition: 0.3s !important;
    border: 1px solid var(--text-color) !important;
    border-radius: 0 !important;
}

.wc-proceed-to-checkout a.checkout-button:hover,
.wc-block-cart__submit-button:hover {
    background: transparent !important;
    color: var(--text-color) !important;
}

/* =====================================================
   RESPONSIVE - Cart Page (Matched to cart.html @media)
   ===================================================== */
@media (max-width: 768px) {
    .cart-hero-centered .hero-title-main {
        font-size: 3rem;
    }

    .shop_table.cart thead {
        display: none;
    }

    .shop_table.cart tbody tr.cart_item {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto;
        gap: 15px;
        padding: 30px 0;
    }

    .product-thumbnail {
        grid-row: 1 / 4;
    }

    .product-thumbnail img {
        width: 80px;
        height: 100px;
    }

    .product-name {
        grid-row: 1;
    }

    .product-quantity {
        grid-row: 2;
    }

    .quantity {
        height: 35px;
        width: fit-content;
    }

    .product-subtotal {
        grid-row: 3;
        font-size: 1.1rem;
    }

    .product-remove {
        position: absolute;
        right: 0;
        padding-top: 5px;
    }

    .cart-actions-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .coupon {
        width: 100%;
    }

    .coupon .input-text {
        width: 100% !important;
    }

    button[name="update_cart"] {
        width: 100%;
    }

    .cart_totals {
        padding: 30px;
    }
}

/* =====================================================
   CHECKOUT PAGE DESIGN - Matching Cart Design Language
   ===================================================== */

/* 1. Checkout Container - Constrain width and padding */
.woocommerce-checkout .minoform-cart-wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    padding-bottom: 120px;
}

/* Override WooCommerce Blocks max-width */
.wp-block-woocommerce-checkout {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Checkout Layout - Sidebar and Main */
.wc-block-components-sidebar-layout {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 80px !important;
    align-items: flex-start !important;
}

.wc-block-components-main {
    flex: 1 !important;
    min-width: 0 !important;
    padding-right: 0 !important;
}

/* 3. Checkout Sidebar - Reset main container, style child blocks */
.wc-block-components-sidebar {
    width: 400px !important;
    min-width: 400px !important;
    max-width: 400px !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    position: sticky !important;
    top: 100px !important;
    box-sizing: border-box !important;
    margin-top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
}

/* Style the Order Summary block as a box */
.wp-block-woocommerce-checkout-order-summary-block {
    background: var(--soft-gray, #fafafa) !important;
    padding: 40px !important;
    border: 1px solid var(--border-color) !important;
}

/* Style the new Secondary Box as a box */
.checkout-secondary-box {
    background: var(--soft-gray, #fafafa) !important;
    padding: 40px !important;
    border: 1px solid var(--border-color) !important;
}

/* Sidebar heading - "Sipariş Özeti" */
.wc-block-components-sidebar .wc-block-components-checkout-order-summary .wc-block-components-panel__button,
.wc-block-components-sidebar .wc-block-components-checkout-order-summary>div:first-child {
    font-family: var(--font-display) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 1.2rem !important;
}

/* 13. Moved sections inside sidebar */
.wc-block-components-sidebar #shipping-option,
.wc-block-components-sidebar #payment-method,
.wc-block-components-sidebar #order-notes {
    margin-top: 30px !important;
    padding-top: 25px !important;
    border-top: 1px solid var(--border-color) !important;
}

/* Remove top margin/border from the first item in secondary box */
.checkout-secondary-box>*:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
}

.wc-block-components-sidebar .wc-block-components-checkout-step__heading {
    font-size: 0.85rem !important;
    letter-spacing: 1.5px !important;
}

.wc-block-components-sidebar .wc-block-components-checkout-step__container {
    padding: 0 !important;
    margin: 0 !important;
}

.wc-block-components-sidebar .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__container::after {
    display: none !important;
}

.wc-block-components-sidebar .wc-block-components-checkout-step {
    padding-left: 0 !important;
}

.wc-block-components-sidebar .wc-block-components-checkout-step__heading::before {
    display: none !important;
}

/* Actions inside sidebar - stack vertically */
.wc-block-components-sidebar .wc-block-checkout__actions {
    flex-direction: column !important;
    gap: 15px !important;
    margin-top: 30px !important;
    padding-top: 25px !important;
    border-top: 1px solid var(--border-color) !important;
}

.wc-block-components-sidebar .wc-block-checkout__actions .wc-block-components-button {
    width: 100% !important;
    box-sizing: border-box !important;
}

.wc-block-components-sidebar .wc-block-checkout__actions .wc-block-components-checkout-return-to-cart-button {
    text-align: center !important;
    order: 2 !important;
}

/* Remove step left border/numbering in sidebar */
.wc-block-components-sidebar .wc-block-components-checkout-step::before,
.wc-block-components-sidebar .wc-block-components-checkout-step::after {
    display: none !important;
}

.wc-block-components-sidebar .wc-block-components-checkout-step__container::before,
.wc-block-components-sidebar .wc-block-components-checkout-step__container::after {
    display: none !important;
}

/* Sidebar product items */
.wc-block-components-order-summary-item {
    padding: 15px 0 !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.wc-block-components-order-summary-item__image img {
    border-radius: 0 !important;
    object-fit: cover;
}

.wc-block-components-order-summary-item__description {
    font-family: var(--font-body) !important;
}

.wc-block-components-order-summary-item__description .wc-block-components-product-name {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
}

/* Sidebar totals - Match cart_totals design */
.wc-block-components-totals-wrapper {
    border-top: none !important;
    border-bottom: none !important;
}

.wc-block-components-totals-item {
    font-family: var(--font-body) !important;
}

.wc-block-components-totals-item__label {
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    color: var(--text-color) !important;
}

.wc-block-components-totals-item__value {
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
}

/* Checkout Order Total - Match "TOPLAM" styling */
.wc-block-components-totals-footer-item {
    border-top: 1px solid #ddd !important;
    margin-top: 15px !important;
    padding-top: 20px !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-family: var(--font-display) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

/* 4. Checkout Section Headings */
.wc-block-components-checkout-step__heading {
    font-family: var(--font-display) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 1rem !important;
}

.wc-block-components-checkout-step__description {
    font-family: var(--font-body) !important;
    color: #999 !important;
    font-size: 0.85rem !important;
}

/* Step content border - cleaner */
.wc-block-components-checkout-step__content {
    border: none !important;
}

.wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__container::after {
    border-left-color: var(--border-color) !important;
}

/* 5. Checkout Form Inputs */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-combobox .wc-block-components-combobox-control input {
    border-radius: 0 !important;
    border-color: var(--border-color) !important;
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    transition: border-color 0.3s ease !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input:focus {
    border-color: var(--text-color) !important;
    box-shadow: none !important;
}

.wc-block-components-text-input label {
    font-family: var(--font-body) !important;
}

/* 6. Shipping Options Styling */
.wc-block-components-radio-control__option {
    border: 1px solid var(--border-color) !important;
    border-radius: 0 !important;
    padding: 18px 20px !important;
}

.wc-block-components-radio-control__label {
    font-family: var(--font-body) !important;
}

.wc-block-components-radio-control__secondary-label {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* 7. Place Order Button - Full-width, matches "ÖDEMEYE GEÇ" */
.wc-block-components-checkout-place-order-button,
.wc-block-checkout__actions .wc-block-components-button {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: var(--text-color) !important;
    color: #fff !important;
    padding: 24px 0 !important;
    text-align: center !important;
    font-family: var(--font-display) !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    text-decoration: none !important;
    transition: 0.3s !important;
    border: 1px solid var(--text-color) !important;
    border-radius: 0 !important;
    cursor: pointer !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout__actions .wc-block-components-button:hover {
    background: transparent !important;
    color: var(--text-color) !important;
}

/* 8. Checkout Actions Row */
.wc-block-checkout__actions {
    display: flex !important;
    flex-direction: row-reverse !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 40px !important;
    padding-top: 30px !important;
    border-top: 1px solid var(--border-color) !important;
}

.wc-block-checkout__actions .wc-block-components-checkout-return-to-cart-button {
    font-family: var(--font-body) !important;
    color: #999 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.wc-block-checkout__actions .wc-block-components-checkout-return-to-cart-button:hover {
    color: var(--text-color) !important;
}

/* 9. Coupon Panel */
.wc-block-components-totals-coupon .wc-block-components-panel__button {
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
}

.wc-block-components-totals-coupon__content input {
    border-radius: 0 !important;
    border-color: var(--border-color) !important;
    font-family: var(--font-body) !important;
}

.wc-block-components-totals-coupon__content .wc-block-components-button {
    border-radius: 0 !important;
    background: var(--text-color) !important;
    color: #fff !important;
    font-family: var(--font-display) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* 10. Notices & Error Messages */
.wc-block-components-notice-banner {
    border-radius: 0 !important;
    font-family: var(--font-body) !important;
}

/* 11. Checkboxes */
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
    border-radius: 0 !important;
}

.wc-block-components-checkbox__label {
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
}

/* 12. Order notes */
.wc-block-checkout__add-note .wc-block-components-textarea {
    border-radius: 0 !important;
    border-color: var(--border-color) !important;
    font-family: var(--font-body) !important;
}

/* 13. Moved sections inside sidebar */
.wc-block-components-sidebar #shipping-option,
.wc-block-components-sidebar #payment-method,
.wc-block-components-sidebar #order-notes {
    margin-top: 30px !important;
    padding-top: 25px !important;
    border-top: 1px solid var(--border-color) !important;
}

.wc-block-components-sidebar .wc-block-components-checkout-step__heading {
    font-size: 0.85rem !important;
    letter-spacing: 1.5px !important;
}

.wc-block-components-sidebar .wc-block-components-checkout-step__container {
    padding: 0 !important;
    margin: 0 !important;
}

.wc-block-components-sidebar .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__container::after {
    display: none !important;
}

.wc-block-components-sidebar .wc-block-components-checkout-step {
    padding-left: 0 !important;
}

.wc-block-components-sidebar .wc-block-components-checkout-step__heading::before {
    display: none !important;
}

/* Actions inside sidebar - stack vertically */
.wc-block-components-sidebar .wc-block-checkout__actions {
    flex-direction: column !important;
    gap: 15px !important;
    margin-top: 30px !important;
    padding-top: 25px !important;
    border-top: 1px solid var(--border-color) !important;
}

.wc-block-components-sidebar .wc-block-checkout__actions .wc-block-components-button {
    width: 100% !important;
    box-sizing: border-box !important;
}

.wc-block-components-sidebar .wc-block-checkout__actions .wc-block-components-checkout-return-to-cart-button {
    text-align: center !important;
    order: 2 !important;
}

/* Remove step left border/numbering in sidebar */
.wc-block-components-sidebar .wc-block-components-checkout-step::before,
.wc-block-components-sidebar .wc-block-components-checkout-step::after {
    display: none !important;
}

.wc-block-components-sidebar .wc-block-components-checkout-step__container::before,
.wc-block-components-sidebar .wc-block-components-checkout-step__container::after {
    display: none !important;
}

/* Checkout responsive */
@media (max-width: 1024px) {
    .wc-block-components-sidebar-layout {
        flex-direction: column !important;
        gap: 40px !important;
    }

    .wc-block-components-sidebar {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        position: static !important;
    }
}

/* =====================================================
   MY ACCOUNT PAGE DESIGN
   ===================================================== */

/* 1. Sidebar Navigation */
.woocommerce-MyAccount-navigation {
    width: 25% !important;
    float: left !important;
    margin-right: 5% !important;
    background: transparent !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid var(--border-color);
    background: #fff;
}

.woocommerce-MyAccount-navigation li {
    margin: 0 !important;
    border-bottom: 1px solid var(--border-color);
}

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

.woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation li a:hover {
    background: var(--soft-gray, #fafafa);
    color: #000;
}

.woocommerce-MyAccount-navigation li.is-active a {
    background: var(--soft-gray, #fafafa);
    color: #000;
    font-weight: 700;
    border-left: 3px solid #000;
}

.woocommerce-MyAccount-navigation li a i {
    width: 20px;
    text-align: center;
    color: #777;
}

.woocommerce-MyAccount-navigation li.is-active a i {
    color: #000;
}

/* 2. My Account Content Area */
.woocommerce-MyAccount-content {
    width: 70% !important;
    float: right !important;
}

/* 3. Dashboard Shortcuts Grid */
.dashboard-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.shortcut-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 40px 20px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    text-align: center;
    gap: 15px;
}

.shortcut-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #000;
}

.shortcut-card i {
    font-size: 2rem;
    color: #000;
    margin-bottom: 5px;
}

.shortcut-card span {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--text-color);
}

.shortcut-card:hover span {
    color: #000;
}

/* My Account Responsive */
@media (max-width: 991px) {
    .woocommerce-MyAccount-navigation {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 40px !important;
    }

    .woocommerce-MyAccount-content {
        width: 100% !important;
        float: none !important;
    }

    .dashboard-shortcuts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .dashboard-shortcuts {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   SIDEBAR PRODUCT WIDGET (Son Ürünler)
   ===================================================== */
.widget_products ul.product_list_widget {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget_products ul.product_list_widget li {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid var(--border-color);
}

.widget_products ul.product_list_widget li:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none;
}

.widget_products ul.product_list_widget li a {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    text-decoration: none !important;
    color: var(--text-color);
    flex: 1;
}

.widget_products ul.product_list_widget li img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    margin: 0 !important;
    float: none !important;
}

.widget_products ul.product_list_widget li .product-title {
    font-family: var(--font-display);
    font-size: 0.95rem !important;
    font-weight: 600;
    line-height: 1.4;
    color: #111;
    display: block;
    margin-bottom: 5px;
}

.widget_products ul.product_list_widget li .amount {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem !important;
    color: #666;
    font-weight: 500;
}

.widget_products ul.product_list_widget li del {
    font-size: 0.8rem;
    color: #999;
    margin-right: 5px;
}

.widget_products ul.product_list_widget li ins {
    text-decoration: none;
    font-weight: 700;
    color: #111;
}