/* =========================================================
   SHREE GANPATI INFOTECH
   PRODUCTS PAGE
   Bootstrap FREE
========================================================= */

:root {
    --blue: #2D4354;
    --sage: #73766A;
    --peach: #FED7A5;
    --terra: #9E6752;
    --brown: #534145;
    --black: #20212B;
    --white: #ffffff;
    --soft: #f7f6f2;
    --soft-blue: #edf2f4;
    --line: rgba(45, 67, 84, .13);

    --shadow-sm: 0 10px 30px rgba(32, 33, 43, .08);
    --shadow-md: 0 20px 50px rgba(32, 33, 43, .12);
    --shadow-lg: 0 30px 80px rgba(32, 33, 43, .16);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;

    --transition: .35s cubic-bezier(.2, .8, .2, 1);
}


/* =========================================================
   PAGE
========================================================= */

.products-page {
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(254, 215, 165, .22),
            transparent 28%
        ),
        var(--soft);

    color: var(--black);
    overflow: hidden;
}


/* =========================================================
   COMMON CONTAINER
========================================================= */

.products-container {
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.products-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8f5ee 48%,
            #edf2f4 100%
        );
}


/* Decorative shapes */

.products-hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.shape-one {
    width: 420px;
    height: 420px;
    right: -140px;
    top: -180px;

    background: rgba(254, 215, 165, .45);

    animation: heroFloat 7s ease-in-out infinite;
}

.shape-two {
    width: 280px;
    height: 280px;
    left: -140px;
    bottom: -130px;

    background: rgba(115, 118, 106, .12);

    animation: heroFloat 9s ease-in-out infinite reverse;
}


/* Hero layout */

.products-hero .products-container {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 80px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.products-hero-content {
    max-width: 680px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 9px 15px;

    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--line);
    border-radius: 50px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;

    box-shadow: var(--shadow-sm);
}

.hero-eyebrow i {
    color: var(--terra);
}


.products-hero h1 {
    margin: 24px 0 22px;

    max-width: 700px;

    font-size: clamp(48px, 6vw, 82px);
    line-height: .96;
    letter-spacing: -.055em;
    font-weight: 900;
}

.products-hero h1 span {
    display: block;
    color: var(--terra);
}


.products-hero p {
    max-width: 600px;

    margin: 0;

    color: #62636b;

    font-size: 17px;
    line-height: 1.8;
}


/* Hero actions */

.hero-actions {
    display: flex;
    align-items: center;
    gap: 25px;

    margin-top: 35px;
}


.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 52px;
    padding: 0 24px;

    border: 0;
    border-radius: 50px;

    background: var(--blue);
    color: var(--white);

    font-size: 14px;
    font-weight: 800;
    text-decoration: none;

    cursor: pointer;

    box-shadow: 0 15px 35px rgba(45, 67, 84, .22);

    transition: var(--transition);
}

.primary-btn:hover {
    background: var(--terra);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(158, 103, 82, .25);
}

.primary-btn i {
    transition: transform .3s ease;
}

.primary-btn:hover i {
    transform: translateY(3px);
}


.product-count {
    display: flex;
    flex-direction: column;
    gap: 2px;

    color: var(--sage);

    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
}

.product-count strong {
    color: var(--blue);
    font-size: 22px;
    letter-spacing: -.03em;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.products-hero-visual {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-circle {
    position: absolute;

    width: 390px;
    height: 390px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            var(--peach),
            rgba(254, 215, 165, .15)
        );

    box-shadow:
        inset -25px -25px 60px rgba(158, 103, 82, .12),
        0 40px 90px rgba(32, 33, 43, .12);

    animation: circleRotate 16s linear infinite;
}


.hero-circle::before {
    content: "";

    position: absolute;
    inset: 25px;

    border: 1px dashed rgba(45, 67, 84, .22);

    border-radius: 50%;
}


.hero-product-box {
    position: relative;
    z-index: 2;

    width: 250px;
    height: 300px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            var(--blue),
            var(--brown)
        );

    border-radius: 35px;

    color: var(--white);

    box-shadow: var(--shadow-lg);

    transform: rotate(5deg);

    animation: productFloat 5s ease-in-out infinite;
}


.hero-product-box::before {
    content: "";

    position: absolute;

    width: 130px;
    height: 130px;

    top: -55px;
    right: -55px;

    border-radius: 50%;

    background: rgba(254, 215, 165, .8);

    z-index: -1;
}


.hero-product-icon {
    width: 76px;
    height: 76px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border-radius: 24px;

    background: rgba(255, 255, 255, .12);

    font-size: 34px;

    backdrop-filter: blur(10px);
}


.hero-product-box span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .25em;
    opacity: .65;
}


.hero-product-box strong {
    margin-top: 5px;

    font-size: 30px;
    letter-spacing: -.04em;
}


.hero-product-line {
    width: 60px;
    height: 3px;

    margin-top: 20px;

    border-radius: 10px;

    background: var(--peach);
}


/* Floating cards */

.hero-floating-card {
    position: absolute;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px 18px;

    background: rgba(255, 255, 255, .9);

    border: 1px solid rgba(255, 255, 255, .9);

    border-radius: 16px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 800;

    box-shadow: var(--shadow-md);

    backdrop-filter: blur(15px);
}

.hero-floating-card i {
    color: var(--terra);
}

.card-top {
    top: 70px;
    right: 10px;

    animation: floatingSmall 4s ease-in-out infinite;
}

.card-bottom {
    bottom: 65px;
    left: 5px;

    animation: floatingSmall 5s ease-in-out infinite reverse;
}


/* =========================================================
   CATEGORY STRIP
========================================================= */

.category-strip {
    position: relative;
    z-index: 10;

    padding: 20px 0;

    background: var(--white);

    border-bottom: 1px solid var(--line);
}


.category-scroll {
    display: flex;
    align-items: center;
    gap: 10px;

    overflow-x: auto;

    scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}


.category-pill {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    min-height: 44px;
    padding: 0 18px;

    border: 1px solid var(--line);
    border-radius: 50px;

    background: var(--white);

    color: var(--blue);

    font-size: 13px;
    font-weight: 750;

    cursor: pointer;

    transition: var(--transition);
}


.category-pill i {
    color: var(--terra);
}


.category-pill:hover,
.category-pill.active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(45, 67, 84, .15);
}

.category-pill.active i,
.category-pill:hover i {
    color: var(--peach);
}


/* =========================================================
   PRODUCTS SECTION
========================================================= */

.products-section {
    padding: 100px 0 120px;
}


/* =========================================================
   TOOLBAR
========================================================= */

.products-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 30px;
}


.toolbar-label {
    display: block;

    margin-bottom: 8px;

    color: var(--terra);

    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .16em;
}


.products-toolbar h2 {
    margin: 0;

    font-size: clamp(35px, 4vw, 55px);
    line-height: 1;
    letter-spacing: -.05em;
}


.products-toolbar h2 span {
    color: var(--terra);
}


.toolbar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}


.result-count {
    color: var(--sage);
    font-size: 13px;
}

.result-count strong {
    color: var(--blue);
    font-size: 18px;
}


.sort-box {
    display: flex;
    align-items: center;
    gap: 10px;
}


.sort-box label {
    color: var(--sage);

    font-size: 12px;
    font-weight: 700;
}


.sort-box select {
    height: 44px;
    min-width: 150px;

    padding: 0 15px;

    border: 1px solid var(--line);
    border-radius: 12px;

    background: var(--white);
    color: var(--blue);

    outline: none;

    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   SEARCH
========================================================= */

.product-search {
    margin-bottom: 35px;
}


.search-wrapper {
    position: relative;

    max-width: 550px;
}


.search-wrapper > i {
    position: absolute;

    left: 18px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--sage);
}


.search-wrapper input {
    width: 100%;
    height: 54px;

    padding: 0 50px;

    border: 1px solid var(--line);
    border-radius: 16px;

    outline: none;

    background: var(--white);
    color: var(--black);

    font-family: inherit;
    font-size: 14px;

    box-shadow: 0 8px 25px rgba(32, 33, 43, .04);

    transition: var(--transition);
}


.search-wrapper input:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 4px rgba(45, 67, 84, .08),
        0 15px 35px rgba(32, 33, 43, .08);
}


#clearSearch {
    position: absolute;

    right: 8px;
    top: 50%;

    width: 38px;
    height: 38px;

    transform: translateY(-50%);

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 10px;

    background: transparent;
    color: var(--sage);

    cursor: pointer;
}


#clearSearch:hover {
    background: var(--soft-blue);
    color: var(--terra);
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    position: relative;

    min-width: 0;

    background: var(--white);

    border: 1px solid rgba(45, 67, 84, .08);

    border-radius: 25px;

    overflow: hidden;

    box-shadow: 0 12px 35px rgba(32, 33, 43, .06);

    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.2, .8, .2, 1),
        box-shadow var(--transition);

    transition-delay: var(--delay, 0s);
}


.product-card.show {
    opacity: 1;
    transform: translateY(0);
}


.product-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 25px 55px rgba(32, 33, 43, .13);
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-image-area {
    position: relative;

    height: 330px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 45%,
            #ffffff,
            #edf1f2
        );
}


.product-image-area::after {
    content: "";

    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 15px;

    height: 25px;

    border-radius: 50%;

    background: rgba(32, 33, 43, .10);

    filter: blur(12px);

    transition: var(--transition);
}


.product-card:hover .product-image-area::after {
    transform: scale(.75);
    opacity: .55;
}


.product-image-area img {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .7s cubic-bezier(.2, .8, .2, 1),
        filter .5s ease;
}


.product-card:hover .product-image-area img {
    transform: scale(1.07);
}


/* =========================================================
   BADGES
========================================================= */

.product-badge {
    position: absolute;
    z-index: 6;

    top: 14px;
    left: 14px;

    padding: 7px 11px;

    border-radius: 50px;

    background: var(--peach);
    color: var(--brown);

    font-size: 10px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: .08em;
}


.product-badge.sale {
    background: var(--terra);
    color: var(--white);
}


/* =========================================================
   WISHLIST
========================================================= */

.wishlist-btn {
    position: absolute;
    z-index: 6;

    top: 13px;
    right: 13px;

    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(45, 67, 84, .08);
    border-radius: 50%;

    background: rgba(255, 255, 255, .9);
    color: var(--blue);

    cursor: pointer;

    backdrop-filter: blur(10px);

    transition: var(--transition);
}


.wishlist-btn:hover {
    background: var(--terra);
    border-color: var(--terra);
    color: var(--white);

    transform: scale(1.08);
}


.wishlist-btn.active {
    background: var(--terra);
    border-color: var(--terra);
    color: var(--white);
}


.wishlist-btn.active i {
    font-weight: 900;
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.product-image-overlay {
    position: absolute;
    z-index: 5;

    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    justify-content: center;

    padding: 20px;

    background:
        linear-gradient(
            transparent,
            rgba(32, 33, 43, .35)
        );

    opacity: 0;

    transform: translateY(15px);

    transition: var(--transition);
}


.product-card:hover .product-image-overlay {
    opacity: 1;
    transform: translateY(0);
}


.quick-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 11px 18px;

    border: 0;
    border-radius: 50px;

    background: var(--white);
    color: var(--blue);

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}


.quick-view-btn:hover {
    background: var(--peach);
    color: var(--brown);
}


/* =========================================================
   PRODUCT CONTENT
========================================================= */

.product-content {
    padding: 21px;
}


.product-category {
    display: block;

    margin-bottom: 8px;

    color: var(--terra);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .15em;
    text-transform: uppercase;
}


.product-content h3 {
    margin: 0 0 8px;

    color: var(--blue);

    font-size: 15px;
    line-height: 1.00;

    letter-spacing: -.025em;
}


.product-content p {
    min-height: 43px;

    margin: 0 0 20px;

    color: #74757c;

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   PRODUCT BOTTOM
========================================================= */

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}


.product-price {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}


.product-price strong {
    color: var(--blue);
    font-size: 19px;
    letter-spacing: -.02em;
}


.product-price del {
    color: #999;

    font-size: 11px;
}


.add-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-width: 78px;
    height: 40px;

    padding: 0 13px;

    border: 0;
    border-radius: 12px;

    background: var(--blue);
    color: var(--white);

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;

    transition: var(--transition);
}


.add-cart-btn:hover {
    background: var(--terra);
    transform: translateY(-2px);
}


.add-cart-btn.added {
    background: var(--sage);
}











/* =========================================================
   PRODUCT SHORT DESCRIPTION
========================================================= */

.product-short-description {

    display: -webkit-box;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;

    margin: 8px 0 12px;

    color: #667085;

    font-size: 13px;

    line-height: 1.6;

}


/* =========================================================
   VIEW DETAILS BUTTON
========================================================= */

.view-details-btn {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 0;

    margin: 0 0 15px;

    border: none;

    background: transparent;

    color: #111827;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: all .2s ease;
}


.view-details-btn i {

    font-size: 11px;

    transition: transform .2s ease;
}


.view-details-btn:hover {

    color: #d97706;
}


.view-details-btn:hover i {

    transform: translateX(4px);
}


/* =========================================================
   EMPTY RESULT
========================================================= */

.no-products {
    padding: 80px 20px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--line);
    border-radius: 25px;
}


.empty-icon {
    width: 70px;
    height: 70px;

    display: grid;
    place-items: center;

    margin: 0 auto 20px;

    border-radius: 20px;

    background: var(--peach);
    color: var(--brown);

    font-size: 28px;
}


.no-products h3 {
    margin: 0 0 8px;

    color: var(--blue);
    font-size: 24px;
}


.no-products p {
    margin: 0 0 25px;

    color: var(--sage);
}


/* =========================================================
   CTA
========================================================= */

.products-cta {
    padding: 0 0 100px;
}


.cta-inner {
    position: relative;

    display: flex;
    align-items: center;
    gap: 30px;

    padding: 55px;

    border-radius: 35px;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            var(--blue),
            var(--brown)
        );

    color: var(--white);

    box-shadow: var(--shadow-lg);
}


.cta-inner::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -100px;
    top: -140px;

    border-radius: 50%;

    background: rgba(254, 215, 165, .15);
}


.cta-icon {
    position: relative;
    z-index: 2;

    flex: 0 0 70px;

    width: 70px;
    height: 70px;

    display: grid;
    place-items: center;

    border-radius: 22px;

    background: rgba(255, 255, 255, .1);

    color: var(--peach);

    font-size: 26px;
}


.cta-content {
    position: relative;
    z-index: 2;

    flex: 1;
}


.cta-content > span {
    color: var(--peach);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .15em;
    text-transform: uppercase;
}


.cta-content h2 {
    margin: 7px 0 8px;

    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -.04em;
}


.cta-content p {
    max-width: 580px;

    margin: 0;

    color: rgba(255, 255, 255, .7);

    font-size: 13px;
    line-height: 1.7;
}


.cta-btn {
    position: relative;
    z-index: 2;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 14px 20px;

    border-radius: 50px;

    background: var(--peach);
    color: var(--brown);

    font-size: 12px;
    font-weight: 900;

    text-decoration: none;

    transition: var(--transition);
}


.cta-btn:hover {
    background: var(--white);
    color: var(--blue);

    transform: translateY(-3px);
}


/* =========================================================
   PRODUCT MODAL
========================================================= */

.product-modal {
    position: fixed;
    z-index: 99999;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}


.product-modal.open {
    visibility: visible;
    opacity: 1;
}


.modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(32, 33, 43, .65);

    backdrop-filter: blur(8px);
}


.modal-box {
    position: relative;
    z-index: 2;

    width: min(950px, 100%);

    max-height: 90vh;

    overflow: auto;

    border-radius: 30px;

    background: var(--white);

    box-shadow: 0 40px 100px rgba(0, 0, 0, .25);

    transform: translateY(25px) scale(.97);

    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}


.product-modal.open .modal-box {
    transform: translateY(0) scale(1);
}


.modal-close {
    position: absolute;
    z-index: 10;

    top: 16px;
    right: 16px;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, .9);
    color: var(--blue);

    cursor: pointer;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}


.modal-close:hover {
    background: var(--terra);
    color: var(--white);

    transform: rotate(90deg);
}


.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}


.modal-image {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 45px;

    background:
        radial-gradient(
            circle,
            #ffffff,
            #edf1f2
        );
}


.modal-image img {
    width: 100%;
    height: 430px;

    object-fit: contain;
}


.modal-label {
    position: absolute;

    top: 25px;
    left: 25px;

    padding: 7px 11px;

    border-radius: 50px;

    background: var(--peach);
    color: var(--brown);

    font-size: 9px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: .12em;
}


.modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px;
}


.modal-category {
    margin-bottom: 10px;

    color: var(--terra);

    font-size: 10px;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: .15em;
}


.modal-content h2 {
  margin: 0 0 15px;
    color: var(--blue);
    font-size: clamp(20px, 4vw, 25px);
    line-height: 0.95;
    letter-spacing: -.05em;
}


.modal-content > p {
    margin: 0 0 25px;

    color: #777981;

    font-size: 14px;
    line-height: 1.8;
}


.modal-price {
    display: flex;
    align-items: center;
    gap: 10px;
}


.modal-price strong {
    color: var(--blue);
    font-size: 25px;
}


.modal-price del {
    color: #999;
    font-size: 13px;
}


.modal-divider {
    width: 100%;
    height: 1px;

    margin: 25px 0;

    background: var(--line);
}


.modal-features {
    display: grid;
    gap: 12px;

    margin-bottom: 30px;
}


.modal-features div {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--sage);

    font-size: 12px;
    font-weight: 700;
}


.modal-features i {
    color: var(--terra);
}


.modal-cart-btn {
    width: 100%;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 0;
    border-radius: 15px;

    background: var(--blue);
    color: var(--white);

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition: var(--transition);
}


.modal-cart-btn:hover {
    background: var(--terra);
    transform: translateY(-2px);
}


/* =========================================================
   REVEAL ANIMATIONS
========================================================= */

.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 0;
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2, .8, .2, 1);
}


.reveal-left {
    transform: translateX(-60px);
}


.reveal-right {
    transform: translateX(60px);
}


.reveal-up {
    transform: translateY(45px);
}


.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible {
    opacity: 1;
    transform: translate(0);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(18px);
    }
}


@keyframes productFloat {

    0%,
    100% {
        transform: rotate(5deg) translateY(0);
    }

    50% {
        transform: rotate(3deg) translateY(-12px);
    }
}


@keyframes floatingSmall {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}


@keyframes circleRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


















/* ADDED TO CART POPUP */

body.cart-popup-lock { overflow: hidden; }

.cart-popup {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
}

.cart-popup.open { visibility: visible; opacity: 1; }

.cart-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 60, 69, .55);
    backdrop-filter: blur(3px);
}

.cart-popup-box {
    position: relative;
    width: min(420px, 100%);
    padding: 38px 30px 30px;
    text-align: center;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .25);
    transform: translateY(20px) scale(.96);
    transition: transform .3s ease;
}

.cart-popup.open .cart-popup-box { transform: translateY(0) scale(1); }

.cart-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #f1f4f4;
    color: #123c45;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.cart-popup-close:hover { background: #d95b5b; color: #ffffff; }

.cart-popup-check {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e6f5ec;
    color: #2e8b57;
    font-size: 26px;
}

.cart-popup-box h3 {
    margin: 0 0 6px;
    color: #123c45;
    font-family: "Manrope", sans-serif;
    font-size: 23px;
    font-weight: 800;
}

.cart-popup-message {
    margin: 0 0 20px;
    color: #687276;
    font-family: "Inter", sans-serif;
    font-size: 13px;
}

.cart-popup-product {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding: 12px;
    text-align: left;
    background: #f8fafb;
    border: 1px solid #e7ecee;
    border-radius: 14px;
}

.cart-popup-product img {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    object-fit: contain;
    background: #ffffff;
    border-radius: 10px;
}

.cart-popup-product span {
    color: #123c45;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
}

.cart-popup-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cart-popup-continue,
.cart-popup-view {
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background .25s ease, color .25s ease,
                border-color .25s ease, transform .25s ease;
}

.cart-popup-continue {
    background: #ffffff;
    border: 1px solid #e2e8e9;
    color: #123c45;
}

.cart-popup-continue:hover {
    background: #fff6e9;
    border-color: #f0c17f;
    color: #df8d28;
}

.cart-popup-view {
    border: 0;
    background: #123c45;
    color: #ffffff;
}

.cart-popup-view:hover {
    background: #df8d28;
    color: #ffffff;
    transform: translateY(-2px);
}







/* =========================================================
   TYPE FILTER (Drinkware / Tumbler)
========================================================= */

.type-filter {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 14px;
    padding-top: 14px;

    border-top: 1px dashed var(--line);

    overflow-x: auto;
    scrollbar-width: none;
}

.type-filter::-webkit-scrollbar {
    display: none;
}

.type-pill {
    flex: 0 0 auto;

    height: 36px;
    padding: 0 18px;

    border: 1px solid var(--line);
    border-radius: 50px;

    background: var(--soft);
    color: var(--blue);

    font-family: inherit;
    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    transition: var(--transition);
}

.type-pill:hover,
.type-pill.active {
    background: var(--terra);
    border-color: var(--terra);
    color: var(--white);
}





@media (max-width: 400px) {
    .cart-popup-actions { grid-template-columns: 1fr; }
}
/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .products-container {
        width: min(1100px, calc(100% - 50px));
    }

    .products-hero .products-container {
        gap: 35px;
    }

    .products-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .hero-circle {
        width: 330px;
        height: 330px;
    }

    .hero-product-box {
        width: 220px;
        height: 275px;
    }
}


@media (max-width: 900px) {

    .products-container {
        width: calc(100% - 40px);
    }

    .products-hero {
        min-height: auto;
        padding: 80px 0;
    }

    .products-hero .products-container {
        grid-template-columns: 1fr;
    }

    .products-hero-content {
        max-width: 700px;
    }

    .products-hero-visual {
        min-height: 420px;
    }

    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .products-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .toolbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .cta-inner {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 40px;
    }

    .cta-content {
        min-width: 250px;
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-image {
        min-height: 350px;
    }

    .modal-image img {
        height: 300px;
    }

    .modal-content {
        padding: 35px;
    }
}


@media (max-width: 600px) {

    .products-container {
        width: calc(100% - 28px);
    }

    .products-hero {
        padding: 65px 0 45px;
    }

    .products-hero h1 {
        font-size: 47px;
    }

    .products-hero p {
        font-size: 14px;
        line-height: 1.7;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .products-hero-visual {
        min-height: 350px;
    }

    .hero-circle {
        width: 280px;
        height: 280px;
    }

    .hero-product-box {
        width: 190px;
        height: 240px;
    }

    .hero-product-icon {
        width: 60px;
        height: 60px;
        font-size: 25px;
    }

    .hero-product-box strong {
        font-size: 25px;
    }

    .card-top {
        top: 20px;
        right: 0;
    }

    .card-bottom {
        bottom: 20px;
        left: 0;
    }

    .products-section {
        padding: 65px 0 80px;
    }

     .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-image-area {
        height: 170px;
    }

    .product-card {
        border-radius: 18px;
    }

    .product-content {
        padding: 12px;
    }

    .product-category {
        font-size: 9px;
        margin-bottom: 5px;
    }

    .product-content h3 {
        font-size: 13px;
        line-height: 1.25;
        margin-bottom: 6px;
    }

    .view-details-btn {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .product-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .product-price strong {
        font-size: 15px;
    }

    .add-cart-btn {
        width: 100%;
        height: 36px;
        font-size: 11px;
    }

    .wishlist-btn {
        width: 32px;
        height: 32px;
        top: 8px;
        right: 8px;
        font-size: 12px;
    }

    .product-badge {
        top: 8px;
        left: 8px;
        padding: 5px 8px;
        font-size: 9px;
    }
    .products-toolbar h2 {
        font-size: 38px;
    }

    .toolbar-right {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .sort-box {
        width: 100%;
    }

    .sort-box select {
        flex: 1;
    }

    .product-search {
        margin-bottom: 25px;
    }

    .cta-inner {
        padding: 30px 24px;
        border-radius: 25px;
    }

    .cta-icon {
        width: 55px;
        height: 55px;
        flex-basis: 55px;
        border-radius: 16px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }

    .product-modal {
        padding: 12px;
    }

    .modal-box {
        max-height: 94vh;
        border-radius: 22px;
    }

    .modal-image {
        min-height: 280px;
        padding: 30px;
    }

    .modal-image img {
        height: 240px;
    }

    .modal-content {
        padding: 30px 22px;
    }

    .modal-content h2 {
        font-size: 32px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}