/* Responsive CSS for Mobile and Tablet Devices */

/* Global Responsive Typography */

@media (max-width: 1199.98px) {
    html {
        font-size: 16px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.3rem;
    }

    h5 {
        font-size: 1.1rem;
    }
}

@media (max-width: 991.98px) {
    html {
        font-size: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    h4 {
        font-size: 1.2rem;
    }

    h5 {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    html {
        font-size: 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1rem;
    }
}

/* Large Desktop / Medium Monitors (1401px to 1600px) */
@media (min-width: 1401px) and (max-width: 1600px) {
    .hero-content .main-title {
        font-size: 160px;
    }

    .hero-content .player-image {
        width: 550px;
        right: 5%;
    }

    /* Product Detail Page Adjustments */
    .product-images-section .product-item img {
        height: 450px !important;
    }

    .recently-viewed-section .product-item .product-image {
        height: 320px !important;
    }
}

/* Laptop Screens (1200px to 1400px) */
@media (min-width: 1200px) and (max-width: 1400px) {
    .header-1 .navbar .nav-link {
        font-size: 14px;
        margin: 0 10px;
    }

    .hero-content .main-title {
        font-size: 140px;
    }

    .hero-content .player-image {
        width: 480px;
        right: 2%;
    }

    .hero-content .subtitle-text,
    .hero-content .description-text {
        font-size: 18px;
    }



    .product-carousel-sidebar {
        width: 280px;
        height: 400px;
    }

    .product-carousel-sidebar .carousel-btn i {
        font-size: 20px;
        color: #000;
    }

    .recently-viewed-section .section-header .h2,
    .follow-us-section .section-header h2,
    .shop-by-category-section .section-header h2,
    .product-listing-section .section-header h2 {
        font-size: 40px;
        line-height: 48px;
    }

    .recently-viewed-section .view-btn .btn-outline-primary {
        padding: 10px 15px;
        font-size: 14px;
    }

    .recently-viewed-section .product-info h4 {
        font-size: 18px;
    }

    .recently-viewed-section .product-info p {
        font-size: 16px;
    }

    /* Product Detail Page Adjustments */
    .product-images-section .product-item img {
        height: 350px !important;
    }

    .product-highlight-inner-sec h2 {
        font-size: 32px;
        line-height: 42px;
    }

    .product-highlight-inner-sec p {
        font-size: 15px;
        line-height: 24px;
    }

    .recently-viewed-section .product-item .product-image {
        height: 340px !important;
    }

    .recently-viewed-section .product-item .product-image img {
        max-height: 320px !important;
        width: auto;
        object-fit: contain;
    }

    /* Product Detail Main Area */
    .product-details-section {
        padding: 40px 0;
    }


    .product-information .product-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .product-information .section-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .product-information .custom-builder-btn,
    .product-information .souvenir-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .product-information .add-to-cart-btn {
        padding: 15px 30px;
        font-size: 16px;
        width: 100%;
    }

    .thumbnail_slider #primary_slider .splide__slide img {
        height: 500px;
        object-fit: contain;
    }

    #thumbnail_slider .splide__slide img {
        height: 80px;
        object-fit: contain;
    }
}

/* Max width 1199.98px (Large Tablets / Laptops) */
@media (max-width: 1199.98px) {
    .header-1 .navbar .action-bar {
        padding-left: 30px;
    }

    .hero-content .main-title {
        font-size: 130px;
        text-align: center;
    }

    .hero-content .col-lg-6 {
        width: 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .hero-content .player-image {
        z-index: -1;
        left: 50%;
    }



    /* Product Detail Page Tablet */
    .product-information .product-title {
        text-align: left;
    }

    .product-information .price {
        font-size: 28px;
        text-align: left;
    }

    .product-information .product-description {
        text-align: left;
    }

    .product-information .section-title {
        text-align: left;
    }

    .product-information .cta-buttons {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .product-information .pd-qty-stepper-wrap {
        align-items: center;
        width: 100%;
    }

    .product-information #pdp_stock_limit_message {
        text-align: center;
        max-width: 100%;
    }

    /* Product Listing Grid */

    .product-filter {
        padding: 20px 0 0;
            top: 120px;
    }

    #signature_preview_img,
    .souvenir-logo-preview {
        width: 110px !important;
        height: 50px !important;
    }

    .header-1 .navbar .nav-item .nav-link {
        margin: 0 8px;
        font-size: 16px;
    }

}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        left: 0px;
    }
}

/* Max width 991.98px (Tablets / Small Laptops) */
@media (max-width: 991.98px) {

    .header-1 .navbar .nav-item .nav-link {
        font-size: 16px;
        line-height: 24px;
    }

    .header-1 .navbar .action-bar img {
        width: 24px;
        height: 24px;
    }

    .mobile-action-bar {
        position: fixed;
        right: 100px;
        top: 45px;
        margin-top: 0px !important;
        z-index: 1;
    }

    .hero-content .col-lg-6 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-banner {
        height: auto;
    }

    .hero-content .description-text,
    .hero-content .subtitle-text {
        text-align: center;
        margin-bottom: 20px;
        width: 100%;
    }

    .hero-content .cta-buttons {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 5rem;
    }

    .product-carousel-sidebar {
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 0px;
        right: auto;
        top: auto;
        box-shadow: none;
        background: linear-gradient(180deg, #A8A8A8 0%, #E0E0E0 30%, #F5F5F5 50%, #E0E0E0 70%, #A8A8A8 100%);
        float: none;
        display: block;
    }

    .product-carousel-sidebar .product-title {
        font-size: 22px;
        text-align: center;
    }

    .product-carousel-sidebar .product-header {
        text-align: center;
    }

    .product-carousel-sidebar .carousel-nav {
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        padding: 0 10px;
        pointer-events: none;
    }

    .product-carousel-sidebar .carousel-btn {
        font-size: 0;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid #ccc;
        pointer-events: auto;
    }

    .product-carousel-sidebar .carousel-btn i {
        font-size: 20px;
        color: #000;
    }


    .product-carousel-sidebar .carousel-btn.prev i {
        margin-left: 12px;
    }

    .product-carousel-sidebar .carousel-btn.next i {
        margin-right: 10px;
    }

    .header-1 .navbar .nav-item .nav-link {
        margin: 10px 0;
        font-size: 16px;
        display: inline-block;
    }

    .header-1 .navbar .action-bar {
        padding-left: 0;
        justify-content: flex-start;
        margin-top: 15px;
    }

    .hero-content .main-title {
        font-size: 90px;
        margin-top: 6rem;
    }

    .hero-content .player-image {
        top: 0px;
    }

    .hero-content .description-text {
        font-size: 20px;
        margin-bottom: 2rem;
        text-align: center;
    }

    .hero-content .subtitle-text {
        text-align: center;
    }

    .action-hero-sectio {
        padding: 60px 0 0;
    }

    .recently-viewed-section,
    .follow-us-section,
    .product-highlight-section,
    .footer-section,
    .features-section,
    .shop-by-category-section,
    .best-seller-section,
    .customer-reviews,
    .contact-information-section,
    .cart-page-section {
        padding: 40px 0;
    }

    .product-carousel-sidebar {
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 50px;
        box-shadow: none;
    }

    .product-carousel-sidebar .product-header {
        text-align: center;
    }

    .product-carousel-sidebar .product-image-container {
        height: 300px;
    }

    .product-carousel-sidebar .carousel-nav {
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        padding: 0 10px;
        pointer-events: none;
    }

    .product-carousel-sidebar .carousel-btn {
        font-size: 0;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid #ccc;
        pointer-events: auto;
    }

    .product-carousel-sidebar .carousel-btn i {
        font-size: 20px;
        color: #000;
    }

    /* .hero-banner {
        height: auto;
        min-height: unset;
        padding: 40px 0 0;
    } */


    .product-images-section .product-item img {
        height: 400px;
    }

    .product-images-section {
        padding: 20px 0 0;
    }

    .footer-link {
        margin-bottom: 30px;
    }

    .copyright .payment-logo {
        text-align: left !important;
        margin-top: 20px;
    }

    .recently-viewed-section .product-item .product-image {
        height: 350px;
    }

    .product-information {
        padding: 20px 0;
    }

    /* Product Detail Tablet */


    .product-information .price {
        font-size: 22px;
    }

    .product-information .souvenir-btn,
    .product-information .custom-builder-btn {
        font-size: 15px;
        padding: 14px 25px;
    }

    .product-information .add-to-cart-btn {
        font-size: 15px;
        padding: 14px 25px;
    }


    .best-seller-section-right-content {
        margin-bottom: 0px;
        text-align: center;
    }

    .best-seller-section-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

    .shop-by-category-section .section-header {
        text-align: center;
        justify-content: center;
        display: flex;
    }

    .feature-item {
        text-align: center;
        margin-bottom: 40px;
    }

    .feature-item img {
        margin: 0 auto 20px !important;
        display: block;
        height: 60px;
    }

    .best-seller-section-right-content {
        text-align: center;
    }

    .best-seller-get-quote-btn {
        display: flex;
        justify-content: center;
        margin-top: 0px;
        width: 100%;
    }

    .best-seller-get-quote-btn .best-seller-add-to-cart-btn {
        margin: 0 auto;
        display: inline-flex;
        padding: 10px 32px;
        font-size: 16px;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        text-align: center;
    }

    .customer-reviews .review-card {
        margin: 0 auto;
        width: 100% !important;
        max-width: 100% !important;
    }

    .follow-us-section .splide__slide img {
        margin: 0 auto;
        display: block;
        width: 100%;
    }

    .splide.reviews-slider,
    .splide.instagram-slider {
        padding: 0 50px;
    }

    .shop-by-category-section .category-item-content {
        padding: 14px 14px;
    }

    .splide__arrow {
        background: #fff !important;
        width: 40px !important;
        height: 40px !important;
        border: 1px solid #ccc !important;
        opacity: 1 !important;
        z-index: 10;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    .splide__arrow svg {
        fill: #111 !important;
        height: 20px !important;
        width: 20px !important;
        display: block !important;
        opacity: 1 !important;
    }

    .splide__arrow i,
    .splide__arrow .fa-solid {
        font-size: 20px !important;
        color: #111 !important;
        display: block !important;
        opacity: 1 !important;
    }

    .splide.reviews-slider .splide__arrow--prev,
    .splide.instagram-slider .splide__arrow--prev {
        left: 5px;
    }

    .splide.reviews-slider .splide__arrow--next,
    .splide.instagram-slider .splide__arrow--next {
        right: 5px;
    }

    .footer-section,
    .footer-link ul.list-inline {
        text-align: center;
    }

    .footer-section .logo {
        margin-bottom: 30px;
        text-align: center;
        margin-top: 20px;
    }

    .footer-section .logo img {
        display: inline-block;
        margin: 0 auto;
    }

    .footer-section .footer-link {
        margin-bottom: 0px;
        text-align: center;
    }

    .footer-section .copyright .row {
        text-align: center;
    }

    .footer-section .copyright .payment-logo {
        justify-content: center;
        text-align: center !important;
        margin: 20px auto 0;
        display: block;
    }

    /* Product Listing Grid - Tablet */
    .product-listing-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .product-listing-section .product-sorting {
        margin-top: 0px;
        /* justify-content: space-between; */
    }

    .product-sorting .d-md-none.mb-2 {
        width: max-content !important;
    }

    .d-flex.flex-wrap.align-items-center.gap-2.gap-md-3.justify-content-md-end.w-100 {
        justify-content: flex-end;
    }

    footer.footer-section {
        padding-bottom: 20px;
    }

    #signature_preview_img,
    .souvenir-logo-preview {
        width: 55px !important;
        height: 30px !important;
    }
}

@media (max-width: 768px) {
.mobile-action-bar {
   top: 41px;
}
}

/* Max width 767.98px (Large Phones / Small Tablets) */
@media (max-width: 767.98px) {
    .hero-content .main-title {
        font-size: 80px;
    }

    /* .hero-content .player-image {
        width: 300px;
        position: relative;
        left: 0;
        transform: none;
        margin: 30px auto;
        display: block;
    } */

    .hero-content .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content .btn-primary-custom,
    .hero-content .btn-secondary-custom {
        width: 100%;
        justify-content: center;
    }

    .product-images-section .product-item img {
        height: 300px;
    }

    .recently-viewed-section .section-header .h2 {
        font-size: 32px;
        line-height: 42px;
    }

    .follow-us-section .section-header h2,
    .shop-by-category-section .section-header h2,
    .best-seller-section-header h2,
    .best-seller-section-right-content h2,
    .customer-reviews .reviews-title,
    .product-listing-section .section-header h2,
    .contact-us-page-header .contact-us-text h2 {
        font-size: 36px;
        line-height: 44px;
    }

    .cart-page-section .section-header h2,
    .contact-form-header h2 {
        font-size: 36px;
    }

    .recently-viewed-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .follow-us-section .follow-us-images {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .product-highlight-inner-sec p {
        padding-left: 0;
    }

    .action-hero-sectio {
        padding: 0px;
    }

    .product-highlight-section,
    .recently-viewed-section,
    .follow-us-section,
    .footer-section,
    .features-section,
    .shop-by-category-section,
    .best-seller-section,
    .customer-reviews,
    .contact-information-section,
    .cart-page-section {
        padding: 40px 0;
    }

    .recently-viewed-section .product-item .product-image {
        height: 300px;
    }

    .shop-by-category-section .category-item img {
        height: 300px;
    }

    .bigger-logo img {
        width: 100%;
        height: auto;
        display: block;
        margin-top: 20px;
    }

    .customer-reviews .review-card {
        width: 100% !important;
        padding: 20px;
    }


    /* Product Listing Grid - Small Tablet */
    .product-filter {
        margin-bottom: 0px;
        padding: 0px;
    }

    .back-to-top-btn {
        right: 15px;
        bottom: 90px;
    }

    #signature_preview_img {
        width: 60px !important;
        height: 23px !important;
    }

    .souvenir-logo-preview {
        width: 40px !important;
        height: 25px !important;
    }

    .engraving-text {
        top: 41.5%
    }
}

/* Max width 575.98px (Phones) */
@media (max-width: 575.98px) {
    .souvenir-logo-preview {
        width: 30px !important;
        height: 20px !important;
    }

    .back-to-top-btn {
        right: 10px;
        bottom: 75px;
    }

    .mobile-action-bar {
        right: 80px;
        top: 20px;
    }

    .recently-viewed-section .product-item .product-image img {
        width: 100%;
        height: 160px;
    }

    .recently-viewed-section .container .row>* {
        padding-right: calc(var(--bs-gutter-x) * .3);
        padding-left: calc(var(--bs-gutter-x) * .3);
    }

    .header-1 .top-header p {
        font-size: 13px;
        line-height: 18px;
    }

    .hero-content .main-title {
        font-size: 48px;
        margin-bottom: 2rem;
        margin-top: 4rem;
    }

    .hero-content .cta-buttons {
        margin-bottom: 4rem;
    }

    .hero-content .description-text,
    .hero-content .subtitle-text {
        font-size: 16px;
        margin-bottom: 0.5rem;
    }


    .product-information .price {
        font-size: 20px;
    }

    .product-information .add-to-cart-btn {
        width: 100%;
        margin: 5px 0;
        display: block;
    }

    .product-control-content .product-control-header {
        font-size: 24px;
        line-height: 32px;
    }

    .recently-viewed-section .section-header .h2,
    .follow-us-section .section-header h2,
    .shop-by-category-section .section-header h2,

    .best-seller-section-header h2,
    .best-seller-section-right-content h2,
    .customer-reviews .reviews-title,
    .product-listing-section .section-header h2,
    .contact-us-page-header .contact-us-text h2 {
        font-size: 28px;
        line-height: 36px;
        text-align: center;
    }

    .cart-page-section .section-header h2,
    .contact-form-header h2 {
        font-size: 24px;
    }

    .recently-viewed-section .product-item .product-image {
        height: 200px;
    }

    .recently-viewed-section .section-header .btn.btn-outline-primary {
        padding: 14px 16px;
        font-size: 14px;
        width: 100%;
    }

    .shop-by-category-section .category-item-icon {
        width: 40px;
        height: 40px;
    }

    .shop-by-category-section .category-item img {
        height: 250px;
    }

    .best-seller-section-header .best-seller-btn {
        font-size: 16px;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }

    .best-seller-section-header {
        flex-direction: column;
        align-items: center;
    }

    .customer-reviews .review-card {
        width: 100% !important;
        padding: 15px;
    }

    .contact-information-section .contact-info-box {
        padding: 30px 15px;
    }

    .contact-form-wrapper {
        padding: 25px 15px;
    }

    /* Product Listing Grid - Mobile */
    .product-listing-products {
        gap: 8px;
    }

    .product-listing-products .product-card .product-image {
        height: 200px;
    }

    .product-listing-products .product-card .product-image img {
        height: 140px;
    }

    .engraving-text {
        top: 34.2%
    }
}

@media (max-width: 480.98px) {
.collection-banner-section .collection-banner-img, .page-hero-bg {
        height: 120px;
    }
    #signature_preview_img {
        width: 28px !important;
        height: 20px !important;
        top: 40% !important;
    }

    .souvenir-logo-preview {
        width: 30px !important;
        height: 18px !important;
    }

    .qty-container-sec {
        flex-direction: column;
        gap: 18px;
    }
}


@media (max-width: 380.98px) {
    #signature_preview_img {
        width: 28px !important;
        height: 12px !important;
    }

    .souvenir-logo-preview {
        width: 30px !important;
        height: 12px !important;
    }
}
