:root {
    --primary-blue: #0f1e3d;
    /* Dark blue text */
    --accent-gold: #cfae70;
    /* Buttons/Arrows */
    --bg-light: #ffffff;
    --text-grey: #666666;
    --price-green: #bceea8;
    /* Green highlight for price */
    --price-green-text: #2c5e1a;
    --font-main: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--primary-blue);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-icon {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--primary-blue);
}

.logo img {
    height: 60px;
    /* Adjust based on logo aspect ratio */
}

.header-icons {
    display: flex;
    gap: 20px;
}

.icon-user,
.icon-bag {
    width: 24px;
    height: 24px;
    cursor: pointer;
    /* You might want to use SVG icons here */
    border: 1px solid transparent;
}

/* SVG icons inline or background */
.icon-user {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230f1e3d'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z' /%3E%3C/svg%3E");
    background-size: cover;
}

.icon-bag {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230f1e3d'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z' /%3E%3C/svg%3E");
    background-size: cover;
}


/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h1.hero-title {
    font-family: var(--font-main);
    font-weight: 300;
    /* Light weight */
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.hero-desc {
    font-size: 0.95rem;
    color: var(--primary-blue);
    max-width: 600px;
    margin: 0 auto 20px;
}

.hero-note {
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 40px;
}

.hero-image-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Calendar Section */
.calendar-section {
    max-width: 1000px;
    margin: 40px auto;
    text-align: center;
    padding: 20px;
}

.step-indicator {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.calendar-header h2 {
    font-weight: 300;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.month-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.nav-btn {
    border: 1px solid #cfae70;
    background: transparent;
    color: #cfae70;
    width: 40px;
    height: 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.current-month {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.price-legend {
    display: flex;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legend-item {
    flex: 1;
    background-color: var(--color);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    padding-left: 10px;
    color: #333;
}

/* Logo Styles */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.logo-text-container {
    text-align: center;
    color: var(--primary-blue);
    /* Default to dark for white headers */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* White logo for dark headers (Cart/Checkout) */
.cart-header .logo-text-container,
.checkout-page .logo-text-container {
    color: #fff;
}

.logo-phantasia {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-land {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 8px;
    margin-top: 5px;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-left: 8px;
}

.logo-shop {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.6rem;
    letter-spacing: 3px;
    margin-top: 5px;
    opacity: 0.9;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.weekday {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    min-height: 70px;
    font-size: 0.9rem;
    background-color: #f9f9f9;
    /* default bg for days if not overridden */
}

/* Reset bg for empty/closed if needed or rely on specific classes */
.day.empty {
    background-color: transparent;
}

.day.closed {
    color: var(--primary-blue);
    background-color: #fff;
    /* or transparent */
}

.day.closed .status {
    font-size: 0.8rem;
    margin-top: 5px;
}

.day.open {
    background-color: var(--price-green);
    cursor: pointer;
    transition: transform 0.2s;
    border: 2px solid transparent;
}

.day.open:hover {
    transform: scale(1.05);
}

.day.open.selected {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.day.open .status {
    font-weight: 700;
    margin-top: 5px;
}

.calendar-note {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.calendar-subnote {
    font-size: 0.85rem;
    color: var(--text-grey);
    max-width: 800px;
    margin: 0 auto;
}

/* Info Section */
.info-section {
    /* light background */
    background-color: #fff;
    padding: 60px 40px;
    border-top: 1px solid #f0f0f0;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    /* Space between video and text */
    justify-content: center;
}

.video-column {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.video-column video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.text-column {
    flex: 1;
    min-width: 300px;
    /* text-align: left in HTML but screenshot implies centered or justified layout? 
       Actually user screenshot 3 shows text on the right side.
       Let's align it nicely. */
    text-align: left;
}

.text-column h3 {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 30px;
    line-height: 1.3;
    letter-spacing: 1px;
}

.info-block {
    margin-bottom: 50px;
}

.info-block p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #444;
}

.special-title {
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
    margin-top: 25px;
    margin-bottom: 5px;
}

.info-block a {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Footer New Design */
.footer-breadcrumb-bar {
    background-color: #fff;
    padding: 20px 40px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: var(--primary-blue);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: underline;
    font-weight: 600;
}

.breadcrumb span {
    font-weight: 600;
}

.back-to-top a {
    text-decoration: none;
    color: var(--primary-blue);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--primary-blue);
}

footer {
    background-color: #fff;
    color: var(--primary-blue);
    padding: 0;
    margin-top: 0;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 40px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section h5 {
    font-size: 0.9rem;
    color: #444;
    /* Dark grey */
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-image-container {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.payment-icons {
    gap: 15px;
    align-items: center;
}

.payment-icons svg {
    display: block;
    height: 24px;
    width: auto;
    max-width: 50px;
}

.awards-icons {
    gap: 20px;
}

.award-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    color: #666;
}

.award-badge svg {
    flex-shrink: 0;
}

.social-svgs {
    gap: 20px;
}

.social-svgs a svg {
    transition: fill 0.2s;
}

.social-svgs a:hover svg {
    fill: var(--accent-gold);
}


.footer-bottom-links {
    background-color: #f9f9f9;
    padding: 30px 20px;
    text-align: center;
}

.footer-bottom-links ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.footer-bottom-links ul li a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.footer-bottom-links ul li a:hover {
    text-decoration: underline;
}

.footer-vat-notice {
    background-color: #f9f9f9;
    text-align: center;
    padding-bottom: 30px;
    font-size: 0.8rem;
    color: #999;
    margin: 0;
}

@media (max-width: 768px) {
    .calendar-grid {
        gap: 5px;
    }

    .day {
        min-height: 50px;
        font-size: 0.8rem;
        padding: 5px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .info-container {
        flex-direction: column;
    }

    .video-column,
    .text-column {
        width: 100%;
        max-width: 1000px;
        text-align: center;
    }

    .text-column {
        text-align: left;
    }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .footer-container {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom-links ul {
        flex-direction: column;
        gap: 15px;
    }
}

/* Ticket Selection Section */
.ticket-selection {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ticket-header {
    text-align: center;
    margin-bottom: 30px;
}

.ticket-header h2 {
    font-family: var(--font-main);
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 300;
}

.opening-hours-info {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.ticket-row {
    background-color: #f4f4f4;
    padding: 20px;
    margin-bottom: 2px;
    /* Very thin gap */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ticket-row:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.ticket-row:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-bottom: 30px;
}

.ticket-icon {
    width: 40px;
    height: 40px;
    background-color: #bd9e59;
    /* Goldish color from screenshot */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #bd9e59;
    margin-right: 20px;
}

.ticket-details {
    flex-grow: 1;
}

.ticket-title {
    font-family: var(--font-main);
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 500;
}

.ticket-validity {
    color: #888;
    font-size: 0.8rem;
    margin-top: 5px;
    font-family: var(--font-main);
}

.ticket-price {
    font-family: var(--font-main);
    color: var(--primary-blue);
    font-weight: 600;
    margin-right: 30px;
}

.ticket-counter {
    display: flex;
    align-items: center;
    gap: 15px;
}

.counter-btn {
    width: 40px;
    height: 30px;
    border: 1px solid #bd9e59;
    background: transparent;
    color: #bd9e59;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
}

.counter-btn:hover:not(:disabled) {
    background: #bd9e59;
    color: #fff;
}

.counter-btn:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}

.count-display {
    font-family: var(--font-main);
    color: var(--primary-blue);
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.booking-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    border-top: 2px solid #f4f4f4;
    /* Just in case */
    padding-top: 20px;
}

.booking-conditions {
    color: #888;
    text-decoration: underline;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.total-bar {
    display: flex;
    align-items: center;
    gap: 30px;
}

.total-label {
    font-family: var(--font-main);
    color: var(--primary-blue);
    font-weight: 500;
    text-transform: uppercase;
}

.total-price {
    font-family: var(--font-main);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.2rem;
}

.add-to-cart-btn {
    background-color: #1a2b4a;
    /* Dark blue */
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 3px;
    font-family: var(--font-main);
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
    background-color: #2c4470;
}

/* Mobile Responsiveness for Ticket Section */
@media (max-width: 768px) {
    .ticket-row {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
        /* Reset padding */
    }

    .ticket-icon {
        /* Remove absolute positioning for better flow */
        margin-bottom: 10px;
        margin-right: 0;
    }

    .ticket-details {
        margin-left: 0;
        margin-bottom: 15px;
        width: 100%;
    }

    .ticket-price {
        margin-left: 0;
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

    .ticket-counter {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
        /* Space out counter controls */
        background: #fff;
        padding: 5px;
        border-radius: 4px;
    }

    .booking-footer {
        flex-direction: column;
        align-items: stretch;
        /* Full width button */
        gap: 20px;
    }

    .total-bar {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .add-to-cart-btn {
        width: 100%;
        padding: 15px;
        font-size: 1.1rem;
    }

    .booking-conditions {
        align-self: center;
        margin-bottom: 10px;
    }
}

/* =========================================
   SHOPPING CART PAGE STYLES
   ========================================= */

body.cart-page {
    background-color: #141e3d;
    /* Deep Blue Background */
    color: #fff;
    font-family: var(--font-main);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: transparent;
    /* Override global header white bg */
    width: 100%;
}

.cart-title {
    text-align: center;
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 2.5rem;
    margin: 40px 0 60px;
    letter-spacing: 1px;
    color: #fff;
}

.cart-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

/* Notification */
.cart-notification {
    background-color: #0d162e;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

/* Cart Item */
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr 150px;
    gap: 20px;
    padding: 25px;
    /* More breathing room */
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    /* Very subtle card bg */
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    /* Subtle lift */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ticket-icon-large {
    width: 64px;
    height: 64px;
    background-color: #bd9e59;
    background: linear-gradient(135deg, #bd9e59, #aa8a44);
    /* Gradient Gold */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ticket-icon-large svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.item-title {
    font-family: var(--font-serif);
    /* Use Brand Styling */
    font-weight: 700;
    font-style: italic;
    font-size: 1.5rem;
    color: #bd9e59;
    /* Gold Title */
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.item-sub {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.5;
    font-weight: 300;
}

.item-remove {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid transparent;
    transition: color 0.3s;
}

.item-remove:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.item-price-col {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-count-row,
.item-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.item-total-row {
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

/* Voucher */
.cart-voucher-section {
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.voucher-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
}

.info-icon {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    cursor: help;
    color: rgba(255, 255, 255, 0.5);
}

.voucher-input-group {
    display: flex;
    gap: 10px;
    /* Space between input and button */
}

.voucher-input-group input {
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    /* Separate rounded input */
    width: 280px;
    font-family: var(--font-main);
    background: rgba(255, 255, 255, 0.05);
    /* Glass effect */
    color: #fff;
    transition: all 0.3s;
}

.voucher-input-group input:focus {
    outline: none;
    border-color: #bd9e59;
    background: rgba(255, 255, 255, 0.1);
}

.voucher-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-redeem {
    background-color: transparent;
    color: #bd9e59;
    border: 1px solid #bd9e59;
    padding: 0 25px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-redeem:hover {
    background-color: #bd9e59;
    color: #141e3d;
}

/* Summary */
.cart-summary {
    margin-bottom: 50px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.summary-row.small {
    font-size: 0.8rem;
    margin-bottom: 30px;
}

.summary-row.total {
    font-size: 1.5rem;
    font-weight: 400;
    /* Regular weight as per design implies */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

/* Actions */
.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.continue-shopping {
    color: #fff;
    text-decoration: underline;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.btn-checkout {
    background: transparent;
    border: 1px solid #bd9e59;
    color: #fff;
    padding: 12px 40px;
    border-radius: 30px;
    /* Pill shape */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-checkout:hover {
    background: #bd9e59;
    color: #141e3d;
}

/* Footer Simplification for Cart */
.cart-footer {
    padding: 40px 0;
    margin-top: auto;
    /* Push to bottom if content is short */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: transparent;
    /* Override global #fff */
}

.cart-header {
    background-color: #141e3d;
    /* Opaque background to prevent see-through */
    width: 100%;
    z-index: 1000;
    /* Ensure on top */
}

.logo svg {
    max-width: 100%;
    height: auto;
    display: block;
    /* Remove bottom alignment gap */
}

.footer-simple-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links-row {
    color: #fff;
    font-size: 0.9rem;
}

.footer-links-row a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-right: 5px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.footer-links-row a:hover {
    text-decoration: underline;
}

.footer-links-row span {
    margin: 0 5px;
    color: rgba(255, 255, 255, 0.5);
}

/* Ensure payment icons container has height/layout if empty */
.footer-payment-icons {
    display: flex;
    gap: 15px;
    min-height: 24px;
}

/* Mobile */
@media (max-width: 768px) {
    .cart-header {
        padding: 15px 20px;
    }

    .cart-title {
        font-size: 1.8rem;
        margin: 30px 0 40px;
    }

    .cart-content {
        padding: 0 15px 120px;
        /* Extra padding at bottom so content isn't hidden behind sticky button */
    }

    /* Cart Item: Grid Layout for Mobile */
    .cart-item {
        grid-template-columns: 60px 1fr;
        grid-template-rows: auto auto;
        /* Two rows: Details, Price */
        gap: 15px;
    }

    /* ... existing styles ... */

    .btn-checkout {
        position: fixed;
        bottom: 30px;
        /* Floating above bottom */
        left: 20px;
        right: 20px;
        width: auto;
        /* Float with margins */

        padding: 18px;
        /* Balanced large padding */
        font-size: 1.1rem;
        font-weight: 800;
        letter-spacing: 2px;

        border-radius: 50px;
        /* Premium Pill Shape */
        border: none;

        background: linear-gradient(135deg, #bd9e59 0%, #aa8a44 100%);
        /* Rich Gradient */
        color: #141e3d;
        text-transform: uppercase;

        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
        /* Deep floating shadow */
        z-index: 9999;
    }

    /* Remove cheap pulse, add subtle hover scale (though hover rare on mobile) */
    .btn-checkout:active {
        transform: scale(0.98);
        background: linear-gradient(135deg, #aa8a44 0%, #8c7035 100%);
    }

    .item-icon-col {
        grid-column: 1;
        grid-row: 1;
    }

    .item-details-col {
        grid-column: 2;
        grid-row: 1;
    }

    .item-price-col {
        grid-column: 1 / -1;
        /* Span full width */
        grid-row: 2;
        text-align: left;
        flex-direction: column;
        gap: 10px;
        border-top: 1px dashed rgba(255, 255, 255, 0.1);
        padding-top: 15px;
    }

    .item-count-row,
    .item-total-row {
        width: 100%;
        /* Ensure full spread */
    }

    /* Voucher Section */
    .cart-voucher-section {
        flex-direction: column;
        align-items: stretch;
    }

    .voucher-label {
        margin-bottom: 10px;
    }

    .voucher-input-group {
        width: 100%;
        display: flex;
    }

    .voucher-input-group input {
        flex-grow: 1;
        width: auto;
        /* Allow flex to manage width */
        min-width: 0;
        /* Prevent overflow */
    }

    /* Actions and Footer */
    .cart-actions {
        flex-direction: column-reverse;
        gap: 20px;
        /* Hide the container's layout influence on the fixed button */
        display: block;
    }

    /* .btn-checkout is now defined above as fixed elements */

    @keyframes pulse {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.02);
        }

        100% {
            transform: scale(1);
        }
    }

    .footer-simple-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-payment-icons {
        justify-content: center;
    }
}

/* =========================================
   CHECKOUT PAGE STYLES
   ========================================= */

body.checkout-page {
    background-color: #141e3d;
    color: #fff;
    font-family: var(--font-main);
}

.checkout-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px 100px;
}

.checkout-title {
    text-align: center;
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 2.5rem;
    margin: 40px 0 60px;
    letter-spacing: 1px;
}

/* Progress Steps */
.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
    transition: all 0.3s;
}

.step.active {
    opacity: 1;
}

.step-circle {
    width: 32px;
    height: 32px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.step.active .step-circle {
    background-color: transparent;
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    /* Simple Glow */
    /* Screenshot hint suggests specialized background for active step, maybe purple gradient? */
    /* Let's try a spotlight effect if requested, but simple glow is safe for now */
}

/* Form Styles */
.form-container {
    background: transparent;
}

.form-instruction {
    font-size: 0.75rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.form-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row-three {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    /* Postcode small, City/Country larger */
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border-radius: 20px;
    /* Rounded pill inputs */
    border: none;
    font-family: var(--font-main);
    font-size: 0.95rem;
    background: #fff;
    color: #141e3d;
}

.form-group input:focus {
    outline: 2px solid #bd9e59;
}

/* Custom Select styling */
.select-wrapper {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: #bd9e59;
    /* Gold chevron background */
    color: #141e3d;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    pointer-events: none;
}

.select-wrapper select {
    width: 100%;
    appearance: none;
    background: transparent;
    cursor: pointer;
    z-index: 1;
    position: relative;
}

/* Checkbox */
.checkbox-group {
    margin-top: 10px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    position: relative;
    padding-left: 30px;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto 0;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 1px solid #bd9e59;
    border-radius: 3px;
}

.custom-checkbox:hover input~.checkmark {
    background-color: rgba(189, 158, 89, 0.2);
}

.custom-checkbox input:checked~.checkmark {
    background-color: #bd9e59;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #141e3d;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Actions */
.checkout-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.back-link {
    color: #fff;
    text-decoration: underline;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-next {
    background: transparent;
    border: 1px solid #bd9e59;
    color: #fff;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-next:hover {
    background: #bd9e59;
    color: #141e3d;
}

/* Specific purple glow background for active step 1 as per screenshot hint */
.step.active:first-child .step-circle {
    /* If specific styling needed, can check later. Currently standard active glow. */
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .form-row,
    .form-row-three {
        grid-template-columns: 1fr;
    }

    .checkout-steps {
        gap: 20px;
        font-size: 0.8rem;
    }

    .step-label {
        display: none;
        /* Hide labels on mobile if too crowded, or keep small */
    }
}

/* Shipping & Payment Grid */
.shipping-payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.selection-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number-title {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.circle-num {
    width: 50px;
    height: 50px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 300;
}

.step-number-title h3 {
    font-weight: 400;
    font-size: 1.1rem;
    margin: 0;
}

/* Selection Cards */
.selection-card,
.payment-card {
    background: rgba(20, 30, 61, 0.8);
    /* Dark base */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 30px;
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.selection-card.selected {
    border: 2px solid #bd9e59;
    background: rgba(20, 30, 61, 0.9);
}

.payment-card.selected {
    border: 2px solid #bd9e59;
    background: #fff;
    /* Keep white for payment logos */
    box-shadow: 0 0 15px rgba(189, 158, 89, 0.3);
}

.check-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: #bd9e59;
    color: #141e3d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
}

.card-icon-large svg {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    fill: #fff;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.card-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.section-info-text {
    margin-top: 30px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
    line-height: 1.5;
}

/* Payment Options Layout */
.payment-options-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.payment-card {
    background: #fff;
    /* White cards for payments as per screenshot visual style usually? Screenshot shows white boxes. */
    background: #fff;
    color: #141e3d;
    min-height: 120px;
    padding: 20px;
    max-width: 200px;
}

.payment-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #e0e0e0;
    /* Light gray background */
    border-color: transparent;
    position: relative;
    overflow: hidden;
}

.payment-card.disabled .pay-logo-img {
    filter: grayscale(100%);
    opacity: 0.5;
}

.unavailable-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(20, 30, 61, 0.8);
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
}

.payment-card .payment-name {
    margin-top: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: underline;
    letter-spacing: 1px;
    color: #141e3d;
}

.payment-logos-group {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /* Center images vertically */
    height: 60px;
    /* Fixed height for consistency */
}

.pay-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
}

/* Special Active Purple Step */
.step.active-purple .step-circle {
    /* Screenshot implies a purple semi-circle/gradient background behind the active step? */
    /* Or just standard active. User mentioned 'purple' glow previously. */
    border-color: #bd9e59;
    color: #bd9e59;
    box-shadow: 0 0 20px rgba(189, 158, 89, 0.4);
}

.step.completed .step-circle {
    border-color: #fff;
    opacity: 0.8;
}

/* =========================================
   REVIEW PAGE STYLES
   ========================================= */

.review-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.summary-box {
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.summary-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.edit-link {
    color: #bd9e59;
    text-decoration: underline;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.summary-content p {
    margin: 5px 0;
    line-height: 1.5;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.review-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Legal text */
.legal-section {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.legal-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.legal-text a {
    color: #fff;
    text-decoration: underline;
}

/* Cart Summary Right Col */
.cart-summary-card {
    background: #fff;
    color: #141e3d;
    border-radius: 8px;
    padding: 30px;
    position: sticky;
    top: 20px;
}

.cart-summary-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
}

.review-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    font-size: 0.9rem;
}

.review-item-name {
    font-weight: 600;
}

.review-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #141e3d;
}

.tax-note {
    text-align: right;
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 20px;
}

.btn-buy-now {
    width: 100%;
    background: #bd9e59;
    color: #141e3d;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-buy-now:hover {
    background: #aa8a44;
}

/* Common Actions */
/* Common Actions - Gold Style */
.btn-check-order,
.btn-next {
    background: #bd9e59;
    /* Solid Gold */
    border: none;
    color: #141e3d;
    /* Dark Blue Text */
    padding: 16px 50px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 800;
    /* Bold text like Buy Now */
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
    /* Ensure layout consistency */
    text-align: center;
}

.btn-check-order:hover,
.btn-next:hover {
    background: #aa8a44;
    /* Darker Gold on Hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(189, 158, 89, 0.4);
    color: #fff;
    /* White text on hover for contrast */
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.back-link {
    color: #fff;
    text-decoration: underline;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Checkout Page Mobile Styles */
@media (max-width: 768px) {

    /* Global Container */
    .checkout-content {
        padding: 20px;
        margin-top: 20px;
    }

    .checkout-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    /* Steps */
    .checkout-steps {
        margin-bottom: 40px;
    }

    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .step-label {
        font-size: 0.7rem;
        margin-top: 8px;
    }

    /* Forms (Address) */
    .form-container {
        padding: 20px;
    }

    .form-row,
    .form-row-three {
        flex-direction: column;
        gap: 0;
    }

    .form-group,
    .form-group.small,
    .form-group.medium {
        width: 100%;
        margin-bottom: 15px;
    }

    .checkout-actions {
        flex-direction: column-reverse;
        gap: 20px;
        align-items: center;
    }

    .btn-next,
    .btn-check-order,
    .btn-buy-now {
        width: 100%;
        padding: 20px;
        /* Huge touch target */
        font-size: 1.2rem;
        /* Big text */
        font-weight: 800;
        letter-spacing: 2px;
        margin-top: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    /* Shipping & Payment */
    .shipping-payment-grid {
        grid-template-columns: 1fr;
        /* Stack columns */
        gap: 40px;
    }

    .selection-card,
    .payment-card {
        padding: 20px;
        /* Reduced padding */
    }

    .payment-options-row {
        flex-wrap: wrap;
        /* Allow wrapping */
    }

    .payment-card {
        width: 100%;
        /* Full width on mobile */
        max-width: none;
    }

    /* Review Page */
    .review-grid {
        grid-template-columns: 1fr;
        /* Stack columns */
        gap: 30px;
    }

    .cart-summary-card {
        position: static;
        /* Remove sticky on mobile */
        margin-top: 20px;
    }

    .review-total-row {
        font-size: 1.1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .shipping-payment-grid,
    .review-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .selection-column {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-number-title {
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .circle-num {
        width: 50px;
        height: 50px;
        border: 1px solid #fff;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.2rem;
        font-weight: 300;
    }

    .step-number-title h3 {
        font-weight: 400;
        font-size: 1.1rem;
        margin: 0;
    }

    /* Selection Cards */
    .selection-card,
    .payment-card {
        background: rgba(20, 30, 61, 0.8);
        /* Dark base */
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        padding: 30px;
        width: 100%;
        max-width: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 200px;
        position: relative;
        cursor: pointer;
        transition: all 0.3s;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    }

    .selection-card.selected,
    .payment-card.selected {
        border: 2px solid #bd9e59;
        background: rgba(20, 30, 61, 0.9);
    }

    .payment-card.selected {
        background: #fff;
        /* Keep white for payment logos */
    }

    .check-badge {
        position: absolute;
        top: -10px;
        right: -10px;
        width: 24px;
        height: 24px;
        background: #bd9e59;
        color: #141e3d;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 700;
        font-size: 14px;
    }

    .card-icon-large svg {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
        fill: #fff;
    }

    .card-price {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .card-desc {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.7);
        line-height: 1.4;
    }

    .section-info-text {
        margin-top: 30px;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
        max-width: 300px;
        line-height: 1.5;
    }

    /* Payment Options Layout */
    .payment-options-row {
        display: flex;
        gap: 20px;
        justify-content: center;
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .payment-card {
        background: #fff;
        /* White cards for payments as per screenshot visual style usually? Screenshot shows white boxes. */
        background: #fff;
        color: #141e3d;
        min-height: 120px;
        padding: 20px;
        max-width: 200px;
        width: 100%;
    }

    .payment-card .payment-name {
        margin-top: 15px;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        text-decoration: underline;
        letter-spacing: 1px;
        color: #141e3d;
    }

    .payment-logos-group {
        display: flex;
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        height: 60px;
    }

    .pay-logo-img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        width: auto;
    }

    .payment-card.disabled {
        opacity: 0.6;
        cursor: not-allowed;
        background: #e0e0e0;
        border-color: transparent;
        position: relative;
        overflow: hidden;
    }

    .payment-card.disabled .pay-logo-img {
        filter: grayscale(100%);
        opacity: 0.5;
    }

    .unavailable-badge {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(20, 30, 61, 0.8);
        color: #fff;
        font-size: 0.6rem;
        padding: 2px 0;
        text-align: center;
        text-transform: uppercase;
        font-weight: 700;
    }

    .pay-logo {
        display: inline-block;
        padding: 2px 5px;
        border: 1px solid #ccc;
        font-size: 0.6rem;
        border-radius: 2px;
    }

    /* Special Active Purple Step */
    .step.active-purple .step-circle {
        /* Screenshot implies a purple semi-circle/gradient background behind the active step? */
        /* Or just standard active. User mentioned 'purple' glow previously. */
        border-color: #bd9e59;
        color: #bd9e59;
        box-shadow: 0 0 20px rgba(189, 158, 89, 0.4);
    }

    .step.completed .step-circle {
        border-color: #fff;
        opacity: 0.8;
    }

    .btn-check-order {
        background: transparent;
        border: 1px solid #bd9e59;
        color: #fff;
        padding: 12px 40px;
        border-radius: 30px;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s;
    }

    .btn-check-order:hover {
        background: #bd9e59;
        color: #141e3d;
    }

    /* Mobile */
    @media (max-width: 768px) {
        .shipping-payment-grid {
            grid-template-columns: 1fr;
            gap: 40px;
        }

        .payment-options-row {
            flex-direction: column;
            align-items: center;
        }

        .payment-card {
            width: 100%;
        }
    }