:root {
    --primary: #baaa9e;
    --primary-hover: #95887e;
    --text: #404951;
    --muted: #5d758d;
    --line: #d4dbe3;
    --soft: #eceff2;
    --white: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    font-family: "Lato", sans-serif;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--muted);
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-hover);
    --bs-btn-hover-border-color: var(--primary-hover);
    --bs-btn-active-bg: var(--primary-hover);
    --bs-btn-active-border-color: var(--primary-hover);
    --bs-btn-disabled-bg: var(--soft);
    --bs-btn-disabled-border-color: var(--line);
    --bs-btn-disabled-color: #7d95aa;
    border-radius: 8px;
    font-weight: 700;
}

.site-menu {
    min-height: 68px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 4px 8px rgba(93, 117, 141, .08);
}

.site-menu .nav-link {
    margin: 4px 2px;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

.site-menu .nav-link:hover {
    color: var(--white);
    background: var(--primary);
    font-weight: 700;
}

.site-menu .nav-link.active {
    color: var(--muted);
    background: transparent;
    font-weight: 500;
}

.hero-section {
    position: relative;
    min-height: 568px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 112px 16px 86px;
    background:
        linear-gradient(rgba(255, 255, 255, .72), rgba(255, 255, 255, .88)),
        url("https://cdn-assets-legacy.casar.com/img/sdn/60/background-topo.png") center / cover no-repeat;
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.save-the-date {
    margin: 0;
    color: #bfbfbf;
    font-family: "Questrial", sans-serif;
    font-size: 32px;
    letter-spacing: 6.4px;
    text-transform: uppercase;
}

.page-title,
.section-title {
    color: var(--primary);
    font-family: "Dancing Script", cursive;
    font-weight: 400;
    line-height: 1;
}

.hero-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 28px 0 76px;
    color: var(--primary);
    font-size: clamp(72px, 6.4vw, 96px);
    letter-spacing: 0;
    white-space: nowrap;
}

.hero-title .and {
    color: var(--primary);
    font-family: "Questrial", sans-serif;
    font-size: clamp(44px, 4.7vw, 70px);
    line-height: .9;
}

.hero-date {
    color: #787878;
    font-family: "Questrial", sans-serif;
    font-size: 30px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.hero-date .line {
    display: block;
    width: 64px;
    height: 2px;
    margin: 24px auto;
    background: var(--primary);
}

.hero-decoration {
    position: absolute;
    width: 440px;
    height: 240px;
    background-repeat: no-repeat;
    background-size: auto 100%;
    pointer-events: none;
}

.hero-decoration-top {
    top: 0;
    right: -2px;
    background-image: url("https://cdn-assets-legacy.casar.com/img/sdn/60/decoracao-banner-top.svg");
    background-position: top right;
}

.hero-decoration-bottom {
    bottom: 0;
    left: 0;
    background-image: url("https://cdn-assets-legacy.casar.com/img/sdn/60/decoracao-banner-bottom.svg");
    background-position: bottom left;
}

.content-section {
    scroll-margin-top: 88px;
    padding: 76px 16px;
}

.section-content {
    width: 100%;
    max-width: 972px;
    margin: 0 auto;
}

.section-title {
    position: relative;
    margin: 0 0 48px;
    text-align: center;
    font-size: clamp(48px, 5vw, 60px);
    letter-spacing: 0;
}

.section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    margin: 24px auto 0;
    background: var(--primary);
}

.section-content p {
    color: var(--text);
    font-size: 16px;
    line-height: 1.45;
    text-align: center;
}

.countdown-section {
    padding: 88px 8px 86px;
    background: var(--primary);
}

.countdown-title {
    color: var(--white);
    margin: 0;
    font-size: 52px;
    letter-spacing: 0;
}

.countdown-title::after {
    display: none;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 100px);
    justify-content: center;
    gap: 16px;
    margin-top: 64px;
}

.countdown-item {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: var(--primary);
    background: var(--white);
}

.countdown-item strong {
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
}

.countdown-item span {
    margin-top: 4px;
    font-size: 14px;
    text-transform: uppercase;
}

.couple-section {
    padding-top: 34px;
}

.couple-section .section-title {
    margin-bottom: 58px;
}

.couple-section .section-title::after {
    display: none;
}

.couple-copy {
    max-width: 900px;
    margin: 0 auto 38px;
}

.couple-copy p {
    margin: 0;
    color: #6c5f64;
    font-size: 16px;
    line-height: 1.35;
    text-align: center;
}

.couple-gallery {
    position: relative;
    width: min(100%, 960px);
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
}

.gallery-main {
    display: block;
    width: 100%;
    height: clamp(520px, 72vh, 760px);
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 52px;
    height: 78px;
    border: 0;
    color: rgba(255, 255, 255, .78);
    background: transparent;
    font-family: "Questrial", sans-serif;
    font-size: 72px;
    line-height: 1;
    transform: translateY(-50%);
}

.gallery-arrow-prev {
    left: 18px;
}

.gallery-arrow-next {
    right: 18px;
}

.gallery-thumbs {
    position: absolute;
    left: 50%;
    bottom: 8px;
    display: flex;
    gap: 2px;
    padding: 4px;
    background: rgba(255, 255, 255, .28);
    transform: translateX(-50%);
}

.gallery-thumbs button {
    width: 50px;
    height: 50px;
    padding: 0;
    border: 2px solid transparent;
    background: transparent;
    opacity: .82;
}

.gallery-thumbs button.active {
    border-color: rgba(255, 255, 255, .85);
    opacity: 1;
}

.gallery-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-section {
    padding-top: 34px;
    padding-bottom: 92px;
}

#cerimonia {
    background: #f8f9fa;
}

.event-content {
    max-width: 960px;
}

.event-section .section-title {
    margin-bottom: 50px;
}

.event-section .section-title::after {
    display: none;
}

.event-hero-img {
    display: block;
    width: 100%;
    aspect-ratio: 960 / 510;
    object-fit: cover;
    margin: 0 auto 34px;
}

.event-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    gap: 34px;
    align-items: center;
    margin-bottom: 34px;
}

.event-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-height: 390px;
}

.event-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-photo-main {
    grid-row: 1 / span 2;
}

.event-photo-single {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    min-height: 0;
    aspect-ratio: 1 / 1;
}

.event-photo-grid.event-photo-stack {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
    aspect-ratio: auto;
}

.event-photo-stack .event-photo {
    height: auto;
    object-fit: contain;
}

.event-copy {
    max-width: 900px;
    margin: 0 auto 34px;
}

.event-details-copy {
    max-width: none;
    margin: 0;
}

#cerimonia .event-details-copy,
.reception-section .event-details-copy {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    overflow: visible;
}

#cerimonia .event-details-copy::before,
.reception-section .event-details-copy::before {
    content: "";
    position: absolute;
    inset: -72px -58px -96px -64px;
    z-index: 2;
    pointer-events: none;
    opacity: .78;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 620 560' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M310 500C246 410 78 322 82 184C84 89 154 44 235 76C269 89 293 116 310 150C327 116 351 89 385 76C466 44 536 89 538 184C542 322 374 410 310 500Z' fill='none' stroke='%23cf5d67' stroke-width='12' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

#cerimonia .event-details-copy p,
.reception-section .event-details-copy p {
    position: relative;
    z-index: 1;
}

.event-copy p {
    margin: 0;
    color: #6c5f64;
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
}

.event-details-copy p {
    font-size: 15px;
    line-height: 1.55;
    text-align: left;
}

.event-map {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.event-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.event-actions {
    margin-top: 24px;
    text-align: center;
}

.event-actions .dropdown-menu {
    text-align: left;
}

.reception-section {
    padding-top: 34px;
}

.gifts-section {
    background: #f8f9fa;
}

.gifts-content {
    max-width: 1060px;
}

.gift-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.cart-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
}

.cart-badge {
    min-width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    background: var(--white);
}

.gift-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 16px;
}

.gift-sort span {
    font-weight: 700;
    white-space: nowrap;
}

.gift-helper {
    margin-bottom: 28px;
    color: var(--muted);
    font-weight: 700;
}

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

.gift-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid #d9e2eb;
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 10px 8px rgba(93, 117, 141, .05);
}

.gift-card.is-hidden {
    display: none;
}

.gift-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--white);
}

.gift-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.gift-body h3 {
    min-height: 48px;
    margin: 0 0 12px;
    color: var(--text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
}

.gift-price {
    margin: auto 0 14px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
}

.gift-partial-note {
    margin: -6px 0 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.gift-progress {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

.gift-progress-label {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.gift-progress-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #eaded6;
}

.gift-progress-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
}

.gift-buy-button {
    width: 100%;
    padding: 12px;
}

.show-more-button {
    display: block;
    margin: 28px auto 0;
    padding: 16px 24px;
}

.rsvp-box {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: center;
    background: var(--white);
}

.rsvp-box p {
    margin-bottom: 24px;
}

.cart-panel {
    --bs-offcanvas-width: min(100vw, 440px);
}

.cart-panel .offcanvas-title,
.modal-title {
    color: var(--text);
    font-size: 22px;
    font-weight: 700;
}

.cart-limit {
    color: var(--muted);
    font-weight: 700;
}

.cart-empty {
    padding: 48px 0;
    text-align: center;
}

.cart-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.cart-item img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item h4 {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.3;
}

.cart-item p {
    margin: 0;
    color: var(--text);
    font-weight: 700;
}

.cart-product-value,
.cart-partial-hint {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
}

.cart-partial-field {
    display: grid;
    gap: 4px;
    margin-top: 8px;
}

.cart-partial-field span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.cart-partial-field input {
    width: min(150px, 100%);
    padding: 7px 9px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    font-weight: 700;
}

.cart-remove {
    border: 0;
    color: var(--muted);
    background: transparent;
    font-size: 24px;
    line-height: 1;
}

.cart-summary {
    margin: 24px 0;
    padding: 16px;
    border-radius: 8px;
    background: #f8f9fa;
}

.cart-summary div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}

.cart-summary div + div {
    border-top: 1px solid var(--line);
}

.checkout-modal.manual-show,
.checkout-modal.show {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(0, 0, 0, .45);
}

.checkout-modal .modal-content {
    border: 1px solid #cfd5db;
    border-radius: 10px;
}

.checkout-modal .modal-body {
    padding: 28px 34px 34px;
}

.thank-you-modal.manual-show,
.thank-you-modal.show {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(0, 0, 0, .5);
}

.thank-you-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(23, 33, 43, .25);
}

.thank-you-modal .modal-header {
    padding: 20px 24px 0;
}

.thank-you-modal .modal-title {
    color: #38434f;
    font-family: "Lato", sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.thank-you-body {
    padding: 20px 34px 34px;
    text-align: center;
}

.thank-you-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #dff3e8;
    color: #18764b;
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    place-items: center;
}

.thank-you-body h4 {
    margin: 0 0 10px;
    color: #25313c;
    font-family: "Lato", sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.thank-you-body > p {
    max-width: 620px;
    margin: 0 auto 24px;
    color: #5e6974;
    font-size: 17px;
}

.thank-you-video {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
    aspect-ratio: 16 / 9;
}

.thank-you-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.checkout-message-card {
    max-width: none;
    margin-bottom: 28px;
}

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

.checkout-message-card h4,
.pix-details h4 {
    margin: 0 0 12px;
    color: #111827;
    font-family: "Lato", sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.checkout-field {
    display: block;
    margin-bottom: 16px;
}

.checkout-field span {
    display: block;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.checkout-field small {
    display: block;
    margin: 2px 0 8px;
    color: #111827;
    font-size: 12px;
}

.checkout-field .form-control {
    border-color: #c9c9c9;
    border-radius: 4px;
}

.checkout-field textarea.form-control {
    min-height: 164px;
    resize: vertical;
}

.checkout-counter {
    margin-top: -12px;
    color: #6f6f6f;
    font-size: 12px;
    text-align: right;
}

.checkout-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.checkout-partial-invite {
    margin: 22px 0;
}

.checkout-partial-invite .checkout-partial-header h4 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 18px;
    font-weight: 900;
}

.checkout-partial-products {
    display: grid;
    gap: 14px;
}

.checkout-partial-product-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) 220px;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid #eaded6;
    border-radius: 8px;
    background: #fbf7f4;
}

.checkout-partial-product-img {
    width: 82px;
    height: 82px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--white);
}

.checkout-partial-product-body {
    min-width: 0;
}

.checkout-partial-invite h4 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 18px;
    font-weight: 900;
}

.checkout-partial-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.checkout-partial-meta strong {
    color: var(--text);
}

.checkout-partial-action {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.checkout-partial-progress {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.checkout-partial-progress-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.checkout-partial-progress-line strong {
    color: var(--text);
    font-weight: 900;
    white-space: nowrap;
}

.checkout-partial-progress-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #eaded6;
}

.checkout-partial-progress-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
}

.checkout-partial-action .checkout-field {
    margin-bottom: 0;
}

.checkout-partial-action .btn {
    width: 100%;
    padding: 10px 12px;
    font-weight: 700;
}

.checkout-partial-error {
    color: #842029;
    font-size: 12px;
    line-height: 1.3;
}

.checkout-total-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 8px;
    background: #f8f9fa;
}

.checkout-total-line span {
    color: var(--muted);
    font-weight: 700;
}

.checkout-total-info {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.checkout-gift-thumbs {
    display: grid;
    gap: 6px;
}

.checkout-gift-thumb {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    max-width: 360px;
}

.checkout-gift-thumb img {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 6px;
    object-fit: cover;
    background: var(--white);
}

.checkout-gift-thumb span {
    min-width: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-total-line strong {
    color: var(--text);
    font-size: 20px;
}

.checkout-payment-options {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.checkout-payment-options .btn {
    min-width: 150px;
    padding: 12px 18px;
    font-weight: 700;
}

.checkout-alert {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid #eaded6;
    border-radius: 8px;
    color: #775f4f;
    background: #fbf7f4;
}

.checkout-alert.is-success {
    border-color: #badbcc;
    color: #0f5132;
    background: #d1e7dd;
}

.checkout-alert.is-error {
    border-color: #f5c2c7;
    color: #842029;
    background: #f8d7da;
}

.card-installment-popup {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(35, 29, 25, 0.42);
}

.card-installment-box {
    position: relative;
    width: min(420px, 100%);
    padding: 24px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 24px 60px rgba(35, 29, 25, 0.22);
}

.card-installment-box h4 {
    margin: 0 34px 8px 0;
    color: var(--text);
    font-size: 20px;
    font-weight: 900;
}

.card-installment-box p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.card-installment-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: var(--text);
    background: #f5eee9;
    font-size: 24px;
    line-height: 1;
}

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

.card-installment-option {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    background: var(--white);
    font-weight: 900;
    text-align: left;
}

.card-installment-option:hover,
.card-installment-option.is-active {
    border-color: var(--primary);
    color: var(--primary);
    background: #fbf7f4;
}

.pix-result {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding-top: 10px;
}

.pix-qr-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 230px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.pix-qr-box img {
    display: block;
    width: 210px;
    height: 210px;
}

.pix-details p {
    margin: 0 0 6px;
    color: var(--text);
    font-size: 14px;
    text-align: left;
}

.pix-copy-code {
    min-height: 96px !important;
    font-size: 12px;
}

@media (max-width: 991.98px) {
    .site-menu .navbar-collapse {
        padding: 12px 0 16px;
    }

    .hero-title {
        flex-direction: column;
        gap: 4px;
        margin: 44px 0;
    }

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

@media (max-width: 767.98px) {
    .content-section {
        padding: 56px 16px;
    }

    .hero-section {
        min-height: 560px;
        padding-top: 110px;
    }

    .save-the-date {
        font-size: 24px;
        letter-spacing: 4.8px;
    }

    .hero-date {
        font-size: 24px;
        letter-spacing: 2.64px;
    }

    .countdown-section {
        padding: 64px 16px;
    }

    .countdown-grid {
        grid-template-columns: repeat(4, 70px);
        gap: 6px;
        margin-top: 36px;
    }

    .countdown-item {
        width: 70px;
        height: 75px;
    }

    .countdown-item strong {
        font-size: 32px;
    }

    .countdown-item span {
        font-size: 11px;
    }

    .gift-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .gift-sort {
        justify-content: space-between;
    }

    .gift-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .couple-section {
        padding-top: 48px;
    }

    .couple-section .section-title {
        margin-bottom: 36px;
    }

    .gallery-thumbs button {
        width: 34px;
        height: 34px;
    }

    .gallery-main {
        height: clamp(360px, 68vh, 560px);
    }

    .event-section {
        padding-top: 48px;
        padding-bottom: 64px;
    }

    .event-section .section-title {
        margin-bottom: 36px;
    }

    .event-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .event-photo-grid {
        min-height: 0;
        aspect-ratio: 1 / 1;
        gap: 8px;
    }

    .event-details-copy p {
        font-size: 14px;
        text-align: center;
    }

    #cerimonia .event-details-copy,
    .reception-section .event-details-copy {
        min-height: 260px;
    }

    #cerimonia .event-details-copy::before,
    .reception-section .event-details-copy::before {
        inset: -44px -22px -56px;
        opacity: .68;
    }

    .event-map {
        height: 320px;
    }

    .checkout-modal .modal-body {
        padding: 24px 20px 28px;
    }

    .thank-you-body {
        padding: 16px 20px 24px;
    }

    .thank-you-body h4 {
        font-size: 24px;
    }

    .checkout-message-card {
        max-width: none;
    }

    .checkout-fields-grid {
        grid-template-columns: 1fr;
    }

    .checkout-partial-product-card {
        grid-template-columns: 1fr;
    }

    .checkout-partial-product-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .pix-result {
        grid-template-columns: 1fr;
    }

    .checkout-payment-options {
        flex-direction: column;
    }

    .checkout-total-line {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 520px;
        padding: 92px 16px 76px;
    }

    .section-title {
        margin-bottom: 36px;
        font-size: 44px;
        letter-spacing: 2px;
    }

    .section-content p {
        font-size: 16px;
    }

    .gift-body {
        padding: 12px;
    }

    .gift-body h3 {
        font-size: 13px;
    }

    .gift-buy-button {
        padding: 9px;
    }

    .rsvp-box {
        padding: 28px 20px;
    }
}
