/**
 * Theme 6 — Furniture & Interiors
 * Warm gallery shell for furniture, home, and office stores.
 * Scoped to body[class*="theme6-v"] (keeps .hospitality-* class hooks for compatibility).
 */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Manrope:wght@400;500;600;700&display=swap");

body[class*="theme6-v"] {
    --hosp-bg: #f3efe8;
    --hosp-surface: #fffcf7;
    --hosp-text: #1c1814;
    --hosp-muted: #6f675e;
    --hosp-border: #e4ddd3;
    --hosp-accent: #3d342c;
    --hosp-accent-soft: #ebe4da;
    --hosp-wood: #8b6914;
    --hosp-linen: #f7f2ea;
    --hosp-radius: 12px;
    --hosp-radius-sm: 8px;
    --hosp-shadow: 0 1px 2px rgba(28, 24, 20, 0.05), 0 8px 24px rgba(28, 24, 20, 0.04);
    --hosp-max: min(1180px, 100%);
    --first-font: "Cormorant Garamond", "Times New Roman", serif;
    --body-font: "Manrope", "Helvetica Neue", sans-serif;
    background: var(--hosp-bg) !important;
    color: var(--hosp-text);
    font-family: var(--body-font) !important;
}

body[class*="theme6-v"] .main-wrapper.hospitality-shell {
    display: block !important;
    min-height: 0 !important;
    background:
        radial-gradient(1200px 480px at 10% -10%, rgba(139, 105, 20, 0.06), transparent 55%),
        radial-gradient(900px 420px at 90% 0%, rgba(61, 52, 44, 0.05), transparent 50%),
        var(--hosp-bg);
}

body[class*="theme6-v"] .main-wrapper.hospitality-shell > .site-footer,
body[class*="theme6-v"] .main-wrapper.hospitality-shell .store-footer-extended {
    margin-top: 56px !important;
    z-index: 0 !important;
    position: relative !important;
    border-top: 1px solid var(--hosp-border);
    background: #1c1814 !important;
}

body[class*="theme6-v"] .hospitality-shell .site-header .header-container,
body[class*="theme6-v"] .hospitality-shell .hospitality-main {
    width: 100%;
    max-width: var(--hosp-max);
    margin: 0 auto;
    box-sizing: border-box;
}

body[class*="theme6-v"] .hospitality-shell .hospitality-main {
    padding: 0 0 28px;
    max-height: none !important;
    overflow: visible !important;
}

body[class*="theme6-v"] .hospitality-shell .main-left-col,
body[class*="theme6-v"] .hospitality-shell .tabs-wrapper {
    max-height: none !important;
    overflow: visible !important;
    margin-bottom: 0 !important;
}

body[class*="theme6-v"] .hospitality-shell .main-wrapper > .row {
    display: block !important;
    flex: none !important;
}

/* Header */
body[class*="theme6-v"] .hospitality-shell .site-header,
body[class*="theme6-v"] .theme6-header {
    background: rgba(255, 252, 247, 0.92) !important;
    border-bottom: 1px solid var(--hosp-border);
    box-shadow: none !important;
    backdrop-filter: blur(10px);
}

body[class*="theme6-v"] .hospitality-shell .header-text-logo {
    font-family: var(--first-font) !important;
    font-size: clamp(1.25rem, 2.4vw, 1.7rem) !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    color: var(--hosp-text) !important;
    line-height: 1.15;
    display: inline-block;
    max-width: min(280px, 55vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;
}

body[class*="theme6-v"] .hospitality-shell .header-logo h1 {
    margin: 0;
    line-height: 1;
}

body[class*="theme6-v"] .hospitality-shell .header-logo__link {
    text-decoration: none;
}

/* Hero — room-like vignette, not hotel teal */
.hospitality-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 0;
}

.hospitality-hero__inner {
    position: relative;
    min-height: clamp(380px, 58vh, 560px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 56px 20px 64px;
    background:
        linear-gradient(160deg, #2a231c 0%, #4a3b2f 42%, #6b5746 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hospitality-hero__inner.has-image {
    background-blend-mode: normal;
    align-items: center;
}

.hospitality-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(28, 24, 20, 0.25) 0%, rgba(28, 24, 20, 0.55) 55%, rgba(28, 24, 20, 0.72) 100%);
    pointer-events: none;
}

.hospitality-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    width: 100%;
    color: #fffefb;
}

.hospitality-hero__eyebrow {
    font-family: var(--body-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.88;
    margin-bottom: 14px;
    color: #e8dcc8;
}

.hospitality-hero__title {
    font-family: var(--first-font);
    font-size: clamp(2.15rem, 5.2vw, 3.35rem);
    font-weight: 600;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
    line-height: 1.12;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.hospitality-hero__tagline {
    font-family: var(--body-font);
    font-size: clamp(0.98rem, 2vw, 1.12rem);
    font-weight: 400;
    opacity: 0.92;
    margin: 0 auto 28px;
    line-height: 1.65;
    max-width: 38rem;
}

.hospitality-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1c1814;
    color: #fffefb !important;
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 252, 247, 0.12);
}

.hospitality-hero__cta:hover {
    transform: translateY(-2px);
    background: #2e2822;
    color: #fffefb !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.hospitality-hero__address {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    background: rgba(255, 252, 247, 0.94);
    color: var(--hosp-text);
    padding: 11px 18px;
    border-radius: var(--hosp-radius-sm);
    font-size: 13px;
    font-family: var(--body-font);
}

/* Intro band */
.hospitality-intro {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: var(--hosp-surface);
    border-bottom: 1px solid var(--hosp-border);
    margin-bottom: 32px;
}

.hospitality-intro__inner {
    max-width: var(--hosp-max);
    margin: 0 auto;
    padding: 36px 20px;
    display: grid;
    gap: 16px;
}

@media (min-width: 768px) {
    .hospitality-intro__inner {
        grid-template-columns: 1.4fr 0.8fr;
        align-items: end;
        gap: 40px;
    }
}

.hospitality-intro__title {
    font-family: var(--first-font);
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--hosp-text);
    letter-spacing: -0.01em;
}

.hospitality-intro__text {
    margin: 0;
    color: var(--hosp-muted);
    line-height: 1.7;
    font-size: 15px;
    font-family: var(--body-font);
    max-width: 40rem;
}

.hospitality-intro__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hospitality-intro__stat {
    background: var(--hosp-accent-soft);
    color: var(--hosp-accent);
    padding: 10px 14px;
    border-radius: var(--hosp-radius-sm);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid var(--hosp-border);
}

/* Section headings / category rails */
body[class*="theme6-v"] .hospitality-shell .home-showcase__title,
body[class*="theme6-v"] .hospitality-shell .category-section-title,
body[class*="theme6-v"] .hospitality-shell .section-title h2,
body[class*="theme6-v"] .hospitality-shell .products-section .title,
body[class*="theme6-v"] .hospitality-shell h2.section-heading {
    font-family: var(--first-font) !important;
    font-weight: 600 !important;
    letter-spacing: -0.015em;
    color: var(--hosp-text) !important;
}

body[class*="theme6-v"] .hospitality-shell .category-nav a,
body[class*="theme6-v"] .hospitality-shell .cat-item,
body[class*="theme6-v"] .hospitality-shell .home-categories a {
    font-family: var(--body-font);
    border-radius: 999px !important;
}

body[class*="theme6-v"] .hospitality-shell .category-nav a.active,
body[class*="theme6-v"] .hospitality-shell .cat-item.active {
    background: var(--hosp-accent) !important;
    color: #fffefb !important;
}

/* Product cards — showroom tiles */
body[class*="theme6-v"] .hospitality-shell .product-card .product-card-inner {
    background: var(--hosp-surface) !important;
    border: 1px solid var(--hosp-border) !important;
    border-radius: 14px !important;
    box-shadow: var(--hosp-shadow) !important;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body[class*="theme6-v"] .hospitality-shell .product-card:hover .product-card-inner {
    transform: translateY(-3px);
    border-color: #d3c9bb !important;
    box-shadow: 0 12px 30px rgba(28, 24, 20, 0.08) !important;
}

body[class*="theme6-v"] .hospitality-shell .product-card-inner .product-card-image .img-wrapper {
    background: var(--hosp-linen) !important;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

body[class*="theme6-v"] .hospitality-shell .product-card-inner .product-card-image .img-wrapper img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.35s ease;
}

body[class*="theme6-v"] .hospitality-shell .product-card:hover .product-card-inner .product-card-image .img-wrapper img {
    transform: scale(1.03);
}

body[class*="theme6-v"] .hospitality-shell .product-card .product-content .product-content-top a,
body[class*="theme6-v"] .hospitality-shell .product-card .product-content .product-content-top h3 {
    font-family: var(--body-font) !important;
    font-weight: 600 !important;
    color: var(--hosp-text) !important;
    font-size: 0.95rem !important;
}

body[class*="theme6-v"] .hospitality-shell .product-card .product-content .product-content-bottom .price ins,
body[class*="theme6-v"] .hospitality-shell .product-card .product-content .product-content-bottom .price {
    font-family: var(--body-font) !important;
    color: var(--hosp-accent) !important;
    font-weight: 600;
}

body[class*="theme6-v"] .hospitality-book-btn {
    background: var(--hosp-accent) !important;
    color: #fffefb !important;
    border: none !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 9px 16px !important;
    min-width: 96px;
    text-align: center;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-family: var(--body-font) !important;
}

body[class*="theme6-v"] .hospitality-book-btn:hover {
    background: #2a241e !important;
    color: #fffefb !important;
}

body[class*="theme6-v"] .product-card .pro-btn .hospitality-book-btn svg {
    display: none;
}

body[class*="theme6-v"] .qv-right-content .hospitality-book-btn {
    width: 100%;
    padding: 14px 20px !important;
    font-size: 13px !important;
    border-radius: 999px !important;
}

/* Featured / spotlight cards */
body[class*="theme6-v"] .hospitality-shell .home-showcase,
body[class*="theme6-v"] .hospitality-shell .product-spotlights {
    background: transparent;
}

body[class*="theme6-v"] .hospitality-shell .home-showcase__card,
body[class*="theme6-v"] .hospitality-shell .spotlight-card {
    border-radius: 16px !important;
    overflow: hidden;
    border: 1px solid var(--hosp-border);
    box-shadow: var(--hosp-shadow);
}

/* Checkout / cart warmth */
.hospitality-checkout-fields {
    background: var(--hosp-accent-soft);
    border: 1px solid var(--hosp-border);
    border-radius: var(--hosp-radius);
    padding: 16px;
    margin-bottom: 16px;
}

.hospitality-checkout-fields__heading {
    font-size: 12px;
    font-weight: 700;
    color: var(--hosp-accent);
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--body-font);
}

.hospitality-checkout-fields .form-group label {
    font-weight: 600;
    font-size: 13px;
    font-family: var(--body-font);
}

.hospitality-checkout-fields input[type="date"],
.hospitality-checkout-fields input[type="number"],
.hospitality-checkout-fields textarea {
    border-radius: var(--hosp-radius-sm);
    border-color: var(--hosp-border);
    font-family: var(--body-font);
}

body[class*="theme6-v"] .cart-sidebar h3,
body[class*="theme6-v"] #cart-sidebar h3 {
    font-family: var(--first-font);
    font-size: 1.35rem;
}

/* Buttons / links in shell */
body[class*="theme6-v"] .hospitality-shell .btn-primary,
body[class*="theme6-v"] .hospitality-shell .theme-btn {
    background: var(--hosp-accent) !important;
    border-color: var(--hosp-accent) !important;
    color: #fffefb !important;
    border-radius: 999px !important;
    font-family: var(--body-font) !important;
}

body[class*="theme6-v"] .hospitality-shell a.view-all,
body[class*="theme6-v"] .hospitality-shell .see-all {
    color: var(--hosp-accent) !important;
    font-family: var(--body-font);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 767px) {
    .hospitality-hero__inner {
        min-height: clamp(320px, 70vh, 460px);
        padding: 40px 16px 48px;
        align-items: center;
    }

    .hospitality-intro__inner {
        padding: 28px 16px;
    }
}
