/* Hidden flavours - remove class to re-enable */
.hidden-flavour { display: none !important; }

/* ============================================
   PATISSERIE PAGE - Specific Styles
   ============================================ */

.navbar { padding-top: 0; padding-bottom: 0; }
.nav-wrapper::after { content: ''; display: block; width: calc(100% - 120px); height: 1px; background: var(--border-light); margin: 0 auto; }
.section-label { font-size: 1rem; }
.page-header.patisserie-header {
    background: linear-gradient(135deg, rgba(227,174,168,0.08) 0%, rgba(178,180,164,0.08) 100%);
    padding-top: 260px;
}
/* Hero section-label — inherits same style as section below */
.patisserie-header .section-label {
    display: block !important;
}
.header-rule { width: 60px; height: 1px; background: var(--soft-gold); margin: 24px auto 0; }
.gateau-section { padding: 80px 60px; max-width: 1400px; margin: 0 auto; }
.gateau-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.gateau-card { background: var(--white); border: 1px solid var(--border-light); overflow: hidden; transition: all 0.4s ease; }
.gateau-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(107, 91, 75, 0.12); }
.gateau-image { position: relative; height: 320px; overflow: hidden; background: var(--cream); }
.gateau-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gateau-card:hover .gateau-image img { transform: scale(1.08); }
/* Scale down dome-shaped cakes to appear proportional to cylinder cakes */
img[src="images/petit-gateau-guava.png"]      { transform: scale(0.75); object-position: center 60%; }
img[src="images/petit-gateau-lemon.png"]      { transform: scale(0.72); object-position: center 50%; }
img[src="images/petit-gateau-peach.png"]      { transform: scale(0.75); object-position: center 60%; }
img[src="images/petit-gateau-pinacolada3.png"] { transform: scale(0.72); object-position: center 55%; }
.gateau-card:hover img[src="images/petit-gateau-guava.png"]      { transform: scale(0.81); }
.gateau-card:hover img[src="images/petit-gateau-lemon.png"]      { transform: scale(0.78); }
.gateau-card:hover img[src="images/petit-gateau-peach.png"]      { transform: scale(0.81); }
.gateau-card:hover img[src="images/petit-gateau-pinacolada3.png"] { transform: scale(0.78); }
/* White background on dome cake cards so scaled image gap is clean */
.gateau-image:has(.dome-cake) { background: var(--white); }
.gateau-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-style: italic; color: rgba(255,255,255,0.35); }
.gateau-placeholder.chocolate { background: linear-gradient(135deg, #2C1810 0%, #4A2C1A 100%); }
.gateau-placeholder.berry { background: linear-gradient(135deg, #5C1A3A 0%, #9B3060 100%); }
.gateau-placeholder.pistachio { background: linear-gradient(135deg, #2D4A28 0%, #5A7A52 100%); }
.gateau-placeholder.caramel { background: linear-gradient(135deg, #7A4F1A 0%, #B8860B 100%); }
.gateau-badge { position: absolute; top: 12px; left: 12px; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; font-weight: 500; background: rgba(44, 36, 32, 0.82); color: var(--white); }
.gateau-badge.seasonal { left: auto; right: 12px; background: var(--soft-gold); color: var(--white); }
.gateau-info { padding: 28px; text-align: center; }
.gateau-name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--text-dark); margin-bottom: 10px; font-style: italic; }
.gateau-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.gateau-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.tag { font-size: 0.65rem; padding: 4px 8px; border-radius: 2px; text-transform: uppercase; letter-spacing: 0.05em; }
.tag-gf      { background: rgba(155,182,160,0.2); color: #5A8C70; }
.tag-dairy   { background: rgba(227,174,168,0.2); color: #B88880; }
.tag-veg     { background: rgba(178,180,164,0.2); color: #8A8C7A; }
.tag-nuts    { background: rgba(201,169,110,0.15); color: #8B6914; }
.tag-soy     { background: rgba(178,180,164,0.2); color: #8A8C7A; }
.tag-gluten  { background: rgba(201,169,110,0.15); color: #8B6914; }
.tag-eggs    { background: rgba(255,220,150,0.2); color: #A8882A; }
.box-builder-section { background: var(--white); padding: 100px 60px 80px; scroll-margin-top: 120px; }
.box-builder-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 340px; gap: 30px 60px; align-items: start; }
.box-builder-header { grid-column: 1 / -1; text-align: center; }
.box-size-selection { grid-column: 1; grid-row: 2; }
.gateau-selection { grid-column: 1; grid-row: 3; }
.order-summary { grid-column: 2; grid-row: 2 / 5; position: sticky; top: 120px; }
.builder-step-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--text-dark); margin-bottom: 24px; font-style: italic; }
.box-sizes { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.box-size-option { flex: 1; min-width: 130px; cursor: pointer; }
.box-size-option input { display: none; }
.box-size-card { display: flex; flex-direction: column; align-items: center; padding: 24px 12px; border: 2px solid var(--border-light); background: var(--cream); transition: all 0.3s ease; text-align: center; cursor: pointer; }
.box-size-option input:checked + .box-size-card { border-color: var(--blush-pink); background: var(--white); box-shadow: 0 8px 30px rgba(227,174,168,0.2); }
.box-size-card:hover { border-color: var(--soft-gold); }
.box-count { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; color: var(--text-dark); line-height: 1; }
.box-label { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin: 8px 0 4px; }
.box-sublabel { font-size: 0.7rem; color: var(--text-muted); font-style: italic; margin-bottom: 8px; line-height: 1.4; }
.box-price { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--blush-pink); font-weight: 500; }
.afternoon-tea-card { border: 2px solid var(--border-light) !important; position: relative; opacity: 0.5; pointer-events: none; }
.afternoon-tea-card::before { content: 'Coming Soon'; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: var(--text-muted); color: var(--white); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 12px; white-space: nowrap; }
.gateau-selection { opacity: 0.5; pointer-events: none; transition: all 0.4s ease; }
.gateau-selection.active { opacity: 1; pointer-events: auto; }
.selection-instruction { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }
.afternoon-tea-notice { display: none; background: rgba(238,211,194,0.15); border: 1px solid rgba(238,211,194,0.5); padding: 20px 24px; margin-bottom: 20px; }
.afternoon-tea-notice.visible { display: block; }
.notice-title { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--text-dark); margin-bottom: 10px; font-style: italic; }
.notice-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.notice-list li { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.notice-list li::before { content: ''; width: 16px; height: 1px; background: var(--soft-gold); flex-shrink: 0; }
.selection-category { background: var(--cream); padding: 24px; border: 1px solid var(--border-light); }
.category-title { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--text-dark); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.selection-items { display: flex; flex-wrap: wrap; gap: 10px; }
.selection-btn { padding: 10px 18px; background: var(--white); border: 1px solid var(--border-light); font-family: 'Inter', sans-serif; font-size: 0.8rem; color: var(--text-dark); cursor: pointer; transition: all 0.2s ease; }
.selection-btn:hover { border-color: var(--blush-pink); color: var(--blush-pink); transform: translateY(-2px); }
.selection-btn.pulse { transform: scale(0.95); background: var(--blush-pink); color: var(--white); border-color: var(--blush-pink); }
.order-summary { background: var(--cream); border: 1px solid var(--border-light); padding: 30px; }
.summary-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--text-dark); margin-bottom: 20px; text-align: center; font-style: italic; }
.summary-box-info { text-align: center; font-size: 0.9rem; color: var(--text-muted); padding-bottom: 16px; border-bottom: 1px solid var(--border-light); margin-bottom: 16px; }
.summary-progress { margin-bottom: 20px; }
.progress-bar { height: 8px; background: var(--border-light); border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--blush-pink) 0%, var(--soft-gold) 100%); width: 0%; transition: width 0.3s ease; border-radius: 4px; }
.progress-fill.complete { background: linear-gradient(90deg, var(--sage-green) 0%, #9BB5A0 100%); }
.progress-text { font-size: 0.8rem; color: var(--text-muted); text-align: center; display: block; }
.summary-items { max-height: 240px; overflow-y: auto; margin-bottom: 16px; padding-right: 8px; }
.summary-items::-webkit-scrollbar { width: 4px; }
.summary-items::-webkit-scrollbar-track { background: var(--border-light); }
.summary-items::-webkit-scrollbar-thumb { background: var(--soft-gold); border-radius: 2px; }
.empty-message { text-align: center; color: var(--text-muted); font-size: 0.85rem; font-style: italic; padding: 20px 0; }
.summary-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.item-name { font-size: 0.85rem; color: var(--text-dark); }
.item-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 24px; height: 24px; border: 1px solid var(--border-light); background: var(--white); font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.qty-btn:hover { border-color: var(--blush-pink); color: var(--blush-pink); }
.item-qty { font-size: 0.85rem; min-width: 20px; text-align: center; }
.summary-item.fixed .item-name { color: var(--text-muted); font-style: italic; }
.fixed-badge { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--soft-gold); border: 1px solid var(--soft-gold); padding: 2px 6px; }
.summary-total { display: flex; justify-content: space-between; font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--text-dark); padding: 16px 0; border-top: 2px solid var(--text-dark); margin-bottom: 20px; }
.btn-order-wa { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; padding: 16px 24px; background: #25D366; color: var(--white); font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; border: none; cursor: pointer; transition: all 0.3s ease; text-decoration: none; }
.btn-order-wa:hover { background: #128C7E; transform: translateY(-2px); }
.btn-order-wa svg { fill: white; flex-shrink: 0; }
.btn-clear { width: 100%; padding: 12px; background: transparent; border: 1px solid var(--border-light); font-family: 'Inter', sans-serif; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); cursor: pointer; transition: all 0.3s ease; }
.btn-clear:hover { border-color: var(--text-dark); color: var(--text-dark); }
.allergen-section { background: var(--cream); padding: 60px; }
.allergen-container { max-width: 800px; margin: 0 auto; text-align: center; }
.allergen-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--text-dark); margin-bottom: 20px; font-style: italic; }
.allergen-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
/* Nav logo — matches index.html exactly */
.nav-logo img {
    height: 400px;
    width: auto;
    margin: -60px 0 -120px 0;
}

@media (max-width: 992px) {
    .nav-logo img {
        height: 170px;
        margin: -15px 0 -30px 0;
    }
}

@media (max-width: 1024px) { .box-builder-container { grid-template-columns: 1fr; } .box-size-selection, .gateau-selection, .order-summary { grid-column: 1; grid-row: auto; } .order-summary { position: relative; top: 0; } .box-builder-section { padding: 60px 30px; } }
@media (max-width: 768px) { .gateau-section { padding: 60px 30px; } .gateau-grid { grid-template-columns: repeat(2,1fr); gap: 20px; } .box-sizes { flex-direction: column; } .box-size-option { min-width: 100%; } .allergen-section { padding: 40px 30px; } }
@media (max-width: 480px) { .gateau-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; } }