/* claude.css — new landing page design */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1ede8; }
::-webkit-scrollbar-thumb { background: #78501e; }

/* ── Design tokens (from Manuel's design) ── */
:root {
    --bg:        #f9f6f0;
    --fg:        #3d2e1e;
    --card-bg:   #ffffff;
    --primary:   #7a5230;
    --accent:    #a0622a;
    --muted-bg:  #f0e9df;
    --muted-fg:  #7a6a5a;
    --border:    #ddd5c8;
}

/* ── Base ── */
html { background-color: var(--bg); overflow-x: hidden; }
body {
    padding-top: 0px;
    padding-bottom: 0;
    overflow-x: hidden;
    color: var(--fg);
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--bg);
}
.table { color: var(--fg); }

/* ── Navbar ── */
@media (max-width: 767px) {
    .navbar { max-height: none; overflow-y: unset; }
}
@media (min-width: 1200px) {
    #logo { max-height: 100px; margin-top: -10px; margin-bottom: -50px; margin-left: -30px; }
    .navbar { font-size: 16px; }
}
@media (max-width: 991.98px) {
    #logo { max-height: 55px; width: auto; margin-top: 0; margin-bottom: 0; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    #adm-dpd { transform: translateX(-50%); }
    #logo { max-height: 90px; width: auto; margin-top: -10px; margin-bottom: -25px; margin-left: -30px; }
    .navbar { font-size: 14px; }
}
.navbar .dropdown-toggle, .navbar .dropdown-menu a { cursor: pointer; }
.navbar-toggler { margin-left: 12px; }
.navbar.bg-body-tertiary#mysNavbarA {
    background-color: rgba(249,246,240,0.97) !important;
    border-bottom: 1px solid var(--border);
    z-index: 1050;
    backdrop-filter: blur(8px);
}
.navbar-nav .nav-link { color: var(--fg) !important; font-weight: 500; }
.navbar-nav .nav-link:hover { color: var(--primary) !important; }

/* ── Buttons ── */
.btn { border-radius: 8px; }
.btn-secondary {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-secondary:hover {
    color: #fff;
    background-color: var(--accent);
    border-color: var(--accent);
}
.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active,
.show > .btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-secondary.focus, .btn-secondary:focus {
    color: #fff;
    background-color: var(--accent);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(122,82,48,0.35);
}
.btn-outline-secondary {
    color: var(--primary);
    background-color: transparent;
    border-color: var(--primary);
}
.btn-outline-secondary:hover {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-outline-light {
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
    color: var(--fg);
    background-color: #fff;
}
/* dark espresso — "go to cart" type actions */
.btn-dark-espresso {
    color: #fff;
    background-color: #2c1a0e;
    border-color: #2c1a0e;
}
.btn-dark-espresso:hover {
    color: #fff;
    background-color: #3a2418;
    border-color: #3a2418;
}
/* warm outline — "keep shopping" type actions */
.btn-warm-outline {
    color: var(--primary);
    background-color: #FFFAF4;
    border-color: #D9C9A8;
}
.btn-warm-outline:hover {
    color: var(--primary);
    background-color: #f0e6d6;
    border-color: var(--primary);
}

/* ── Dropdowns ── */
.dropdown-menu {
    background-color: var(--bg);
    border: 1px solid var(--border);
    max-height: 85vh;
    overflow-y: auto;
    scroll-behavior: smooth;
    margin: 0;
    overflow-x: hidden;
}
.dropdown-item { color: var(--fg); }
.dropdown-item.active, .dropdown-item:active {
    color: var(--primary);
    background-color: transparent;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: var(--accent);
    background-color: transparent;
}
.dropdown-divider { border-top: 1px solid var(--border); }
.dropdown-header { color: var(--primary); }
#adm-dpd { background-color: var(--muted-bg); }
#adm-h4 { color: var(--fg); }
#h-level2 { color: var(--primary); margin-left: 10px; line-height: 3px; text-decoration: underline; }
#d-level2 { line-height: 10px; margin-left: 15px; font-size: small; }

.feed-messages-offset { margin-top: 26px; margin-left: 51px; }
.feed-messages-offset .alert { padding: 4px 12px; margin-bottom: 0; font-size: 14px; }
@media (max-width: 767px) {
    .feed-messages-offset { margin-left: 0px; margin-top: 35px; }
}

/* ── Cards / Forms / Modals ── */
#mybg, .card { background-color: var(--card-bg); border: 1px solid rgba(200,150,90,.14); border-radius: 12px; }
h3, h4, h5 { color: #1c1208; }
.card h1, .card h2, .card h3, .card h4, .card h5 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #7a5020;
}
a { color: #7a5020; }
a:hover { color: var(--accent); }
.card-header {
    background-color: #FFFAF4 !important;
    border-bottom: 1px solid #D9C9A8;
    padding: 1.25rem 1.5rem 1rem;
}
.card-title-serif {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #1c1208;
}
.card-subtitle-muted {
    font-size: 13px;
    color: #9a8070;
    margin-top: 3px;
}
.form-label { color: #7a5020; font-size: 13px; font-weight: 500; }
.form-control,
.form-select {
    background-color: #FFFAF4;
    color: var(--fg);
    border: 1px solid #D9C9A8;
    border-radius: 8px;
}
.form-control:focus,
.form-select:focus {
    color: var(--fg);
    background-color: #fff;
    border-color: #7a5020;
    box-shadow: 0 0 0 0.2rem rgba(122,80,32,.15);
}
/* input with icon — wrap input in .input-icon-wrap, add .input-icon span inside */
.input-icon-wrap { position: relative; }
.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    z-index: 5;
}
.input-icon svg { fill: #7a5020; }
.input-icon-wrap .form-control,
.input-icon-wrap .form-select { padding-left: 40px; }
.input-icon.top { top: 14px; transform: none; }
.input-icon-right {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 5;
}
.form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #9a8070;
    border-radius: 4px;
    accent-color: #7a5020;
    flex-shrink: 0;
    cursor: pointer;
}
.form-check-label { color: #3a2010; font-size: 13.5px; cursor: pointer; }
.modal-content { background-color: var(--card-bg); }
.modal-header { border-bottom: 1px solid var(--border); }
.modal-footer { border-top: 1px solid var(--border); }

/* ── Pagination ── */
.pagination { gap: 5px; margin-top: 2rem; margin-bottom: 1rem; }
.page-item .page-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    border: 1px solid #ddd5c8;
    background: #fff;
    color: #5a4030;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    padding: 0;
    transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.page-item .page-link:hover {
    background: #7a5020;
    color: #fff;
    border-color: #7a5020;
}
.page-item.active .page-link {
    background: #7a5020;
    color: #fff;
    border-color: #7a5020;
    font-weight: 600;
}
.page-item.disabled .page-link {
    color: #c0b8b0;
    background: #f5f0e8;
    border-color: #e8e0d5;
    pointer-events: none;
}

/* ── Alerts ── */
.alert-danger { color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; }
.alert-dark { color: #1b1e21; background-color: #d6d8d9; border-color: #c6c8ca; }
.alert-primary { color: #004085; background-color: #cce5ff; border-color: #b8daff; }
.alert-success { color: #155724; background-color: #d4edda; border-color: #c3e6cb; }

/* ── Utility ── */
.text-primary { color: var(--primary) !important; }
.text-success { color: #28a745 !important; }
.text-warning { color: #ffc107 !important; }
.text-danger { color: #dc3545 !important; }
.text-dark { color: var(--fg) !important; }
.tasa { color: var(--accent); }
.nav-fill .nav-item { text-align: left; }

/* ── Navbar spacing ── */
@media (min-width: 767px) {
    .navbar .lefty { padding: 0 40px; }
    .navbar .righty { padding: 0 95px; }
    .navbar .dropdown-toggle:not(.nav-link)::after {
        display: inline-block; width: 0; height: 0;
        margin-left: .5em; vertical-align: 0;
        border-bottom: .3em solid transparent;
        border-top: .3em solid transparent;
        border-left: .3em solid;
    }
    .dropdown:hover > .dropdown-menu { display: block; overflow-y: auto; overflow-x: hidden; }
}

/* ── WhatsApp float ── */
.whatsapp { display: none; }
@media (max-width: 767px) {
    .dropdown-menu { margin: 0; overflow-y: auto; overflow-x: hidden; }
    div.text-muted { font-size: 0.75rem; }
    .whatsapp { display: block; position: fixed; right: 15px; bottom: 15px; z-index: 1; }
}
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu { max-height: 60vh; overflow-y: auto; }
    .navbar-nav .dropdown-menu .dropdown-menu { max-height: none; overflow-y: visible; }
    .navbar-collapse { padding-top: 1.5rem; background-color: #faf8f5; z-index: 1000; overflow-y: auto; max-height: calc(100vh - 70px); }
    .navbar-nav { margin-top: 1rem; background-color: #faf8f5; }
}
@media (min-width: 992px) {
    .navbar-nav.my-account { margin-right: 1rem; }
}
.dropdown-menu.dropdown-menu-end {
    --bs-dropdown-bg: #f9f6f0;
    --bs-dropdown-color: #3d2e1e;
    --bs-dropdown-link-color: #3d2e1e;
    --bs-dropdown-link-hover-color: #a0622a;
    --bs-dropdown-link-hover-bg: transparent;
    background-color: #f9f6f0 !important;
    border: 1px solid #ddd5c8 !important;
}
@media (min-width: 992px) {
    .dropdown-menu.dropdown-menu-end {
        min-width: 200px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Hero */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    background-color: #1e1410;
}
.hero-section .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero-section .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,5,0,0.92) 0%, rgba(10,5,0,0.75) 55%, rgba(10,5,0,0.35) 100%);
    z-index: 1;
}
.hero-section .hero-content {
    position: relative;
    z-index: 2;
    padding: 5rem 1.5rem;
    max-width: 680px;
}
#hero-content {
    color: #bdb5b5;
}

.hero-section .hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #c8965a !important;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.hero-eyebrow-line {
    display: inline-block;
    width: 32px;
    height: 1.5px;
    background: #c8965a;
    flex-shrink: 0;
}
.hero-section .hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    color:  #ded5d5;;
    margin-bottom: 1.25rem;
}
.hero-section .hero-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #bdb5b5;
    margin-bottom: 2rem;
    max-width: 520px;
}

/* Full-bleed wrapper — breaks out of template container */
.full-bleed {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Section titles */
.section-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--fg);
}
.section-subtitle {
    color: var(--muted-fg);
    font-size: 0.97rem;
}

/* Product carousel — scroll snap */
.product-scroll-wrap {
    position: relative;
}
.product-scroll {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.product-scroll::-webkit-scrollbar {
    display: none;
}
.product-card-new {
    flex-shrink: 0;
    width: 200px;
    scroll-snap-align: start;
    border-radius: 14px;
    overflow: hidden;
    background: #FFFAF4;
    border: 0.5px solid #D9C9A8;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(90,50,10,0.13);
}
.product-card-new .product-img-wrap {
    position: relative;
    aspect-ratio: 1;
    background: #EDE4D0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-card-new .product-img-wrap img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.5s;
}
.product-card-new:hover .product-img-wrap img {
    transform: scale(1.06);
}
.product-card-new .product-img-wrap .badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #6B3F1A;
    color: #F5EDD8;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 20px;
    font-family: 'Playfair Display', Georgia, serif;
}
.product-card-new .product-body {
    padding: 10px 12px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.product-card-new .product-name {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    color: #3B2008;
    line-height: 1.4;
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}
.product-card-new .btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #7a5020;
    border: none;
    border-radius: 0 0 14px 14px;
    color: #fff;
    padding: 10px 0;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
    transition: background 0.22s;
    margin-top: auto;
}
.product-card-new .btn:hover {
    background: #8c5f28;
    color: #fff;
}
.scroll-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #D9C9A8;
    background: #FFFAF4;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    color: #6B3F1A;
}
.scroll-btn:hover {
    background: #EDE4D0;
}

/* Product carousel section background */
.product-section {
    background: #F5EDD8;
    padding: 3rem 0;
}

/* Features strip — muted background like design */
.features-strip {
    background: var(--muted-bg);
    padding: 4rem 0;
}
.feature-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
    height: 100%;
}
.feature-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(122,82,48,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary);
}

/* Articles grid */
.article-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(200,150,90,.15);
    background: #fff;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(44,26,14,.1);
}
.article-card .article-img-wrap {
    overflow: hidden;
}
.article-card .article-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.article-card:hover .article-img {
    transform: scale(1.03);
}
.article-card .article-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.article-date {
    font-size: 11px;
    color: #9a8070;
    letter-spacing: .5px;
    margin-bottom: .6rem;
}
.article-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: #1c1208;
    line-height: 1.3;
    margin-bottom: .7rem;
    text-decoration: none;
    display: block;
}
.article-title:hover {
    color: var(--accent);
}
.article-excerpt {
    font-size: 13px;
    color: #9a8070;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}
.article-link {
    font-size: 13px;
    color: #7a5020;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.22s ease;
}
.article-link:hover {
    gap: 8px;
    color: var(--accent);
}

/* Footer */
.footer-new {
    background: #2c1a0e;
    color: rgba(255,255,255,0.5);
    padding: 4rem 0 2rem;
    margin-bottom: 0;
}
.footer-inner-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
}
@media (max-width: 767px) {
    .footer-inner-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
    .footer-inner-grid { grid-template-columns: 1fr; }
}
.footer-brand-col {}
.footer-issuer {
    font-size: 13px;
    font-weight: 600;
    color: #c8965a;
    margin-bottom: 0.4rem;
}
.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    max-width: 220px;
}
.footer-col-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c8965a;
    margin-bottom: 1.25rem;
}
.footer-link {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    margin-bottom: 0.7rem;
    transition: color 0.22s;
}
.footer-link:hover { color: #c8965a; }
.footer-bottom {
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}
.footer-divider {
    border-color: #c8965a;
    margin: 0 0 0;
}

/* Cart / Quotation modal */
.cm-prod-row {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #ede4d6;
    margin-bottom: 1.25rem;
}
.cm-thumb {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    background: #f5f0e8;
    border-radius: 10px;
    border: 1px solid #e8d5b8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .6rem;
    overflow: hidden;
}
.cm-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cm-details { flex: 1; }
.cm-prod-label {
    font-size: 10px;
    color: #9a8070;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}
.cm-prod-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    color: #1c1208;
    line-height: 1.25;
    margin-bottom: .5rem;
}
.cm-price-row { display: flex; align-items: baseline; gap: 4px; }
.cm-price-val {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #7a5020;
}
.cm-price-cur { font-size: 12px; color: #9a8070; }
.cm-qty-section { margin-bottom: 1.25rem; }
.cm-qty-label {
    font-size: 11px;
    font-weight: 500;
    color: #9a8070;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .5rem;
}
.cm-qty-stepper {
    display: inline-flex;
    align-items: center;
    background: #f5f0e8;
    border: 1px solid #e8d5b8;
    border-radius: 9px;
    overflow: hidden;
}
.cm-qty-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #7a5020;
    font-size: 20px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .22s;
    line-height: 1;
}
.cm-qty-btn:hover { background: #ede4d6; }
.cm-qty-num {
    width: 52px;
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    color: #1c1208;
    border: none;
    border-left: 1px solid #e8d5b8;
    border-right: 1px solid #e8d5b8;
    background: transparent;
    outline: none;
    padding: 0;
    height: 40px;
}
.cm-subtotal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f0e8;
    border-radius: 10px;
    padding: .8rem 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e8d5b8;
}
.cm-sub-lbl { font-size: 13px; color: #9a8070; }
.cm-actions { display: flex; flex-direction: column; gap: 8px; }
.cm-actions .btn-secondary,
.cm-actions input[type="submit"] {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .3px;
}

/* Login modal */
#exampleModal .modal-content {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 28px 72px rgba(20,10,4,.22);
}
.lm-accent {
    height: 5px;
    background: linear-gradient(90deg, #2c1a0e, #7a5020, #c8965a);
}
#exampleModal .modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem .25rem;
    align-items: flex-start;
}
.lm-eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c8965a;
    margin-bottom: .4rem;
    font-weight: 500;
}
#exampleModal .modal-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: #1c1208;
    line-height: 1.15;
}
#exampleModal .modal-body { padding: 1.25rem 1.5rem 1.5rem; }
.lm-field { margin-bottom: 1rem; }
.lm-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #9a8070;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .4rem;
}
.lm-input-wrap { position: relative; }
.lm-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    z-index: 5;
}
.lm-icon svg { fill: #3d2010; }
.lm-pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9a8070;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color .22s;
}
.lm-pw-toggle:hover { color: #7a5020; }
.lm-forgot {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #7a5020;
    text-decoration: none;
    margin-top: .4rem;
    font-weight: 500;
    transition: opacity .22s;
}
.lm-forgot:hover { opacity: .7; }
.lm-register-row {
    text-align: center;
    font-size: 13px;
    color: #9a8070;
    padding-top: 1rem;
    border-top: 1px solid #ede4d6;
}
.lm-register-row a {
    color: #7a5020;
    font-weight: 500;
    text-decoration: none;
    transition: opacity .22s;
}
.lm-register-row a:hover { opacity: .7; }
#exampleModal .modal-footer { display: none; }

/* Gallery hero band */
.gallery-hero {
    background: #2c1a0e;
    padding: 2.2rem 0;
    position: relative;
    overflow: hidden;
}
.gallery-hero::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(200,150,90,.05);
    pointer-events: none;
}
.gallery-hero-inner { position: relative; z-index: 1; }
.gallery-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: .5px;
    color: rgba(255,255,255,.35);
    margin-bottom: .8rem;
    padding: 0;
    background: none;
}
.gallery-breadcrumb a {
    color: rgba(255,255,255,.35);
    text-decoration: none;
    transition: color .22s;
}
.gallery-breadcrumb a:hover { color: #c8965a; }
.gallery-breadcrumb span:last-child { color: #c8965a; }
.gallery-breadcrumb-sep { color: rgba(255,255,255,.25); }
.gallery-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 700;
    color: #ded5d5;
    margin: 0;
}

/* Gallery toolbar */
.gallery-toolbar {
    background: #fff;
    border-bottom: 1px solid rgba(200,150,90,.12);
    box-shadow: 0 2px 12px rgba(44,26,14,.05);
    padding: 12px 0;
    margin-bottom: 2rem;
}
.gallery-toolbar #spec { min-width: 180px; }
.gallery-toolbar + .container { margin-top: 20px !important; }
.gallery-toolbar .btn-secondary {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 1100px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-card {
    border-radius: 14px;
    overflow: hidden;
    background: #FFFAF4;
    border: 1px solid rgba(200,150,90,.18);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(44,26,14,.13);
    border-color: rgba(200,150,90,.4);
}
.gallery-card .gallery-img-wrap {
    position: relative;
    aspect-ratio: 1;
    background: #EDE4D0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1.5rem;
}
.gallery-card .gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-img-wrap img {
    transform: scale(1.06);
}
.gallery-card .gallery-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    font-family: 'Playfair Display', Georgia, serif;
}
.gallery-badge.badge-new  { background: #7a5020; color: #fff; }
.gallery-badge.badge-sale { background: #b03020; color: #fff; }
.gallery-card .gallery-body {
    padding: 12px 14px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.gallery-card .gallery-name {
    font-size: 13.5px;
    color: #1c1208;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}
.gallery-card .gallery-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 4px;
}
.gallery-price .price-lbl  { font-size: 11px; color: #9a8070; }
.gallery-price .price-val  { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 700; color: #7a5020; }
.gallery-price .price-cur  { font-size: 11px; color: #9a8070; }
.gallery-card .gallery-actions {
    display: flex;
    gap: 6px;
    margin-top: auto;
    padding: 0;
}
.gallery-card .btn-gallery {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 0;
    background: #7a5020;
    border: none;
    border-radius: 0 0 14px 14px;
    color: #fff;
    font-size: 12px;
    letter-spacing: .6px;
    text-transform: uppercase;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.22s;
}
.gallery-card .btn-gallery:hover { background: #8c5f28; color: #fff; }
.gallery-card .btn-gallery.btn-quote { background: #5a4030; border-radius: 0; }
.gallery-card .btn-gallery.btn-quote:hover { background: #6b4d3a; }
.gallery-card .btn-gallery:first-child:last-child { border-radius: 0 0 14px 14px; }
.gallery-card .btn-gallery:first-child:not(:last-child) { border-radius: 0 0 0 14px; }
.gallery-card .btn-gallery:last-child:not(:first-child)  { border-radius: 0 0 14px 0; }

/* Orders table — mobile */
@media (max-width: 575px) {
    .orders-table th:nth-child(1),
    .orders-table td:nth-child(1),
    .orders-table th:nth-child(2),
    .orders-table td:nth-child(2) { display: none; }
    .orders-table th, .orders-table td { padding: 7px 8px; }
    .orders-table .ord-mobile-id { display: block; }
}
@media (min-width: 576px) {
    .orders-table .ord-mobile-id { display: none; }
}
