/* Add modern font + base font-family */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

html, body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  /* keep existing background if present elsewhere; overrides applied later */
  margin: 0; /* remove default browser margin */
  padding: 0; /* remove default browser padding */
}

/* Palette
   primary navy: #083c6f
   primary-2:    #0b4a6a
   accent light: #a8d6ff
*/

.topmenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #00001d;
    padding: 0 16px; /* removed vertical padding so logo can fill the full menu height */
    min-height: 86px; /* increased from 80px -> +6px per request */
}

.topmenu-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-link {
    color: aliceblue;
    text-decoration: none;
    font-size: 1.3rem;
    padding: 10px 18px;
    border-radius: 4px;
    transition: background 0.3s;
}

.cart-link:hover {
    background: rgba(240, 248, 255, 0.1);
}

.cart-icon {
    display: inline-block;
}

/* Make the logo-link a flex container; keep it vertically centered, but limit the logo height so it's not too large */
.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Set a sensible max height for the logo image so it doesn't fill the entire menu height and becomes too big */
.topmenu img {
    height: 86px;       /* increased from 80px -> +6px */
    max-height: 86px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* On very small screens, make the logo a bit smaller to keep the header compact */
@media (max-width: 480px) {
    .topmenu img {
        height: 60px;   /* increased from 54px -> +6px */
        max-height: 60px;
    }
    .topmenu {
        min-height: 76px; /* increased from 70px -> +6px to match */
    }
}

.hamburger-menu {
    position: relative;
}

.hamburger {
    cursor: pointer;
    padding: 10px 12px;
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: aliceblue;
    margin: 6px 0;
    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.menu-items {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, #0b4a6a 0%, #083c6f 100%); /* match button gradient */
    padding: 16px 20px;
    min-width: 240px;
    display: none;
    flex-direction: column;
    gap: 12px;
    border-radius: 0 0 5px 5px;
    max-width: 300px;
    box-sizing: border-box;
}

.menu-items.active {
    display: flex;
}

.menu-items a {
    color: aliceblue;
    text-decoration: none;
    font-size: 16px;
    padding: 12px 16px;
    white-space: nowrap;
    border-radius: 3px;
}

/* softer light overlay on hover to keep contrast on gradient */
.menu-items a:hover {
    background-color: rgba(168, 214, 255, 0.12);
}

/* Ensure the fixed/mobile menu inherits the same gradient */
@media screen and (max-width: 768px) {
    .menu-items {
        position: fixed;
        top: auto;
        right: 0;
        left: auto;
        width: calc(100% - 40px);
        max-width: 90vw;
        text-align: center;
        z-index: 999;
        background: linear-gradient(135deg, #0b4a6a 0%, #083c6f 100%);
    }
}

@media screen and (max-width: 480px) {
    .topmenu {
        min-height: 65px;
        padding: 0 14px;
    }

    .topmenu img {
        height: 65px;
    }

    .cart-link {
        font-size: 1.3rem;
        padding: 10px 16px;
    }

    .hamburger {
        padding: 8px 10px;
    }

    .hamburger span {
        width: 26px;
        height: 2.5px;
        margin: 5px 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    .menu-items {
        width: 100vw;
        padding: 16px 20px;
        min-width: 100%;
        left: 0;
        right: auto;
    }

    .menu-items a {
        font-size: 17px;
        padding: 13px 16px;
    }
}

.welcome-section {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero {
    background: url('../images/bringeber.jpg') center;
    background-size: cover;
    background-attachment: fixed;
    height: 50vh;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    margin: 0;
}

.description-section {
    padding: 2rem 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.description-section p {
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

.description-section p:last-child {
    margin-bottom: 0;
}

.description-section strong {
    color: #00001d;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero {
        height: 40vh;
        min-height: 250px;
        padding: 1.5rem;
    }

    .description-section {
        padding: 2.5rem 1.5rem;
    }

    .description-section p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 35vh;
        min-height: 200px;
        padding: 1rem;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .description-section {
        padding: 1.5rem 1rem;
        margin: 0;
    }

    .description-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0.9rem;
    }
}

.products-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.products-section h1 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00001d;
    margin-bottom: 1rem;
}

.btn-details {
    display: inline-block;
    background: linear-gradient(135deg, #0b4a6a 0%, #083c6f 100%); /* same as other primary buttons */
    color: #ffffff; /* bright text on dark gradient */
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(8,60,111,0.14);
    border: none;
}

.btn-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(8,60,111,0.18);
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .products-section {
        padding: 1rem;
    }

    .product-image {
        height: 150px;
    }

    .product-info {
        padding: 0.8rem;
    }

    .product-info h2 {
        font-size: 0.95rem;
    }

    .product-description {
        font-size: 0.8rem;
    }

    .product-price {
        font-size: 1.1rem;
    }

    .btn-details {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.8rem;
    }

    .products-section {
        padding: 0.8rem;
    }

    .product-image {
        height: 120px;
    }

    .product-info {
        padding: 0.6rem;
    }

    .product-info h2 {
        font-size: 0.85rem;
    }

    .product-description {
        font-size: 0.7rem;
        display: none;
    }

    .product-price {
        font-size: 0.95rem;
    }

    .btn-details {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Modal Styling */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 30px;
    max-width: 1000px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 90vh;
    overflow-y: auto;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .modal-overlay {
        padding: 15px;
    }

    .modal-content {
        padding: 20px;
        max-height: 85vh;
        max-width: none;
        width: 100%;
    }

    .modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-images {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        max-width: 350px;
        justify-self: center;
        margin: 0 auto;
    }

    .modal-image {
        width: 100%;
        aspect-ratio: 1;
    }

    .modal-body h2 {
        font-size: 22px;
    }

    .allergens ul {
        gap: 6px;
    }

    .allergens li {
        font-size: 11px;
    }

    .modal-info-section {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 10px;
    }

    .modal-content {
        padding: 15px;
        gap: 15px;
        max-width: 100%;
        width: calc(100% - 20px);
    }

    .modal-images {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin: 0 auto;
    }

    .modal-image {
        height: 250px;
    }

    .modal-body h2 {
        font-size: 20px;
    }

    .modal-price {
        font-size: 20px;
    }
}

.modal-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 30px;
    max-width: 1000px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 90vh;
    overflow-y: auto;
    width: 100%;
    margin: 0 auto;
}

/* ============================================
   PERSONLIGE KAKER (custom-cakes.jsp)
   ============================================ */

.custom-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.custom-section h1 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: #333;
}

.custom-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    max-width: 1200px;
}

@media (max-width: 768px) {
    .custom-grid {
        grid-template-columns: 1fr;
    }
}

.custom-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.custom-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.custom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-button-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.custom-btn-order {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #0b4a6a 0%, #083c6f 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(8, 60, 111, 0.18);
}

.custom-btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(8, 60, 111, 0.22);
}

@media (max-width: 992px) {
    .custom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .custom-section {
        padding: 1rem;
    }

    .custom-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .custom-image {
        height: 200px;
    }
}

@media (max-width: 480px) {

    .custom-image {
        height: 150px;
    }

    .custom-section h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .custom-intro {
        font-size: 0.9rem;
    }
}

/* =========================
   UI tweaks requested by user
   - Light-blue background for whole site
   - Disable hover and clicks on custom-cakes cards (non-interactive examples)
   ========================= */

html, body {
  background: #eaf6ff !important; /* soft light-blue background */
}

/* Make custom-cakes example cards non-interactive and remove hover effects */
.custom-section .custom-card,
.custom-section .custom-card * {
  pointer-events: none !important;
  cursor: default !important;
}

/* Neutralize any hover transforms/shadows for custom cards specifically */
.custom-section .custom-card:hover,
.custom-section .custom-card:focus {
  transform: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
}

/* Ensure images don't get pointer cursor or other hover styles */
.custom-section .product-image img,
.custom-section .custom-image img {
  cursor: default !important;
  transition: none !important;
}

/* If any button styles are inherited, keep the order button clickable — only target cards */
.custom-section .custom-button-container a.custom-btn-order {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* end of user-specific tweaks */

/* ============================================
   HANDLEKURV (cart.jsp)
   ============================================ */

.cart-section {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.cart-section h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.cart-empty {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.1rem;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.cart-table thead {
    background: #00001d;
    color: white;
}

.cart-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.cart-table td {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
}

.cart-item-name {
    font-weight: 600;
    color: #333;
}

.custom-item {
    background: #f9f3ff;
}

.remove-btn {
    background: transparent;
    color: #083c6f;
    border: 1px solid rgba(8,60,111,0.12);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.remove-btn:hover {
    background: rgba(11,74,106,0.06);
}

.cart-summary {
    display: flex;
    justify-content: flex-end;
    padding-top: 2rem;
    border-top: 2px solid #ddd;
    gap: 2rem;
}

.cart-total {
    font-size: 1.5rem;
    font-weight: bold;
    color: #083c6f; /* navy */
}

.cart-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-continue {
    background: navy;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-continue:hover {
    background: #00001d;
}

.btn-checkout {
    background: linear-gradient(135deg, #0b4a6a 0%, #083c6f 100%);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-checkout:hover {
    background: linear-gradient(135deg, #0f5c8f 0%, #083c6f 100%);
}

.description-preview {
    font-size: 0.9rem;
    color: #666;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-form {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BESTILLING BEKREFTET (order-confirmation.jsp)
   ============================================ */

.confirmation-section {
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.confirmation-box {
    background: #f0f9ff;
    border: 2px solid rgba(8,60,111,0.12);
    border-radius: 8px;
    padding: 3rem 2rem;
    margin-top: 2rem;
}

.confirmation-box h1 {
    font-size: 2.5rem;
    color: #083c6f;
    margin-bottom: 1rem;
}

.confirmation-box p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.confirmation-highlight {
    background: white;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    color: #333;
}

.confirmation-highlight strong {
    color: #0b4a6a;
    font-size: 1.1rem;
}

.btn-home {
    display: inline-block;
    background: navy;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 1.5rem;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-home:hover {
    background: #00001d;
}

/* ============================================
   PERSONLIG KAKE FORM (custom-cake-form.jsp)
   ============================================ */

.custom-form-section {
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.custom-form-section h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.info-text {
    background: #f0f0f0;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-submit {
    background: linear-gradient(135deg, #0b4a6a 0%, #083c6f 100%);
    color: white;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #0f5c8f 0%, #083c6f 100%);
}

.btn-cancel {
    background: #ddd;
    color: #333;
}

.btn-cancel:hover {
    background: #bbb;
}

.preview-image {
    margin-top: 1rem;
    max-width: 200px;
    border-radius: 4px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: #f0f0f0;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #333;
    z-index: 10;
}

.modal-close:hover {
    background: #0b4a6a;
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-top: 20px;
}

.modal-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

.modal-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-width: 250px;
}

.modal-body h2 {
    font-size: 28px;
    margin: 0;
    color: #333;
    font-weight: 600;
}

.modal-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.modal-price {
    font-size: 24px;
    font-weight: 700;
    color: #0b4a6a;
}

.allergens {
    flex: 1;
}

.allergens h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.allergens ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.allergens li {
    background: #e6f5ff; /* light blue */
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #083c6f; /* navy */
    border-left: 3px solid #0b4a6a;
}

.btn-order {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(135deg, #0b4a6a 0%, #083c6f 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(8,60,111,0.18);
    width: 100%;
    text-align: center;
    border: none;
    margin-top: auto;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8,60,111,0.22);
}

.btn-order:active {
    transform: translateY(0);
}

.sizes-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 20px 0 12px 0;
}

.size-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.size-option {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-option:hover {
    border-color: #0b4a6a;
    background: rgba(10,74,106,0.04);
}

.size-option input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
    accent-color: #0b4a6a; /* modern browsers */
}

.size-option input[type="radio"]:checked + span {
    color: #0b4a6a;
    font-weight: 600;
}

@media (max-width: 768px) {
    .modal-overlay {
        padding: 10px;
    }

    .modal-content {
        padding: 20px;
        max-height: 85vh;
        max-width: 90vw;
        width: calc(100% - 20px);
    }

    .modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-images {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        max-width: 350px;
        justify-self: center;
        margin: 0 auto;
    }

    .modal-image {
        width: 100%;
        aspect-ratio: 1;
    }

    .modal-body h2 {
        font-size: 22px;
    }

    .allergens ul {
        gap: 6px;
    }

    .allergens li {
        font-size: 11px;
    }

    .modal-info-section {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 10px;
    }

    .modal-content {
        padding: 15px;
        gap: 15px;
        max-width: 100%;
        width: calc(100% - 20px);
    }

    .modal-images {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin: 0 auto;
    }

    .modal-image {
        height: 250px;
    }

    .modal-body h2 {
        font-size: 20px;
    }

    .modal-price {
        font-size: 20px;
    }
}

.custom-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.custom-section h1 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: #333;
}

.custom-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.custom-button-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.custom-btn-order {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #0b4a6a 0%, #083c6f 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(8, 60, 111, 0.18);
}

.custom-btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(8, 60, 111, 0.22);
}

.custom-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(8,60,111,0.06);
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.custom-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.custom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media (max-width: 768px) {
    .custom-section {
        padding: 1rem;
    }

    .custom-image {
        height: 150px;
    }
}

@media (max-width: 480px) {

    .custom-image {
        height: 120px;
    }

    .custom-section h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .custom-intro {
        font-size: 0.9rem;
    }
}

/* Replace legacy pink/red accents */

/* previously: background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%); */
.custom-btn-order {
    background: linear-gradient(135deg, #0b4a6a 0%, #083c6f 100%);
}

/* button hover replacements already exist earlier; ensure specific selectors updated */

/* previously .btn-checkout, .btn-order, etc. updated earlier */

/* Confirmation box border and heading colors already changed earlier; replace any remaining usages */

/* Replace alerts/inline red backgrounds */
.confirmation-box {
    border: 2px solid rgba(8,60,111,0.12);
}

.confirmation-box h1 { color: #083c6f; }

/* Replace .confirmation-box color references */

/* Replace size-option hover (already done) */

/* Replace .btn-order box-shadow earlier set to pink — ensure no pink remains */
.btn-order, .custom-btn-order {
    box-shadow: 0 6px 20px rgba(8,60,111,0.18) !important;
}

/* Allergens badge: change from yellow warning to softer blue variant */
.allergens li {
    background: #e6f5ff; /* light blue */
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #083c6f; /* navy */
    border-left: 3px solid #0b4a6a;
}

/* Replace any direct hex pink references */
/* Search results earlier listed lines — we've updated main ones. For safety, neutralize specific pink values if still present */
:root {
    --accent-pink-1: #083c6f; /* override any leftover pink usages visually */
}

/* Replace remaining pink/red gradients and colors with navy equivalents */

/* Replace linear-gradient pink -> navy gradient */
/* find: background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%); */
/* replace with navy gradient */

/* Instances replaced below */

/* earlier occurrences were in modal and other buttons; make replacements */

/* If any element still references a pink gradient, override with navy */
.bg-accent-pink-gradient {
    background: linear-gradient(135deg, #0b4a6a 0%, #083c6f 100%) !important;
}

/* Replace single pink solid colors */
.bg-accent-pink {
    background: #083c6f !important;
}

.color-accent-pink {
    color: #083c6f !important;
}

.border-accent-pink {
    border-color: rgba(8,60,111,0.12) !important;
}

/* Replace any remaining accent-color pink for checkboxes/radios */
input[type="radio"], input[type="checkbox"] {
    accent-color: #0b4a6a !important;
}

/* Contact page styles */
.contact-section {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-inner h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #083c6f;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.contact-grid h3 {
    color: #0b4a6a;
    margin-top: 0;
}

.contact-grid p, .contact-grid a {
    color: #333;
}

/* Form tweaks */
.contact-grid .form-group input,
.contact-grid .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #d9e6f2;
    border-radius: 6px;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(8,60,111,0.02);
    font-family: inherit;
}

.contact-grid .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.btn-submit {
    display: inline-block;
    background: linear-gradient(135deg, #0b4a6a 0%, #083c6f 100%);
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8,60,111,0.14);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-inner {
        padding: 0 0.5rem;
    }

    .contact-grid .form-group input,
    .contact-grid .form-group textarea {
        padding: 0.9rem;
    }

    .btn-submit {
        width: 100%;
        padding: 14px 18px;
    }
}

