﻿body.pricing-page {
    display: block;
    min-height: 100vh;
}

.pricing-page > #customerInfoAlert,
.pricing-page > #cartCheckoutForm,
.pricing-page > .form-note {
    width: min(600px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.pricing-page > #customerInfoAlert {
    margin-top: 28px;
}

.pricing-page > #cartCheckoutForm {
    display: block;
}

.pricing-page > .form-note {
    display: block;
    text-align: center;
}

@media (max-width: 900px) {
    .logo-image {
        width: 60px !important;
        height: 60px !important;
    }
    .nav-title {
        font-size: 1.5rem !important;
        padding: 0.2rem 0 !important;
    }
}
/* Hide or roll off header for mobile screens */
@media (max-width: 900px) {
    .page-header {
        position: absolute;
        left: -9999px;
        width: 1px;
        height: 1px;
        overflow: hidden;
        padding: 0;
        margin: 0;
        opacity: 0;
    }
}
/* --- ComfortCare Order Page Mobile & Slim Cart Improvements --- */
@media (min-width: 900px) {
    .order-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    }
    .order-cart {
        max-width: 98vw;
        min-width: 0;
        padding: 0.7rem 0.5rem;
        font-size: 0.97rem;
        /* Removed custom scrolling for order-cart */
    }
    .cart-items, .cart-summary, .cart-email-box, .cart-form {
        font-size: 0.97rem;
    }
}

@media (max-width: 899px) {
    .order-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .order-cart {
        max-width: 98vw;
        min-width: 0;
        padding: 0.7rem 0.5rem;
        font-size: 0.97rem;
    }
}

.order-cart {
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 10px;
    margin-bottom: 1.2rem;
    overflow-y: auto;
    max-height: 80vh;
}

.cart-items {
    /* Removed custom scrolling for cart-items */
}

.order-page {
    /* Removed min-height and overflow-x to prevent global page scrolling */
}

.pricing-table-wrapper {
    overflow-x: auto;
    max-width: 100vw;
}
/* ============================================
   COMFORTCARE - PROFESSIONAL CSS STYLESHEET
   Medical Equipment Rental Website
   ============================================ */

/* Root Variables */
:root {
    --primary-blue: #0066cc;
    --secondary-blue: #0052a3;
    --accent-green: #10b981;
    --light-green: #d1fae5;
    --dark-text: #1f2937;
    --light-text: #6b7280;
    --light-bg: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-text);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-blue);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--light-text);
    line-height: 1.7;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-blue);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--primary-blue);
}

.navbar .container {
    display: grid;
    grid-template-columns: minmax(325px, 1fr) minmax(470px, auto) minmax(340px, 1fr);
    gap: 0.75rem;
    justify-content: stretch;
    align-items: center;
    padding: 1rem 20px;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-blue);
    position: relative;
}

.logo-contact-link {
    position: absolute;
    right: 6px;
    bottom: 6px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0.25rem 0.45rem;
    border-radius: 999px;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.logo-contact-link:hover,
.logo-contact-link:focus {
    background: var(--accent-green);
    color: var(--white);
}

.nav-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0.75rem 1.4rem;
}

.logo-image {
    width: 170px;
    height: 170px;
    object-fit: contain;
}

.logo-placeholder {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

.brand-name {
    color: var(--primary-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.nav-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    grid-column: 2;
    justify-self: center;
    width: 100%;
}

.nav-title {
    font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0;
    text-align: center;
}

.nav-cart {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-direction: column;
    align-items: flex-end;
    grid-column: 3;
    justify-self: end;
    min-width: 340px;
}

.cart-box {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    min-width: 150px;
}

.cart-box-title {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--light-text);
}

.cart-box-detail {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--dark-text);
}

.cart-box-sep {
    color: var(--light-text);
}

.nav-cart-actions {
    display: flex;
    gap: 0.4rem;
}

.nav-cart-main {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
}

.nav-cart-main .btn,
.nav-cart #cartEmailLink {
    white-space: nowrap;
}

.nav-cart-tabs {
    display: none;
    gap: 0.5rem;
    width: 100%;
}

.nav-cart-tab {
    flex: 1;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--dark-text);
    padding: 0.45rem 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-cart-tab.is-active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 6px 12px rgba(0, 102, 204, 0.2);
}

.nav-cart-panel {
    display: contents;
}

.site-equipment-collage {
    position: static;
    z-index: 110;
    grid-column: 1;
    justify-self: start;
}

.site-equipment-collage-link {
    display: grid;
    grid-template-columns: repeat(3, 96px);
    gap: 0.5rem;
    padding: 0.6rem;
    border: 1px solid rgba(18, 53, 95, 0.16);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 26px rgba(18, 53, 95, 0.14);
}

.site-equipment-collage-link:hover,
.site-equipment-collage-link:focus {
    border-color: rgba(16, 185, 129, 0.55);
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.18);
    outline: none;
}

.site-equipment-collage img {
    display: block;
    width: 96px;
    height: 80px;
    border: 1px solid rgba(18, 53, 95, 0.12);
    border-radius: 6px;
    background: #ffffff;
    object-fit: contain;
}

.nav-menu-dropdown {
    position: relative;
}

.nav-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 40px;
    padding: 0.5rem 0;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--dark-text);
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.nav-menu-button:hover,
.nav-menu-button:focus,
.nav-menu-button.active,
.nav-menu-dropdown.is-active .nav-menu-button {
    color: var(--primary-blue);
    border-bottom-color: var(--accent-green);
    outline: none;
}

.nav-register-nav-toggle::before {
    content: "+";
    display: inline-grid;
    width: 1.1rem;
    height: 1.1rem;
    place-items: center;
    border-radius: 999px;
    background: #7c3aed;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1;
}

.nav-menu-dropdown-panel {
    position: absolute;
    left: 50%;
    top: calc(100% + 0.5rem);
    display: grid;
    gap: 0.35rem;
    min-width: 230px;
    padding: 0.45rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    visibility: hidden;
    z-index: 140;
}

.nav-menu-dropdown:hover .nav-menu-dropdown-panel,
.nav-menu-dropdown:focus-within .nav-menu-dropdown-panel,
.nav-menu-dropdown.is-open .nav-menu-dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
}

.nav-menu-dropdown-option {
    display: block;
    padding: 0.65rem 0.75rem;
    border-radius: 6px;
    color: var(--dark-text);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
}

.nav-menu-dropdown-label,
.nav-menu-dropdown-detail {
    display: block;
}

.nav-menu-dropdown-detail {
    margin-top: 0.16rem;
    color: var(--light-text);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.22;
    white-space: normal;
}

@media (min-width: 901px) {
    .nav-order-menu .nav-menu-dropdown-panel {
        width: min(380px, calc(100vw - 32px));
        min-width: 340px;
        padding: 0.6rem;
    }

    .nav-order-menu .nav-menu-dropdown-option {
        white-space: normal;
    }
}

.nav-menu-dropdown-option:hover,
.nav-menu-dropdown-option:focus {
    background: #eef2ff;
    color: #5b21b6;
    outline: none;
}

/* Mobile-specific tweaks: stack brand and menu, smaller logo, tighter gaps */
@media (max-width: 900px) {
    .navbar .container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 0.4rem 16px;
        gap: 0.35rem;
    }

    .site-equipment-collage {
        position: relative;
        left: auto;
        top: auto;
        order: -1;
        transform: none;
    }

    .site-equipment-collage-link {
        grid-template-columns: repeat(6, 52px);
        gap: 0.25rem;
        padding: 0.35rem;
    }

    .site-equipment-collage img {
        width: 52px;
        height: 44px;
        border-radius: 5px;
    }

    .nav-menu-dropdown-panel {
        min-width: min(240px, calc(100vw - 40px));
    }

    .nav-brand {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-identity {
        width: 100%;
        max-width: 340px;
        padding: 0.45rem 0.85rem;
    }

    .logo-image {
        width: 120px;
        height: 120px;
    }

    .nav-menu {
        gap: 0.7rem;
        margin-top: 0.1rem;
        padding-left: 0;
        justify-content: center;
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        padding: 0 0.25rem;
    }

    .nav-middle {
        align-items: center;
        width: 100%;
    }

    .nav-title {
        font-size: 1.35rem;
        text-align: center;
    }

    .hamburger {
        display: none;
    }

    .nav-cart {
        width: 100%;
        min-width: 0;
        align-items: center;
        gap: 0.35rem;
        position: static;
        transform: none;
    }

    .nav-cart-actions {
        justify-content: center;
        width: 100%;
    }

        min-height: 40px;
    .nav-cart-main {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }

    .nav-cart-tabs {
        display: flex;
        justify-content: center;
    }

    .nav-cart-panel {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .nav-cart-panel.is-active {
        display: flex;
    }

    .nav-cart-panel .btn,
    .nav-cart-panel #cartEmailLink,
    .nav-cart-panel .cart-box {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .edit-cart-link {
        display: none !important;
    }
}

.nav-menu a {
    color: var(--dark-text);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
    border-bottom-color: var(--accent-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero .container {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-special-offer {
    margin: 2.5rem auto 0;
    padding: 1.5rem;
    max-width: 720px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.22);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

.hero-special-offer h2 {
    color: var(--white);
    font-size: 2rem;
    margin: 0.35rem 0 0.75rem;
}

.hero-special-offer p {
    margin: 0 auto 1.2rem;
    max-width: 640px;
    font-size: 1rem;
}

.offer-kicker,
.offer-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #f8c537;
    color: #12355f;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.offer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.hero-special-offer .offer-actions {
    justify-content: center;
}

.checkout-return-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    flex-wrap: wrap;
    max-width: 860px;
    margin: 0 auto 1rem;
    padding: .8rem 1rem;
    border: 1px solid rgba(16, 185, 129, .35);
    border-radius: 8px;
    background: #ecfdf5;
    color: #065f46;
    box-shadow: var(--shadow-sm);
}

.checkout-return-banner strong,
.checkout-return-banner span {
    font-size: .95rem;
    line-height: 1.35;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--accent-green);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.desktop-phone-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.desktop-phone-actions .btn {
    min-width: 170px;
}

.mobile-floating-cart-link {
    position: fixed;
    top: 84px;
    right: 14px;
    z-index: 1200;
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #0b5bb5;
    color: #fff;
    background: #0866c7;
    box-shadow: 0 10px 24px rgba(8, 102, 199, 0.28);
    font-weight: 900;
    text-decoration: none;
}

.mobile-floating-cart-link svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.mobile-floating-cart-link.is-visible {
    display: none;
}

@media (max-width: 760px) {
    .mobile-floating-cart-link.is-visible {
        display: flex;
    }
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--white);
}

.btn-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-compact {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-mini {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}

.btn-discount {
    background-color: #e0f2fe;
    color: var(--primary-blue);
    border: 1px solid #bae6fd;
}

.btn-discount:hover {
    background-color: #bae6fd;
    color: var(--secondary-blue);
}

.btn-quote-sms {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    background: #f8c537;
    color: #12355f;
    border: 2px solid #f8c537;
    box-shadow: var(--shadow-md);
}

.btn-quote-sms:hover {
    background: #facc15;
    color: #0f2c4f;
    border-color: #facc15;
    transform: translateY(-2px);
}

.quote-sms-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #12355f;
    color: #fff;
    font-weight: 800;
    line-height: 1;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 80px 20px;
}

.special-offer-section {
    background: #f8fafc;
}

.special-offer-layout,
.offer-page-hero-grid,
.offer-flyer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 2rem;
    align-items: center;
}

.special-offer-copy h2,
.offer-page-copy h1,
.offer-flyer-layout h2 {
    color: var(--primary-blue);
    margin-top: 0.8rem;
}

.special-offer-copy p,
.offer-page-copy p,
.offer-flyer-layout p {
    color: var(--light-text);
    font-size: 1.05rem;
}

.offer-checklist {
    display: grid;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 1.4rem 0;
}

.offer-checklist li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--dark-text);
}

.offer-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--accent-green);
}

.offer-section-heading {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}

.offer-section-heading h2 {
    color: var(--primary-blue);
    margin: 0.8rem 0 0.6rem;
}

.offer-section-heading p {
    color: var(--light-text);
    font-size: 1.05rem;
}

.offer-bed-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.offer-bed-choice-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--accent-green);
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.offer-bed-choice-card img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
}

.offer-bed-choice-card h3 {
    color: var(--primary-blue);
    margin: 0.25rem 0 0;
}

.offer-bed-choice-card p {
    color: var(--light-text);
    margin: 0;
}

.offer-bed-price {
    display: grid;
    gap: 0.25rem;
    margin-top: auto;
    padding: 1rem;
    border-radius: 8px;
    background: #ecfdf5;
    color: var(--primary-blue);
}

.offer-bed-price span,
.offer-bed-price small {
    color: var(--light-text);
    font-weight: 600;
}

.offer-bed-price strong {
    font-size: 2rem;
    line-height: 1;
    text-transform: uppercase;
}

.offer-fee-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
    max-width: 430px;
    margin: 0.8rem auto 0;
    padding: 0.42rem 0.5rem;
    border-radius: 8px;
    background: var(--primary-blue);
    color: var(--white);
}

.offer-fee-summary div {
    display: grid;
    gap: 0.02rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.offer-fee-summary div:last-child {
    border-right: 0;
}

.offer-fee-summary span {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.68rem;
    line-height: 1.1;
}

.offer-fee-summary strong {
    font-size: 1rem;
    line-height: 1.15;
}

.special-offer-media {
    position: relative;
}

.special-offer-media img {
    width: 100%;
    min-height: 320px;
    max-height: 430px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.offer-card-note {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: var(--primary-blue);
    color: var(--white);
    display: grid;
    gap: 0.35rem;
}

.offer-card-note span {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.5;
}

.offer-page-hero {
    background: linear-gradient(135deg, #12355f 0%, #0f766e 58%, #f8c537 58%, #f8c537 100%);
    color: var(--white);
    padding: 90px 20px;
}

.offer-page-copy h1 {
    color: var(--white);
    font-size: 3.2rem;
    line-height: 1.08;
    margin-bottom: 1rem;
}

.offer-page-copy p {
    color: rgba(255, 255, 255, 0.92);
    max-width: 680px;
}

.offer-page-highlight {
    background: #f8c537;
    color: #12355f;
    border: 2px solid #12355f;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
}

.offer-page-highlight span {
    display: block;
    font-size: clamp(3.4rem, 8vw, 6rem);
    line-height: 0.95;
    font-weight: 900;
    text-transform: uppercase;
}

.offer-page-highlight strong {
    display: block;
    margin-top: 0.25rem;
    font-size: 1.55rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.offer-page-highlight p {
    margin: 1rem 0 0.35rem;
    color: #12355f;
    font-weight: 800;
    font-size: 1.25rem;
}

.offer-page-highlight small {
    color: #12355f;
    font-weight: 600;
}

.recovery-hub-feature {
    background: #ffffff;
    padding: 64px 20px;
}

.recovery-hub-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 2rem;
    align-items: center;
}

.recovery-hub-copy {
    max-width: 560px;
}

.recovery-hub-copy h2 {
    margin: 0.85rem 0 1rem;
    text-align: left;
    color: #12355f;
}

.recovery-hub-copy p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
    font-size: 1.08rem;
}

.recovery-hub-video {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #f8fafc;
    padding: 0.75rem;
    box-shadow: var(--shadow-lg);
}

.recovery-hub-video video {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 6px;
    background: #111827;
}

.offer-table-wrap {
    margin-top: 2rem;
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--white);
    box-shadow: var(--shadow);
}

.offer-pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.offer-pricing-table th {
    background: var(--primary-blue);
    color: var(--white);
    text-align: left;
    padding: 1rem;
}

.offer-pricing-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.offer-pricing-table tr:nth-child(even) td {
    background: #ecfdf5;
}

.offer-pricing-table tr:last-child td {
    border-bottom: 0;
}

.offer-disclaimer {
    margin-top: 1rem;
    color: var(--light-text);
    font-size: 0.95rem;
}

.offer-flyer-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
}

.flyer-preview-link {
    display: block;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.flyer-preview-img {
    display: block;
    width: 100%;
    height: auto;
}

.offer-terms-section {
    background: #f8fafc;
}

.offer-terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.offer-term-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-top: 4px solid #f8c537;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.offer-term-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.6rem;
}

.offer-term-card p {
    color: var(--light-text);
}

/* Features Section */
.features {
    background-color: var(--light-bg);
}

.features-grid,
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card,
.equipment-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-green);
}

.feature-card:hover,
.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

/* Featured Section */
.featured {
    background-color: var(--white);
}

.equipment-image {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.equipment-image-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.price {
    display: block;
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 1rem;
}

/* Page Header */
/* Pricing Page Styles */
.pricing-hero {
    padding: 30px 0;
    background-color: var(--light-bg);
    margin-bottom: 40px;
}

.pricing-hero-img {
    width: 50%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: block;
    margin: 0 auto;
}

.pricing-table td:first-child {
    width: 296px;
    min-width: 296px;
    text-align: center;
}

.pricing-thumb {
    width: 264px;
    height: 200px;
    object-fit: contain;
    padding: 6px;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.pricing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
    align-items: start;
}

.pricing-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pricing-actions .form-message {
    margin: 0;
}

.order-cell {
    min-width: 140px;
}

.order-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-controls select,
.order-controls input {
    width: 100%;
    padding: 0.4rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
}

.order-controls .add-to-cart {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.pricing-cart {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    position: sticky;
    top: 120px;
    box-shadow: var(--shadow);
}

.pricing-cart h3 {
    color: var(--primary-blue);
    text-align: left;
    margin-bottom: 1rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cart-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.cart-item-name {
    font-weight: 600;
    color: var(--dark-text);
}

.cart-item-meta {
    font-size: 0.85rem;
    color: var(--light-text);
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.cart-remove {
    background: #ff4444;
    border: 2px solid #cc0000;
    color: white;
    cursor: pointer;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(255, 68, 68, 0.3);
}

.cart-remove:hover {
    background: #cc0000;
    transform: scale(1.08);
    box-shadow: 0 4px 8px rgba(255, 68, 68, 0.5);
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    font-size: 1.1rem;
}

.cart-email-box {
    border: 1px dashed var(--border-color);
    background-color: var(--white);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.cart-email-box p {
    margin-bottom: 0.5rem;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 0.95rem;
}

.cart-email-box .btn {
    width: 100%;
}

.pricing-cart .btn-compact {
    width: 100%;
    font-size: calc(0.9rem + 5px);
}

.cart-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.cart-form input,
.cart-form textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-family: inherit;
    font-size: 0.95rem;
}

.cart-form textarea {
    resize: vertical;
    min-height: 200px;
}

.cart-empty {
    color: var(--light-text);
    font-style: italic;
}

.order-page {
    background-color: var(--light-bg);
}

.order-layout {
    display: block;
}

.order-grid {
    display: block;
    margin-top: 2rem;
}

.order-grid .pricing-table-wrapper {
    overflow-x: auto;
    max-height: 70vh;
    overflow-y: auto;
}

.order-page .pricing-cart {
    position: static;
}

.order-cart {
    margin-bottom: 2rem;
}

.order-intro h2 {
    text-align: left;
}

.order-intro p {
    max-width: 520px;
}

@media (max-width: 1100px) {
    .order-grid {
        display: block;
    }
}

@media (max-width: 1100px) {
    .pricing-layout {
        grid-template-columns: 1fr;
    }

    .pricing-cart {
        position: static;
    }
}

.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    color: var(--white);
    padding: 20px 20px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background-color: var(--light-bg);
}

.service-category {
    margin-bottom: 4rem;
}

.service-category h3 {
    color: var(--primary-blue);
    border-bottom: 3px solid var(--accent-green);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-item {
    background-color: var(--white);
    padding: 1.75rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-blue);
}

.service-item-special {
    border-left-color: #7c3aed;
    background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.14);
}

.service-item h4 {
    color: var(--primary-blue);
}

.service-item-special h4 {
    color: #5b21b6;
}

.service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: block;
}

.service-list {
    list-style: none;
    margin: 1.5rem 0;
}

.service-list li {
    padding: 0.4rem 0;
    color: var(--light-text);
    position: relative;
    padding-left: 1.5rem;
}

.service-list li:before {
    content: "";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.price-tag {
    display: inline-block;
    background-color: var(--light-green);
    color: var(--accent-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-it-works {
    background-color: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--accent-green);
    transition: all 0.3s ease;
}

.step-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-card h3 {
    color: var(--primary-blue);
}

.step-details {
    margin-top: 1.5rem;
}

.step-details ul {
    list-style: none;
}

.step-details li {
    padding: 0.5rem 0;
    color: var(--light-text);
    position: relative;
    padding-left: 1.5rem;
}

.step-details li:before {
    content: "â†’";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

/* ============================================
   BOOKING FORM
   ============================================ */

.booking-section,
.contact-section {
    background-color: var(--light-bg);
    padding: 60px 20px;
}

/* ============================================
   THANK YOU / SUCCESS PAGE
   ============================================ */

.thank-you-section {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 60px 20px;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.success-card {
    background: white;
    border-radius: 12px;
    padding: 50px 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.success-badge {
    margin-bottom: 30px;
}

.checkmark {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-card h2 {
    color: var(--dark-text);
    font-size: 2rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.confirmation-text {
    color: var(--light-text);
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.confirmation-details {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--primary-blue);
}

.detail-value {
    color: var(--dark-text);
    text-align: right;
}

.detail-value.success {
    color: #10b981;
    font-weight: 600;
}

.detail-value a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.detail-value a:hover {
    text-decoration: underline;
}

.return-section {
    margin: 35px 0;
}

.return-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.return-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.return-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.secondary-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.link-button {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-bottom: 2px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.link-button:hover {
    color: var(--secondary-blue);
    border-bottom-color: var(--secondary-blue);
}

/* Mobile responsive */
@media (max-width: 900px) {
    .success-card {
        padding: 35px 25px;
    }

    .success-card h2 {
        font-size: 1.6rem;
    }

    .confirmation-details {
        padding: 20px;
    }

    .detail-row {
        flex-direction: column;
        gap: 5px;
    }

    .detail-value {
        text-align: left;
    }

    .secondary-actions {
        flex-direction: column;
        gap: 10px;
    }

    .link-button {
        display: block;
        text-align: center;
    }
}

.booking-form,
.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 2rem auto 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.form-note {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 0.5rem;
    font-style: italic;
}

.form-message {
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-weight: 600;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-message.error {
    background-color: #fee2e2;
    color: #7f1d1d;
    border: 1px solid #ef4444;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-section {
    background-color: var(--white);
    padding-top: 10px;
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    border-top: 4px solid var(--primary-blue);
    box-shadow: var(--shadow);
}

.pricing-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.pricing-card h3 {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--accent-green);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.price-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.price-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.equipment-name {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.price-details {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.price-details span {
    font-size: 0.9rem;
    color: var(--light-text);
}

.daily, .weekly, .monthly {
    display: block;
    font-weight: 600;
    color: var(--accent-green);
}

/* ============================================
   PRICING TABLE
   ============================================ */

.pricing-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.pricing-table thead {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
}

.pricing-table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--secondary-blue);
}

.pricing-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--dark-text);
}

.pricing-table tbody tr:hover {
    background-color: var(--light-bg);
    transition: background-color 0.2s ease;
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table .category-header {
    background-color: var(--light-green);
    font-weight: 700;
    color: var(--primary-blue);
    padding: 1rem 1.5rem;
}

.pricing-table .category-header td {
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent-green);
}

/* Discounts Section */
.discounts {
    background-color: var(--light-bg);
}

.discount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.discount-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-green);
    text-align: center;
}

.discount-card h4 {
    color: var(--primary-blue);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h2 {
    text-align: left;
    color: var(--primary-blue);
}

.info-block {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.info-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-block h4 {
    color: var(--primary-blue);
}

.info-block ul {
    list-style: none;
    color: var(--light-text);
}

.info-block li {
    padding: 0.4rem 0;
}

.contact-form-container h2 {
    text-align: left;
}

.contact-form-container {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* ============================================
   CTA SECTIONS
   ============================================ */

.cta {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.cta-contact {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-light {
    background-color: var(--light-bg);
    text-align: center;
}

.cta-light h2 {
    color: var(--primary-blue);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    background-color: var(--white);
}

.faq-grid,
.faq-two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-green);
}

.faq-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--light-text);
    margin: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--accent-green);
}

.stars {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--dark-text);
    color: var(--white);
    padding: 4rem 20px 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: #d1d5db;
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--accent-green);
    font-weight: 600;
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.footer-section ul {
    list-style: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.95rem;
}

/* ============================================
   PRICING DETAILS
   ============================================ */

.pricing-details {
    background-color: var(--light-bg);
}

.details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.details-column h4 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.included-list,
.excluded-list {
    list-style: none;
}

.included-list li,
.excluded-list li {
    padding: 0.75rem 0;
    color: var(--light-text);
    position: relative;
    padding-left: 1.75rem;
    border-bottom: 1px solid var(--border-color);
}

.included-list li:before {
    content: "";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.excluded-list li:before {
    content: "";
    position: absolute;
    left: 0;
    color: var(--error-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ============================================
   PAYMENT METHODS
   ============================================ */

.payment-methods {
    background-color: var(--white);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.payment-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-blue);
}

.payment-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.payment-card ul {
    list-style: none;
}

.payment-card li {
    padding: 0.5rem 0;
    color: var(--light-text);
    position: relative;
    padding-left: 1.5rem;
}

.payment-card li:before {
    content: "â€¢";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* ============================================
   FLOATING CART PANEL
   ============================================ */

.floating-cart {
    position: fixed;
    right: 20px;
    top: 120px;
    width: 240px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    z-index: 100;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-color);
    background: var(--light-bg);
    border-radius: 8px 8px 0 0;
    cursor: move;
    user-select: none;
}

.floating-cart-header h3 {
    margin: 0;
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
}

.floating-cart-close {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: var(--light-text);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.floating-cart-close:hover {
    color: var(--primary-blue);
}

.floating-cart-items {
    flex: 1;
    padding: 8px 10px;
    overflow-y: auto;
    max-height: 250px;
}

.floating-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8rem;
}

.floating-cart-item:last-child {
    border-bottom: none;
}

.floating-cart-item-details {
    flex: 1;
    min-width: 0;
}

.floating-cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.floating-cart-item-name {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 2px;
    font-size: 0.85rem;
}

.floating-cart-item-meta {
    font-size: 0.7rem;
    color: var(--light-text);
    margin-bottom: 2px;
}

.floating-cart-item-qty {
    font-size: 0.75rem;
    color: var(--secondary-blue);
    font-weight: 500;
}

.floating-cart-item-price {
    text-align: right;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.85rem;
}

.floating-cart-remove {
    background: #ff4444;
    border: none;
    color: white;
    cursor: pointer;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.75rem;
    transition: background 0.2s;
    line-height: 1;
}

.floating-cart-remove:hover {
    background: #cc0000;
}

.floating-cart-empty {
    padding: 20px 10px;
    text-align: center;
    color: var(--light-text);
    font-size: 0.85rem;
}

.floating-cart-footer {
    padding: 8px 10px;
    border-top: 1px solid var(--border-color);
    background: var(--light-bg);
}

.floating-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.total-amount {
    color: var(--primary-blue);
    font-size: 1rem;
}

.floating-cart-footer .btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    margin-top: 6px;
}

.floating-cart-toggle {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
}

.floating-cart-toggle:hover {
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Toggle button that shows when cart is hidden (mobile) */
.floating-cart-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    z-index: 90;
    transition: all 0.3s ease;
}

.floating-cart-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .floating-cart {
        width: 220px;
        right: 10px;
        top: 110px;
    }
}

@media (max-width: 900px) {
    .floating-cart {
        position: fixed;
        right: 0;
        bottom: 0;
        top: auto;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 60vh;
        border-radius: 20px 20px 0 0;
        z-index: 200;
        animation: slideInUp 0.3s ease-out;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    }

    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .floating-cart-header {
        border-radius: 20px 20px 0 0;
        padding: 12px 15px;
        cursor: grab;
        position: relative;
    }

    /* Drag handle indicator */
    .floating-cart-header::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 2px;
    }

    .floating-cart-header h3 {
        font-size: 1rem;
        margin-top: 8px;
    }

    .floating-cart-items {
        max-height: calc(60vh - 160px);
        padding: 10px 15px;
    }

    .floating-cart-item {
        font-size: 0.85rem;
        padding: 8px 0;
    }

    .floating-cart-footer {
        padding: 12px 15px;
    }

    .floating-cart-toggle {
        bottom: 20px;
        right: 20px;
    }

    /* Add backdrop for better mobile UX */
    .floating-cart::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: -1;
    }
}

/* ============================================
   STRIPE PAYMENT MODAL
   ============================================ */

.payment-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 300;
    animation: fadeIn 0.3s ease-out;
}

.payment-modal-overlay.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.payment-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    height: 90vh;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 310;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

.payment-modal.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.payment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid var(--border-color);
    background: var(--light-bg);
    flex-shrink: 0;
}

.payment-modal-header h2 {
    margin: 0;
    color: var(--primary-blue);
    font-size: 1.3rem;
}

.payment-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--light-text);
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.payment-modal-close:hover {
    color: var(--primary-blue);
    transform: scale(1.15);
}

.payment-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* Mobile responsive */
@media (max-width: 900px) {
    .payment-modal {
        width: 95%;
        height: 95vh;
        max-height: calc(100vh - 20px);
    }
}

@media (max-width: 600px) {
    .payment-modal {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        top: 0;
        left: 0;
        transform: none;
    }

    .payment-modal-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
}

/* ============================================
   CHECKOUT REVIEW PAGE
   ============================================ */

.checkout-review {
    background-color: var(--white);
    padding: 4rem 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.checkout-cart {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.checkout-cart h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--light-text);
}

.cart-empty p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.checkout-summary {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--light-text);
}

.summary-row.total-row {
    border-top: 2px solid var(--border-color);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-text);
}

.checkout-actions {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.checkout-actions h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.checkout-note {
    color: var(--light-text);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.checkout-status {
    margin: -1rem 0 1.2rem;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.checkout-status-info {
    background-color: var(--light-bg);
    color: var(--primary-blue);
    border-color: var(--border-color);
}

.checkout-status-success {
    background-color: #eaf7ef;
    color: #1f7a43;
    border-color: #b9e3c8;
}

.checkout-status-error {
    background-color: #fdecec;
    color: #b4261a;
    border-color: #f3b3ad;
}

.checkout-status-row {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.checkout-status-row .checkout-status {
    flex: 1;
    margin: -1rem 0 0;
}

.checkout-status-retry {
    white-space: nowrap;
    padding: 0.55rem 0.9rem;
}

.checkout-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-buttons .btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
}

.checkout-buttons .btn-large span {
    font-size: 1.3rem;
}

.secure-badge {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.secure-badge p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Responsive checkout grid */
@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .checkout-actions {
        position: static;
    }
}

/* ============================================
   SERVICE AREA
   ============================================ */

.service-area {
    background-color: var(--light-bg);
}

.service-area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.service-cities h4 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.cities-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cities-list li {
    color: var(--light-text);
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.cities-list li:before {
    content: "";
    position: absolute;
    left: 0;
}

.map-placeholder {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.map-placeholder {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    color: var(--white);
    text-align: center;
    border-radius: 10px;
    padding: 3rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.note {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.note a {
    color: var(--primary-blue);
    font-weight: 600;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */

.why-choose {
    background-color: var(--white);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }

    .hamburger {
        display: none;
    }

    .nav-cart {
        width: 100%;
        justify-content: space-between;
        margin-top: 0.25rem;
    }

    .cart-box {
        flex: 1;
    }

    .hero-buttons,
    .cta-contact {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info h2,
    .contact-form-container h2 {
        text-align: center;
    }

    .details-content,
    .service-area-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    section {
        padding: 50px 20px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 530px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .nav-brand {
        gap: 0.5rem;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .logo-image {
        width: 100px;
        height: 200px;
    }

    .logo-placeholder {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .nav-menu {
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 60px 15px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 0.9rem 1.75rem;
        font-size: 1rem;
    }

    .step-card,
    .feature-card,
    .service-item,
    .pricing-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-details,
    .service-area {
        padding: 40px 15px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .cities-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.small {
    font-size: 0.85rem;
    color: var(--light-text);
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }

/* Payment Methods Styling */
.payment-methods {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.payment-methods h3 {
    margin-top: 0;
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.stripe-payment-section {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.stripe-payment-section h4 {
    margin: 0 0 10px 0;
    color: var(--primary-blue);
    font-size: 1rem;
}

.form-note {
    color: var(--light-text);
    font-size: 0.9rem;
    margin: 10px 0;
}

.stripe-payment-section a {
    display: block;
    text-align: center;
    text-decoration: none;
}

/* Floating Stripe Payment Panel */
.floating-stripe-panel {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    height: 80vh;
    max-height: 700px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-blue);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    animation: fadeInScale 0.3s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.floating-stripe-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 15px 15px 0 0;
    cursor: move;
    user-select: none;
}

.floating-stripe-header h3 {
    margin: 0;
    color: white;
    font-size: 1.3rem;
}

.floating-stripe-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    transition: background 0.3s;
}

.floating-stripe-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.floating-stripe-content {
    flex: 1;
    padding: 0;
    overflow: hidden;
    border-radius: 0 0 15px 15px;
}

.floating-stripe-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 0 15px 15px;
}
.py-3 { padding-top: 3rem; padding-bottom: 3rem; }

/* ============================================
   MOBILE ORDER PAGE - CARD LAYOUT
   ============================================ */

@media (max-width: 900px) {
    /* Hide table headers on mobile */
    .pricing-table thead {
        display: none;
    }

    /* Make table body display as block */
    .pricing-table,
    .pricing-table tbody,
    .pricing-table tr {
        display: block;
        width: 100%;
    }

    /* Category headers stay as full-width bars */
    .pricing-table .category-header {
        display: block;
        margin: 20px 0 10px 0;
        border-radius: 8px;
    }

    .pricing-table .category-header td {
        display: block;
        padding: 12px 15px;
        text-align: center;
        font-size: 0.9rem;
    }

    /* Transform each item row into a card */
    .pricing-table tbody tr.pricing-item {
        display: block;
        background: white;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        margin-bottom: 15px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .pricing-table tbody tr.pricing-item:hover {
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    /* Each cell becomes a block element */
    .pricing-table td {
        display: block;
        padding: 8px 0;
        border: none;
        text-align: left;
    }

    /* Image styling */
    .pricing-table td:first-child {
        text-align: center;
        margin-bottom: 10px;
    }

    .pricing-thumb {
        width: min(100%, 360px);
        height: 260px;
        max-width: 360px;
        max-height: none;
        object-fit: contain;
        padding: 8px;
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }

    /* Equipment name - larger and bold */
    .pricing-table tbody tr.pricing-item td:nth-child(2) {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--primary-blue);
        margin-bottom: 5px;
    }

    /* Model number */
    .pricing-table tbody tr.pricing-item td:nth-child(3) {
        font-size: 0.9rem;
        color: var(--light-text);
        margin-bottom: 10px;
    }

    /* Pricing info - create a grid */
    .pricing-table tbody tr.pricing-item td:nth-child(4),
    .pricing-table tbody tr.pricing-item td:nth-child(5),
    .pricing-table tbody tr.pricing-item td:nth-child(6) {
        display: inline-block;
        width: 32%;
        padding: 8px;
        background: var(--light-bg);
        border-radius: 6px;
        text-align: center;
        font-weight: 600;
        color: var(--primary-blue);
        margin-right: 1%;
        margin-bottom: 8px;
    }

    /* Add labels before pricing */
    .pricing-table tbody tr.pricing-item td:nth-child(4):before {
        content: "Daily: ";
        display: block;
        font-size: 0.75rem;
        color: var(--light-text);
        font-weight: 400;
        margin-bottom: 3px;
    }

    .pricing-table tbody tr.pricing-item td:nth-child(5):before {
        content: "Weekly: ";
        display: block;
        font-size: 0.75rem;
        color: var(--light-text);
        font-weight: 400;
        margin-bottom: 3px;
    }

    .pricing-table tbody tr.pricing-item td:nth-child(6):before {
        content: "Monthly: ";
        display: block;
        font-size: 0.75rem;
        color: var(--light-text);
        font-weight: 400;
        margin-bottom: 3px;
    }

    /* Key features */
    .pricing-table tbody tr.pricing-item td:nth-child(7) {
        font-size: 0.9rem;
        color: var(--dark-text);
        padding: 10px 0;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        margin: 10px 0;
    }

    .pricing-table tbody tr.pricing-item td:nth-child(7):before {
        content: "OK ";
        color: var(--accent-green);
        font-weight: bold;
    }

    /* Order controls cell */
    .pricing-table .order-cell {
        padding-top: 15px;
    }

    .order-controls {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .order-controls .rate-select,
    .order-controls .qty-input {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
        border: 2px solid var(--border-color);
        border-radius: 8px;
        background: white;
    }

    .order-controls .rate-select {
        background: var(--light-bg);
        font-weight: 600;
        color: var(--primary-blue);
    }

    .order-controls .qty-input {
        text-align: center;
        font-weight: 600;
    }

    .order-controls .btn {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 8px;
    }

    /* Order cart on mobile */
    .order-grid {
        display: flex;
        flex-direction: column-reverse;
    }

    .order-cart {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 15px;
        border-top: 2px solid var(--border-color);
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        margin-bottom: 0;
        z-index: 50;
    }

    .order-cart .cart-summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        background: var(--light-bg);
        border-radius: 8px;
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

    .order-cart .cart-form,
    .order-cart .cart-email-box {
        margin-top: 10px;
    }

    /* Improve table wrapper scrolling on mobile */
    .order-grid .pricing-table-wrapper {
        overflow-x: visible;
        max-height: none;
        overflow-y: visible;
    }

    .pricing-table-wrapper {
        overflow-x: visible;
    }
}

/* Extra small devices (phones in portrait, less than 600px) */
@media (max-width: 600px) {
    .pricing-table tbody tr.pricing-item {
        padding: 12px;
        margin-bottom: 12px;
    }

    .pricing-table tbody tr.pricing-item td:nth-child(2) {
        font-size: 1.1rem;
    }

    .pricing-thumb {
        width: min(100%, 340px);
        height: 244px;
        max-width: 340px;
        max-height: none;
    }

    /* Stack pricing in a single column on very small screens */
    .pricing-table tbody tr.pricing-item td:nth-child(4),
    .pricing-table tbody tr.pricing-item td:nth-child(5),
    .pricing-table tbody tr.pricing-item td:nth-child(6) {
        width: 100%;
        margin-right: 0;
        margin-bottom: 8px;
    }

    .order-cart {
        padding: 12px;
    }

    .order-cart .cart-summary {
        padding: 12px;
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    .special-offer-layout,
    .offer-page-hero-grid,
    .recovery-hub-grid,
    .offer-flyer-layout {
        grid-template-columns: 1fr;
    }

    .offer-page-hero {
        background: linear-gradient(135deg, #12355f 0%, #0f766e 100%);
        padding: 70px 20px;
    }

    .offer-page-copy h1 {
        font-size: 2.35rem;
    }

    .recovery-hub-copy {
        max-width: 100%;
    }

    .special-offer-media img {
        min-height: 240px;
    }
}

@media (max-width: 600px) {
    .hero-special-offer {
        padding: 1.1rem;
    }

    .hero-special-offer h2 {
        font-size: 1.55rem;
    }

    .offer-actions,
    .hero-special-offer .offer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .offer-actions .btn {
        width: 100%;
    }

    .offer-bed-choice-grid {
        grid-template-columns: 1fr;
    }

    .recovery-hub-feature {
        padding: 44px 20px;
    }

    .recovery-hub-copy h2 {
        font-size: 1.8rem;
    }

    .recovery-hub-video {
        padding: 0.45rem;
    }

    .offer-fee-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        padding: 0.5rem;
    }

    .offer-fee-summary div {
        border-right: 1px solid rgba(255, 255, 255, 0.22);
        border-bottom: 0;
        padding: 0 0.35rem;
    }

    .offer-fee-summary div:last-child {
        border-right: 0;
    }

    .offer-page-highlight {
        padding: 1.35rem;
    }

    .offer-page-highlight span {
        font-size: 3.4rem;
    }

    .offer-pricing-table {
        min-width: 620px;
    }
}

/* ============================================
HOME CARE PATHWAY PAGE
   ============================================ */

.care-home-page main {
    background: #ffffff;
}

.care-home-hero {
    padding: 86px 20px 52px;
    background:
        linear-gradient(135deg, rgba(18, 53, 95, 0.94), rgba(15, 118, 110, 0.86)),
        #12355f;
    color: #ffffff;
}

.care-home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 2rem;
    align-items: center;
}

.care-home-copy h1 {
    max-width: 720px;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: clamp(2.35rem, 4vw, 4.45rem);
    line-height: 1.03;
    letter-spacing: 0;
}

.care-home-copy p {
    max-width: 660px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.12rem;
}

.care-home-kicker {
    margin-bottom: 0.8rem;
    color: #bbf7d0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.care-home-hero-actions,
.care-home-center-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.care-home-media {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: #e5e7eb;
    box-shadow: var(--shadow-lg);
}

.care-home-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.care-home-logo-panel {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 2rem;
    background: #ffffff;
}

.care-home-logo-panel img {
    width: min(78%, 360px);
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.care-pathways,
.care-delivery-section,
.care-network-section {
    padding: 72px 20px;
}

.care-pathway-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.care-pathway-card,
.care-step,
.care-network-grid article {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(18, 53, 95, 0.08);
}

.care-pathway-card {
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 1.35rem;
}

.care-pathway-card-wide {
    grid-column: span 2;
}

.care-pathway-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: #dcfce7;
    color: #065f46;
    font-weight: 900;
}

.care-pathway-card h3,
.care-step h3,
.care-network-grid h2 {
    margin-bottom: 0.65rem;
    color: #12355f;
    line-height: 1.18;
}

.care-pathway-card p,
.care-step p,
.care-network-grid p,
.care-home-split p {
    color: var(--light-text);
    line-height: 1.65;
}

.care-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 1.15rem;
}

.care-card-actions a,
.care-package-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    border-radius: 6px;
    background: #e0f2fe;
    color: #12355f;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.care-card-actions a:first-child {
    background: #12355f;
    color: #ffffff;
}

.care-card-actions a:hover,
.care-package-list a:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.care-home-band {
    padding: 72px 20px;
    background: #f8fafc;
}

.care-home-split,
.care-network-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: start;
}

.care-home-split h2,
.care-delivery-section h2,
.care-network-grid h2 {
    color: #12355f;
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    line-height: 1.1;
}

.care-package-list {
    display: grid;
    gap: 0.8rem;
}

.care-rehab-stack {
    display: grid;
    gap: 1rem;
}

.care-rehab-image {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(18, 53, 95, 0.08);
}

.care-rehab-image img {
    display: block;
    width: 100%;
    height: auto;
}

.care-package-list a {
    display: grid;
    justify-content: start;
    gap: 0.2rem;
    min-height: auto;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    text-align: left;
}

.care-package-list span {
    color: var(--light-text);
    font-weight: 500;
}

.care-step-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.care-delivery-image {
    max-width: 980px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(18, 53, 95, 0.08);
}

.care-delivery-image img {
    display: block;
    width: 100%;
    height: auto;
}

.care-step {
    padding: 1.2rem;
}

.care-step span {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: #0f766e;
    font-weight: 900;
}

.care-network-section {
    background: #fefce8;
}

.care-network-grid article {
    min-height: 320px;
    padding: 1.6rem;
    background: #ffffff;
}

.care-network-grid .btn {
    margin-top: 1.25rem;
}

.care-home-cta p {
    max-width: 720px;
    margin: 0.5rem auto 1.2rem;
    color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 980px) {
    .care-home-hero-grid,
    .care-home-split,
    .care-network-grid {
        grid-template-columns: 1fr;
    }

    .care-pathway-grid,
    .care-step-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .care-pathway-card-wide {
        grid-column: span 2;
    }
}

@media (max-width: 620px) {
    .care-home-hero {
        padding-top: 58px;
    }

    .care-home-copy h1 {
        font-size: 2.25rem;
    }

    .care-pathway-grid,
    .care-step-row {
        grid-template-columns: 1fr;
    }

    .care-pathway-card-wide {
        grid-column: span 1;
    }

    .care-card-actions,
    .care-home-hero-actions,
    .care-home-center-actions {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .care-home-hero-actions .btn,
    .care-home-center-actions .btn {
        width: 100%;
    }
}

/* ============================================
   TEST CARE GUIDE PAGE
   ============================================ */

.care-guide-page main {
    background: #ffffff;
}

.care-guide-hero {
    padding: 84px 20px 54px;
    background:
        linear-gradient(135deg, rgba(18, 53, 95, 0.96), rgba(6, 95, 70, 0.88)),
        #12355f;
    color: #ffffff;
}

.care-guide-hero-grid,
.care-guide-feature,
.care-guide-audience-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 2rem;
    align-items: center;
}

.care-guide-hero-grid-single {
    grid-template-columns: minmax(0, 880px);
    justify-content: start;
}

.care-guide-copy h1 {
    max-width: 760px;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: clamp(2.3rem, 4vw, 4.3rem);
    line-height: 1.03;
    letter-spacing: 0;
}

.care-guide-copy p,
.care-guide-cta p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.91);
    font-size: 1.1rem;
    line-height: 1.7;
}

.care-guide-kicker {
    margin-bottom: 0.8rem;
    color: #bbf7d0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.care-guide-actions,
.care-guide-center-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.care-guide-fast-panel {
    display: grid;
    gap: 0.85rem;
    justify-items: start;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: #ffffff;
    color: #12355f;
    box-shadow: var(--shadow-lg);
}

.care-guide-fast-panel img {
    width: min(240px, 80%);
    aspect-ratio: 1 / 1;
    object-fit: contain;
    justify-self: center;
}

.care-guide-fast-panel h2 {
    margin: 0;
    color: #12355f;
    font-size: 1.8rem;
}

.care-guide-fast-panel p {
    color: var(--light-text);
    line-height: 1.6;
}

.care-guide-order-menu a,
.care-guide-order-menu .nav-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 40px;
    margin: 0;
    padding-right: 0.65rem;
    padding-left: 0.65rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #f8fafc;
    box-sizing: border-box;
    line-height: 1.2;
    text-align: center;
    vertical-align: top;
}

.nav-menu.care-guide-order-menu {
    gap: 0.5rem;
    flex-wrap: wrap;
}

.care-guide-order-menu > li {
    display: flex;
    align-items: center;
}

.care-guide-order-menu a.active,
.care-guide-order-menu a:hover,
.care-guide-order-menu .nav-menu-button.active,
.care-guide-order-menu .nav-menu-button:hover,
.care-guide-order-menu .nav-menu-dropdown.is-active .nav-menu-button {
    border-color: var(--primary-blue);
    background: #e0f2fe;
}

.care-guide-side-nav {
    position: fixed;
    top: var(--site-guide-offset, 188px);
    right: 16px;
    z-index: 50;
    display: grid;
    gap: 0.45rem;
    width: 210px;
    padding: 0.65rem;
    border: 1px solid rgba(18, 53, 95, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(18, 53, 95, 0.16);
    backdrop-filter: blur(8px);
}

.care-guide-side-heading {
    margin: 0 0 0.2rem;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.care-guide-side-item {
    display: block;
    overflow: hidden;
    padding: 0.62rem 0.7rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #ffffff;
    color: #12355f;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.care-guide-side-item:hover,
.care-guide-side-item:focus {
    border-color: #14b8a6;
    box-shadow: 0 8px 18px rgba(18, 53, 95, 0.12);
    transform: translateX(-2px);
    outline: none;
}

.care-guide-side-title {
    display: block;
    color: #12355f;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.18;
}

.care-guide-side-detail {
    display: block;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    color: var(--light-text);
    font-size: 0.78rem;
    line-height: 1.35;
    opacity: 0;
    transition: max-height 0.24s ease, margin-top 0.24s ease, opacity 0.2s ease;
}

.care-guide-side-item:hover .care-guide-side-detail,
.care-guide-side-item:focus .care-guide-side-detail {
    max-height: 96px;
    margin-top: 0.35rem;
    opacity: 1;
}

.care-guide-paths,
.care-guide-showcase,
.care-guide-audience {
    padding: 72px 20px;
}

.care-guide-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.care-guide-card,
.care-guide-showcase-card,
.care-guide-audience-grid article {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(18, 53, 95, 0.08);
}

.care-guide-card {
    display: flex;
    flex-direction: column;
    min-height: 335px;
    padding: 1.25rem;
}

.care-guide-card-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: #dcfce7;
    color: #065f46;
    font-weight: 900;
}

.care-guide-card h3,
.care-guide-feature h2,
.care-guide-showcase-card h3,
.care-guide-audience-grid h2 {
    margin-bottom: 0.7rem;
    color: #12355f;
    line-height: 1.18;
}

.care-guide-card p,
.care-guide-feature p,
.care-guide-showcase-card p,
.care-guide-audience-grid p {
    color: var(--light-text);
    line-height: 1.65;
}

.care-guide-link-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 1.15rem;
}

.care-guide-link-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    border-radius: 6px;
    background: #e0f2fe;
    color: #12355f;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.care-guide-link-row a:first-child {
    background: #12355f;
    color: #ffffff;
}

.care-guide-link-row a:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.care-guide-band {
    padding: 72px 20px;
    background: #f8fafc;
}

.care-guide-feature {
    align-items: start;
}

.care-guide-feature h2,
.care-guide-audience-grid h2 {
    font-size: clamp(1.85rem, 3vw, 2.65rem);
}

.care-guide-checks {
    display: grid;
    gap: 0.55rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.care-guide-checks li {
    position: relative;
    padding-left: 1.7rem;
    color: #12355f;
    font-weight: 700;
}

.care-guide-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #14b8a6;
}

.care-guide-image,
.care-guide-showcase-card {
    overflow: hidden;
}

.care-guide-image {
    margin: 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(18, 53, 95, 0.08);
}

.care-guide-image img,
.care-guide-showcase-card img {
    display: block;
    width: 100%;
    height: auto;
}

.care-guide-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.care-guide-showcase-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.care-guide-showcase-card h3,
.care-guide-showcase-card p {
    padding-right: 1.15rem;
    padding-left: 1.15rem;
}

.care-guide-showcase-card h3 {
    padding-top: 1.15rem;
}

.care-guide-showcase-card p {
    padding-bottom: 1.2rem;
}

.care-guide-center-actions {
    justify-content: center;
}

.care-guide-audience {
    background: #fefce8;
}

.care-guide-audience-grid article {
    min-height: 300px;
    padding: 1.6rem;
}

.care-guide-audience-grid article .btn {
    margin-top: 1.1rem;
}

.care-guide-cta p {
    margin: 0.5rem auto 1.2rem;
}

@media (max-width: 1100px) {
    .care-guide-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1180px) {
    .care-guide-page main .container {
        max-width: 980px;
    }

    .care-guide-side-nav {
        top: var(--site-guide-offset, 318px);
        width: 200px;
    }

    .site-guide-nav-page:not(.care-guide-page) .care-guide-side-nav {
        top: var(--site-guide-offset, 188px);
    }

    .site-guide-nav-page:not(.care-guide-page) main .container {
        max-width: 1200px;
    }
}

@media (max-width: 1179px) {
    .care-guide-side-nav {
        position: static;
        width: auto;
        margin: 1rem 20px 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .care-guide-side-heading {
        grid-column: 1 / -1;
    }

    .care-guide-side-detail {
        max-height: none;
        margin-top: 0.3rem;
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .care-guide-hero-grid,
    .care-guide-feature,
    .care-guide-audience-grid,
    .care-guide-showcase-grid {
        grid-template-columns: 1fr;
    }

    .care-guide-side-nav {
        position: static;
        width: auto;
        margin: 1rem 20px 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .care-guide-side-heading {
        grid-column: 1 / -1;
    }

    .care-guide-side-detail {
        max-height: none;
        margin-top: 0.3rem;
        opacity: 1;
    }
}

@media (max-width: 620px) {
    .care-guide-hero {
        padding-top: 58px;
    }

    .care-guide-page .nav-menu {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.35rem;
        overflow-x: visible;
    }

    .care-guide-page .nav-menu a {
        min-height: 32px;
        padding: 0.25rem 0.35rem;
        border: 1px solid var(--border-color);
        border-radius: 6px;
        background: #f8fafc;
        font-size: 0.72rem;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
    }

    .care-guide-page .nav-menu a.active {
        border-color: var(--primary-blue);
        background: #e0f2fe;
    }

    .care-guide-page .nav-menu.care-guide-order-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.35rem;
        overflow-x: visible;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu a,
    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-button {
        width: 100%;
        min-height: 32px;
        padding: 0.25rem 0.35rem;
        border: 1px solid var(--border-color);
        border-radius: 6px;
        background: #f8fafc;
        font-size: 0.72rem;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu a.active,
    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-button.active,
    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown.is-active .nav-menu-button {
        border-color: var(--primary-blue);
        background: #e0f2fe;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown {
        min-width: 0;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown-panel {
        position: static;
        display: none;
        min-width: 0;
        width: 100%;
        margin-top: 0.35rem;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown:hover .nav-menu-dropdown-panel,
    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown:focus-within .nav-menu-dropdown-panel,
    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown.is-open .nav-menu-dropdown-panel {
        display: grid;
        transform: none;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown-option {
        white-space: normal;
        text-align: left;
    }

    .care-guide-side-nav {
        grid-template-columns: 1fr;
    }

    .care-guide-copy h1 {
        font-size: 2.2rem;
    }

    .care-guide-card-grid {
        grid-template-columns: 1fr;
    }

    .care-guide-actions,
    .care-guide-center-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .care-guide-actions .btn,
    .care-guide-center-actions .btn {
        width: 100%;
    }
}

/* ============================================
   SITE GUIDE COLLAPSED DESKTOP RAIL
   ============================================ */

@media (min-width: 1180px) and (hover: hover) {
    .site-guide-nav-page .care-guide-side-nav {
        width: 138px;
        max-height: calc(100vh - var(--site-guide-offset, 188px) - 18px);
        overflow: hidden;
        padding: 0.78rem 0.9rem;
        border-color: rgba(18, 53, 95, 0.14);
        background: rgba(255, 255, 255, 0.26);
        box-shadow: 0 10px 24px rgba(18, 53, 95, 0.08);
        opacity: 0.48;
        backdrop-filter: blur(10px);
        transition: width 0.24s ease, padding 0.24s ease, opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    }

    .site-guide-nav-page .care-guide-side-nav:hover,
    .site-guide-nav-page .care-guide-side-nav:focus-within {
        width: 220px;
        padding: 0.65rem;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 14px 34px rgba(18, 53, 95, 0.2);
        opacity: 1;
        overflow-y: auto;
    }

    .site-guide-nav-page .care-guide-side-nav:focus {
        outline: 2px solid rgba(20, 184, 166, 0.45);
        outline-offset: 3px;
    }

    .site-guide-nav-page .care-guide-side-heading {
        display: grid;
        min-height: auto;
        margin: 0;
        place-items: center;
        color: rgba(18, 53, 95, 0.86);
        font-size: 0;
        writing-mode: horizontal-tb;
        transform: none;
        transition: min-height 0.2s ease, margin 0.2s ease, transform 0.2s ease, writing-mode 0.2s ease;
    }

    .site-guide-nav-page .care-guide-side-heading::after {
        content: "Resources";
        color: #7c3aed;
        font-size: 1.15rem;
        font-weight: 1000;
        line-height: 1;
        letter-spacing: 0.01em;
        text-transform: uppercase;
        text-shadow: 0 0 12px rgba(124, 58, 237, 0.38);
    }

    .site-guide-nav-page .care-guide-side-nav:hover .care-guide-side-heading,
    .site-guide-nav-page .care-guide-side-nav:focus-within .care-guide-side-heading {
        min-height: 0;
        margin: 0 0 0.2rem;
        color: #64748b;
        font-size: 0.72rem;
        writing-mode: horizontal-tb;
        transform: none;
    }

    .site-guide-nav-page .care-guide-side-nav:hover .care-guide-side-heading::after,
    .site-guide-nav-page .care-guide-side-nav:focus-within .care-guide-side-heading::after {
        content: "";
        display: none;
    }

    .site-guide-nav-page .care-guide-side-item {
        display: none;
        max-height: 0;
        min-height: 0;
        padding: 0;
        border-width: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateX(8px);
        transition: max-height 0.2s ease, padding 0.2s ease, border-width 0.2s ease, opacity 0.18s ease, transform 0.18s ease, box-shadow 0.2s ease;
    }

    .site-guide-nav-page .care-guide-side-nav:hover .care-guide-side-item,
    .site-guide-nav-page .care-guide-side-nav:focus-within .care-guide-side-item {
        display: block;
        max-height: 88px;
        min-height: 0;
        padding: 0.62rem 0.7rem;
        border-width: 1px;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .site-guide-nav-page .care-guide-side-nav:hover .care-guide-side-item:hover,
    .site-guide-nav-page .care-guide-side-nav:focus-within .care-guide-side-item:focus {
        max-height: 150px;
    }
}

@media (max-width: 768px) {
    .contact-grid,
    .contact-grid > *,
    .contact-info,
    .contact-form-container {
        min-width: 0;
        max-width: 100%;
    }
}

/* AFTER SURGERY RECOVERY SUPPORT LANDING PAGE */
.recovery-support-page {
    background: #f6fbfa;
    color: #18324a;
}

.recovery-support-page main {
    background: #f6fbfa;
}

.recovery-support-page .site-equipment-collage,
.recovery-support-page .care-guide-side-nav,
.recovery-support-page .nav-cart {
    display: none !important;
}

.recovery-hero {
    background:
        radial-gradient(circle at 10% 12%, rgba(26, 188, 156, 0.18), transparent 28%),
        linear-gradient(135deg, #edf9f7 0%, #f8fbff 54%, #fff8ef 100%);
    border-top: 4px solid #0874d1;
    padding: 56px 0 58px;
}

.recovery-hero-grid,
.recovery-provides-grid,
.recovery-box-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 42px;
    align-items: center;
}

.recovery-hero-copy h1 {
    color: #0c3156;
    font-size: 3.15rem;
    line-height: 1.03;
    margin: 0 0 22px;
    letter-spacing: 0;
}

.recovery-hero-copy p,
.recovery-provides-grid p,
.recovery-box-grid p,
.recovery-vision-card p {
    color: #3f5870;
    font-size: 1.08rem;
    line-height: 1.75;
}

.recovery-kicker {
    color: #0c7f7a;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.recovery-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.recovery-hero-panel,
.recovery-box-card,
.recovery-vision-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #cfe1e8;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(21, 65, 94, 0.12);
}

.recovery-hero-panel {
    padding: 26px;
}

.recovery-hero-panel img {
    display: block;
    width: min(170px, 64%);
    margin: 0 auto 22px;
}

.recovery-hero-checklist {
    display: grid;
    gap: 12px;
}

.recovery-hero-checklist span,
.recovery-provides-list span {
    position: relative;
    background: #f3fbf7;
    border: 1px solid #cae7dc;
    border-radius: 8px;
    color: #173b4f;
    font-weight: 800;
    padding: 11px 14px 11px 38px;
}

.recovery-hero-checklist span::before,
.recovery-provides-list span::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #18b985;
    transform: translateY(-50%);
}

.recovery-section {
    padding: 74px 0;
}

.recovery-section-header {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.recovery-section-header h2,
.recovery-provides-grid h2,
.recovery-box-grid h2,
.recovery-vision-card h2,
.recovery-final-cta h2 {
    color: #0c3156;
    font-size: 2.25rem;
    line-height: 1.16;
    margin: 0 0 14px;
    letter-spacing: 0;
}

.recovery-section-header p {
    color: #53697d;
    line-height: 1.65;
}

.recovery-audience-grid,
.recovery-package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.recovery-audience-grid article,
.recovery-package-card,
.recovery-steps article {
    background: #ffffff;
    border: 1px solid #d7e5ea;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(22, 58, 83, 0.08);
}

.recovery-audience-grid article {
    padding: 24px;
}

.recovery-audience-grid h3,
.recovery-package-card h3,
.recovery-box-card h3,
.recovery-steps h3 {
    color: #113a5e;
    font-size: 1.14rem;
    margin: 0 0 10px;
}

.recovery-audience-grid p,
.recovery-package-card p,
.recovery-steps p,
.recovery-box-card li {
    color: #5b6f80;
    line-height: 1.62;
}

.recovery-provides-section,
.recovery-box-section {
    background: #ffffff;
}

.recovery-provides-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.recovery-package-section {
    background: linear-gradient(180deg, #f6fbfa 0%, #eef8f6 100%);
}

.recovery-package-card {
    display: flex;
    flex-direction: column;
    min-height: 560px;
    padding: 26px;
}

.recovery-package-featured {
    border-color: #17b981;
    box-shadow: 0 18px 36px rgba(21, 122, 101, 0.16);
}

.recovery-badge {
    align-self: flex-start;
    background: #e7f8f0;
    border: 1px solid #bfe9d5;
    border-radius: 999px;
    color: #0b7a62;
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 14px;
    padding: 6px 10px;
}

.recovery-price {
    color: #0a70c7 !important;
    font-size: 1.04rem;
    font-weight: 900;
    margin: 0 0 12px;
}

.recovery-shipment {
    background: #f7fbff;
    border: 1px solid #d9e9f3;
    border-radius: 8px;
    margin: 18px 0 22px;
    padding: 16px;
}

.recovery-shipment h4 {
    color: #0c3156;
    font-size: 0.92rem;
    font-weight: 900;
    margin: 0 0 10px;
}

.recovery-shipment ul {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.recovery-shipment li {
    color: #52687a;
    font-size: 0.9rem;
    line-height: 1.42;
    padding-left: 18px;
    position: relative;
}

.recovery-shipment li::before {
    background: #18b985;
    border-radius: 50%;
    content: "";
    height: 7px;
    left: 0;
    position: absolute;
    top: 0.52em;
    width: 7px;
}

.recovery-card-link {
    align-items: center;
    background: #0a70c7;
    border-radius: 8px;
    color: #ffffff;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    margin-top: auto;
    min-height: 44px;
    padding: 11px 16px;
    text-decoration: none;
}

.recovery-card-link:hover {
    background: #085a9f;
    color: #ffffff;
}

.recovery-card-link.is-processing {
    opacity: 0.72;
    pointer-events: none;
}

.recovery-package-note {
    color: #5b6f80;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 18px auto 0;
    max-width: 880px;
    text-align: center;
}

.recovery-package-checkout-message {
    border-radius: 8px;
    display: none;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.55;
    margin: 16px auto 0;
    max-width: 900px;
    padding: 12px 16px;
    text-align: center;
}

.recovery-package-checkout-message.is-visible {
    display: block;
}

.recovery-package-checkout-message.is-info {
    background: #eef7ff;
    border: 1px solid #bcdcff;
    color: #0b4d80;
}

.recovery-package-checkout-message.is-error {
    background: #fff4ed;
    border: 1px solid #ffc4a3;
    color: #9a3412;
}

.recovery-box-card {
    padding: 28px;
}

.recovery-box-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.recovery-box-card li {
    background: #f8fbff;
    border: 1px solid #d8e6ef;
    border-radius: 8px;
    font-weight: 800;
    padding: 12px 14px;
}

.recovery-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.recovery-steps article {
    padding: 24px;
}

.recovery-steps span {
    align-items: center;
    background: #fff2df;
    border: 1px solid #f5d7a4;
    border-radius: 50%;
    color: #9c5b00;
    display: inline-flex;
    font-weight: 900;
    height: 40px;
    justify-content: center;
    margin-bottom: 18px;
    width: 40px;
}

.recovery-vision-section {
    background: #fdf8ef;
}

.recovery-vision-card {
    padding: 34px;
    text-align: center;
}

.recovery-final-cta {
    background: linear-gradient(135deg, #0a5d91 0%, #0b7f7a 100%);
    color: #ffffff;
    padding: 74px 0;
    text-align: center;
}

.recovery-final-cta h2 {
    color: #ffffff;
    margin-bottom: 10px;
}

.recovery-final-cta .recovery-actions {
    justify-content: center;
}

@media (max-width: 980px) {
    .recovery-hero-grid,
    .recovery-provides-grid,
    .recovery-box-grid {
        grid-template-columns: 1fr;
    }

    .recovery-audience-grid,
    .recovery-package-grid,
    .recovery-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .recovery-hero {
        padding: 42px 0 48px;
    }

    .recovery-hero-copy h1 {
        font-size: 2.3rem;
    }

    .recovery-section {
        padding: 54px 0;
    }

    .recovery-section-header {
        text-align: left;
    }

    .recovery-section-header h2,
    .recovery-provides-grid h2,
    .recovery-box-grid h2,
    .recovery-vision-card h2,
    .recovery-final-cta h2 {
        font-size: 1.85rem;
    }

    .recovery-audience-grid,
    .recovery-package-grid,
    .recovery-provides-list,
    .recovery-box-card ul,
    .recovery-steps {
        grid-template-columns: 1fr;
    }

    .recovery-actions .btn {
        width: 100%;
    }

    .recovery-hero-panel,
    .recovery-box-card,
    .recovery-vision-card {
        padding: 22px;
    }
}



/* Care weekly/monthly catalog update */
.Care-package-grid { align-items: stretch; }
.Care-package-card { display: flex; flex-direction: column; }
.Care-package-card .btn { margin-top: auto; }
.pricing-table tbody tr.pricing-item td:nth-child(4):before { content: "Weekly: "; }
.pricing-table tbody tr.pricing-item td:nth-child(5):before { content: "Monthly: "; }
.pricing-table tbody tr.pricing-item td:nth-child(6):before { content: "Buy: "; }
.pricing-table tbody tr.pricing-item td:nth-child(7):before { content: ""; }

/* Order page mobile redesign */
@media (max-width: 900px) {
    .order-page {
        padding-top: 12px;
    }

    .order-page .container {
        width: min(100% - 24px, 720px);
    }

    .order-page .order-intro {
        display: none !important;
    }

    .order-page .order-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 0;
    }

    .order-page .pricing-table-wrapper {
        overflow: visible;
        max-width: none;
        border: 0;
        background: transparent;
    }

    .order-page .pricing-table,
    .order-page .pricing-table tbody,
    .order-page .pricing-table tbody tr.pricing-item {
        display: block;
        width: 100%;
    }

    .order-page .pricing-table tbody tr.pricing-item {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 10px;
        max-width: 420px;
        padding: 14px;
        margin: 0 auto 14px;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        background: var(--white);
        box-shadow: 0 5px 18px rgba(15, 23, 42, 0.09);
    }

    .order-page .pricing-table tbody tr.pricing-item td {
        display: block;
        width: 100%;
        padding: 0;
        border: 0;
        text-align: left;
        grid-column: 1 / -1;
    }

    .order-page .pricing-table tbody tr.pricing-item td:first-child {
        order: 5;
        margin-bottom: 12px;
        text-align: center;
    }

    .order-page .medline-product-image-link {
        display: block;
    }

    .order-page .pricing-thumb {
        width: 100%;
        max-width: 330px;
        height: 220px;
        object-fit: contain;
        padding: 10px;
        background: #fff;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        box-shadow: none;
    }

    .order-page .pricing-table tbody tr.pricing-item td:nth-child(2) {
        order: 1;
        margin-bottom: 4px;
        color: var(--primary-blue);
        font-size: 1.14rem;
        font-weight: 800;
        line-height: 1.25;
    }

    .order-page .pricing-table tbody tr.pricing-item td:nth-child(3) {
        order: 2;
        margin-bottom: 12px;
        color: var(--light-text);
        font-size: 0.88rem;
        font-weight: 700;
    }

    .order-page .pricing-table tbody tr.pricing-item td:nth-child(3)::before {
        content: "Care item: ";
        font-weight: 600;
    }

    .order-page .pricing-table tbody tr.pricing-item td:nth-child(4),
    .order-page .pricing-table tbody tr.pricing-item td:nth-child(5),
    .order-page .pricing-table tbody tr.pricing-item td:nth-child(6) {
        display: flex;
        flex-direction: column;
        justify-content: center;
        order: 3;
        grid-column: auto;
        width: 100%;
        min-height: 58px;
        margin: 0 0 10px;
        padding: 9px 10px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background: var(--light-bg);
        color: var(--primary-blue);
        font-size: 1.02rem;
        font-weight: 800;
        text-align: center;
        vertical-align: top;
    }

    .order-page .pricing-table tbody tr.pricing-item td:nth-child(4) {
        margin-right: 0;
    }

    .order-page .pricing-table tbody tr.pricing-item td:nth-child(4)::before,
    .order-page .pricing-table tbody tr.pricing-item td:nth-child(5)::before,
    .order-page .pricing-table tbody tr.pricing-item td:nth-child(6)::before {
        display: block;
        margin-bottom: 3px;
        color: var(--light-text);
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
    }

    .order-page .pricing-table tbody tr.pricing-item td:nth-child(4)::before {
        content: "Weekly";
    }

    .order-page .pricing-table tbody tr.pricing-item td:nth-child(5)::before {
        content: "Monthly";
    }

    .order-page .pricing-table tbody tr.pricing-item td:nth-child(6)::before {
        content: "Buy";
    }

    .order-page .pricing-table tbody tr.pricing-item td:nth-child(7) {
        order: 6;
        margin: 2px 0 12px;
        padding: 10px 0;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        color: var(--dark-text);
        font-size: 0.93rem;
        font-weight: 500;
        line-height: 1.45;
    }

    .order-page .pricing-table tbody tr.pricing-item td:nth-child(7)::before {
        content: "Description";
        display: block;
        margin-bottom: 4px;
        color: var(--light-text);
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
    }

    .order-page .pricing-table tbody tr.pricing-item td.order-cell {
        order: 4;
        margin-top: 0;
        margin-bottom: 14px;
        padding: 0;
    }

    .order-page .pricing-table tbody tr.pricing-item td.order-cell::before {
        content: none;
    }

    .order-page .order-controls {
        display: grid;
        grid-template-columns: minmax(120px, 1fr) 64px minmax(78px, 0.78fr);
        gap: 8px;
        align-items: stretch;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .order-page .order-controls .rate-select,
    .order-page .order-controls .qty-input,
    .order-page .order-controls .btn {
        width: 100%;
        min-width: 0;
        height: 46px;
        padding: 0 10px;
        border-radius: 8px;
        font-size: 0.92rem;
    }

    .order-page .order-controls .rate-select,
    .order-page .order-controls .qty-input {
        border: 1px solid var(--border-color);
    }

    .order-page .order-controls .qty-input {
        text-align: center;
        font-weight: 700;
    }

    .order-page .order-controls .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 8px;
        font-weight: 800;
        white-space: nowrap;
    }

    .order-page .order-cart {
        display: none;
    }
}

@media (max-width: 390px) {
    .order-page .container {
        width: min(100% - 18px, 720px);
    }

    .order-page .pricing-table tbody tr.pricing-item {
        padding: 12px;
    }

    .order-page .pricing-thumb {
        height: 198px;
    }

    .order-page .order-controls {
        grid-template-columns: minmax(104px, 1fr) 56px 68px;
        gap: 6px;
    }

    .order-page .order-controls .rate-select,
    .order-page .order-controls .qty-input,
    .order-page .order-controls .btn {
        height: 44px;
        padding: 0 6px;
        font-size: 0.82rem;
    }
}

/* Mobile nav dropdown correction: open menus as a centered full-width panel. */
@media (max-width: 900px) {
    .site-guide-nav-page .nav-menu.care-guide-order-menu {
        position: relative;
        overflow: visible;
        z-index: 180;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown {
        position: static;
        min-width: 0;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown-panel {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 8px);
        display: none;
        width: 100%;
        min-width: 0;
        max-height: min(52vh, 360px);
        overflow-y: auto;
        padding: 8px;
        border-radius: 10px;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
        z-index: 220;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown:hover .nav-menu-dropdown-panel,
    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown:focus-within .nav-menu-dropdown-panel {
        display: none;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown.is-open .nav-menu-dropdown-panel {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown-option {
        min-height: 42px;
        padding: 9px 10px;
        white-space: normal;
        text-align: center;
        font-size: 0.86rem;
        line-height: 1.18;
    }
}



.medline-pricing-thumb {
    object-fit: contain;
    background: #ffffff;
    border: 1px solid var(--border-color);
}


/* Product image rental-price overlay */
.medline-product-image-link {
    position: relative;
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.medline-product-image-link .medline-pricing-thumb {
    display: block;
    width: 100%;
}

.rental-price-overlay {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #0069a8;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.1;
    box-shadow: 0 8px 18px rgba(0, 87, 135, 0.28);
}

.medline-product-image-link:hover .rental-price-overlay,
.medline-product-image-link:focus .rental-price-overlay {
    background: #005486;
}


/* Professional order catalog image layout */
.order-page .pricing-table td:first-child {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
}

.order-page .medline-product-image-link {
    position: relative;
    display: block;
    width: 200px;
    min-height: 158px;
    margin: 0 auto;
    padding: 8px;
    border: 1px solid #d9e5ee;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.order-page .medline-product-image-link .medline-pricing-thumb {
    width: 100%;
    height: 140px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    border: 0;
    background: #ffffff;
}

.order-page .rental-price-overlay {
    left: 8px;
    bottom: 8px;
    min-height: 30px;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
}

@media (max-width: 900px) {
    .order-page .pricing-table td:first-child {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .order-page .medline-product-image-link {
        width: min(100%, 280px);
        min-height: 210px;
    }

    .order-page .medline-product-image-link .medline-pricing-thumb {
        height: 190px;
    }
}

/* Final mobile nav override: dropdowns must not size from one tab cell. */
@media (max-width: 900px) {
    .site-guide-nav-page .nav-menu.care-guide-order-menu {
        position: relative !important;
        overflow: visible !important;
        z-index: 180 !important;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown {
        position: static !important;
        min-width: 0 !important;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown-panel {
        position: fixed !important;
        left: 16px !important;
        right: 16px !important;
        top: 214px !important;
        display: none !important;
        width: auto !important;
        min-width: 0 !important;
        max-height: 42vh !important;
        overflow-y: auto !important;
        padding: 8px !important;
        border-radius: 10px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        visibility: visible !important;
        z-index: 260 !important;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown:hover .nav-menu-dropdown-panel,
    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown:focus-within .nav-menu-dropdown-panel {
        display: none !important;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown.is-open .nav-menu-dropdown-panel {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown-option {
        min-height: 42px !important;
        padding: 9px 10px !important;
        white-space: normal !important;
        text-align: center !important;
        font-size: 0.86rem !important;
        line-height: 1.18 !important;
    }

    .site-guide-nav-page .nav-menu.care-guide-order-menu .nav-menu-dropdown-detail {
        font-size: 0.74rem !important;
    }
}
