/* ==========================================================================
   Restaurant Menu Tabs  v4.0 — Public Stylesheet
   CSS custom properties are injected per-shortcode instance by PHP.
   ========================================================================== */

.rmt-wrapper {
    --rmt-green: #234634;
    --rmt-green-dark: #1B2D1F;
    --rmt-gold: #B99D75;
    --rmt-cream: #ffffff;
    --rmt-text: #1e3d2a;
    --rmt-desc: #6b6b63;
    --rmt-border: #e3ddcf;
    --rmt-heading-font: 'Cormorant Garamond', Georgia, serif;
    --rmt-body-font: 'Jost', Helvetica, Arial, sans-serif;
    width: 100%;
    font-family: var(--rmt-body-font);
    color: var(--rmt-text);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BRANCH TABS  (Region above Branch name, solid blocks)
   ═══════════════════════════════════════════════════════════════════════════ */
.rmt-branch-tabs-heading {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}
.rmt-branch-tab {
    flex: 1 1 0;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 16px;
    cursor: pointer;
    border: none;
	background: #1B2D1F;
    color: var(--rmt-cream);
    transition: background .2s, color .2s;
    text-align: center;
	border-radius: 0 !important;
	border-right:1px solid #46554A;
}
.rmt-branch-tab:hover {background: var(--rmt-green-dark); }
.rmt-branch-tab.rmt-branch-active { background: var(--rmt-gold); color: #1B2D1F; }
.rmt-branch-region {
    font-family: var(--rmt-heading-font);
    font-size: 20px;
/*     letter-spacing: .02em; */
	color: var(--rmt-gold);
}
.rmt-branch-active .rmt-branch-region{
	    color: #1B2D1F;
}
.rmt-branch-name {
    font-family: var(--rmt-heading-font);
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;

}
.rmt-branch-panel { display: none; }
.rmt-branch-panel.rmt-branch-panel-active { display: block; }

/* ═══════════════════════════════════════════════════════════════════════════
   MENU TYPE TABS  (bordered pills under the branch row)
   ═══════════════════════════════════════════════════════════════════════════ */
.rmt-type-tabs-heading {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 40px 0;
}
.rmt-type-tab {
    background: #fff;
    border: 1px solid #D9D9D9;
    color: var(--rmt-text);
    font-family: var(--rmt-heading-font);
    font-size: 24px;
    letter-spacing: .03em;
    padding: 10px 28px;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
	border-radius: 0;
}
.rmt-type-tab.rmt-active {
    background: #1B2D1F;
    border-color: #D9D9D9;
    color: #fff;
}
.rmt-type-panel { display: none; padding-bottom: 20px; }
.rmt-type-panel.rmt-active { display: block; animation: rmtFadeIn .2s ease; margin: 40px 0 0 0; }
@keyframes rmtFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ═══════════════════════════════════════════════════════════════════════════
   PANEL HEADER  (big page title + description)
   ═══════════════════════════════════════════════════════════════════════════ */
.rmt-panel-header { margin-bottom: 28px; }
.rmt-panel-title {
    font-family: var(--rmt-heading-font);
    font-size: 40px;
    font-weight: 600;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--rmt-text);
    margin: 0 0 8px;
    line-height: 1.15;
}
.rmt-panel-desc {
    font-size: 14px;
    color: var(--rmt-desc);
    margin: 0;
}
.rmt-panel-desc strong,
.rmt-panel-desc b { color: var(--rmt-text); }

/* ═══════════════════════════════════════════════════════════════════════════
   COLUMN LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */
.rmt-panel-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px;
    align-items: start;
}
.rmt-panel-col { min-width: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.rmt-section { margin-bottom: 34px; }
.rmt-section:last-child { margin-bottom: 0; }

.rmt-section-heading {
    font-family: var(--rmt-heading-font);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--rmt-text);
    margin: 0 0 14px;
}

.rmt-section-boxed {
    border: 1px solid #46554A;
}
.rmt-section-boxed .rmt-section-head {
    background: var(--rmt-green-dark);
    color: #fff;
    font-family: var(--rmt-heading-font);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 14px 20px;
}
.rmt-section-boxed .rmt-section-body { padding: 18px 20px; }

.rmt-section-note {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    font-size: 20px;
    color: var(--rmt-desc);
    margin-bottom: 12px;
    font-weight: 400;
}
.rmt-section-note-right { font-weight: 700; color: var(--rmt-text); white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════════════════
   DOTTED LEADER  (used between name and price on item rows / notes)
   ═══════════════════════════════════════════════════════════════════════════ */
.rmt-leader {
    flex: 1 1 auto;
    min-width: 16px;
    border-bottom: 2px dashed var(--rmt-gold);
    margin: 0 8px;
    transform: translateY(-5px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ITEM ROWS
   ═══════════════════════════════════════════════════════════════════════════ */
.rmt-item-row {
    display: flex;
    gap: 12px;
    padding: 9px 0;
}
.rmt-item-image img { width: 56px; height: 56px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.rmt-item-main { flex: 1; min-width: 0; }

.rmt-item-line {
    display: flex;
    align-items: self-end;
}
.rmt-item-name {
    font-family: var(--rmt-heading-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--rmt-text);
    flex-shrink: 0;
    white-space: nowrap;
    max-width: 62%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rmt-item-price {
    font-family: var(--rmt-body-font);
    font-size: 20px;
    font-weight: 700;
    color: var(--rmt-text);
    flex-shrink: 0;
    white-space: nowrap;
}
.rmt-item-desc {
    font-size: 18px;
    color: var(--rmt-desc);
    margin: 8px 0 0;
    line-height: 1.55;
    width: 95%;
}

.rmt-badge {
    display: inline-block;
    background: var(--rmt-gold);
    color: var(--rmt-green-dark);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 2px 6px;
    border-radius: 2px;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 6px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRICE COLUMNS  (drinks)
   ═══════════════════════════════════════════════════════════════════════════ */
.rmt-price-header-row {
    display: flex;
    padding: 4px 0 6px;
    margin-bottom: 4px;
}
.rmt-price-header-spacer { flex: 1; }
.rmt-price-header-cols { display: flex; gap: 20px;}
.rmt-price-header-cell {
    text-align: right;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #1B2D1F;
}
.rmt-item-price-cols { display: flex; flex-shrink: 0; gap: 24px;}
.rmt-item-price-cell {
    width: 56px;
    text-align: right;
    font-size: 20px;
    font-weight: 700;
    color: var(--rmt-text);
}
.has-rmt-price-header-cell {
    position: relative;
    top: 54px;
    margin-top: -54px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HIGHLIGHT BAR  (e.g. "Any Mixer for £2") MRK
   ═══════════════════════════════════════════════════════════════════════════ */
.rmt-highlight-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--rmt-green-dark);
    color: #fff;
    padding: 14px 16px;
    margin: 6px 0;
    font-family: var(--rmt-heading-font);
    font-size: 25px;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SET MENU LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */
.rmt-set-item + .rmt-set-item { margin-top: 20px; }
.rmt-set-divider { height: 1px; background: var(--rmt-border); margin: 20px 0; }

.rmt-set-name { font-size: 24px; }
.rmt-set-desc { margin: 4px 0 14px;}

.rmt-set-block-row {
    display: flex;
    gap: 14px;
    margin-top: 10px;
    font-size: 13px;
	align-items: center;
}
.rmt-set-block-label {
    flex: 0 0 190px;
    font-size:20px; font-weight: 700; color: var(--rmt-text); margin-bottom: 2px;
}
.rmt-set-block-content { font-family: Caudex;
font-weight: 400;
font-style: Regular;
font-size: 16px;
letter-spacing: 0%;
vertical-align: middle;
text-transform: capitalize; }
.rmt-set-block-content strong { font-size:20px; font-weight: 700; color: var(--rmt-text); margin-bottom: 2px; }
.rmt-set-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rmt-set-col-label { font-size:20px; font-weight: 700; color: var(--rmt-text); margin-bottom: 2px; }
.rmt-set-line { font-family: Caudex;
font-weight: 400;
font-style: Regular;
font-size: 16px;
letter-spacing: 0%;
vertical-align: middle;
text-transform: capitalize;
}

/* ═══════════════════════════════════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════════════════════════════════ */
.rmt-empty { text-align: center; color: var(--rmt-desc); padding: 40px 20px; font-style: italic; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
	.rmt-branch-region{
		font-size: 13px
	}
	.rmt-branch-name{
		font-size: 16px;
	}
	.rmt-type-tabs-heading {
    padding: 15px 0;
    justify-content: center;
	}
	.rmt-type-tab {
    font-size: 15px;
    padding: 8px 25px;
	}
}
@media (max-width: 900px) {
    .rmt-panel-columns { grid-template-columns: 1fr; gap: 0; }
    .rmt-panel-title { font-size: 22px; }
}
@media (max-width: 640px) {
	.rmt-branch-region{
		font-size: 11px
	}
	.rmt-item-price,.rmt-set-block-content strong,span.rmt-section-note-left,.rmt-section-note-right,.rmt-item-price-cell {font-size: 15px;}
	.rmt-price-header-cell {
        font-size: 16px;
    }
	.rmt-item-desc,.rmt-set-line,.rmt-set-block-content {font-size: 12px;}
	.rmt-section-heading{font-size: 18px;}
	.rmt-item-price-cols {
    gap: 8px;
}
	.rmt-price-header-cols {
    gap: 8px;
}
	.has-rmt-price-header-cell {
    top: 40px;
    margin-top: -40px;
}
	.rmt-item-price-cell {
		width: auto;}
    .rmt-branch-tab { min-width: 100px; padding: 10px 8px; border-bottom: 1px solid #46554A; }
    .rmt-branch-name { font-size: 10px; }
    .rmt-type-tab { padding: 8px 14px; font-size: 13px; }
    .rmt-item-name { 
		max-width: 40%; 
		font-size: 16px;
/* 	text-overflow: initial; */
	}
/* 	.rmt-leader {flex: 0 0 auto;} */
	.rmt-item-line {
		flex-wrap: nowrap; 
/* 		place-content: space-between; */
	}
    .rmt-set-block-row { flex-direction: column; gap: 8px; align-items: flex-start;}
    .rmt-set-block-label { flex-basis: auto;font-size: 16px;}
	.rmt-set-col-label {font-size: 14px;}
    .rmt-set-split { grid-template-columns: 1fr; gap: 8px; }
}
