.sp-best {
    position: relative;
    padding: clamp(50px, 6vw, 85px) 0 40px;
    background: transparent;
    overflow: hidden;
    box-sizing: border-box;
}

.sp-best__leaf {
    position: absolute;
    top: 40px;
    width: clamp(320px, 35vw, 640px);
    height: auto;
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
}

.sp-best__leaf--l {
    left: 0;
}

.sp-best__leaf--r {
    right: 0;
    transform: scale(-1, -1);
}

.sp-best .main-container {
    position: relative;
    z-index: 2;
}

.sp-best__head {
    width: 100%;
    max-width: 692px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}

.sp-best__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.2;
    color: #141312;
    white-space: nowrap;
}

.sp-best__title svg {
    flex-shrink: 0;
    width: clamp(34px, 3.5vw, 44px);
    height: auto;
}

.sp-best__rule {
    position: relative;
    width: 100%;
    max-width: 692px;
    height: 14px;
    margin-top: 4px;
}

.sp-best__rule::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, rgba(20, 21, 23, 0), rgba(20, 21, 23, 0.45) 50%, rgba(20, 21, 23, 0));
}

.sp-best__rule i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    background: #e85d04;
    transform: translate(-50%, -50%) rotate(45deg);
}

.sp-best__sub {
    font-size: clamp(15px, 1.3vw, 20px);
    font-weight: 400;
    color: #374151;
    line-height: 1.5;
    margin-top: 4px;
}

.sp-best__carousel {
    position: relative;
    margin-top: clamp(20px, 3vw, 36px);
    width: 100%;
    padding: 10px 0 35px 0;
}

.sp-best__swiper {
    position: relative;
    width: 100%;
    padding: 14px 6px 36px 6px !important;
    margin: -14px -6px -36px -6px !important;
    overflow: hidden !important;
    z-index: 1;
}

.sp-best__swiper .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    height: auto !important;
    box-sizing: border-box;
}

.sp-best__swiper .swiper-slide {
    flex-shrink: 0 !important;
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.sp-best__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e85d04;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 16px rgba(232, 93, 4, 0.35);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.sp-best__arrow:hover {
    transform: translateY(-50%) scale(1.1);
    background: #cf4f00;
}

.sp-best__arrow svg {
    width: 22px;
    height: 22px;
}

.sp-best__arrow--prev {
    left: -20px;
}

.sp-best__arrow--next {
    right: -20px;
}

.sp-best__card {
    position: relative;
    width: 100%;
    max-width: 380px;
    min-height: 540px;
    border-radius: 36px;
    background: #ffffff;
    overflow: hidden;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    border: 1px solid #ebe5df;
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.sp-best__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.12);
}

.sp-best__card-link {
    position: absolute;
    inset: 0;
    bottom: 74px;
    z-index: 3;
    display: block;
    cursor: pointer;
}

.sp-best__card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.sp-best__card .sp-best__info {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 28px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.04);
}

.sp-best__card .sp-best__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: nowrap;
}

.sp-best__pname {
    flex: 1;
    min-width: 0;
}

.sp-best__pname h3 {
    font-size: 26px;
    font-weight: 600;
    color: #151922;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-best__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 400;
    color: #2d1e2f;
    margin-top: 3px;
    white-space: nowrap;
}

.sp-best__rating svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.sp-best__price {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.5px;
    color: #c5760d;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.sp-best__size {
    background: #f4f4f4;
    border-radius: 9999px;
    padding: 6px 10px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #1f2937;
    white-space: nowrap;
    flex-shrink: 0;
}

.sp-best__card .sp-best__feats {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    flex-shrink: 0;
    min-width: 0;
}

.sp-best__card .sp-best__feat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 42px;
    padding: 0 2px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    text-align: center;
    flex-shrink: 0;
}

.sp-best__card .sp-best__feat svg {
    width: 17px;
    height: 17px;
    margin-bottom: 2px;
    display: block;
    flex-shrink: 0;
}

.sp-best__card .sp-best__feat b {
    display: block;
    font-size: 8.5px;
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
    color: #374151;
    white-space: nowrap;
}

.sp-best__card .sp-best__feat span {
    display: block;
    font-size: 8.5px;
    line-height: 1.15;
    font-weight: 400;
    color: #4b5563;
    white-space: nowrap;
}

.sp-best__divider {
    width: 1px;
    height: 24px;
    background: #e5e7eb;
    margin: 0 2px;
    flex-shrink: 0;
}

.sp-best__bottom {
    position: relative;
    z-index: 5;
    display: flex;
    gap: 10px;
    align-items: center;
    padding-top: 4px;
}

.sp-best__stepper {
    width: 102px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    user-select: none;
}

.sp-best__stepper button {
    width: 20px;
    height: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    transition: color 0.15s;
}

.sp-best__stepper button:hover {
    color: #e85d04;
}

.sp-best__stepper span.qty {
    font-weight: 600;
    font-size: 15px;
    color: #111827;
}

.sp-best__add-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ba6d11;
    border-radius: 9999px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.sp-best__add-btn:hover {
    background: #a45d09;
    transform: translateY(-1px);
}

.sp-best__add-btn svg {
    width: 17px;
    height: 17px;
}

.sp-best__viewall {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 220px;
    height: 56px;
    margin: clamp(24px, 3.5vw, 40px) auto 0;
    background: transparent;
    border: 1px solid #141312;
    border-radius: 24px;
    font-family: 'Saira Semi Condensed', 'Saira', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #141312;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.sp-best__viewall:hover {
    background: #141312;
    color: #ffffff;
    transform: translateY(-2px);
}

.sp-best__viewall svg {
    transition: filter 0.25s ease;
}

.sp-best__viewall:hover svg path {
    stroke: #ffffff;
}

@media (max-width: 1024px) {
    .sp-best__arrow--prev {
        left: 0;
    }

    .sp-best__arrow--next {
        right: 0;
    }
}

@media (max-width: 768px) {
    .sp-best__leaf {
        display: none;
    }

    .sp-best__arrow {
        width: 40px;
        height: 40px;
    }

    .sp-best__card {
        max-width: 340px;
        min-height: 540px;
    }

    .sp-best__pname h3 {
        font-size: 23px;
    }

    .sp-best__price {
        font-size: 25px;
    }
}