/* =====================================================
   ClassicMart BD â€” 3D Premium Frontend Enhancement
   File: main.css (à¦•à§‹à¦¨à§‹ à¦ªà§à¦°à¦¨à§‹ CSS à¦¨à¦·à§à¦Ÿ à¦•à¦°à¦¾ à¦¹à¦¯à¦¼à¦¨à¦¿)
   ===================================================== */

/* 1. ROOT VARIABLES */
:root {
    --primary:      #0081FF;
    --primary-dark: #0058b3;
    --accent:       #ff6b35;
    --card-shadow:  0 4px 20px rgba(0,0,0,0.10);
    --card-hover:   0 20px 50px rgba(0,129,255,0.22);
    --glass-bg:     rgba(255,255,255,0.82);
    --glass-blur:   blur(10px);
    --trans:        all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    --trans-slow:   all 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* 2. HEADER â€” GLASSMORPHISM + 3D DEPTH */
header#navbar_top {
    background: linear-gradient(135deg, #0058b3 0%, #0081FF 100%) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0,81,204,0.30), 0 1px 0 rgba(255,255,255,0.15) inset !important;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.logo-area {
    background: rgba(255,255,255,0.96);
    box-shadow: 0 2px 16px rgba(0,81,204,0.10);
}

.main-search form {
    box-shadow: 0 2px 12px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.30);
    transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}
.main-search form:focus-within {
    box-shadow: 0 4px 24px rgba(0,0,0,0.25), 0 0 0 2px rgba(0,0,0,0.80) !important;
    transform: scaleY(1.02);
}

/* 3. NAV MENU â€” 3D STYLE */
.menu-area {
    
    box-shadow: 0 4px 18px rgba(0,81,255,0.22), 0 -1px 0 rgba(255,255,255,0.12) inset;
    position: relative;
}
.menu-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
    pointer-events: none;
}

.catagory_menu > ul > li.cat_bar > a {
    transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    border-radius: 4px;
    position: relative;
}
.catagory_menu > ul > li.cat_bar > a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%) scaleX(0);
    height: 2px;
    width: 80%;
    background: rgba(255,255,255,0.9);
    border-radius: 99px;
    transition: transform 0.3s ease;
}
.catagory_menu > ul > li.cat_bar:hover > a::after {
    transform: translateX(-50%) scaleX(1);
}
.catagory_menu > ul > li.cat_bar:hover > a {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

.menu-area .Cat_menu,
.menu-area .child_menu {
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 8px;
    border: 1px solid rgba(0,129,255,0.12);
    animation: dropIn 0.25s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
    transform-origin: top center;
    overflow: hidden;
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px) scaleY(0.96); }
    to   { opacity: 1; transform: translateY(0) scaleY(1); }
}

/* 4. HERO SLIDER â€” 3D FRAME */
.home-slider-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,81,255,0.18), 0 2px 8px rgba(0,0,0,0.10);
    transform: perspective(1200px) rotateX(0deg);
    transition: all 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.home-slider-container:hover {
    box-shadow: 0 16px 60px rgba(0,81,255,0.28), 0 4px 16px rgba(0,0,0,0.14);
    transform: perspective(1200px) rotateX(1deg);
}
.home-slider-container .carousel-item img {
    border-radius: 10px;
    transition: transform 6s ease;
}
.home-slider-container .carousel-item.active img {
    transform: scale(1.04);
}

.hide-on-small .card {
    border-radius: 10px !important;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    box-shadow: 0 4px 20px rgba(0,0,0,0.10) !important;
}
.hide-on-small .card:hover {
    box-shadow: 0 12px 40px rgba(0,81,255,0.22) !important;
    transform: translateY(-4px) scale(1.01);
}

/* 5. PRODUCT CARDS â€” 3D HOVER */
.product_item {
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    transition: none !important;
    overflow: hidden;
    background: #fff !important;
}
.product_item:hover {
    transform: none !important;
    box-shadow: none !important;
    z-index: 2;
}

.pro_img img {
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94) !important;
}
.product_item:hover .pro_img img {
    transform: scale(1.08) !important;
}

.pro_img {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}
.pro_img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.04) 100%);
    pointer-events: none;
    border-radius: inherit;
}

.pro_price p {
    font-weight: 700 !important;
    color: #0058b3 !important;
    font-size: 16px !important;
}
.pro_price del {
    color: #999 !important;
    font-weight: 400 !important;
}

.pro_name a {
    transition: color 0.25s ease;
}
.pro_name a:hover {
    color: #0081FF !important;
}

.pro_btn button,
.pro_btn a,
.pro_btn1 button,
.pro_btn1 a {
    border-radius: 6px !important;
    transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
    position: relative;
    overflow: hidden;
}
.pro_btn button:hover,
.pro_btn a:hover,
.pro_btn1 button:hover,
.pro_btn1 a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.20) !important;
}
.pro_btn button:active,
.pro_btn a:active,
.pro_btn1 button:active,
.pro_btn1 a:active {
    transform: translateY(0) !important;
}

/* Sale badge pulse */
.product_item_inner .sale-badge-box {
    background: linear-gradient(135deg, #27ae60, #1a9e50) !important;
    box-shadow: 0 2px 8px rgba(27,174,96,0.40), 0 -1px 0 rgba(255,255,255,0.20) inset;
    animation: pulseBadge 2.5s ease-in-out infinite;
}
@keyframes pulseBadge {
    0%, 100% { box-shadow: 0 2px 8px rgba(27,174,96,0.40); }
    50%       { box-shadow: 0 4px 18px rgba(27,174,96,0.65); }
}

/* 6. FOOTER */
.footer-top {
    background: #1e293b;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.12);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-about img,
footer img {
    filter: brightness(1.05) drop-shadow(0 2px 8px rgba(0,0,0,0.15));
    transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}
.footer-about img:hover {
    filter: brightness(1.1) drop-shadow(0 4px 14px rgba(0,129,255,0.30));
}

/* 7. MOBILE HEADER */
.mobile-header.sticky {
    background: linear-gradient(135deg, #0058b3, #0081FF) !important;
    box-shadow: 0 4px 20px rgba(0,81,204,0.25) !important;
    backdrop-filter: blur(10px);
}

/* 8. SCROLL TOP */
.scrolltop {
    border-radius: 50% !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18) !important;
    transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94) !important;
}
.scrolltop:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25) !important;
}

/* 9. MOBILE BOTTOM NAV */
.footer_nav {
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    background: rgba(255,255,255,0.95) !important;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.10) !important;
}

/* 10. WHATSAPP BUTTON */
.sticky-social .vim a i {
    transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94) !important;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.20));
}
.sticky-social .vim a i:hover {
    transform: scale(1.15) rotate(-5deg) !important;
    filter: drop-shadow(0 6px 18px rgba(37,211,102,0.60)) !important;
}

/* 11. CARD FADE-IN ANIMATIONS */
@media (prefers-reduced-motion: no-preference) {
    .product_item {
        animation: cardFadeUp 0.5s ease both;
        animation-fill-mode: both;
    }
    .product_item:nth-child(1)  { animation-delay: 0.05s; }
    .product_item:nth-child(2)  { animation-delay: 0.10s; }
    .product_item:nth-child(3)  { animation-delay: 0.15s; }
    .product_item:nth-child(4)  { animation-delay: 0.20s; }
    .product_item:nth-child(5)  { animation-delay: 0.25s; }
    .product_item:nth-child(6)  { animation-delay: 0.30s; }
    .product_item:nth-child(n+7) { animation-delay: 0.35s; }
}
@keyframes cardFadeUp {
    from { opacity: 0; transform: perspective(800px) translateY(24px) translateZ(0); }
    to   { opacity: 1; transform: perspective(800px) translateY(0) translateZ(0); }
}

/* 12. RESPONSIVE */
@media (max-width: 768px) {
    .product_item:hover {
        transform: perspective(800px) translateZ(8px) rotateX(-1deg) !important;
    }
    .home-slider-container:hover {
        transform: none;
    }
}

/* 13. TOASTR */
#toast-container .toast {
    border-radius: 10px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18) !important;
    opacity: 0.97 !important;
}


/* =====================================================
   PRODUCT DETAILS PAGE â€” AliExpress Style (PDP)
   à¦¸à¦¬ à¦¨à¦¤à§à¦¨ CSS â€” à¦ªà§à¦°à¦¨à§‹ à¦•à¦¿à¦›à§ à¦ªà¦°à¦¿à¦¬à¦°à§à¦¤à¦¨ à¦¹à¦¯à¦¼à¦¨à¦¿
   ===================================================== */

/* â”€â”€ PDP Image Wrapper â€” Flex Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pdp-img-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    position: relative;
}

/* â”€â”€ Vertical Thumbnail Strip (left) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pdp-thumb-strip {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 80px;
    min-width: 80px;
    max-height: 480px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #0081FF #f0f0f0;
}
.pdp-thumb-strip::-webkit-scrollbar {
    width: 4px;
}
.pdp-thumb-strip::-webkit-scrollbar-thumb {
    background: #0081FF;
    border-radius: 4px;
}

.pdp-thumb-item {
    width: 74px;
    height: 74px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s ease;
    background: #fff;
}
.pdp-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.pdp-thumb-item:hover,
.pdp-thumb-item.active {
    border-color: #0081FF;
    box-shadow: 0 0 0 1px #0081FF, 0 4px 12px rgba(0,129,255,0.20);
    transform: scale(1.04);
}
.pdp-thumb-item.active img {
    transform: scale(1.05);
}

/* â”€â”€ Main Image Area (right of thumbs) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pdp-main-img {
    flex: 1;
    position: relative;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}
.pdp-main-img:hover {
    box-shadow: 0 8px 40px rgba(0,129,255,0.16);
}

.pdp-main-img .details_slider {
    border: none !important;
    border-radius: 0 !important;
}

.pdp-main-img .dimage_item img {
    height: 420px !important;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.pdp-main-img:hover .dimage_item img {
    transform: scale(1.03);
}

/* â”€â”€ Discount Badge (top right of main image) â”€â”€â”€â”€â”€â”€â”€ */
.pdp-discount-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    background: linear-gradient(135deg, #e91e63, #c62828);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 3px 12px rgba(233,30,99,0.40);
    animation: pulseBadge 2.5s ease-in-out infinite;
    letter-spacing: 0.3px;
}

/* â”€â”€ SuperDeals Price Banner â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pdp-super-deals-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #6a0dad, #9c27b0);
    border-radius: 10px;
    padding: 10px 16px;
    margin: 12px 0 4px;
    box-shadow: 0 4px 18px rgba(106,13,173,0.28);
    position: relative;
    overflow: hidden;
}
.pdp-super-deals-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.10) 0%, transparent 60%);
    pointer-events: none;
}
.pdp-deals-label {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
    letter-spacing: 0.3px;
}
.pdp-deals-label i {
    font-size: 15px;
    color: #FFD700;
    filter: drop-shadow(0 0 4px rgba(255,215,0,0.8));
}
.pdp-deals-note {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    background: rgba(255,255,255,0.15);
    padding: 3px 10px;
    border-radius: 20px;
}

/* â”€â”€ Price Card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pdp-price-card {
    background: linear-gradient(135deg, #f8f9ff, #eef3ff);
    border: 1px solid rgba(0,129,255,0.18);
    border-radius: 10px;
    padding: 14px 18px;
    margin: 8px 0 12px;
    box-shadow: 0 2px 12px rgba(0,129,255,0.08);
}
.pdp-price-card .details-price {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 !important;
}
.pdp-current-price {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0058b3 !important;
    line-height: 1;
}
.pdp-price-card del {
    font-size: 17px !important;
    color: #aaa !important;
    text-decoration: line-through;
}
.pdp-save-note {
    font-size: 12px;
    color: #27ae60;
    background: #e8f5e9;
    padding: 3px 9px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid #c8e6c9;
}

/* â”€â”€ Order & Cart Buttons â€” 3D Premium â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.order_now_btn {
    background: linear-gradient(135deg, #3044b6, #0081FF) !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 18px rgba(48,68,182,0.35),
                0 -2px 0 rgba(0,0,0,0.15) inset !important;
    height: 50px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}
.order_now_btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
    pointer-events: none;
}
.order_now_btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px rgba(48,68,182,0.45) !important;
    background: linear-gradient(135deg, #1a2fa0, #0065d4) !important;
    color: #fff !important;
}
.order_now_btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(48,68,182,0.30) !important;
}

.add_cart_btn {
    background: linear-gradient(135deg, #ff6b35, #fe5200) !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 18px rgba(254,82,0,0.35),
                0 -2px 0 rgba(0,0,0,0.12) inset !important;
    height: 50px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}
.add_cart_btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
    pointer-events: none;
}
.add_cart_btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px rgba(254,82,0,0.45) !important;
    background: linear-gradient(135deg, #e65b28, #e04000) !important;
    color: #fff !important;
}
.add_cart_btn:active {
    transform: translateY(0) !important;
}

/* â”€â”€ Call Button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.call_now_btn {
    background: linear-gradient(135deg, #1a9e50, #27ae60) !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 16px rgba(39,174,96,0.35) !important;
    height: 50px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}
.call_now_btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(39,174,96,0.45) !important;
    color: #fff !important;
    background: linear-gradient(135deg, #158a42, #1e9652) !important;
}

/* â”€â”€ Product Name â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.product-cart .name {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #1a1a2e !important;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 8px !important;
}

/* â”€â”€ Rating Stars â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.details-ratting-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0;
}
.details-ratting-wrapper .fa-star,
.details-ratting-wrapper .fa-star-half-alt {
    color: #f5a623;
    font-size: 15px;
}

/* â”€â”€ Product Section Card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.product-section {
    background: #fff !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08) !important;
    padding: 28px !important;
    margin-top: 20px !important;
}

/* â”€â”€ Quantity Selector â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.qty-cart .quantity {
    border-radius: 8px !important;
    border: 2px solid #e0e0e0 !important;
    overflow: hidden;
    transition: border-color 0.25s ease;
}
.qty-cart .quantity:hover {
    border-color: #0081FF !important;
}

/* â”€â”€ Thumbnail click sync (JS hook) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pdp-thumb-item.active {
    border-color: #0081FF !important;
}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 767px) {
    .pdp-img-wrapper {
        flex-direction: column-reverse;
    }
    .pdp-thumb-strip {
        flex-direction: row;
        width: 100%;
        min-width: unset;
        max-height: unset;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
    }
    .pdp-thumb-item {
        width: 60px;
        height: 60px;
    }
    .pdp-main-img .dimage_item img {
        height: 300px !important;
    }
    .pdp-current-price {
        font-size: 22px !important;
    }
    .order_now_btn,
    .add_cart_btn {
        font-size: 14px !important;
        height: 44px !important;
    }
}


/* â”€â”€ CHECKOUT â€” à¦²à¦¾à¦² border à¦¸à¦°à¦¾à¦¨à§‹ â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cart_table.table-bordered,
.cart_table.table-bordered > :not(caption) > * > *,
.cart_table thead,
.cart_table tbody,
.cart_table tfoot,
.cart_table tr,
.cart_table th,
.cart_table td {
    border-color: #e0e0e0 !important;
}

.cart_details .card {
    border-color: #e0e0e0 !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08) !important;
}

.cart_details .card-header {
    border-bottom-color: #e0e0e0 !important;
    background: #f8f9fa !important;
}

.checkout-shipping .card {
    border-color: #e0e0e0 !important;
}


/* =====================================================
   AMAZON STYLE HEADER CSS
   ===================================================== */
.amz-header {
    background-color: #131921;
    color: #ffffff;
    padding: 10px 0;
    font-family: Arial, sans-serif;
}

.amz-header a {
    color: #ffffff;
    text-decoration: none;
}

.amz-header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

/* -- Logo -- */
.amz-logo {
    display: flex;
    align-items: center;
    padding: 5px 8px;
    border: 1px solid transparent;
    border-radius: 2px;
    justify-self: start;
}
.amz-logo:hover {
    border-color: #ffffff;
}
.amz-logo-img {
    max-height: 40px;
    object-fit: contain;
}

/* -- Search Bar -- */
.amz-search {
    display: flex;
    width: 100%;
    min-width: 400px;
    max-width: 550px;
    justify-self: center;
}
.amz-search-form {
    display: flex;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}
.amz-search-form input.amz-search-input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    color: #000;
    font-size: 15px;
}
.amz-search-form button.amz-search-btn {
    background-color: #fff;
    border: none;
    border-left: 1px solid #eee;
    padding: 0 15px;
    cursor: pointer;
    color: #777;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.amz-search-form button.amz-search-btn:hover {
    color: #f36f21;
}

/* -- Right Items -- */
.amz-right-items {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
}

.amz-right-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
}
.amz-right-item:hover {
    border-color: #ffffff;
}
.amz-item-top {
    font-size: 12px;
    line-height: 14px;
    color: #cccccc;
}
.amz-item-bottom {
    font-size: 14px;
    font-weight: 700;
    line-height: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* -- Cart -- */
.amz-cart-wrap {
    position: relative;
    flex-direction: row;
    align-items: flex-end;
}
.amz-cart-link {
    display: flex;
    align-items: flex-end;
}
.amz-cart-icon {
    position: relative;
    display: flex;
    align-items: center;
}
.amz-cart-icon i {
    font-size: 30px;
    color: #ffffff;
}
.amz-cart-count {
    position: absolute;
    top: -5px;
    left: 12px;
    color: #f08804;
    font-weight: 700;
    font-size: 16px;
    background: #131921;
    padding: 0 4px;
    border-radius: 10px;
}

/* Dropdown */
#cart-qty:hover .cart-dropdown {
    display: block;
}
.cart-dropdown {
    min-width: 300px;
    right: 0;
    left: auto !important;
    display: none;
    position: absolute;
    top: 100%;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    color: #000;
}
.cart-item-img img {
    border-radius: 4px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
.amz-header-inner {
grid-template-columns: 1fr;
justify-items: center;
gap: 10px;
}
.amz-right-items {
justify-content: center;
justify-self: center;
}
}


/* =====================================================
   AMAZON STYLE SECONDARY NAV (MENU AREA)
   ===================================================== */
.amz-nav-menu {
    background-color: #232f3e !important;
    border-bottom: none !important;
    border-top: none !important;
    padding: 0 !important;
}

.amz-nav-menu .catagory_menu {
    width: 100%;
}

.amz-nav-menu .catagory_menu > ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 5px 0;
}

.amz-nav-menu .catagory_menu > ul > li.cat_bar {
    margin: 0 4px;
}

.amz-nav-menu .catagory_menu > ul > li.cat_bar > a {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    padding: 6px 10px !important;
    height: auto !important;
    border: 1px solid transparent;
    border-radius: 2px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.amz-nav-menu .catagory_menu > ul > li.cat_bar > a:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

.amz-nav-menu .cat_head {
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Dropdown styling updates to match professional theme */
.amz-nav-menu .Cat_menu {
    border: 1px solid #ddd !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
    border-radius: 4px;
    padding: 8px 0 !important;
    min-width: 220px;
}

.amz-nav-menu .Cat_menu li a {
    color: #333 !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    transition: background-color 0.2s;
}

.amz-nav-menu .Cat_menu li a:hover {
    background-color: #f3f3f3 !important;
    color: #fe5200 !important;
}





/* Hide all order buttons on the home product card */
.product_item .pro_btn, 
.product_item .pro_btn1, 
.product_item_inner .pro_btn, 
.product_item_inner .pro_btn1 {
    display: none !important;
}

/* Fix sale badge layout */
.product_item_inner .sale-badge {
    position: absolute;
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    z-index: 5;
    width: auto !important;
    height: auto !important;
}
.product_item_inner .sale-badge-box {
    background: #ff0000 !important;
    padding: 3px 8px !important;
    border-radius: 3px !important;
    display: inline-block !important;
    white-space: nowrap !important;
    min-width: max-content !important;
}
.product_item_inner .sale-badge-text {
    display: block !important;
    white-space: nowrap !important;
}
.product_item_inner .sale-badge-text p {
    display: inline !important;
    margin-left: 2px !important;
}



/* =====================================================
   HOME PAGE PRODUCT CARDS (AliExpress Style) - FIXED
   ===================================================== */
.product_item {
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    transition: none !important;
    box-shadow: none !important;
    transform: none !important;
    margin-bottom: 10px;
    height: 100%;
}
.product_item:hover {
    box-shadow: none !important;
    transform: none !important;
}

.product_item_inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: transparent !important;
}

/* 1. Image Container */
.product_item_inner .pro_img {
    order: 1 !important;
    position: relative !important;
    width: 100% !important;
    display: block !important;
    background: #f9f9f9;
}
.product_item_inner .pro_img a {
    display: block;
    width: 100%;
    position: relative;
    padding-top: 145%; /* Tall portrait ratio - shows full image */
}
.product_item_inner .pro_img img {
    background: #fff; position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: top center !important;
    border-radius: 0 !important;
}

/* Circular Cart Icon Overlay */
/* cart icon removed */

/* 2. Text/Price Description Container */
.product_item_inner .pro_des {
    order: 2 !important;
    padding: 8px !important;
    text-align: left !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.product_item_inner .pro_name {
    margin-bottom: 5px !important;
    min-height: 36px !important; /* 2 lines space */
}
.product_item_inner .pro_name a {
    color: #222 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-decoration: none !important;
}
.product_item_inner .pro_name a:hover {
    color: #fe5200 !important;
    text-decoration: underline !important;
}

/* Price Styling */
.product_item_inner .pro_price {
    margin-top: auto !important; /* Push to bottom of pro_des */
}
.product_item_inner .pro_price p {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #111 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
}
.product_item_inner .pro_price p::before {
    content: 'BDT' !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #111 !important;
}
.product_item_inner .pro_price del {
    font-size: 11px !important;
    color: #999 !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
}

/* 3. Sale Badge (Red Label) */
.product_item_inner .sale-badge {
    order: unset !important;
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    margin: 0 !important;
    z-index: 5 !important;
}
.product_item_inner .sale-badge-box {
    background: #ff0000 !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    display: inline-block !important;
    white-space: nowrap !important;
    width: auto !important;
    box-shadow: none !important;
    animation: none !important;
}
.product_item_inner .sale-badge-text {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}
.product_item_inner .sale-badge-text p {
    margin: 0 !important;
    font-size: 10px !important;
    color: #fff !important;
    display: inline !important;
}
/* removed welcome deal */
.product_item_inner .sale-badge-text::before {
    content: '' !important;
    display: none;
}
.product_item_inner .sale-badge-text::after {
    display: none !important;
}

/* 4. Hide Buttons completely */
.product_item .pro_btn, 
.product_item .pro_btn1, 
.product_item_inner .pro_btn, 
.product_item_inner .pro_btn1,
.product_item_inner .add_cart_btn,
.product_item_inner .order_now_btn {
    display: none !important;
}



/* Fix for Sale Badge Inner width issue */
.product_item_inner .sale-badge-inner {
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
}


/* Hide broken image alt text (the "upoer name") */
.product_item_inner .pro_img img {
    color: transparent !important;
    text-indent: -9999px !important;
}

/* Ensure the cart icon stays at the bottom right even if image is broken */
.product_item_inner .pro_img {
    min-height: unset;
}


/* Ensure footer text is white/light */
.footer-top {
    color: #f1f1f1 !important;
}
.footer-top p,
.footer-top a,
.footer-top h2,
.footer-top .title a,
.footer-top .footer-hotlint,
.footer-about p {
    color: #e0e0e0 !important;
}
.footer-top a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}
.footer-top .title a {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
.footer-top .d_app h2 {
    color: #ffffff !important;
    font-size: 16px !important;
    margin-top: 15px !important;
}

/* Fix for unclickable product images and titles */
.product_item_inner .pro_img a {
    position: relative;
    z-index: 20;
    display: block;
}
.product_item_inner .pro_name a { position: static;
    z-index: 20;
    display: inline-block;
}

/* FORCE CLICKABILITY FOR PRODUCT LINKS */
.product_item_inner .pro_img a,
.product_item_inner .pro_name a { position: static !important;
    z-index: 50 !important;
    pointer-events: auto !important;
}
.product_item_inner .pro_img img {
    pointer-events: auto !important;
}

/* Make the ENTIRE product card clickable */
.product_item_inner .pro_name a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}



/* ===== DETAILS PAGE CLEAN OVERRIDE (END OF FILE) ===== */
.pdp-super-deals-banner { display: none !important; }
.pdp-price-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.pdp-current-price {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #111 !important;
}
.pdp-price-card del {
    font-size: 16px !important;
    color: #999 !important;
}
.pdp-save-note { display: none !important; }
.product-code { display: none !important; }
.call_now_btn { display: none !important; }
.sale-badge, .sale-badge-inner, .sale-badge-box { display: none !important; }
.pdp-discount-badge { display: none !important; }

/* Clean order / add to cart buttons */
.order_now_btn {
    background: #111 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}
.add_cart_btn {
    background: #fff !important;
    color: #111 !important;
    border: 1.5px solid #111 !important;
    border-radius: 4px !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

/* Mobile image overflow fix */
@media (max-width: 767px) {
    .pdp-img-wrapper {
        overflow: hidden !important;
        width: 100% !important;
    }
    .pdp-main-img {
        overflow: hidden !important;
        width: 100% !important;
        position: relative !important;
    }
    .pdp-main-img .details_slider {
        overflow: hidden !important;
        width: 100% !important;
    }
    .pdp-main-img .dimage_item {
        overflow: hidden !important;
        width: 100% !important;
    }
    .pdp-main-img .dimage_item img {
        width: 100% !important;
        height: 300px !important;
        object-fit: contain !important;
        display: block !important;
        position: relative !important;
    }
    /* Fix col-sm-6 stacking on mobile */
    .main-details-page .container .row > .col-sm-6 {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
    /* Product name no cut */
    .product-cart p.name {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        word-break: break-word !important;
        font-size: 17px !important;
    }
}
