/* ============================================================
   ThemeTiller — Professional Design Polish (overrides style.css)
   ============================================================ */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--body-bg);
}

/* Header is static (not fixed) — remove leftover top padding gap */
#content {
    padding-top: 0;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}
::-webkit-scrollbar-track {
    background: #E2E8F0;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* ===== Section surfaces ===== */
.homeproduct {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    padding: 18px 0;
    margin-bottom: 14px;
}

.homeproduct .container {
    padding: 0 16px;
}

.product-section,
.contact-section,
section.related-product-section,
.bottoads_area,
.footer_top_ads_area,
.brand-section {
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    padding: 30px 0;
}

/* ===== Hero slider cards ===== */
.home-slider-container {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.1);
}

.slider-section {
    margin-top: 14px;
}

/* ===== Top category pills (home) ===== */
.category-sliger img {
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
}

/* ===== Header hotline pill ===== */
.top_header .bg-light {
    font-size: 0.95rem;
}

/* ===== Product inner spacing ===== */
.product_item .pro_des {
    padding-top: 6px;
}

/* ===== Auth / form cards ===== */
.form-content {
    border: none;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.auth-title {
    background: #F8FAFC;
    color: var(--text-color);
}

/* ===== Checkout / cart cards ===== */
.cart-summary {
    border: 1px solid #E2E8F0;
}

.checkout-shipping .card-header,
.cart_details .card-header {
    background: #F8FAFC;
}

.bkashform,
.nagadform,
.rocketform {
    background: #F8FAFC;
    border-radius: 10px;
}

/* ===== Customer dashboard ===== */
.sidebar-menu {
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    padding: 8px 0;
}

.sidebar-menu ul li a {
    border-left: 3px solid transparent;
}

.sidebar-menu li a.active {
    border-left-color: var(--primary-color);
    background: #EFF6FF;
    color: var(--primary-color);
}

.sidebar-menu ul li:hover > a {
    background-color: #EFF6FF;
    color: var(--primary-color);
}

.customer-content {
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

/* ===== Reviews ===== */
.customer-review .review-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

/* ===== Breadcrumbs ===== */
.breadcrumb-area {
    background: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    margin-bottom: 14px;
}

/* ===== Description tabs ===== */
.desc-nav-ul li.active a,
.desc-nav-ul li:hover a {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: #fff;
}

/* ===== Buttons on details page ===== */
.qty-cart .quantity {
    border: 1.5px solid var(--primary-color);
    border-radius: 8px;
}

.quantity .minus,
.quantity .plus {
    color: var(--primary-color);
}

/* ===== Compare / wishlist quick actions ===== */
.quick_view_hard a {
    background: #fff;
    color: #475569;
    border-color: #CBD5E1;
}

.quick_view_hard a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

/* ===== Loading overlay ===== */
#loading {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
}

/* ===== Small niceties ===== */
.stock-out-overlay {
    background: rgba(15, 23, 42, 0.82) !important;
    color: #fff !important;
    letter-spacing: 2px;
}

.cart-dialog .cshort-summary img {
    border-radius: 10px;
}

select.form-select,
select.form-control {
    background-color: #fff;
}

/* ===== Mobile bottom nav active state ===== */
.footer_nav ul li a:hover span:first-child {
    color: var(--primary-color);
}

.footer_nav ul li a span:first-child {
    font-size: 18px;
}

/* ============================================================
   HOME PAGE LAYOUT (redesigned)
   ============================================================ */

/* ===== Service benefits strip ===== */
.blank-div {
    height: 40px;
}
.service-strip {
    margin: 14px 0 4px;
}

.service-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.service-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    border-color: #2563eb;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.14);
}

.service-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.service-icon.orange {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.service-item h5 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px;
}

.service-item p {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    text-align: left;
}

.service-item p a {
    color: #f97316;
    font-weight: 600;
}

/* ===== Section header (title + action) ===== */
.section-head-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.section-head-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.section-icon.blue {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.section-icon.orange {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.35);
}

.section-head-title h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    position: relative;
    text-transform: capitalize;
}

.section-head-title h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -14px;
    width: 42px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #2563eb, #f97316);
}

.section-head-action {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.section-view-all i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.section-view-all:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
}

.section-view-all:hover i {
    transform: translateX(3px);
}

.section-view-all.orange-pill {
    background: #fff7ed;
    color: #ea580c;
}

.section-view-all.orange-pill:hover {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
}

/* ===== Deal / Flash sale section background ===== */
.deal-section {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%) !important;
    border: 1px solid #fed7aa !important;
}

.deal-section.hot {
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%) !important;
    border-color: #bfdbfe !important;
}

/* Countdown timer */
.offer_timer {
    display: flex;
    gap: 6px;
}

.offer_timer .syotimer-cell {
    min-width: 38px;
    text-align: center;
    border-radius: 8px;
}

.offer_timer .syotimer-cell {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 9px 8px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.deal-section:not(.hot) .offer_timer .syotimer-cell {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

/* ===== Top Categories circular full-image (home) ===== */
.cat-circle-carousel .cat-circle-full {
    margin: 0 auto;
}

.cat-circle-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 155px;
    text-align: center;
}

.cat-circle-full-ring {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cat-circle-full-img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.cat-circle-full-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.cat-circle-full:hover .cat-circle-full-ring {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(249, 115, 22, 0.3);
}

.cat-circle-full:hover .cat-circle-full-img img {
    transform: scale(1.12);
}

.cat-circle-full-name {
    display: block;
    margin-top: 11px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: color 0.25s ease;
}

.cat-circle-full:hover .cat-circle-full-name {
    color: var(--primary-color);
}

/* ===== Ads banners ===== */
.ads-section {
    margin-bottom: 14px;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.ads-grid.single {
    grid-template-columns: 1fr;
}

.ads-banner {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.ads-banner img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.ads-banner:hover img {
    transform: scale(1.04);
}

/* ===== Reviews section ===== */
.review-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    color: #fff;
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 18px;
}

.review-section-head h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-transform: capitalize;
}

/* ===== Hero slider dots ===== */
.main_slider .owl-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.main_slider .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.main_slider .owl-dots .owl-dot.active span,
.main_slider .owl-dots .owl-dot:hover span {
    background: #f97316;
    width: 24px;
}

/* ===== Hero area (slider + deal panel) ===== */
.hero-area {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 14px;
}
.hero-main {
    min-width: 0;
}
.hero-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.deal-of-day {
    background: linear-gradient(160deg, #fff7ed, #ffffff 60%);
    border: 1px solid #fed7aa;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(249, 115, 22, .12);
    display: flex;
    flex-direction: column;
    flex: 1;
}
.deal-of-day-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.deal-of-day-head h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    text-transform: capitalize;
}
.deal-of-day-desc {
    font-size: 13px;
    color: #64748b;
    margin: -4px 0 10px;
    line-height: 1.5;
}
.deal-of-day-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}
.deal-of-day-body > a img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #fde3c4;
    padding: 8px;
}
.deal-of-day-body h5 {
    font-size: 13.5px;
    margin-top: 10px;
    font-weight: 600;
    color: #334155;
}
.deal-of-day-body h5 a {
    color: inherit;
}
.deal-of-day-body .pro_price p {
    font-size: 20px;
}
.deal-of-day-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}
.deal-of-day-timer > span {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}
.deal-of-day-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    border-radius: 10px;
    padding: 11px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 6px 16px rgba(249, 115, 22, .35);
    transition: all .3s;
}
.deal-of-day-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(249, 115, 22, .45);
    color: #fff;
}
.hero-promo {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 14px;
    padding: 14px 16px;
    color: #fff;
    box-shadow: 0 6px 18px rgba(37, 99, 235, .28);
}
.hero-promo i {
    font-size: 26px;
}
.hero-promo strong {
    display: block;
    font-size: 14px;
}
.hero-promo span {
    font-size: 12px;
    opacity: .9;
}

/* ===== Brands strip ===== */
.brand-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.brand-item {
    width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px;
    transition: all .3s;
}
.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .7;
    transition: all .3s;
}
.brand-item:hover {
    border-color: #2563eb;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .15);
    transform: translateY(-3px);
}
.brand-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .hero-area {
        grid-template-columns: 1fr;
    }
    .hero-side {
        flex-direction: row;
    }
    .deal-of-day {
        flex: 1;
    }
    .hero-promo {
        flex: 0 0 auto;
        justify-content: center;
    }
}
@media (max-width: 767px) {
    .homeproduct {
        border-radius: 10px;
        padding: 12px 0;
    }
    .homeproduct .container {
        padding: 0 10px;
    }
    .product-section {
        padding: 16px 0;
    }
    .service-strip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .service-item {
        padding: 12px;
        gap: 10px;
    }
    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .service-item h5 {
        font-size: 13px;
    }
    .service-item p {
        font-size: 11px;
    }
    .section-head-title h3 {
        font-size: 16px;
    }
    .section-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .offer_timer .syotimer-cell {
        min-width: 30px;
        font-size: 12px;
        padding: 6px;
    }
    .ads-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .ads-banner {
        border-radius: 10px;
    }
    .hero-side {
        flex-direction: column;
    }
    .hero-promo {
        justify-content: flex-start;
    }
    .brand-item {
        width: 110px;
        height: 60px;
    }
}
@media (max-width: 480px) {
    .cat-circle-full-ring {
        padding: 3px;
    }
    .cat-circle-full-name {
        font-size: 12.5px;
    }
}
