/* Modern, accessible dropdown styles for cart form */

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fafbfa url('data:image/svg+xml;utf8,<svg fill="%235FA777" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7.293 8.293a1 1 0 011.414 0L10 9.586l1.293-1.293a1 1 0 111.414 1.414l-2 2a1 1 0 01-1.414 0l-2-2a1 1 0 010-1.414z"/></svg>') no-repeat right 1.1em center/1.2em 1.2em;
    border: 1.5px solid rgba(0, 0, 0, 0.16);
    border-radius: 14px;
    padding: 16px 44px 16px 14px;
    font-size: 16px;
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 48px;
    box-sizing: border-box;
}

select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(95, 167, 119, 0.18);
    outline: none;
}

select:disabled {
    background-color: #f3f3f3;
    color: #b0b6b0;
    cursor: not-allowed;
}

option {
    color: var(--text);
    font-size: 16px;
}

:root {
    --green: #5FA777;
    --green-dark: #3E7E59;
    --cream: #F6F8F5;
    --text: #1F2933;
    --muted: #6B7280;
    --radius: 14px;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6
}

header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 50
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--green-dark)
}

nav a {
    margin-left: 22px;
    text-decoration: none;
    font-size: 14px;
    color: var(--muted);
    font-weight: 500
}

nav a.cta {
    background: var(--green);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

section {
    padding: 72px 0
}

.page-head {
    padding: 56px 0 18px;
    background: linear-gradient(180deg, var(--cream), #fff)
}

.kicker {
    display: inline-block;
    background: rgba(95, 167, 119, 0.14);
    color: var(--green-dark);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    margin-bottom: 14px
}

h1 {
    font-size: clamp(30px, 4vw, 46px);
    margin: 0 0 12px;
    letter-spacing: -.02em;
    line-height: 1.1;
    max-width: 820px
}

.lead {
    color: var(--muted);
    max-width: 760px;
    font-size: 16px;
    line-height: 1.85;
    margin: 0
}

.hero-row {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 26px;
    align-items: start;
    margin-top: 22px
}

.card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 26px
}

.card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    letter-spacing: -.01em
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
    font-size: 14px
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 22px
}

.feature {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    padding: 20px;
    background: #fff
}

.feature h4 {
    margin: 0 0 8px;
    font-size: 16px
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75
}

.form-wrap {
    margin-top: 16px
}

.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600
}

input,
select,
textarea {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 12px 12px;
    font-size: 14px;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(95, 167, 119, 0.6);
    box-shadow: 0 0 0 3px rgba(95, 167, 119, 0.16)
}

.btn {
    background: var(--green);
    color: #fff;
    border: none;
    padding: 14px 18px;
    font-size: 15px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    width: auto;
    display: inline-block;
}

.btn:disabled {
    opacity: .7;
    cursor: not-allowed
}

.btn-secondary {
    background: #f3f4f6;
    color: var(--text);
    border: 1px solid #d1d5db;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.btn.outline {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
}

.btn.outline:hover {
    background: var(--green);
    color: white;
}

.btn.danger {
    background: #dc2626;
    color: white;
    border: 2px solid #dc2626;
}

.btn.danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

.note {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted)
}

.success {
    display: none;
    margin-top: 10px;
    font-size: 13px;
    color: var(--green-dark);
    font-weight: 600
}

.soft-cta {
    background: linear-gradient(180deg, #fff, var(--cream));
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 44px 26px;
    text-align: center;
}

.soft-cta h2 {
    margin: 0 0 10px;
    font-size: 30px;
    letter-spacing: -.02em
}

.soft-cta p {
    margin: 0 auto 18px;
    max-width: 560px;
    color: var(--muted);
    line-height: 1.75;
    font-size: 15px
}

footer {
    padding: 40px 20px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 13px;
    color: var(--muted)
}

@media (max-width:900px) {
    .hero-row {
        grid-template-columns: 1fr
    }
}

@media (max-width:768px) {
    nav a:not(.cta) {
        display: none
    }
    .form {
        grid-template-columns: 1fr
    }
}


/* Modal styles */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.modal.show {
    display: flex;
}

.modal-content {
    width: min(720px, 100%);
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.10);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.20);
    position: relative;
    animation: slideIn 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 18px;
    top: 18px;
    border: 0;
    background: rgba(0, 0, 0, 0.06);
    width: 36px;
    height: 36px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    color: var(--text);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 1;
}

.close:hover {
    background: rgba(0, 0, 0, 0.12);
}


/* Modal content structure */

.modal-header {
    padding: 18px 18px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.modal-header h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -.01em;
    color: var(--text);
}

.modal-header p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.modal-body {
    padding: 16px 18px 18px;
}

.modal .form {
    margin-top: 0;
}

.modal .note {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
}

.modal .success {
    display: none;
    margin-top: 10px;
    font-size: 13px;
    color: var(--green-dark);
    font-weight: 700;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}