.h-60px {
    height: 60px;
}
.h-80px {
    height: 80px;
}
.h-100px {
    height: 100px;
}
.h-400px {
    height: 400px;
}
/* product cards: square image area (with or without a photo) and buttons pinned to the bottom, so a row lines up */
.vertical-product-card {
    display: flex;
    flex-direction: column;
}
.vertical-product-card .thumbnail img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
.vertical-product-card .card-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
.vertical-product-card .card-content > :last-child {
    margin-top: auto;
}
/* product sidebar categories: native scroll until SimpleBar takes over, so the list never spills into the price filter */
.category-widget.scrollbar:not([data-simplebar]) {
    overflow-y: auto;
}
.header-icon {
    position: relative;
}
.cart-counter {
    position: absolute;
    top: -9px;
    right: -15px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
}
.label-input-field input,
.label-input-field textarea,
.label-input-field select {
    width: 100%;
    padding: 16px 24px;
    border-radius: 4px;
    border: 1px solid #e4e4e4;
    outline: 0;
}
.label-input-field label {
    z-index: 1;
}

/* select 2 css */
.select2-container {
    width: auto;
    display: block;
    padding: 14px 24px;
    border-radius: 4px;
    border: 1px solid #e4e4e4;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 60px;
    right: 10px;
}
.select2-dropdown {
    top: -4px;
    border-color: #e4e4e4;
}
.select2-container--open .select2-dropdown {
    left: -1px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0;
}
.select2-container--default .select2-selection--single {
    border: none;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border-color: #e4e4e4;
}

/* toastr */

#toast-container {
    z-index: 999999;
}

#toast-container > div {
    padding: 15px 25px 15px 50px !important;
    opacity: 1;
    margin-bottom: 1.25rem;
    border-color: transparent;
    -webkit-box-shadow: 0 0.25rem 0.5625rem -0.0625rem rgba(0, 0, 0, 0.2),
        0 0.275rem 1.25rem -0.0625rem rgba(249, 250, 251, 0.05) !important;
    box-shadow: 0 0.25rem 0.5625rem -0.0625rem rgba(0, 0, 0, 0.2),
        0 0.275rem 1.25rem -0.0625rem rgba(249, 250, 251, 0.05) !important;
    border-radius: 0.3125rem;
}

[dir="rtl"] #toast-container > div {
    direction: rtl;
    background-position: center right 0.9375rem;
    padding: 15px 50px 15px 25px !important;
}

[dir="rtl"] #toast-container.toast-top-left {
    right: 12px;
    left: auto;
}

[dir="rtl"] #toast-container.toast-top-right {
    left: 12px;
    right: auto;
}

[dir="rtl"] #toast-container.toast-bottom-left {
    right: 12px;
    left: auto;
}

[dir="rtl"] #toast-container.toast-bottom-right {
    left: 12px;
    right: auto;
}

[dir="rtl"] #toast-container.toast-top-full-width#toast-container > div,
[dir="rtl"] #toast-container.toast-bottom-full-width#toast-container > div {
    left: 0;
    right: 0;
}

#toast-container > .toast {
    max-width: 100%;
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: 15px 16px;
    overflow: visible;
}

#toast-container.toast-bottom-full-width > div,
#toast-container.toast-top-full-width > div {
    padding: 15px 50px 15px 50px !important;
    width: 100%;
    margin-bottom: 0;
    border-radius: 0 !important;
}

#toast-container.toast-bottom-full-width > div .toast-close-button,
#toast-container.toast-top-full-width > div .toast-close-button {
    top: 12px !important;
}

html:not([dir="rtl"])
    #toast-container.toast-bottom-full-width
    > div
    .toast-close-button,
html:not([dir="rtl"])
    #toast-container.toast-top-full-width
    > div
    .toast-close-button {
    right: 12px !important;
}

[dir="rtl"] #toast-container.toast-bottom-full-width > div .toast-close-button,
[dir="rtl"] #toast-container.toast-top-full-width > div .toast-close-button {
    left: 12px !important;
}

#toast-container > .toast-info {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='%2303c3ec' d='M256 90c44.3 0 86 17.3 117.4 48.6C404.7 170 422 211.7 422 256s-17.3 86-48.6 117.4C342 404.7 300.3 422 256 422s-86-17.3-117.4-48.6C107.3 342 90 300.3 90 256s17.3-86 48.6-117.4C170 107.3 211.7 90 256 90m0-42C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48z'/%3E%3Cpath fill='%2303c3ec' d='M277 360h-42V235h42v125zm0-166h-42v-42h42v42z'/%3E%3C/svg%3E") !important;
}

#toast-container > .toast-info .toast-close-button {
    background-color: #0d5abf !important;
    -webkit-box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06) !important;
    box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06) !important;
}

#toast-container > .toast-error {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='%23ff3e1d' d='M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z'/%3E%3C/svg%3E") !important;
}

#toast-container > .toast-error .toast-close-button {
    background-color: #e03a1d !important;
    -webkit-box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06) !important;
    box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06) !important;
}

#toast-container > .toast-success {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='%2371dd37' d='M186.301 339.893L96 249.461l-32 30.507L186.301 402 448 140.506 416 110z'/%3E%3C/svg%3E") !important;
}

#toast-container > .toast-success .toast-close-button {
    background-color: #20b250 !important;
    -webkit-box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06) !important;
    box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06) !important;
}

#toast-container [dir="rtl"] > .toast-success {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='%2371dd37' d='M96 110l-32 30.5L325.7 402L448 280l-32-30.5l-90.3 90.4L96 110z'/%3E%3C/svg%3E") !important;
}

#toast-container > .toast-warning {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='%23ffab00' d='M32 464h448L256 48 32 464zm248-64h-48v-48h48v48zm0-80h-48v-96h48v96z'/%3E%3C/svg%3E") !important;
    background-size: 24px;
}

#toast-container > .toast-warning .toast-close-button {
    background-color: #fcac00 !important;
    -webkit-box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06) !important;
    box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06) !important;
}

#toast-container:not(.toast-bottom-full-width, .toast-top-full-width) > div {
    width: 25rem !important;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    top: auto;
    opacity: 0.2;
    height: 0.1875rem;
    background-color: #212b36;
    border-bottom-right-radius: 0.3125rem;
    border-bottom-left-radius: 0.3125rem;
}

[dir="rtl"] .toast-progress {
    left: auto;
    right: 0;
}

.toast-close-button {
    position: absolute;
    top: 0;
    text-shadow: none;
    border-top-right-radius: 0.25rem;
    padding: 0.2rem 0.45rem !important;
    -webkit-transition: all 0.23s ease 0.1s;
    transition: all 0.23s ease 0.1s;
    opacity: 1 !important;
    line-height: 0.98;
}

html:not([dir="rtl"]) .toast-close-button {
    right: 0 !important;
}

[dir="rtl"] .toast-close-button {
    left: -7px !important;
    right: auto !important;
}

@media (max-width: 419.98px) {
    .toast {
        width: 300px !important;
    }
}
#toast-container .toast-close-button {
    font-weight: 300;
    color: #f4f6f8 !important;
    background-color: #ffffff;
    -webkit-box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06);
    box-shadow: 0 0.125rem 0.3rem -0.0625rem rgba(0, 0, 0, 0.1),
        0 0.275rem 0.75rem -0.0625rem rgba(249, 250, 251, 0.06);
}

#toast-container > .toast-success,
#toast-container > .toast-success .toast-message a,
#toast-container > .toast-success .toast-message label {
    background-color: #ffffff !important;
    color: #20b250;
}
#toast-container > .toast-error,
#toast-container > .toast-error .toast-message a,
#toast-container > .toast-error .toast-message label {
    background-color: #ffffff !important;
    color: #e03a1d;
}
#toast-container > .toast-info,
#toast-container > .toast-info .toast-message a,
#toast-container > .toast-info .toast-message label {
    background-color: #ffffff !important;
    color: #0d5abf;
}
#toast-container > .toast-warning,
#toast-container > .toast-warning .toast-message a,
#toast-container > .toast-warning .toast-message label {
    background-color: #ffffff !important;
    color: #fcac00;
}
#toast-container > .toast-success .toast-close-button,
#toast-container > .toast-error .toast-close-button,
#toast-container > .toast-info .toast-close-button,
#toast-container > .toast-warning .toast-close-button {
    color: #ffffff !important;
}
/* toastr */

.address-delete-modal {
    max-width: 700px !important;
}

.min-h-400 {
    min-height: 400px !important;
}

.avatar-icon {
    width: 1.75rem;
    height: 1.75rem;
    line-height: 1.75rem;
}

.vertical-product-card .card-btn {
    z-index: 1;
}

@media (min-width: 1199px) and (max-width: 1399.98px) {
    .d-none-1399 {
        display: none !important;
    }
}

.checkout-sidebar {
    position: sticky;
    top: 100px;
}

.grecaptcha-badge {
    z-index: 99999;
    bottom: 140px !important;
}
 .scroll-top-btn.active {
    bottom: 80px; 
}
.object-fit-cover{
    object-fit: cover;
}

[data-bs-theme=light] .clr-scheme .topbar-info-right li a:not(.dropdown-menu a) {
    color: #fff !important
}
.topbar-info-right {
    gap: 30px;
}
.topbar-info-right li::before{
    left: -16px !important;
}

.pagination li .page-link {
    min-width: auto;
    height: auto;
    padding: 4px 12px !important;
}
.tt-custom-pagination{
    flex-wrap: nowrap;
    overflow-x: auto;
}
/* same square picture box on every product card, photo fitted inside (not cropped) */
.vertical-product-card .thumbnail > a > img,
.horizontal-product-card .thumbnail > a > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
}

/* ---------------- checkout ---------------- */
.co-steps { display: flex; flex-direction: column; gap: 20px; }
.co-card { background: #fff; border: 1px solid #eef0f4; border-radius: 14px; padding: 24px; box-shadow: 0 2px 10px rgba(16, 24, 40, .04); }
.co-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.co-step { width: 34px; height: 34px; border-radius: 50%; background: #0041cb; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.co-link { font-weight: 600; color: #0041cb; white-space: nowrap; }
.co-link:hover { text-decoration: underline; }
.co-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 20px; background: #eef3ff; color: #0041cb; }

/* address cards */
.co-address .co-address-card { position: relative; display: block; padding: 18px 18px 14px; border: 1.5px solid #e4e7ec !important; border-radius: 12px; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; margin: 0; }
.co-address .co-address-card:hover { border-color: #b8c7f0 !important; }
.co-address .tt-custom-radio:checked + .co-address-card { border-color: #0041cb !important; border-style: solid !important; background: #f6f9ff; box-shadow: 0 0 0 3px rgba(0, 65, 203, .08); }
.co-address-check { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #d0d5dd; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: transparent; background: #fff; }
.co-address .tt-custom-radio:checked + .co-address-card .co-address-check { background: #0041cb; border-color: #0041cb; color: #fff; }
.co-address-icon { width: 30px; height: 30px; border-radius: 8px; background: #eef3ff; color: #0041cb; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.co-address-line { font-weight: 600; color: #1d2939; margin-bottom: 4px; padding-right: 26px; word-break: break-word; }
.co-address-meta { font-size: 14px; color: #667085; line-height: 1.6; }
.co-address-warning { margin-top: 8px; font-size: 13px; color: #b54708; }
.co-address-actions { display: flex; gap: 16px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed #e4e7ec; font-size: 13px; font-weight: 600; }
.co-address-actions a { color: #475467; }
.co-address-actions a:hover { color: #0041cb; }
.co-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; border: 1.5px dashed #c7d2fe; border-radius: 12px; color: #0041cb; font-weight: 600; text-align: center; }
.co-empty i { font-size: 28px; }
.co-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: #344054; }
.co-check input { width: 18px; height: 18px; accent-color: #0041cb; }

/* full-width page sections (home): edge to edge with a comfortable side margin on any screen */
.sm-page-container { max-width: 1760px; padding-left: clamp(16px, 2.5vw, 48px); padding-right: clamp(16px, 2.5vw, 48px); }

/* the theme's short blue bar after widget headings (Search Now, Categories, Filter by Price...) looked like a stray line */
.widget-title .hr-line { display: none !important; }

/* scrolling inside the mini cart (and other inner lists) must not scroll the page behind it */
.cart-navbar-wrapper,
.cart-navbar-wrapper .simplebar-content-wrapper,
.apt_cart_box ul,
.scrollbar,
.scrollbar .simplebar-content-wrapper,
.co-summary .co-items,
.offcanvas-body { overscroll-behavior: contain; }
/* the mini cart list needs its own height: without it a long cart made the dropdown taller than the screen,
   so the wheel could only scroll the page. SimpleBar scrolls it; native scroll until SimpleBar takes over */
.cart-navbar-wrapper { max-height: min(360px, calc(100vh - 280px)); }
.cart-navbar-wrapper:not([data-simplebar]) { overflow-y: auto; }

/* toast messages (added to wishlist / cart, errors...): larger, clearer, solid */
#toast-container > div {
    width: 420px; max-width: calc(100vw - 32px);
    padding: 18px 22px 18px 58px; border-radius: 12px; opacity: 1 !important;
    font-size: 16px; font-weight: 600; line-height: 1.45;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .22) !important;
    background-position: 20px center; background-size: 24px;
}
#toast-container > div:hover { box-shadow: 0 14px 36px rgba(16, 24, 40, .3) !important; }
#toast-container.toast-top-center > div { margin: 14px auto 0; }
#toast-container > .toast-success { background-color: #12a150; }
#toast-container > .toast-error { background-color: #d92d20; }
#toast-container > .toast-warning { background-color: #f79009; }
#toast-container > .toast-info { background-color: #0041cb; }
#toast-container .toast-close-button { font-size: 22px; opacity: .85; top: 0; right: -4px; text-shadow: none; }
#toast-container .toast-progress { height: 4px; opacity: .35; }

/* product gallery thumbnails switch the big image on hover */
.product-thumbnail-slider .swiper-slide { cursor: pointer; transition: border-color .15s; border: 1px solid transparent; }
.product-thumbnail-slider .swiper-slide.thumb-hovered, .product-thumbnail-slider .swiper-slide:hover { border-color: #0041cb; }

/* tooltips must never sit between the pointer and the icon they describe (that made icons flicker) */
.tooltip { pointer-events: none; }

/* order action icons (view / track): a steady, finger-sized target */
.view-invoice { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; font-size: 15px !important; vertical-align: middle; transition: background .15s; }
.view-invoice:hover { background: #fff4e5; }

/* customer's Delhivery shipment box (order details / track order) */
.dl-shipment { background: #f6f9ff; border: 1px solid #dbe4ff; border-radius: 12px; padding: 16px 18px; }
.dl-shipment-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #0041cb; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dbe4ff; }
.dl-status { background: #e8efff; color: #0041cb; font-weight: 600; }
.dl-scans { list-style: none; margin: 12px 0 0; padding: 0 0 0 18px; border-left: 2px solid #dbe4ff; font-size: 13px; }
.dl-scans li { position: relative; padding: 0 0 12px 12px; }
.dl-scans li::before { content: ""; position: absolute; left: -25px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #c7d2fe; border: 2px solid #fff; }
.dl-scans li.dl-scan-latest::before { background: #0041cb; }

/* chosen delivery address with a "Change" button; the full list opens below it */
.co-deliver-to { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1.5px solid #0041cb; border-radius: 12px; background: #f6f9ff; }
.co-deliver-to-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 2px 0 4px; color: #101828; }
.co-deliver-to-meta { font-size: 14px; color: #667085; line-height: 1.5; }
.co-change-btn { flex-shrink: 0; align-self: center; padding: 6px 18px; font-weight: 600; }
.co-add-address-row { display: block; padding: 14px 18px; border: 1.5px dashed #c7d2fe; border-radius: 12px; color: #0041cb; font-weight: 600; }
.co-add-address-row:hover { background: #f6f9ff; color: #0041cb; }
@media (max-width: 575px) { .co-deliver-to { flex-wrap: wrap; } .co-change-btn { width: 100%; } }
.co-billing-toggle { margin-top: 20px; padding-top: 16px; border-top: 1px dashed #e4e7ec; }

/* payment options inside the card */
.co-payment .checkout-radio { border: 1.5px solid #e4e7ec; border-radius: 12px !important; transition: border-color .15s, background .15s; }
.co-payment .checkout-radio:first-of-type { margin-top: 0 !important; }
.co-payment .checkout-radio:has(input:checked) { border-color: #0041cb; background: #f6f9ff !important; }
.co-payment .checkout-radio .radio-right img { max-height: 32px; }

/* order summary */
@media (min-width: 1200px) { .co-sidebar { position: sticky; top: 100px; } }
.co-summary { background: #fff; border: 1px solid #eef0f4; border-radius: 14px; padding: 24px; box-shadow: 0 2px 10px rgba(16, 24, 40, .04); }
.co-items { max-height: 280px; overflow-y: auto; }
.co-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f2f4f7; }
.co-item-thumb { position: relative; flex-shrink: 0; }
.co-item-thumb img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; border: 1px solid #eef0f4; background: #fff; }
.co-item-qty { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #344054; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.co-item-name { font-weight: 600; color: #1d2939; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-item-price { font-weight: 600; white-space: nowrap; }
.min-w-0 { min-width: 0; }
.co-totals { padding: 16px 0 4px; }
.co-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; font-size: 15px; color: #475467; }
.co-row > span:last-child { color: #1d2939; font-weight: 500; }
.co-courier { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 20px; background: #fff4e5; color: #b54708; }
.co-alert { margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.co-alert-danger { background: #fef3f2; color: #b42318; }
.co-alert-warning { background: #fffaeb; color: #b54708; }
.co-alert-info { background: #eff8ff; color: #175cd3; }
.co-grand { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding: 16px; border-radius: 12px; background: #f6f9ff; }
.co-grand-amount { font-size: 22px; font-weight: 800; color: #0041cb; }
.co-place-btn { margin-top: 18px; padding: 14px; border-radius: 12px !important; font-weight: 700; font-size: 16px; }
.co-place-btn:disabled { opacity: .55; cursor: not-allowed; }
.co-trust { display: flex; justify-content: center; gap: 20px; margin-top: 14px; font-size: 12px; color: #667085; }
.co-trust i { margin-right: 6px; color: #12b76a; }
@media (max-width: 575px) { .co-card, .co-summary { padding: 18px; } }

/* ---------------- cart page ---------------- */
.ct-card, .ct-summary { background: #fff; border: 1px solid #eef0f4; border-radius: 14px; box-shadow: 0 2px 10px rgba(16, 24, 40, .04); }
.ct-card { padding: 8px 24px 8px; }
.ct-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0 14px; border-bottom: 1px solid #f2f4f7; }
.ct-link { font-weight: 600; color: #0041cb; font-size: 14px; }
.ct-link:hover { text-decoration: underline; }
.ct-head-row { align-items: center; gap: 16px; padding: 12px 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #98a2b3; border-bottom: 1px solid #f2f4f7; }
.ct-col-qty { width: 120px; text-align: center; }
.ct-col-total { width: 100px; text-align: right; }
.ct-col-remove { width: 36px; }

.ct-item { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid #f2f4f7; }
.ct-item:last-child { border-bottom: 0; }
.ct-thumb { flex-shrink: 0; }
.ct-thumb img { width: 84px; height: 84px; object-fit: contain; border: 1px solid #eef0f4; border-radius: 12px; background: #fff; }
.ct-info { flex-grow: 1; min-width: 0; }
.ct-name { display: block; font-weight: 600; color: #1d2939; line-height: 1.35; margin-bottom: 4px; }
.ct-name:hover { color: #0041cb; }
.ct-variant { display: inline-block; font-size: 12px; color: #667085; margin-right: 8px; }
.ct-unit { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ct-price { font-weight: 700; color: #1d2939; }
.ct-mrp { font-size: 13px; color: #98a2b3; }
.ct-off { font-size: 12px; font-weight: 700; color: #079455; background: #ecfdf3; padding: 1px 8px; border-radius: 20px; }

.ct-qty.product-qty { width: 120px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid #e4e7ec; border-radius: 10px; overflow: hidden; flex-shrink: 0; height: 40px; }
.ct-qty.product-qty button { width: 38px; height: 100%; border: 0; background: #f9fafb; font-size: 18px; font-weight: 600; color: #344054; line-height: 1; }
.ct-qty.product-qty button:hover { background: #eef3ff; color: #0041cb; }
.ct-qty.product-qty input { width: 44px; height: 100%; border: 0; text-align: center; font-weight: 700; background: #fff; }
.ct-line { width: 100px; text-align: right; font-weight: 700; color: #1d2939; flex-shrink: 0; }
.ct-remove { width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: #98a2b3; flex-shrink: 0; transition: background .15s, color .15s; }
.ct-remove:hover { background: #fef3f2; color: #d92d20; }

.ct-empty { text-align: center; padding: 48px 16px; }
.ct-empty i { font-size: 44px; color: #c7d2fe; }

.ct-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.ct-perks > div { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #eef0f4; border-radius: 12px; padding: 14px; font-size: 13px; color: #667085; }
.ct-perks i { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: #eef3ff; color: #0041cb; display: inline-flex; align-items: center; justify-content: center; }
.ct-perks strong { color: #1d2939; }

@media (min-width: 1200px) { .ct-summary { position: sticky; top: 100px; } }
.ct-summary { padding: 24px; }
.ct-label { font-size: 13px; font-weight: 600; color: #344054; margin-bottom: 8px; display: block; }
.ct-coupon { border: 1.5px solid #e4e7ec; border-radius: 10px; overflow: hidden; }
.ct-coupon .coupon-input { border: 0 !important; height: 44px; padding: 0 12px; font-size: 14px; background: #fff; }
.ct-coupon .btn { border-radius: 0 !important; height: 44px; padding: 0 16px; font-size: 14px; }
.ct-totals { margin-top: 20px; padding-top: 12px; border-top: 1px solid #f2f4f7; }
.ct-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; color: #475467; }
.ct-row .sub-total-price { font-size: 20px; font-weight: 800; color: #0041cb; }
.ct-note { font-size: 12px; color: #667085; background: #f9fafb; border-radius: 10px; padding: 10px 12px; margin: 12px 0 0; }
.ct-checkout-btn { margin-top: 16px; padding: 14px; border-radius: 12px !important; font-weight: 700; font-size: 16px; }
.ct-trust { display: flex; justify-content: center; gap: 20px; margin-top: 14px; font-size: 12px; color: #667085; }
.ct-trust i { margin-right: 6px; color: #12b76a; }

@media (max-width: 767px) {
    .ct-card { padding: 4px 16px; }
    .ct-item { flex-wrap: wrap; gap: 12px; position: relative; padding-right: 40px; }
    .ct-thumb img { width: 72px; height: 72px; }
    .ct-info { width: calc(100% - 84px); flex-grow: 0; }
    .ct-qty.product-qty { margin-left: 84px; }
    .ct-line { width: auto; margin-left: auto; }
    .ct-remove { position: absolute; top: 14px; right: 0; }
    .ct-perks { grid-template-columns: 1fr; }
}

/* ---------------- address modal ---------------- */
.ad-modal { border: 0; border-radius: 16px; overflow: hidden; }
.ad-modal-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid #f2f4f7; }
.ad-modal-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: #eef3ff; color: #0041cb; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.ad-modal-body { padding: 24px; }
.ad-form .label-input-field textarea { min-height: 90px; }
.ad-pin-status { line-height: 1.5; }
.ad-pin-ok { color: #067647; }
.ad-pin-bad { color: #b42318; }
.ad-pin-tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 20px; background: #ecfdf3; color: #067647; }
.ad-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: #344054; user-select: none; }
.ad-switch input[type=checkbox] { position: absolute; opacity: 0; width: 0; height: 0; }
.ad-switch-track { position: relative; width: 40px; height: 22px; border-radius: 22px; background: #d0d5dd; transition: background .15s; flex-shrink: 0; }
.ad-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .2); transition: transform .15s; }
.ad-switch input[type=checkbox]:checked + .ad-switch-track { background: #0041cb; }
.ad-switch input[type=checkbox]:checked + .ad-switch-track::after { transform: translateX(18px); }
.ad-switch input[type=checkbox]:focus-visible + .ad-switch-track { box-shadow: 0 0 0 3px rgba(0, 65, 203, .2); }
.ad-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #f2f4f7; }
.ad-actions .btn { min-width: 120px; border-radius: 10px !important; font-weight: 600; }
@media (max-width: 575px) {
    .ad-modal-body, .ad-modal-head { padding: 16px; }
    .ad-actions .btn { flex: 1; min-width: 0; }
}