/* =========================================================
   CHERRY STORE 🍒
   Tailwind Companion CSS
========================================================= */


/* =========================================================
   GOOGLE MATERIAL SYMBOLS
========================================================= */

.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

.nav-link,
.mobile-nav-link,
.cherry-button,
.glass-button,
.stock-button,
.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-link .material-symbols-rounded,
.mobile-nav-link .material-symbols-rounded {
    font-size: 19px;
}

.cherry-button .material-symbols-rounded,
.glass-button .material-symbols-rounded {
    font-size: 21px;
}

.stock-icon .material-symbols-rounded {
    font-size: 30px;
    color: #ff6685;
}

.product-tag .material-symbols-rounded {
    font-size: 17px;
}

.footer-link .material-symbols-rounded {
    font-size: 18px;
}

.music-icon {
    font-size: 25px !important;
}


/* =========================================================
   GLOBAL
========================================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(164, 0, 33, 0.95) 0%,
            rgba(90, 0, 17, 0.7) 25%,
            transparent 52%
        ),
        radial-gradient(
            circle at 90% 50%,
            rgba(164, 0, 33, 0.28),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #a40021 0%,
            #600012 32%,
            #3d000a 68%,
            #150002 100%
        );

    background-attachment: fixed;

    animation: pageEnter 0.8s ease both;
}


/* subtle grid */

body::before {
    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: -1;

    opacity: 0.16;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 45px 45px;
}


/* =========================================================
   PAGE ANIMATION
========================================================= */

@keyframes pageEnter {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   HERO
========================================================= */

.hero-gradient {
    background:
        linear-gradient(
            90deg,
            rgba(61, 0, 10, 0.98) 0%,
            rgba(61, 0, 10, 0.86) 35%,
            rgba(61, 0, 10, 0.58) 70%,
            rgba(61, 0, 10, 0.8) 100%
        ),
        linear-gradient(
            180deg,
            rgba(61, 0, 10, 0.15),
            rgba(61, 0, 10, 0.8)
        );
}


/* =========================================================
   CHERRY TITLE
========================================================= */

.cherry-title {
    color: #ffffff;

    text-shadow:
        0 5px 20px rgba(255, 102, 133, 0.2),
        0 0 35px rgba(255, 102, 133, 0.12);

    animation:
        cherryPulse 3.2s ease-in-out infinite;
}


@keyframes cherryPulse {

    0%,
    100% {
        transform: scale(1);
        text-shadow:
            0 5px 20px rgba(255, 102, 133, 0.2),
            0 0 35px rgba(255, 102, 133, 0.12);
    }

    50% {
        transform: scale(1.018);
        text-shadow:
            0 7px 30px rgba(255, 102, 133, 0.42),
            0 0 55px rgba(255, 102, 133, 0.25);
    }

}


/* =========================================================
   FLOATING
========================================================= */

.floating {
    animation:
        floating 3.5s ease-in-out infinite;
}

.delay-2 {
    animation-delay: 1.2s;
}

.delay-3 {
    animation-delay: 2.1s;
}


@keyframes floating {

    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-14px) rotate(3deg);
    }

}


/* =========================================================
   FADE UP
========================================================= */

.fade-up {
    opacity: 0;

    animation:
        fadeUp 0.8s cubic-bezier(.22, 1, .36, 1)
        forwards;
}


.fade-up.delay-1 {
    animation-delay: .12s;
}

.fade-up.delay-2 {
    animation-delay: .24s;
}

.fade-up.delay-3 {
    animation-delay: .36s;
}

.fade-up.delay-4 {
    animation-delay: .48s;
}


@keyframes fadeUp {

    from {
        opacity: 0;

        transform:
            translateY(30px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


/* =========================================================
   PULSE DOT
========================================================= */

.pulse-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #ff6685;

    box-shadow:
        0 0 0 0 rgba(255, 102, 133, 0.7);

    animation:
        dotPulse 2s infinite;
}


@keyframes dotPulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(255, 102, 133, 0.7);
    }

    70% {
        box-shadow:
            0 0 0 9px rgba(255, 102, 133, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(255, 102, 133, 0);
    }

}


/* =========================================================
   NAVIGATION
========================================================= */

.nav-link {
    position: relative;

    display: block;

    padding: 10px 13px;

    border-radius: 11px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 0.83rem;

    font-weight: 800;

    transition:
        all 0.3s ease;
}


.nav-link:hover {
    color: #ffffff;

    background:
        rgba(255, 102, 133, 0.09);

    transform:
        translateY(-2px);
}


.mobile-nav-link {
    display: block;

    padding: 13px;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.04);

    color: rgba(255, 255, 255, 0.75);

    font-weight: 800;

    transition:
        all 0.25s ease;
}


.mobile-nav-link:hover {
    color: #ffffff;

    background:
        rgba(255, 102, 133, 0.12);
}


/* hamburger */

.menu-line {
    width: 21px;
    height: 2px;

    border-radius: 20px;

    background: #ffffff;

    transition:
        all 0.3s ease;
}


#mobileMenuButton.active .menu-line:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}


#mobileMenuButton.active .menu-line:nth-child(2) {
    opacity: 0;
}


#mobileMenuButton.active .menu-line:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =========================================================
   BUTTONS
========================================================= */

.cherry-button {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 52px;

    padding: 13px 22px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #ff6685,
            #e13d61
        );

    color: #ffffff;

    font-weight: 900;

    box-shadow:
        0 10px 30px rgba(255, 102, 133, 0.22);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.cherry-button::before {
    content: "";

    position: absolute;

    inset: 0;

    width: 45%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent
        );

    transform:
        translateX(-160%)
        skewX(-20deg);

    transition:
        transform 0.6s ease;
}


.cherry-button:hover {
    transform:
        translateY(-4px)
        scale(1.02);

    box-shadow:
        0 16px 45px rgba(255, 102, 133, 0.4);
}


.cherry-button:hover::before {
    transform:
        translateX(320%)
        skewX(-20deg);
}


.glass-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 13px 22px;

    border-radius: 14px;

    border:
        1px solid rgba(255, 255, 255, 0.14);

    background:
        rgba(255, 255, 255, 0.055);

    backdrop-filter:
        blur(15px);

    color: #ffffff;

    font-weight: 900;

    transition:
        all 0.3s ease;
}


.glass-button:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(255, 102, 133, 0.35);

    background:
        rgba(255, 102, 133, 0.1);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   SECTION TITLES
========================================================= */

.section-heading {
    text-align: center;

    max-width: 720px;

    margin:
        0 auto 50px;
}


.section-label {
    display: inline-block;

    margin-bottom: 12px;

    color: #ff6685;

    font-size: 0.72rem;

    font-weight: 900;

    letter-spacing: 3px;

    text-transform: uppercase;
}


.section-title {
    font-family: "Fredoka", sans-serif;

    font-size:
        clamp(2.2rem, 5vw, 3.4rem);

    line-height: 1.1;

    font-weight: 700;

    text-shadow:
        0 5px 25px rgba(0, 0, 0, 0.3);
}


.section-subtitle {
    margin-top: 14px;

    color:
        rgba(255, 255, 255, 0.55);

    line-height: 1.7;
}


/* =========================================================
   PRICE CARDS
========================================================= */

.price-card {
    position: relative;

    min-height: 75px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        14px 20px;

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.065),
            rgba(255, 255, 255, 0.025)
        );

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.price-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background:
        linear-gradient(
            180deg,
            #ff6685,
            #a40021
        );

    opacity: 0;

    transition:
        opacity 0.3s ease;
}


.price-card:hover {
    transform:
        translateY(-5px)
        scale(1.015);

    border-color:
        rgba(255, 102, 133, 0.32);

    background:
        rgba(255, 102, 133, 0.08);

    box-shadow:
        0 15px 40px rgba(255, 102, 133, 0.12);
}


.price-card:hover::before {
    opacity: 1;
}


.price-card span {
    font-family: "Fredoka", sans-serif;

    font-size: 1.25rem;

    font-weight: 600;
}


.price-card strong {
    color: #ffd1dc;

    font-size: 1rem;

    font-weight: 900;
}


/* =========================================================
   PRODUCT CARDS
========================================================= */

.product-card {
    overflow: hidden;

    border:
        1px solid rgba(255, 255, 255, 0.1);

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}


.product-card:hover {
    transform:
        translateY(-9px);

    border-color:
        rgba(255, 102, 133, 0.32);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35),
        0 0 45px rgba(255, 102, 133, 0.08);
}


.product-image {
    position: relative;

    height: 330px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px;

    background:
        radial-gradient(
            circle,
            rgba(255, 102, 133, 0.15),
            rgba(61, 0, 10, 0.15) 55%,
            rgba(10, 0, 2, 0.4)
        );
}


.product-image img {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 100%;

    filter:
        drop-shadow(
            0 25px 25px rgba(0, 0, 0, 0.45)
        );

    transition:
        transform 0.5s cubic-bezier(.22, 1, .36, 1);
}


.product-card:hover .product-image img {
    transform:
        scale(1.08)
        translateY(-5px);
}


.product-glow {
    position: absolute;

    width: 230px;
    height: 230px;

    border-radius: 50%;

    background:
        #ff6685;

    opacity: 0.12;

    filter:
        blur(80px);

    transition:
        opacity 0.4s ease;
}


.product-card:hover .product-glow {
    opacity: 0.22;
}


.product-tag {
    color: #ff6685;

    font-size: 0.7rem;

    font-weight: 900;

    letter-spacing: 2px;
}


.product-title {
    margin-top: 8px;

    font-family: "Fredoka", sans-serif;

    font-size: 1.55rem;

    line-height: 1.2;
}


.product-price {
    margin-top: 14px;

    color: #ffd1dc;

    font-family: "Fredoka", sans-serif;

    font-size: 1.55rem;

    font-weight: 600;
}


.product-description {
    margin:
        12px 0 20px;

    color:
        rgba(255, 255, 255, 0.55);

    line-height: 1.65;

    font-size: 0.9rem;
}


/* =========================================================
   KORBLOX
========================================================= */

.korblox-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding:
        12px 14px;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.035);

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 0.85rem;

    transition:
        background 0.25s ease;
}


.korblox-row:hover {
    background:
        rgba(255, 102, 133, 0.07);
}


.korblox-row strong {
    color: #ffd1dc;

    white-space: nowrap;
}


/* =========================================================
   STOCK CARDS
========================================================= */

.stock-card {
    position: relative;

    padding: 23px;

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.045);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}


.stock-card::after {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    right: -45px;
    top: -45px;

    border-radius: 50%;

    background:
        #ff6685;

    opacity: 0.08;

    filter:
        blur(25px);

    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}


.stock-card:hover {
    transform:
        translateY(-7px)
        scale(1.015);

    border-color:
        rgba(255, 102, 133, 0.3);

    background:
        rgba(255, 102, 133, 0.065);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25);
}


.stock-card:hover::after {
    transform:
        scale(2);

    opacity: 0.14;
}


.stock-icon {
    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        rgba(255, 102, 133, 0.1);

    font-size: 1.5rem;

    margin-bottom: 18px;

    transition:
        transform 0.3s ease;
}


.stock-card:hover .stock-icon {
    transform:
        rotate(-5deg)
        scale(1.1);
}


.stock-card h3 {
    font-family: "Fredoka", sans-serif;

    font-size: 1.2rem;
}


.stock-card p {
    margin-top: 5px;

    min-height: 42px;

    color:
        rgba(255, 255, 255, 0.5);

    font-size: 0.82rem;

    line-height: 1.5;
}


.stock-button {
    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 17px;

    min-height: 40px;

    border:
        1px solid rgba(255, 102, 133, 0.2);

    border-radius: 10px;

    background:
        rgba(255, 102, 133, 0.06);

    color: #ffd1dc;

    font-size: 0.8rem;

    font-weight: 900;

    transition:
        all 0.25s ease;
}


.stock-button:hover {
    background:
        #ff6685;

    color: #ffffff;

    border-color:
        #ff6685;

    transform:
        translateY(-2px);
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(35px)
        scale(0.98);

    transition:
        opacity 0.8s cubic-bezier(.22, 1, .36, 1),
        transform 0.8s cubic-bezier(.22, 1, .36, 1);
}


.reveal.visible {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}


/* =========================================================
   FOOTER
========================================================= */

.footer-link {
    display: block;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.footer-link:hover {
    color: #ffd1dc;

    transform:
        translateX(4px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 640px) {

    .hero-gradient {
        background:
            linear-gradient(
                180deg,
                rgba(61, 0, 10, 0.65),
                rgba(61, 0, 10, 0.95)
            );
    }


    .product-image {
        height: 270px;

        padding: 25px;
    }


    .price-card {
        min-height: 66px;

        padding:
            12px 16px;
    }


    .price-card span {
        font-size: 1.05rem;
    }


    .price-card strong {
        font-size: 0.9rem;
    }


    .korblox-row {
        flex-direction: column;

        align-items: flex-start;

        gap: 4px;
    }


    .cherry-button,
    .glass-button {
        width: 100%;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 641px) and (max-width: 1024px) {

    .product-image {
        height: 300px;
    }

}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }

}
