/* 여기에 작업 또는 수정할 당신의 css style을 설정하세요. (customizations) */

@media (min-width: 992px) {
    .wrapper {
        overflow: visible;
    }

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

    .header-wrap.pds-title-fixed .header-title {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1040;
        background: #fff;
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    }

    .pds-header-title-spacer {
        display: none;
        height: var(--pds-header-title-height, 100px);
    }

    .header-wrap.pds-title-fixed .pds-header-title-spacer {
        display: block;
    }

    .header-wrap > .top-header > .container,
    .header-wrap > .header-title > .container,
    .header-wrap > .nav-wrap > .container {
        width: min(1660px, calc(100vw - 48px));
        max-width: 1660px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .header-wrap > .nav-wrap {
        display: none;
    }

    .header-title .container {
        height: 100px;
        align-items: center;
    }

    .header-title .title-logo {
        display: inline-flex;
        align-items: center;
    }

    .header-title .title-logo img {
        width: auto;
        height: 60px;
    }

    .header-title .header-title-search {
        top: 29px;
    }

    .header-title .header-title-btn {
        top: 35px;
    }

    .header-title .pds-header-icons {
        display: flex;
        align-items: center;
        gap: 24px;
        height: 32px;
        right: 18px;
    }

    .header-title .pds-header-icon {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 32px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #000;
        line-height: 1;
        cursor: pointer;
    }

    .header-title .pds-header-icon svg {
        display: block;
        width: 27px;
        height: 27px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.65;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .header-title .pds-header-icon:hover {
        color: #111;
        opacity: .72;
    }

    .header-title .pds-cart-count {
        position: absolute;
        top: -3px;
        right: -9px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 999px;
        background: #1d1d26;
        color: #fff;
        font-size: 10px;
        line-height: 16px;
        text-align: center;
    }
}

/* PartsDS: front sidebars are disabled, so reclaim the side column space. */
.basic-body .main-wrap {
    margin-left: 0;
    margin-right: 0;
}

.basic-body .basic-body-main,
.basic-body .basic-body-main.left-main,
.basic-body .basic-body-main.right-main {
    float: none;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.basic-body .basic-body-side {
    display: none !important;
}

.page-body > .container {
    max-width: 1320px;
}

.page-body .main-contents,
.page-body .board-contents,
.page-body .faq-contents,
.page-body .content-contents {
    width: 100%;
}

.page-body .ctt,
.page-body #faq_wrap,
.page-body #bo_list,
.page-body #bo_v,
.page-body #new_sch,
.page-body #new_list {
    max-width: 100%;
}

.pds-manufacturer-section {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 92px 48px 74px;
    background: #fff;
    text-align: center;
}

.footer {
    display: none !important;
}

.partsds-site-footer {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 78px 0 74px;
    background: #f5f5f5;
    color: #111;
    font-size: 13px;
    line-height: 1.7;
}

.partsds-footer-inner {
    width: min(1720px, calc(100% - 128px));
    margin: 0 auto;
}

.partsds-footer-logo img {
    display: block;
    width: 195px;
    height: auto;
    margin-bottom: 58px;
}

.partsds-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 560px;
    gap: 96px;
}

.partsds-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
    margin-bottom: 34px;
}

.partsds-footer-links a,
.partsds-site-footer a {
    color: #111;
    text-decoration: none;
}

.partsds-footer-links a:hover,
.partsds-site-footer a:hover {
    color: #007bff;
}

.partsds-site-footer h3 {
    margin: 0 0 22px;
    color: #111;
    font-size: 14px;
    font-weight: 800;
}

.partsds-site-footer h4 {
    margin: 20px 0 4px;
    color: #111;
    font-size: 13px;
    font-weight: 800;
}

.partsds-site-footer p {
    margin: 0 0 7px;
}

.partsds-site-footer strong {
    margin-right: 7px;
    font-weight: 800;
}

.partsds-footer-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.pds-vehicle-row {
    grid-template-columns: max-content max-content max-content max-content !important;
    justify-content: center !important;
    width: auto !important;
    max-width: none !important;
    overflow-x: auto;
}

.pds-vehicle-row select,
.partsds-brand-section .pds-select {
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    white-space: nowrap !important;
}

.partsds-brand-section .pds-car-search-box {
    max-width: none !important;
}

.partsds-brand-section .pds-car-selectors {
    display: grid !important;
    grid-template-columns: max-content max-content max-content max-content !important;
    justify-content: center !important;
    width: auto !important;
    max-width: none !important;
    overflow-x: auto;
}

.partsds-brand-section .pds-select-wrap {
    width: auto !important;
    min-width: 0 !important;
}

@media (max-width: 991px) {
    .partsds-footer-inner {
        width: min(100% - 40px, 720px);
    }

    .partsds-footer-grid,
    .partsds-footer-side {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .partsds-footer-logo img {
        margin-bottom: 36px;
    }
}

@media (max-width: 767px) {
    .partsds-site-footer {
        padding: 52px 0;
    }

    .partsds-footer-inner {
        width: calc(100% - 32px);
    }

    .partsds-footer-links {
        gap: 8px 16px;
        margin-bottom: 28px;
    }

    .pds-vehicle-row,
    .partsds-brand-section .pds-car-selectors {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        overflow-x: visible;
    }

    .pds-vehicle-row select,
    .pds-vehicle-row button,
    .partsds-brand-section .pds-select,
    .partsds-brand-section .pds-search-btn {
        width: 100% !important;
        min-width: 0 !important;
    }
}

.pds-manufacturer-section h2 {
    margin: 0 0 34px;
    color: #000;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
}

.pds-manufacturer-slider {
    position: relative;
    max-width: 1420px;
    margin: 0 auto;
}

.pds-manufacturer-slider-mobile {
    display: none;
}

.pds-manufacturer-viewport {
    overflow: hidden;
}

.pds-manufacturer-track {
    display: flex;
    transition: transform .42s ease;
}

.pds-manufacturer-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 48px 36px;
    align-items: center;
}

.pds-manufacturer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 74px;
}

.pds-manufacturer-logo img {
    display: block;
    max-width: 100%;
    max-height: 74px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.pds-manufacturer-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 48px;
    margin-top: -24px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 58px;
    font-weight: 300;
    line-height: 42px;
    text-align: center;
    outline: 0;
}

.pds-manufacturer-arrow:hover,
.pds-manufacturer-arrow:focus {
    color: #000;
}

.pds-manufacturer-prev {
    left: -8px;
}

.pds-manufacturer-next {
    right: -8px;
}

@media (max-width: 1199px) {
    .pds-manufacturer-section {
        padding-left: 34px;
        padding-right: 34px;
    }

    .pds-manufacturer-slide {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 38px 28px;
    }
}

@media (max-width: 767px) {
    .pds-manufacturer-section {
        padding: 68px 24px 54px;
    }

    .pds-manufacturer-section h2 {
        margin-bottom: 24px;
        font-size: 22px;
    }

    .pds-manufacturer-slide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px 18px;
    }

    .pds-manufacturer-logo {
        height: 58px;
    }

    .pds-manufacturer-logo img {
        max-height: 58px;
    }

    .pds-manufacturer-arrow {
        width: 28px;
        height: 38px;
        margin-top: -19px;
        font-size: 38px;
        line-height: 34px;
    }

    .pds-manufacturer-prev {
        left: -12px;
    }

    .pds-manufacturer-next {
        right: -12px;
    }
}

/* Parts DS footer v2 */
.partsds-footer-brand-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.partsds-footer-logo {
    display: inline-flex;
    align-items: center;
}

.partsds-footer-logo img {
    width: 150px;
    margin: 0;
}

.partsds-footer-talk {
    position: fixed;
    top: auto;
    right: 10px;
    bottom: 73px;
    z-index: 4700;
    display: inline-flex;
    width: 80px;
    min-width: 80px;
    height: 80px;
    min-height: 80px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 12px;
    background: #f6d500;
    color: #111 !important;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 5px 14px rgba(0,0,0,.12);
    transform: none;
    transition: margin-top .2s ease, box-shadow .2s ease;
}

.partsds-footer-talk i {
    position: relative;
    display: flex;
    width: 29px;
    height: 21px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2d2115;
    color: #f6d500;
    font-family: Arial, sans-serif !important;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
}

.partsds-footer-talk i::before {
    content: "TALK";
}

.partsds-footer-talk i::after {
    content: "";
    position: absolute;
    right: 2px;
    bottom: -3px;
    width: 7px;
    height: 7px;
    background: #2d2115;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.partsds-footer-talk:hover,
.partsds-footer-talk:focus {
    color: #111 !important;
    margin-top: -2px;
    box-shadow: 0 8px 18px rgba(0,0,0,.16);
}

.partsds-footer-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, .85fr) minmax(230px, .7fr);
    gap: 64px;
}

.partsds-footer-panel dl {
    margin: 0;
}

.partsds-footer-panel dl > div {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
}

.partsds-footer-panel dt {
    flex: 0 0 auto;
    font-weight: 800;
}

.partsds-footer-panel dd {
    min-width: 0;
    margin: 0;
}

.partsds-footer-confirm {
    flex-wrap: wrap;
}

.partsds-footer-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-top: 48px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    color: #aaa;
}

.partsds-footer-sns {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #111;
}

.partsds-footer-sns a {
    color: #aaa;
    font-size: 22px;
}

.partsds-footer-bottom p {
    margin: 0;
    text-align: right;
}

@media (max-width: 991px) {
    .partsds-footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .partsds-footer-panel {
        padding: 30px 0;
        border-top: 1px solid #ddd;
    }

    .partsds-footer-links {
        gap: 8px 14px;
        margin-bottom: 24px;
    }

    .partsds-footer-bottom {
        display: block;
        margin-top: 0;
    }

    .partsds-footer-sns {
        margin-bottom: 24px;
    }

    .partsds-footer-bottom p {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .pds-manufacturer-section {
        padding: 48px 32px 42px;
    }

    .pds-manufacturer-slide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: repeat(4, 62px);
        gap: 18px 14px;
    }

    .pds-manufacturer-slider-desktop {
        display: none;
    }

    .pds-manufacturer-slider-mobile {
        display: block;
    }

    .pds-manufacturer-logo {
        height: 62px;
    }

    .pds-manufacturer-logo img {
        max-width: min(100%, 82px);
        max-height: 58px;
    }

    .partsds-site-footer {
        padding: 30px 0 34px;
    }

    .partsds-footer-inner {
        width: calc(100% - 36px);
    }

    .partsds-footer-brand-row {
        margin-bottom: 26px;
    }

    .partsds-footer-logo img {
        width: 122px;
    }

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

    .partsds-footer-talk i {
        width: 23px;
        height: 17px;
        font-size: 7px;
    }

    .partsds-footer-talk i::after {
        right: 1px;
        bottom: -2px;
        width: 5px;
        height: 5px;
    }

    .partsds-footer-links {
        display: flex;
        overflow: visible;
        white-space: normal;
        font-size: 12px;
        line-height: 1.5;
    }

    .partsds-site-footer h3 {
        margin-bottom: 18px;
        font-size: 17px;
    }

    .partsds-site-footer h4 {
        font-size: 14px;
    }

    .partsds-footer-panel {
        padding: 28px 0;
    }

    .partsds-footer-panel dl > div {
        display: block;
        margin-bottom: 7px;
    }

    .partsds-footer-panel dt,
    .partsds-footer-panel dd {
        display: inline;
    }

    .partsds-footer-panel dt {
        margin-right: 6px;
    }

    .partsds-footer-bottom {
        padding-top: 28px;
    }
}
