/* ==========================================================================
   CAKES BY ANI — FULL UPDATED STYLESHEET
   ========================================================================== */

/* ------------------------------------------------------------------
   1. BASE / RESET
------------------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scrollbar-width: thin;
    scrollbar-color: rgba(17, 17, 17, 0.42) transparent;
    overscroll-behavior: none;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: auto;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: rgba(17, 17, 17, 0.42);
    border-radius: 9999px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: rgba(17, 17, 17, 0.7);
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #FFFDF3;
    margin: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    color: #111111;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
}

input,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ------------------------------------------------------------------
   2. FONT UTILITIES
------------------------------------------------------------------ */
.font-sans {
    font-family: 'Montserrat', sans-serif;
}

.font-handwriting {
    font-family: 'Caveat', cursive;
}

.font-tulpen {
    font-family: 'Tulpen One', sans-serif;
}

/* ------------------------------------------------------------------
   3. PRELOADER
------------------------------------------------------------------ */
#preloader,
#preloader-left,
#preloader-right,
#preloader-content,
#preloader-cut-line,
#preloader-progress {
    will-change: transform, opacity, width, height;
}

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#preloader-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: #FFFDF3;
    pointer-events: auto;
    z-index: 10;
}

#preloader-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: #FFFDF3;
    pointer-events: auto;
    z-index: 10;
}

#preloader-cut-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 0;
    background-color: #5b7941;
    transform: translateX(-50%);
    z-index: 15;
}

#preloader-content {
    position: relative;
    z-index: 20;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background-color: #FFFDF3;
    padding: 0.375rem;
    border: 1px solid #5b7941;
    transform: translateZ(0);
}

.preloader-frame {
    border: 1px solid #5b7941;
    padding: 2rem 2.5rem;
    text-align: center;
    background-color: #FFFDF3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 280px;
}

.preloader-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #5b7941;
    line-height: 1;
    margin: 0 0 1.5rem 0;
    font-size: 1.875rem;
}

.preloader-progress-track {
    width: 100%;
    height: 2px;
    background-color: rgba(91, 121, 65, 0.2);
    position: relative;
    overflow: hidden;
}

#preloader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #FC7C51;
    width: 0;
}

#preloader.preloader-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

#preloader.preloader-hidden #preloader-cut-line {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* ------------------------------------------------------------------
   4. TOP NAVIGATION
------------------------------------------------------------------ */
.top-nav {
    position: fixed;
    top: 2rem;
    left: 0;
    width: 100%;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
}

.nav-left-cluster {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.top-center-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: #FFFDF3;
    transition: color 0.4s ease;
}

.nav-text-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: #FFFDF3;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    text-transform: uppercase;
    transition: color 0.4s ease, padding 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.nav-text-link:hover {
    font-style: italic;
}

.nav-scrolled .top-center-text,
.nav-scrolled .nav-text-link {
    color: #111111;
}

.nav-text-link.has-items {
    padding-right: 1rem;
}

.pill-btn {
    height: 1.95rem;
    width: auto;
    background-color: #C9E4B2;
    color: #111;
    border: 1px solid #C9E4B2;
    border-radius: 9999px;
    padding: 0 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    white-space: nowrap;
}

.pill-btn.has-items {
    padding-right: 2.2rem;
}

.pill-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.6rem 1.5rem rgba(201, 228, 178, 0.6);
}

.btn-text-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.38s cubic-bezier(0.76, 0, 0.24, 1);
}

.btn-text-stack span {
    height: 1.95rem;
    flex: 0 0 1.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}

.pill-btn:hover .btn-text-stack {
    transform: translateY(-1.95rem);
}

#cart-badge {
    position: absolute;
    width: 0.48rem;
    height: 0.48rem;
    background: #FC7C51;
    color: transparent;
    border: 0;
    font-size: 0;
    border-radius: 9999px;
    box-shadow: 0 0.25rem 0.75rem rgba(252, 124, 81, 0.55);
    right: -0.25rem;
    top: 0.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transform-origin: center;
    transition: transform 0.3s ease, background-color 0.4s ease, box-shadow 0.3s ease;
    pointer-events: none;
    font-style: normal;
}

#cart-badge.is-visible {
    transform: scale(1);
}

.nav-scrolled #cart-badge {
    background: #FC7C51;
    box-shadow: 0 0.25rem 0.75rem rgba(252, 124, 81, 0.45);
}

/* ------------------------------------------------------------------
   5. HERO SECTION
------------------------------------------------------------------ */
.smooth-wrapper {
    width: 100%;
    min-height: 100vh;
    background-color: #FFFDF3;
    position: relative;
    z-index: 10;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.hero-container {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: visible;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.1);
    background-blend-mode: overlay;
}

.center-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 15vh;
    position: relative;
    z-index: 10;
}

.subtitle {
    font-size: 3rem;
    font-weight: 400;
    color: #FFFDF3;
    z-index: 10;
    letter-spacing: 0.05em;
    text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    margin: 0;
}

.subtitle-highlight {
    position: relative;
    display: inline-block;
    z-index: 10;
}

.subtitle-underline {
    position: absolute;
    width: 102%;
    height: 0.5em;
    bottom: -0.05em;
    left: -1%;
    color: #FD9B7A;
    z-index: -10;
    pointer-events: none;
}

.title-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    position: relative;
    z-index: 10;
    overflow: visible;
}

.titles-aligner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
}

.main-title {
    font-size: 25vw;
    font-weight: 400;
    line-height: 0.85;
    letter-spacing: -0.05em;
    margin: 0;
    padding: 0;
    color: #FFFDF3;
    white-space: nowrap;
    text-align: center;
    transform: translateY(0%);
    text-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
}

.second-title {
    position: absolute;
    top: 100%;
    right: 0;
    font-size: 25vw;
    font-weight: 400;
    line-height: 0.85;
    letter-spacing: -0.05em;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    margin-top: 2vw;
    background-size: 100vw 100vh;
    background-position: top left;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
}

.tarts-label {
    position: absolute;
    top: calc(200% + 3.2vw);
    left: 0;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #666;
    text-align: left;
    z-index: 5;
}

/* ------------------------------------------------------------------
   6. PRODUCTS SECTION
------------------------------------------------------------------ */
.products-section {
    width: 100%;
    height: 200vh;
    background-color: #FD9B7A;
    border-radius: 5vw;
    position: relative;
    margin-top: 28vw;
    margin-bottom: 2vw;
    overflow: hidden;
}

.products-bg-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    user-select: none;
    color: #FFFDF3;
    opacity: 1;
}

.products-bg-text span {
    font-family: 'Montserrat', sans-serif;
    font-size: 28vw;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 0.85;
    letter-spacing: -0.05em;
    margin: 0;
    padding: 0;
}

.product-item {
    position: absolute;
    border: 0;
    outline: 2px dashed rgba(255, 255, 255, 0.45);
    outline-offset: clamp(5px, 0.45vw, 9px);
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    z-index: 10;
    transform-origin: center center;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.product-item:hover {
    z-index: 20;
}

.cake-1 {
    top: 5%;
    left: 8%;
    width: 26vw;
}

.cake-2 {
    top: 17%;
    right: 5%;
    width: 32vw;
}

.cake-3 {
    top: 52%;
    left: 5%;
    width: 28vw;
}

.cake-4 {
    top: 65%;
    right: 12%;
    width: 24vw;
}

.tart-1 {
    top: 5%;
    left: 45%;
    width: 14vw;
}

.tart-2 {
    top: 31%;
    left: 30%;
    width: 16vw;
}

.tart-3 {
    top: 47%;
    right: 35%;
    width: 12vw;
}

.tart-4 {
    top: 75%;
    left: 35%;
    width: 15vw;
}

/* ------------------------------------------------------------------
   7. SIDE MENU
------------------------------------------------------------------ */
#side-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 60;
    pointer-events: none;
}

#side-menu-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.side-menu-active #side-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
}

#side-menu-panel {
    position: absolute;
    top: 0;
    left: 0;
    height: max-content;
    max-height: 100vh;
    overflow-y: auto;
    width: min(420px, 100vw);
    min-width: min(420px, 100vw);
    max-width: 100vw;
    background-color: #FFFDF3;
    transform: translateX(-100%);
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.1);
}

.side-menu-active #side-menu-panel {
    transform: translateX(0);
}

.side-menu-inner {
    margin: 1.5rem;
    flex-grow: 1;
    border: 1px solid #5b7941;
    padding: 3px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.side-menu-content {
    border: 1px solid #5b7941;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 2.75rem 2rem;
    position: relative;
}

.side-menu-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.65rem;
}

#close-side-menu {
    position: absolute;
    top: -1rem;
    left: -1rem;
    background-color: #FFFDF3;
    border: 1.5px solid #5b7941;
    border-radius: 50%;
    padding: 0.6rem 1.8rem;
    transform: rotate(-10deg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    color: #5b7941;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease, background-color 0.3s ease;
    z-index: 10;
}

#close-side-menu:hover {
    transform: rotate(0deg) scale(1.05);
    background-color: #5b7941;
    color: #FFFDF3;
}

#close-side-menu .dot,
#close-cart-side .dot,
.close-modal-btn .dot {
    width: 4px;
    height: 4px;
    background-color: currentColor;
    border-radius: 50%;
}

/* Shared big green button */
.btn-green {
    width: 100%;
    min-width: 0;
    height: 3.75rem;
    background-color: #C9E4B2;
    color: #111111;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: none;
    cursor: pointer;
    padding: 0 1.25rem;
    white-space: nowrap;
}

.btn-green::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(17, 17, 17, 0.3);
    pointer-events: none;
}

.btn-green:hover {
    box-shadow: 0 0.8rem 2rem rgba(201, 228, 178, 0.6);
    transform: translateY(-0.25rem);
}

.btn-green > span {
    position: relative;
    z-index: 10;
}

.btn-green--auto {
    width: auto;
    padding: 0 3rem;
}

.btn-green--cart-icon {
    height: 3.5rem;
    gap: 0.75rem;
}

.btn-green--cart-icon::before {
    z-index: 20;
}

.btn-green-icon {
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
    z-index: 10;
}

/* ------------------------------------------------------------------
   8. LANGUAGE SWITCHER
------------------------------------------------------------------ */
.language-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-top: 0.25rem;
}

.lang-circle {
    width: 100%;
    height: 3.5rem;
    background-color: #C9E4B2;
    color: #111111;
    border: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.lang-circle::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(17, 17, 17, 0.3);
    pointer-events: none;
}

.lang-circle.is-active {
    box-shadow: inset 0 0 0 2px rgba(17, 17, 17, 0.22);
}

.lang-circle:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.8rem 2rem rgba(201, 228, 178, 0.6);
}

.lang-circle > span {
    position: relative;
    z-index: 10;
}

/* ------------------------------------------------------------------
   9. CART SIDE PANEL
------------------------------------------------------------------ */
#cart-side-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 60;
    pointer-events: none;
}

#cart-side-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cart-active #cart-side-backdrop {
    opacity: 1;
    pointer-events: auto;
}

#cart-side-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    max-width: 550px;
    background-color: #FFFDF3;
    transform: translateX(100%);
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.1);
}

.cart-active #cart-side-panel {
    transform: translateX(0);
}

.cart-inner {
    margin: 1.5rem;
    flex-grow: 1;
    border: 1px solid #5b7941;
    padding: 3px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.cart-content {
    border: 1px solid #5b7941;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

#close-cart-side {
    position: absolute;
    top: -1.2rem;
    right: -1.2rem;
    background-color: #FFFDF3;
    border: 1.5px solid #5b7941;
    border-radius: 50%;
    padding: 0.6rem 1.8rem;
    transform: rotate(10deg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    color: #5b7941;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease, background-color 0.3s ease;
    z-index: 10;
}

#close-cart-side:hover {
    transform: rotate(0deg) scale(1.05);
    background-color: #5b7941;
    color: #FFFDF3;
}

.cart-header {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 2.25rem;
    font-family: 'Caveat', cursive;
    color: #5b7941;
    margin: 0;
}

#cart-items-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem 0.5rem 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 0;
}

.cart-empty {
    color: rgba(91, 121, 65, 0.6);
    font-style: italic;
    text-align: center;
    padding: 2.5rem 0;
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(91, 121, 65, 0.2);
    padding-bottom: 1rem;
}

.cart-item img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 9999px;
    border: 1px solid rgba(91, 121, 65, 0.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cart-item-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-name {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    color: #111;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.25rem;
}

.cart-item-qty {
    font-size: 0.875rem;
    color: #5b7941;
    font-weight: 600;
}

.cart-item-remove {
    font-size: 0.65rem;
    color: #FC7C51;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.cart-item-remove:hover {
    color: #111;
}

.cart-footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(229, 231, 235, 0.5);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: auto;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.cart-total-label {
    color: #5b7941;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    font-weight: 700;
}

#cart-total {
    font-size: 1.875rem;
    font-weight: 500;
    color: #000;
    letter-spacing: -0.025em;
    font-family: 'Caveat', cursive;
}

#whatsapp-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#whatsapp-checkout:disabled:hover {
    box-shadow: none;
    transform: none;
}

/* ------------------------------------------------------------------
   10. ABOUT SECTION
------------------------------------------------------------------ */
#about {
    width: 100%;
    padding: 4rem 2rem 4rem;
    background-color: #FFFDF3;
    color: #111111;
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.about-image-col {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image-frame {
    width: 100%;
    max-width: 420px;
    background-color: #FFFDF3;
    border: 1px solid #5b7941;
    padding: 3px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.about-image-inner {
    border: 1px solid #5b7941;
    aspect-ratio: 4 / 5;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.about-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.625;
    color: #1f2937;
}

.section-kicker {
    color: #FC7C51;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.section-kicker--white {
    color: #FFFFFF;
}

.section-kicker--orange {
    color: #FD9B7A;
}

.about-heading-block {
    display: flex;
    flex-direction: column;
}

.section-heading {
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #000;
    margin: 0;
}

.section-heading em {
    font-style: italic;
    font-weight: 500;
}

.section-heading .accent-green {
    font-style: italic;
    font-weight: 500;
    color: #5b7941;
}

.about-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1rem;
}

.about-paragraphs p {
    margin: 0;
}

.about-cta-wrap {
    padding-top: 1rem;
}

/* ------------------------------------------------------------------
   11. REVIEWS SECTION
------------------------------------------------------------------ */
#reviews {
    margin: 4rem 1rem;
    padding: 5rem 1.5rem;
    background-color: #FD9B7A;
    color: #111111;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.reviews-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 2rem;
}

.reviews-heading-col {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
}

.reviews-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-bottom: 0.5rem;
}

.review-nav-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #C9E4B2;
    color: #111111;
    cursor: pointer;
    position: relative;
    transition: opacity 0.3s ease;
}

.review-nav-btn::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(17, 17, 17, 0.3);
    pointer-events: none;
    border-radius: 9999px;
}

.review-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.review-nav-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
    z-index: 10;
}

.reviews-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 3rem 1rem;
    margin: -3rem -1rem;
}

#reviews-track {
    display: flex;
    gap: 2.5rem;
    transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
    padding: 1rem 0;
}

.polaroid-wrapper {
    width: 100%;
    flex-shrink: 0;
    perspective: 1000px;
    cursor: pointer;
    --polaroid-rotation: -3deg;
    transform: rotate(var(--polaroid-rotation));
    transform-origin: center center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.polaroid-wrapper:nth-child(even) {
    --polaroid-rotation: 3deg;
}

.polaroid-wrapper:hover {
    transform: scale(1.03) rotate(0deg);
    z-index: 20;
}

.polaroid-inner {
    width: 100%;
    height: 450px;
    position: relative;
    background-color: #FFFDF3;
    border-radius: 2px;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.polaroid-wrapper.is-flipped .polaroid-inner {
    transform: rotateY(180deg);
}

.polaroid-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background-color: #FFFDF3;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.polaroid-front {
    padding: 1rem 1rem 5rem;
    display: flex;
    flex-direction: column;
}

.polaroid-photo {
    width: 100%;
    flex-grow: 1;
    background-color: #f3f4f6;
    position: relative;
    overflow: hidden;
}

.polaroid-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.1);
}

.polaroid-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.polaroid-name {
    font-family: 'Caveat', cursive;
    font-size: 1.875rem;
    color: #1f2937;
    letter-spacing: 0.025em;
    margin: -10px;
}

.polaroid-hint {
    font-size: 0.65rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 0.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.polaroid-wrapper:hover .polaroid-hint {
    opacity: 1;
}

.polaroid-back {
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.polaroid-quote-mark {
    width: 2rem;
    height: 2rem;
    color: #FC7C51;
    margin-bottom: 1.5rem;
    opacity: 0.4;
}

.polaroid-quote {
    color: #1f2937;
    line-height: 1.625;
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    margin: 0;
}

.polaroid-divider {
    margin-top: 2rem;
    padding-top: 1rem;
    width: 3rem;
    border-top: 2px solid #FC7C51;
    opacity: 0.5;
}

.polaroid-tag {
    font-size: 0.65rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 1rem;
}

/* ------------------------------------------------------------------
   12. CUSTOM ORDERS SECTION
------------------------------------------------------------------ */
#custom-orders {
    width: 100%;
    padding: 6rem 0;
    position: relative;
    z-index: 10;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.custom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.custom-card-outer {
    width: 100%;
    background-color: #FFFDF3;
    border: 1px solid #5b7941;
    padding: 3px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.custom-card-inner {
    border: 1px solid #5b7941;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.custom-text-col,
.custom-form-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom-heading {
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    color: #111111;
}

.custom-heading em {
    font-style: italic;
    font-weight: 500;
    color: #5b7941;
}

.custom-text-col p {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2rem;
    max-width: 28rem;
}

#custom-order-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 1rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-field {
    position: relative;
    width: 100%;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(91, 121, 65, 0.4);
    padding: 0.5rem 0;
    color: #111;
    outline: none;
    transition: border-color 0.3s ease;
    font-size: 1rem;
}

.form-field textarea {
    resize: none;
}

.form-field input:focus,
.form-field textarea:focus {
    border-bottom-color: #5b7941;
}

.form-field label {
    position: absolute;
    left: 0;
    top: -1.25rem;
    font-size: 0.75rem;
    color: #9ca3af;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-field input:placeholder-shown + label,
.form-field textarea:placeholder-shown + label {
    top: 0.5rem;
    font-size: 1rem;
    color: #6b7280;
}

.form-field input:focus + label,
.form-field textarea:focus + label {
    top: -1.25rem;
    font-size: 0.75rem;
    color: #5b7941;
}

.form-submit-row {
    padding-top: 1rem;
}

.form-submit-row .btn-green--auto {
    width: 100%;
}

/* ------------------------------------------------------------------
   13. FOOTER
------------------------------------------------------------------ */
.site-footer {
    position: relative;
    height: 60vh;
    width: 100%;
    z-index: 0;
    background-color: #FFFDF3;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    --footer-side-gap: clamp(1rem, 2.5vw, 3rem);
    --footer-mark-stretch: 1.18;
}

.site-footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: 3rem 0 1rem;
    overflow: hidden;
}

.footer-grid-wrap {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 var(--footer-side-gap);
    overflow: hidden;
    box-sizing: border-box;
}

.footer-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background-color: #000;
    gap: 1px;
    border: 1px solid #000;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
    font-weight: 700;
    margin-bottom: 2.75rem;
}

.footer-cell {
    background-color: #FFFDF3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: background-color 0.25s ease;
    text-align: center;
    width: 100%;
    min-height: 4rem;
}

.footer-cell:hover {
    background-color: #C9E4B2;
}

.footer-cell-hello {
    grid-column: span 2;
    padding: 1.5rem;
}

.footer-cell-hello span {
    font-weight: 700;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.625;
}

.footer-about-link {
    grid-column: span 2;
}

.footer-mark {
    width: calc(100% / var(--footer-mark-stretch));
    max-width: calc(100% / var(--footer-mark-stretch));
    font-size: clamp(9rem, 25vw, 34rem);
    font-family: 'Tulpen One', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 0.72;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    color: #000;
    user-select: none;
    pointer-events: none;
    margin: 0 auto;
    display: block;
    transform: scaleX(var(--footer-mark-stretch));
    transform-origin: center;
}

/* ------------------------------------------------------------------
   14. PRODUCT + INFO MODALS
------------------------------------------------------------------ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    pointer-events: none;
}

.modal.is-hidden {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 0.5s ease;
    opacity: 0;
    cursor: pointer;
    pointer-events: auto;
}

.modal-backdrop.is-visible {
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 100%;
    background-color: #FFFDF3;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 10;
    max-height: 95vh;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
}

.modal-content.is-visible {
    opacity: 1;
}

#modal-content {
    max-width: 64rem;
}

#info-modal .modal-content,
#story-modal .modal-content {
    max-width: 48rem;
    transform: translateY(1.5rem);
    max-height: 90vh;
}

#story-modal .modal-content {
    max-height: 92vh;
}

#info-modal .modal-content.is-visible,
#story-modal .modal-content.is-visible {
    transform: translateY(0);
}

.modal-outer-frame {
    margin: 1rem;
    flex-grow: 1;
    border: 1px solid #5b7941;
    padding: 3px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-frame {
    min-height: 0;
}

#info-modal .modal-outer-frame,
#story-modal .modal-outer-frame {
    max-height: calc(90vh - 2rem);
}

#story-modal .modal-outer-frame {
    max-height: calc(92vh - 2rem);
}

.modal-inner-frame {
    border: 1px solid #5b7941;
    flex-grow: 1;
    display: flex;
    position: relative;
    background-color: #FFFDF3;
    flex-direction: column;
}

.close-modal-btn {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background-color: #FFFDF3;
    border: 1.5px solid #5b7941;
    border-radius: 50%;
    padding: 0.5rem 1.5rem;
    transform: rotate(10deg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    color: #5b7941;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease, background-color 0.3s ease;
    z-index: 20;
}

.close-modal-btn:hover {
    transform: rotate(0deg) scale(1.05);
    background-color: #5b7941;
    color: #FFFDF3;
}

.modal-image-col {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border-bottom: 1px solid rgba(91, 121, 65, 0.3);
    background-color: transparent;
}

#modal-img {
    position: relative;
    width: 75%;
    height: 75%;
    object-fit: contain;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
    transition: transform 0.7s ease;
}

.modal-image-col:hover #modal-img {
    transform: scale(1.05);
}

.modal-body-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
}

#modal-title {
    font-size: 2.25rem;
    font-weight: 400;
    letter-spacing: -0.025em;
    color: #000;
    margin: 0 0 1.5rem 0;
    line-height: 1;
}

#modal-desc {
    color: #4b5563;
    margin: 0 0 1rem 0;
    font-size: 0.75rem;
    line-height: 1.625;
    font-weight: 300;
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.qty-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9ca3af;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: transparent;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
}

.qty-btn {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    color: #000;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1;
    padding-bottom: 0.25rem;
    transition: background-color 0.2s ease;
}

.qty-btn:hover {
    background-color: #e5e7eb;
}

#qty-display {
    font-weight: 500;
    font-size: 1.125rem;
    width: 2rem;
    text-align: center;
    color: #000;
}

.modal-price-row {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.6);
}

#modal-price {
    font-size: 2.25rem;
    font-weight: 500;
    color: #000;
    letter-spacing: -0.025em;
    line-height: 1;
}

.modal-price-currency {
    font-size: 1.5rem;
    color: #9ca3af;
    font-weight: 500;
    line-height: 1;
    padding-bottom: 0.25rem;
}

#add-to-cart-btn.is-added {
    background-color: #000;
    color: #C9E4B2;
}

.modal-scroll-area {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(91, 121, 65, 0.38) transparent;
    touch-action: pan-y;
    border: 1px solid #5b7941;
    background-color: #FFFDF3;
    padding: 1.5rem;
}

.modal-scroll-area::-webkit-scrollbar {
    width: 3px;
}

.modal-scroll-area::-webkit-scrollbar-track {
    background: transparent;
}

.modal-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(91, 121, 65, 0.32);
    border-radius: 9999px;
}

.modal-scroll-area::-webkit-scrollbar-thumb:hover {
    background: rgba(91, 121, 65, 0.5);
}

#info-modal-title,
#story-modal .story-title {
    font-size: 2.25rem;
    font-weight: 400;
    letter-spacing: -0.025em;
    color: #000;
    margin: 0 0 2rem 0;
    line-height: 1;
}

#info-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1rem;
    line-height: 1.625;
    color: #374151;
}

#info-modal-body h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 0.5rem 0;
}

#info-modal-body p {
    margin: 0;
}

#info-modal-body a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    color: #5b7941;
}

#info-modal-body div + div {
    margin-top: 0;
}

/* Story modal specifics */
.story-photo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.story-photo-frame {
    width: 100%;
    max-width: 260px;
    background-color: #FFFDF3;
    border: 1px solid #5b7941;
    padding: 3px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
}

.story-photo-inner {
    border: 1px solid #5b7941;
    aspect-ratio: 4 / 5;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.story-photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-header {
    text-align: center;
    margin-bottom: 2rem;
}

.story-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1rem;
    line-height: 1.625;
    color: #374151;
}

.story-body p {
    margin: 0;
}

/* ------------------------------------------------------------------
   15. TABLET + DESKTOP RESPONSIVE
------------------------------------------------------------------ */
@media (min-width: 768px) {
    .preloader-title {
        font-size: 3rem;
    }

    .smooth-wrapper {
        border-bottom-left-radius: 4rem;
        border-bottom-right-radius: 4rem;
    }

    .products-bg-text span {
        font-size: 20vw;
    }

    .side-menu-inner {
        margin: 2.5rem;
    }

    .side-menu-content {
        padding: 3.75rem 3.25rem;
    }

    .btn-green--cart-icon {
        height: 4rem;
    }

    .cart-inner {
        margin: 2.5rem;
    }

    .cart-content {
        padding: 3.5rem 2.5rem;
    }

    .cart-header h2 {
        font-size: 3rem;
    }

    #cart-total {
        font-size: 2.25rem;
    }

    #about {
        padding: 5rem 8rem 5rem;
    }

    .about-inner {
        flex-direction: row;
        gap: 5rem;
    }

    .about-image-col {
        width: 50%;
        justify-content: flex-start;
    }

    .about-text-col {
        width: 50%;
    }

    .section-heading {
        font-size: 3rem;
    }

    .about-paragraphs {
        font-size: 1.125rem;
    }

    #reviews {
        margin: 6rem 2rem;
        padding: 6rem 3rem;
        border-radius: 4rem;
    }

    .reviews-header {
        flex-direction: row;
    }

    .reviews-heading-col {
        text-align: left;
        width: auto;
    }

    .reviews-controls {
        justify-content: flex-end;
    }

    .polaroid-wrapper {
        width: calc(33.333% - 26.66px);
    }

    #custom-orders {
        padding: 8rem 0;
    }

    .custom-inner {
        padding: 0 2rem;
    }

    .custom-card-inner {
        flex-direction: row;
        padding: 4rem;
        gap: 6rem;
    }

    .custom-text-col,
    .custom-form-col {
        width: 50%;
    }

    .custom-heading {
        font-size: 3rem;
    }

    #custom-order-form {
        margin-top: 0;
    }

    .form-row {
        flex-direction: row;
        gap: 2rem;
    }

    .form-submit-row .btn-green--auto {
        width: auto;
    }

    .site-footer {
        height: 80vh;
    }

    .site-footer-fixed {
        height: 80vh;
        padding: 6rem 0 2rem;
    }

    .footer-grid {
        grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
        font-size: 0.75rem;
        margin-bottom: 3.25rem;
    }

    .footer-cell {
        padding: 1.5rem;
        min-height: 4.5rem;
    }

    .footer-cell-hello {
        grid-column: span 1;
        grid-row: span 3;
        padding: 2rem;
    }

    .footer-cell-hello span {
        font-size: 1.125rem;
    }

    .footer-about-link {
        grid-column: span 1;
    }

    .footer-mark {
        font-size: clamp(13rem, 24vw, 36rem);
    }

    .modal {
        padding: 0;
    }

    .modal-outer-frame {
        margin: 2rem;
    }

    #info-modal .modal-outer-frame,
    #story-modal .modal-outer-frame {
        max-height: calc(90vh - 4rem);
    }

    #story-modal .modal-outer-frame {
        max-height: calc(92vh - 4rem);
    }

    #product-modal .modal-inner-frame {
        flex-direction: row;
    }

    .close-modal-btn {
        top: -1.25rem;
        right: -1.25rem;
        padding: 0.625rem 1.75rem;
    }

    .modal-image-col {
        width: 50%;
        min-height: 500px;
        border-bottom: none;
        border-right: 1px solid rgba(91, 121, 65, 0.3);
    }

    .modal-body-col {
        width: 50%;
        padding: 3rem;
    }

    #modal-title,
    #info-modal-title,
    #story-modal .story-title {
        font-size: 3rem;
    }

    #modal-desc,
    #info-modal-body,
    .story-body {
        font-size: 1.125rem;
    }

    #modal-price {
        font-size: 3rem;
    }

    .modal-scroll-area {
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    #reviews {
        margin: 6rem 4rem;
        padding: 6rem 5rem;
    }

    .custom-heading {
        font-size: 3.75rem;
    }

    #modal-title {
        font-size: 2rem;
    }

    .footer-mark {
        font-size: clamp(15rem, 23.5vw, 38rem);
    }
}

@media (min-width: 1536px) {
    .subtitle {
        font-size: 3.5rem;
    }

    .main-title {
        font-size: 20vw;
    }

    .second-title {
        font-size: 20vw;
    }

    .footer-mark {
        font-size: clamp(17rem, 23vw, 40rem);
    }
}

/* ------------------------------------------------------------------
   16. MOBILE RESPONSIVE
------------------------------------------------------------------ */
@media (max-width: 768px) {
    .top-nav {
        padding: 0 1.5rem;
        top: 1.5rem;
    }

    .nav-text-link {
        font-size: 0.75rem;
    }

    .top-center-text {
        font-size: 0.75rem;
    }

    .nav-text-link.has-items {
        padding-right: 0.9rem;
    }

    #cart-badge {
        width: 0.44rem;
        height: 0.44rem;
        font-size: 0;
        right: -0.2rem;
        top: 0.05rem;
    }

    .nav-left-cluster {
        gap: 0.55rem;
    }

    .hero-container {
        height: 100svh;
        min-height: 620px;
    }

    .center-content {
        padding-top: 12vh;
    }

    .subtitle {
        font-size: 1.25rem;
    }

    .title-container {
        width: 100%;
        padding: 0 1rem;
        overflow: visible;
        box-sizing: border-box;
    }

    .titles-aligner {
        width: 100%;
        align-items: center;
    }

    .main-title {
        width: 100%;
        max-width: 100%;
        font-size: clamp(5.3rem, 22vw, 7.2rem);
        line-height: 0.86;
        letter-spacing: -0.045em;
        text-align: center;
        white-space: nowrap;
    }

    .second-title {
        width: 100%;
        max-width: 100%;
        left: 0;
        right: auto;
        font-size: clamp(5.3rem, 22vw, 7.2rem);
        line-height: 0.86;
        letter-spacing: -0.045em;
        text-align: center;
        white-space: nowrap;
        margin-top: 2.5vw;
    }

    .tarts-label {
        top: calc(200% + 4.4vw);
        left: 1rem;
        width: calc(100% - 2rem);
        font-size: 0.55rem;
        text-align: left;
        z-index: 20;
    }

    .products-section {
        height: 145vh;
        margin-top: 30vw;
        margin-bottom: 7vw;
        border-radius: 8vw;
    }

    .products-bg-text span {
        font-size: 30vw;
        line-height: 0.82;
    }

    .cake-1 {
        top: 4%;
        left: -4%;
        width: 49vw;
    }

    .cake-2 {
        top: 16%;
        right: -8%;
        width: 56vw;
    }

    .cake-3 {
        top: 37%;
        left: -8%;
        width: 52vw;
    }

    .cake-4 {
        top: 56%;
        right: 5%;
        width: 44vw;
    }

    .tart-1 {
        top: 11%;
        right: 18%;
        width: 25vw;
    }

    .tart-2 {
        top: 29%;
        left: 14%;
        width: 27vw;
    }

    .tart-3 {
        top: 47%;
        right: 13%;
        width: 24vw;
    }

    .tart-4 {
        top: 70%;
        left: 18%;
        width: 29vw;
    }

    #side-menu-panel {
        width: min(360px, 100vw);
        min-width: min(360px, 100vw);
    }

    .side-menu-inner {
        margin: 1.25rem;
    }

    .side-menu-content {
        padding: 2.5rem 1.75rem;
    }

    .side-menu-stack {
        gap: 1.4rem;
    }

    #side-menu-panel .btn-green {
        height: 3.5rem;
        font-size: 0.8rem;
        padding: 0 1rem;
    }

    #side-menu-panel .language-switcher {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    #side-menu-panel .lang-circle {
        width: 100%;
        height: 3.5rem;
        font-size: 0.875rem;
    }

    #about {
        padding-top: 3.5rem;
    }

    .site-footer {
        height: auto;
        min-height: auto;
        clip-path: none;
        --footer-side-gap: 1rem;
        --footer-mark-stretch: 1;
    }

    .site-footer-fixed {
        position: relative;
        height: auto;
        min-height: auto;
        padding: 5rem 0 1.5rem;
        overflow: visible;
    }

    .footer-grid-wrap {
        padding: 0 var(--footer-side-gap);
        overflow: visible;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 1.4rem;
        font-size: 0.62rem;
    }

    .footer-cell {
        min-height: 4rem;
        padding: 0.85rem 0.55rem;
    }

    .footer-cell-hello {
        grid-column: span 2;
        min-height: 6.25rem;
        padding: 1rem;
    }

    .footer-about-link {
        grid-column: span 2;
    }

    .footer-mark {
        width: 100%;
        max-width: 100%;
        font-size: 23vw;
        line-height: 0.78;
        transform: none;
        margin: 0 auto;
    }

    /* Mobile reviews stacked swipe carousel */
    #reviews {
        margin: 4rem 1rem;
        padding: 4.5rem 1rem 5rem;
    }

    #reviews .reviews-header {
        margin-bottom: 2rem;
        align-items: center;
    }

    #reviews .reviews-controls {
        display: none !important;
    }

    #reviews .reviews-viewport {
        width: 100%;
        max-width: 390px;
        height: min(118vw, 520px);
        margin: 0 auto;
        padding: 2rem 0 1rem;
        overflow: visible;
        touch-action: pan-y;
    }

    #reviews-track.mobile-review-stack {
        display: block;
        position: relative;
        width: 100%;
        height: 100%;
        padding: 0;
        gap: 0;
        transform: none !important;
        transition: none;
        touch-action: pan-y;
    }

    #reviews-track.mobile-review-stack .polaroid-wrapper {
        position: absolute;
        top: 0;
        left: 50%;
        width: min(82vw, 320px);
        opacity: 0;
        pointer-events: none;
        z-index: 0;
        transform: translateX(-50%) translateY(32px) scale(0.84) rotate(0deg);
        transition:
            transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
            opacity 0.35s ease;
        will-change: transform, opacity;
        touch-action: pan-y;
    }

    #reviews-track.mobile-review-stack .polaroid-wrapper.is-review-active {
        opacity: 1;
        pointer-events: auto;
        z-index: 5;
        transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    }

    #reviews-track.mobile-review-stack .polaroid-wrapper.is-review-next {
        opacity: 0.55;
        z-index: 4;
        transform: translateX(-43%) translateY(20px) scale(0.93) rotate(5deg);
    }

    #reviews-track.mobile-review-stack .polaroid-wrapper.is-review-prev {
        opacity: 0.45;
        z-index: 3;
        transform: translateX(-57%) translateY(30px) scale(0.88) rotate(-5deg);
    }

    #reviews-track.mobile-review-stack .polaroid-wrapper.is-review-hidden {
        opacity: 0;
        pointer-events: none;
        z-index: 0;
        transform: translateX(-50%) translateY(42px) scale(0.82) rotate(0deg);
    }

    #reviews-track.mobile-review-stack .polaroid-wrapper:hover {
        transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    }

    #reviews-track.mobile-review-stack .polaroid-wrapper.is-review-next:hover {
        transform: translateX(-43%) translateY(20px) scale(0.93) rotate(5deg);
    }

    #reviews-track.mobile-review-stack .polaroid-wrapper.is-review-prev:hover {
        transform: translateX(-57%) translateY(30px) scale(0.88) rotate(-5deg);
    }

    #reviews-track.mobile-review-stack .polaroid-inner {
        height: min(112vw, 450px);
    }

    #reviews-track.mobile-review-stack .polaroid-hint {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .hero-container {
        min-height: 600px;
    }

    .main-title,
    .second-title {
        font-size: clamp(4.8rem, 21vw, 6.25rem);
        letter-spacing: -0.04em;
    }

    .tarts-label {
        top: calc(200% + 5vw);
        font-size: 0.5rem;
    }

    .products-section {
        height: 120vh;
        margin-top: 31vw;
        margin-bottom: 6vw;
        border-radius: 8vw;
    }

    .products-bg-text span {
        font-size: 29vw;
        line-height: 0.8;
    }

    .cake-1 {
        top: 4%;
        left: 5%;
        width: 48vw;
    }

    .cake-2 {
        top: 25%;
        right: 5%;
        width: 55vw;
    }

    .cake-3 {
        top: 50%;
        left: 4%;
        width: 51vw;
    }

    .cake-4 {
        top: 75%;
        right: 5%;
        width: 43vw;
    }

    .tart-1 {
        top: 10%;
        left: 60%;
        width: 25vw;
    }

    .tart-2 {
        top: 28%;
        left: 7%;
        width: 27vw;
    }

    .tart-3 {
        top: 60%;
        right: 12%;
        width: 24vw;
    }

    .tart-4 {
        top: 76%;
        left: 15%;
        width: 29vw;
    }

    .footer-grid {
        font-size: 0.6rem;
        margin-bottom: 1.2rem;
    }

    .footer-cell {
        min-height: 3.85rem;
        padding: 0.75rem 0.45rem;
    }

    .footer-cell-hello {
        min-height: 6rem;
    }

    .footer-mark {
        font-size: 24vw;
    }

    #reviews .reviews-viewport {
        max-width: 340px;
        height: min(122vw, 470px);
    }

    #reviews-track.mobile-review-stack .polaroid-wrapper {
        width: min(84vw, 300px);
    }

    #reviews-track.mobile-review-stack .polaroid-inner {
        height: min(114vw, 430px);
    }
}


/* ------------------------------------------------------------------
   SHORT HEIGHT PRODUCT MODAL FIT
   Keeps the product modal layout intact on shorter displays by tightening
   type, spacing, image minimums, and button controls instead of stacking or
   hiding content.
------------------------------------------------------------------ */
@media (min-width: 768px) and (max-height: 760px) {
    #product-modal .modal-content {
        max-height: 96vh;
    }

    #product-modal .modal-outer-frame {
        margin: 1rem;
        max-height: calc(96vh - 2rem);
    }

    #product-modal .modal-inner-frame {
        min-height: 0;
    }

    #product-modal .modal-image-col {
        min-height: clamp(360px, 66vh, 500px);
    }

    #product-modal #modal-img {
        width: 68%;
        height: 68%;
    }

    #product-modal .modal-body-col {
        justify-content: flex-start;
        padding: 2rem;
    }

    #product-modal #modal-title {
        font-size: clamp(1.65rem, 3.8vh, 2.35rem);
        margin-bottom: 1rem;
        line-height: 0.95;
    }

    #product-modal #modal-desc {
        font-size: 0.875rem;
        line-height: 1.45;
        margin-bottom: 0.85rem;
    }

    #product-modal .qty-row {
        gap: 1rem;
        margin-bottom: 1.25rem;
    }

    #product-modal .qty-control {
        gap: 0.5rem;
        padding: 0.2rem 0.65rem;
    }

    #product-modal .qty-btn {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 1.05rem;
    }

    #product-modal #qty-display {
        font-size: 1rem;
        width: 1.65rem;
    }

    #product-modal .modal-price-row {
        margin-bottom: 0.85rem;
    }

    #product-modal #modal-price {
        font-size: clamp(2rem, 4.8vh, 2.75rem);
    }

    #product-modal .modal-price-currency {
        font-size: 1.2rem;
    }

    #product-modal #add-to-cart-btn {
        height: 3.35rem;
        font-size: 0.78rem;
        letter-spacing: 0.08em;
    }
}

@media (min-width: 768px) and (max-height: 680px) {
    #product-modal .modal-outer-frame {
        margin: 0.75rem;
        max-height: calc(97vh - 1.5rem);
    }

    #product-modal .modal-image-col {
        min-height: clamp(320px, 64vh, 430px);
    }

    #product-modal #modal-img {
        width: 62%;
        height: 62%;
    }

    #product-modal .modal-body-col {
        padding: 1.5rem;
    }

    #product-modal #modal-title {
        font-size: clamp(1.45rem, 3.6vh, 2rem);
        margin-bottom: 0.75rem;
    }

    #product-modal #modal-desc {
        font-size: 0.8125rem;
        line-height: 1.4;
        margin-bottom: 0.65rem;
    }

    #product-modal .qty-row {
        margin-bottom: 0.95rem;
    }

    #product-modal .qty-label {
        font-size: 0.68rem;
    }

    #product-modal .modal-price-row {
        margin-bottom: 0.65rem;
    }

    #product-modal #modal-price {
        font-size: clamp(1.75rem, 4.5vh, 2.35rem);
    }

    #product-modal #add-to-cart-btn {
        height: 3rem;
        font-size: 0.72rem;
    }
}

@media (min-width: 768px) and (max-height: 600px) {
    #product-modal .modal-content {
        max-height: 98vh;
    }

    #product-modal .modal-outer-frame {
        margin: 0.5rem;
        max-height: calc(98vh - 1rem);
    }

    #product-modal .close-modal-btn {
        top: -0.85rem;
        right: -0.85rem;
        padding: 0.45rem 1.25rem;
        font-size: 0.65rem;
    }

    #product-modal .modal-image-col {
        min-height: clamp(280px, 62vh, 380px);
    }

    #product-modal .modal-body-col {
        padding: 1.15rem;
    }

    #product-modal #modal-title {
        font-size: clamp(1.3rem, 3.4vh, 1.75rem);
        margin-bottom: 0.55rem;
    }

    #product-modal #modal-desc {
        font-size: 0.75rem;
        line-height: 1.35;
        margin-bottom: 0.5rem;
    }

    #product-modal .qty-row {
        gap: 0.75rem;
        margin-bottom: 0.7rem;
    }

    #product-modal .qty-control {
        padding: 0.15rem 0.55rem;
    }

    #product-modal .qty-btn {
        width: 1.55rem;
        height: 1.55rem;
        font-size: 0.95rem;
    }

    #product-modal #qty-display {
        font-size: 0.9rem;
        width: 1.4rem;
    }

    #product-modal #modal-price {
        font-size: clamp(1.5rem, 4.2vh, 2rem);
    }

    #product-modal .modal-price-currency {
        font-size: 1rem;
    }

    #product-modal #add-to-cart-btn {
        height: 2.75rem;
        font-size: 0.68rem;
    }
}

@media (max-width: 767px) and (max-height: 740px) {
    #product-modal .modal-content {
        max-height: 96vh;
    }

    #product-modal .modal-outer-frame {
        margin: 0.75rem;
    }

    #product-modal .modal-image-col {
        min-height: 220px;
    }

    #product-modal #modal-img {
        width: 68%;
        height: 68%;
    }

    #product-modal .modal-body-col {
        padding: 1.1rem;
    }

    #product-modal #modal-title {
        font-size: 1.85rem;
        margin-bottom: 0.85rem;
    }

    #product-modal #modal-desc {
        font-size: 0.72rem;
        line-height: 1.45;
        margin-bottom: 0.75rem;
    }

    #product-modal .qty-row {
        margin-bottom: 1rem;
    }

    #product-modal #modal-price {
        font-size: 2rem;
    }

    #product-modal #add-to-cart-btn {
        height: 3.15rem;
        font-size: 0.74rem;
    }
}

@media (max-width: 767px) and (max-height: 640px) {
    #product-modal .modal-outer-frame {
        margin: 0.5rem;
    }

    #product-modal .close-modal-btn {
        top: -0.85rem;
        right: -0.85rem;
        padding: 0.45rem 1.2rem;
        font-size: 0.65rem;
    }

    #product-modal .modal-image-col {
        min-height: 180px;
    }

    #product-modal .modal-body-col {
        padding: 0.9rem;
    }

    #product-modal #modal-title {
        font-size: 1.55rem;
        margin-bottom: 0.55rem;
    }

    #product-modal #modal-desc {
        font-size: 0.68rem;
        line-height: 1.35;
        margin-bottom: 0.55rem;
    }

    #product-modal .qty-row {
        gap: 0.8rem;
        margin-bottom: 0.7rem;
    }

    #product-modal .qty-label {
        font-size: 0.65rem;
    }

    #product-modal .qty-control {
        gap: 0.45rem;
        padding: 0.12rem 0.5rem;
    }

    #product-modal .qty-btn {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.95rem;
    }

    #product-modal #qty-display {
        font-size: 0.9rem;
        width: 1.35rem;
    }

    #product-modal .modal-price-row {
        margin-bottom: 0.55rem;
    }

    #product-modal #modal-price {
        font-size: 1.65rem;
    }

    #product-modal .modal-price-currency {
        font-size: 1rem;
    }

    #product-modal #add-to-cart-btn {
        height: 2.75rem;
        font-size: 0.68rem;
        letter-spacing: 0.07em;
    }
}

/* ------------------------------------------------------------------
   MOBILE SCROLL FIX
   Keeps phones on native one-finger scrolling and prevents hidden panels
   from accidentally sitting in the touch layer.
------------------------------------------------------------------ */
html,
body {
    overflow-y: auto;
}

@media (hover: none), (pointer: coarse) {
    html,
    body,
    .smooth-wrapper {
        touch-action: pan-y;
        overscroll-behavior-y: auto;
    }
}

#side-menu-panel,
#cart-side-panel {
    pointer-events: none;
}

.side-menu-active #side-menu-panel,
.cart-active #cart-side-panel {
    pointer-events: auto;
}
