:root {
    --brand-primary: #075b68;
    --brand-primary-dark: #073543;
    --brand-secondary: #6f3e86;
    --brand-accent: #d39b2b;
    --brand-warm: #b65438;
    --brand-cool: #146c8c;
    --surface: #ffffff;
    --surface-soft: #f3f6f8;
    --text-primary: #14202b;
    --text-muted: #647385;
    --border-soft: #dfe6ee;
    --shadow-soft: 0 10px 30px rgba(20, 32, 43, 0.08);
    --shadow-card: 0 8px 24px rgba(20, 32, 43, 0.09);
    --radius-lg: 8px;
    --radius-md: 6px;
}

body {
    background:
        radial-gradient(circle at 8% 4%, rgba(211, 155, 43, 0.13), transparent 28rem),
        radial-gradient(circle at 92% 10%, rgba(111, 62, 134, 0.12), transparent 26rem),
        linear-gradient(180deg, #eef3f4 0%, #f8faf9 42%, #edf3f6 100%);
    color: var(--text-primary);
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* Keep third-party sliders and Bootstrap rows inside the visual viewport. */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

#content {
    padding-top: 150px;
}

.top_header {
    background: linear-gradient(90deg, #101f2c 0%, #073543 42%, #075b68 72%, #6f3e86 100%) !important;
}

.main-header {
    box-shadow: 0 12px 34px rgba(20, 32, 43, 0.1);
    border-bottom: 1px solid rgba(7, 91, 104, 0.12);
}

.logo-area {
    background:
        linear-gradient(90deg, rgba(255,255,255,.98), rgba(248,251,251,.94)),
        linear-gradient(135deg, rgba(211,155,43,.16), rgba(7,91,104,.12));
}

.main-logo img,
.menu-logo img,
.mobile-menu-logo .logo-image img {
    max-height: 62px;
    width: auto;
    object-fit: contain;
}

.main-search form,
.mobile-search form {
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 3px 10px rgba(17, 24, 39, 0.04);
}

.main-search form input,
.mobile-search form input {
    background: transparent;
    color: var(--text-primary);
}

.main-search form button,
.mobile-search form button {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    color: #fff;
    border-radius: 999px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.main-search form button:hover,
.mobile-search form button:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.menu-area {
    background: linear-gradient(90deg, #0e2634 0%, #075b68 48%, #6f3e86 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.catagory_menu ul li a {
    color: #fff;
    font-weight: 500;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.catagory_menu ul li a:hover {
    color: #fff;
    opacity: 0.88;
}

.Cat_menu,
.child_menu,
.sidebar-menu,
.sidebar-submenu,
.sidebar-childmenu {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.home-slider-container,
.section-meta-description,
.description-nav-wrapper,
section.related-product-section,
section.pro_details_area {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.home-slider-container,
section.related-product-section,
section.pro_details_area {
    background: var(--surface);
}

.homeproduct,
.category-main-section,
.campaign-main-section,
.bottoads_area,
.footer_top_ads_area {
    background: transparent;
    position: relative;
}

.homeproduct {
    padding: 18px 0;
}

.homeproduct:nth-of-type(odd) {
    background: linear-gradient(90deg, rgba(255,255,255,.32), rgba(232,243,245,.44), rgba(255,255,255,.28));
}

.homeproduct:nth-of-type(even) {
    background: linear-gradient(90deg, rgba(247,243,233,.38), rgba(255,255,255,.28), rgba(237,243,246,.45));
}

.section-title-header {
    border-radius: 8px;
    background: linear-gradient(90deg, #e7f2f4 0%, #fff8e8 56%, #f1eaf5 100%);
    border: 1px solid var(--border-soft);
    padding: 10px 14px;
}

.section-title-name {
    color: #152634;
    letter-spacing: 0.2px;
    font-weight: 800;
}

.product_item {
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    padding: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(7,91,104,.28), rgba(211,155,43,.22), rgba(111,62,134,.22)) border-box;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.product_item_inner {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
}

.product_item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(20, 32, 43, 0.16);
    border-color: rgba(7, 91, 104, 0.45) !important;
}

.pro_img {
    border-radius: 6px;
    background: linear-gradient(180deg, #ffffff 0%, #f2f7f8 100%);
    border: 1px solid #edf1f6;
}

.pro_img img,
.dimage_item img,
.indicator-item img,
.slider-item img,
.cat_img img,
.category-sliger img {
    background: #fff;
}

.product_item:hover .pro_img img {
    transform: scale(1.045);
}

.pro_name a {
    color: var(--text-primary);
    line-height: 1.35;
    font-weight: 600;
}

.pro_name a:hover {
    color: var(--brand-primary);
    text-decoration: none;
}

.pro_price p {
    color: var(--brand-primary-dark);
    font-weight: 700;
}

.pro_price del {
    color: #6b7280;
}

.discount {
    background: linear-gradient(135deg, #c33d3d, var(--brand-accent));
    border-radius: 999px;
}

.quick_view_btn {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
}

.pro_btn button,
.cart_btn a,
a.view_more_btn,
a.custom-button {
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.pro_btn button,
.cart_btn a,
a.view_more_btn {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    color: #fff;
}

.pro_btn button:hover,
.cart_btn a:hover,
a.view_more_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(7, 91, 104, 0.28);
    filter: brightness(1.05);
}

.timer_inner .syotimer-cell {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    box-shadow: 0 6px 12px rgba(7, 91, 104, 0.28);
}

.main_product_inner,
.product_sliders {
    gap: 16px;
}

.main_product_inner {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.product_sliders {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.owl-carousel .product_item {
    height: auto;
}

.pro_des {
    flex: 1 1 auto;
    min-height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pro_name {
    width: 100%;
}

.pro_price {
    margin-top: auto;
}

.pro_btn,
.pro_btn form,
.cart_btn,
.order_button {
    width: 100%;
}

.pro_btn button,
.pro_btn a {
    min-height: 40px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    line-height: 1.2 !important;
}

.slider-item img,
.home-slider-container img {
    width: 100%;
    object-fit: cover;
}

.category-sliger img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.track_btn a,
.for_order a {
    padding: 8px 12px;
    border-radius: 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.track_btn a:hover,
.for_order a:hover {
    background: #edf5ff;
    color: var(--brand-secondary);
}

.modern-footer {
    background:
        radial-gradient(circle at 15% 0%, rgba(211,155,43,.20), transparent 18rem),
        linear-gradient(135deg, #101f2c 0%, #173b4a 48%, #352243 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.2);
}

.details_right,
.details-action-box,
.indicator_thumb,
.dimage_item {
    border-radius: 8px;
}

.details_right {
    border-color: var(--border-soft);
    box-shadow: var(--shadow-card);
}

.details_slider {
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: #fff;
}

.dimage_item {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.dimage_item img {
    width: 100%;
    height: 420px;
    object-fit: contain;
}

.indicator_thumb {
    gap: 8px;
}

.indicator-item {
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.details-price {
    color: var(--brand-primary-dark);
    font-weight: 800;
}

.add_cart_btn,
.order_now_btn,
.details-review-button {
    border-radius: 6px !important;
    font-weight: 700 !important;
}

.footer-links a {
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
}

.footer_nav {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.15);
}

.scrolltop {
    box-shadow: 0 10px 20px rgba(7, 91, 104, 0.4);
}

.site-animate {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s ease, filter .65s ease;
    will-change: opacity, transform;
}

.site-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-animate[data-anim="fade-left"] {
    transform: translateX(-24px);
}

.site-animate[data-anim="fade-right"] {
    transform: translateX(24px);
}

.site-animate[data-anim="zoom-soft"] {
    transform: scale(.97);
    filter: saturate(.92);
}

.site-animate.is-visible[data-anim="fade-left"],
.site-animate.is-visible[data-anim="fade-right"] {
    transform: translateX(0);
}

.site-animate.is-visible[data-anim="zoom-soft"] {
    transform: scale(1);
    filter: saturate(1);
}

.site-animate:nth-child(2n) {
    transition-delay: .06s;
}

.site-animate:nth-child(3n) {
    transition-delay: .12s;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .site-animate {
        opacity: 1;
        transform: none !important;
        filter: none !important;
    }
}

@media (max-width: 991.98px) {
    #content {
        padding-top: 132px;
    }

    .main-logo img {
        max-height: 56px;
    }

    .product_item {
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
    }

    .main_product_inner,
    .product_sliders {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 767.98px) {
    #content,
    main,
    section,
    .container,
    .container-fluid,
    .row,
    [class*="col-"] {
        min-width: 0;
        max-width: 100%;
    }

    .container,
    .container-fluid {
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
    }

    .row {
        margin-right: -5px;
        margin-left: -5px;
    }

    .row > * {
        min-width: 0;
        padding-right: 5px;
        padding-left: 5px;
    }

    .owl-carousel,
    .owl-carousel .owl-stage-outer,
    .category-sliger,
    .product_slider,
    .flash_sale_slider,
    .all-products-slider {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .owl-carousel .owl-item {
        min-width: 0;
    }

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

    .section-title-header {
        padding: 8px 10px;
        width: 100%;
        margin-bottom: 10px;
    }

    .pro_name {
        height: auto;
        min-height: 40px;
    }

    .product_item {
        border-radius: 8px;
        padding: 6px;
        min-width: 0;
    }

    .pro_img {
        height: clamp(145px, 42vw, 190px);
    }

    .dimage_item {
        min-height: 280px;
    }

    .dimage_item img {
        height: 280px;
    }

    .top_header .container a {
        min-width: auto !important;
        font-size: 14px !important;
    }

    .main_product_inner,
    .product_sliders {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        align-items: stretch;
    }

    .pro_des {
        min-height: 112px;
    }

    .pro_name {
        height: 68px;
        min-height: 68px;
        margin-top: 8px;
        padding: 0 4px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .pro_price {
        min-height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pro_price p {
        width: 100%;
        margin: 0;
    }

    .pro_btn {
        margin-top: 6px;
    }

    .pro_name a {
        font-size: 13px;
        overflow-wrap: anywhere;
    }

    a.view_more_btn {
        float: none !important;
        display: table;
        margin: 14px auto 4px;
        padding: 9px 18px;
        text-align: center;
    }

    .footer_nav ul li a span {
        font-size: 11px;
    }
}

@media (max-width: 374.98px) {
    .main_product_inner,
    .product_sliders {
        gap: 8px;
    }

    .product_item {
        padding: 5px;
    }

    .pro_name {
        min-height: 44px;
    }

    .pro_name a {
        font-size: 12px;
    }

    .pro_btn button,
    .pro_btn a {
        font-size: 12px !important;
        min-height: 36px;
    }
}
