/* =========================================
   Flagship Camera - Brand Site Design System
   ========================================= */

/* 1. Variables & Reset */
:root {
    /* Colors */
    --color-white: #ffffff;
    --color-light-gray: #f5f5f5;
    --color-black: #080808;
    --color-dark-gray: #1a1a1a;
    --color-gray: #666666;
    --color-light-border: #e0e0e0;
    --color-navy: #0b1c31;
    /* Deep Brand Navy */

    /* Typography */
    --font-en-serif: 'Playfair Display', serif;
    --font-en-sans: 'Lato', sans-serif;
    --font-ja-mincho: 'Shippori Mincho', serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 5rem;
    --spacing-xl: 8rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-ja-mincho), var(--font-en-sans), serif;
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.9;
    /* More breathing room */
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.04em;
    padding-bottom: 80px;
    /* Space for mobile footer */
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

/* 2. Typography Utility */
h1,
h2,
h3 {
    font-weight: 500;
    line-height: 1.4;
}

.section-label {
    font-family: var(--font-en-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gray);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.section-label.white {
    color: rgba(255, 255, 255, 0.7);
}

.section-heading {
    font-family: var(--font-ja-mincho);
    font-size: 2.2rem;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.05em;
}

.title-large {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

.section-body {
    font-size: 1rem;
    color: var(--color-dark-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 2.2;
}

.white {
    color: var(--color-white);
}

.opacity-8 {
    opacity: 0.8;
}

.text-center {
    text-align: center;
}

.bg-dark {
    background-color: var(--color-black);
}

/* 3. Layout Utility */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-philosophy {
    padding: var(--spacing-xl) 0 6rem;
    background-color: var(--color-white);
}

/* 4. Buttons */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    font-family: var(--font-en-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-text {
    background: transparent;
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 5px;
    padding: 0;
}

.btn-line {
    border: 1px solid var(--color-black);
    color: var(--color-black);
    background: transparent;
}

.btn.large {
    padding: 1.2rem 4rem;
    min-width: 280px;
}

/* 5. Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo img {
    height: 22px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 1rem;
    height: 100%;
    align-items: center;
}

.nav-list a {
    font-family: var(--font-en-sans);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--color-black);
    text-transform: uppercase;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    white-space: nowrap;
}

.ja-label {
    font-family: var(--font-ja-mincho);
    font-size: 0.7em;
    /* Smaller than English */
    display: block;
    margin-top: 0;
    opacity: 0.7;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.header-cta .btn {
    padding: 0.7rem 1.8rem;
    font-size: 0.7rem;
}

/* 6. Hero Carousel */
.hero-carousel {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-slides-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Dot Navigation */
.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.3);
}

.hero-dot.active {
    background: var(--color-white);
    border-color: var(--color-white);
}

.hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.full-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Ensure Hero specifically uses contain */
.hero-full .full-img {
    object-fit: contain;
    background-color: #000;
    /* Ensure dark background for letterboxing */
}

/* Left-side dark gradient overlay */
.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Cover full width but gradient is focused left */
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 80%);
    display: flex;
    align-items: center;
}

.hero-content-left {
    color: var(--color-white);
    padding-left: 0;
    /* Container handles padding */
    max-width: 600px;
    /* Constrain text width */
    margin-left: 5%;
    /* Slight push from container edge if needed, or rely on container */
}

.hero-label {
    font-family: var(--font-en-sans);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    opacity: 0.7;
    color: var(--color-white);
}

.hero-title {
    font-family: var(--font-ja-mincho);
    font-size: 3.8rem;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.hero-sub {
    font-size: 1.1rem;
    margin-bottom: 4rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* 7. Logo Slider */
.logo-slider-wrapper {
    margin-top: 6rem;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    border-top: 1px solid var(--color-light-gray);
    border-bottom: 1px solid var(--color-light-gray);
}

.logo-slider {
    display: flex;
    width: 100%;
}

.logo-track {
    display: flex;
    gap: 5rem;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.logo-track:hover {
    animation-play-state: paused;
}

.brand-logo-img {
    height: 40px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.3s;
    filter: grayscale(100%);
    /* Ensure they look monochrome/logo-like if colored */
}

.brand-logo-img:hover {
    opacity: 1;
    filter: none;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Assumes 2 sets of logos */
}

.logo-caption {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-top: 1.5rem;
}

/* 8. Split Sections (Expertise / Simplicity / Trust) */
.split-section {
    display: flex;
    min-height: 600px;
    /* Enforce photo/text split */
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-content {
    flex: 0.8;
    padding: 6rem 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-content h3 {
    font-family: var(--font-ja-mincho);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.split-content p {
    font-size: 1rem;
    line-height: 2;
}

/* 9. Visual Section */
.visual-section {
    width: 100%;
    height: 85vh;
    position: relative;
    overflow: hidden;
}

.visual-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Darken images for text readability if needed */
.darken {
    filter: brightness(0.7);
}

.grayscale {
    filter: grayscale(100%);
}

.visual-overlay-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    z-index: 10;
}

/* 10. Process */
.process-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-light-gray);
}

.section-header-center {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    font-family: var(--font-ja-mincho);
    font-size: 1.1rem;
    color: var(--color-dark-gray);
    margin-top: 0.5rem;
    font-weight: 400;
}

.process-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    background: var(--color-white);
    width: 100%;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.step-num {
    display: block;
    font-family: var(--font-en-sans);
    font-size: 0.9rem;
    color: var(--color-navy);
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-title {
    font-family: var(--font-ja-mincho);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--color-gray);
}

.process-line {
    width: 1px;
    height: 60px;
    background-color: #ddd;
    margin: 1.5rem 0;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* 11. Recent Buy Back (Carousel) */
.buyback-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
    overflow: hidden;
}

.buyback-carousel-wrapper {
    margin-top: 4rem;
    overflow: hidden;
    position: relative;
}

.buyback-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: buybackScroll 60s linear infinite;
}

.buyback-carousel-wrapper:hover .buyback-track {
    animation-play-state: paused;
}

@keyframes buybackScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .buyback-track {
        animation: none;
    }

    .buyback-carousel-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .buyback-card {
        scroll-snap-align: center;
    }
}

.buyback-card {
    flex: 0 0 320px;
    min-width: 320px;
    transition: transform 0.3s ease;
    cursor: default;
    position: relative;
}

.buyback-card:hover {
    transform: scale(1.02);
}

.buyback-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    font-family: var(--font-ja-mincho);
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 2px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.buyback-badge.high-price {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.buyback-badge.exclusive {
    background-color: #c41e3a;
    color: var(--color-white);
}

.buyback-img-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: var(--color-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.buyback-img-wrapper img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.buyback-meta {
    text-align: left;
}

.buyback-name {
    font-family: var(--font-en-sans);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-black);
    font-weight: 400;
}

.buyback-price {
    font-size: 0.9rem;
    color: var(--color-gray);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.buyback-note {
    font-size: 0.8rem;
    color: var(--color-navy);
    font-style: italic;
    opacity: 0.8;
}

/* 12. Support & Final CTA */
.support-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-light-gray);
}

/* High Value Photo Overlay Section */
.high-value-section {
    width: 100%;
    height: 60vh;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.high-value-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.high-value-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10%;
    /* Increased padding */
}

.high-value-content {
    max-width: 500px;
    width: 90%;
    /* Ensure it fits on smaller screens */
    color: var(--color-white);
    text-align: left;
}

.hv-label {
    font-family: var(--font-en-sans);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 1rem;
}

.hv-heading-large {
    font-family: var(--font-ja-mincho);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.hv-subheading {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hv-list-inline {
    list-style: none;
    margin-bottom: 2rem;
}

.hv-list-inline li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0.9;
}

.hv-list-inline li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
}

.hv-note-inline {
    font-size: 0.85rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.high-value-content .btn {
    opacity: 0.95;
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--color-white);
}

.high-value-content .btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.support-list {
    margin-top: 4rem;
}

.support-list li {
    display: inline-block;
    margin: 0 2rem;
    font-size: 1.2rem;
    color: var(--color-dark-gray);
    font-family: var(--font-ja-mincho);
}

/* Valuation Basis Section */
.valuation-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-light-gray);
}

.valuation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.valuation-card {
    text-align: center;
    padding: 1rem;
}

.val-icon-box {
    margin-bottom: 1.5rem;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.val-icon-box svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-navy);
    stroke-width: 1.5;
    fill: none;
}

.val-title {
    font-family: var(--font-en-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: var(--color-navy);
}

.val-desc {
    font-size: 1rem;
    color: var(--color-gray);
    line-height: 1.6;
}

/* Condition Checklist */
.condition-check-intro {
    font-size: 1rem;
    margin: 4rem 0 2rem;
    color: var(--color-black);
}

.condition-check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.condition-check-item {
    font-size: 0.95rem;
    color: var(--color-dark-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.check-icon {
    color: var(--color-navy);
    font-size: 1.2rem;
    line-height: 1;
}

.condition-note {
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.final-cta {
    padding: 8rem 0 10rem;
    background-color: var(--color-white);
}

.cta-lead {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    font-family: var(--font-ja-mincho);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* 13. Footer */
.footer {
    background-color: var(--color-navy);
    /* Dark background */
    border-top: none;
    padding: 5rem 0 2rem;
    color: rgba(255, 255, 255, 0.8);
    /* White text */
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    align-items: flex-start;
}

.footer-logo-link {
    display: block;
    width: 200px;
    /* Adjust size as needed */
    margin-bottom: 1.5rem;
    opacity: 1;
    transition: opacity 0.3s;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Old text class removal or override */
.footer-company {
    display: none;
}

.footer-address,
.footer-license {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-nav a {
    display: block;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: white;
}

.footer-copy {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-en-sans);
}

/* 14. Mobile Fixed Footer */
.mobile-cta-bar {
    display: none;
    /* Hidden on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    z-index: 2000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    justify-content: space-between;
    gap: 1rem;
}

.mobile-cta-btn {
    flex: 1;
    text-align: center;
    padding: 0.8rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
}

.mobile-cta-btn.btn-primary {
    background-color: var(--color-navy);
    color: white;
}

.mobile-cta-btn.btn-line {
    background-color: white;
    color: var(--color-black);
    border: 1px solid var(--color-black);
}

/* Responsive */
@media (max-width: 900px) {
    .header-cta {
        display: none;
    }

    .nav {
        display: none;
    }

    /* Simple hiding for now */
    .header-container {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .title-large {
        font-size: 2.2rem;
    }

    .buyback-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* Enable Mobile Footer */
    .mobile-cta-bar {
        display: flex;
    }

    /* Layout Adjustments */
    .split-section,
    .split-section.reverse {
        flex-direction: column;
        min-height: auto;
    }

    .split-image {
        height: 350px;
    }

    .split-content {
        padding: 4rem 1.5rem;
    }

    .hero-content-left {
        max-width: 100%;
        margin-left: 0;
        padding: 0 1.5rem;
        text-align: center;
    }

    /* Hero Carousel Mobile */
    .hero-carousel {
        height: 100vh;
    }

    .hero-carousel .full-img {
        object-fit: cover;
        transform: scale(1.5);
        transform-origin: center center;
    }

    .hero-overlay-dark {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
        align-items: flex-end;
        padding-bottom: 6rem;
    }

    .hero-dots {
        bottom: 20px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    /* Buyback Carousel Mobile */
    .buyback-track {
        animation: none;
    }

    .buyback-carousel-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .buyback-card {
        flex: 0 0 280px;
        min-width: 280px;
        scroll-snap-align: center;
    }

    .buyback-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        align-items: center;
    }

    .footer-logo-link {
        margin: 0 auto 1.5rem auto;
    }

    .support-list li {
        display: block;
        margin: 1.5rem 0;
    }

    /* Valuation Responsive */
    .valuation-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Condition Check Responsive */
    .condition-check-grid {
        grid-template-columns: 1fr;
        padding-left: 2rem;
    }

    /* Support Block Responsive */
    .support-block {
        margin-bottom: 3rem;
    }

    .high-value-block {
        padding: 2rem 1.5rem;
    }

    /* High Value Section Responsive */
    .high-value-section {
        height: auto;
        min-height: 500px;
    }

    .high-value-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
        align-items: flex-end;
        justify-content: center;
        padding: 0 1.5rem 3rem;
    }

    .high-value-content {
        max-width: 100%;
        text-align: center;
    }

    .hv-heading-large {
        font-size: 1.6rem;
    }

    .hv-list-inline {
        text-align: left;
        display: inline-block;
    }

    /* Buyback Note Responsive */
    .buyback-note {
        font-size: 0.75rem;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    /* Hide redundant desktop CTAs in sections */
    .final-cta {
        padding: 4rem 0 8rem;
    }

    .final-cta .cta-buttons {
        display: none;
    }
}

/* =========================================
   New Features & Pages (Menu, BackToTop, Pages)
   ========================================= */

/* 15. Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    /* Desktop default */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    padding: 0;
    z-index: 2000;
    /* Above overlay */
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-black);
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 900px) {

    /* Header Padding Adjustment */
    .header-container {
        justify-content: space-between;
        padding-left: 20px;
        padding-right: 20px;
    }

    .mobile-menu-btn {
        display: flex;
        order: 2;
        /* Ensure it's on the right if needed, though HTML order helps */
    }

    .logo {
        order: 1;
    }
}

/* 16. Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    /* Allow close button at top */
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    /* Click through when hidden */
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Close Button in Overlay */
.mobile-menu-close-btn {
    position: absolute;
    top: 2rem;
    right: 5%;
    /* Align similar to menu button */
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close-btn span {
    position: absolute;
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-black);
    transition: transform 0.3s ease;
}

.mobile-menu-close-btn span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-close-btn span:nth-child(2) {
    transform: rotate(-45deg);
}

.mobile-nav-list {
    text-align: center;
}

.mobile-nav-list li {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.mobile-menu-overlay.active .mobile-nav-list li {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delay */
.mobile-menu-overlay.active .mobile-nav-list li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav-list li:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu-overlay.active .mobile-nav-list li:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-list li:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu-overlay.active .mobile-nav-list li:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-nav-list li:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-menu-overlay.active .mobile-nav-list li:nth-child(7) {
    transition-delay: 0.4s;
}


.mobile-nav-list a {
    font-family: var(--font-en-sans);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: 0.1em;
}

/* Mobile Logo Slider Adjustment */
@media (max-width: 768px) {
    .logo-track {
        gap: 2rem;
    }

    .brand-logo-img {
        height: 25px;
    }
}

/* 17. Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 80px;
        /* Above fixed footer CTA */
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* 18. New Pages: Header */
.page-header {
    background-color: var(--color-light-gray);
    padding: 8rem 0 4rem;
    margin-top: 80px;
    /* Header height */
}

/* If body padding-bottom handles margin, we might adjust margin-top.
   But header is fixed so margin-top is needed on first element. */

.page-title {
    font-family: var(--font-en-serif);
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-family: var(--font-ja-mincho);
    font-size: 1rem;
    color: var(--color-gray);
}

/* 19. Contact Page */
.section-contact-form {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-family: var(--font-ja-mincho);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.required {
    background-color: var(--color-navy);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-light-border);
    border-radius: 0;
    /* Reset */
    font-family: var(--font-en-sans), var(--font-ja-mincho);
    font-size: 1rem;
    background-color: #fafafa;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-navy);
}

/* New Contact Form Styles */
.contact-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.intro-heading {
    font-size: 1.8rem;
    font-family: var(--font-ja-mincho);
    margin-bottom: 2rem;
}

.intro-divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-black);
    margin: 0 auto 2rem;
}

.intro-warning {
    font-size: 1rem;
    line-height: 1.8;
}

.underline {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.bold-underline {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* File Input */
input[type="file"] {
    padding: 0.5rem;
    background-color: transparent;
    border: none;
    font-size: 0.9rem;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"],
.radio-item input[type="radio"] {
    width: auto;
    margin: 0;
    accent-color: var(--color-navy);
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-item {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form-note {
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-top: 0.5rem;
}

.form-divider {
    height: 1px;
    background-color: var(--color-light-border);
    margin: 3rem 0;
}

.check-confirm {
    text-align: center;
}

.normal-weight {
    font-weight: 400 !important;
}

/* 20. FAQ Page */
.section-faq {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-light-border);
    padding: 2rem 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--color-light-border);
}

.faq-question {
    font-family: var(--font-ja-mincho);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
    color: var(--color-navy);
}

.faq-question::before {
    content: "Q.";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--color-navy);
    font-family: var(--font-en-serif);
}

.faq-answer {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-dark-gray);
    padding-left: 2rem;
    position: relative;
}

.faq-answer::before {
    content: "A.";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #c41e3a;
    /* Accent color for Answer */
    font-family: var(--font-en-serif);
}

/* 21. Legal Pages (Privacy, Tokushoho) */
.section-legal {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-intro {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--color-dark-gray);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-family: var(--font-ja-mincho);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-black);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-light-border);
}

.legal-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-dark-gray);
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0 1rem 1.5rem;
}

.legal-section li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-dark-gray);
    margin-bottom: 0.5rem;
}

.legal-contact {
    background-color: var(--color-light-gray);
    padding: 1.5rem;
    margin-top: 1rem;
}

.legal-contact a {
    color: var(--color-navy);
    text-decoration: underline;
}

.legal-date {
    font-size: 0.85rem;
    color: var(--color-gray);
    text-align: right;
    margin-top: 3rem;
}

/* Tokushoho Table */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.legal-table th,
.legal-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid var(--color-light-border);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    width: 30%;
    font-family: var(--font-ja-mincho);
    font-weight: 500;
    background-color: var(--color-light-gray);
    color: var(--color-black);
}

.legal-table td {
    color: var(--color-dark-gray);
}

.legal-table td a {
    color: var(--color-navy);
    text-decoration: underline;
}

.legal-table td small {
    display: block;
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-top: 0.3rem;
}

@media (max-width: 768px) {

    .legal-table th,
    .legal-table td {
        display: block;
        width: 100%;
    }

    .legal-table th {
        padding-bottom: 0.5rem;
        border-bottom: none;
    }

    .legal-table td {
        padding-top: 0;
        padding-bottom: 1.5rem;
    }
}

/* Secondary Icon Buttons (CTA) */
.cta-secondary-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--color-dark-gray);
    transition: opacity 0.3s;
}

.icon-link:hover {
    opacity: 0.7;
}

.icon-circle {
    /* No circle bg explicitly requested, keeping simple but spacious */
    /* If clean icon only style: */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.icon-svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.icon-link span {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    font-family: var(--font-ja-mincho);
}

@media (max-width: 600px) {
    .cta-secondary-icons {
        gap: 2rem;
    }
}

/* =========================================
   FINAL MOBILE OVERRIDES (FORCE FIXES)
   ========================================= */
@media (max-width: 768px) {

    /* 1. Hero Image: Force larger and centered */
    .hero-full .full-img {
        object-fit: cover !important;
        transform: scale(1.8) !important;
        transform-origin: center center !important;
        object-position: center center !important;
    }

    /* 2. Hero Text: Force center alignment */
    .hero-content-left {
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        text-align: center !important;
        align-items: center !important;
    }

    .hero-actions {
        justify-content: center !important;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    /* 3. Header: Force Padding */
    .header-container {
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    /* 4. Logo Slider: Force compactness */
    .logo-track {
        gap: 1.5rem !important;
    }

    .brand-logo-img {
        height: 20px !important;
        width: auto !important;
    }

    /* 5. Footer: Force Center */
    .footer-inner {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .footer-logo-link {
        margin: 0 auto 2rem auto !important;
        display: block !important;
    }
}

/* =============================================
   Price Search Section
   ============================================= */

.price-search-section {
    margin-top: 5rem;
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--color-light-gray), var(--color-white));
    border-radius: 8px;
}

.price-search-title {
    font-family: var(--font-ja-mincho);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-navy);
}

.price-search-desc {
    text-align: center;
    font-size: 0.95rem;
    color: var(--color-gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.price-search-input-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: var(--color-gray);
    pointer-events: none;
}

.price-search-input {
    width: 100%;
    padding: 1.2rem 1.5rem 1.2rem 4rem;
    font-size: 1.1rem;
    font-family: var(--font-ja-mincho);
    border: 2px solid var(--color-light-border);
    border-radius: 8px;
    background: var(--color-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.price-search-input:focus {
    outline: none;
    border-color: var(--color-navy);
    box-shadow: 0 0 0 4px rgba(11, 28, 49, 0.1);
}

.price-search-input::placeholder {
    color: #aaa;
}

/* Loading State */
.price-search-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem;
    color: var(--color-gray);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-light-border);
    border-top-color: var(--color-navy);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error State */
.price-search-error {
    text-align: center;
    padding: 2rem;
    background: #fff5f5;
    border: 1px solid #ffcccc;
    border-radius: 8px;
    color: #c00;
    margin-bottom: 2rem;
}

/* Results */
.price-search-results {
    margin-top: 2rem;
}

.price-search-count {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    text-align: center;
}

.price-search-count span {
    font-weight: 700;
    color: var(--color-navy);
}

/* Table */
.price-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.price-table thead th {
    background: var(--color-navy);
    color: var(--color-white);
    font-family: var(--font-ja-mincho);
    font-weight: 500;
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.price-table thead th:last-child {
    text-align: right;
}

.price-table tbody tr {
    border-bottom: 1px solid var(--color-light-border);
    transition: background-color 0.2s ease;
}

.price-table tbody tr:hover {
    background-color: rgba(11, 28, 49, 0.03);
}

.price-table tbody td {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    color: var(--color-dark-gray);
}

.price-table tbody td:first-child {
    font-family: var(--font-en-sans);
}

.price-table tbody td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--color-navy);
    white-space: nowrap;
}

/* Mobile Cards (hidden on desktop) */
.price-cards {
    display: none;
}

/* Notice */
.price-search-notice {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-gray);
    margin-top: 2rem;
    line-height: 1.8;
}

.price-search-notice a {
    color: var(--color-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* CTA Button Wrapper */
.price-search-cta-wrapper {
    text-align: center;
    padding: 3rem 0;
    background: var(--color-light-gray);
}

.price-search-cta {
    animation: pulse-subtle 2s ease-in-out infinite;
}

@keyframes pulse-subtle {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* =============================================
   Price Search - Responsive
   ============================================= */

@media (max-width: 768px) {
    .price-search-section {
        margin-top: 3rem;
        padding: 2.5rem 1rem;
    }

    .price-search-title {
        font-size: 1.5rem;
    }

    .price-search-desc {
        font-size: 0.9rem;
    }

    .price-search-input {
        font-size: 1rem;
        padding: 1rem 1rem 1rem 3.5rem;
    }

    .search-icon {
        left: 1rem;
        width: 20px;
        height: 20px;
    }

    /* Hide table, show cards on mobile */
    .price-table-wrapper {
        display: none;
    }

    .price-cards {
        display: block;
    }

    .price-card {
        background: var(--color-white);
        border: 1px solid var(--color-light-border);
        border-radius: 8px;
        padding: 1.2rem;
        margin-bottom: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    }

    .price-card-name {
        font-family: var(--font-en-sans);
        font-size: 0.95rem;
        color: var(--color-dark-gray);
        margin-bottom: 0.5rem;
    }

    .price-card-price {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--color-navy);
    }

    .price-search-cta-wrapper {
        padding: 2rem 1rem;
    }
}

/* Price Search Section */
.price-search-section {
    padding: 3rem 1rem;
    background-color: var(--color-white);
    text-align: center;
    border-bottom: 1px solid var(--color-light-border);
}

.price-search-title {
    font-family: var(--font-ja-mincho);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-black);
}

.price-search-desc {
    font-size: 0.95rem;
    color: var(--color-dark-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.price-search-input-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--color-gray);
    pointer-events: none;
}

.price-search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1rem;
    border: 1px solid var(--color-light-border);
    border-radius: 8px;
    background: #f9f9f9;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

.price-search-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(11, 28, 49, 0.1);
}

.price-search-notice {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-gray);
}

.price-search-loading {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-gray);
}

/* =============================================
   New Features (Modal & Suggest)
   ============================================= */

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    border: 1px solid var(--color-light-border);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.suggestion-item {
    padding: 0.8rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--color-light-gray);
    transition: background 0.2s;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: rgba(11, 28, 49, 0.05);
}

.suggestion-price {
    color: var(--color-navy);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-window {
    width: 90%;
    max-width: 600px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-window {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10;
    color: var(--color-gray);
}

.modal-close-btn svg {
    width: 24px;
    height: 24px;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--color-light-border);
}

.modal-title {
    font-family: var(--font-ja-mincho);
    font-size: 1.4rem;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.modal-content {
    padding: 1rem 2rem;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid var(--color-light-border);
    background: var(--color-light-gray);
    border-radius: 0 0 12px 12px;
}

/* Modal Search Input */
.modal-search-wrapper {
    margin-bottom: 2rem;
}

/* Modal Results */
.modal-search-results {
    margin-bottom: 2rem;
}

.modal-result-card {
    border: 1px solid var(--color-light-border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background: #fff;
}

.modal-result-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-result-price-label {
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-bottom: 0.2rem;
}

.modal-result-price {
    font-size: 1.8rem;
    color: #e63946;
    /* Red logic from user image */
    font-weight: 700;
    font-family: var(--font-en-sans);
    margin-bottom: 1.5rem;
}

.modal-result-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn-add-assessment {
    background-color: var(--color-navy);
    color: #fff;
    padding: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    display: block;
}

.btn-close-result {
    text-decoration: underline;
    color: var(--color-gray);
    font-size: 0.9rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* Extra Wide Button */
.btn-wide-xl {
    padding: 1.2rem 6rem;
    font-size: 1.1rem;
    min-width: 320px;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1rem;
    }

    .btn-wide-xl {
        width: 100%;
        padding: 1rem 2rem;
    }
}