/*ctsp*/
.ctsp-wrap {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 20px;
}

.ctsp-wrap ul {
    list-style: disc;
    padding-left: 18px;
}

.ctsp-breadcrumb {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.ctsp-breadcrumb a {
    color: #888;
}

.ctsp-gallery {
    position: relative;
}

.ctsp-badge-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #005596;
    color: #fff;
    font-weight: 600;
    padding: 6px 8px;
    border-radius: 3px;
    z-index: 2;
}

.ctsp-owl-main .item {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 3px;
    padding: 6px;
}

.ctsp-owl-main .item img {
    width: 100%;
    height: auto;
    display: block;
}

.ctsp-owl-thumbs {
    margin-top: 10px;
}

.ctsp-owl-thumbs .item {
    padding: 4px;
}

.ctsp-owl-thumbs .ctsp-thumb {
    border: 1px solid #eee;
    border-radius: 3px;
    background: #fff;
    display: block;
}

.ctsp-owl-thumbs .ctsp-thumb img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.ctsp-owl-thumbs .ctsp-thumb.ctsp-active {
    border-color: #36c;
    box-shadow: 0 0 0 2px rgba(51, 102, 204, 0.18) inset;
}

.ctsp-owl-thumbs .ctsp-thumb {
    opacity: 0.35;
    filter: brightness(0.9);
    transition: opacity 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.ctsp-owl-thumbs .ctsp-thumb.ctsp-active {
    opacity: 1;
    filter: none;
    box-shadow: none !important;
    border-color: #eee !important; 
    outline: none !important;
}

.ctsp-owl-thumbs .ctsp-thumb:not(.ctsp-active):hover {
    opacity: 1;
    filter: none;
    cursor: pointer;
}

.ctsp-owl-thumbs .ctsp-thumb:focus,
.ctsp-owl-thumbs .ctsp-thumb img:focus {
    outline: none !important;
    box-shadow: none !important;
}

.ctsp-owl-main .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin-top: -18px;
    display: flex;
    justify-content: space-between;
    padding: 0 6px;
    pointer-events: none;
}

.ctsp-owl-main .owl-nav button {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.35) !important;
    border-radius: 3px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    z-index: 5;
}

.ctsp-owl-main .owl-nav span {
    color: #fff;
    font-size: 22px;
    line-height: 36px;
    display: inline-block;
    width: 100%;
    text-align: center;
    z-index: 5;
}

.ctsp-owl-main .owl-nav span {
    color: #333 !important; 
    font-size: 22px;
    line-height: 36px;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.ctsp-owl-main .owl-nav .owl-prev,
.ctsp-owl-main .owl-nav .owl-next {
    pointer-events: auto; 
    z-index: 9; 
}

.ctsp-owl-main .owl-nav {
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.ctsp-owl-main:hover .owl-nav {
    opacity: 1;
    visibility: visible;
}

.ctsp-owl-main .owl-nav button {
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 3px;
    width: 36px;
    height: 36px;
    line-height: 36px;
}

.ctsp-owl-main .owl-nav span {
    color: #fff;
    font-size: 22px;
    line-height: 36px;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.ctsp-title {
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 18px;
}

.ctsp-rating .glyphicon {
    color: #f0ad4e;
}

.ctsp-price {
    margin: 12px 0;
}

.ctsp-price-old {
    text-decoration: line-through;
    color: #aaa;
    margin-right: 8px;
}

.ctsp-price-new {
    color: #d9534f;
    font-size: 28px;
    font-weight: 700;
}

.ctsp-shortdesc {
    color: #555;
}

.ctsp-keyfeatures {
    margin-top: 10px;
    padding-left: 19px;
    list-style: disc;
}

.ctsp-keyfeatures li {
    margin-bottom: 6px;
}

.ctsp-qty.input-group {
    display: table !important; 
}

.ctsp-actions .ctsp-qty .btn {
    min-width: 0;
    width: auto !important;
    padding-left: 10px;
    padding-right: 10px;
}

.ctsp-qty input {
    width: 70px;
    text-align: center;
}

.ctsp-qty.input-group {
    width: 90px; 
}

.ctsp-qty.input-group input {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
}

.ctsp-actions .cart {
    display: flex;
    align-items: center;
    gap: 8px; 
    flex-wrap: nowrap; 
}

.ctsp-actions .input-group {
    width: auto;
    min-width: 100px;
}
.ctsp-actions .btn {
    min-width: 140px;
    white-space: nowrap;
}

.ctsp-actions input[type="number"]::-webkit-inner-spin-button,
.ctsp-actions input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ctsp-actions input[type="number"] {
    -moz-appearance: textfield;
}

.ctsp-actions .btn:focus,
.ctsp-actions input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.ctsp-divider {
    height: 1px;
    background: #eee;
    margin: 15px 0;
}

.ctsp-why h4 {
    margin-top: 0;
}

.ctsp-why .media {
    margin-top: 10px;
}

.ctsp-tabs .tab-content {
    padding: 15px;
    border: 1px solid #eee;
    border-top: none;
}

.ctsp-label-muted {
    color: #777;
}

.ctsp-tabs.nav-tabs {
    border-bottom: none !important;
}

.ctsp-tabs.nav-tabs > li {
    margin-right: 24px;
    position: relative;
}

.ctsp-tabs.nav-tabs > li > a {
    position: relative;
    padding: 10px 0;
    background: transparent !important;
    border: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 700;
    color: #8c8c8c; 
}

.ctsp-tabs.nav-tabs > li > a:hover,
.ctsp-tabs.nav-tabs > li > a:focus {
    background: transparent !important;
    border: 0 !important;
    color: #2d2d2d;
}

.ctsp-tabs.nav-tabs > li.active > a,
.ctsp-tabs.nav-tabs > li.active > a:focus,
.ctsp-tabs.nav-tabs > li.active > a:hover {
    background: transparent !important;
    border: 0 !important;
    color: #2d2d2d;
}

.ctsp-tabs.nav-tabs > li.active > a:before {
    content: "";
    position: absolute;
    left: 0;
    top: -6px;
    width: 100%;
    height: 3px;
    background: #3a2a26; 
}
/*End ctsp*/

/*splq*/
.splq-section {
    margin: 10px 0 30px;
}

.splq-heading {
    font-weight: 700;
    color: #005596;
    letter-spacing: 0.04em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.splq-owl .owl-stage-outer {
    padding: 8px 0;
}

.splq-owl {
    position: relative;
}

.splq-owl .owl-stage-outer {
    position: relative;
    z-index: 1;
}

.splq-owl .owl-nav {
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none; 
    z-index: 3; 
}

.splq-owl:hover .owl-nav {
    opacity: 1;
    visibility: visible;
}

.splq-owl .owl-nav .owl-prev,
.splq-owl .owl-nav .owl-next {
    pointer-events: auto;
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    line-height: 38px;
    border-radius: 6px;
    border: 0;
    /*    background: #e6e9ea !important;*/
    color: #333 !important;
    z-index: 4;
}

.splq-owl .owl-nav .owl-prev {
    left: 6px;
}

.splq-owl .owl-nav .owl-next {
    right: 6px;
}

.splq-owl .owl-nav span {
    display: block;
    text-align: center;
    font-size: 20px;
}

.splq-card {
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.splq-card:hover {
    border-color: #cfe0ff;
    box-shadow: 0 6px 16px rgba(15, 45, 97, 0.08);
}

.splq-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #005596;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 2;
}

.splq-imgbox {
    padding: 20px 18px 6px;
    text-align: center;
    background: #fff;
}

.splq-imgbox img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: opacity 0.2s ease;
}

.splq-body {
    padding: 10px 16px 16px;
}

.splq-title {
    min-height: 40px;
    margin: 0 0 8px;
    color: #333;
    font-weight: 600;
    text-align: center;
}

.splq-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.splq-price-old {
    color: #9aa6b2;
    text-decoration: line-through;
}

.splq-price-new {
    color: #ff6a4d;
    font-weight: 700;
}

.splq-owl .owl-nav {
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.splq-owl:hover .owl-nav {
    opacity: 1;
    visibility: visible;
}

.splq-owl .owl-nav {
    pointer-events: none;
} 

.splq-owl .owl-nav button {
    pointer-events: auto;
} 

.splq-owl .owl-nav .owl-prev,
.splq-owl .owl-nav .owl-next {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    line-height: 38px;
    border-radius: 6px;
    border: 0;
    /*    background: #e6e9ea !important;*/
    color: #333 !important;
}

.splq-owl .owl-nav span {
    display: block;
    text-align: center;
    font-size: 20px;
}

.splq-imgbox:hover {
    cursor: pointer;
}

.splq-link-img {
    display: block;
}

.splq-link-title {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.splq-link-title:hover {
    color: #005596;
    text-decoration: none;
}

/*End splq*/

@media (max-width: 768px) {
    .ctsp-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    .ctsp-title {
        margin-top: 10px;
    }
    .splq-heading {
        margin: 0 15px 15px;
    }
}

@media (max-width: 575px) {
    .ctsp-owl-thumbs .ctsp-thumb img {
        height: 70px;
    }
    .ctsp-actions .cart {
        display: block;
    }
    .splq-imgbox {
        padding: 20px 6px 6px;
    }
    .splq-price {
        display: block;
    }
    .splq-price-old,
    .splq-price-new {
        display: block;
        width: 100%;
        margin: 0; 
        line-height: 1.4; 
        text-align: center;
    }
    .splq-price-new {
        font-size: 18px;
    }
    .splq-price-old {
        margin-bottom: 4px;
    }
}
