/* ============================================================
   RAEES IMPORT & EXPORT
   HOMEPAGE PRODUCTS SECTION
   ULTRA PREMIUM RESPONSIVE VERSION
   ------------------------------------------------------------
   File:
   /public_html/assets/css/home/products.css
   ============================================================ */


/* ============================================================
   01. PRODUCTS SECTION
   ============================================================ */

.products-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 96px 0 105px !important;

    background:
        radial-gradient(
            circle at 92% 5%,
            rgba(178, 128, 57, 0.09),
            transparent 26%
        ),
        radial-gradient(
            circle at 5% 90%,
            rgba(178, 128, 57, 0.045),
            transparent 24%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fdfbf7 100%
        );
}

.products-section::before {
    content: "";
    position: absolute;

    top: -250px;
    right: -220px;

    z-index: -1;

    width: 540px;
    height: 540px;

    border-radius: 50%;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(178, 128, 57, 0.10) 0%,
            rgba(178, 128, 57, 0) 70%
        );
}

.products-section::after {
    content: "";
    position: absolute;

    bottom: -260px;
    left: -220px;

    z-index: -1;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(178, 128, 57, 0.055),
            transparent 70%
        );
}

.products-section .container {
    position: relative;
    z-index: 2;
}


/* ============================================================
   02. SECTION HEADING
   ============================================================ */

.products-section .section-heading {
    width: 100%;
    max-width: 760px;

    margin:
        0 auto
        48px;

    text-align: center;
}

.products-section .section-kicker {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin: 0 0 15px;

    color: #9a692c;

    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.products-section .section-kicker::before,
.products-section .section-kicker::after {
    content: "";

    display: block;

    width: 24px;
    height: 1px;

    background: rgba(154, 105, 44, 0.55);
}

.products-section .section-heading h2 {
    max-width: 720px;

    margin:
        0 auto
        17px;

    color: #171512;

    font-size: clamp(2rem, 3vw, 3.15rem);
    font-weight: 500;
    line-height: 1.08;

    letter-spacing: -0.035em;
}

.products-section .section-heading p {
    max-width: 640px;

    margin: 0 auto;

    color: #716b63;

    font-size: 0.98rem;
    line-height: 1.75;
}


/* ============================================================
   03. PRODUCT FILTER WRAPPER
   ============================================================ */

.products-section .product-filter {
    position: relative;

    width: 100%;
    min-width: 0;
}


/* ============================================================
   04. FILTER BAR
   ============================================================ */

.products-section .product-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    gap: 22px;

    margin: 0 0 36px;
    padding: 10px;

    border: 1px solid rgba(24, 22, 19, 0.08);
    border-radius: 18px;

    background:
        rgba(250, 247, 241, 0.90);

    box-shadow:
        0 8px 30px rgba(28, 23, 17, 0.035);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.products-section .product-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 6px;

    min-width: 0;
}


/* ============================================================
   05. FILTER BUTTONS
   ============================================================ */

.products-section .product-filter-btn {
    appearance: none;
    -webkit-appearance: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding:
        10px
        19px;

    border: 1px solid transparent;
    border-radius: 999px;

    color: #625d56;
    background: transparent;

    font: inherit;
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1;

    white-space: nowrap;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.products-section .product-filter-btn:hover {
    color: #171512;

    background:
        rgba(255, 255, 255, 0.92);
}

.products-section .product-filter-btn.is-active {
    color: #ffffff;

    border-color: #171512;

    background:
        #171512;

    box-shadow:
        0 8px 22px
        rgba(20, 18, 15, 0.16);
}

.products-section .product-filter-btn:active {
    transform: translateY(1px);
}

.products-section .product-filter-btn:focus-visible {
    outline:
        3px solid
        rgba(174, 126, 56, 0.22);

    outline-offset: 2px;
}


/* ============================================================
   06. PRODUCT COUNT
   ============================================================ */

.products-section .product-filter-count {
    display: inline-flex;
    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    gap: 5px;

    min-height: 38px;

    padding:
        8px
        14px;

    border:
        1px solid
        rgba(24, 22, 19, 0.08);

    border-radius: 999px;

    color: #777067;

    background:
        rgba(255, 255, 255, 0.92);

    font-size: 0.75rem;
    font-weight: 650;

    white-space: nowrap;

    box-shadow:
        0 5px 15px
        rgba(24, 21, 17, 0.03);
}

.products-section .product-filter-count span {
    color: #9a692c;
    font-weight: 800;
}


/* ============================================================
   07. PRODUCT GRID
   ============================================================ */

.products-section .products-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;

    width: 100%;
}


/* ============================================================
   08. PRODUCT CARD
   ============================================================ */

.products-section .product-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border:
        1px solid
        rgba(25, 22, 18, 0.075);

    border-radius: 22px;

    background:
        rgba(255, 255, 255, 0.96);

    box-shadow:
        0 10px 30px
        rgba(24, 21, 17, 0.045),
        0 2px 6px
        rgba(24, 21, 17, 0.025);

    transform: translateZ(0);

    transition:
        transform 0.4s
        cubic-bezier(0.2, 0.7, 0.2, 1),
        border-color 0.35s ease,
        box-shadow 0.4s ease;
}

.products-section .product-card:hover {
    border-color:
        rgba(174, 126, 56, 0.25);

    box-shadow:
        0 28px 60px
        rgba(24, 21, 17, 0.11),
        0 4px 12px
        rgba(24, 21, 17, 0.04);

    transform:
        translateY(-7px);
}


/* ============================================================
   09. PRODUCT MEDIA
   ============================================================ */

.products-section .product-card-media {
    position: relative;

    overflow: hidden;

    background:
        #f5f0e7;
}

.products-section .product-card-image {
    position: relative;

    display: block;

    width: 100%;

    overflow: hidden;

    aspect-ratio: 4 / 3;

    background:
        linear-gradient(
            135deg,
            #f7f2e9,
            #eee5d7
        );
}

.products-section .product-card-image::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(17, 15, 12, 0.16),
            transparent 50%
        );

    opacity: 0;

    transition:
        opacity 0.4s ease;
}

.products-section .product-card:hover
.product-card-image::after {
    opacity: 1;
}

.products-section .product-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1);

    transition:
        transform 0.75s
        cubic-bezier(0.2, 0.7, 0.2, 1);
}

.products-section .product-card:hover
.product-card-image img {
    transform: scale(1.065);
}


/* ============================================================
   10. PRODUCT CATEGORY BADGE
   ============================================================ */

.products-section .product-card-category {
    position: absolute;

    top: 15px;
    left: 15px;

    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 30px;

    padding:
        6px
        12px;

    border:
        1px solid
        rgba(255, 255, 255, 0.72);

    border-radius: 999px;

    color: #5f421c;

    background:
        rgba(255, 250, 241, 0.92);

    font-size: 0.66rem;
    font-weight: 750;
    line-height: 1;

    letter-spacing: 0.055em;
    text-transform: uppercase;

    box-shadow:
        0 7px 20px
        rgba(20, 17, 13, 0.10);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* ============================================================
   11. PRODUCT CARD BODY
   ============================================================ */

.products-section .product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;

    min-width: 0;

    padding: 25px;
}

.products-section .product-card-title {
    margin:
        0 0
        11px;

    color: #171512;

    font-size: 1.28rem;
    font-weight: 650;
    line-height: 1.3;

    letter-spacing: -0.015em;
}

.products-section .product-card-title a {
    color: inherit;

    text-decoration: none;

    transition:
        color 0.25s ease;
}

.products-section .product-card-title a:hover {
    color: #9a692c;
}

.products-section .product-card-body > p {
    margin:
        0 0
        22px;

    color: #716b63;

    font-size: 0.90rem;
    line-height: 1.72;
}


/* ============================================================
   12. PRODUCT CARD ACTIONS
   ============================================================ */

.products-section .product-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    width: 100%;

    margin-top: auto;
    padding-top: 18px;

    border-top:
        1px solid
        rgba(24, 22, 19, 0.07);
}

.products-section .product-card-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #24211d;

    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;

    text-decoration: none;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.products-section .product-card-link:hover {
    gap: 11px;

    color: #9a692c;
}

.products-section .product-card-link i {
    font-size: 0.70rem;

    transition:
        transform 0.25s ease;
}

.products-section .product-card-link:hover i {
    transform: translateX(2px);
}

.products-section
.product-card-actions
.btn {
    flex: 0 0 auto;
}


/* ============================================================
   13. PRODUCT ENQUIRE BUTTON
   ============================================================ */

.products-section
.product-card-actions
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 39px;

    padding:
        8px
        16px;

    border:
        1px solid
        rgba(23, 21, 18, 0.20);

    border-radius: 9px;

    color: #171512;

    background:
        transparent;

    font-size: 0.78rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.products-section
.product-card-actions
.btn-outline:hover {
    color: #ffffff;

    border-color: #171512;

    background: #171512;

    transform: translateY(-1px);
}


/* ============================================================
   14. FILTER ANIMATION
   ============================================================ */

.products-section
.product-card.is-filter-hidden,
.products-section
.product-card[hidden] {
    display: none !important;
}

.products-section
.product-card.is-filtering-in {
    animation:
        productFadeIn
        0.45s ease both;
}

@keyframes productFadeIn {

    from {
        opacity: 0;

        transform:
            translateY(15px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* ============================================================
   15. EMPTY FILTER STATE
   ============================================================ */

.products-section
.product-filter-empty {
    width: 100%;
    max-width: 620px;

    margin:
        36px auto
        0;

    padding:
        52px
        30px;

    border:
        1px dashed
        rgba(157, 109, 44, 0.30);

    border-radius: 22px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            #fdfaf5,
            #f8f2e8
        );

    box-shadow:
        0 18px 50px
        rgba(30, 24, 17, 0.04);
}

.products-section
.product-filter-empty[hidden] {
    display: none !important;
}

.products-section
.product-filter-empty-icon {
    display: grid;

    width: 64px;
    height: 64px;

    margin:
        0 auto
        18px;

    place-items: center;

    border-radius: 50%;

    color: #966628;

    background:
        #efe2cd;

    font-size: 1.35rem;
}

.products-section
.product-filter-empty h3 {
    margin:
        0 0
        10px;

    color: #1b1916;

    font-size: 1.35rem;
}

.products-section
.product-filter-empty p {
    max-width: 450px;

    margin:
        0 auto
        22px;

    color: #716a61;

    line-height: 1.7;
}


/* ============================================================
   16. SECTION FOOTER ACTION
   ============================================================ */

.products-section
.section-footer-action {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: 46px;
}

.products-section
.section-footer-action
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 50px;

    padding:
        12px
        25px;

    border-radius: 10px;
}


/* ============================================================
   17. CARD DECORATION
   ============================================================ */

.products-section
.product-card::after {
    content: "";

    position: absolute;

    right: -85px;
    bottom: -85px;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(181, 132, 62, 0.075),
            transparent 70%
        );

    opacity: 0;

    transition:
        opacity 0.35s ease;
}

.products-section
.product-card:hover::after {
    opacity: 1;
}


/* ============================================================
   18. LARGE DESKTOP
   ============================================================ */

@media (min-width: 1400px) {

    .products-section {
        padding:
            105px 0
            115px !important;
    }

    .products-section
    .products-grid {
        gap: 30px;
    }

    .products-section
    .product-card-body {
        padding: 27px;
    }

}


/* ============================================================
   19. LAPTOP
   ============================================================ */

@media (max-width: 1199px) {

    .products-section {
        padding:
            90px 0
            96px !important;
    }

    .products-section
    .products-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 20px;
    }

    .products-section
    .product-card-body {
        padding: 21px;
    }

    .products-section
    .product-card-actions {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* ============================================================
   20. TABLET
   ============================================================ */

@media (max-width: 991px) {

    .products-section {
        min-height: 0 !important;

        padding:
            78px 0
            84px !important;
    }

    .products-section
    .section-heading {
        max-width: 650px;

        margin-bottom: 36px;
    }

    .products-section
    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 22px;
    }

    .products-section
    .product-filter-bar {
        align-items: flex-start;
        flex-direction: column;

        gap: 14px;
    }

    .products-section
    .product-filter-count {
        align-self: flex-start;
    }

    .products-section
    .product-card-actions {
        align-items: center;
        flex-direction: row;
    }

}


/* ============================================================
   21. MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .products-section {
        min-height: 0 !important;

        padding:
            64px 0
            70px !important;
    }

    .products-section::before {
        top: -160px;
        right: -220px;

        width: 400px;
        height: 400px;
    }

    .products-section
    .section-heading {
        width: 100%;
        max-width: 100%;

        margin:
            0 auto
            30px;

        padding:
            0 3px;
    }

    .products-section
    .section-kicker {
        margin-bottom: 12px;

        font-size: 0.66rem;

        letter-spacing: 0.15em;
    }

    .products-section
    .section-kicker::before,
    .products-section
    .section-kicker::after {
        width: 18px;
    }

    .products-section
    .section-heading h2 {
        margin-bottom: 14px;

        font-size:
            clamp(
                1.8rem,
                8vw,
                2.35rem
            );

        line-height: 1.12;
    }

    .products-section
    .section-heading p {
        max-width: 540px;

        font-size: 0.91rem;
        line-height: 1.68;
    }

    .products-section
    .product-filter-bar {
        gap: 13px;

        margin-bottom: 25px;

        padding: 9px;

        border-radius: 15px;
    }

    .products-section
    .product-filter-buttons {
        width: 100%;
    }

    .products-section
    .product-filter-btn {
        flex: 1 1 auto;

        min-height: 42px;

        padding:
            9px
            14px;

        font-size: 0.78rem;
    }

    .products-section
    .products-grid {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 20px;
    }

    .products-section
    .product-card {
        width: 100%;
        max-width: 560px;

        margin:
            0 auto;

        border-radius: 20px;
    }

    .products-section
    .product-card-body {
        padding: 21px;
    }

    .products-section
    .section-footer-action {
        margin-top: 34px;
    }

}


/* ============================================================
   22. SMALL MOBILE
   ============================================================ */

@media (max-width: 575px) {

    .products-section {
        padding:
            56px 0
            62px !important;
    }

    .products-section
    .section-heading {
        margin-bottom: 26px;
    }

    .products-section
    .section-heading h2 {
        font-size:
            clamp(
                1.7rem,
                8.5vw,
                2.05rem
            );
    }

    .products-section
    .section-heading p {
        font-size: 0.88rem;
    }


    /* FILTER */

    .products-section
    .product-filter-bar {
        padding: 8px;
    }

    .products-section
    .product-filter-buttons {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 7px;
    }

    .products-section
    .product-filter-btn:first-child {
        grid-column:
            1 / -1;
    }

    .products-section
    .product-filter-btn {
        width: 100%;

        min-height: 41px;

        padding:
            9px
            10px;

        border-radius: 9px;
    }

    .products-section
    .product-filter-count {
        width: 100%;

        justify-content: center;

        border-radius: 9px;
    }


    /* CARD */

    .products-section
    .product-card {
        border-radius: 18px;
    }

    .products-section
    .product-card-image {
        aspect-ratio:
            16 / 11;
    }

    .products-section
    .product-card-category {
        top: 12px;
        left: 12px;

        min-height: 28px;

        padding:
            6px
            10px;

        font-size: 0.62rem;
    }

    .products-section
    .product-card-body {
        padding:
            19px
            18px
            18px;
    }

    .products-section
    .product-card-title {
        margin-bottom: 9px;

        font-size: 1.15rem;
    }

    .products-section
    .product-card-body > p {
        margin-bottom: 18px;

        font-size: 0.86rem;
        line-height: 1.65;
    }

    .products-section
    .product-card-actions {
        align-items: stretch;
        flex-direction: column;

        gap: 13px;

        padding-top: 16px;
    }

    .products-section
    .product-card-link {
        justify-content:
            space-between;

        width: 100%;

        padding:
            2px 1px;
    }

    .products-section
    .product-card-actions
    .btn {
        width: 100%;

        justify-content: center;
    }

    .products-section
    .product-filter-empty {
        padding:
            40px
            20px;
    }

    .products-section
    .section-footer-action {
        margin-top: 30px;
    }

    .products-section
    .section-footer-action
    .btn {
        width: 100%;

        max-width: 320px;
    }

}


/* ============================================================
   23. VERY SMALL MOBILE
   ============================================================ */

@media (max-width: 420px) {

    .products-section {
        padding:
            50px 0
            56px !important;
    }

    .products-section
    .section-kicker::before,
    .products-section
    .section-kicker::after {
        width: 14px;
    }

    .products-section
    .section-heading h2 {
        font-size: 1.72rem;
    }

    .products-section
    .section-heading p {
        font-size: 0.85rem;
    }

    .products-section
    .product-filter-buttons {
        grid-template-columns:
            1fr;
    }

    .products-section
    .product-filter-btn:first-child {
        grid-column: auto;
    }

    .products-section
    .product-filter-btn {
        border-radius: 8px;
    }

    .products-section
    .product-card-body {
        padding: 17px;
    }

    .products-section
    .product-card-title {
        font-size: 1.10rem;
    }

}


/* ============================================================
   24. TOUCH DEVICES
   ============================================================ */

@media (hover: none) {

    .products-section
    .product-card:hover {
        transform: none;
    }

    .products-section
    .product-card:hover
    .product-card-image img {
        transform: none;
    }

}


/* ============================================================
   25. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .products-section
    .product-card,

    .products-section
    .product-card-image img,

    .products-section
    .product-filter-btn,

    .products-section
    .product-card-link,

    .products-section
    .product-card-link i {

        transition: none !important;
        animation: none !important;
    }

    .products-section
    .product-card:hover,

    .products-section
    .product-card:hover
    .product-card-image img {

        transform: none;
    }

}

/* ============================================================
   FINAL HERO → PRODUCTS GAP FIX
   ============================================================ */

/* Products section ko hero ke immediately baad start karo */
.products-section {
    min-height: 0 !important;
    height: auto !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 70px !important;
    padding-bottom: 100px !important;
}

/* Products heading ki extra spacing remove */
.products-section .section-heading {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hero ke bottom mein unnecessary space prevent */
.hero-section {
    margin-bottom: 0 !important;
}

/* Agar hero layout/container fixed height de raha ho */
.hero-section .container,
.hero-section .hero-layout {
    margin-bottom: 0 !important;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991px) {

    .products-section {
        padding-top: 60px !important;
        padding-bottom: 80px !important;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .products-section {
        padding-top: 50px !important;
        padding-bottom: 70px !important;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 575px) {

    .products-section {
        padding-top: 42px !important;
        padding-bottom: 60px !important;
    }

}