/* Backroad Storage Co. - Coastal Modern */
:root {
    --primary: #547476;
    --primary-dark: #4c6066;
    --primary-light: #a1b6b9;
    --accent: #4c6066;
    --secondary: #898f91;
    --gold: #a1b6b9;
    --olive: #547476;
    --cream: #f5f7f7;
    --cream-dark: #e8edee;
    --sand: #d4dadb;
    --white: #ffffff;
    --off-white: #fafbfb;
    --border: #c4cdce;
    --text: #615b5b;
    --text-muted: #898f91;
    --brown: #615b5b;
    --brown-deep: #4a4444;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Lato', 'Segoe UI', Tahoma, sans-serif;
    margin: 0;
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--primary-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ---------- HEADER ---------- */
header {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(90, 74, 42, 0.05);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    gap: 20px;
}

.header-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo {
    height: 60px;
    width: auto;
    display: none;
}

/* ---------- FLOATING LOGO (desktop) ---------- */
.floating-logo {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    display: block;
    line-height: 0;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0.95;
}

.floating-logo img {
    height: 70px;
    width: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(90, 74, 42, 0.15);
}

.floating-logo:hover {
    transform: scale(1.04);
    opacity: 1;
}

@media (max-width: 768px) {
    .floating-logo {
        display: none;
    }
}

nav {
    display: flex;
    gap: 4px;
    align-items: center;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    font-family: 'Lato', sans-serif;
}

nav a:hover {
    color: var(--primary-dark);
    background-color: rgba(138, 122, 85, 0.08);
}

.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 200;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--primary-dark);
    font-size: 26px;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    box-sizing: border-box;
    width: 320px;
    height: 100vh;
    background: var(--white);
    z-index: 300;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    transition: left 0.3s ease;
    padding: 70px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* The global nav rule lays links out in a row. Inside the drawer they need
   to stack, otherwise they overflow the drawer and bleed into the viewport. */
.mobile-menu nav {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}

/* The drawer only exists below the mobile breakpoint. Above it, keep it out
   of the render tree entirely so nothing can peek past the left edge. */
@media (min-width: 769px) {
    .mobile-menu {
        display: none;
    }
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 12px;
    border-bottom: 1px solid var(--cream-dark);
    font-family: 'Lato', sans-serif;
}

.mobile-menu a:hover {
    color: var(--primary-dark);
}

.mobile-menu-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 768px) {
    .header-inner {
        justify-content: center;
        padding: 12px 16px;
    }
    .header-logo {
        display: block;
        height: 50px;
    }
    nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ---------- MAIN ---------- */
main {
    padding: 60px 30px;
    background-color: var(--cream);
    min-height: calc(100vh - 350px);
    max-width: 100%;
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--brown-deep);
    color: var(--cream);
    padding: 0;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--cream);
    font-size: 1.6em;
    margin: 0 0 6px 0;
    letter-spacing: 1px;
}

.footer-brand p {
    margin: 0;
    font-size: 0.95em;
    opacity: 0.8;
    color: var(--cream);
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
    font-size: 0.95em;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-social {
    font-weight: 600;
    color: var(--cream);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-social::before {
    content: '\273F';
    color: var(--gold);
    font-size: 1.2em;
}

.footer-bottom {
    text-align: center;
    padding: 18px;
    background-color: rgba(0,0,0,0.2);
    font-size: 0.85em;
    opacity: 0.8;
    color: var(--cream);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* ---------- HOME PAGE ---------- */
.home-hero {
    text-align: center;
    padding: 40px 20px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.home-hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.5em;
    color: var(--primary-dark);
    margin: 20px 0 10px 0;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.home-hero h2 {
    font-size: 1.4em;
    color: var(--gold);
    letter-spacing: 6px;
    margin: 0 0 20px 0;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
}

.hero-divider {
    width: 140px;
    height: 3px;
    background: var(--primary-light);
    margin: 0 auto 30px auto;
    border-radius: 2px;
}

.home-hero .hero-logo {
    width: 140px;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
}

.hero-tagline {
    font-size: 1.6em;
    color: var(--primary-dark);
    margin: 0 auto 30px auto;
    max-width: 800px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    line-height: 1.5;
}

.home-banner {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.home-banner img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(90, 74, 42, 0.15);
}

.quote-section {
    text-align: center;
    padding: 60px 30px;
    max-width: 900px;
    margin: 0 auto;
}

.quote-section .quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.7em;
    color: var(--primary-dark);
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

.reviews-section {
    background: var(--brown-deep);
    color: var(--cream);
    padding: 60px 30px;
    text-align: center;
}

.reviews-section h2 {
    color: var(--cream);
    font-size: 2.2em;
    margin: 0 0 25px 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.reviews-section h2 .stars {
    color: var(--gold);
    margin-left: 12px;
    font-size: 1em;
    letter-spacing: 6px;
}

.reviews-stars {
    font-size: 2.4em;
    color: var(--gold);
    letter-spacing: 6px;
    margin-bottom: 40px;
}

.review {
    max-width: 700px;
    margin: 0 auto 30px auto;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3em;
    font-style: italic;
    line-height: 1.6;
    color: var(--cream);
}

.review-source {
    font-family: 'Lato', sans-serif;
    font-size: 0.95em;
    font-style: normal;
    margin-top: 8px;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

/* ---------- FACILITY PHOTOS ---------- */
.home-hero .hero-photo {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 30px auto;
    display: block;
    box-shadow: 0 6px 24px rgba(90, 74, 42, 0.16);
}

.facility-gallery {
    padding: 60px 30px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.facility-gallery h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.2em;
    color: var(--primary-dark);
    margin: 0 0 30px 0;
    font-weight: 600;
}
.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.facility-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 18px rgba(90, 74, 42, 0.12);
}

.facility-band {
    max-width: 1100px;
    margin: 0 auto 50px auto;
    padding: 0 30px;
}
.facility-band img {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 18px rgba(90, 74, 42, 0.12);
}

.story-facility {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0 20px 0;
}
.story-facility img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    box-shadow: 0 4px 18px rgba(90, 74, 42, 0.15);
}

@media (max-width: 768px) {
    .home-hero .hero-photo { height: 240px; }
}

.cta-banner {
    text-align: center;
    padding: 50px 30px;
    max-width: 900px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: 2.2em;
    color: var(--primary-dark);
    margin: 0 0 25px 0;
    font-weight: 600;
}

.cta-banner .storage-banner-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(90, 74, 42, 0.12);
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-dark);
    color: var(--cream);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(90, 74, 42, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--cream);
}

@media (max-width: 768px) {
    .home-hero h1 { font-size: 2.4em; letter-spacing: 1px; }
    .home-hero h2 { font-size: 1em; letter-spacing: 3px; }
    .hero-tagline { font-size: 1.2em; }
    .quote-section .quote { font-size: 1.3em; }
}

/* ---------- ABOUT / STORY PAGE ---------- */
.story-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px;
}

.story-container h1 {
    text-align: center;
    color: var(--primary-dark);
    font-size: 2.8em;
    margin: 30px 0 40px 0;
    font-weight: 600;
}

.story-photo {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 6px;
    margin: 0 auto 25px auto;
    display: block;
    box-shadow: 0 4px 18px rgba(90, 74, 42, 0.15);
}

.story-photo-caption {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3em;
    color: var(--primary-dark);
    font-style: italic;
    margin: -10px 0 40px 0;
}

.story-section {
    background: var(--white);
    border-radius: 8px;
    padding: 35px 40px;
    margin-bottom: 25px;
    box-shadow: 0 2px 12px rgba(90, 74, 42, 0.06);
    border-left: 4px solid var(--primary);
}

.story-section h2 {
    color: var(--primary-dark);
    font-size: 1.9em;
    margin: 0 0 18px 0;
    text-align: center;
    font-weight: 600;
}

.story-section h3 {
    color: var(--primary);
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 12px;
}

.story-section p {
    color: var(--text);
    line-height: 1.85;
    font-size: 1.1em;
    margin: 0 0 14px 0;
}

.story-beliefs {
    background: var(--cream-dark);
    border-radius: 8px;
    padding: 50px 40px;
    margin: 40px 0;
    text-align: center;
}

.story-beliefs h2 {
    color: var(--primary-dark);
    font-size: 2.2em;
    margin: 0 0 25px 0;
    font-weight: 600;
}

.story-beliefs p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5em;
    color: var(--primary-dark);
    font-weight: 500;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 18px auto;
    font-style: italic;
}

@media (max-width: 768px) {
    .story-container h1 { font-size: 2.2em; }
    .story-section { padding: 25px 20px; }
    .story-section h2 { font-size: 1.5em; }
    .story-beliefs { padding: 30px 20px; }
    .story-beliefs p { font-size: 1.2em; }
}

/* ---------- PRICING / ORDER PAGE ---------- */
.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0 20px;
}

.pricing-container h1 {
    text-align: center;
    color: var(--primary-dark);
    font-size: 2.8em;
    margin: 20px 0 8px 0;
    font-weight: 600;
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1em;
    margin: 0 0 40px 0;
    font-style: italic;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.unit-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(90, 74, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.unit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(90, 74, 42, 0.15);
}

.unit-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    background: var(--cream-dark);
}

.unit-body {
    padding: 30px 30px 25px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.unit-title {
    font-size: 1.8em;
    color: var(--primary-dark);
    margin: 0 0 6px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.unit-size {
    color: var(--text-muted);
    font-size: 1em;
    margin: 0 0 18px 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.unit-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex: 1;
}

.unit-features li {
    padding: 6px 0 6px 26px;
    position: relative;
    color: var(--text);
    font-size: 1em;
}

.unit-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--olive);
    font-weight: bold;
    font-size: 1.1em;
}

.unit-price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid var(--border);
    padding-top: 18px;
    margin-top: auto;
}

.unit-price .label {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95em;
}

.unit-price .price {
    font-size: 1.6em;
    color: var(--primary-dark);
    font-weight: 700;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.unit-price .per {
    font-size: 0.85em;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 4px;
}

.unit-card .add-btn {
    width: 100%;
    margin-top: 18px;
    padding: 14px;
    background: var(--primary-dark);
    color: var(--cream);
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    transition: all 0.2s ease;
}

.unit-card .add-btn:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

.unit-card .add-btn.added {
    background: var(--olive);
}

@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-container h1 { font-size: 2.2em; }
    .unit-image { height: 200px; }
}

/* ---------- CONTACT PAGE ---------- */
.contact-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.contact-page h1 {
    text-align: center;
    color: var(--primary-dark);
    font-size: 2.8em;
    margin: 20px 0 8px 0;
    font-weight: 600;
}

.contact-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05em;
    margin: 0 0 40px 0;
    font-style: italic;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-info {
    background: var(--white);
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 2px 12px rgba(90, 74, 42, 0.06);
}

.contact-info h2 {
    color: var(--primary-dark);
    font-size: 1.6em;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.contact-info-block {
    margin-bottom: 24px;
}

.contact-info-block:last-child {
    margin-bottom: 0;
}

.contact-info-block h3 {
    color: var(--primary);
    font-size: 1.1em;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.contact-info-block p {
    margin: 4px 0;
    color: var(--text);
    font-size: 1.05em;
}

.contact-info-block a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-block a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 2px 12px rgba(90, 74, 42, 0.06);
}

.contact-form h2 {
    color: var(--primary-dark);
    font-size: 1.6em;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1em;
    font-family: 'Lato', sans-serif;
    background: var(--off-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(138, 122, 85, 0.1);
    background: var(--white);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form button,
.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary-dark);
    color: var(--cream);
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    transition: all 0.2s ease;
    margin-top: 6px;
}

.contact-form button:hover,
.btn-submit:hover {
    background: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(90, 74, 42, 0.2);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(90, 74, 42, 0.08);
    margin-top: 30px;
}

.map-container iframe {
    display: block;
    width: 100%;
}

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
}

/* ---------- ALERTS ---------- */
.alert-success {
    background-color: #e8f0d8;
    color: #3a5a1a;
    border: 1px solid #b8d090;
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.alert-error {
    background-color: #f5d8d0;
    color: #8a3a2a;
    border: 1px solid #d8a090;
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.95em;
}

/* ---------- CHECKOUT / CART ---------- */
.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.checkout-container h1 {
    text-align: center;
    color: var(--primary-dark);
    font-size: 2.4em;
    margin: 10px 0 8px 0;
    font-weight: 600;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 35px;
    margin-top: 25px;
}

.cart-summary {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(90, 74, 42, 0.06);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    color: var(--primary-dark);
    font-size: 1.5em;
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info strong {
    color: var(--text);
    font-size: 1em;
    display: block;
}

.cart-item-info span {
    color: var(--text-muted);
    font-size: 0.85em;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary-dark);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3em;
}

.cart-empty {
    padding: 30px 20px;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 2px solid var(--primary);
    font-size: 1.3em;
    color: var(--primary-dark);
    font-weight: 700;
}

.cart-total .price {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

@media (max-width: 900px) {
    .checkout-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
}

/* ---------- STORY FORM (legacy, reused on About) ---------- */
.story-form {
    background: var(--white);
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 2px 12px rgba(90, 74, 42, 0.06);
    margin-top: 30px;
}

.story-form h2 {
    color: var(--primary-dark);
    text-align: center;
    font-size: 1.8em;
    margin: 0 0 20px 0;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal[style*="display: flex"],
.modal.show {
    display: flex !important;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    color: #000;
}

.modal .form-group {
    margin-bottom: 1rem;
}

.modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.modal .form-group input,
.modal .form-group textarea {
    width: 100%;
    padding: 0.625rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
}

.modal .form-group input:focus,
.modal .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
}

.modal .alert-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.modal .alert-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.btn {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary-dark);
    color: white;
}

.btn-primary:hover {
    background: var(--accent);
}

.btn-secondary {
    background: #e0e0e0;
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #d0d0d0;
}
