:root {
    --primary: #111111;
    --secondary: #555555;
    --border: #e8e8e8;
    --bg: #ffffff;
    --bg-light: #f8f8f8;
    --text: #111111;
    --text-light: #666666;
    --radius: 12px;
    --shadow: 0 6px 20px rgba(0, 0, 0, .06);
    --transition: .3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: #000;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    outline: none;
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition);
}

input,
select,
textarea {
    outline: none;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    padding: 12px 14px;
    width: 100%;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    border-color: #111;
    box-shadow: none;
}

.container {
    max-width: 1400px;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
}

p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
}

.tf-main-product {
    padding-bottom: 30px;
    background: #fff;
}

.border-radius {
    border-radius: var(--radius);
}

.shadow-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f4f4f4;
}

::-webkit-scrollbar-thumb {
    background: #bdbdbd;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #888;
}

::selection {
    background: #111;
    color: #fff;
}


/*==========================================
PRODUCT GALLERY
==========================================*/

.tf-product-media-wrap {
    position: sticky;
    top: 90px;
}

.product-gallery {
    position: relative;
    display: flex;
    gap: 18px;
    width: 100%;
}

.gallery-badge {
    position: absolute;
    top: 15px;
    left: 90px;
    z-index: 20;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 30px;
}

.gallery-counter {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 20;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 7px 15px;
    font-size: 13px;
    font-weight: 600;
}

.thumbsSwiper {
    width: 90px;
    height: 650px;
    flex-shrink: 0;
    overflow: hidden;
}

.thumbsSwiper .swiper-wrapper {
    height: 100%;
}

.thumb-slide {
    height: 90px !important;
    border: 2px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: .3s;
    background: #fff;
}

.thumb-slide img,
.thumb-slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

.thumb-slide.swiper-slide-thumb-active {
    border-color: #111;
}

.thumb-slide:hover {
    border-color: #111;
}

.mainSwiper {
    flex: 1;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #f7f7f7;
}

.main-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f8f8;
}

.main-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: .35s;
    cursor: zoom-in;
}

.main-slide:hover img {
    transform: scale(1.05);
}

.main-slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: .3s;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
}

.gallery-prev {
    left: 115px;
}

.gallery-next {
    right: 15px;
}

.gallery-prev i,
.gallery-next i {
    font-size: 22px;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: #111;
    color: #fff;
}

.gallery-fullscreen {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: .3s;
}

.gallery-fullscreen i {
    font-size: 22px;
}

.gallery-fullscreen:hover {
    background: #111;
    color: #fff;
}

@media(max-width:1399px) {
    .thumbsSwiper {
        height: 600px;
    }
}

@media(max-width:1199px) {
    .product-gallery {
        gap: 14px;
    }

    .thumbsSwiper {
        width: 75px;
        height: 520px;
    }

    .thumb-slide {
        height: 75px !important;
    }

    .gallery-prev {
        left: 95px;
    }
}

.floating-actions {
    bottom: 100px;
}

@media(max-width:991px) {
    .tf-product-media-wrap {
        position: relative;
        top: 0;
    }

    .product-gallery {
        flex-direction: column-reverse;
    }

    .mainSwiper {
        width: 100%;
    }

    .thumbsSwiper {
        width: 100%;
        height: 95px;
    }

    .thumbsSwiper .swiper-wrapper {
        flex-direction: row;
    }

    .thumb-slide {
        width: 85px !important;
        height: 85px !important;
    }

    .gallery-badge {
        left: 15px;
    }

    .gallery-prev,
    .gallery-next {
        display: none;
    }

    .sticky-actions {
        display: none !important;
    }

    .floating-actions {
        bottom: 175px;
    }
}

@media(max-width:767px) {
    .mainSwiper {
        border-radius: 12px;
    }

    .thumbsSwiper {
        height: 78px;
    }

    .thumb-slide {
        width: 70px !important;
        height: 70px !important;
        border-radius: 10px;
    }

    .gallery-counter {
        font-size: 12px;
        padding: 6px 12px;
    }

    .gallery-fullscreen {
        width: 40px;
        height: 40px;
    }

    .gallery-fullscreen i {
        font-size: 18px;
    }
}

@media(max-width:575px) {
    .thumbsSwiper {
        height: 70px;
    }

    .thumb-slide {
        width: 62px !important;
        height: 62px !important;
    }
}

.tf-product-info-wrap {
    padding-left: 35px;
    position: relative;
}

.tf-product-info-list {
    width: 100%;
}

.tf-product-info-heading {
    margin-bottom: 10px;
}

.tf-product-info-name .name {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #111;
    margin-bottom: 6px;
}

.price-on-sale {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 600;
    line-height: 26px;
    color: #111;
    margin-bottom: 8px;
}

.strike-price {
    font-size: 22px;
    font-weight: 500;
    color: #999;
    padding-left: 10px;
}

.strike-price strike {
    color: #999;
}

.coupon-wrapper {
    padding: 14px 0 0px;
}

.coupon-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    margin-bottom: 0px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.coupon-card:hover {
    border-color: #111;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    transform: translateY(-1px);
}

.coupon-left {
    flex: 1;
    min-width: 0;
}

.coupon-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.coupon-title {
    margin-left: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    line-height: 1.45;
}

.coupon-card:first-child .coupon-title {
    font-size: 15px;
}

.coupon-desc {
    margin-top: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 13px;
    color: #555;
}

.coupon-desc b {
    color: #111;
    font-weight: 700;
}

.copy-code {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background: #f5f5f5;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-code i {
    font-size: 12px;
}

.copy-code:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.coupon-condition {
    margin-top: 7px;
    font-size: 12px;
    color: #777;
    line-height: 1.5;
}

.coupon-tnc {
    margin-left: auto;
    padding-top: 2px;
    color: #111;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.coupon-wrapper>.coupon-card:first-child {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-color: #111;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.coupon-wrapper>.coupon-card:first-child::before {
    content: "BEST OFFER";
    position: absolute;
    top: -9px;
    left: 14px;
    padding: 3px 8px;
    background: #111;
    color: #fff;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.coupon-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 0px;
    padding: 9px 2px;
    background: transparent;
    border: 0;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.coupon-toggle .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border: 1px solid #ddd;
    border-radius: 50%;
    transition: transform 0.25s ease;
}

.coupon-toggle:hover {
    color: #111;
}

.coupon-toggle:hover .arrow {
    border-color: #111;
}

.coupon-list {
    display: none;
    border-top: 1px solid #eee;
}

.coupon-list .coupon-card {
    margin: 10px 0 !important;
}

@media (max-width: 767px) {
    .coupon-wrapper {
        padding-top: 12px;
    }

    .coupon-card {
        padding: 14px;
        border-radius: 12px;
        gap: 10px;
    }

    .coupon-icon {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        font-size: 14px;
    }

    .coupon-title {
        font-size: 13px;
    }

    .coupon-card:first-child .coupon-title {
        font-size: 14px;
    }

    .coupon-desc {
        margin-top: 8px;
        font-size: 12px;
        gap: 6px;
    }

    .copy-code {
        padding: 3px 7px;
        font-size: 11px;
    }

    .coupon-condition {
        font-size: 11px;
    }

    .coupon-tnc {
        font-size: 10px;
    }

    .coupon-wrapper>.coupon-card:first-child::before {
        font-size: 8px;
        top: -8px;
    }
}

.live-view,
.limited-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    margin-bottom: 2px;
}

.live-view {
    color: #666;
}

.limited-stock {
    color: #d32f2f;
    font-weight: 600;
}

.deal-timer {
    margin-top: 10px;
    padding: 16px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 12px;
}

.deal-title {
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.timer-box {
    display: flex;
    align-items: center;
    margin-top: 12px;
    gap: 8px;
}

.time {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border-radius: 12px;
    padding: 5px 10px;
}

.time span {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.time small {
    font-size: 11px;
    color: #ddd;
    text-transform: uppercase;
    padding-left: 5px;
}

.customer-review-section {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 30px;
}

.customer-review-section h3 {
    margin: 0 0 20px !important;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #111;
}


/* =========================================================
   REVIEW SUMMARY
========================================================= */

.review-summary {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;

    width: 100%;
    min-height: 118px;

    margin: 0 0 12px !important;
    padding: 16px 22px;

    gap: 0;

    background: #fff;
    border: 1px solid #dedede;
    border-radius: 9px;

    box-sizing: border-box;
}

.avg-rating {
    width: 135px;
    min-width: 135px;

    height: 82px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin: 0 !important;
    padding: 0 20px 0 0;

    text-align: center;

    border-right: 1px solid #e2e2e2;
    border-bottom: 0;

    box-sizing: border-box;
}

.avg-rating h1 {
    margin: 0 0 4px !important;

    font-size: 34px !important;
    line-height: 1;

    font-weight: 700;

    color: #111;
}

.avg-rating .stars {
    margin: 0;

    font-size: 16px;
    line-height: 1;

    letter-spacing: 0;
}

.avg-rating p {
    margin: 4px 0 0 !important;

    font-size: 10px;
    line-height: 1;

    color: #777;
}

.rating-bars {
    flex: 1 1 auto;

    width: auto;
    max-width: none;

    margin: 0;
    padding: 0 0 0 28px;

    box-sizing: border-box;
}

.rating-row {
    display: flex;
    align-items: center;

    width: 100%;
    height: 20px;

    margin: 0 0 7px;
    padding: 0;
}

.rating-row:last-child {
    margin-bottom: 0;
}

.rating-row > span:first-child {
    flex: 0 0 34px;

    width: 34px;
    min-width: 34px;

    margin: 0;

    font-size: 11px;
    font-weight: 600;

    color: #111;
}

.rating-row .bar {
    flex: 1;

    width: auto;
    height: 6px;

    margin: 0;

    background: #e9e9e9;
    border-radius: 20px;

    overflow: hidden;
}

.rating-row .fill {
    width: 0;
    height: 100%;

    background: #111;
    border-radius: 20px;

    transition: width .35s ease;
}

.rating-row > span:last-child {
    flex: 0 0 25px;

    width: 25px;
    min-width: 25px;

    margin: 0 0 0 10px;

    font-size: 10px;
    line-height: 1;

    text-align: left;

    color: #555;
}

.review-photos-section {
    width: 100%;

    margin: 0 0 20px !important;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
}

.review-photos-title {
    margin: 0 0 10px !important;

    font-size: 14px;
    line-height: 1.3;

    font-weight: 600;

    color: #111;
}

.review-photos-gallery {
    display: flex;
    gap: 8px;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.review-photos-gallery::-webkit-scrollbar {
    display: none;
}

.review-photo-grid-item {
    position: relative;

    flex: 0 0 calc((100% - 32px) / 5);

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 8px;

    background: #f5f5f5;

    cursor: pointer;
}

.review-photo-grid-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .25s ease;
}

.review-photo-grid-item:hover img {
    transform: scale(1.04);
}

.review-filters {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 20px !important;
}

.filter-btn {
    height: 42px;

    padding: 0 18px;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 30px;

    font-size: 14px;
    font-weight: 500;

    color: #111;

    transition: .3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #111;
    border-color: #111;
    color: #fff;
}

.sort-select {
    width: 180px;
    height: 42px;

    padding: 0 15px;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 10px;

    font-size: 14px;
    color: #111;
}

.review-card {
    padding: 24px;

    margin-bottom: 18px;

    background: #fff;

    border: 1px solid #ececec;
    border-radius: 16px;

    transition: .3s;
}

.review-card:hover {
    border-color: #111;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
}

.review-header {
    margin-bottom: 12px;
}

.review-header strong {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

.review-header .small {
    font-size: 13px;
    color: #777;
}

.review-card .stars {
    margin-bottom: 12px;
    font-size: 17px;
}

.review-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.review-photos-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.review-photo {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #ececec;
    transition: .3s;
}

.review-photo:hover {
    transform: scale(1.06);
    border-color: #111;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 12px;

    margin-top: 25px;
}

.page-btn {
    height: 42px;

    padding: 0 20px;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    color: #111;

    transition: .3s;
}

.page-btn:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

#pageNumbers {
    display: flex;
    gap: 8px;
}

#pageNumbers button {
    width: 40px;
    height: 40px;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    transition: .3s;
}

#pageNumbers button:hover,
#pageNumbers button.active {
    background: #111;
    border-color: #111;
    color: #fff;
}

@media (max-width: 991px) {

    .review-summary {
        padding: 15px 18px;
    }

    .avg-rating {
        width: 120px;
        min-width: 120px;
        padding-right: 16px;
    }

    .rating-bars {
        padding-left: 20px;
    }

    .review-photo-grid-item {
        flex: 0 0 calc((100% - 24px) / 4);
    }

    .review-filters {
        gap: 8px;
    }

    .sort-select {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {

    .customer-review-section {
        padding-top: 35px;
        padding-bottom: 20px;
    }

    .customer-review-section h3 {
        font-size: 24px;
        margin-bottom: 16px !important;
    }

    .review-summary {
        display: block !important;
        min-height: auto;
        padding: 14px;
        margin-bottom: 10px !important;
        border-radius: 8px;
    }

    .avg-rating {
        width: 100%;
        min-width: 0;
        height: auto;
        padding: 0 0 11px;
        margin: 0 0 11px !important;
        border-right: 0;
        border-bottom: 1px solid #e5e5e5;
    }

    .avg-rating h1 {
        font-size: 34px !important;
        margin-bottom: 4px !important;
    }

    .avg-rating .stars {
        font-size: 16px;
    }

    .avg-rating p {
        font-size: 10px;
        margin-top: 4px !important;
    }

    .rating-bars {
        width: 100%;
        padding: 0;
    }

    .rating-row {
        height: 21px;
        margin-bottom: 5px;
    }

    .rating-row > span:first-child {
        flex: 0 0 32px;
        width: 32px;
        min-width: 32px;
        font-size: 12px;
    }

    .rating-row .bar {
        height: 6px;
    }

    .rating-row > span:last-child {
        flex: 0 0 22px;
        width: 22px;
        min-width: 22px;
        margin-left: 7px;
        font-size: 11px;
    }

    .review-photos-section {
        margin-bottom: 16px !important;
    }

    .review-photos-title {
        font-size: 14px;
        margin-bottom: 8px !important;
    }

    .review-photo-grid-item {
        flex: 0 0 calc((100% - 16px) / 3);
        border-radius: 7px;
    }

    .review-filters {
        overflow-x: auto;
        flex-wrap: nowrap !important;
        padding-bottom: 5px;
        margin-bottom: 16px !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .review-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        white-space: nowrap;
        height: 38px;
        padding: 0 13px;
        font-size: 12px;
    }

    .sort-select {
        min-width: 170px;
        width: 170px;
        margin-top: 0;
        flex-shrink: 0;
    }

    .review-card {
        padding: 16px;
    }

    .review-card p {
        font-size: 14px;
    }

    .review-photo {
        width: 70px;
        height: 70px;
    }

    .pagination-container {
        margin-top: 20px;
    }
}

@media (max-width: 575px) {

    .review-photo-grid-item {
        flex: 0 0 calc((100% - 8px) / 2);
    }

    .customer-review-section h3 {
        font-size: 22px;
    }
}

.review-image-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .9);
    opacity: 0;
    visibility: hidden;
    z-index: 99999;
    transition: opacity .3s ease, visibility .3s ease;
    touch-action: pan-y;
}

.review-image-modal.active {
    opacity: 1;
    visibility: visible;
}

.rim-close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 38px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    z-index: 100001;
}

.rim-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 90px;
    box-sizing: border-box;
}

.rim-img-wrap img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    transition: opacity .15s ease;
}

.rim-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    z-index: 100000;
    transition: .25s;
}

.rim-nav:hover {
    background: rgba(255, 255, 255, .3);
}

.rim-prev {
    left: 25px;
}

.rim-next {
    right: 25px;
}

.rim-nav.disabled {
    opacity: 0;
    pointer-events: none;
}

.rim-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, .15);
    padding: 6px 16px;
    border-radius: 30px;
    z-index: 100000;
}

@media(max-width:767px) {
    .rim-close {
        top: 15px;
        right: 15px;
        font-size: 32px;
    }

    .rim-img-wrap {
        padding: 0 55px;
    }

    .rim-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .rim-prev {
        left: 8px;
    }

    .rim-next {
        right: 8px;
    }

    .rim-counter {
        bottom: 15px;
        font-size: 12px;
    }
}

.sticky-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, .08);
    padding: 12px 0;
    transform: translateY(120%);
    transition: .35s;
}

.sticky-footer.show {
    transform: translateY(0);
}

.sticky-container {
    max-width: 1400px;
    margin: auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.sticky-product {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    flex: 1;
}

.sticky-product-image {
    width: 70px;
    height: 70px;
    border: 1px solid #ececec;
    border-radius: 10px;
    overflow: hidden;
    background: #fafafa;
    flex-shrink: 0;
}

.sticky-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sticky-product-details {
    min-width: 0;
}

.sticky-title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}

.sticky-price {
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

.sticky-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.sticky-variant {
    width: 180px;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #111;
}

.product-add-cart-form button {
    height: 48px;
    padding: 0 30px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
}

.product-add-cart-form button:hover {
    background: #000;
}

.mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000000 !important;
    display: none;
    gap: 10px;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #ececec;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, .08);
}

.mobile-cta-bar.show {
    transform: translateY(0);
}

.mobile-add-cart,
.mobile-buy-now {
    flex: 1;
    height: 52px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: .3s;
}

.mobile-add-cart {
    background: #fff;
    border: 2px solid #111;
    color: #111;
}

.mobile-add-cart:hover {
    background: #111;
    color: #fff;
}

.mobile-buy-now {
    background: #111;
    border: 2px solid #111;
    color: #fff;
}

.mobile-buy-now:hover {
    background: #000;
}

@media (max-width: 991px) {
    .mobile-cta-bar {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1000000 !important;
        gap: 10px;
        padding: 10px;
        background: #fff;
        border-top: 1px solid #ececec;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, .08);
    }

    .mobile-add-cart,
    .mobile-buy-now {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 1;
        align-items: center;
        justify-content: center;
        height: 52px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 700;
    }

    .mobile-add-cart {
        background: #fff;
        border: 2px solid #111;
        color: #111;
    }

    .mobile-buy-now {
        background: #111;
        border: 2px solid #111;
        color: #fff;
    }

    body {
        padding-bottom: 75px !important;
    }
}

@media(max-width:767px) {
    .mobile-cta-bar {
        padding: 8px;
        gap: 8px;
    }

    .mobile-add-cart,
    .mobile-buy-now {
        height: 48px;
        font-size: 13px;
        border-radius: 8px;
    }
}

@media(min-width:1400px) {
    .container {
        max-width: 1400px;
    }

    .related-section {
        padding: 80px 0;
    }
}

@media(max-width:1399px) {
    .container {
        max-width: 1200px;
    }
}

@media(max-width:1199px) {
    .tf-product-info-wrap {
        padding-left: 0;
    }

    .related-title-main,
    .customer-review-section h3 {
        font-size: 30px;
    }

    .related-section {
        padding: 60px 0;
    }
}

@media(max-width:991px) {
    .container {
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .row {
        row-gap: 5px;
    }

    .tf-product-info-name .name {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .coupon-wrapper {
        padding-top: 8px;
    }

    .price-on-sale {
        font-size: 26px;
    }

    .tf-product-info-by-btn {
        flex-wrap: wrap;
    }

    #addToCartBtn {
        flex: 1;
    }

    .buy-now {
        width: 100%;
    }

    .ship-sec .col-4 {
        width: 33.3333%;
    }

    .related-section {
        padding: 50px 0;
    }

    .related-title-main,
    .customer-review-section h3 {
        font-size: 28px;
    }

    .widget-content-inner {
        padding: 25px;
    }
}

@media(max-width:767px) {
    body {
        font-size: 14px;
    }

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

    .tf-product-info-name .name {
        font-size: 22px;
        line-height: 1;
        margin-bottom: 8px;
    }

    .price-on-sale {
        font-size: 24px;
        flex-wrap: wrap;
    }

    .strike-price {
        font-size: 16px;
    }

    .live-view,
    .limited-stock {
        font-size: 14px;
    }

    .timer-box {
        gap: 6px;
    }

    .time span {
        font-size: 12px;
    }

    .time small {
        font-size: 10px;
    }

    .colon {
        font-size: 18px;
    }

    .variant-picker-values {
        gap: 8px;
    }

    .option-label {
        min-width: 42px;
        height: 42px;
        font-size: 13px;
        border-radius: 50%;
    }

    .color-label {
        width: 42px;
        height: 42px;
    }

    .color-circle {
        width: 28px;
        height: 28px;
    }

    .ship-sec {
        row-gap: 15px;
    }

    .ship-sec .col-4 {
        width: 50%;
    }

    .related-title-main,
    .customer-review-section h3 {
        font-size: 24px;
    }

    .related-body {
        padding: 14px;
    }

    .related-title {
        font-size: 14px;
    }

    .related-price {
        font-size: 18px;
    }

    .review-card {
        padding: 16px;
    }

    .review-photo {
        width: 70px;
        height: 70px;
    }

    .widget-menu-tab {
        gap: 20px;
    }

    .widget-content-inner {
        padding: 18px;
    }
}

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

    .tf-product-info-name .name {
        font-size: 20px;
    }

    .price-on-sale {
        font-size: 22px;
    }

    .ship-sec .col-4 {
        width: 100%;
    }

    .related-section {
        padding: 40px 0;
    }

    .related-title-main,
    .customer-review-section h3 {
        font-size: 22px;
    }

    .widget-content-inner {
        padding: 16px;
    }

    .mobile-cta-bar {
        padding: 8px;
    }

    .mobile-add-cart,
    .mobile-buy-now {
        height: 46px;
        font-size: 13px;
    }
}

@media(max-width: 420px) {
    .deal-timer {
        padding: 10px;
    }

    .time span {
        font-size: 10px;
    }

    .time small {
        font-size: 8px;
        padding-top: 3px;
    }
}

@media (max-width:991px) {
    .tf-toolbar-bottom {
        display: none !important;
    }

    .sticky-footer.show {
        transform: translateY(-72px);
    }
}

.cart-success-toast {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 390px;
    max-width: calc(100vw - 30px);
    background: #fff;
    color: #111;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.16);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(25px) scale(.97);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}

.cart-success-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.cart-success-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    animation: cartSuccessPop .45s ease;
}

@keyframes cartSuccessPop {
    0% {
        transform: scale(.4);
        opacity: 0;
    }

    70% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.cart-success-content {
    flex: 1;
    min-width: 0;
}

.cart-success-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 7px;
}

.cart-success-product {
    display: flex;
    align-items: center;
    gap: 9px;
}

.cart-success-product img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 7px;
    background: #f5f5f5;
}

.cart-success-product strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 145px;
}

.cart-success-product span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #777;
}

.cart-success-view {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #111;
    padding-bottom: 2px;
}

.cart-success-view:hover {
    color: #555;
}

.cart-success-close {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 22px;
    height: 22px;
    border: 0;
    background: transparent;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.cart-success-close:hover {
    color: #111;
}

.cart-celebration-particle {
    position: fixed;
    width: 7px;
    height: 7px;
    background: #111;
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    animation: cartParticle .7s ease-out forwards;
}

@keyframes cartParticle {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(var(--x), var(--y)) scale(.2);
    }
}

@media (max-width: 767px) {
    .cart-success-toast {
        left: 15px;
        right: 15px;
        bottom: 82px;
        width: auto;
        max-width: none;
        padding: 14px;
        border-radius: 14px;
        gap: 10px;
    }

    .cart-success-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 19px;
    }

    .cart-success-product img {
        width: 40px;
        height: 40px;
    }

    .cart-success-product strong {
        max-width: 110px;
    }

    .cart-success-view {
        font-size: 11px;
    }
}