/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff8fc;
    color: #4a3450;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #f0d9e7;
}

.nav-inner {
    max-width: 1180px;
    margin: auto;
    padding: 14px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-weight: 900;
    font-size: 20px;
    color: #663654;
}

.brand span {
    color: #d94d89;
}

.nav-links a,
.nav-inner > a:not(.brand) {
    margin-left: 24px;
    font-size: 14px;
    font-weight: 600;
    color: #65465b;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    max-width: 1440px;
    margin: 0 auto;
    padding: 72px 40px 80px;
    display: grid;
    grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
    gap: 52px;
    align-items: start;
    min-height: 650px;
}

.hero-copy {
    padding: 88px 0 0;
    max-width: 600px;
    align-self: start;
}

.eyebrow {
    color: #ce568d;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    font-size: 12px;
}

.hero h1 {
    font-size: clamp(52px, 5.6vw, 82px);
    line-height: 0.98;
    letter-spacing: -2.8px;
    margin: 16px 0 22px;
    color: #5a2e4e;
}

.hero h1 em {
    font-style: normal;
    color: #d34d87;
}

.hero-copy > p {
    font-size: 18px;
    line-height: 1.65;
    color: #765d70;
    max-width: 560px;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn {
    display: inline-block;
    background: #c94e88;
    color: white;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(201, 78, 136, 0.18);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn.alt {
    background: white;
    color: #8c456e;
    border: 1px solid #dfa9c4;
    box-shadow: none;
}

.hero-features {
    display: flex;
    gap: 22px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-features div {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: #6b4d61;
}

.hero-features span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fbe1ee;
    color: #cf4e89;
    font-size: 20px;
}


/* =========================================================
   HERO PHOTO
========================================================= */

.hero-photo-wrap {
    position: relative;
    min-width: 0;
}

.hero-photo-card {
    position: relative;
    background: linear-gradient(135deg, #fce7f1, #fff1c9);
    padding: 16px;
    border-radius: 38px;
    box-shadow: 0 20px 55px rgba(100, 60, 90, 0.13);
    overflow: hidden;
}

.hero-photo-card img {
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: 54% 45%;
    border-radius: 28px;
}

.photo-note {
    position: absolute;
    right: 34px;
    bottom: 28px;
    background: #ffd3e5;
    color: #9c3e6e;
    padding: 14px 22px;
    border-radius: 45% 55% 52% 48%;
    font-family: cursive;
    font-size: 24px;
    transform: rotate(-4deg);
    box-shadow: 0 7px 18px rgba(120, 60, 90, 0.12);
}

.hero-doodle {
    position: absolute;
    color: #d94d89;
    font-size: 48px;
    font-family: cursive;
}

.doodle-one {
    left: -25px;
    top: 55px;
    transform: rotate(-15deg);
}

.doodle-two {
    right: -12px;
    top: 155px;
    transform: rotate(18deg);
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    max-width: 1180px;
    margin: auto;
    padding: 65px 22px;
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 35px;
}

.section h2 {
    color: #5a2e4e;
    font-size: 38px;
    line-height: 1.1;
    margin: 8px 0 10px;
}

.section-sub {
    text-align: center;
    color: #7b6877;
    line-height: 1.6;
    margin: 0 auto 30px;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.product {
    background: white;
    border: 1px solid #f0dce9;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(90, 50, 80, 0.06);
}

.product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-body {
    padding: 15px;
}

.product h3 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #633c57;
}

.sample-card .product-body p {
    margin: 0;
    color: #92798b;
    font-size: 12px;
}


/* =========================================================
   PRODUCT CTA
========================================================= */

.single-product-cta {
    margin-top: 28px;
    background: linear-gradient(135deg, #fff, #fff3c9);
    border: 1px solid #f0d8e4;
    border-radius: 24px;
    padding: 24px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.single-product-cta h3 {
    margin: 5px 0;
    color: #63334f;
    font-size: 23px;
}

.single-product-cta p {
    margin: 0;
    color: #7d6575;
}

.mini-label {
    font-size: 11px;
    letter-spacing: 1.7px;
    font-weight: 800;
    color: #c84d87;
}


/* =========================================================
   HANDMADE NOTE
========================================================= */

.note-section {
    padding-top: 15px;
}

.handmade-note {
    max-width: 950px;
    margin: auto;
    background: #fff;
    border: 1px solid #efd8e6;
    border-radius: 28px;
    padding: 34px;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 22px;
    box-shadow: 0 12px 35px rgba(90, 50, 80, 0.07);
}

.note-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fde3ef;
    color: #d14e87;
    display: grid;
    place-items: center;
    font-size: 28px;
}

.handmade-note h2 {
    text-align: left;
    font-size: 30px;
    margin: 0 0 15px;
}

.handmade-note p {
    line-height: 1.65;
    color: #70586b;
    margin: 8px 0;
}

.note-signoff {
    color: #c84e88 !important;
    font-weight: 800;
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.how {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.step {
    background: white;
    border-radius: 22px;
    padding: 24px;
    border: 1px solid #f0dce9;
}

.step b {
    display: block;
    font-size: 28px;
    color: #d0528c;
    margin-bottom: 8px;
}

.step strong {
    font-size: 17px;
    color: #603c55;
}

.step p {
    color: #806a7a;
    line-height: 1.55;
    margin-bottom: 0;
}


/* =========================================================
   ORDER PAGE
========================================================= */

.order-box {
    background: #fff;
    border: 1px solid #efd8e6;
    border-radius: 26px;
    padding: 32px;
    max-width: 780px;
    margin: auto;
    box-shadow: 0 12px 35px rgba(90, 50, 80, 0.07);
}

.order-cta-box {
    text-align: center;
    background: linear-gradient(135deg, #fff, #fff1f8);
}

.order-cta-box .section-sub {
    margin-bottom: 20px;
}


/* =========================================================
   FORM ELEMENTS
========================================================= */

label {
    font-weight: 800;
    font-size: 14px;
    display: block;
    margin: 15px 0 7px;
    color: #604157;
}

/*
   Only regular form controls get width: 100%.
   Checkboxes are handled separately below.
*/

input:not([type="checkbox"]),
select,
textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddcbd8;
    border-radius: 12px;
    font: inherit;
    background: #fff;
    color: #493545;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

.required {
    color: #cf4d87;
}


/* =========================================================
   PAYMENT NOTICE
========================================================= */

.notice {
    background: #fff5c9;
    border: 1px solid #f1d878;
    padding: 15px;
    border-radius: 14px;
    margin: 18px 0;
    line-height: 1.55;
}


/* =========================================================
   ORDER LIMITATION
========================================================= */

.order-limitation {
    background: #fff0f7;
    border: 1px solid #efc8dc;
    padding: 17px;
    border-radius: 16px;
    margin: 18px 0;
    color: #704d62;
}

.order-limitation p {
    margin: 7px 0;
    line-height: 1.55;
}


/* =========================================================
   AGREEMENT CHECKBOX
========================================================= */

/*
   IMPORTANT:
   This is outside the mobile media query so it works
   on desktop, tablet and mobile.
*/

.agreement-check {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin: 18px 0 !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    color: #3f2938 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
}

/*
   Normal browser checkbox.
   We intentionally DO NOT use appearance:none.
   This keeps it clickable and reliable.
*/

.agreement-check input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: auto !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    accent-color: #b7659b;
    flex: 0 0 22px !important;
}

.agreement-check span {
    cursor: pointer;
}

.agreement-check:hover {
    background: #fff8fc;
}


/* =========================================================
   OLD CHECK ROW SUPPORT
========================================================= */

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 600;
    line-height: 1.5;
    background: #fff8fc;
    border: 1px solid #eed9e6;
    padding: 14px;
    border-radius: 13px;
}

.check-row input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 auto;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.submit-btn {
    margin-top: 18px;
    width: 100%;
}


/* =========================================================
   SUCCESS / ERROR
========================================================= */

.success {
    background: #e9f9ef;
    border: 1px solid #b8e5c6;
    padding: 20px;
    border-radius: 16px;
}

.error {
    background: #fff0f0;
    border: 1px solid #edc1c1;
    padding: 13px 15px;
    border-radius: 12px;
    margin: 10px 0;
}

.small {
    font-size: 12px;
    color: #887586;
}

.order-page {
    padding-top: 45px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 35px 20px;
    text-align: center;
    color: #8a7485;
    border-top: 1px solid #f0dce9;
    margin-top: 40px;
}


/* =========================================================
   ADMIN
========================================================= */

.admin-wrap {
    max-width: 1100px;
    margin: 35px auto;
    padding: 0 20px;
}

.table-wrap {
    overflow: auto;
    background: white;
    border: 1px solid #ead9e5;
    border-radius: 18px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 14px;
}

.badge {
    padding: 5px 9px;
    border-radius: 999px;
    background: #f5e5ef;
    color: #8e4e78;
    font-weight: 700;
    font-size: 12px;
}

.admin-card {
    max-width: 420px;
    margin: 70px auto;
    background: white;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid #ead9e5;
}

.receipt {
    max-width: 120px;
    border-radius: 8px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .hero {
        grid-template-columns: 1fr;
        max-width: 850px;
        padding: 48px 28px 60px;
        gap: 34px;
        min-height: 0;
    }

    .hero-copy {
        max-width: 720px;
        margin: 0 auto;
        padding: 0;
        text-align: center;
    }

    .hero-copy > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-features {
        justify-content: center;
    }

    .hero-photo-card img {
        height: 520px;
    }

    .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .how {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .nav-inner {
        padding: 12px 14px;
        gap: 8px;
    }

    .nav-links a {
        margin-left: 11px;
        font-size: 12px;
    }

    .brand {
        font-size: 17px;
    }

    .hero {
        padding: 34px 16px 44px;
        gap: 28px;
    }

    .hero-copy {
        text-align: left;
        padding: 0;
    }

    .hero h1 {
        font-size: 47px;
        letter-spacing: -1.3px;
    }

    .hero-copy > p {
        font-size: 16px;
    }

    .hero-actions,
    .hero-features {
        justify-content: flex-start;
    }

    .hero-photo-card {
        padding: 10px;
        border-radius: 25px;
    }

    .hero-photo-card img {
        height: 380px;
        border-radius: 18px;
        object-position: 54% center;
    }

    .photo-note {
        right: 20px;
        bottom: 20px;
        font-size: 19px;
        padding: 11px 16px;
    }

    .doodle-one {
        left: -4px;
        top: 28px;
    }

    .doodle-two {
        right: -4px;
        top: 130px;
    }

    .section {
        padding: 48px 16px;
    }

    .section h2 {
        font-size: 32px;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .single-product-cta {
        display: block;
        padding: 20px;
    }

    .single-product-cta .btn {
        margin-top: 16px;
    }

    .handmade-note {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .note-icon {
        margin-bottom: -5px;
    }

    .handmade-note h2 {
        text-align: left;
        font-size: 27px;
    }

    .how {
        grid-template-columns: 1fr;
    }

    .order-box {
        padding: 22px;
    }

    .nav-inner > a:not(.brand) {
        margin-left: 8px;
    }

    .nav-links {
        display: none;
    }

    /*
       Keep agreement text comfortable on small screens.
    */

    .agreement-check {
        gap: 10px !important;
        padding: 10px 4px !important;
        font-size: 13px !important;
    }

    .agreement-check input[type="checkbox"] {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        flex-basis: 22px !important;
    }
}