/*
 * Parts DS mobile responsive overrides.
 * Loaded after the base Eyoom shop styles so shop-wide touch targets,
 * spacing, grids, and custom PartsDS sections stay readable on phones.
 */

.pg-anchor-in .nav-tabs {
    display: inline-flex !important;
    justify-content: center !important;
    width: min(1120px, calc(100vw - 48px));
    max-width: none;
    margin: 0 auto !important;
    text-align: center;
}

.pg-anchor-in .nav-tabs li {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: 280px;
}

.pg-anchor-in .nav-tabs li a {
    width: 100%;
    text-align: center;
}

.partsds-item-tabbar .pg-anchor-in .nav-tabs {
    display: flex !important;
    width: 100% !important;
    max-width: 1120px;
    flex-wrap: nowrap !important;
}

.partsds-item-tabbar .pg-anchor-in .nav-tabs > li {
    flex: 0 0 25% !important;
    width: 25% !important;
    max-width: none !important;
}

.pg-anchor-in .tab-bottom-line {
    width: min(1120px, calc(100vw - 48px));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .pg-anchor-in {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        text-align: center;
    }
}

@media (max-width: 991px) {
    .partsds-item-tabbar .pg-anchor-in {
        overflow: hidden;
    }

    .partsds-item-tabbar .pg-anchor-in .nav-tabs {
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
    }

    .partsds-item-tabbar .pg-anchor-in .nav-tabs > li {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
    }

    .partsds-item-tabbar .pg-anchor-in .nav-tabs > li > a {
        display: flex !important;
        min-height: 52px;
        align-items: center;
        justify-content: center;
        white-space: normal;
        word-break: keep-all;
        line-height: 1.25;
    }

    html,
    body {
        overflow-x: hidden;
    }

    body {
        -webkit-text-size-adjust: 100%;
    }

    img,
    video,
    iframe {
        max-width: 100%;
    }

    .wrapper,
    #container,
    .container {
        max-width: 100%;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-wrap .top-header {
        display: none;
    }

    .header-wrap .header-title {
        border-bottom: 1px solid #eee;
    }

    .header-title > .container {
        min-height: 68px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .header-title .title-logo {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 120px;
        min-height: 44px;
    }

    .header-title .site-logo {
        max-width: 128px;
        max-height: 42px;
        width: auto;
        height: auto;
    }

    .header-title-btn,
    .header-title-search {
        display: none !important;
    }

    .nav-wrap {
        display: block !important;
        height: 0 !important;
        min-height: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        background: transparent !important;
    }

    .nav-wrap > .container,
    .nav-wrap .navbar {
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .nav-wrap .navbar > .navbar-nav,
    .nav-wrap .navbar > .dropdown,
    .nav-wrap .navbar > .nav-link {
        display: none !important;
    }

    .header-title-mobile-btn {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        pointer-events: none;
    }

    .header-title-mobile-btn .navbar-toggler {
        position: absolute;
        top: 50%;
        left: 8px;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        padding: 0;
        border: 0;
        color: #111;
        font-size: 22px;
        line-height: 42px;
        box-shadow: none;
        pointer-events: auto;
        background: transparent;
    }

    .header-title-mobile-btn .mobile-search-btn {
        left: auto;
        right: 8px;
    }

    .shop-main-slider-top {
        margin-top: calc(var(--pds-header-title-height, 91px) - 31px) !important;
        margin-left: 0;
        margin-right: 0;
    }

    .shop-main-slider-top img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .ebs-shop-basic-wrap-1526428620 {
        margin: 0 0 22px !important;
        background: #fff;
    }

    .ebs-shop-basic-wrap-1526428620 .ebs-shop-basic-in {
        overflow: hidden;
    }

    .ebs-shop-basic-wrap-1526428620 .swiper-slide {
        background: #fff;
    }

    .ebs-shop-basic-wrap-1526428620 .swiper-slide picture,
    .ebs-shop-basic-wrap-1526428620 .swiper-slide a {
        display: block;
        width: 100%;
    }

    .ebs-shop-basic-wrap-1526428620 .swiper-slide img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        filter: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .ebs-shop-basic-wrap-1526428620 .swiper-button-next,
    .ebs-shop-basic-wrap-1526428620 .swiper-button-prev {
        top: 50% !important;
        bottom: auto !important;
        z-index: 5 !important;
    }

    .ebs-shop-basic-wrap-1526428620 .swiper-button-next {
        right: 8px !important;
    }

    .ebs-shop-basic-wrap-1526428620 .swiper-button-prev {
        left: 8px !important;
    }

    .main-heading,
    .pds-home-head,
    .pds-brand-header {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }

    .main-heading h2,
    .pds-home-head h2,
    .pds-brand-header h2 {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .main-heading p,
    .pds-home-head p,
    .pds-brand-header p {
        font-size: 13px;
        line-height: 1.55;
        word-break: keep-all;
    }

    .partsds-brand-section {
        padding-top: 62px !important;
        padding-bottom: 54px !important;
    }

    .pds-brand-carousel-wrap {
        margin-top: 34px !important;
        margin-bottom: 44px !important;
    }

    .pds-brand-carousel,
    .pds-brand-track {
        cursor: grab;
        touch-action: pan-y;
        user-select: none;
        -webkit-user-select: none;
    }

    .pds-brand-carousel.is-dragging,
    .pds-brand-track.is-dragging {
        cursor: grabbing;
        scroll-behavior: auto !important;
        transition: none !important;
    }

    .partsds-brand-section .pds-car-search-box {
        width: 100% !important;
        max-width: 390px !important;
    }

    .partsds-brand-section .pds-car-selectors {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .partsds-brand-section .pds-select-wrap,
    .partsds-brand-section .pds-select,
    .partsds-brand-section .pds-search-btn {
        width: 100% !important;
    }

    .partsds-brand-section .pds-select,
    .partsds-brand-section .pds-search-btn {
        min-height: 64px !important;
        font-size: 16px !important;
    }

    .pds-part-number-search {
        width: 100%;
        max-width: 350px !important;
    }

    .pds-part-input,
    .pds-part-search-btn {
        min-height: 56px;
    }

    .pds-main-sale-section {
        margin-top: 70px !important;
        margin-bottom: 82px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .pds-main-sale-section h2 {
        margin-bottom: 26px !important;
        font-size: 18px !important;
    }

    .pds-sale-card {
        border-radius: 8px !important;
    }

    .product-list-10 {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 34px 14px !important;
        margin: 0 0 56px !important;
        padding: 0 10px !important;
    }

    .product-list-10 .item-list-wrap {
        width: auto !important;
        float: none !important;
        clear: none !important;
        padding: 0 !important;
    }

    .product-list-10 .item-list-wrap:nth-child(n) {
        clear: none !important;
    }

    .product-list-10 .item-list {
        min-height: 390px !important;
        padding: 14px !important;
        border: 1px solid #ddd !important;
        background: #fff !important;
    }

    .product-list-10 .product-title-bar {
        display: none !important;
    }

    .product-list-10 .product-img,
    .product-list-10 .product-img-in {
        min-height: 190px !important;
        height: 190px !important;
        margin-bottom: 18px !important;
    }

    .product-list-10 .product-img-in img {
        max-height: 184px !important;
    }

    .product-list-10 .product-name {
        display: -webkit-box;
        min-height: 66px !important;
        max-height: 66px;
        margin-bottom: 12px !important;
        overflow: hidden;
        color: #111 !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        line-height: 1.38 !important;
        word-break: keep-all;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .product-list-10 .product-name a {
        color: #111 !important;
    }

    .product-list-10 .product-meta {
        min-height: 44px !important;
        margin-bottom: 16px !important;
        font-size: 14px !important;
        line-height: 1.45 !important;
        color: #666 !important;
    }

    .product-list-10 .product-price {
        margin-bottom: 16px !important;
        font-size: 16px !important;
        font-weight: 800 !important;
    }

    .product-list-10 .pds-cart-btn {
        height: 48px !important;
        border-radius: 6px !important;
        font-size: 16px !important;
        font-weight: 800 !important;
    }

    .product-list,
    .product-main-10,
    .product-main-20,
    .product-main-30,
    .product-main-40,
    .product-main-50,
    .shop-boxevent {
        max-width: 100%;
    }

    .table-responsive,
    .shop-table,
    .order-form-table,
    .sod_list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="search"],
    select,
    textarea,
    button,
    .btn,
    .btn-e {
        font-size: 16px;
    }

    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="search"],
    select {
        min-height: 44px;
    }

    /* Parts DS: Cafe24 mobile-style global shell */
    body {
        width: 100%;
        min-width: 0 !important;
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
        background: #fff;
    }

    .wrapper,
    .header-wrap,
    .basic-body,
    #container,
    .shop-container,
    .contents-box,
    .contents-box-inner {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .page-header-wrap {
        margin-bottom: 0 !important;
    }

    .header-title {
        position: relative;
        z-index: 1040;
        background: #fff;
    }

    .header-title .title-logo {
        margin: 0 auto !important;
    }

    .header-title-mobile-btn .navbar-toggler:first-of-type {
        left: auto !important;
        right: 4px !important;
    }

    .header-title-mobile-btn .navbar-toggler:last-of-type {
        left: 4px !important;
        right: auto !important;
    }

    .pds-header-title-spacer {
        display: none !important;
    }

    .pds-title-fixed .header-title {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    .pds-mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 4900;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        height: calc(62px + env(safe-area-inset-bottom));
        padding: 3px 4px env(safe-area-inset-bottom);
        border-top: 1px solid #dcdcdc;
        background: rgba(255,255,255,.98);
        box-shadow: 0 -4px 16px rgba(0,0,0,.06);
    }

    .partsds-footer-talk {
        top: auto !important;
        right: 10px !important;
        bottom: 134px !important;
        max-height: 62px;
    }

    .pds-mobile-nav-item {
        position: relative;
        display: flex;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #171717 !important;
        font-size: 10px !important;
        line-height: 1.1;
        text-decoration: none !important;
    }

    .pds-mobile-nav-item i {
        font-size: 19px;
        line-height: 22px;
    }

    .pds-mobile-nav-item em {
        position: absolute;
        top: 2px;
        left: calc(50% + 6px);
        display: flex;
        min-width: 17px;
        height: 17px;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        border-radius: 9px;
        background: #ef2b22;
        color: #fff;
        font-size: 10px;
        font-style: normal;
        font-weight: 700;
    }

    .navbar-mobile-toggler {
        display: none !important;
    }

    .eb-backtotop {
        bottom: 76px !important;
    }

    .partsds-site-footer {
        padding: 30px 0 26px !important;
    }

    .partsds-footer-grid,
    .partsds-footer-links {
        width: 100% !important;
    }

    .sidebar-left.offcanvas {
        top: 0 !important;
        bottom: 0 !important;
        width: min(86vw, 340px) !important;
        height: 100dvh !important;
        max-height: none !important;
        padding-top: env(safe-area-inset-top);
        background: #fff;
    }

    .sidebar-left .sidebar-left-content {
        height: 100%;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .sidebar-left .offcanvas-header {
        position: sticky;
        top: 0;
        z-index: 5;
        min-height: 82px;
        padding: 16px 18px;
        border-bottom: 1px solid #eee;
        background: #fff;
    }

    .pds-offcanvas-logo {
        display: flex;
        align-items: center;
        min-height: 48px;
    }

    .pds-offcanvas-logo img {
        display: block;
        width: 128px;
        max-width: 128px !important;
        height: auto;
    }

    .sidebar-left .offcanvas-header .btn-close {
        width: 42px;
        height: 42px;
        margin: 0;
        padding: 0;
        opacity: 1;
    }

    .sidebar-left .sidebar-member-menu,
    .sidebar-left .navbar-nav {
        margin-left: 14px;
        margin-right: 14px;
    }

    .sidebar-left .pds-sidebar-quick-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin: 12px 0;
    }

    .sidebar-left .pds-sidebar-quick-links .sidebar-member-btn-box {
        display: block;
        width: 100% !important;
        margin: 0 !important;
    }

    .sidebar-left .pds-sidebar-quick-links .sidebar-member-btn {
        float: none !important;
        display: flex;
        width: 100% !important;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 8px 6px;
        border-radius: 3px;
        white-space: nowrap;
        font-size: 13px;
        text-align: center;
    }

    .sidebar-left .pds-sidebar-quick-links .clearfix {
        display: none;
    }

    .sidebar-left .navbar-nav {
        padding-bottom: 28px;
    }

    .sidebar-left .navbar-nav > li > a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .sidebar-left .pds-mobile-product-shortcuts {
        display: none !important;
    }

    /* Search / category lists */
    .pds-shop-search,
    .shop-list,
    .shop-category,
    .shop-product,
    .shop-item,
    .shop-cart,
    .shop-order-form,
    .shop-mypage,
    .member-skin,
    .eb-login {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .pds-search-result-head {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin: 18px 0 !important;
        padding-top: 14px;
        border-top: 1px solid #eee;
    }

    .pds-search-result-title {
        min-width: 0;
        color: #111;
        font-size: 13px;
    }

    .pds-search-result-sort {
        flex: 0 0 auto;
    }

    .pds-search-result-sort select {
        max-width: 145px;
        border-color: #ccc;
        color: #111;
        font-weight: 700;
    }

    /* Product detail */
    .shop-product > .row {
        display: block !important;
        margin: 0 !important;
    }

    .shop-product > .row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .shop-product-img,
    .product-img-big,
    .shop-product-img img {
        max-width: 100% !important;
    }

    .shop-product-img {
        margin-bottom: 26px !important;
    }

    .product-img-big {
        min-height: 0 !important;
        height: auto !important;
    }

    .shop-product h2,
    .shop-product .product-title {
        font-size: 22px !important;
        line-height: 1.35 !important;
        word-break: keep-all;
    }

    .shop-product-prices {
        font-size: 22px !important;
    }

    .shop-product table {
        width: 100% !important;
        table-layout: fixed;
    }

    .shop-product table th {
        width: 92px !important;
        padding-left: 0 !important;
    }

    .shop-product table td {
        word-break: break-word;
    }

    #sit_ov_btn {
        display: grid !important;
        grid-template-columns: 1.25fr 1fr 1fr;
        gap: 8px;
    }

    #sit_ov_btn button,
    #sit_ov_btn a {
        width: 100% !important;
        min-width: 0 !important;
        height: 52px !important;
        margin: 0 !important;
        padding: 0 8px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 14px !important;
    }

    #sit_btn_inquiry {
        grid-column: 1 / -1;
    }

    /* Cart and checkout */
    .shop-steps {
        margin: 18px 0 26px !important;
    }

    .shop-steps .step-indicator {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }

    .shop-steps .step-indicator > li {
        width: auto !important;
        min-width: 0;
        margin: 0 !important;
    }

    .shop-steps .step {
        width: 38px !important;
        height: 38px !important;
        margin: 0 auto 6px !important;
        line-height: 38px !important;
    }

    .shop-steps .caption {
        font-size: 11px !important;
        white-space: nowrap;
    }

    .shop-cart .table-list-eb {
        display: none !important;
    }

    .shop-cart .shop-cart-li-wrap {
        display: block !important;
    }

    .shop-cart .shop-cart-li-wrap .shop-cart-li,
    .shop-order-form .sod-li {
        border: 1px solid #ddd !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .shop-cart .shop-cart-total {
        border: 1px solid #111 !important;
        background: #fff !important;
    }

    .shop-cart .shop-cart-total .cart-total-box {
        height: auto !important;
        min-height: 86px;
        padding: 16px 5px !important;
    }

    .cart-act-btn,
    .order-act-btn,
    .order-payment-btn {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cart-act-btn .btn-e,
    .order-act-btn .btn-e,
    .order-payment-btn .btn-e,
    #forderform button[type="submit"] {
        width: 100% !important;
        min-height: 52px;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .shop-order-form .order-payment-info,
    .shop-order-form .order-payment-total,
    .shop-order-form .order-address {
        width: 100% !important;
        max-width: 100% !important;
    }

    .shop-order-form input[type="text"],
    .shop-order-form input[type="tel"],
    .shop-order-form input[type="email"],
    .shop-order-form select {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Login, agreements, join form, my page */
    .eb-login .login-content,
    .eb-login .login-box,
    .eb-login .login-box-in,
    .member-skin,
    .register-form {
        width: 100% !important;
        max-width: 550px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .eb-login {
        padding: 24px 14px 54px !important;
    }

    .eb-login .login-form,
    .eb-login .login-box-in {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .eb-login .login-btn .btn-e {
        min-height: 52px;
        border-radius: 0 !important;
        background: #171717 !important;
    }

    .member-skin.contents-box-inner {
        padding: 22px 14px 50px !important;
    }

    .member-skin .content-box,
    .member-skin .member-box,
    .register-form .register-box {
        width: 100% !important;
        max-width: 100% !important;
    }

    .register-form .row {
        display: block !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .register-form .row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .register-form .note {
        white-space: normal;
        word-break: keep-all;
    }

    .shop-mypage .row,
    .shop-mypage [class*="col-"] {
        max-width: 100% !important;
    }
}

@media (min-width: 992px) {
    .pds-mobile-bottom-nav {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .partsds-footer-talk {
        top: auto !important;
        right: 10px !important;
        bottom: 134px !important;
        width: 64px !important;
        min-width: 64px !important;
        height: 64px !important;
        min-height: 64px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 767px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .header-title > .container {
        min-height: 64px;
    }

    .header-title .site-logo {
        max-width: 118px;
    }

    .header-title-mobile-btn {
        right: auto !important;
        gap: 0;
    }

    .header-title-mobile-btn .navbar-toggler {
        width: 40px;
        height: 40px;
        font-size: 21px;
        line-height: 40px;
        left: 4px;
    }

    .header-title-mobile-btn .mobile-search-btn {
        left: auto;
        right: 4px;
    }

    .partsds-brand-section .container {
        padding-left: 0;
        padding-right: 0;
    }

    .partsds-brand-section .pds-car-search-box {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .partsds-brand-section .pds-select,
    .partsds-brand-section .pds-search-btn {
        min-height: 68px !important;
        border-radius: 8px !important;
    }

    .partsds-brand-section .pds-select {
        border-width: 2px !important;
    }

    .pds-sale-slide {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .pds-sale-card strong {
        white-space: normal;
        word-break: keep-all;
    }

    .product-list-10 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .pg-anchor-in .nav-tabs {
        max-width: 100%;
    }

    .pg-anchor-in .nav-tabs li {
        max-width: none;
    }

    .partsds-item-tabbar .pg-anchor-in {
        overflow: hidden;
    }

    .partsds-item-tabbar .pg-anchor-in .nav-tabs {
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
    }

    .partsds-item-tabbar .pg-anchor-in .nav-tabs > li {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
    }

    .partsds-item-tabbar .pg-anchor-in .nav-tabs > li > a {
        display: flex !important;
        min-height: 52px;
        align-items: center;
        justify-content: center;
        white-space: normal;
        word-break: keep-all;
        line-height: 1.25;
    }
}

@media (max-width: 420px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .ebs-shop-basic-wrap-1526428620 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .pds-brand-carousel-wrap {
        grid-template-columns: 30px minmax(0, 1fr) 30px !important;
        gap: 4px !important;
    }

    .partsds-brand-section .pds-brand-item {
        flex-basis: 88px !important;
        width: 88px !important;
    }

    .partsds-brand-section .pds-brand-item img {
        max-width: 88px !important;
    }

    .pds-sale-card {
        min-height: 208px;
    }

    .product-list-10 {
        gap: 26px 10px !important;
        padding: 0 6px !important;
    }

    .product-list-10 .item-list {
        min-height: 370px !important;
        padding: 10px !important;
    }

    .product-list-10 .product-title-bar {
        height: 30px !important;
        margin-bottom: 12px !important;
        padding: 5px 7px !important;
        font-size: 13px !important;
    }

    .product-list-10 .product-img,
    .product-list-10 .product-img-in {
        min-height: 150px !important;
        height: 150px !important;
        margin-bottom: 14px !important;
    }

    .product-list-10 .product-img-in img {
        width: 92% !important;
        max-width: 92% !important;
        height: 100% !important;
        max-height: 150px !important;
        object-fit: contain !important;
    }

    .product-list-10 .product-name {
        min-height: 63px !important;
        max-height: 63px !important;
        font-size: 15px !important;
        line-height: 1.4 !important;
    }

    .product-list-10 .product-meta {
        min-height: 38px !important;
        margin-bottom: 12px !important;
        font-size: 12px !important;
    }

    .product-list-10 .product-price {
        font-size: 14px !important;
    }

    .product-list-10 .pds-cart-btn {
        height: 42px !important;
        font-size: 15px !important;
    }

    .pds-parts-title {
        display: none !important;
        margin-bottom: 0 !important;
        color: #111 !important;
        font-size: 21px !important;
        font-weight: 900 !important;
    }

    .pds-parts-notice {
        margin-top: 20px !important;
        padding: 0 12px;
        color: #1558ff !important;
        font-size: 12px !important;
        line-height: 1.7 !important;
        word-break: keep-all;
    }

    .pds-parts-section {
        margin-top: 4px !important;
    }

    .pds-parts-slider-controls {
        margin-top: 12px !important;
    }

    .pds-search-result-head {
        margin-top: 20px !important;
        padding-top: 18px !important;
    }

    .partsds-footer-talk {
        top: auto !important;
        right: 10px !important;
        bottom: 134px !important;
        width: 56px !important;
        min-width: 56px !important;
        height: 56px !important;
        min-height: 56px !important;
        gap: 2px !important;
        font-size: 10px !important;
    }

    .shop-product h2,
    .shop-product .product-title {
        font-size: 20px !important;
    }

    #sit_ov_btn {
        grid-template-columns: 1fr 1fr;
    }

    #sit_btn_buy {
        grid-column: 1 / -1;
    }

    .shop-cart .shop-cart-li-wrap .li-item-wrap {
        padding-left: 92px !important;
    }

    .shop-cart .shop-cart-li-wrap .li-item-img {
        width: 64px !important;
        height: 64px !important;
    }
}

@media (max-width: 767px) {
    .pds-parts-title {
        display: none !important;
    }

    .pds-parts-section {
        margin-top: 4px !important;
    }

    .pds-parts-notice {
        margin-top: 20px !important;
        padding: 0 12px;
        color: #1558ff !important;
        font-size: 12px !important;
        line-height: 1.7 !important;
        word-break: keep-all;
    }

    .pds-parts-slider-controls {
        margin-top: 12px !important;
    }

    .product-list-10 .product-img-in img {
        width: 95% !important;
        max-width: 95% !important;
        height: 95% !important;
        max-height: 95% !important;
        display: block !important;
        object-fit: contain !important;
        border-radius: 0 !important;
        transform: none !important;
    }

    .product-list-10 .item-list:hover .product-img-in img {
        transform: none !important;
    }

    .product-list-10 .product-img,
    .product-list-10 .product-img-in {
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
    }

    /* 상품 상세 수량 선택: 기존몰과 동일한 한 줄형 정렬 */
    .shop-product-form #sit_opt_added {
        margin: 0 !important;
        border-top: 1px solid #e5e5e5 !important;
        border-bottom: 1px solid #e5e5e5 !important;
        background: #fff !important;
    }

    .shop-product-form #sit_opt_added .sit_opt_list {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 10px !important;
        min-height: 62px !important;
        padding: 15px 0 !important;
        border: 0 !important;
        background: #fff !important;
    }

    .shop-product-form #sit_opt_added .opt_name {
        min-width: 0 !important;
        width: auto !important;
        line-height: 1.35 !important;
    }

    .shop-product-form #sit_opt_added .sit_opt_subj {
        display: block !important;
        overflow: hidden !important;
        color: #222 !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }

    .shop-product-form #sit_opt_added .opt_count {
        position: static !important;
        display: flex !important;
        width: auto !important;
        min-width: 103px !important;
        height: 30px !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin: 0 !important;
    }

    .shop-product-form #sit_opt_added .sit_qty_minus,
    .shop-product-form #sit_opt_added .sit_qty_plus {
        flex: 0 0 30px !important;
        width: 30px !important;
        min-width: 30px !important;
        height: 30px !important;
        min-height: 30px !important;
        padding: 0 !important;
        border: 1px solid #ddd !important;
        border-radius: 0 !important;
        background: #fff !important;
        color: #333 !important;
        line-height: 28px !important;
    }

    .shop-product-form #sit_opt_added .num_input {
        flex: 0 0 44px !important;
        width: 44px !important;
        min-width: 44px !important;
        height: 30px !important;
        min-height: 30px !important;
        margin: 0 -1px !important;
        padding: 0 !important;
        border: 1px solid #ddd !important;
        border-radius: 0 !important;
        background: #fff !important;
        color: #222 !important;
        font-size: 14px !important;
        line-height: 28px !important;
        text-align: center !important;
    }

    .shop-product-form #sit_opt_added .sit_opt_prc {
        width: auto !important;
        min-width: 0 !important;
        margin-left: 10px !important;
        padding: 0 !important;
        color: #222 !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 30px !important;
        white-space: nowrap !important;
    }

    .shop-product-form #sit_tot_price {
        display: flex !important;
        align-items: baseline !important;
        justify-content: space-between !important;
        margin-top: 20px !important;
        padding: 24px 0 !important;
        border-top: 0 !important;
        color: #222 !important;
    }

    .shop-product-form #sit_tot_price span {
        font-size: 15px !important;
        font-weight: 600 !important;
    }

    .shop-product-form #sit_tot_price strong {
        margin-left: auto !important;
        font-size: 24px !important;
        line-height: 1 !important;
    }
}

@media (max-width: 420px) {
    /* 기존몰: 2열 카드 약 142px, 카드 패딩 15px, 이미지 약 110px */
    .product-list-10 {
        gap: 28px 10px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .product-list-10 .item-list {
        min-height: 348px !important;
        padding: 15px !important;
    }

    .product-list-10 .product-title-bar {
        height: 30px !important;
        margin-bottom: 12px !important;
        padding: 5px 7px !important;
    }

    .product-list-10 .product-img,
    .product-list-10 .product-img-in {
        min-height: 0 !important;
        height: auto !important;
        margin-bottom: 14px !important;
        aspect-ratio: 1 / 1 !important;
    }

    /*
     * 목록 스킨 내부의 width/height:auto !important 보다 높은 우선순위로
     * 기존몰과 같은 정사각형 이미지 요소를 만든다.
     */
    body .product-list-10 .product-img-in img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        margin: 0 !important;
        object-fit: contain !important;
        transform: none !important;
    }

    body .product-list-10 .product-name {
        display: block !important;
        min-height: 18px !important;
        height: 18px !important;
        max-height: 18px !important;
        margin: 0 0 10px !important;
        overflow: hidden !important;
        color: #000 !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 18px !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }

    body .product-list-10 .product-name a {
        display: block !important;
        overflow: hidden !important;
        color: #000 !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }
}

/* 기존몰 모바일 차량 선택 영역 */
.pds-car-back {
    display: none;
}

@media (max-width: 767px) {
    body .partsds-brand-section .pds-car-search-box {
        width: 100% !important;
        max-width: 322px !important;
        margin: 0 auto !important;
        padding: 22px 14px 0 !important;
        overflow: visible !important;
        text-align: left !important;
    }

    body .partsds-brand-section .pds-car-back {
        display: inline-flex !important;
        width: 28px !important;
        height: 42px !important;
        min-height: 42px !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin: 0 0 10px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #111 !important;
        font-size: 22px !important;
        line-height: 1 !important;
        box-shadow: none !important;
    }

    body .partsds-brand-section .pds-car-selectors {
        display: flex !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    body .partsds-brand-section .pds-select-wrap,
    body .partsds-brand-section .pds-select {
        width: 100% !important;
        min-width: 0 !important;
    }

    body .partsds-brand-section .pds-select {
        height: 45px !important;
        min-height: 45px !important;
        padding: 0 36px 0 12px !important;
        border: 1px solid #d8d8d8 !important;
        border-radius: 6px !important;
        background-color: #fff !important;
        color: #111 !important;
        font-size: 14px !important;
        line-height: 43px !important;
    }

    body .partsds-brand-section .pds-search-btn {
        align-self: center !important;
        width: 92px !important;
        min-width: 92px !important;
        height: 38px !important;
        min-height: 38px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 5px !important;
        background: #171717 !important;
        color: transparent !important;
        font-size: 0 !important;
        line-height: 38px !important;
        text-align: center !important;
        box-shadow: none !important;
    }

    body .partsds-brand-section .pds-search-btn::after {
        content: "차량 검색";
        color: #fff;
        font-size: 14px;
        font-weight: 700;
    }

    body .partsds-brand-section .pds-part-number-search {
        width: 100% !important;
        max-width: none !important;
        margin: 34px auto 0 !important;
        padding: 0 !important;
    }
}

/* 실제 상품목록 상단에서 사용하는 차량 검색 위젯 */
.pds-vehicle-back {
    display: none;
}

@media (max-width: 767px) {
    body .pds-home-widget .pds-vehicle-form {
        width: 100% !important;
        align-items: stretch !important;
        gap: 34px !important;
        margin-top: 0 !important;
    }

    body .pds-home-widget .pds-vehicle-panel {
        width: 100% !important;
        max-width: 322px !important;
        margin: 0 auto !important;
        padding: 22px 14px 0 !important;
        overflow: visible !important;
    }

    body .pds-home-widget .pds-vehicle-back {
        display: inline-flex !important;
        width: 28px !important;
        height: 42px !important;
        min-height: 42px !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin: 0 0 10px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #111 !important;
        font-size: 22px !important;
        line-height: 1 !important;
        box-shadow: none !important;
    }

    body .pds-home-widget .pds-vehicle-row {
        display: flex !important;
        width: 100% !important;
        max-width: none !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    body .pds-home-widget .pds-vehicle-row select {
        width: 100% !important;
        min-width: 0 !important;
        height: 45px !important;
        min-height: 45px !important;
        padding: 0 36px 0 12px !important;
        border: 1px solid #d8d8d8 !important;
        border-radius: 6px !important;
        background-color: #fff !important;
        color: #111 !important;
        font-size: 14px !important;
        line-height: 43px !important;
    }

    body .pds-home-widget .pds-vehicle-row button[type="submit"] {
        align-self: center !important;
        width: 92px !important;
        min-width: 92px !important;
        height: 38px !important;
        min-height: 38px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 5px !important;
        background: #171717 !important;
        color: transparent !important;
        font-size: 0 !important;
        line-height: 38px !important;
        text-align: center !important;
        box-shadow: none !important;
    }

    body .pds-home-widget .pds-vehicle-row button[type="submit"]::after {
        content: "차량 검색";
        color: #fff;
        font-size: 14px;
        font-weight: 700;
    }

    body .pds-home-widget .pds-oem-row {
        width: calc(100% - 28px) !important;
        max-width: 294px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    body .pds-home-widget .pds-oem-row input,
    body .pds-home-widget .pds-oem-row button {
        height: 45px !important;
        min-height: 45px !important;
    }
}
/* Parts DS mobile customer-center boards */
.pds-mobile-board-heading,
.pds-board-mobile-menu {
    display: none;
}

@media (max-width: 991px) {
    body:has(.pds-mobile-board-heading) .page-header-wrap {
        background: #fff;
    }

    body:has(.pds-mobile-board-heading) .page-header-wrap .top-header,
    body:has(.pds-mobile-board-heading) .page-header-wrap .nav-wrap {
        background: #fff;
    }

    body:has(.pds-mobile-board-heading) .page-header-wrap + .basic-body .sub-page-title,
    body:has(.pds-mobile-board-heading) .page-header-wrap + .basic-body .page-title-wrap {
        display: none !important;
    }

    body:has(.pds-mobile-board-heading) .page-title-wrap {
        display: none !important;
    }

    .pds-mobile-board-heading {
        position: relative;
        display: block;
        margin: 0 0 18px;
        padding: 25px 12px 20px;
        border-bottom: 2px solid #202020;
        text-align: center;
    }

    .pds-mobile-board-heading .pds-mobile-board-back {
        position: absolute;
        top: 28px;
        left: 2px;
        width: 32px;
        height: 32px;
        color: #111;
        font-size: 20px;
        line-height: 32px;
        text-align: left;
    }

    .pds-mobile-board-heading h2 {
        margin: 0 0 24px;
        color: #444;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.3;
    }

    .pds-mobile-board-heading p {
        margin: 0;
        color: #777;
        font-size: 14px;
        line-height: 1.5;
    }

    .board-list {
        font-size: 14px;
    }

    .board-list .board-info,
    .board-list > .m-b-10,
    .board-list .bl-head,
    .board-list .bl-list .bl-num-checkbox,
    .board-list form > .m-t-10 {
        display: none !important;
    }

    .board-list .bl-wrap {
        border: 0;
    }

    .board-list .bl-list {
        display: block;
        min-height: 0;
        padding: 25px 8px 7px;
        border-bottom: 0;
        background: #fff !important;
    }

    .board-list .bl-list .bl-subj {
        display: block !important;
        width: 100%;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.45;
        text-align: left;
    }

    .board-list .bl-list .bl-subj a {
        display: block;
        padding: 0;
        color: #555;
    }

    .board-list .bl-list .bl-subj .bl-new-icon {
        display: none;
    }

    .board-list .bl-mobile {
        display: flex;
        align-items: center;
        min-height: 34px;
        margin: 0 8px;
        padding: 0 0 23px;
        border-bottom: 1px solid #e3e3e3;
        background: #fff !important;
        color: #777;
        font-size: 12px;
    }

    .board-list .bl-mobile .bl-name-in {
        overflow: hidden;
        max-width: 42%;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .board-list .bl-mobile .bl-photo,
    .board-list .bl-mobile .bl-lv-icon {
        display: none !important;
    }

    .board-list .bl-mobile-right {
        position: static;
        display: flex;
        gap: 10px;
        margin-left: auto;
        font-size: 11px;
        white-space: nowrap;
    }

    .board-list .pds-mobile-board-hit {
        margin-left: 0;
    }

    .board-list .bl-mobile-right i {
        display: none;
    }

    .board-list .bl-no-list {
        padding: 55px 0;
        border-bottom: 1px solid #e3e3e3;
    }

    .board-list + .pg_wrap,
    .board-list ~ .pg_wrap {
        margin-top: 22px;
    }

    .pds-faq-wrap .text-end,
    .pds-faq-wrap .tab-scroll-category,
    .pds-faq-wrap .faq-search-form {
        display: none !important;
    }

    .pds-faq-wrap .panel-group {
        margin: 0;
        border: 0;
    }

    .pds-faq-wrap .panel {
        margin: 0;
        border: 0;
        border-bottom: 1px solid #e3e3e3;
        border-radius: 0;
        box-shadow: none;
    }

    .pds-faq-wrap .panel-heading {
        padding: 0;
        background: #fff;
    }

    .pds-faq-wrap .panel-title a {
        display: block;
        padding: 25px 8px 8px;
        color: #555;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.45;
    }

    .pds-faq-wrap .panel-title a::after {
        display: block;
        margin-top: 8px;
        color: #777;
        font-size: 12px;
        font-weight: 400;
        content: "관리자   조회";
    }

    .pds-faq-wrap .panel-body {
        padding: 15px 8px 22px;
        background: #fafafa;
        color: #555;
        font-size: 13px;
        line-height: 1.7;
    }

    body:has(.pds-mobile-board-heading) #offcanvasLeft .offcanvas-title {
        visibility: hidden;
    }

    body:has(.pds-mobile-board-heading) #offcanvasLeft .sidebar-member-menu,
    body:has(.pds-mobile-board-heading) #offcanvasLeft > .sidebar-left-content > .navbar-nav {
        display: none !important;
    }

    .pds-board-mobile-menu {
        display: block;
        padding: 0 15px;
    }

    .pds-board-menu-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 58px;
        margin-top: -48px;
        pointer-events: none;
    }

    .pds-board-menu-logo img {
        width: 112px;
        max-height: 44px;
        object-fit: contain;
    }

    .pds-board-menu-quick {
        display: flex;
        gap: 8px;
        margin: 22px 0 15px;
    }

    .pds-board-menu-quick a {
        flex: 1 1 0;
        padding: 10px 4px;
        border-radius: 3px;
        background: #2d2d30;
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        text-align: center;
    }

    .pds-board-mobile-menu nav {
        margin: 0 -15px;
        border-top: 44px solid #2d2d30;
    }

    .pds-board-mobile-menu nav a {
        display: block;
        padding: 15px 16px;
        border-bottom: 1px solid #ddd;
        background: #fff;
        color: #222;
        font-size: 14px;
    }

    .pds-board-mobile-menu nav a:first-child {
        margin-top: -44px;
        border-bottom: 0;
        background: #2d2d30;
        color: #fff;
        font-weight: 700;
    }
}
/* Parts DS mobile brand selector parity */
@media (max-width: 767px) {
    body .partsds-brand-section {
        padding-top: 37px !important;
        padding-bottom: 56px !important;
    }
    body .partsds-brand-section .pds-brand-header h2 {
        font-size: 20px !important;
        letter-spacing: 0 !important;
    }
    body .partsds-brand-section .pds-brand-header p {
        margin-top: 6px !important;
        font-size: 13px !important;
    }
    body .partsds-brand-section .pds-brand-carousel-wrap {
        display: block !important;
        width: 100% !important;
        margin: 25px auto 40px !important;
    }
    body .partsds-brand-section .pds-carousel-btn {
        display: none !important;
    }
    body .partsds-brand-section .pds-brand-carousel-viewport {
        width: 100% !important;
    }
    body .partsds-brand-section .pds-car-search-box {
        width: 100% !important;
        max-width: 322px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        overflow: visible !important;
        text-align: left !important;
    }
    body .partsds-brand-section .pds-car-back {
        display: none !important;
    }
    body .partsds-brand-section .pds-car-selectors {
        display: flex !important;
        width: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        margin: 0 !important;
    }
    body .partsds-brand-section .pds-select-wrap,
    body .partsds-brand-section .pds-select {
        width: 100% !important;
        min-width: 0 !important;
    }
    body .partsds-brand-section .pds-select {
        height: 68px !important;
        min-height: 68px !important;
        padding: 0 48px 0 16px !important;
        border: 2px solid #d1d1d1 !important;
        border-radius: 8px !important;
        background-color: #fff !important;
        color: #111 !important;
        font-size: 16px !important;
        line-height: 64px !important;
    }
    body .partsds-brand-section .pds-search-btn {
        align-self: stretch !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 45px !important;
        min-height: 45px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 8px !important;
        background: #0d7ff2 !important;
        color: transparent !important;
        font-size: 0 !important;
        line-height: 45px !important;
        text-align: center !important;
        box-shadow: none !important;
    }
    body .partsds-brand-section .pds-search-btn::after {
        content: "검색" !important;
        color: #fff !important;
        font-size: 16px !important;
        font-weight: 700 !important;
    }
    body .partsds-brand-section .pds-part-number-search {
        width: 100% !important;
        max-width: 322px !important;
        margin: 46px auto 0 !important;
        padding: 0 !important;
    }
}
