body.theme-makesy.mk-layout {
    padding-top: 0;
}

body.theme-makesy .page-content {
    min-height: 50vh;
}

body.theme-makesy .sg-mini-cart-line + hr:last-of-type {
    display: none;
}

body.theme-makesy .cart-badge.sg-cart-count:empty,
body.theme-makesy .cart-badge.sg-cart-count[data-count="0"] {
    display: none;
}

body.theme-makesy .product-thumbs .slick-slider {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    body.theme-makesy.mobile-product-compact .product-card h6 {
        font-size: 14px;
    }
}

body.theme-makesy .sg-account-page .profile__menu a:hover {
    background: #212529;
    border-color: #212529;
    color: #fff;
}

body.theme-makesy .size-chart:not(.mk-pdp-option) .sg-option-btn,
body.theme-makesy .size-chart:not(.mk-pdp-option) .kf-product-option-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    color: #222121;
    font-weight: 600;
    background-color: #ffffff;
}

body.theme-makesy .size-chart:not(.mk-pdp-option) input[type="radio"]:checked + .sg-option-btn,
body.theme-makesy .size-chart:not(.mk-pdp-option) .sg-option-btn:hover,
body.theme-makesy .size-chart:not(.mk-pdp-option) .kf-product-option-btn:hover,
body.theme-makesy .size-chart:not(.mk-pdp-option) .kf-product-option-btn.is-selected,
body.theme-makesy .size-chart:not(.mk-pdp-option) .kf-product-option-btn.active {
    color: #ef2424;
    border-color: #ef2424;
    background-color: #ffffff;
}

body.theme-makesy .more-colors .kf-product-option-btn.sg-color-swatch {
    line-height: 0;
}

body.theme-makesy .more-colors .kf-product-option-btn.sg-color-swatch.is-selected img,
body.theme-makesy .more-colors .kf-product-option-btn.sg-color-swatch.active img {
    outline: 2px solid #ef2424;
    outline-offset: 2px;
}

body.theme-makesy #QuickViewModal .sg-quickview-close {
    z-index: 5;
}

body.theme-makesy #QuickViewModal .size-chart .kf-product-option-btn {
    border-radius: 0;
    width: auto;
    min-width: 50px;
    height: auto;
    min-height: 44px;
    padding: 0.5rem 1rem;
}

body.theme-makesy .product-share a.btn-social {
    text-decoration: none;
    display: flex;
}

body.theme-makesy .sg-product-gallery-item {
    cursor: zoom-in;
}

body.theme-makesy .sg-product-details-excerpt img {
    max-width: 100%;
    height: auto;
}

body.theme-makesy .sg-checkout .checkbox-form input[type="text"],
body.theme-makesy .sg-checkout .checkbox-form input[type="email"],
body.theme-makesy .sg-checkout .checkbox-form input[type="tel"],
body.theme-makesy .sg-checkout .checkbox-form textarea,
body.theme-makesy .sg-checkout .checkbox-form select {
    border-radius: 0;
}

/* Cart */
body.theme-makesy.page-cart .sg-cart-line .product-img img {
    max-width: 150px;
    height: auto;
}

body.theme-makesy.page-cart .sg-cart-line .btn-ecomm {
    text-align: left;
}

body.theme-makesy.page-cart .sg-cart-summary hr,
body.theme-makesy.page-cart .sg-cart-coupon .input-group .form-control {
    margin: 0;
}

body.theme-makesy.page-cart .table-content,
body.theme-makesy.page-cart .cart-area table {
    all: unset;
}

/* Checkout */
body.theme-makesy.page-checkout .coupon-accordion,
body.theme-makesy.page-checkout .checkbox-form h3 {
    all: unset;
}

body.theme-makesy.page-checkout .sg-field.is-error .form-control,
body.theme-makesy.page-checkout .sg-field.is-error .form-select {
    border-color: #dc3545;
}

body.theme-makesy.page-checkout .os-checkout-billing-step {
    border: 0;
    margin: 0;
    padding: 0;
}

body.theme-makesy.page-checkout .os-checkout-billing-summary {
    display: none;
}

body.theme-makesy.page-checkout .payment-method .sg-payment-nav .nav-link {
    cursor: pointer;
    border: 0;
    border-bottom: 1px solid #dedede;
    margin: 0;
}

body.theme-makesy.page-checkout .payment-method .sg-payment-nav .nav-link.active,
body.theme-makesy.page-checkout .payment-method .sg-payment-nav .nav-link.selected {
    background-color: #fff;
}

body.theme-makesy.page-checkout .sg-checkout-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991.98px) {
    body.theme-makesy.page-checkout .sg-checkout-mobile-bar {
        display: flex;
    }

    body.theme-makesy.page-checkout {
        padding-bottom: 80px;
    }
}

/* Account */
@media (min-width: 1200px) {
    body.theme-makesy .sg-account-page .filter-column .offcanvas-start {
        position: static;
        transform: none;
        visibility: visible;
        width: 100%;
        max-width: 100%;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    body.theme-makesy .sg-account-page .filter-column .offcanvas-header {
        display: none;
    }

    body.theme-makesy .sg-account-page .filter-column .offcanvas-body {
        padding: 0;
    }
}

body.theme-makesy .sg-account-mobile-toggle {
    z-index: 1040;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

body.theme-makesy.page-auth .sg-account-panel .kf-account-panel__title,
body.theme-makesy.page-auth .sg-account-panel .profile__info-title,
body.theme-makesy.page-auth .sg-account-panel .order__info-title,
body.theme-makesy.page-auth .sg-account-panel .password__change-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

body.theme-makesy.page-auth .sg-account-panel .profile__info-wrapper,
body.theme-makesy.page-auth .sg-account-panel .password__form,
body.theme-makesy.page-auth .sg-account-panel .order__info,
body.theme-makesy.page-auth .sg-account-panel .kf-order-detail,
body.theme-makesy.page-auth .sg-account-panel .kf-coupon-section,
body.theme-makesy.page-auth .sg-account-panel .kf-address-form-wrap {
    background: #fff;
    border: 1px solid #dee2e6;
    padding: 1.25rem;
}

body.theme-makesy.page-auth .sg-account-panel .admin-table-wrap {
    overflow-x: auto;
}

body.theme-makesy.page-auth .sg-account-panel .kf-cart-table {
    width: 100%;
    margin-bottom: 0;
}

body.theme-makesy.page-auth .sg-account-panel .kf-cart-table th,
body.theme-makesy.page-auth .sg-account-panel .kf-cart-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
    vertical-align: middle;
}

body.theme-makesy.page-auth .sg-account-panel .kf-cart-table thead th {
    font-weight: 600;
    background: #f8f9fa;
}

body.theme-makesy.page-auth .sg-account-panel .kf-field {
    margin-bottom: 1rem;
}

body.theme-makesy.page-auth .sg-account-panel .kf-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 500;
}

body.theme-makesy.page-auth .sg-account-panel .kf-field input,
body.theme-makesy.page-auth .sg-account-panel .kf-field textarea,
body.theme-makesy.page-auth .sg-account-panel .kf-field select,
body.theme-makesy.page-auth .sg-account-panel .kf-select {
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 0;
    padding: 0.5rem 0.75rem;
    background: #fff;
}

body.theme-makesy.page-auth .sg-account-panel .kf-field.is-error input,
body.theme-makesy.page-auth .sg-account-panel .kf-field.is-error textarea,
body.theme-makesy.page-auth .sg-account-panel .kf-field.is-error select {
    border-color: #dc3545;
}

body.theme-makesy.page-auth .sg-account-panel .kf-field-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

body.theme-makesy.page-auth .sg-account-panel .kf-btn,
body.theme-makesy.page-auth .sg-account-panel .os-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    background: #212529;
    color: #fff;
    border: 0;
    text-decoration: none;
    cursor: pointer;
}

body.theme-makesy.page-auth .sg-account-panel .kf-account-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

body.theme-makesy.page-auth .sg-account-panel .kf-account-tabs a {
    padding: 0.5rem 1rem;
    border: 1px solid #dee2e6;
    text-decoration: none;
    color: inherit;
}

body.theme-makesy.page-auth .sg-account-panel .kf-account-tabs a.is-active,
body.theme-makesy.page-auth .sg-account-panel .kf-account-tabs a:hover {
    background: #212529;
    border-color: #212529;
    color: #fff;
}

body.theme-makesy.page-auth .sg-account-panel .kf-status-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    font-size: 0.8125rem;
    border-radius: 0;
    background: #f8f9fa;
}

body.theme-makesy.page-auth .sg-account-panel .kf-coupon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

body.theme-makesy.page-auth .sg-account-panel .kf-coupon-card {
    border: 1px solid #dee2e6;
    padding: 1rem;
}

body.theme-makesy.page-auth .grey-bg,
body.theme-makesy.page-auth .profile__menu-left,
body.theme-makesy.page-auth .white-bg {
    background: transparent !important;
}

body.theme-makesy.page-auth .sg-addresses-panel .card-header,
body.theme-makesy.page-auth .sg-address-form-card .card-header {
    border-bottom: 1px solid #dee2e6;
}

body.theme-makesy.page-auth .sg-address-card .form-check-label {
    line-height: 1.6;
    cursor: pointer;
}

body.theme-makesy.page-auth .sg-set-default-form .form-check-input {
    cursor: pointer;
}

body.theme-makesy.page-auth .sg-address-section .btn-ecomm.btn-sm {
    white-space: nowrap;
}

body.theme-makesy.page-auth .sg-address-form-card .sg-field.is-error .form-control,
body.theme-makesy.page-auth .sg-address-form-card .sg-field.is-error .form-select {
    border-color: #dc3545;
}

body.theme-makesy .top-header .primary-menu .navbar-nav a.nav-link {
    font-size: var(--theme-menu-link-size, 14px);
}

body.theme-makesy .mk-nav .dropdown-toggle::after {
    vertical-align: middle;
}

@media (max-width: 991.98px) {
    body.theme-makesy .top-header .primary-menu .navbar-nav a.nav-link {
        font-size: var(--theme-menu-link-size-mobile, 14px);
    }
}

/* Ürün detay — mobil sticky sepete ekle (CMS: product_sticky_bar) */
@media (max-width: 991.98px) {
    body.theme-makesy.page-product:not(.mobile-sticky-bar-off) .sg-product-page:not(.mk-pdp) {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }

    body.theme-makesy.page-product:not(.mobile-sticky-bar-off) .mk-pdp__buy-row.cart-buttons {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 8px;
    }

    body.theme-makesy.page-product:not(.mobile-sticky-bar-off) .cart-buttons:not(.mk-pdp__buy-row) {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 105;
        margin: 0;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid #e9ecef;
        box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
    }

    body.theme-makesy.page-product:not(.mobile-sticky-bar-off) .cart-buttons .buttons {
        flex-direction: row !important;
        flex-wrap: nowrap;
        gap: 8px !important;
        margin-top: 0 !important;
    }

    body.theme-makesy.page-product:not(.mobile-sticky-bar-off) .cart-buttons .js-product-add-btn {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 44px;
        padding-top: 0.65rem !important;
        padding-bottom: 0.65rem !important;
    }

    body.theme-makesy.page-product:not(.mobile-sticky-bar-off) .cart-buttons .js-favorite-btn {
        flex: 0 0 auto;
        min-height: 44px;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    body.kf-modal-open.theme-makesy.page-product .cart-buttons {
        display: none;
    }
}

body.theme-makesy.mobile-sticky-bar-off.page-product .sg-product-page,
body.theme-makesy.mobile-sticky-bar-off.page-product .product-detail {
    padding-bottom: 0;
}

