/* ===================================
   MOBILE RESPONSIVE CSS (768px and below)
   =================================== */

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

    .header {
        position: relative;
    }

    /* Reset wrapper for mobile */
    .wrapper {
        width: 95%;
        padding: 0 2.5%;
        gap: 70px;
    }

    /* Typography */
    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 18px;
    }

    /* Header Responsive */
    .header .top {
        font-size: 12px;
        padding: 8px;
    }

    .header .main .wrapper {
        width: 92%;
        padding: 15px 4%;
        flex-direction: row;
        justify-content: space-between;
        gap: 0px;
    }

    .header .main .wrapper .logo img {
        width: 200px;
        height: auto;
    }

    .header .main .wrapper .actions {
        gap: 12px;
    }

    .header .main .wrapper .actions .icon-btn {
        font-size: 16px;
    }

    .header .menu {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0;
    }

    .header .menu nav ul {
        justify-content: flex-start;
        gap: 15px;
        padding: 12px 15px;
        min-width: max-content;
    }

    .header .menu nav ul li {
        padding: 8px 0;
    }

    .header .menu nav ul li a {
        font-size: 12px;
        white-space: nowrap;
    }

    .header .menu nav ul li .dropdown {
        left: 0;
        transform: none;
        min-width: 180px;
    }

    /* Banner Responsive */
    .banner {
        min-height: 190px;
        padding: 0 2% 20px 2%;
    }

    .banner {
        & .carousel-container {
            & .carousel-slide {
                img {
                    object-fit: fill;
                }
            }
        }
    }

    .banner .carousel-container {
        max-width: 100%;
        height: 180px;
        border-radius: 30px;
        margin-top: 35px;
    }

    .banner .carousel-container .carousel-slide {
        flex-direction: column;
        padding: 0;
        justify-content: center;
    }

    .banner .carousel-container .carousel-slide .content {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .banner .carousel-container .carousel-slide .content span {
        font-size: 28px;
    }

    .banner .carousel-container .carousel-slide .content h2 {
        font-size: 32px;
        margin: 0 0 15px 0;
    }

    .banner .carousel-container .carousel-slide .content .coupon-btn {
        padding: 8px 20px;
        font-size: 16px;
    }

    .banner .carousel-container .carousel-slide .image {
        width: 70%;
        height: auto;
        justify-content: center;
    }

    .banner .carousel-container .nav-arrow {
        width: 35px;
        height: 35px;
    }

    .banner .carousel-container .nav-arrow.next {
        right: 10px;
        display: none;
    }

    .banner .carousel-container .nav-arrow.prev {
        left: 10px;
        display: none;
    }

    .banner .carousel-container .carousel-dots {
        bottom: 20px;
    }

    /* Category Section */
    .category {
        padding: 30px 15px;
    }

    .category .cat-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin: 30px 0;
    }

    .category .cat-item {
        flex: 0 0 calc(33.333% - 12px);
        max-width: calc(33.333% - 12px);
        text-align: center;
    }

    .category .cat-item img {
        width: 80px;
        height: 80px;
    }

    .category .cat-item h3 {
        font-size: 14px;
        margin-top: 8px;
    }

    /* Product Grid */
    .product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-list .product-item {
        border-radius: 40px;
    }

    .product-list .product-item img {
        height: 180px;
    }

    .product-list .product-item span {
        font-size: 18px;
        margin-top: 15px;
    }

    .product-list .product-item p {
        font-size: 22px;
        padding: 8px 0 25px;
    }

    .explore-btn {
        padding: 30px 0 0;
    }

    .explore-btn a {
        font-size: 18px;
        padding: 10px 20px;
    }

    /* Beginning Section */
    .beginning-section {
        padding: 60px 0 0;
    }

    .beginning-section h2 {
        margin-bottom: 30px;
        font-size: 36px;
    }

    .beginning-section .beginning-swiper {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .beginning-section .beginning-swiper .swiper-slide {
        width: 250px;
        height: 350px;
    }

    /* Media Section */
    .media-section {
        padding: 60px 0 40px;
    }

    .media-section h2 {
        margin-bottom: 30px;
        font-size: 36px;
    }

    .media-section .media-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .media-section .media-card {
        width: calc(50% - 15px);
        height: 330px;
        border-radius: 20px;
    }

    .media-section .media-card.down {
        margin-top: 0;
    }

    .media-section .media-card .play-btn {
        width: 45px;
        height: 45px;
    }

    .media-section .media-card .play-btn i {
        font-size: 18px;
    }

    /* Choose Section */
    .choose-section {
        padding: 50px 0 60px;
    }

    .choose-section h2 {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .choose-section .choose-grid {
        gap: 40px;
    }

    .choose-section .choose-item {
        height: 120px;
    }

    .choose-section .center-logo {
        width: 70px;
        height: 70px;
    }

    /* Store Section */
    .store-section {
        flex-direction: column;
        height: auto;
    }

    .store-section .store-image {
        width: 100%;
        height: 160px;
    }

    .store-section .store-image img {
        -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
        object-fit: contain;
        height: auto;
    }

    .store-section .store-content {
        width: 100%;
        padding: 30px 20px 40px;
        align-items: center;
        text-align: center;
    }

    .store-section .store-content h2 {
        font-size: 42px;
    }

    .store-section .store-content p {
        font-size: 18px;
        margin: 0 0 25px 0;
    }

    .store-section .store-content .find-store-btn {
        padding: 10px 25px;
        font-size: 16px;
    }

    /* Footer */
    .footer {
        padding: 50px 0 30px;
    }

    .footer .footer-header h2 {
        font-size: 42px;
    }

    .footer .footer-grid {
        flex-direction: row;
        gap: 30px;
        margin-bottom: 50px;
        padding-bottom: 35px;
    }

    .footer .footer-col {
        min-width: 28%;
    }

    .footer .footer-col h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .footer .footer-col ul li a {
        font-size: 14px;
    }

    .footer .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer .footer-bottom .social-icons {
        justify-content: center;
    }

    .footer .footer-bottom .partners {
        flex-direction: column;
        gap: 10px;
    }

    .footer .footer-bottom .legal-links {
        flex-direction: column;
        gap: 10px;
    }

    /* Product Details Page */
    .product-single-sec {
        padding: 30px 0;
    }

    .product-single-sec .row {
        display: flex;
        flex-direction: column;
    }

    .product-single-sec .product-single-left {
        margin-bottom: 30px;
    }

    .product-single-sec .product-single-left .big-img img.tabcontent {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 20px;
        margin-bottom: 15px;
    }

    .product-single-sec .product-single-left .img-tab-btn .thumbnail-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .product-single-sec .product-single-left img.tablinks {
        height: 80px;
        width: 100%;
        border-radius: 8px;
        object-fit: cover;
    }

    .product-single-sec .product-single-left img.tablinks:hover,
    .product-single-sec .product-single-left img.tablinks.active {
        border-color: #312110;
    }

    .product-single-sec .product-single-right h2 {
        font-size: 28px;
    }

    .product-single-sec .product-single-right h5 {
        font-size: 26px;
    }

    .product-single-sec .product-single-right .price-container {
        margin: 12px 0;
    }

    .product-single-sec .product-single-right p.p1 {
        font-size: 13px;
    }

    .product-single-sec .product-single-right p.p1 a {
        font-size: 13px;
    }

    .product-single-sec .product-single-right p.p2 a {
        font-size: 13px;
    }

    .product-single-sec .product-single-right .apply-coupon-div {
        padding: 12px;
        margin-top: 12px;
    }

    .product-single-sec .product-single-right .color,
    .product-single-sec .product-single-right .metal,
    .product-single-sec .product-single-right .ring-size {
        margin-bottom: 20px;
    }

    .product-single-sec .product-single-right .color p,
    .product-single-sec .product-single-right .metal p,
    .product-single-sec .product-single-right .ring-size p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .product-single-sec .product-single-right .btns {
        flex-direction: column;
        gap: 12px;
    }

    .product-single-sec .product-single-right .btns button,
    .product-single-sec .product-single-right .btns a button {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    .product-single-sec .product-single-right .pincode {
        display: flex;
        gap: 10px;
        margin-top: 15px;
    }

    .product-single-sec .product-single-right .pincode input {
        flex: 1;
        padding: 10px;
    }

    .product-single-sec .product-single-right .pincode button {
        padding: 10px 20px;
    }

    /* Additional Info Section */
    .additional-info {
        margin-top: 40px;
    }

    .additional-info h2 {
        font-size: 32px;
    }

    .additional-info .div-1 {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .additional-info .weight {
        width: 90%;
    }

    .additional-info table {
        font-size: 12px;
    }

    .additional-info table td {
        padding: 8px 5px;
    }

    /* Similar Products */
    .similar-product {
        padding: 40px 0;
    }

    .similar-product h2 {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .similar-product .product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Category Page */
    .cetagory-sec {
        padding: 30px 0;
    }

    .cetagory-sec .filter-btn {
        display: block;
        margin-bottom: 15px;
    }

    .cetagory-sec .sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        width: 280px;
        height: 100vh;
        background: white;
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .cetagory-sec .sidebar.active {
        left: 0;
    }

    .cetagory-sec .main-content {
        width: 100%;
    }

    /* Header bg adjustment */
    .header-bg {
        height: 150px;
    }
}

/* Extra small devices (phones, less than 576px) */
@media screen and (max-width: 576px) {
    h2 {
        font-size: 28px;
    }

    .banner .carousel-container {
        height: 180px;
        border-radius: 20px;
        background: none;
    }

    .banner .carousel-container .carousel-slide {
        padding: 0;
    }

    .banner .carousel-container .carousel-slide .content span {
        font-size: 22px;
    }

    .banner .carousel-container .carousel-slide .content h2 {
        font-size: 26px;
        margin: 0 0 12px 0;
    }

    .banner .carousel-container .carousel-slide .content .coupon-btn {
        padding: 7px 16px;
        font-size: 14px;
    }



    .category .cat-item img {
        width: 70px;
        height: 70px;
    }

    .product-list .product-item img {
        height: 150px;
    }

    .product-list .product-item span {
        font-size: 16px;
    }

    .product-list .product-item p {
        font-size: 20px;
    }

    .beginning-section .beginning-swiper .swiper-slide {
        width: 200px;
        height: 280px;
    }

    .media-section .media-card {
        width: calc(50% - 10px);
        height: 330px;
    }

    .choose-section h2 {
        font-size: 28px;
    }

    .choose-section .choose-item {
        height: 120px;
    }

    .choose-section .center-logo {
        width: 60px;
        height: 60px;
    }

    .footer .footer-header h2 {
        font-size: 32px;
    }

    .product-single-sec .product-single-left .big-img img.tabcontent {
        height: 250px;
    }

    .product-single-sec .product-single-left img.tablinks {
        height: 70px;
    }

    .footer {
        & .footer-col {
            &.newsletter {
                input[type="email"] {
                    width: 80%;
                }
            }
        }
    }


    .choose-section {
        & .choose-item {

            &.item-tl,
            &.item-br {
                border-radius: 50px 0 50px 0;
            }

            &.item-tr,
            &.item-bl {
                border-radius: 0 50px 0 50px;
            }
        }
    }
}





/* //cart */

/* ===== Shopping Cart ===== */
.cart-section {
    padding: 60px 0;
}

.cart-title {
    margin-bottom: 30px;
    text-align: center;
}

/* Empty cart */
.empty-cart {
    background: #fff;
    padding: 60px;
    text-align: center;
    border-radius: 10px;
}

.empty-cart img {
    max-width: 200px;
    margin-bottom: 20px;
}

.btn-dark {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

/* Cart items */
.cart-items {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-details {
    flex: 1;
}

.cart-details h5 {
    margin-bottom: 10px;
}

.cart-details a {
    color: #000;
    text-decoration: none;
}

.cart-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.cart-price {
    font-weight: bold;
    font-size: 18px;
    color: #000;
}

/* Quantity */
.qty-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 3px;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 3px;
}

/* Actions */
.cart-actions {
    text-align: right;
}

.cart-subtotal {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.remove-btn {
    background: #ff4444;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

/* Summary */
.cart-summary {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    position: sticky;
    top: 20px;
}

.cart-summary h4 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.summary-row {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.free {
    color: green;
}

.summary-total {
    padding-top: 15px;
    border-top: 2px solid #eee;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 18px;
}

.btn-outline {
    display: block;
    width: 100%;
    padding: 15px;
    background: #fff;
    color: #000;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-actions {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .qty-box {
        margin: 10px 0;
    }

    .cart-summary {
        position: static;
        margin-top: 20px;
    }

    img.saveratext {
        width: 96px;
    }

    .inner-banner-sec {

        height: 9vh;
    }
}