* {
    box-sizing: border-box;
}

body {
    margin: 0 auto !important;
    overflow-x: hidden;
    /* font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: #1e293b; */

    font-family: var(--main-font);
    color: var(--font-content-color);
}

.catalog-container {
    width: 100%;
    /* max-width: 890px; */
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 16px;

    padding: 24px 16px;
    /* margin-top: -70px; */
    position: relative;
    z-index: 3;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: var(--white-color);
    border: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.45);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.cart-btn:active {
    transform: translateY(0);
}

.category_image_panel {
    display: none !important;
}

#product_quick_view {
    display: none;
    position: fixed;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 9999;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    overflow-y: auto;
    /* box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3); */
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;

    top: unset;
    height: fit-content;
    max-height: 95vh;
}

.box_content_product {
    position: relative;
}

#close_quick_view {
    position: fixed;
    top: calc(5vh + 16px);
    right: calc((100vw - 890px) / 2 + 16px);
    width: 44px;
    height: 44px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#close_quick_view i {
    color: var(--theme-color);
    font-size: 24px;
}


/* 
#close_quick_view:before {
    content: "×";
    font-size: 30px;
    color: var(--font-content-color);
    font-weight: 300;
    line-height: 1;
}

#close_quick_view:hover {
    background: #3b82f6;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

#close_quick_view:hover:before {
    color: var(--white-color);
} */

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    z-index: 9998;
    backdrop-filter: blur(3px);
}

.no-results-message {
    text-align: center;
    padding: 80px 20px;
    color: #64748b;
    font-size: 16px;
    display: none;
    background: var(--white-color);
    border-radius: 16px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.no-results-message i {
    font-size: 56px;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.product_panel {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.prodcol {
    background: var(--white-color);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    border: 0px solid rgba(226, 232, 240, 0.6);
    position: relative;
}

/* .prodcol:hover {
    box-shadow:
        0 16px 40px rgba(59, 130, 246, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
} */

.prodcol_img_box {
    position: relative;
    overflow: hidden;
}

.prodcol_img_box img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.prodcol:hover .prodcol_img_box img {
    transform: scale(1.08);
}

.newprod_img {
    position: relative;
}

.quick_buy_now {
    padding: 12px 16px 0;
    width: 100%;
}

.css_narrowBtn2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    /* background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); */
    color: var(--white-color) !important;
    background-color: var(--theme-color);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    /* box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4); */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.css_narrowBtn2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition:
        width 0.6s,
        height 0.6s;
}

.css_narrowBtn2:hover::before {
    width: 600px;
    height: 600px;
}

.css_narrowBtn2:hover {
    /* background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.5); */
    transform: translateY(-2px);
}

.css_narrowBtn2:active {
    transform: translateY(0);
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

#quick_view_submit, #quick_view_submit:hover,
.quick_view_submit, .quick_view_submit:hover  {
    background-color: var(--theme-color);
    color: var(--white-color);
    transform: translateY(0);
    border: 0px solid var(--theme-color);
}

.quick_view_submit, .quick_view_submit:hover,
.add_cart_btn_submit, .add_cart_btn_submit:hover {
    border-radius: 32px;
    font-size: 12px;
    text-transform: uppercase;
    padding: 7px 14px !important;
}

.prodcol_content_box {
    padding: 18px;
}

.prodlist_namebox {
    margin-bottom: 10px;
}

.rightcol_prodname {
    color: #1e293b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.rightcol_prodname:hover {
    color: #3b82f6;
}

.productSpecialPrice,
.orgprice {
    font-size: 16px;
    font-weight: 700;
    color: var(--warning-color);
    margin-top: 8px;
}

.product_oldprice {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 400;
    margin-left: 6px;
}

.special_color_box {
    position: absolute;
    top: 5px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: var(--white-color);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;

    margin-left: 0;
}

.special_color_box.newin {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.special_color_box.hotdeal {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.special_color_box.bestseller {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.special_color_box.preorder {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.card_tag {
    padding: 6px 14px;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: var(--white-color);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.4);
}

.prodList_tag {
    display: inline-block;
    padding: 4px 10px;
    background: #e0e7ff;
    color: #3730a3;
    font-size: 11px;
    font-weight: 500;
    border-radius: 6px;
    margin: 2px;
}

.prodlist_color {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
}

.stockWarning_msg,
.comingsoon_msg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8;
    border-radius: 0;
}

.soldout {
    background: var(--light-grey-color-3);
    color: var(--light-grey-color-2);
    padding: 7px 14px;
    border-radius: 32px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
}

.no_product_found {
    text-align: center;
    padding: 80px 20px;
    color: #64748b;
    font-size: 18px;
    background: var(--white-color);
    border-radius: 16px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.related_prod_color_panel {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.related_prod_color_link {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.related_prod_color_link:hover {
    border-color: #3b82f6;
    transform: scale(1.15);
}

.related_prod_color_link.active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.related_prod_img_color {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.quick_view_panel {
    max-width: 890px;
    margin: 0 auto;
    background: var(--white-color);
    border-radius: 24px;
    padding: 32px;
    /* box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15); */
    /* font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; */
    display: flex;
    gap: 32px;
    align-items: flex-start;

    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.panel_inline {
    flex-shrink: 0;
}

.panel_inline:first-of-type {
    width: 380px;
}

.panel_inline:last-of-type {
    flex: 1;
    min-width: 0;
}

.panel_inline img {
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel_inline img:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.15);
}

/* Sale Icons */
.prodDetail_icon_position {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
}

.special_color_box,
.sale_img {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    /* box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3); */
}

.special_color_box.bestseller {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.special_color_box.hotdeal {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.special_color_box.newin {
    background: linear-gradient(135deg, #3ac7a5, #0d315a);
    box-shadow: 0 4px 12px rgba(58, 199, 165, 0.3);
}

.prodDetail_name_quickview {
    /* font-family: 'Space Grotesk', sans-serif; */
    font-size: 24px;
    font-weight: 700;
    color: #0d315a;
    line-height: 1.3;
    margin-bottom: 16px;
}

.prodDetail_price {
    font-size: 28px;
    font-weight: 800;
    color: #0d315a;
    /* font-family: 'Space Grotesk', sans-serif; */
}

.prodDetail_price_special {
    font-size: 28px;
    font-weight: 800;
    color: #dc2626;
    /* font-family: 'Space Grotesk', sans-serif; */
}

.prodDetail_price+s,
.prodDetail_price_special+s {
    color: #94a3b8;
    font-size: 16px;
    margin-left: 8px;
}

.you_saved {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(239, 68, 68, 0.05));
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #dc2626;
    margin-top: 8px;
}

.prodDetail_shortDesp {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.prodDetail_code {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

.panel_inline td[style*="color:#7e7e7e"] {
    color: #64748b !important;
    font-size: 13px !important;
}

.ddl_list3 {
    width: 100%;
    /* padding: 10px 18px !important; */
    padding: 16px 32px !important;
    border: 1px solid #dedede;
    border-radius: 12px !important;
    font-size: 14px;
    font-weight: 500;
    color: var(--font-content-color);
    background: var(--white-color);
    transition: all 0.2s ease;
    cursor: pointer;
    outline: none;

}

.ddl_list3:hover {
    border-color: #3ac7a5;
}

.ddl_list3:focus {
    border-color: #0d315a;
    box-shadow: 0 0 0 3px rgba(58, 199, 165, 0.1);
}

INPUT[type="text"].quantity {
    width: 114px;
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
    font-size: 11pt;
    font-weight: bold;
    color: var(--main-color);
    border: 1px solid #dedede;
    display: inline-block;
    border-radius: 12px !important;
    /* padding: 10px; */
    padding: 16px 32px;
    height: 100%;
    border-radius: unset;
}

.quantity {
    width: 60px;
    height: 44px;
    border: 2px solid #e2e8f0;
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #0d315a;
    background: #f8fafc;
    outline: none;
}

.quantity_operator_left,
.quantity_operator_right {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 40px;
    /* background: linear-gradient(135deg, #f8fafc, #f1f5f9); */
    /* border: 2px solid #e2e8f0; */
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.quantity_operator_left {
    border-radius: 12px 0 0 12px;
    border-right: none;
    margin-top: -20px !important;
}

.quantity_operator_right {
    border-radius: 0 12px 12px 0;
    border-left: none;
}

.quantity_operator_left:hover,
.quantity_operator_right:hover {
    background: linear-gradient(135deg, #3ac7a5, #2db897);
    color: #fff;
    border-color: #3ac7a5;
}

.button_inline input[type="button"],
#cart_submit {
    width: 100%;
    padding: 16px 32px;
    background: var(--theme-color);
    color: var(--white-color);
    border: none;
    border-radius: 32px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    /* box-shadow: 0 12px 28px rgba(13, 49, 90, 0.25); */
    transition: all 0.3s ease;
    /* font-family: 'Space Grotesk', sans-serif; */
}

.button_inline input[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(13, 49, 90, 0.35);
}

.button_inline input[type="button"]:active {
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(13, 49, 90, 0.2);
}

.button_inline {
    margin: unset;
}

.panel_inline table td[style*="padding:20px 0px 20px 0px"] {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #475569 !important;
}

.panel_inline table td[style*="padding:20px 0px 20px 0px"] span {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0d315a !important;
}

.product_detail_combo_quick_view {
    background: linear-gradient(135deg, rgba(58, 199, 165, 0.1), rgba(58, 199, 165, 0.05));
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #0d315a;
    border-left: 3px solid #3ac7a5;
}

.quick_view_panel table {
    border-collapse: separate;
    border-spacing: 0;
}


.quick_view_panel table tr:hover {
    background: transparent;
}


.quick_view_panel td[style*="color:#ff0000"] {
    color: #dc2626 !important;
    font-weight: 600;
    padding: 12px 16px;
    background: rgba(220, 38, 38, 0.05);
    border-radius: 12px;
    border-left: 3px solid #dc2626;
}

.product-description-scroll {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
    line-height: 1.6;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-description-scroll::-webkit-scrollbar {
    display: none;
}

.product-description-scroll:hover~.scroll-fade-indicator {
    opacity: 0.7;
}

.notice_bar_panel {
    /* background-color: var(--theme-color);
    color: var(--white-color); */
    background-color: #F7EBE1;
    color: #6D1343;
    border-radius: 10px;
    margin-top: 16px;
    padding: 10px 15px;
}

.notice_bar__item {
    font-size: 13px;
}

.notice_bar__descp {
    font-weight: 300;
    font-size: 11px;
}

.prodcol {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
}

@media (hover: none) and (pointer: coarse) {
    .prodcol:hover .prodcol_img_box img {
        transform: scale(1);
    }
}

@media (max-width: 940px) {
    #close_quick_view {
        right: 2.5vw;
    }
}

@media (max-width: 768px) {
    .quick_view_panel {
        padding: 20px;
        /* border-radius: 16px; */
        flex-direction: column;
    }

    .panel_inline:first-of-type {
        width: 100%;
    }

    .panel_inline:last-of-type {
        width: 100%;
    }

    .prodDetail_name_quickview {
        font-size: 20px;
    }

    .prodDetail_price,
    .prodDetail_price_special {
        font-size: 24px;
    }
}


@media (max-width: 640px) {
    .catalog-container {
        padding: 16px 12px;
    }

    .header-top {
        flex-direction: column;
        gap: 14px;
    }

    .search-wrapper {
        max-width: 100%;
        width: 100%;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    #close_quick_view {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    #close_quick_view:before {
        font-size: 26px;
    }

    .product_panel {
        gap: 16px;
    }

    .prodcol_content_box {
        padding: 0px;
    }

    .rightcol_prodname {
        font-size: 13px;
    }

    .productSpecialPrice,
    .orgprice {
        font-size: 14px;
    }

    .cart-btn {
        padding: 7px 14px;
        font-size: 14px;
    }

    .special_color_box {
        font-size: 8px;
    }

    .css_narrowBtn2 {
        padding: 10px 16px;
        font-size: 13px;
    }

    .quick_view_submit, .quick_view_submit:hover,
    .add_cart_btn_submit, .add_cart_btn_submit:hover {
        font-size: 10px !important;
    }
}