/* Navigation and search share the storefront's warm gold palette. */
.mobile-drawer { --bs-offcanvas-width: min(360px, 90vw); background: #fcfaf5; border: 0 !important; }
.mobile-drawer .offcanvas-header { padding: 24px 20px; gap: 12px; justify-content: space-between; border-bottom: 1px solid #eae3d6; }
.mobile-drawer .btn-close, .search-modal .btn-close { margin: 0; padding: 12px; flex-shrink: 0; }
.mobile-drawer .offcanvas-title { font-size: 1.1rem; color: #443921; }
.mobile-drawer .offcanvas-body { display: flex; flex-direction: column; padding: 20px; gap: 24px; }
.mobile-nav-caption { color: #82745d; font-size: .8rem; margin: 0 0 12px; }
.mobile-nav { display: grid; gap: 6px; }
.mobile-nav-link { display: flex; align-items: center; justify-content: space-between; min-height: 50px; border: 0; border-radius: 12px; background: #fff; padding: 12px 14px; }
.mobile-nav-link::after { content: '\F284'; font-family: bootstrap-icons; font-size: .8rem; color: #ac9571; }
.mobile-nav-link:hover, .mobile-nav-link:focus-visible { background: #f0e7d3; color: #624718; }
.mobile-nav-account { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mobile-nav-account a { display: grid; justify-items: center; gap: 8px; padding: 18px 6px; color: #584729; background: #f1e9d8; border-radius: 14px; text-decoration: none; font-size: .85rem; }
.mobile-nav-account i { font-size: 1.4rem; }
.mobile-nav-footer { margin-top: auto; border-top: 1px solid #eae3d6; padding-top: 20px; display: grid; gap: 14px; }
.mobile-nav-footer a { color: #65563d; text-decoration: none; font-size: .9rem; }
.mobile-nav-footer .mobile-nav-logout { padding: 0; border: 0; background: transparent; color: #8a3434; text-align: right; font: inherit; font-size: .9rem; }
.header-search-toggle { background: none; border: 0; padding: 0; }
.search-modal .modal-dialog { max-width: 760px; }
.search-modal .modal-content { border: 1px solid #ece3d2; border-radius: 24px; box-shadow: 0 24px 80px #0002; }
.search-modal .modal-header { padding: 24px 28px 18px; border: 0; gap: 16px; justify-content: space-between; }
.search-eyebrow { font-size: .75rem; color: #8b6c3a; }
.search-modal h2 { margin: 8px 0 0; font-size: 1.35rem; }
.search-modal .modal-body { padding: 0 28px 24px; min-height: 240px; }
.search-form { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; background: #f9f6f0; border: 1px solid #d9c8a7; border-radius: 14px; }
.search-form:focus-within { outline: 2px solid #b28a3a; outline-offset: 2px; }
.search-form input { flex: 1; min-width: 0; width: 100%; background: none; border: 0; outline: none; font-size: 16px; padding: 8px 0; }
.search-form button { min-height: 44px; border: 0; border-radius: 10px; background: #42351f; color: #fff; padding: 10px 18px; }
.search-status { font-size: .85rem; color: #786c59; margin: 18px 0 10px; line-height: 1.8; }
.search-results-list { max-height: none; overflow: visible; margin: 0; border: 0; }
.search-result-link { gap: 18px; padding: 14px 8px; border-bottom: 1px solid #eee8df; border-radius: 12px; }
.search-result-link:hover, .search-result-link:focus-visible { background: #f8f3e8; }
.search-result-image { width: 88px; height: 88px; min-width: 88px; margin: 0; border-radius: 12px; color: #998568; }
.search-result-name { white-space: normal; font-size: 1.05rem; line-height: 1.8; font-weight: 700; }
.search-result-price { display: block; margin-top: 8px; font-size: .95rem; color: #795b25; }
.search-all-results { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; margin-top: 16px; border-radius: 12px; background: #f2e9d5; color: #5e461c; font-weight: 700; text-decoration: none; }
.search-all-results[hidden] { display: none; }
.floating-social-sidebar { z-index: 1010; }
.social-links { display: flex; flex-direction: column; gap: 12px; }
.social-toggle { display: none; }
@media (max-width: 991.98px) {
    .header-grid { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
    .header-logo { justify-self: center; min-width: 0; gap: 6px; }
    .header-logo-img { max-height: 52px; max-width: 100px; object-fit: contain; }
    .logo-text h4 { font-size: .9rem; letter-spacing: 0; }
    .mobile-menu-toggle { width: 44px; height: 44px; padding: 0; border-radius: 12px; background: #f8f3e8; font-size: 1.5rem; }
    .header-actions { gap: 10px; }
    .header-action-link { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 44px; }
}
@media (max-width: 768px) {
    .floating-social-sidebar { left: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); flex-direction: column; align-items: flex-start; gap: 10px; }
    .social-toggle { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid #dbcaa7; border-radius: 50%; background: #42351f; color: #fff; box-shadow: 0 4px 16px #0002; font-size: 1.3rem; }
    .social-links { display: none; padding: 10px; border-radius: 28px; background: #fff; box-shadow: 0 4px 24px #0002; }
    .floating-social-sidebar.is-open .social-links { display: flex; }
    .social-links .social-btn { width: 44px; height: 44px; }
}
@media (max-width: 575.98px) {
    .search-modal .modal-content { border: 0; border-radius: 0; }
    .search-modal .modal-header { padding: 20px 18px; }
    .search-modal .modal-body { padding: 0 16px 24px; }
    .search-modal h2 { font-size: 1.15rem; }
    .search-result-link { gap: 14px; padding: 14px 0; }
    .search-result-image { width: 80px; height: 80px; min-width: 80px; }
    .search-result-name { font-size: 1rem; }
    .search-form { gap: 8px; }
    .search-form button { padding-inline: 12px; }
}

/* Related editorial guides shared by product and collection pages. */
.related-guide-card { overflow: hidden; background: #fff; border: 1px solid #e8dfd1; border-radius: 18px; box-shadow: 0 8px 28px rgba(58, 44, 23, .06); transition: transform .2s ease, box-shadow .2s ease; }
.related-guide-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(58, 44, 23, .1); }
.related-guide-media { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #f4ede1; }
.related-guide-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.related-guide-card:hover .related-guide-media img { transform: scale(1.035); }
.related-guide-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: #9b7a3d; background: linear-gradient(135deg, #fbf6ec, #eee1cb); font-size: 2.4rem; }
.related-guide-body { padding: 18px; }
.related-guide-category { margin: 0 0 7px; color: #98722d; font-size: .82rem; font-weight: 700; }
.related-guide-card h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 800; line-height: 1.75; }
.related-guide-card h3 a { color: #2e2921; text-decoration: none; }
.related-guide-card h3 a:hover { color: #806020; }
.related-guide-excerpt { display: -webkit-box; margin: 0; overflow: hidden; color: #71695e; font-size: .9rem; line-height: 1.9; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

/* Internal-linking cards for category and product-type landing pages. */
.catalog-related-section .section-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.catalog-related-eyebrow { margin: 0 0 5px; color: #98722d; font-size: .78rem; font-weight: 700; }
.catalog-related-all { flex-shrink: 0; color: #76591f; font-size: .88rem; font-weight: 700; text-decoration: none; }
.catalog-related-all:hover { color: #3f3012; }
.catalog-related-collection { display: flex; align-items: center; gap: 14px; min-height: 112px; padding: 18px; color: #312b22; background: linear-gradient(135deg, #fff, #fbf6ec); border: 1px solid #e8dfd1; border-radius: 18px; box-shadow: 0 8px 24px rgba(58, 44, 23, .05); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.catalog-related-collection:hover { color: #312b22; border-color: #d5be91; box-shadow: 0 13px 30px rgba(58, 44, 23, .09); transform: translateY(-2px); }
.catalog-related-icon { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; color: #8d6929; background: #f1e5ce; border-radius: 14px; font-size: 1.15rem; }
.catalog-related-copy { min-width: 0; flex: 1; }
.catalog-related-copy strong { display: block; margin-bottom: 5px; font-size: 1rem; line-height: 1.7; }
.catalog-related-copy small { display: -webkit-box; overflow: hidden; color: #756c60; font-size: .82rem; line-height: 1.8; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.catalog-related-arrow { flex: 0 0 auto; color: #9b7a3d; }
@media (max-width: 575.98px) {
    .catalog-related-section .section-header { align-items: center; }
    .catalog-related-all { font-size: .8rem; }
    .catalog-related-collection { min-height: 104px; padding: 15px; }
}
