:root {
    --color-bg: #F5EBDD;
    --color-text: #3A2416;
    --color-accent: #8B1E1E;
    --color-accent-2: #2F4A38;
    --color-white: #F5EBDD;
    --color-wood: #5A2F1B;
    --color-gold: #B08A4A;

    --font-serif: 'Shippori Mincho', 'Noto Serif JP', 'Yu Mincho', serif;
    --font-sans: 'Zen Old Mincho', 'Noto Serif JP', 'Yu Mincho', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    /* Reset links */
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-sans);
    background:
        repeating-linear-gradient(90deg, rgba(58, 36, 22, 0.035) 0 1px, transparent 1px 42px),
        linear-gradient(180deg, #F5EBDD 0%, var(--color-bg) 46%, rgba(176, 138, 74, 0.32) 100%);
    color: var(--color-text);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.container {
    width: 90%;
    max-width: 1200px;
    /* Increased max-width for 4 columns */
    margin: 0 auto;
}

/* Header */
header {
    background:
        linear-gradient(90deg, rgba(47, 74, 56, 0.55), transparent 22%, transparent 78%, rgba(139, 30, 30, 0.45)),
        linear-gradient(180deg, #5A2F1B 0%, #3A2416 100%);
    color: var(--color-white);
    padding: 1.5rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(176, 138, 74, 0.48);
}

.logo,
.logo-link {
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    color: var(--color-white);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--color-wood);
    width: 80%;
    max-width: 500px;
}

.hero-content h2 {
    font-size: 1.5rem;
    color: var(--color-text);
    line-height: 1.8;
}

/* Section Common */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--color-gold);
    display: block;
    width: 100%;
    padding-bottom: 0.5rem;
    position: relative;
    left: 0;
    transform: none;
    color: var(--color-text);
    text-shadow: 0 1px 0 rgba(245, 235, 221, 0.72);
}

.menu-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.menu-title-row .section-title {
    width: auto;
    min-width: min(360px, 100%);
    margin-bottom: 0;
}

.rocketnow-menu-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(176, 138, 74, 0.68);
    background: linear-gradient(180deg, var(--color-accent-2) 0%, var(--color-text) 100%);
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    box-shadow: 0 10px 20px rgba(58, 36, 22, 0.26);
    white-space: nowrap;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rocketnow-menu-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(58, 36, 22, 0.34);
}

/* Information Section */
.info-section {
    background-color: var(--color-white);
}

.info-card {
    border: 1px solid #ddd;
    padding: 2rem;
    background-color: var(--color-bg);
    border-radius: 4px;
}


/* Story section text color over background image */
.story-section-custom .section-title,
.story-section-custom .story-text {
    color: #fcfaf2;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}

.story-section-custom .section-title {
    border-bottom-color: rgba(252, 250, 242, 0.6);
}

/* Story Section background (single section) */
.story-section-custom {
    position: relative;
    overflow: hidden;
}

.story-section-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(58, 36, 22, 0.74), rgba(58, 36, 22, 0.82));
    filter: blur(4px);
    transform: scale(1.03);
    z-index: 0;
}

.story-section-custom .container {
    position: relative;
    z-index: 1;
}

.info-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.info-list li i {
    width: 25px;
    margin-right: 10px;
    color: var(--color-wood);
    margin-top: 5px;
}

/* Master Section */
.master-section {
    background-color: var(--color-wood);
    color: var(--color-white);
}

.master-section .section-title {
    border-color: var(--color-white);
}

.master-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.master-image {
    flex: 1 1 300px;
}

.master-image img {
    width: 100%;
    border-radius: 4px;
    border: 4px solid #fff;
}

.master-text {
    flex: 1 1 300px;
}

.master-text h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-bg);
}

.master-text p {
    margin-bottom: 1rem;
}

/* Story Section */
.story-section {
    background:
        linear-gradient(rgba(58, 36, 22, 0.78), rgba(58, 36, 22, 0.86));
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(62, 39, 35, 0.8);
    z-index: 1;
}

.story-section .container {
    position: relative;
    z-index: 2;
}

.story-section .section-title {
    color: var(--color-white);
    border-color: var(--color-white);
}

.story-box {
    background-color: rgba(255, 248, 225, 0.95);
    padding: 3rem;
    text-align: center;
    border-radius: 2px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 2;
}

/* Menu Section (Home) */
.menu-section {
    background-color: var(--color-bg);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.menu-item {
    background: var(--color-white);
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.menu-item h4 {
    margin-bottom: 0.5rem;
    color: var(--color-wood);
}

.menu-action {
    text-align: center;
    margin-top: 2rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-text);
    color: var(--color-white);
    border: none;
    padding: 1rem 3rem;
    font-size: 1rem;
    cursor: pointer;
    font-family: var(--font-serif);
    transition: background-color 0.3s;
    border-radius: 2px;
}

.btn-primary:hover {
    background-color: var(--color-wood);
}

/* Menu Page Header */
.page-header {
    background-color: var(--color-white);
    padding: 3rem 0;
    text-align: center;
}

.menu-list-section {
    padding-top: 2rem;
}

.menu-page main {
    background:
        linear-gradient(rgba(38, 20, 13, 0.78), rgba(29, 15, 10, 0.84)),
        linear-gradient(90deg, rgba(25, 61, 45, 0.18), transparent 34%, rgba(111, 36, 31, 0.2)),
        url('images/menu/menu-terrace-background.webp') center / cover fixed no-repeat;
    color: var(--color-white);
    font-family: var(--font-serif);
}

.menu-page .page-header,
.menu-page .menu-list-section {
    background: transparent;
}

.menu-page .page-header {
    padding: 4rem 0 2.4rem;
}

.menu-page .page-header .section-title,
.menu-page .page-header p,
.menu-page .menu-category-title {
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

.menu-page .page-header .section-title {
    border-bottom-color: rgba(255, 255, 255, 0.72);
}

.menu-page .page-header p {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.menu-page .menu-list-section {
    padding-top: 2rem;
    padding-bottom: 4.5rem;
}

/* Tabs */
.menu-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.tab-btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-family: var(--font-serif);
    background-color: var(--color-white);
    border: 1px solid var(--color-wood);
    color: var(--color-wood);
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
    white-space: nowrap;
}

.tab-btn.active,
.tab-btn:hover {
    background-color: var(--color-wood);
    color: var(--color-white);
}

.menu-page .menu-tabs {
    gap: 0.85rem;
    margin-bottom: 2.4rem;
}

.menu-page .tab-btn {
    min-width: 168px;
    border-color: rgba(230, 210, 163, 0.44);
    background: rgba(255, 248, 232, 0.9);
    color: var(--color-wood);
    border-radius: 2px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.menu-page .tab-btn.active,
.menu-page .tab-btn:hover {
    background: linear-gradient(180deg, var(--color-accent) 0%, #5A2F1B 100%);
    color: var(--color-white);
    border-color: rgba(185, 147, 77, 0.82);
}

.menu-content {
    display: none;
    animation: fadeIn 0.5s;
}

.menu-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.menu-category-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--color-wood);
    border-left: 5px solid var(--color-wood);
    padding-left: 1rem;
    margin-top: 1rem;
}

.menu-page .menu-category-title {
    border-left-color: rgba(230, 210, 163, 0.86);
    margin-top: 1.2rem;
    margin-bottom: 1.7rem;
    letter-spacing: 0.04em;
}

.menu-item-slideshow {
    position: relative;
    width: min(760px, 100%);
    min-height: 470px;
    margin: 0 auto 2rem;
    overflow: hidden;
    border: 1px solid rgba(185, 147, 77, 0.46);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(255, 248, 232, 0.97), rgba(228, 209, 168, 0.97));
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.32);
    touch-action: pan-y;
    user-select: none;
}

.menu-item-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    opacity: 0;
    transform: scale(1.035);
    transition: opacity 0.85s ease, transform 1.2s ease;
}

.menu-item-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.menu-item-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
    filter: sepia(0.16) saturate(0.84) contrast(1.07) brightness(0.95);
    border: 1px solid rgba(176, 138, 74, 0.34);
}

.menu-item-slide::after {
    display: none;
}

.menu-item-slide-info {
    position: relative;
    z-index: 1;
    min-height: 122px;
    padding: 1.05rem 4.6rem 1.2rem;
    background: linear-gradient(180deg, rgba(245, 235, 221, 0.98), rgba(245, 235, 221, 0.9));
    border-top: 1px solid rgba(185, 147, 77, 0.36);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.menu-item-slide-info h4 {
    font-family: var(--font-serif);
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-wood);
    line-height: 1.22;
    width: 100%;
}

.menu-item-slide-info h4 span {
    display: block;
    font-size: 0.48em;
    margin-top: 0.18rem;
}

.menu-item-slide-info p {
    margin-top: 0.48rem;
    color: var(--color-text);
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    font-weight: 700;
    width: 100%;
}

.menu-item-dots {
    position: absolute;
    right: 1rem;
    bottom: 1.1rem;
    z-index: 2;
    display: flex;
    gap: 0.42rem;
}

.menu-item-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid rgba(75, 47, 35, 0.56);
    border-radius: 999px;
    background: rgba(75, 47, 35, 0.18);
    cursor: pointer;
}

.menu-item-dots button.is-active {
    width: 24px;
    background: rgba(111, 36, 31, 0.9);
}

.menu-item-nav {
    position: absolute;
    top: calc((100% - 122px) / 2);
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(185, 147, 77, 0.82);
    border-radius: 999px;
    background: rgba(58, 33, 24, 0.78);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.menu-item-nav:hover {
    background: rgba(25, 61, 45, 0.94);
    transform: translateY(-50%) scale(1.04);
}

.menu-item-prev {
    left: 1rem;
}

.menu-item-next {
    right: 1rem;
}

.coffee-label-slideshow {
    width: 100%;
    min-height: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.coffee-label-slide {
    position: static;
    inset: auto;
    display: block;
    padding: 0;
    opacity: 1;
    transform: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.coffee-label-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    filter: sepia(0.12) saturate(0.9) contrast(1.04) brightness(0.98) drop-shadow(0 18px 24px rgba(0, 0, 0, 0.36));
}

.coffee-label-slide:hover {
    transform: translateY(-5px);
}

.coffee-label-slideshow .menu-item-nav {
    display: none;
}

.coffee-label-slideshow .menu-item-dots {
    display: none;
}

.weekly-coffee-note {
    width: min(760px, 100%);
    margin: -0.2rem auto 2.3rem;
    padding: 1.15rem 1.2rem;
    border-top: 1px solid rgba(230, 210, 163, 0.42);
    border-bottom: 1px solid rgba(230, 210, 163, 0.26);
    color: rgba(255, 248, 232, 0.95);
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2.4vw, 1.22rem);
    font-weight: 600;
    line-height: 1.95;
    letter-spacing: 0.04em;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

@media (min-width: 769px) {
    #food-section .menu-item-slideshow {
        width: 100%;
        min-height: 0;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    #food-section .menu-item-slideshow:last-of-type {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #food-section .menu-item-slide {
        position: static;
        inset: auto;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        opacity: 1;
        transform: none;
        border: 1px solid rgba(185, 147, 77, 0.46);
        border-radius: 4px;
        background: linear-gradient(180deg, rgba(255, 248, 232, 0.97), rgba(228, 209, 168, 0.97));
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    #food-section .menu-item-slide:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 34px rgba(0, 0, 0, 0.34);
    }

    #food-section .menu-item-slide img {
        height: 220px;
        object-fit: cover;
        flex: 0 0 auto;
    }

    #food-section .menu-item-slide-info {
        min-height: 132px;
        padding: 1.15rem 1.05rem 1.25rem;
    }

    #food-section .menu-item-slide-info h4 {
        font-size: clamp(1.05rem, 1.4vw, 1.35rem);
        line-height: 1.3;
    }

    #food-section .menu-item-slide-info p {
        font-size: clamp(0.92rem, 1.2vw, 1.08rem);
    }

    #food-section .menu-item-nav,
    #food-section .menu-item-dots {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    #food-section .menu-item-slideshow,
    #food-section .menu-item-slideshow:last-of-type {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Menu Grid (The requested 4-col layout) */
.menu-grid-list {
    display: grid;
    /* Default PC: 4 columns */
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.menu-details-grid {
    margin-top: 1.25rem;
}

.menu-card {
    background-color: var(--color-white);
    border: 1px solid rgba(185, 147, 77, 0.34);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    height: 100%;
    /* Equal height */
}

.menu-page .menu-card {
    background: linear-gradient(180deg, rgba(255, 248, 232, 0.97), rgba(228, 209, 168, 0.97));
    border: 1px solid rgba(185, 147, 77, 0.46);
    border-radius: 4px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.menu-page .menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.34);
}

.card-image {
    width: 100%;
    height: 180px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    position: relative;
}

.menu-page .card-image {
    height: 190px;
    background-color: rgba(18, 10, 6, 0.62);
    border-bottom-color: rgba(91, 57, 43, 0.18);
}

.card-image img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    filter: sepia(0.14) saturate(0.86) contrast(1.06) brightness(0.95);
}

/* Coffee beans (menu list) - bean-themed background */
#coffee-section .card-image {
    background-image: url('images/back-coffee-beans.webp');
    background-size: cover;
    background-position: center;
}

#coffee-section .card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

#coffee-section .card-image img {
    position: relative;
    z-index: 1;
}

#coffee-section .card-image img.coffee-full {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
}

#coffee-section .card-image img.shop-card-image {
    max-width: 70%;
    max-height: 70%;
}

.coffee-label-grid {
    align-items: stretch;
}

.menu-page .coffee-label-menu-card {
    background: transparent;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    overflow: visible;
}

.coffee-label-image-card {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.36);
}

.coffee-label-card {
    position: relative;
    min-height: 390px;
    height: 100%;
    aspect-ratio: 4 / 5.35;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(229, 208, 165, 0.56);
    background:
        linear-gradient(180deg, rgba(10, 6, 4, 0.08), rgba(0, 0, 0, 0.3)),
        #100905;
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.36),
        inset 0 0 0 3px rgba(255, 243, 205, 0.12);
    color: #24140d;
    isolation: isolate;
}

.coffee-label-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 48%;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.04) 36%, rgba(0, 0, 0, 0.22)),
        url('images/back-coffee-beans.webp') center top / cover no-repeat;
    z-index: 0;
}

.coffee-label-card::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(232, 210, 166, 0.44);
    border-radius: 6px;
    pointer-events: none;
    z-index: 5;
}

.coffee-label-ribbon {
    position: absolute;
    top: 0;
    left: 7%;
    width: 24%;
    height: 43%;
    padding: 1rem 0.45rem 1.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.72rem;
    background:
        linear-gradient(180deg, rgba(25, 22, 16, 0.98), rgba(5, 4, 3, 0.98)),
        #070604;
    border: 1px solid rgba(218, 190, 135, 0.36);
    border-top: 0;
    clip-path: polygon(0 0, 100% 0, 100% 84%, 50% 100%, 0 84%);
    color: #c9baa0;
    z-index: 3;
    box-shadow: 7px 0 16px rgba(0, 0, 0, 0.28);
}

.coffee-label-ribbon::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(226, 207, 165, 0.82);
    border-radius: 50%;
    box-shadow: 0 -7px 0 -5px rgba(226, 207, 165, 0.82);
}

.coffee-label-ribbon::after {
    content: '';
    width: 46%;
    height: 42px;
    margin-top: auto;
    border: 1px solid rgba(184, 153, 95, 0.36);
    border-radius: 50%;
    opacity: 0.54;
}

.coffee-label-ribbon span {
    max-width: 100%;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(0.7rem, 1.1vw, 0.92rem);
    line-height: 1.12;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72);
}

.coffee-label-ribbon img {
    width: 82%;
    max-height: 42px;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.34);
}

.coffee-label-ribbon-original {
    top: 9%;
    left: 5%;
    width: 36%;
    height: auto;
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    clip-path: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
}

.coffee-label-ribbon-original::before,
.coffee-label-ribbon-original::after {
    display: none;
}

.coffee-label-ribbon-original img {
    width: 100%;
    max-height: none;
    border: 1px solid rgba(229, 207, 163, 0.36);
    box-shadow: none;
}

.coffee-label-paper {
    position: absolute;
    left: 5.5%;
    right: 5.5%;
    top: 46%;
    min-height: 33%;
    padding: 2.1rem 0.85rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 0, rgba(255, 250, 225, 0.75), transparent 34%),
        linear-gradient(180deg, #efe3c7, #d7bd8c);
    border: 1px solid rgba(121, 81, 42, 0.4);
    box-shadow:
        inset 0 0 0 2px rgba(255, 245, 210, 0.32),
        0 8px 18px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.coffee-label-paper::before {
    content: '';
    position: absolute;
    top: 1.05rem;
    left: 50%;
    width: 64px;
    height: 14px;
    transform: translateX(-50%);
    border-top: 1px solid rgba(132, 91, 47, 0.42);
    border-bottom: 1px solid rgba(132, 91, 47, 0.24);
}

.coffee-label-paper h4 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.08rem, 1.45vw, 1.55rem);
    line-height: 1.55;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    color: #21140f;
    text-shadow: 0 1px 0 rgba(255, 245, 218, 0.54);
}

.coffee-label-price {
    position: absolute;
    left: 6.5%;
    right: 6.5%;
    bottom: 5.5%;
    min-height: 52px;
    padding: 0.55rem 0.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(90deg, rgba(32, 24, 18, 0.88), rgba(5, 4, 3, 0.98), rgba(32, 24, 18, 0.88));
    border: 1px solid rgba(212, 177, 118, 0.34);
    color: #dfc6b8;
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.7vw, 1.55rem);
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.62);
    z-index: 3;
}

/* Food images cover fully */
.food-card-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}


.card-details {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-page .card-details {
    padding: 1.1rem 1.15rem 1.2rem;
}

.card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    min-height: 2.4em;
    /* Ensure about 2 lines text aligns */
    flex-grow: 1;
}

.menu-page .card-title {
    color: var(--color-wood);
    font-weight: 700;
}

.card-desc {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
    flex-grow: 1;
    /* Pushes price down */
}

.card-price {
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: var(--color-wood);
    font-family: var(--font-serif);
    font-weight: 600;
}

.menu-page .card-price {
    color: var(--color-text);
}

.menu-details {
    grid-column: 1 / -1;
    background-color: var(--color-white);
    border: 1px solid rgba(185, 147, 77, 0.34);
    border-radius: 6px;
    padding: 1rem 1.2rem;
    text-align: center;
}

.menu-page .menu-details {
    background: linear-gradient(180deg, rgba(255, 248, 232, 0.96), rgba(228, 209, 168, 0.96));
    border-color: rgba(185, 147, 77, 0.46);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.menu-details-btn {
    list-style: none;
    cursor: pointer;
    background: linear-gradient(180deg, var(--color-accent) 0%, #5A2F1B 100%);
    color: var(--color-white);
    padding: 0.6rem 1rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
}

.menu-details-btn::-webkit-details-marker {
    display: none;
}

.menu-details-list {
    margin-top: 0.8rem;
    padding-left: 1.2rem;
    color: var(--color-text);
    line-height: 1.8;
}

.menu-details-note {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: #666;
}

@media (max-width: 768px) {
    .menu-page .menu-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .menu-page .tab-btn {
        min-width: 0;
        width: 100%;
        padding: 0.78rem 0.4rem;
        font-size: clamp(0.82rem, 3.7vw, 0.96rem);
        letter-spacing: 0;
    }

    .menu-item-slideshow {
        min-height: 350px;
        margin-bottom: 1.5rem;
    }

    .menu-item-slide-info {
        min-height: 112px;
        padding: 0.85rem 3.2rem 1rem;
    }

    .menu-item-slide-info h4 {
        font-size: clamp(1.05rem, 5vw, 1.45rem);
    }

    .menu-item-slide-info h4 span {
        font-size: 0.48em;
    }

    .menu-item-slide-info p {
        font-size: clamp(0.88rem, 3.8vw, 1.05rem);
    }

    .menu-item-dots {
        right: 0.8rem;
        bottom: 0.9rem;
        gap: 0.34rem;
    }

    .menu-item-dots button {
        width: 8px;
        height: 8px;
    }

    .menu-item-dots button.is-active {
        width: 20px;
    }

    .menu-item-nav {
        top: calc((100% - 112px) / 2);
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .menu-item-prev {
        left: 0.55rem;
    }

    .menu-item-next {
        right: 0.55rem;
    }

    .coffee-label-slideshow {
        position: relative;
        display: block;
        width: min(520px, 100%);
        min-height: min(132vw, 560px);
        padding: 0.55rem;
        overflow: hidden;
        border: 1px solid rgba(230, 210, 163, 0.28);
        background: rgba(18, 10, 6, 0.42);
        box-shadow: 0 18px 32px rgba(0, 0, 0, 0.32);
    }

    .coffee-label-slide {
        position: absolute;
        inset: 0;
        display: grid;
        grid-template-rows: minmax(0, 1fr);
        padding: 0.45rem;
        opacity: 0;
        transform: scale(1.035);
        transition: opacity 0.85s ease, transform 1.2s ease;
    }

    .coffee-label-slide.is-active {
        opacity: 1;
        transform: scale(1);
    }

    .coffee-label-slide:hover {
        transform: scale(1.035);
    }

    .coffee-label-slide.is-active:hover {
        transform: scale(1);
    }

    .coffee-label-slide img {
        height: 100%;
    }

    .coffee-label-slideshow .menu-item-nav {
        display: none;
    }

    .coffee-label-slideshow .menu-item-dots {
        right: 50%;
        bottom: 1.15rem;
        display: flex;
        transform: translateX(50%);
    }

    .menu-details {
        text-align: center;
    }

    .menu-details-list {
        text-align: left;
        display: inline-block;
    }

    .menu-details-note {
        text-align: center;
    }

    .menu-details-note {
        font-size: 0.68rem;
        white-space: nowrap;
    }

    .menu-details-list li {
        font-size: 0.68rem;
    }

    .toast-title {
        font-size: 0.95rem;
    }

    .toast-break {
        display: block;
        font-size: 0.6rem;
    }

    .croissant-title {
        font-size: 0.9rem;
        white-space: nowrap;
    }
}

.card-note {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

.back-link {
    text-align: center;
    margin-top: 3rem;
}

/* SNS Section */
.sns-delivery-section {
    background-color: #eefebe;
    text-align: center;
}

.section-subtitle {
    margin-bottom: 2rem;
    font-family: var(--font-serif);
}

.sns-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-sns {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-wood);
    color: var(--color-text);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-sns:hover {
    background-color: var(--color-wood);
    color: var(--color-white);
}

.btn-sns-insta,
.btn-sns-rocket {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-sns-insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: none;
}

.btn-sns-insta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(220, 39, 67, 0.3);
}

.btn-sns-rocket {
    background-color: #000;
    color: white;
    border: none;
}

.btn-sns-rocket:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background-color: #333;
}

/* Footer */
footer {
    background-color: var(--color-text);
    color: var(--color-white);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.8rem;
}

/* Responsive Grid Breakpoints */

/* Tablet (approx < 1024px) -> 3 Columns */
@media (max-width: 1024px) {
    .menu-grid-list {
        grid-template-columns: repeat(3, 1fr);
    }

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

/* Large Mobile (approx < 768px) -> 2 Columns (common sense) */
@media (max-width: 768px) {
    .menu-grid-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .menu-title-row {
        flex-direction: column;
        gap: 0.8rem;
    }

    .menu-title-row .section-title {
        width: 100%;
    }

    .rocketnow-menu-link {
        width: min(280px, 88vw);
        min-height: 42px;
        font-size: 0.84rem;
    }

    .coffee-label-card {
        min-height: 315px;
    }

    .coffee-label-ribbon {
        width: 26%;
        padding: 0.75rem 0.35rem 1.45rem;
        gap: 0.45rem;
    }

    .coffee-label-ribbon span {
        font-size: clamp(0.58rem, 2.4vw, 0.74rem);
    }

    .coffee-label-ribbon img {
        width: 88%;
        max-height: 32px;
    }

    .coffee-label-ribbon-original {
        width: 42%;
    }

    .coffee-label-paper {
        left: 5%;
        right: 5%;
        min-height: 35%;
        padding: 1.8rem 0.45rem 0.9rem;
    }

    .coffee-label-paper h4 {
        font-size: clamp(0.86rem, 3.6vw, 1.05rem);
        line-height: 1.52;
    }

    .coffee-label-price {
        left: 6%;
        right: 6%;
        min-height: 42px;
        font-size: clamp(0.9rem, 3.7vw, 1.08rem);
    }

    #coffee-section .card-image img.shop-card-image {
        max-width: 90%;
        max-height: 90%;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }
}

/* Small Mobile (approx < 480px) -> 1 Column */
@media (max-width: 480px) {
    .menu-grid-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    /* Removed 3-col specific font-size reductions */
}
