* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Verdana, sans-serif;
    color: #3b2525;
    background:
        radial-gradient(circle at 8% 12%, #ffe0ea 0 18px, transparent 19px),
        radial-gradient(circle at 92% 18%, #fff0b8 0 24px, transparent 25px),
        radial-gradient(circle at 18% 38%, #dff7dc 0 16px, transparent 17px),
        radial-gradient(circle at 82% 44%, #dceeff 0 20px, transparent 21px),
        radial-gradient(circle at 7% 68%, #fff0b8 0 22px, transparent 23px),
        radial-gradient(circle at 94% 73%, #ffe0ea 0 17px, transparent 18px),
        radial-gradient(circle at 28% 88%, #dceeff 0 20px, transparent 21px),
        radial-gradient(circle at 74% 91%, #dff7dc 0 17px, transparent 18px),
        #fff8f3;
    background-attachment: fixed;
}

header {
    min-height: 80px;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 10px 5%;
    background-color: white;
    border-bottom: 3px solid #ffd6df;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: auto;
    display: block;
}

header h1 {
    margin: 0;
    font-size: 24px;
    color: #ff5c8a;
    letter-spacing: 1px;
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

nav a {
    color: #d93670;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 20px;
    transition: 0.2s ease;
}

nav a:hover {
    background-color: #ffe1ea;
    color: #b51f55;
    transform: translateY(-2px);
}

.hero {
    min-height: 650px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 20px;
}

.hero-content {
    max-width: 850px;
}

.hero h1 {
    font-size: 68px;
    line-height: 1.05;
    margin: 0 0 22px;
    color: #ff4f81;
}

.hero h2 {
    font-size: 48px;
    line-height: 1.1;
    margin: 0 0 20px;
    color: #ff4f81;
}

.hero p {
    font-size: 23px;
    line-height: 1.7;
    margin: 0 0 35px;
    color: #634444;
}

.button {
    display: inline-block;
    background-color: #ff5c8a;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    border: 3px solid #ff5c8a;
    box-shadow: 0 5px 0 #d93670;
    transition: 0.2s ease;
}

.button:hover {
    background-color: #ff7ba0;
    border-color: #ff7ba0;
    transform: translateY(-3px);
    box-shadow: 0 8px 0 #d93670;
}

.hero .button {
    font-size: 18px;
    padding: 17px 36px;
}

.flavours {
    padding: 70px 6%;
    scroll-margin-top: 80px;
}

.flavours > h1,
.flavours > h2 {
    text-align: center;
    margin: 0 0 40px;
    color: #ff5c8a;
    font-size: 34px;
}

.flavour-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
}

.flavour-card {
    display: block;
    border: 3px solid #ffd6df;
    padding: 22px;
    text-align: center;
    text-decoration: none;
    color: #3b2525;
    background-color: white;
    border-radius: 20px;
    transition: 0.25s ease;
    box-shadow: 0 6px 0 #ffd6df;
}

.flavour-card:hover {
    transform: translateY(-7px) rotate(-1deg);
    border-color: #ff8faf;
    box-shadow: 0 12px 0 #ffb8ca;
}

.flavour-card:nth-child(2) {
    border-color: #ffe29a;
    box-shadow: 0 6px 0 #ffe29a;
}

.flavour-card:nth-child(2):hover {
    border-color: #ffc94d;
    box-shadow: 0 12px 0 #ffd86e;
}

.flavour-card img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: 0.25s ease;
}

.flavour-card:hover img {
    transform: scale(1.05);
}

.flavour-card h3 {
    margin: 8px 0;
    font-size: 22px;
    color: #e63e73;
}

.flavour-card p {
    color: #765858;
    margin: 8px 0 12px;
}

.flavour-card strong {
    display: inline-block;
    font-size: 18px;
    color: #3b2525;
    background-color: #fff8f3;
    padding: 7px 14px;
    border-radius: 20px;
}

.order-section {
    padding: 70px 20px 80px;
    text-align: center;
}

.order-section h1 {
    margin: 0 0 12px;
    font-size: 36px;
    color: #ff5c8a;
}

.order-section p {
    margin: 0 0 28px;
    font-size: 18px;
    color: #634444;
}

.order-section .button {
    font-size: 17px;
    padding: 15px 32px;
}

.checkout-box {
    width: 100%;
    max-width: 600px;
    margin: 28px auto 0;
    padding: 32px;
    background-color: white;
    border: 3px solid #ffd6df;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 8px 0 #ffd6df;
}

.form-group {
    width: 100%;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: bold;
    color: #634444;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
    height: 46px;
    padding: 0 13px;
    border: 2px solid #ffd6df;
    background-color: #fff8f3;
    color: #3b2525;
    border-radius: 10px;
    font-family: Verdana, sans-serif;
    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus {
    border-color: #ff5c8a;
    background-color: white;
}

.qty-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 15px;
    border: 2px solid #ffd6df;
    border-radius: 12px;
    margin-bottom: 12px;
    color: #3b2525;
    font-weight: bold;
    background-color: #fff8f3;
}

.qty-selector.strawberry {
    border-color: #ffb8ca;
}

.qty-selector.mango {
    border-color: #ffe29a;
}

.qty-selector input {
    width: 65px;
    height: 38px;
    padding: 5px;
    text-align: center;
    background-color: white;
    border: 2px solid #ffd6df;
    color: #3b2525;
    border-radius: 8px;
    font-family: Verdana, sans-serif;
    font-weight: bold;
    font-size: 15px;
    outline: none;
}

.qty-selector input:focus {
    border-color: #ff5c8a;
}

.total-display {
    font-size: 21px;
    font-weight: bold;
    margin: 25px 0;
    padding-top: 18px;
    border-top: 2px dashed #ffd6df;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ff4f81;
}

.submit-btn,
.copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border-radius: 30px;
    font-family: Verdana, sans-serif;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    transition: 0.2s ease;
}

.submit-btn {
    background-color: #25D366;
    color: white;
    border: 2px solid #25D366;
    margin: 0 0 12px;
    box-shadow: 0 5px 0 #159447;
}

.submit-btn:hover {
    background-color: #35df76;
    border-color: #35df76;
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #159447;
}

.copy-btn {
    background-color: white;
    color: #d93670;
    border: 2px solid #ffd6df;
}

.copy-btn:hover {
    background-color: #ffe8ef;
    border-color: #ff8faf;
}

.pay-notice {
    display: block;
    text-align: center;
    color: #8a7070;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 16px;
}

.about-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.about-page main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.about-container {
    width: 100%;
    max-width: 700px;
    margin: 60px 20px;
    padding: 35px;
    background-color: white;
    border: 3px solid #ffd6df;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 8px 0 #ffd6df;
}

.about-container h1,
.about-container h2 {
    color: #ff5c8a;
}

.about-container h3 {
    text-align: center;
    color: #ff5c8a;
    margin-top: 0;
    margin-bottom: 25px;
}

.info-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px dashed #ffd6df;
}

.info-section h1,
.info-section h2 {
    margin-top: 0;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-section h4 {
    margin: 0;
    line-height: 1.7;
    color: #634444;
    font-weight: normal;
}

footer {
    padding: 25px 20px;
    text-align: center;
    border-top: 3px solid #ffd6df;
    background-color: white;
}

footer > a {
    color: #ff5c8a;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

footer div {
    margin: 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
}

footer div a {
    color: #d93670;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    padding: 3px 6px;
    border-radius: 15px;
    transition: 0.2s ease;
}

footer div a:hover {
    background-color: #ffe1ea;
    color: #b51f55;
}

footer > a:hover {
    color: #d93670;
}

footer > a:last-child {
    display: block;
    font-size: 13px;
    color: #8a7070;
    font-weight: bold;
    text-decoration: none;
    margin-top: 2px;
}

footer > a:last-child:hover {
    color: #d93670;
}

main a:not(.button):not(.flavour-card):not(.submit-btn):not(.copy-btn) {
    color: #d93670;
    font-weight: bold;
}

main a:not(.button):not(.flavour-card):not(.submit-btn):not(.copy-btn):hover {
    color: #ff5c8a;
}

.loading-btn {
    opacity: 0.65;
    cursor: wait;
}

.confirmation-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(59, 37, 37, 0.55);
    animation: confirmationFadeIn 0.2s ease;
}

.confirmation-box {
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    background-color: white;
    border: 3px solid #ffd6df;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 0 #ffd6df;
}

.confirmation-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    margin-bottom: 10px;
}

.confirmation-box h2 {
    margin: 0 0 25px;
    color: #ff5c8a;
    font-size: 28px;
}

.confirmation-details {
    text-align: left;
}

.confirmation-details p {
    margin: 10px 0;
    color: #634444;
    font-size: 14px;
}

.confirmation-line {
    height: 2px;
    margin: 18px 0;
    border-top: 2px dashed #ffd6df;
}

.confirmation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    margin: 8px 0;
    color: #3b2525;
    font-weight: bold;
    font-size: 14px;
}

.confirmation-item img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    flex-shrink: 0;
}

.confirmation-total {
    color: #ff4f81 !important;
    font-size: 20px !important;
    font-weight: bold;
}

.thank-you-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background:
        radial-gradient(circle at 8% 12%, #ffe0ea 0 18px, transparent 19px),
        radial-gradient(circle at 92% 18%, #fff0b8 0 24px, transparent 25px),
        radial-gradient(circle at 18% 38%, #dff7dc 0 16px, transparent 17px),
        radial-gradient(circle at 82% 44%, #dceeff 0 20px, transparent 21px),
        radial-gradient(circle at 7% 68%, #fff0b8 0 22px, transparent 23px),
        radial-gradient(circle at 94% 73%, #ffe0ea 0 17px, transparent 18px),
        radial-gradient(circle at 28% 88%, #dceeff 0 20px, transparent 21px),
        radial-gradient(circle at 74% 91%, #dff7dc 0 17px, transparent 18px),
        #fff8f3;
    background-attachment: fixed;
}

.thank-you-content {
    width: 100%;
    max-width: 600px;
    padding: 35px;
    background-color: white;
    border: 3px solid #ffd6df;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 0 #ffd6df;
    animation: thankYouAppear 0.6s ease;
}

.thank-you-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 10px;
}

.thank-you-content h1 {
    margin: 0 0 12px;
    color: #ff5c8a;
    font-size: 38px;
}

.thank-you-content > p {
    margin: 8px 0;
    color: #634444;
    font-size: 16px;
}

.thank-you-subtext {
    color: #8a7070 !important;
    font-size: 13px !important;
}

.thank-you-total {
    margin: 25px 0;
    padding: 15px;
    border-radius: 15px;
    background-color: #fff8f3;
    color: #ff4f81;
    font-size: 21px;
    font-weight: bold;
}

.receipt-box {
    margin: 25px 0;
    padding: 25px;
    background-color: #fff8f3;
    border: 2px solid #ffd6df;
    border-radius: 15px;
    text-align: left;
}

.receipt-box h2 {
    margin: 0 0 18px;
    color: #ff5c8a;
    font-size: 20px;
}

.receipt-details p {
    margin: 10px 0;
    color: #634444;
    font-size: 13px;
}

.receipt-line {
    height: 2px;
    margin: 18px 0;
    border-top: 2px dashed #ffd6df;
}

.receipt-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 55px;
    margin: 8px 0;
    color: #3b2525;
    font-size: 13px;
    font-weight: bold;
}

.receipt-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.receipt-total {
    color: #ff4f81 !important;
    font-size: 18px !important;
    font-weight: bold;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 38px;
    margin-top: 22px;
    padding: 0 20px;
    border: 2px solid #ffd6df;
    border-radius: 20px;
    background-color: white;
    color: #d93670;
    font-family: Verdana, sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s ease;
}

.home-btn:hover {
    background-color: #ffe8ef;
    border-color: #ff8faf;
}

.fruit-wash {
    position: fixed;
    inset: 0;
    z-index: 5000;
    overflow: hidden;
    pointer-events: none;
    background: transparent;
}

.fruit-wash-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.wash-fruit {
    position: absolute;
    top: -80px;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
    font-size: 40px;
    line-height: 1;
    opacity: 0;
    user-select: none;
    animation-name: fruitFall;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes fruitFall {
    0% {
        transform:
            translateY(-100px)
            rotate(0deg);
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    92% {
        opacity: 1;
    }

    100% {
        transform:
            translateY(115vh)
            rotate(var(--rotate));
        opacity: 0;
    }
}

@keyframes confirmationFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes thankYouAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 700px) {
    header {
        grid-template-columns: 60px 1fr;
        padding: 10px 20px;
    }

    header h1 {
        text-align: right;
        font-size: 20px;
    }

    nav {
        grid-column: 1 / -1;
        justify-content: center;
        flex-wrap: wrap;
        padding-bottom: 5px;
    }

    nav a {
        font-size: 12px;
        padding: 8px 12px;
    }

    .hero {
        min-height: 520px;
        padding: 55px 20px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero .button {
        font-size: 16px;
        padding: 14px 28px;
    }

    .flavours {
        padding: 55px 20px;
    }

    .flavours > h1,
    .flavours > h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .flavour-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .flavour-card {
        padding: 18px;
    }

    .flavour-card img {
        height: 240px;
    }

    .order-section {
        padding: 50px 15px 60px;
    }

    .order-section h1 {
        font-size: 28px;
    }

    .order-section p {
        font-size: 16px;
    }

    .checkout-box {
        margin: 22px auto 0;
        padding: 23px 18px;
    }

    .form-group {
        width: 100%;
    }

    .form-group input[type="text"],
    .form-group input[type="tel"] {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        box-sizing: border-box;
        margin: 0;
    }

    .qty-selector {
        padding: 11px;
    }

    .total-display {
        font-size: 19px;
    }

    .submit-btn,
    .copy-btn {
        height: 50px;
        font-size: 13px;
    }

    .about-container {
        margin: 30px 20px;
        padding: 23px;
    }

    footer {
        padding: 20px 15px;
    }

    footer div {
        flex-direction: row;
        gap: 12px;
        margin: 6px 0;
    }

    footer div a {
        font-size: 12px;
        padding: 3px 4px;
    }

    footer > a {
        font-size: 16px;
    }

    footer > a:last-child {
        font-size: 12px;
        margin-top: 2px;
    }

    .confirmation-box {
        padding: 23px 18px;
    }

    .confirmation-box h2 {
        font-size: 24px;
    }

    .thank-you-content {
        padding: 25px 20px;
    }

    .thank-you-content h1 {
        font-size: 30px;
    }

    .receipt-box {
        padding: 20px;
    }

    .receipt-item {
        min-height: 50px;
    }

    .receipt-item img {
        width: 44px;
        height: 44px;
    }
}