/* Page styles for home
   Moved out of the inline <style> in resources/views/front/index.blade.php
 */

    /* Cart fly css */
    .fly-cart-image {
        border-radius: 10px;
    }

    .cart-bounce {
        animation: cartBounce 0.7s ease;
    }

    @keyframes cartBounce {

        0% {
            transform: scale(1);
        }

        25% {
            transform: scale(1.25);
        }

        50% {
            transform: scale(0.9);
        }

        75% {
            transform: scale(1.1);
        }

        100% {
            transform: scale(1);
        }
    }

    /* ------------------------------------------------------------------
       Home page product card (.vk-pcard)

       Scoped deliberately: every rule is prefixed .vk-pcard so none of it
       can reach the shop grid, which still uses the theme's original
       .product / .product_info / .product_title card. style.css styles
       those generic names globally, so re-skinning them in place would
       have changed shop and category pages too.

       Markup: front/layout/_product-card.blade.php
       ------------------------------------------------------------------ */
    .vk-pcard {
        --vk-gold: var(--gold, #B58A46);
        background: #fff;
        border-radius: 18px;
        padding: 10px;
        box-shadow: 0 2px 10px rgba(21, 43, 57, .07);
        transition: box-shadow .25s ease, transform .25s ease;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .vk-pcard:hover {
        box-shadow: 0 8px 24px rgba(21, 43, 57, .13);
        transform: translateY(-3px);
    }

    .vk-pcard__media {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        background: #f4f2ef;
    }

    /* The theme sets a fixed height on ._1IXIk img - override inside the
       card so the 1:1 box is driven by aspect-ratio instead. */
    .vk-pcard__img {
        display: block;
        width: 100%;
        height: auto !important;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        transition: transform .45s ease;
    }

    .vk-pcard:hover .vk-pcard__img {
        transform: scale(1.04);
    }

    /* Always visible, unlike the theme's hover-reveal .product_action_box. */
    .vk-pcard__wish {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: #fff;
        color: var(--vk-gold);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        line-height: 1;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .16);
        transition: background .2s ease, color .2s ease;
    }

    .vk-pcard__wish:hover {
        background: var(--vk-gold);
        color: #fff;
    }

    /* homepage.js toggles .wishlist-active on click, and the global rule
       for it is `background-color: red !important` - so these two need
       !important purely to win that specificity fight. */
    .vk-pcard__wish.wishlist-active {
        background-color: var(--vk-gold) !important;
        color: #fff;
    }

    .vk-pcard__body {
        padding: 16px 8px 8px;
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
    }

    .vk-pcard__title {
        margin: 0 0 5px;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 19px;
        font-weight: 400;
        line-height: 1.3;
        letter-spacing: .1px;
    }

    .vk-pcard__title a {
        color: #1a1a1a;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .vk-pcard__title a:hover {
        color: var(--vk-gold);
    }

    .vk-pcard__code {
        font-size: 13.5px;
        color: #a0a0a0;
        margin-bottom: 10px;
        letter-spacing: .2px;
    }

    .vk-pcard__price {
        margin-bottom: 14px;
        line-height: 1;
    }

    .vk-pcard__amt {
        font-size: 21px;
        font-weight: 600;
        color: #16181a;
    }

    .vk-pcard__unit {
        font-size: 14px;
        color: #8d8d8d;
        margin-left: 2px;
    }

    /* Pushed to the bottom so buttons line up across a row of cards whose
       titles wrap to different heights. */


    /* Scoped with .vk-pcard so it beats the page-level .cart_btn below
       (dark, square-bottomed), which is declared later in this file and
       would otherwise win on source order. */
    .vk-pcard .vk-pcard__btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 9px;
        width: 100%;
        padding: 12px 10px;
        border-radius: 10px;
        background: var(--vk-gold);
        color: #fff !important;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: .6px;
        text-transform: uppercase;
        transition: background .2s ease;
    }

    .vk-pcard .vk-pcard__btn i {
        font-size: 16px;
    }

    .vk-pcard .vk-pcard__btn:hover {
        background: #9c7434;
    }

    .vk-pcard .vk-pcard__btn.wishlist-active {
        background-color: #4f9b52 !important;
    }

    .vk-pcard__oos {
        text-align: center;
        padding: 12px 10px;
        border-radius: 10px;
        background: #f2f2f2;
        color: #80898e;
        font-size: 13.5px;
        font-weight: 500;
        letter-spacing: .5px;
        text-transform: uppercase;
    }

    /* The column already carries 8px side padding inline. */
    .vk-pcard-col {
        display: flex;
    }

    .vk-pcard-col > .item {
        width: 100%;
    }

    @media (max-width: 599px) {
        .vk-pcard {
            padding: 8px;
            border-radius: 14px;
        }

        .vk-pcard__body {
            padding: 12px 5px 5px;
        }

        .vk-pcard__title {
            font-size: 16px;
        }

        .vk-pcard__amt {
            font-size: 18px;
        }

        .vk-pcard .vk-pcard__btn {
            padding: 10px 8px;
            font-size: 11px;
            gap: 7px;
        }
    }

    /* Cart fly css */
    .cart_btn {
        display: inline-block;
        width: 100%;
        background: #1f1f1f;
        color: #fff !important;
        padding: 7px;
        border-radius: 0px 0px 10px 10px;
        text-align: center;
        font-size: 12px;
        font-weight: 500;
        text-decoration: none;
        transition: 0.3s;
    }

    @media only screen and (min-width: 800px) and (max-width: 999px) {

        .newarrival,
        .trendingproduct {
            -ms-flex: 0 0 25%;
            flex: 0 0 25%;
            max-width: 25%;
        }
    }

    @media only screen and (min-width: 600px) and (max-width: 799px) {

        .newarrival,
        .trendingproduct {
            -ms-flex: 0 0 33.33%;
            flex: 0 0 33.33%;
            max-width: 33.33%;
        }
    }

    @media only screen and (min-width: 300px) and (max-width: 599px) {

        .newarrival,
        .trendingproduct {
            -ms-flex: 0 0 50%;
            flex: 0 0 50%;
            max-width: 50%;
        }
    }

    @media (min-width: 1000px) {

        .newarrival,
        .trendingproduct {
            -ms-flex: 0 0 20%;
            flex: 0 0 20%;
            max-width: 20%;
        }
    }

    /* Section titles - Shop by Category, New Arrival, Trending Products.
       All three use the same .heading_tab_header > .heading_s2 > h4, and
       that wrapper is only used on this page, so these rules cover those
       three and nothing else.

       The theme makes this a flex row with a full-width 1px #ddd rule under
       it. Switched to a centred block: the row only ever holds the title
       and an empty .view_all div, so dropping the flex costs nothing and
       lets the heading centre cleanly. The grey rule is replaced by a short
       gold one under the title itself. */
    .heading_tab_header {
        display: block;
        text-align: center;
        border-bottom: 0;
        padding-bottom: 0;
        margin-top: 34px;
        margin-bottom: 40px;
    }

    .heading_tab_header .heading_s2 h4 {
        position: relative;
        display: inline-block;
        font-size: 30px;
        font-weight: 700;
        letter-spacing: .01em;
        color: var(--ink, #152B39);
        padding-bottom: 16px;
    }


    .heading_tab_header .heading_s2 h4::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        width: 56px;
        height: 2px;
        background: var(--gold, #B58A46);
    }


    .product .product_title,
    .product .product_title a {
        font-weight: 600;
        color: var(--ink, #152B39);
    }



    @media only screen and (max-width: 767px) {
        .heading_tab_header {
            margin-top: 20px;
            margin-bottom: 26px;
        }

        .heading_tab_header .heading_s2 h4 {
            font-size: 22px;
            padding-bottom: 12px;
        }

        .heading_tab_header .heading_s2 h4::after {
            width: 44px;
        }

        .section.small_pt.pb-0.pt-0,
        .section.small_pt.small_pb,
        .small_pt.small_pb.mb-4 {
            padding-bottom: 32px !important;
        }
    }

    .navbar-sticky-top {
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .dropdown-toggle::after,
    .dropdown-toggler::after {
        content: none;
    }

    .pr_action_btn li a:hover {
        background-color: #fff;
        color: black;
    }

    .wishlist-active {
        background-color: red !important;
    }

    .back_color {
        background-color: #152B39;
    }

    .font_color {
        color: #152B39;
    }

    .back_bor_color {
        border: 1px solid #152B39;
    }

    .owl-carousel .owl-item img {
        width: auto;
    }

    .owl-theme .owl-dots .owl-dot.active span,
    .owl-theme .owl-dots .owl-dot:hover span {
        background-color: #152B39;
    }

    .owl-theme .owl-dots .owl-dot span {
        border: 1px solid #152B39;
    }

    a:hover {
        color: #152B39;
    }

    .carousel-control-next:hover,
    .carousel-control-prev:hover,
    .light_arrow .carousel-control-next:hover,
    .light_arrow .carousel-control-prev:hover {
        background-color: #152B39;
    }

    .price {
        color: #152B39;
    }

    .social_white .social_icons li a:hover,
    .social_white.social_icons li a:hover {
        color: #152B39;
    }

    .scrollup:hover {
        background-color: #152B39;
    }

    .footer_dark a:hover,
    .footer_dark .widget_links li a:hover,
    .widget_links li a:hover,
    .footer_dark .footer_link li a:hover,
    .footer_link li a:hover {
        color: #fff;
    }

    #navCatContent li a:hover {
        color: #152B39;
    }

    /*.middle-header {
    background-color: #fdf1f2;
}*/

    .carousel_slider .product,
    .carousel_slider .product_wrap {
        margin: 5px;
        box-shadow: 0 1px 8px 0 rgb(161 161 161 / 50%);
    }

    #myList li {
        display: none;
    }

    #showLess {
        cursor: pointer;
    }

    .fa-microphone:hover {
        color: #b32121;
    }

    .scrollup {
        bottom: 100px !important;
    }

    .lng_dropdown .ddcommon .ddChild li {
        padding-left: 10px;
    }

    .navbar .attr-nav li .search_trigger i {
        font-weight: bold !important;
    }

    .card-sub-topic-title {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 15px;
    }

    .card-body.card-body-topic.card-body-topic-align {
        margin-top: 0px;
    }

    .card-body-topic {
        background-color: #0000009e;
        border: 0px !important;
    }

    .card-topic.card .card-body:hover {
        background-color: #000000c7;
        border: 0px !important;
    }

    .card-body-topic-align {
        position: absolute;
        top: 0%;
        left: 0%;
        height: 100%;
        width: 100%;
    }

    .box-img {
        width: 100%;
        height: auto;
        border-radius: 30px;
    }

    .whatsapp_svg {
        bottom: 50px !important;
        color: #ffffff;
        font-size: 24px;
        height: 40px;
        line-height: 40px;
        position: fixed;
        right: 20px;
        text-align: center;
        width: 40px;
        z-index: 99;
    }

    @media only screen and (min-width: 992px) {
    }

    @media only screen and (min-width: 800px) {
        .middle-header {
            padding-top: 0px;
        }
    }


    @media only screen and (max-width: 300px) {
        .col-6 {
            flex: 0 0 100%;
            max-width: 100%;
            padding-bottom: 20px;
        }
    }

    @media only screen and (min-width: 250px) and (max-width: 350px) {
        .navbar-brand img {
            margin-left: 140% !important;
        }
    }

    @media only screen and (min-width: 300px) and (max-width: 450px) {
        .mobilePadding {
            padding-right: 2px !important;
        }
    }



    @media only screen and (min-width: 351px) and (max-width: 450px) {
        .navbar-brand {
            width: 11% !important;
        }


    }

    @media only screen and (min-width: 576px) and (max-width: 800px) {
        .navbar-brand img {
            padding-left: 170px;
        }

        .categories_btn {
            width: auto;
        }

        .categories_btn.categories_menu {
            left: 10px;
            padding: 7px 15px;
            border-radius: 4px;
            position: fixed !important;
            top: 3;
            z-index: 20;
        }
    }

    @media only screen and (max-width: 575px) {
        .navbar-brand img {
            margin-left: 100%;
        }

        .categories_btn.categories_menu {
            left: 10px;
            background-color: #fff;
            color: black;
            border: white;
            padding: 8px;
            position: fixed !important;
            top: 14px;
            z-index: 20;
        }

        .navbar-brand {
            width: 8%;
        }

    }

    @media only screen and (max-width: 800px) {

        .product_action_box li {
            opacity: inherit;
        }

        .navbar-brand img {
            max-height: 40px;
            max-width: 400px;
        }

        .categories_wrap {
            top: -21px;
            left: -60px;
        }

        .shop_banner_slider {
            margin-top: -10px;
        }

        .nav_block {
            margin-top: -1px;
            margin-bottom: -1px;
        }
    }

    @media (min-width: 1200px) {

        .mb-xl-n4,
        .my-xl-n4 {
            margin-bottom: 0rem !important;
        }
    }

    @media only screen and (min-width: 1000px) {
        .mobile_view_search {
            display: none;
        }
    }

    @media only screen and (max-width: 1000px) {

        /*.cat_product_info{
        margin-top: -30%;
    }
    */
        .product .product_title,
        .product_box .product_title,
        .product_wrap .product_title {
            font-size: 14px !important;
        }
    }

    @media only screen and (max-width: 1350px) {
        .product_search_form {
            max-width: 410px;
        }
    }

    @media only screen and (max-width: 1100px) {
        .contactPhone {
            display: none;
        }
    }

    @media only screen and (max-width: 380px) {

        .btn-group-sm>.btn,
        .btn-sm {
            font-size: 10px;
        }



    }

    .box-grid {
        /*display: grid;*/
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        grid-gap: 1.5rem;
        justify-items: center;
        margin: 0;
        padding: 0;
    }

    .box-caption {
        position: absolute;
        max-width: 200px;
        word-break: break-word;
        background: rgba(255, 255, 255, 0.5);
        /* background: white; */
        width: 80%;
        padding: 5px;
        border-radius: 8px !important;
    }

    .box-flex {
        display: flex;
        flex-flow: row nowrap;
        align-items: flex-start;
        justify-content: center;
        position: relative;
        text-align: center;
        font-size: 1.2rem;
        word-break: break-word;
        color: #d9d9d9;
    }

    /* Box: Bottom Center */
    .box-flex-bottom {
        align-items: flex-end;
    }

    .dropdown-toggler {
        position: relative;
    }

    .dropdown-toggler:after {
        content: "\f107";
        /* down arrow */
        font-family: "Font Awesome 5 Free";
        font-weight: 600;
        top: 10px !important;
    }


    .mobile_view_logo {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }


    .p-3 {
        padding: 0.5rem !important;
    }

    @media (max-width: 767.98px) {
        .custom-container .nav_block {
            display: none;
        }

        .announcement-bar {
            position: fixed !important;
            top: 0 !important;
            background: #000;
            color: #fff;
            overflow: hidden;
            white-space: nowrap;
            height: 30px;
            line-height: 30px;
            z-index: 10000 !important;
        }
    }

    .announcement-bar {
        background: #fff;
        color: #000;
        overflow: hidden;
        white-space: nowrap;
        height: 30px;
        line-height: 30px;
        position: relative;
        width:100%;
    }


    .carousel-control-next, .carousel-control-prev { border:none; }
