:root {
    --bg: #fffaf6;
    --surface: #ffffff;
    --surface-soft: #f8efe8;
    --surface-strong: #f2dfd1;
    --text: #2d241f;
    --muted: #6f6157;
    --line: rgba(45, 36, 31, 0.12);
    --accent: #b88267;
    --accent-dark: #8b5e49;
    --accent-soft: rgba(184, 130, 103, 0.14);
    --shadow: 0 14px 34px rgba(77, 50, 34, 0.1);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: 1160px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 232, 220, 0.75), transparent 30%),
        linear-gradient(180deg, #fffdfb 0%, var(--bg) 100%);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3 {
    margin-top: 0;
    font-family: "Cormorant Garamond", serif;
    line-height: 1.08;
    color: var(--text);
}

p {
    margin-top: 0;
}

header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 250, 246, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(45, 36, 31, 0.08);
}

.header-container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
}

.logo {
    width: auto;
    height: 62px;
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mobile-cart-link {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(45, 36, 31, 0.1);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(77, 50, 34, 0.08);
}

.mobile-cart-label {
    letter-spacing: 0.02em;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--text);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.cart-count.is-empty {
    background: rgba(45, 36, 31, 0.16);
    color: var(--text);
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--accent-soft);
    color: var(--text);
    transform: translateY(-1px);
}

.home-hero {
    padding: 56px 16px 28px;
}

.home-hero-inner,
.home-section,
.portfolio-section,
.portfolio-cta,
.portfolio-intro,
.portfolio-hero {
    width: min(var(--container), calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.home-hero-inner {
    position: relative;
    overflow: hidden;
    padding: 52px clamp(22px, 4vw, 48px);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 245, 239, 0.96), rgba(244, 228, 216, 0.88)),
        url("img/bginv.jpg") center/cover;
    box-shadow: var(--shadow);
}

.home-hero-inner::after {
    content: "";
    position: absolute;
    inset: auto -40px -90px auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(184, 130, 103, 0.16);
    filter: blur(8px);
}

.hero-label,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(45, 36, 31, 0.08);
    color: var(--accent-dark);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.home-hero h1 {
    max-width: 760px;
    margin-bottom: 14px;
    font-size: clamp(2.7rem, 7vw, 4.9rem);
}

.home-hero .hero-label {
    padding: 6px 12px;
    font-size: 10px;
}

.hero-description,
.home-hero p,
.section-subtitle,
.section-heading p,
.home-highlight p,
.feature-card p,
.process-step p,
.contact-panel p,
.card-overlay p {
    color: var(--muted);
    font-size: 16px;
}

.hero-description {
    max-width: 720px;
    margin-bottom: 24px;
}

.hero-buttons,
.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-primary,
.btn-secondary,
.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #d2a58f);
    color: #fff;
    box-shadow: 0 10px 24px rgba(184, 130, 103, 0.28);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(45, 36, 31, 0.18);
    color: var(--text);
}

.btn-contact {
    background: var(--text);
    color: #fff;
    box-shadow: 0 10px 24px rgba(45, 36, 31, 0.22);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-contact:hover,
.text-button:hover {
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background: rgba(45, 36, 31, 0.06);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
    position: relative;
    z-index: 1;
}

.stat-card,
.home-highlight,
.feature-card,
.process-step,
.contact-panel,
.intro-box,
.inv-card,
.gallery-content,
.contact-content,
.products-grid .product-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(45, 36, 31, 0.08);
    box-shadow: var(--shadow);
}

.stat-card {
    padding: 16px;
    border-radius: var(--radius-md);
}

.stat-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

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

.home-section {
    margin: 60px auto;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 22px;
    text-align: center;
}

.home-section h2,
.portfolio-section h2,
.cta-box h2,
.contact-panel h2 {
    font-size: clamp(2.05rem, 4.6vw, 3rem);
    margin-bottom: 10px;
}

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

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

.home-card {
    position: relative;
    min-height: 270px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.home-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    filter: saturate(0.95);
}

.bg-invitatii::before {
    background-image: url("img/bginv.jpg");
}

.bg-planner::before {
    background-image: url("img/bgex.png");
}

.bg-template::before {
    background-image: url("img/qrcode.png");
}

.card-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 8px;
    min-height: 270px;
    padding: 22px;
    background: linear-gradient(180deg, rgba(30, 22, 18, 0.08), rgba(30, 22, 18, 0.74));
}

.card-overlay h3 {
    margin-bottom: 0;
    font-size: 28px;
    color: #fff;
}

.card-overlay p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.showcase-card,
.showcase-card-large,
.reel-card {
    border: 0;
}

.invitation-showcase-section {
    margin-top: 66px;
}

.showcase-mosaic {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-auto-rows: 210px;
    gap: 16px;
}

.showcase-card {
    position: relative;
    display: block;
    min-height: 210px;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(45, 36, 31, 0.08);
    box-shadow: var(--shadow);
    padding: 0;
    text-align: left;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.showcase-card-large {
    grid-row: span 2;
    min-height: 100%;
}

.showcase-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.35s ease;
}

.showcase-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 20, 16, 0.04), rgba(28, 20, 16, 0.82));
}

.showcase-card:hover img {
    transform: scale(1.03);
}

.showcase-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 18px;
}

.showcase-copy .tag {
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.showcase-copy h3 {
    margin-bottom: 6px;
    font-size: 28px;
    color: #fff;
}

.showcase-copy p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

.showcase-actions {
    justify-content: center;
    margin-top: 18px;
}

.home-highlight,
.feature-card,
.process-step {
    padding: 24px;
    border-radius: var(--radius-md);
}

.home-highlight h3,
.feature-card h3,
.process-step h3,
.intro-item h3,
.inv-card h3 {
    margin-bottom: 10px;
    font-size: 26px;
}

.feature-tag,
.tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.store-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.store-pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(45, 36, 31, 0.08);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
}

.text-link,
.text-button {
    color: var(--accent-dark);
    font-weight: 700;
}

.text-button {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.process-grid,
.audience-list {
    display: grid;
    gap: 14px;
}

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

.step-number {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

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

.audience-item {
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 235, 227, 0.95));
    border: 1px solid rgba(45, 36, 31, 0.08);
    font-weight: 600;
}

.contact-panel {
    padding: 28px;
    border-radius: 26px;
    text-align: center;
}

footer {
    margin-top: 60px;
    padding: 24px 16px 30px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

.hero,
.portfolio-hero {
    padding: 46px 16px 10px;
    text-align: center;
}

.portfolio-hero h1 {
    font-size: clamp(2.45rem, 6.4vw, 4.05rem);
    margin-bottom: 10px;
}

.portfolio-hero p,
.hero p,
.category-desc,
.portfolio-note,
.gallery-description,
.intro-item p,
.inv-card p {
    color: var(--muted);
}

.portfolio-intro {
    margin-top: 18px;
}

.intro-box {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 20px;
    border-radius: 20px;
}

.intro-item {
    padding: 4px;
}

.portfolio-section {
    margin: 44px auto;
}

.portfolio-reel {
    width: min(var(--container), calc(100% - 32px));
    margin: 44px auto;
}

.portfolio-reel-track {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.reel-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(45, 36, 31, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    cursor: pointer;
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
}

.reel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 44px rgba(77, 50, 34, 0.16);
}

.reel-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: top center;
    border-radius: 14px;
}

.reel-meta,
.inv-card-kind {
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reel-card strong {
    font-size: 14px;
    line-height: 1.35;
}

.section-heading h2 {
    margin-bottom: 10px;
}

.inv-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border-radius: 20px;
}

.inv-preview-card {
    padding: 0;
    overflow: hidden;
}

.inv-card-preview {
    position: relative;
    padding: 12px 12px 0;
    cursor: pointer;
}

.showcase-card:focus-visible,
.reel-card:focus-visible,
.inv-card-preview:focus-visible {
    outline: 2px solid rgba(184, 130, 103, 0.46);
    outline-offset: 3px;
}

.inv-card-preview img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    border: 1px solid rgba(45, 36, 31, 0.06);
}

.inv-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px 18px 20px;
}

.inv-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.inv-card-head .tag {
    margin-bottom: 0;
}

.inv-points {
    margin: 4px 0 18px;
    padding-left: 20px;
    color: var(--muted);
}

.inv-points li {
    margin-bottom: 8px;
}

.inv-card-body .card-actions {
    margin-top: auto;
}

.portfolio-note {
    margin-top: 18px;
    text-align: center;
}

.portfolio-cta {
    margin: 48px auto;
}

.cta-box {
    padding: 28px;
    border-radius: 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 238, 230, 0.94));
    border: 1px solid rgba(45, 36, 31, 0.08);
    box-shadow: var(--shadow);
}

.filters {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(45, 36, 31, 0.12);
    background: #fff;
    cursor: pointer;
    font-weight: 700;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.products-grid {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto 48px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.products-grid .product-card {
    border-radius: 18px;
    overflow: hidden;
    padding: 16px;
}

.product-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 14px;
    background: rgba(45, 36, 31, 0.04);
}

.product-card h3 {
    margin-bottom: 8px;
    font-size: 24px;
}

.product-card p {
    color: var(--muted);
    margin-bottom: 16px;
}

.product-points {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 14px;
}

.product-points li {
    margin-bottom: 6px;
}

.modal,
.gallery-modal,
.fullscreen-modal,
.contact-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 5000;
    padding: 16px;
    align-items: center;
    justify-content: center;
    background: rgba(26, 20, 17, 0.68);
    backdrop-filter: blur(6px);
}

.modal.show,
.fullscreen-modal.show {
    display: flex;
}

.gallery-content,
.contact-content {
    width: min(100%, 1040px);
    padding: 24px;
    border-radius: 22px;
    position: relative;
    background: #fffdfb;
}

.gallery-content {
    max-height: calc(100vh - 22px);
    overflow-y: auto;
}

.contact-content {
    width: min(100%, 540px);
}

.gallery-panel {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding-top: 12px;
}

.gallery-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gallery-copy h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.gallery-label {
    display: inline-flex;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-description {
    margin-bottom: 0;
}

.gallery-details {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(248, 238, 230, 0.72);
    border: 1px solid rgba(45, 36, 31, 0.08);
}

.gallery-details p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.gallery-tip {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.gallery-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.gallery-actions .btn-primary,
.gallery-actions .btn-secondary {
    flex: 1 1 180px;
}

.gallery-device {
    padding: 14px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 233, 225, 0.96));
    border: 1px solid rgba(45, 36, 31, 0.08);
    align-self: start;
}

.gallery-scroll {
    height: min(76vh, 760px);
    overflow-y: auto;
    padding: 10px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(45, 36, 31, 0.08);
    scrollbar-width: thin;
    scrollbar-color: rgba(184, 130, 103, 0.7) transparent;
    overscroll-behavior: contain;
}

.gallery-scroll img {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.compact-lead {
    max-width: 700px;
    margin: 0 auto;
}

.store-quicknav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 18px auto 0;
}

.quicknav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(45, 36, 31, 0.12);
    background: rgba(255, 255, 255, 0.88);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.preview-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.preview-tile {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    border-radius: 22px;
    border: 1px solid rgba(45, 36, 31, 0.08);
    background: #fff;
    box-shadow: var(--shadow);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.preview-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.35s ease;
}

.preview-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 20, 16, 0.02), rgba(28, 20, 16, 0.82));
}

.preview-tile:hover img {
    transform: scale(1.04);
}

.preview-tile-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 16px;
    color: #fff;
    text-align: left;
}

.preview-tile-copy h3 {
    margin-bottom: 4px;
    color: #fff;
    font-size: 24px;
}

.preview-tile-copy p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
}

.category-block {
    margin-top: 14px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 292px));
    justify-content: center;
    gap: 14px;
}

.product-card-premium {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(45, 36, 31, 0.08);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 292px;
}

.product-card-premium[data-product-id] {
    padding: 0;
}

.product-card-visual {
    position: relative;
    padding: 8px 8px 0;
}

.product-card-visual img {
    width: 100%;
    height: 172px;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    border: 1px solid rgba(45, 36, 31, 0.06);
}

.product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 12px 14px 14px;
}

.product-card-body p {
    color: var(--muted);
    margin-bottom: 10px;
    font-size: 14px;
}

.product-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.product-card-body h3 {
    margin-bottom: 6px;
    font-size: 18px;
}

.product-card-price {
    display: block;
    margin-top: auto;
    margin-bottom: 12px;
    color: var(--text);
    font-size: 24px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
}

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

.package-chooser {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(45, 36, 31, 0.08);
}

.package-chooser label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.package-select {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(45, 36, 31, 0.14);
    background: #fff;
    margin-bottom: 8px;
}

.package-chooser .card-actions {
    gap: 8px;
}

.package-chooser .btn-primary,
.package-chooser .btn-secondary {
    min-height: 38px;
    padding: 0 14px;
    font-size: 14px;
}

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

.price-card {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(45, 36, 31, 0.08);
    box-shadow: var(--shadow);
}

.price-card .price-range {
    display: block;
    margin: 12px 0 6px;
    font-size: 32px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
}

.price-card ul {
    margin: 0 0 18px;
    padding-left: 18px;
    color: var(--muted);
}

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

.save-date-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(45, 36, 31, 0.08);
    box-shadow: var(--shadow);
}

.save-date-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.save-date-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 15, 12, 0.12), rgba(20, 15, 12, 0.74));
}

.save-date-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 20px;
    color: #fff;
}

.save-date-copy h3,
.save-date-copy p,
.save-date-copy .tag {
    color: #fff;
}

.save-date-copy .card-actions {
    margin-top: 12px;
}

.save-date-copy .btn-secondary {
    border-color: rgba(255, 255, 255, 0.38);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.save-date-copy .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
}

.save-date-date {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.planner-card {
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 238, 230, 0.94));
    border: 1px solid rgba(45, 36, 31, 0.08);
    box-shadow: var(--shadow);
}

.planner-card h3 {
    margin-bottom: 10px;
}

.planner-price {
    display: block;
    margin: 14px 0;
    font-size: 28px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 18px;
    align-items: start;
}

.cart-panel,
.checkout-panel,
.payment-panel {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(45, 36, 31, 0.08);
    box-shadow: var(--shadow);
}

.cart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

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

.cart-empty {
    padding: 24px;
    border-radius: 18px;
    background: rgba(248, 238, 230, 0.7);
    color: var(--muted);
    text-align: center;
}

.cart-item {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(45, 36, 31, 0.08);
}

.cart-item-image {
    width: 94px;
    height: 120px;
    border-radius: 14px;
    object-fit: cover;
    object-position: top center;
}

.cart-item-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.cart-item-head h3 {
    margin-bottom: 4px;
    font-size: 24px;
}

.cart-item-category,
.payment-label {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cart-item-note {
    margin-bottom: 0;
    font-size: 13px;
}

.cart-item-price {
    white-space: nowrap;
    font-size: 24px;
    font-family: "Cormorant Garamond", serif;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cart-qty button {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(45, 36, 31, 0.12);
    background: #fff;
    cursor: pointer;
    font-weight: 700;
}

.checkout-total {
    display: grid;
    gap: 8px;
    margin: 18px 0;
    padding: 16px;
    border-radius: 18px;
    background: rgba(248, 238, 230, 0.7);
}

.checkout-total strong {
    font-size: 30px;
    font-family: "Cormorant Garamond", serif;
}

.checkout-panel form p {
    margin-bottom: 14px;
}

.checkout-panel input,
.checkout-panel select,
.checkout-panel textarea {
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(45, 36, 31, 0.14);
    background: #fff;
}

.checkout-panel textarea {
    min-height: 110px;
    resize: vertical;
}

.payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: 18px;
    align-items: start;
}

.payment-summary {
    display: grid;
    gap: 10px;
}

.payment-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(45, 36, 31, 0.08);
}

.payment-total {
    display: inline-block;
    margin-top: 10px;
    font-size: 38px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
}

.payment-status {
    padding: 18px;
    border-radius: 18px;
    background: rgba(248, 238, 230, 0.74);
}

.thank-you-banner {
    margin-bottom: 18px;
    padding: 20px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.86), transparent 32%),
        linear-gradient(145deg, rgba(247, 233, 223, 0.98), rgba(243, 226, 213, 0.92));
    border: 1px solid rgba(45, 36, 31, 0.08);
    box-shadow: 0 16px 34px rgba(77, 50, 34, 0.08);
}

.thank-you-banner h2 {
    margin-bottom: 10px;
    font-size: 34px;
}

.thank-you-banner p {
    margin-bottom: 0;
    color: var(--muted);
}

.payment-empty {
    margin: 0;
    color: var(--muted);
}

.payment-action-box {
    margin-top: 18px;
    padding: 18px;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 248, 243, 0.96), rgba(248, 238, 230, 0.82));
    border: 1px solid rgba(45, 36, 31, 0.08);
}

.payment-action-box h3 {
    margin-bottom: 10px;
    font-size: 30px;
}

.payment-action-copy {
    margin-bottom: 12px;
    color: var(--muted);
}

.payment-action-status {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(45, 36, 31, 0.08);
    color: var(--text);
    font-size: 13px;
}

.payment-action-buttons {
    margin-top: 14px;
}

.followup-steps {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.followup-step {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(45, 36, 31, 0.08);
}

.followup-step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--text);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.followup-step strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

.followup-step p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.cart-toast {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 6000;
    transform: translateX(-50%) translateY(12px);
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(45, 36, 31, 0.94);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cart-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.close-fullscreen,
.close-contact {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
    color: var(--text);
}

.close-gallery {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(45, 36, 31, 0.08);
    font-size: 30px;
    cursor: pointer;
    color: var(--text);
    backdrop-filter: blur(8px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 10 / 16;
    object-fit: contain;
    padding: 10px;
    border-radius: 14px;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 233, 225, 0.96));
}

.fullscreen-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-modal img {
    max-width: min(92vw, 980px);
    max-height: 86vh;
    border-radius: 18px;
}

.contact-intro {
    margin-bottom: 18px;
    color: var(--muted);
}

.contact-content p {
    margin-bottom: 16px;
}

.contact-content label {
    display: block;
    font-weight: 600;
}

.contact-content input,
.contact-content select,
.contact-content textarea {
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(45, 36, 31, 0.14);
    background: #fff;
}

.contact-content textarea {
    min-height: 130px;
    resize: vertical;
}

.thank-you-box {
    display: none;
    text-align: center;
}

@media (max-width: 980px) {
    .hero-stats,
    .home-grid-3,
    .process-grid,
    .products-grid,
    .collection-grid,
    .intro-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .preview-strip,
    .price-grid,
    .save-date-grid,
    .planner-grid,
    .cart-layout,
    .payment-layout {
        grid-template-columns: 1fr 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(250px, 292px));
        justify-content: center;
    }

    .home-grid-2,
    .audience-list {
        grid-template-columns: 1fr;
    }

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

    .showcase-card-large {
        grid-row: span 1;
    }

    .gallery-panel {
        grid-template-columns: 1fr;
    }

    .gallery-copy {
        text-align: center;
        align-items: center;
    }

    .gallery-actions {
        justify-content: center;
    }

    .gallery-device {
        order: -1;
        width: min(100%, 420px);
        margin: 0 auto;
    }

    .cart-layout,
    .payment-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .modal,
    .gallery-modal,
    .fullscreen-modal,
    .contact-modal {
        padding: 8px;
        align-items: center;
    }

    .header-container {
        min-height: 76px;
    }

    .logo {
        height: 50px;
    }

    .menu-icon {
        display: block;
    }

    .header-actions {
        margin-left: auto;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        background: rgba(255, 251, 247, 0.98);
        border: 1px solid rgba(45, 36, 31, 0.08);
        border-radius: 16px;
        box-shadow: var(--shadow);
    }

    #menu-toggle:checked ~ .nav-links {
        display: flex;
    }

    .mobile-cart-link {
        display: inline-flex;
    }

    .nav-links .cart-link {
        display: none;
    }

    .home-hero {
        padding-top: 18px;
    }

    .home-hero-inner {
        padding: 24px 16px;
        border-radius: 24px;
    }

    .home-hero h1 {
        font-size: clamp(1.95rem, 9.2vw, 2.95rem);
    }

    .portfolio-hero {
        padding: 28px 16px 4px;
    }

    .portfolio-hero h1 {
        font-size: clamp(2rem, 8.4vw, 2.85rem);
    }

    .hero-stats,
    .home-grid-3,
    .process-grid,
    .products-grid,
    .collection-grid,
    .intro-box,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .showcase-mosaic,
    .portfolio-reel-track {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .showcase-mosaic::-webkit-scrollbar,
    .portfolio-reel-track::-webkit-scrollbar {
        display: none;
    }

    .showcase-card,
    .showcase-card-large {
        flex: 0 0 64%;
        min-width: 64%;
        min-height: 320px;
        scroll-snap-align: start;
    }

    .reel-card {
        flex: 0 0 58%;
        min-width: 58%;
        scroll-snap-align: start;
    }

    .reel-card img {
        height: 170px;
    }

    .inv-card-preview img {
        height: 300px;
    }

    .showcase-copy h3 {
        font-size: 22px;
    }

    .showcase-copy p {
        font-size: 13px;
    }

    .home-highlight,
    .feature-card,
    .process-step,
    .contact-panel,
    .cta-box,
    .gallery-content,
    .contact-content {
        padding: 14px;
    }

    .hero-buttons,
    .card-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary,
    .btn-contact {
        width: 100%;
        min-height: 42px;
    }

    .gallery-content {
        max-height: calc(100vh - 16px);
    }

    .gallery-panel {
        gap: 14px;
    }

    .gallery-copy {
        text-align: left;
        align-items: stretch;
    }

    .gallery-actions {
        justify-content: stretch;
    }

    .gallery-device {
        order: 0;
        width: 100%;
    }

    .gallery-scroll {
        height: min(44vh, 380px);
        padding: 8px;
    }

    .price-grid,
    .save-date-grid,
    .planner-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        gap: 10px;
    }

    .product-card-premium {
        max-width: none;
        min-width: 0;
    }

    .home-section,
    .portfolio-section,
    .portfolio-reel,
    .portfolio-cta {
        margin: 34px auto;
    }

    .section-heading {
        margin-bottom: 14px;
    }

    .home-section h2,
    .portfolio-section h2,
    .cta-box h2,
    .contact-panel h2 {
        font-size: clamp(1.7rem, 7.2vw, 2.3rem);
    }

    .hero-description,
    .home-hero p,
    .section-subtitle,
    .section-heading p,
    .home-highlight p,
    .feature-card p,
    .process-step p,
    .contact-panel p,
    .card-overlay p,
    .compact-lead {
        font-size: 14px;
    }

    .store-quicknav,
    .preview-strip {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 6px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .store-quicknav::-webkit-scrollbar,
    .preview-strip::-webkit-scrollbar {
        display: none;
    }

    .quicknav-pill,
    .preview-tile {
        scroll-snap-align: start;
    }

    .quicknav-pill {
        width: auto;
        flex: 0 0 auto;
        min-height: 34px;
        padding: 0 14px;
        font-size: 11px;
        white-space: nowrap;
    }

    .preview-tile {
        flex: 0 0 58%;
        min-width: 58%;
        min-height: 220px;
    }

    .product-card-premium,
    .price-card,
    .planner-card,
    .cart-panel,
    .checkout-panel,
    .payment-panel {
        border-radius: 18px;
    }

    .product-card-visual {
        padding: 7px 7px 0;
    }

    .product-card-visual img {
        height: 124px;
    }

    .product-card-body {
        padding: 10px 10px 12px;
    }

    .product-card-meta {
        gap: 6px;
        margin-bottom: 6px;
    }

    .product-card-meta .tag {
        margin-bottom: 0;
        padding: 5px 8px;
        font-size: 10px;
    }

    .product-card-premium .inv-card-kind {
        font-size: 10px;
    }

    .product-card-body h3 {
        font-size: 16px;
    }

    .product-card-body h3 {
        margin-bottom: 4px;
        line-height: 1.15;
    }

    .price-card h3,
    .planner-card h3 {
        font-size: 24px;
    }

    .product-card-body p {
        margin-bottom: 8px;
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-card-price {
        margin-bottom: 8px;
        font-size: 20px;
    }

    .product-card-premium .card-actions {
        gap: 6px;
    }

    .product-card-premium .btn-primary,
    .product-card-premium .btn-secondary,
    .save-date-card .btn-primary,
    .save-date-card .btn-secondary {
        min-height: 34px;
        padding: 0 10px;
        font-size: 11px;
        line-height: 1.2;
    }

    .package-chooser {
        padding-top: 6px;
    }

    .package-chooser label {
        margin-bottom: 4px;
        font-size: 10px;
    }

    .package-select {
        min-height: 34px;
        padding: 0 10px;
        margin-bottom: 6px;
        font-size: 12px;
    }

    .product-points li {
        margin-bottom: 6px;
    }

    .price-card,
    .planner-card {
        padding: 18px;
    }

    .price-card .price-range,
    .planner-price {
        font-size: 26px;
    }

    .save-date-card {
        min-height: 290px;
    }

    .save-date-copy {
        padding: 16px;
    }

    .save-date-copy .card-actions {
        gap: 8px;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }

    .cart-item-image {
        width: 100%;
        height: 170px;
    }

    .cart-item-head h3 {
        font-size: 20px;
    }

    .cart-item-price,
    .payment-total,
    .checkout-total strong {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .header-container,
    .home-hero-inner,
    .home-section,
    .portfolio-section,
    .portfolio-cta,
    .portfolio-intro,
    .portfolio-hero,
    .filters,
    .products-grid {
        width: min(var(--container), calc(100% - 20px));
    }

    .home-section,
    .portfolio-section,
    .portfolio-reel,
    .portfolio-cta {
        margin: 30px auto;
    }

    .section-heading {
        margin-bottom: 12px;
    }

    .showcase-card,
    .showcase-card-large {
        flex: 0 0 74%;
        min-width: 74%;
        min-height: 290px;
    }

    .reel-card {
        flex: 0 0 68%;
        min-width: 68%;
    }

    .reel-card img {
        height: 158px;
    }

    .inv-card-preview img {
        height: 260px;
    }

    .gallery-scroll {
        height: min(40vh, 320px);
    }

    .quicknav-pill {
        width: auto;
    }

    .preview-tile {
        flex: 0 0 70%;
        min-width: 70%;
    }

    .category-grid {
        gap: 8px;
    }

    .product-card-visual img {
        height: 110px;
    }

    .product-card-body {
        padding: 9px 9px 10px;
    }

    .product-card-body h3 {
        font-size: 14px;
    }

    .product-card-body p {
        font-size: 11.5px;
        margin-bottom: 7px;
    }

    .product-card-price {
        margin-bottom: 7px;
        font-size: 18px;
    }

    .package-select {
        min-height: 32px;
        padding: 0 8px;
        font-size: 11px;
    }

    .product-card-premium .btn-primary,
    .product-card-premium .btn-secondary,
    .save-date-card .btn-primary,
    .save-date-card .btn-secondary {
        min-height: 32px;
        font-size: 10px;
    }

    .save-date-card {
        min-height: 270px;
    }

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

    .cart-item-head,
    .cart-item-actions,
    .payment-line {
        flex-direction: column;
        align-items: flex-start;
    }
}
