:root {
    --theme-rgb: 0, 167, 200;
    --brand: #00a7c8;
    --accent: #00a7c8;
    --accent-soft: rgba(var(--theme-rgb), 0.34);
    --cta: #00a7c8;
    --cta-soft: rgba(var(--theme-rgb), 0.34);
    --ink: #17251f;
    --muted: #61716a;
    --surface: rgba(255, 255, 255, 0.86);
    --surface-dark: rgba(255, 255, 255, 0.78);
    --cream: #f7ead6;
    --white: #ffffff;
    --line: rgba(var(--theme-rgb), 0.14);
    --light-line: rgba(23, 37, 31, 0.12);
    --button-height: 48px;
    --button-icon-size: 48px;
    --button-min-width: 148px;
    --button-padding-x: 18px;
    --button-radius: 10px;
    --button-font-size: 14px;
    --button-icon-font-size: 22px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

#conteudo,
#bebidas,
#favoritos,
#personalizar {
    scroll-margin-top: 92px;
}

body {
    min-height: 100vh;
    font-family: "Poppins", Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 70% 16%, rgba(215, 82, 135, 0.18), transparent 25%),
        radial-gradient(circle at 12% 76%, rgba(0, 98, 65, 0.12), transparent 30%),
        linear-gradient(135deg, rgba(250, 246, 238, 0.96), rgba(241, 247, 241, 0.94) 48%, rgba(255, 239, 246, 0.92)),
        url("img/fundo.jpg") center/cover fixed;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    line-height: 1;
}

::selection {
    color: var(--white);
    background: var(--brand);
}

:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.95);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 20;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--white);
    background: var(--accent);
    font-size: 13px;
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.page-shell {
    width: min(1640px, calc(100% - 96px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 34px 0 72px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100vw;
    margin: -34px calc(50% - 50vw) 56px;
    padding: 12px max(48px, calc((100vw - 1640px) / 2));
    border: 0;
    border-bottom: 1px solid rgba(var(--theme-rgb), 0.12);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 34px rgba(23, 37, 31, 0.08);
    backdrop-filter: blur(18px);
}

.brand,
.nav-links {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: 0;
}

.nav-links {
    gap: 8px;
    padding: 6px;
    border-radius: var(--button-radius);
    background: transparent;
}

.nav-links a {
    display: grid;
    place-items: center;
    min-height: var(--button-height);
    padding: 0 var(--button-padding-x);
    border-radius: var(--button-radius);
    color: rgba(23, 37, 31, 0.78);
    font-size: var(--button-font-size);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover {
    color: var(--brand);
    background: rgba(var(--theme-rgb), 0.08);
}

.logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}

.cart-shortcut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    min-height: var(--button-height);
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--button-radius);
    color: var(--white);
    background: var(--cta);
    font-size: var(--button-font-size);
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 12px 28px var(--cta-soft);
    transition: transform 0.25s ease, background 0.25s ease;
}

.cart-icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-shortcut:hover {
    transform: translateY(-2px);
}

.cart-shortcut span {
    display: grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    color: var(--ink);
    background: var(--white);
    font-size: 12px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
    align-items: center;
    gap: 88px;
    min-height: 650px;
    padding: 42px 0 66px;
}

.hero-copy {
    max-width: 580px;
    color: var(--ink);
    text-shadow: none;
}

.eyebrow {
    margin-bottom: 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--brand);
    background: none;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

h1 {
    max-width: 650px;
    font-size: clamp(42px, 5.9vw, 80px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
}

h1 span {
    color: var(--brand);
}

.hero-description {
    max-width: 560px;
    margin-top: 28px;
    color: rgba(23, 37, 31, 0.78);
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--button-min-width);
    min-height: var(--button-height);
    padding: 0 var(--button-padding-x);
    border-radius: var(--button-radius);
    font-size: var(--button-font-size);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button-primary {
    color: var(--white);
    background: var(--cta);
    box-shadow: 0 16px 34px var(--cta-soft);
}

.button-secondary {
    border: 1px solid rgba(var(--theme-rgb), 0.28);
    color: var(--brand);
    background: rgba(255, 255, 255, 0.62);
}

.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-3px);
}

.button-secondary:hover {
    color: var(--white);
    background: var(--brand);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 610px;
    margin-top: 52px;
}

.stats div,
.drink-info,
.customizer-panel {
    border: 1px solid var(--light-line);
    background: var(--surface-dark);
    box-shadow: 0 20px 54px rgba(23, 37, 31, 0.12);
    backdrop-filter: blur(20px);
}

.stats div {
    min-height: 96px;
    padding: 18px;
    border-radius: 8px;
}

.stats strong {
    display: block;
    color: var(--brand);
    font-size: 25px;
    line-height: 1;
}

.stats span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.hero-product {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 590px;
}

.product-glow {
    position: absolute;
    width: min(42vw, 520px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 42%),
        radial-gradient(circle, var(--accent-soft) 0%, var(--accent) 57%, transparent 58%);
    opacity: 0.9;
    filter: blur(0.2px) drop-shadow(0 30px 70px var(--accent-soft));
}

.main-cup {
    position: relative;
    z-index: 2;
    width: min(410px, 76vw);
    max-height: 560px;
    object-fit: contain;
    filter: drop-shadow(0 30px 42px rgba(0, 0, 0, 0.28));
    transition: transform 0.32s ease, opacity 0.22s ease;
}

.main-cup:hover {
    transform: translateY(-10px) rotate(-3deg);
}

.main-cup.is-changing {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
}

.drink-info {
    position: absolute;
    right: 16px;
    bottom: 58px;
    z-index: 3;
    width: min(300px, 76%);
    padding: 20px;
    border-radius: 8px;
}

.drink-label {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.drink-info h2 {
    margin-top: 4px;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.15;
}

.drink-info span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.drink-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.drink-meta div {
    padding: 10px;
    border-radius: 8px;
    background: rgba(var(--theme-rgb), 0.08);
}

.drink-meta dt {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.drink-meta dd {
    margin-top: 2px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
}

.drink-picker {
    display: flex;
    justify-content: center;
    gap: 22px;
    padding: 4px 0 88px;
}

.thumb-button {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    cursor: pointer;
    box-shadow: 0 18px 38px rgba(41, 29, 24, 0.16);
    transition: 0.25s ease;
}

.thumb-button img {
    width: 54px;
    max-height: 68px;
    object-fit: contain;
    pointer-events: none;
}

.thumb-button:hover,
.thumb-button.is-active {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 18px 44px var(--accent-soft);
}

.journey-section {
    margin: 0 0 96px;
}

.journey-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.journey-steps article {
    min-height: 230px;
    padding: 26px;
    border: 1px solid var(--light-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 42px rgba(23, 37, 31, 0.08);
    backdrop-filter: blur(16px);
}

.journey-steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--white);
    background: var(--brand);
    font-size: 13px;
    font-weight: 900;
}

.journey-steps h3 {
    margin-top: 24px;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.18;
}

.journey-steps p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.spotlight-section {
    margin: 0 0 96px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 30px;
}

.section-heading > div {
    max-width: 760px;
}

.section-heading h2 {
    max-width: 620px;
    margin-top: 4px;
    color: var(--ink);
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.08;
}

.section-heading > p {
    max-width: 420px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.spotlight-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 30px;
    min-height: 300px;
    padding: 26px;
    border: 1px solid var(--light-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 20px 54px rgba(23, 37, 31, 0.1);
    backdrop-filter: blur(18px);
}

.spotlight-card img {
    align-self: center;
    width: 100%;
    max-height: 230px;
    object-fit: contain;
    filter: drop-shadow(0 18px 22px rgba(23, 37, 31, 0.16));
}

.spotlight-card-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.spotlight-badge {
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--brand);
    background: rgba(var(--theme-rgb), 0.08);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.spotlight-card h3 {
    margin-top: 16px;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.1;
}

.spotlight-card p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.spotlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
}

.spotlight-tags span {
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--brand);
    background: rgba(var(--theme-rgb), 0.08);
    font-size: 11px;
    font-weight: 800;
}

.spotlight-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
}

.spotlight-card-footer strong {
    color: var(--ink);
    font-size: 20px;
    line-height: 1;
}

.quick-add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--button-min-width);
    min-height: var(--button-height);
    padding: 0 var(--button-padding-x);
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--cta);
    cursor: pointer;
    font-size: var(--button-font-size);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 12px 24px var(--cta-soft);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.quick-add-button:hover {
    transform: translateY(-2px);
}

.quick-add-button.is-added {
    opacity: 0.72;
}

.customizer-panel {
    margin: 0 0 38px;
    padding: 36px;
    border-radius: 8px;
}

.customizer-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 32px;
}

.customizer-heading h2 {
    margin-top: 4px;
    color: var(--ink);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.12;
}

.customizer-note {
    max-width: 540px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.customizer-total {
    min-width: 180px;
    padding: 14px 16px;
    border: 1px solid var(--light-line);
    border-radius: 8px;
    background: rgba(var(--theme-rgb), 0.08);
}

.customizer-total span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.customizer-total strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 24px;
    line-height: 1;
}

.customizer-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.customizer-group {
    min-width: 0;
    border: 0;
}

.customizer-group legend {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.size-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.size-options input,
.choice-options input {
    position: absolute;
    opacity: 0;
}

.size-options span,
.choice-options span,
.customizer-extras label {
    min-height: var(--button-height);
    border: 1px solid var(--light-line);
    border-radius: var(--button-radius);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
}

.choice-options {
    display: grid;
    gap: 10px;
}

.size-options span {
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: var(--button-font-size);
    font-weight: 900;
    transition: 0.25s ease;
}

.choice-options span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 14px;
    cursor: pointer;
    font-size: var(--button-font-size);
    font-weight: 900;
    transition: 0.25s ease;
}

.multi-options span::before {
    content: "+";
    display: grid;
    place-items: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(var(--theme-rgb), 0.22);
    border-radius: 6px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 900;
}

.choice-options small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.size-options input:checked + span,
.choice-options input:checked + span {
    border-color: var(--cta);
    color: var(--white);
    background: var(--cta);
    box-shadow: 0 14px 30px var(--cta-soft);
}

.multi-options input:checked + span::before {
    content: "✓";
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.choice-options input:checked + span small {
    color: rgba(255, 255, 255, 0.78);
}

.customizer-extras {
    grid-column: 1 / -1;
}

.extras-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.customizer-extras label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    cursor: pointer;
    font-size: var(--button-font-size);
    font-weight: 900;
}

.customizer-extras input {
    width: 18px;
    height: 18px;
    accent-color: var(--cta);
}

.order-panel {
    display: grid;
    grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    margin: 34px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--light-line);
}

.section-kicker {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.order-panel h2 {
    max-width: 220px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(18px, 1.4vw, 22px);
    line-height: 1.2;
}

.order-summary {
    display: grid;
    grid-template-columns: 170px 210px 110px 190px;
    align-items: center;
    justify-content: end;
    gap: 18px;
}

.order-summary div {
    min-height: 72px;
    padding: 12px 14px;
    border: 1px solid var(--light-line);
    border-radius: 8px;
    background: rgba(var(--theme-rgb), 0.08);
}

.order-summary span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.order-summary strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.2;
}

.order-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 72px;
    padding: 0 var(--button-padding-x);
    border: 0;
    border-radius: var(--button-radius);
    color: var(--white);
    background: var(--cta);
    cursor: pointer;
    font-size: var(--button-font-size);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 14px 28px var(--cta-soft);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.order-button:hover {
    transform: translateY(-3px);
}

.order-button.is-added {
    opacity: 0.78;
}

.coupon-form {
    display: grid;
    gap: 8px;
}

.cart-coupon {
    margin-top: 18px;
    padding-top: 4px;
}

.coupon-form label {
    color: rgba(23, 37, 31, 0.58);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.coupon-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.coupon-control input {
    min-width: 0;
    min-height: var(--button-height);
    padding: 0 14px;
    border: 1px solid var(--light-line);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.62);
    font: inherit;
    font-weight: 800;
    text-transform: uppercase;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.coupon-control input:focus {
    border-color: rgba(var(--theme-rgb), 0.28);
    background: rgba(255, 255, 255, 0.86);
    outline: 0;
}

.coupon-control button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--button-min-width);
    min-height: var(--button-height);
    padding: 0 var(--button-padding-x);
    border: 0;
    border-radius: var(--button-radius);
    color: var(--white);
    background: var(--brand);
    cursor: pointer;
    font-size: var(--button-font-size);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.25s ease;
}

.coupon-control button:hover {
    transform: translateY(-2px);
}

#couponMessage {
    min-height: 18px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
}

.cart-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(10px);
}

.cart-modal[hidden] {
    display: none;
}

.cart-panel {
    position: relative;
    width: min(980px, 100%);
    max-height: min(86vh, 820px);
    overflow: auto;
    margin: 0;
    padding: 28px;
    border: 1px solid var(--light-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 54px rgba(23, 37, 31, 0.18);
    backdrop-filter: blur(22px);
}

.cart-header,
.cart-total,
.cart-item {
    display: flex;
    align-items: center;
}

.cart-header {
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.cart-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
}

.cart-header h2 {
    margin-top: 4px;
    color: var(--ink);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
}

.clear-cart,
.remove-item,
.quantity-control button,
.close-cart {
    border: 0;
    cursor: pointer;
    font-weight: 900;
}

.close-cart {
    display: grid;
    place-items: center;
    flex: 0 0 var(--button-icon-size);
    width: var(--button-icon-size);
    height: var(--button-icon-size);
    border: 1px solid var(--light-line);
    border-radius: var(--button-radius);
    color: var(--ink);
    background: rgba(var(--theme-rgb), 0.08);
    font-size: var(--button-icon-font-size);
    line-height: 1;
    transition: 0.25s ease;
}

.close-cart:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.clear-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--button-min-width);
    min-height: var(--button-height);
    padding: 0 var(--button-padding-x);
    border: 1px solid var(--light-line);
    border-radius: var(--button-radius);
    color: var(--brand);
    background: rgba(var(--theme-rgb), 0.08);
    font-size: var(--button-font-size);
    line-height: 1;
    white-space: nowrap;
    transition: 0.25s ease;
}

.clear-cart:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.clear-cart:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.cart-empty {
    display: grid;
    gap: 6px;
    padding: 22px;
    border: 1px dashed rgba(var(--theme-rgb), 0.24);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(var(--theme-rgb), 0.06);
}

.cart-empty[hidden] {
    display: none;
}

.cart-empty span {
    color: var(--muted);
    font-size: 14px;
}

.cart-items {
    display: grid;
    gap: 14px;
}

.cart-item {
    gap: 18px;
    min-height: 104px;
    padding: 16px;
    border: 1px solid var(--light-line);
    border-radius: 8px;
    background: rgba(var(--theme-rgb), 0.06);
}

.cart-item img {
    width: 64px;
    height: 78px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    filter: drop-shadow(0 10px 12px rgba(23, 37, 31, 0.18));
}

.cart-item-info {
    flex: 1;
    min-width: 160px;
}

.cart-item-info h3 {
    color: var(--ink);
    font-size: 17px;
    line-height: 1.2;
}

.cart-item-info span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.cart-item-info small {
    display: block;
    max-width: 680px;
    margin-top: 6px;
    color: rgba(23, 37, 31, 0.58);
    font-size: 12px;
    line-height: 1.45;
}

.cart-item-info strong {
    display: block;
    margin-top: 8px;
    color: var(--brand);
    font-size: 15px;
}

.quantity-control {
    display: grid;
    grid-template-columns: repeat(3, var(--button-height));
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--light-line);
    border-radius: var(--button-radius);
    background: rgba(255, 255, 255, 0.74);
}

.quantity-control button {
    height: var(--button-height);
    color: var(--brand);
    background: transparent;
    font-size: 18px;
    transition: background 0.25s ease;
}

.quantity-control button:hover {
    background: rgba(255, 255, 255, 0.16);
}

.quantity-control span {
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
    text-align: center;
}

.remove-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--button-min-width);
    min-height: var(--button-height);
    padding: 0 var(--button-padding-x);
    border-radius: var(--button-radius);
    color: var(--brand);
    background: rgba(var(--theme-rgb), 0.08);
    font-size: var(--button-font-size);
    line-height: 1;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.25s ease;
}

.remove-item:hover {
    background: rgba(255, 82, 82, 0.36);
    transform: translateY(-2px);
}

.cart-total {
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding-top: 22px;
    border-top: 1px solid var(--light-line);
    color: var(--ink);
}

.cart-total span {
    color: var(--muted);
    font-weight: 800;
    text-transform: uppercase;
}

.cart-total strong {
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1;
}

.cart-total small {
    display: block;
    margin-top: 6px;
    color: var(--cta);
    font-size: 13px;
    font-weight: 900;
}

.checkout-button,
.confirm-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--button-min-width);
    min-height: var(--button-height);
    padding: 0 var(--button-padding-x);
    border: 0;
    border-radius: var(--button-radius);
    color: var(--white);
    background: var(--cta);
    cursor: pointer;
    font-size: var(--button-font-size);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 14px 28px var(--cta-soft);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.checkout-button:hover:not(:disabled),
.confirm-order:hover {
    transform: translateY(-3px);
}

.checkout-button:disabled,
.confirm-order:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.modal-open {
    overflow: hidden;
}

.checkout-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(10px);
}

.checkout-modal[hidden] {
    display: none;
}

.checkout-panel {
    position: relative;
    width: min(980px, 100%);
    max-height: min(86vh, 820px);
    overflow: auto;
    margin: 0;
    padding: 24px;
    border: 1px solid var(--light-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 54px rgba(23, 37, 31, 0.18);
    backdrop-filter: blur(22px);
}

.close-checkout {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: var(--button-icon-size);
    height: var(--button-icon-size);
    border: 1px solid var(--light-line);
    border-radius: var(--button-radius);
    color: var(--ink);
    background: rgba(var(--theme-rgb), 0.08);
    cursor: pointer;
    font-size: var(--button-icon-font-size);
    font-weight: 800;
    line-height: 1;
    transition: 0.25s ease;
}

.close-checkout:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.checkout-header,
.checkout-form,
.address-fields {
    display: grid;
    gap: 16px;
}

.checkout-header {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-right: 52px;
    margin-bottom: 20px;
}

.checkout-header h2 {
    margin-top: 4px;
    color: var(--ink);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
}

.checkout-badge,
.checkout-summary {
    border: 1px solid var(--light-line);
    border-radius: 8px;
    background: rgba(var(--theme-rgb), 0.08);
}

.checkout-badge {
    min-width: 190px;
    padding: 14px 16px;
}

.checkout-badge span,
.checkout-summary span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.checkout-badge strong,
.checkout-summary strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 24px;
    line-height: 1;
}

.checkout-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-form[hidden] {
    display: none;
}

.form-field,
.checkout-group {
    min-width: 0;
}

.form-field label,
.checkout-group legend {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--light-line);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.78);
    font: inherit;
    font-weight: 700;
}

.form-field input {
    min-height: var(--button-height);
    padding: 0 14px;
}

.form-field textarea {
    resize: vertical;
    padding: 14px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(23, 37, 31, 0.44);
}

.checkout-group {
    border: 0;
}

.checkout-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.payment-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkout-options input {
    position: absolute;
    opacity: 0;
}

.checkout-options span {
    display: grid;
    place-items: center;
    min-height: var(--button-height);
    padding: 0 14px;
    border: 1px solid var(--light-line);
    border-radius: var(--button-radius);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    font-size: var(--button-font-size);
    font-weight: 900;
    transition: 0.25s ease;
}

.checkout-options input:checked + span {
    border-color: var(--cta);
    color: var(--white);
    background: var(--cta);
    box-shadow: 0 14px 30px var(--cta-soft);
}

.address-fields {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 160px 1fr;
}

.address-fields[hidden] {
    display: none;
}

.form-field-wide,
.checkout-summary,
.confirm-order,
.checkout-message,
.order-success {
    grid-column: 1 / -1;
}

.checkout-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
}

.checkout-message {
    min-height: 22px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 800;
}

.order-success {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid rgba(var(--theme-rgb), 0.22);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(var(--theme-rgb), 0.08);
}

.order-success[hidden] {
    display: none;
}

.order-success span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.order-success h3 {
    margin-top: 6px;
    font-size: 28px;
}

.order-success p {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.6;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 82px;
    padding: 0 0 8px;
    border: 0;
    border-radius: 0;
    color: var(--muted);
    background: transparent;
    backdrop-filter: none;
    font-size: 13px;
}

.footer span {
    font-weight: 900;
}

.footer a {
    color: var(--brand);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer a:hover {
    color: var(--cta);
}

@media (max-width: 900px) {
    body {
        overflow-x: hidden;
        background:
            radial-gradient(circle at 50% 28%, rgba(215, 82, 135, 0.16), transparent 24%),
            radial-gradient(circle at 12% 76%, rgba(0, 98, 65, 0.1), transparent 28%),
            linear-gradient(180deg, rgba(250, 246, 238, 0.96), rgba(241, 247, 241, 0.94) 54%, rgba(255, 239, 246, 0.92)),
            url("img/fundo.jpg") center/cover fixed;
    }

    .topbar,
    .hero,
    .journey-steps,
    .spotlight-grid,
    .customizer-form,
    .order-panel,
    .order-summary,
    .cart-header,
    .checkout-header,
    .checkout-form,
    .address-fields {
        grid-template-columns: 1fr;
    }

    .topbar {
        align-items: flex-start;
        position: static;
        width: auto;
        margin: -18px 0 18px;
        padding: 12px 0;
        border-radius: 0;
    }

    .nav-links {
        width: 100%;
        overflow-x: auto;
    }

    .hero {
        min-height: auto;
        gap: 20px;
        padding-top: 34px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .spotlight-card {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .hero-product {
        min-height: 510px;
    }

    .product-glow {
        width: min(520px, 84vw);
    }

    .drink-info {
        right: 50%;
        bottom: 18px;
        transform: translateX(50%);
    }

    .order-summary {
        width: 100%;
    }

    .customizer-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .customizer-total {
        width: 100%;
    }

    .checkout-badge,
    .checkout-button {
        width: 100%;
    }

    .topbar {
        display: grid;
    }

    .cart-shortcut,
    .clear-cart {
        width: 100%;
    }

    .cart-header {
        align-items: stretch;
        flex-direction: column;
    }

    .cart-actions {
        width: 100%;
    }

    .cart-actions .clear-cart {
        flex: 1 1 auto;
        width: auto;
    }

    .cart-item {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 620px) {
    .page-shell {
        width: min(100% - 28px, 1180px);
        padding-top: 18px;
    }

    .topbar {
        gap: 18px;
    }

    .brand span {
        display: none;
    }

    .logo {
        width: 46px;
        height: 46px;
    }

    .nav-links {
        gap: 4px;
        padding: 5px;
    }

    .nav-links a {
        min-height: var(--button-height);
        padding: 0 var(--button-padding-x);
        font-size: var(--button-font-size);
    }

    h1 {
        font-size: 44px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .customizer-panel,
    .cart-panel,
    .checkout-panel {
        padding: 18px;
    }

    .size-options,
    .extras-options,
    .coupon-control,
    .checkout-options,
    .payment-options {
        grid-template-columns: 1fr;
    }

    .spotlight-card {
        grid-template-columns: 1fr;
    }

    .spotlight-card img {
        justify-self: center;
        max-width: 180px;
    }

    .spotlight-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .quick-add-button,
    .coupon-control button {
        width: 100%;
    }

    .cart-total,
    .checkout-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-summary div,
    .order-button,
    .remove-item {
        width: 100%;
    }

    .cart-item {
        display: grid;
        grid-template-columns: 64px 1fr;
    }

    .quantity-control,
    .remove-item {
        grid-column: 1 / -1;
    }

    .quantity-control {
        width: 100%;
        grid-template-columns: 1fr 52px 1fr;
    }

    .hero-product {
        min-height: 470px;
    }

    .main-cup {
        width: min(315px, 78vw);
    }

    .drink-picker {
        gap: 12px;
    }

    .thumb-button {
        width: 72px;
        height: 72px;
    }

    .thumb-button img {
        width: 46px;
    }

    .footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
