/* screens.css */

/* ==========================================
   SCREEN 1: COFFEE BASE
   ========================================== */
.screen1-layout .column-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.screen1-layout .column-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Screen 1 global tweaks for compact layout */
.screen1-layout .screen-container {
    padding: 33px 40px; /* Balanced top and bottom margins with larger main row */
}

.screen1-layout .screen-header {
    height: 104px; /* Reduced from 110px to fit multi-volume formatted Glace/Viennese */
    margin-bottom: 10px; /* Reduced from 13px */
    padding-bottom: 2px;
    justify-content: center;
}

.screen1-layout .logo-container img {
    height: 95px; /* Increased logo size */
}

.screen1-layout .screen-title {
    font-size: 38px; /* Increased title size */
}

/* Screen 1 specific card layout to prevent vertical overflow */
.screen1-layout .menu-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 4px 20px; /* Reduced vertical padding from 5px */
    animation: shimmerGlowPurple 6s ease-in-out infinite;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.screen1-layout .menu-card-header {
    margin-bottom: 18px; /* Kept at 18px */
    padding-bottom: 8px; /* Kept at 8px */
}

.screen1-layout .menu-card-title-main {
    font-size: 26px; /* Increased card title size */
    color: var(--color-accent); /* Elegant gold color to stand out and harmonize */
}

.screen1-layout .menu-card-price-headers {
    font-size: 20px; /* Increased column headers size */
}

.screen1-layout .menu-row-name {
    font-size: 24px; /* Increased beverage name size */
}

.screen1-layout .menu-row-price {
    font-size: 25px; /* Increased beverage price size */
}

.screen1-layout .price-variant {
    font-size: 25px; /* Increased beverage price variant size */
    min-width: 80px; /* Equal column widths for prices */
    text-align: center;
}

.screen1-layout .menu-card-price-headers .header-label {
    min-width: 80px; /* Equal column widths for headers */
    text-align: center;
}

.screen1-layout .menu-row-complex {
    margin-bottom: 2px; /* Kept at 2px */
}

.screen1-layout .menu-row-complex:last-child {
    margin-bottom: 0;
}

.screen1-layout .menu-item-description {
    margin-top: 2px; /* Tightened spacing */
    font-size: 15px; /* Increased description size */
    padding-left: 15px;
    color: var(--text-primary);
}

.screen1-layout .column-left .menu-card:last-child {
    margin-top: 10px !important; /* Reduced to 10px to give Card 1 enough height */
    height: 501px !important; /* Force explicit video block height to prevent collapsing */
}

/* Add separation between Mochaccino (multivolume) and Glace (now glace-item) */
.screen1-layout .column-right .menu-card .glace-item {
    margin-top: 12px; /* Adjusted to prevent overflow due to bottom padding */
}

.screen1-layout .screen-content {
    display: flex;
    flex-direction: column;
    gap: 0; /* Flexbox vertical gap managed by margin-top */
    width: 100%; /* Ensure screen-content spans full width of container */
    height: calc(1080px - 4px - 20px - 104px - 10px); /* Exactly 942px available content height */
}

.screen1-layout .main-row {
    display: flex;
    flex-direction: row;
    gap: 60px;
    height: 858px !important; /* Force exact top row height to resolve flex layout */
    width: 100%;
}

.screen1-layout .bottom-row {
    flex: none;
    width: 100%;
    margin-top: 12px; /* Reduced gap between top row cards and bottom card */
}

.screen1-layout .bottom-row .constructor-box {
    padding: 16px 25px; /* Increased vertical padding to center the grid */
    height: auto;
}

.screen1-layout .bottom-row .constructor-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 30px; /* Restored wider gap for better column separation */
    row-gap: 12px; /* Increased for better line spacing */
    margin-top: 0;
}

.screen1-layout .bottom-row .constructor-item {
    display: flex;
    justify-content: flex-start; /* Group name and price together to prevent visual ambiguity */
    align-items: center;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.screen1-layout .bottom-row .constructor-item-name {
    font-size: 19px; /* Sweet spot: 19px keeps medium items on one line */
    font-weight: 500;
}

.screen1-layout .bottom-row .constructor-item-price {
    font-size: 23px; /* Large price matching main menu sizes */
    font-weight: 700;
    color: var(--color-accent); /* Gold price color for premium look */
    margin-left: 8px; /* Fixed space between name and price */
    white-space: nowrap; /* Prevent price from wrapping */
    flex-shrink: 0; /* Keep price from shrinking */
}

/* ==========================================
   GLOBAL MULTI-VOLUME & PRICE VARIANT STYLES
   ========================================== */
.multivolume-item {
    margin-bottom: 30px;
}

.multivolume-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.multivolume-name {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.multivolume-volumes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 20px;
}

.volume-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
}

.volume-label {
    width: 100px;
    font-size: 18px;
    font-weight: 500;
}

.volume-price-variants {
    display: flex;
    gap: 20px;
    font-weight: 600;
    white-space: nowrap;
    padding-right: 10px;
}

.price-variant {
    font-size: 30px;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
    white-space: nowrap;
}

.price-variant.cupazh { color: var(--text-primary); }
.price-variant.arabika { color: var(--color-accent); }
.price-variant.decaf { color: #8bb38b; }

/* ==========================================
   SCREEN 1 SPECIFIC OVERRIDES FOR MULTI-VOLUME
   ========================================== */
.screen1-layout .multivolume-item {
    margin-bottom: 2px; /* Tightened from 3px */
}

.screen1-layout .multivolume-item:last-child {
    margin-bottom: 0;
}

.screen1-layout .multivolume-header {
    margin-bottom: 1px; /* Tightened from 3px */
}

.screen1-layout .multivolume-name {
    font-size: 24px; /* Increased to match single-volume name */
}

.screen1-layout .multivolume-volumes {
    gap: 1px; /* Tightened from 2px */
    padding-left: 15px;
}

.screen1-layout .volume-label {
    font-size: 15px; /* Increased to match volume label size */
    color: var(--text-primary);
}

.screen1-layout .price-variant {
    font-size: 25px; /* Increased to match single-volume price */
}

@keyframes shimmerGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.08),
                    inset 0 0 10px rgba(212, 175, 55, 0.02);
        border-color: rgba(212, 175, 55, 0.15);
    }
    50% {
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.22),
                    inset 0 0 15px rgba(212, 175, 55, 0.06);
        border-color: rgba(212, 175, 55, 0.35);
    }
}

@keyframes shimmerGlowPurple {
    0%, 100% {
        box-shadow: 0 0 15px rgba(168, 85, 247, 0.08),
                    inset 0 0 10px rgba(168, 85, 247, 0.02);
        border-color: rgba(168, 85, 247, 0.15);
    }
    50% {
        box-shadow: 0 0 25px rgba(168, 85, 247, 0.22),
                    inset 0 0 15px rgba(168, 85, 247, 0.06);
        border-color: rgba(168, 85, 247, 0.35);
    }
}

/* ==========================================
   SCREEN 2: ALTERNATIVES, TEA & KIDS
   ========================================== */
.screen2-layout .col-1 {
    flex: 0.37;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Tightened gap between cards from 25px */
}

.screen2-layout .col-2 {
    flex: 0.28;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.screen2-layout .col-3 {
    flex: 0.35;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Tightened gap between cards from 25px */
}

/* Screen 2 global tweaks to match Screen 1 layout and fonts */
.screen2-layout .screen-container {
    padding: 33px 50px; /* Aligned vertically to 33px top and bottom */
}

.screen2-layout .screen-content {
    gap: 15px; /* Horizontal gap matches vertical card gaps */
}

.screen2-layout .screen-header {
    height: 100px;
    margin-bottom: 10px;
    padding-bottom: 8px;
}

.screen2-layout .logo-container img {
    height: 90px;
}

.screen2-layout .screen-title {
    font-size: 38px;
}

.screen2-layout .menu-card {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 15px 25px;
    animation: shimmerGlowPurple 6s ease-in-out infinite;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.screen2-layout .menu-card-header {
    margin-bottom: 12px;
    padding-bottom: 8px;
}

.screen2-layout .menu-card-title-main {
    font-size: 26px;
    color: var(--color-accent);
}

.screen2-layout .menu-item-group-title {
    font-size: 26px;
    margin-bottom: 8px;
    padding-left: 12px;
    border-left: 3px solid var(--color-accent);
    color: var(--color-accent);
}

.screen2-layout .col-2 .menu-item-group-title,
.screen2-layout .col-1 .menu-card:last-child .menu-item-group-title {
    margin-bottom: 18px;
}

.screen2-layout .menu-row-name {
    font-size: 24px; /* Uniform with Screen 1 */
}

.screen2-layout .menu-row-price {
    font-size: 25px; /* Uniform with Screen 1 */
}

.screen2-layout .volume-price-variants {
    display: flex;
    align-items: center;
    gap: 0;
    padding-right: 0;
}

.screen2-layout .price-variant {
    font-size: 25px; /* Uniform with Screen 1 */
    min-width: 80px;
    text-align: center;
}

.screen2-layout .menu-card-price-headers {
    display: flex;
    align-items: center;
    gap: 0;
    padding-right: 0;
}

.screen2-layout .menu-card-price-headers .header-label {
    min-width: 80px;
    font-size: 17px;
    text-align: center;
}

.screen2-layout .menu-row-price-container {
    display: flex;
    align-items: center;
    gap: 0;
}

.screen2-layout .menu-row-price-container .menu-row-price {
    min-width: 50px;
    text-align: center;
    font-size: 25px; /* Uniform with Screen 1 */
}

/* Tea block price column alignment overrides */
.screen2-layout .tea-price-header .header-label,
.screen2-layout .tea-price-container .menu-row-price {
    min-width: 80px !important;
}

/* Kids menu price column alignment overrides */
.screen2-layout .kids-price-header .header-label,
.screen2-layout .kids-price-container .menu-row-price {
    min-width: 80px !important;
}

/* Cocoa & Chocolate price column alignment overrides */
.screen2-layout .cocoa-price-header .header-label,
.screen2-layout .cocoa-price-container .menu-row-price {
    min-width: 80px !important;
}

/* Refreshing drinks price column alignment overrides */
.screen2-layout .refreshing-price-header .header-label,
.screen2-layout .refreshing-price-container .menu-row-price {
    min-width: 80px !important;
    text-align: center !important;
}

/* Refreshing drinks card spacing overrides */
.screen2-layout .col-2 .menu-card .menu-card-header {
    margin-bottom: 24px;
}

.screen2-layout .col-2 .menu-card .menu-row-complex {
    margin-bottom: 22px;
}

.screen2-layout .col-2 .menu-card .menu-row-complex:last-child {
    margin-bottom: 0;
}

.screen2-layout .kids-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
    margin-bottom: 28px;
}

.screen2-layout .price-slash {
    font-size: 24px; /* Uniform with Screen 1 */
    margin: 0 4px;
}

.screen2-layout .menu-row-complex {
    margin-bottom: 4px; /* Tightened margin */
}

.screen2-layout .menu-row-complex:last-child {
    margin-bottom: 0;
}

.screen2-layout .kids-card .menu-row-complex {
    margin-bottom: 16px; /* Increased spacing between kids menu items */
}

.screen2-layout .kids-card .menu-row-complex:last-child {
    margin-bottom: 0;
}

.screen2-layout .col-1 .menu-card:first-child .menu-row-complex {
    margin-bottom: 12px;
}

.screen2-layout .col-1 .menu-card:first-child .menu-row-complex:last-child {
    margin-bottom: 0;
}

.screen2-layout .col-1 .menu-card:last-child .menu-card-header {
    margin-bottom: 24px;
}

.screen2-layout .col-1 .menu-card:last-child .menu-row-complex {
    margin-bottom: 20px;
}

.screen2-layout .col-1 .menu-card:last-child .menu-row-complex:last-child {
    margin-bottom: 0;
}

.screen2-layout .menu-item-description {
    margin-top: 2px;
    font-size: 15px; /* Uniform with Screen 1 */
    color: var(--text-primary);
}

.screen2-layout .menu-item-group {
    margin-bottom: 0;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 8px;
}

/* Seasonal tea list */
.seasonal-list {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px; /* Increased from 6px */
}

.seasonal-item {
    font-size: 21px; /* Increased from 18px */
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.seasonal-item::before {
    content: "•";
    color: var(--color-accent);
    font-weight: 700;
}

/* Kids Card */
.kids-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.07) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--border-radius-card);
    padding: 15px 25px; /* Tightened from 25px */
    margin-top: 0; /* Handled by flexbox gap */
    position: relative;
    overflow: hidden;
    animation: shimmerGlowPurple 6s ease-in-out infinite;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.kids-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.kids-card-header h3 {
    border-left: 3px solid var(--color-accent);
    padding-left: 12px;
    font-size: 26px;
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 700;
}





/* ==========================================
   SCREEN 3: SPECIAL DRINKS, MILKSHAKES, SMOOTHIES & FRESHEE
   ========================================== */
.screen3-layout .screen-container {
    padding: 33px 50px; /* Aligned vertically to 33px top and bottom */
}

.screen3-layout .screen-header {
    height: 100px;
    margin-bottom: 10px;
    padding-bottom: 8px;
}

.screen3-layout .logo-container img {
    height: 90px;
}

.screen3-layout .screen-title {
    font-size: 38px;
}

.screen3-layout .screen-content {
    display: flex;
    flex-direction: row;
    gap: 25px;
    height: 1014px; /* Exactly 1080px - 66px padding */
}

/* Flex Column Widths */
.screen3-layout .col-1 {
    flex: 0.42; /* ~42% width */
    display: flex;
    flex-direction: column;
}

.screen3-layout .col-2 {
    flex: 0.29; /* ~29% width */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.screen3-layout .col-3 {
    flex: 0.29; /* ~29% width */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Card Overrides */
.screen3-layout .menu-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 12px 20px !important;
    animation: shimmerGlowPurple 6s ease-in-out infinite;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.screen3-layout .col-1 .menu-card {
    height: 100%;
    justify-content: flex-start;
}

.screen3-layout .menu-card-header {
    margin-bottom: 8px;
    padding-bottom: 4px;
}

.screen3-layout .menu-card-title-main {
    font-size: 23px; /* Uniform with Screen 2 */
    border-left: 3px solid var(--color-accent);
    padding-left: 10px;
    color: var(--color-accent);
}

/* Multi-volume items for special coffee card */
.screen3-layout .multivolume-item {
    margin-bottom: 6px;
}

.screen3-layout .multivolume-item:last-child {
    margin-bottom: 0;
}

.screen3-layout .multivolume-header {
    margin-bottom: 2px;
}

.screen3-layout .multivolume-name {
    font-size: 21px; /* Uniform with Screens 1 & 2 */
    font-weight: 700;
}

.screen3-layout .multivolume-volumes {
    gap: 2px;
    padding-left: 15px;
}

.screen3-layout .volume-row {
    font-size: 14px;
}

.screen3-layout .volume-label {
    width: 80px;
    font-size: 14px;
    color: var(--text-primary);
}

.screen3-layout .volume-price-variants {
    gap: 10px;
    padding-right: 0;
}

.screen3-layout .price-variant {
    font-size: 21px; /* Uniform with Screens 1 & 2 */
    min-width: 50px;
}

.screen3-layout .menu-card-price-headers {
    gap: 10px;
    padding-right: 0;
}

.screen3-layout .menu-card-price-headers .header-label {
    min-width: 50px;
    font-size: 13px;
}

.screen3-layout .price-slash {
    font-size: 16px;
}

/* Columns 2 & 3 Standard Rows */
.screen3-layout .menu-item-group-title {
    font-size: 23px; /* Uniform with Screen 2 */
    margin-bottom: 12px;
    border-left: 3px solid var(--color-accent);
    padding-left: 10px;
    color: var(--color-accent);
}

.screen3-layout .menu-row-name {
    font-size: 21px; /* Uniform with Screens 1 & 2 */
}

.screen3-layout .menu-row-price {
    font-size: 21px; /* Uniform with Screens 1 & 2 */
    min-width: 50px;
}

.screen3-layout .menu-row-complex {
    margin-bottom: 10px;
}

.screen3-layout .menu-row-complex:last-child {
    margin-bottom: 0;
}

.screen3-layout .menu-item-description {
    font-size: 12px;
    margin-top: 2px;
    color: var(--text-primary);
}

/* Constructor Box for Add-ons */
.screen3-layout .constructor-box {
    border: 1px solid var(--color-card-border);
    border-radius: var(--border-radius-card);
    padding: 20px 25px 15px 25px;
    background-color: var(--color-card-bg);
    position: relative;
    animation: shimmerGlowPurple 6s ease-in-out infinite;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.screen3-layout .constructor-title {
    position: absolute;
    top: -14px;
    left: 25px;
    background-color: var(--bg-color);
    padding: 0 12px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent);
    letter-spacing: 1.5px;
}

.screen3-layout .constructor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 18px;
    margin-top: 10px;
}

.screen3-layout .constructor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 6px;
}

.screen3-layout .constructor-item-name {
    color: var(--text-secondary);
    font-size: 17px;
    font-weight: 500;
}

.screen3-layout .constructor-item-price {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 18px;
}

/* Specific constructor styles when nested inside the row on screen 3 */
.screen3-layout .constructor-row-container {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 15px;
    width: 100%;
    height: 100%;
}

.screen3-layout .constructor-row-container .constructor-box {
    flex: 1;
    margin-top: 0;
    padding: 20px 15px 15px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.screen3-layout .constructor-row-container .constructor-title {
    font-size: 16px;
    top: -12px;
    left: 15px;
}

.screen3-layout .constructor-row-container .constructor-grid {
    grid-template-columns: 1fr;
    row-gap: 12px;
    column-gap: 0;
    margin-top: 5px;
}

.screen3-layout .constructor-row-container .constructor-item {
    padding-bottom: 5px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.screen3-layout .constructor-row-container .constructor-item-name {
    font-size: 14px;
    font-weight: 500;
}

.screen3-layout .constructor-row-container .constructor-item-price {
    font-size: 15px;
}

/* Seasonal badge */
.badge-seasonal {
    background-color: var(--color-accent);
    color: var(--bg-color);
    font-size: 13px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-left: 8px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.3;
}


