@media (max-width: 500px) {
    .grid-box .grid {
        grid-template-columns: 1fr;
    }

    .grid-box .grid-box-inner img {
        height: auto;
    }
}

@media (max-width: 540px) {
    .cta-row {
        gap: 0.8rem;
    }
}

@media (max-width: 600px) {
    .cover-section .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .cover-section .cover-section h2 {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .hero-swiper .swiper-slide {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        min-height: unset;
    }
    .hero-swiper .hero-content h1 {
        font-size: 26px;
        line-height: 34px;
    }

    .hero-swiper .hero-content p,
    .custom-btn {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    /* .section-title,
    .design-title,
    .cover-section h2 {
        font-size: 24px;
        padding: 0 0 10px;
        text-align: center;
    } */

    .category-section .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-section .category-card {
        aspect-ratio: 1/1;
    }

    .category-section .category-card .category-label {
        bottom: 20px;
        padding: 6px;
    }

    .design-inner .design-content h4 {
        font-size: 18px;
        line-height: 26px;
    }
    .design-inner .design-content p,
    .section-header .section-desc,
    .realtime-wrapper .realtime-content p,
    .collection-box .content p,
    .grid-box .grid-box-inner p {
        font-size: 14px;
        line-height: 20px;
    }

    .realtime-wrapper .realtime-content h4 {
        font-size: 18px;
        line-height: 26px;
    }

    .design-inner .design-content h3,
    .realtime-wrapper .realtime-content h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .collection .collection-box {
        max-width: 100%;
    }
    .grid-box .grid-box-inner h3 {
        font-size: 18px;
        line-height: 26px;
    }
    .collection-box .content {
        position: static;
        transform: translateY(0px);
        max-width: 100%;
    }
    .gift-section-banner .gift-info {
        left: 20px;
    }
    .gift-section-banner .gift-info h4 {
        font-size: 26px;
        line-height: 32px;
    }
    .cover-section .features {
        grid-template-columns: repeat(2, 1fr);
    }
    .filter-bar .select-wrapper select,
    .filter-bar .select-group {
        min-width: 100%;
    }
    .faq-title {
        font-size: 24px;
    }
    .faq-question {
        font-size: 16px;
        padding: 15px 5px;
    }
    .breadcrumb {
        padding: 20px 10px;
    }
    .collection-page-step {
        padding: 0px 10px 0px;
    }
    .listing-header {
        padding: 15px 20px 0;
    }
    .filter-bar {
        padding: 12px 20px;
    }
    .know-img-center img,
    .know-img-right img {
        height: auto;
        max-width: 100%;
    }
    .product-info-right .custom-btn {
        margin-bottom: 0px;
    }
    .signature-banner {
        flex-direction: column;
    }

    .signature-banner .banner-image {
        flex: none;
        height: 220px;
    }

    .signature-banner .banner-content {
        flex: none;
        padding: 32px 24px;
    }

    .signature-banner .banner-content h2 {
        font-size: 26px;
    }

    .signature-banner .banner-content p {
        font-size: 18px;
    }
    .signature-banner .banner-content .custom-btn {
        margin-bottom: 0px;
    }
    .bg-info-inner{
        padding: 60px 20px;
    }

     .bg-info-inner p{
        font-size: 16px;
     }
}

@media (min-width: 768px) and (max-width: 991px) {
    .design-section .design-inner {
        gap: 4rem;
    }
    .diamond-wrapper .diamond-grid > * {
        min-width: 120px !important;
    }
    .collection .collection-box {
        max-width: 65%;
        margin: 0 auto;
        padding-bottom: 0;
        margin-bottom: 50px;
    }
    .collection-box .content {
        left: -10% !important;
    }
    /* .collection-product-list{
          grid-template-columns: repeat(3, 1fr);
    }
    .collection-product-list.grid-3 {
    grid-template-columns: repeat(2, 1fr);
} */
    .cover-section .features {
        grid-template-columns: repeat(3, 1fr);
    }
    .signature-banner .banner-content {
        padding: 20px;
    }
    .signature-banner .banner-content h2 {
        font-size: 26px;
    }
     .bg-info-inner{
        padding: 100px 20px;
    }
    .add-cart-btn{
        width: 70%;
        margin: 0 auto;
    }
}

@media (max-width: 991px) {
    .hero-swiper .swiper-slide {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form .card {
        grid-template-columns: 1fr;
    }
    .contact-detail {
        padding: 20px 20px 0px;
    }
    .contact-form .card .fom-inner {
        padding: 20px;
    }
    .product-diamond-section .inner{
        grid-template-columns: 1fr;
        gap: 30px;
    }
     .product-diamond-section .container{
        padding: 0px;
     }
     .signature-banner{
        padding-bottom: 30px;
     }
}

@media (max-width: 991px) {
    .section-bg-color,
    .product-grid-section {
        padding: 60px 20px;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .design-section .design-inner {
        grid-template-columns: 1fr !important;
        text-align: center;
        padding-top: 0px;
        padding-bottom: 60px;
    }

    .design-inner .design-content {
        margin: 0 auto;
    }

    .cta-row {
        justify-content: center;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .cta-row .cta-or {
        display: none;
    }

    .design-visual {
        order: -1;
    }

    .ring-wrap {
        max-width: 280px;
        margin: 0 auto;
    }

    .diamond-wrapper,
    .realtime-wrapper .realtime-container {
        grid-template-columns: 1fr !important;
    }

    .diamond-wrapper .ring-image {
        display: none;
    }

    .diamond-wrapper .diamond-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 20px;
    }

    .diamond-wrapper .diamond-grid > * {
        flex: 0 0 auto;
        min-width: 80px;
        text-align: center;
    }
    .diamond-wrapper .diamond-grid .shape p {
        padding-bottom: 10px;
    }

    .product-grid-section .section-header {
        padding-bottom: 30px;
    }

    .product-grid-section .section-header .section-title {
        padding-bottom: 0px;
    }

    .realtime-wrapper .realtime-content {
        max-width: 100%;
        text-align: center;
        padding: 0 20px;
    }

    .collection .layout {
        padding: 40px 0 0;
    }

    .collection-box.right {
        float: none;
        padding-bottom: 0px;
    }

    .cover-section .features {
        gap: 25px;
    }
    .gift-section-banner .gift-image img {
        height: auto;
    }
    .grid-box .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .hero-swiper .hero-content h1 {
        font-size: 45px;
        line-height: 55px;
    }
}

@media (max-width: 600px) {
    .step {
        padding: 8px 10px;
    }
    .step-number {
        font-size: 22px;
    }
    .step-text span {
        font-size: 10px;
        letter-spacing: 0.8px;
    }
    .step-image {
        height: 32px;
        width: 40px;
    }
}

@media (max-width: 400px) {
    .step {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .step-text small {
        display: none;
    }
    .step:not(:last-child)::after,
    .step:not(:last-child)::before {
        display: none;
    }
}

@media (max-width: 991px) {
    .filter-toggle-btn {
        display: flex;
    }

    .filter-panel {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1000;
        overflow-y: auto;
        padding: 0 0 80px;
        background: #fff;
    }
    .filter-panel.open {
        display: block;
    }

    .filter-grid {
        grid-template-columns: 1fr;
        row-gap: 20px;
        padding: 16px 20px 0;
    }

    .type-toggle {
        padding-top: 16px;
        margin-bottom: 16px;
    }

    .mobile-topbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 20px;
        border-bottom: 1px solid #e8e8e8;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 10;
    }
    .mobile-topbar-title {
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 0.5px;
    }
    .mobile-close-btn {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        color: #555;
        line-height: 1;
    }

    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e0e0e0;
        padding: 12px 20px;
        display: flex;
        gap: 10px;
        z-index: 1001;
    }
    .mobile-bottom-bar button {
        flex: 1;
        padding: 11px;
        font-size: 12px;
        letter-spacing: 0.8px;
        cursor: pointer;
        border: 1px solid #1a1a1a;
        text-transform: uppercase;
    }
    .btn-apply {
        background: #1a1a1a;
        color: #fff;
    }
    .btn-clear-mob {
        background: #fff;
        color: #1a1a1a;
    }

    .filter-footer {
        display: none;
    }

    .shape-btn {
        width: 40px;
        height: 40px;
    }
    .Product-img-left .img-cell img {
        height: auto;
        width: auto;
    }
}

@media (max-width: 480px) {
    .shape-row {
        gap: 4px;
    }
    .shape-btn {
        width: 36px;
        height: 36px;
    }
}

@media (min-width: 992px) {
    .mobile-topbar,
    .mobile-bottom-bar {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .filter-right {
        width: 100%;
        justify-content: flex-start;
        gap: 16px;
    }
    .view-toggle {
        display: none;
    }
}

@media (max-width: 600px) {
    .story-section {
        padding: 50px 20px;
    }
}

@media (max-width: 1024px) {
    .know-inner {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 32px;
        padding: 0 32px;
        min-height: unset;
    }
    .know-text {
        grid-column: 1 / -1;
        padding-right: 0;
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
    .know-img-center {
        padding-top: 0;
        justify-content: flex-end;
    }
    .know-img-center img {
        max-width: 100%;
        height: 360px;
    }
    .know-img-right img {
        max-width: 100%;
        height: 360px;
    }
}

@media (max-width: 640px) {
    .know-section {
        padding: 56px 0;
    }
    .know-inner {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 24px;
    }
    .know-text {
        grid-column: 1;
    }
    .know-img-center,
    .know-img-right {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .about-features .about-features-inner {
        flex-direction: column;
        align-items: center;
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .jewellery-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .jewellery-inner .jewellery-content p {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .jewellery-inner .jewellery-content h2 {
        font-size: 22px;
    }

    .jewellery-inner .jewellery-content p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .testimonial-section .swiper-outer {
        padding: 0 64px;
    }
    .quote-text {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }
}

@media (max-width: 480px) {
    .testimonial-section .swiper-outer {
        padding: 0 38px;
    }
    .quote-text {
        font-size: 18px;
    }
    .quote-oval-inner {
        width: 50px;
        height: 50px;
    }
    .swiper-custom-arrow,
    .swiper-custom-arrow {
        width: 30px;
        height: 30px;
    }
    .testimonial-section .swiper-button-next {
        right: 10px;
    }
    .testimonial-section .swiper-button-prev {
        left: 10px;
    }
}

@media (max-width: 780px) {
    .Product-detail-wrapper {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 18px;
    }
}
@media (max-width: 460px) {
    .Product-detail-wrapper .prod-title {
        font-size: 16px;
    }
    .Product-detail-wrapper .prod-price {
        font-size: 20px;
    }
}

@media (max-width: 520px) {
    .review-layout .form-row {
        grid-template-columns: 1fr;
    }
}
