/* Oakley & Mason additions on top of the Furni template (style.css stays the base). */
:root {
  --om-green: #304635;
  --om-green-dark: #253829;
  --om-stone: #d6d9d6;
  --om-mist: #eff2f1;
}

/* Brand serif for headings, echoing the logo */
h1, h2, .section-title, .om-product-name { font-family: "Cormorant Garamond", Georgia, serif; letter-spacing: 0.2px; }
.hero h1 { font-weight: 600; font-size: 44px; line-height: 1.1; }
@media (min-width: 1400px) { .hero h1 { font-size: 56px; } }
.section-title { font-size: 34px !important; font-weight: 600 !important; }

/* Offer banner */
.om-topbar { background: var(--om-stone); text-align: center; padding: 8px 15px; font-size: 14px; }
.om-topbar a { color: var(--om-green); font-weight: 600; text-decoration: none; }

/* Logo */
.om-brand img { height: 48px; width: auto; display: block; }
@media (min-width: 1200px) { .om-brand img { height: 56px; } }
.om-footer-logo img { height: 56px; width: auto; }
.custom-navbar { padding-top: 16px; padding-bottom: 16px; }
.custom-navbar .custom-navbar-nav li a { padding-left: 10px !important; padding-right: 10px !important; }
@media (min-width: 1200px) { .custom-navbar .custom-navbar-nav li a { padding-left: 14px !important; padding-right: 14px !important; } }
.om-nav-cta { align-items: center; gap: 4px; }
.om-nav-cta .nav-link { color: #fff !important; opacity: .8; font-size: 18px; }
.om-nav-cta .nav-link:hover { opacity: 1; }
.om-dm-btn { padding: 8px 20px !important; margin-left: 8px; }
@media (min-width: 1200px) and (max-width: 1399.98px) { .om-nav-icon { display: none; } }
@media (max-width: 1199.98px) {
  .om-nav-cta { flex-direction: row; margin-top: 10px; }
  .om-dm-btn { margin-left: auto; }
  .custom-navbar .navbar-collapse { padding-top: 10px; }
}

/* Hero image (works for the transparent placeholder and real photos).
   The template offsets its cut-out couch past the viewport edge; reset that so nothing scrolls sideways. */
.hero { overflow: hidden; }
.hero .om-hero-img img {
  position: relative !important; left: 0 !important; right: auto !important; top: 0 !important;
  max-width: 100%; border-radius: 20px; max-height: 460px; width: 100%; object-fit: cover;
}
.hero .om-hero-img:after { right: -20px !important; top: -20px !important; width: 160px; height: 136px; }
@media (max-width: 575.98px) { .hero .om-hero-img:after { display: none; } }
/* Bootstrap g-5 gutters are wider than the container padding on phones */
@media (max-width: 767.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
.hero .om-hero-img img[src$="couch.png"] { border-radius: 0; object-fit: contain; }
@media (max-width: 991.98px) {
  .hero .om-hero-img { margin-top: 10px; margin-bottom: 40px; }
  .hero h1 { font-size: 36px; }
}
.om-hero-compact { padding-top: 60px !important; padding-bottom: 60px !important; }

/* Trust strip */
.om-trust-strip { background: var(--om-green-dark); color: #fff; padding: 18px 0; }
.om-trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 6px 12px; }
.om-trust-item img { width: 26px; filter: brightness(0) invert(1); opacity: .85; }

/* Offer band */
.om-offer { background: var(--om-mist); padding: 40px 0; }
.om-offer h2 { color: var(--om-green); font-size: 30px; font-weight: 700; }
.om-offer .btn-white-outline { color: var(--om-green) !important; border-color: var(--om-green) !important; }

/* Product cards with photos */
.om-thumb { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; width: 100%; }
.om-product-item { display: block; }
.om-product-cat { font-size: 14px !important; font-weight: 500 !important; color: #6a6a6a; }
.om-thumb-sm { width: 100px; height: 100px; object-fit: cover; border-radius: 16px; position: relative; z-index: 1; }

/* Generic image treatments */
.om-rounded { border-radius: 20px; width: 100%; object-fit: cover; max-height: 520px; }
.om-cover { border-radius: 20px; width: 100%; object-fit: cover; }
.om-post-img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.om-step-img { aspect-ratio: 4 / 3; }
.imgs-grid .grid img { width: 100%; height: 100%; object-fit: cover; }

/* Split sections */
.om-split { padding: 6rem 0; }
.om-light { background: var(--om-mist); }
@media (max-width: 767.98px) { .om-split { padding: 3.5rem 0; } }

/* Filters & category links */
.om-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.om-chip { border: 1px solid var(--om-green); background: transparent; color: var(--om-green); border-radius: 30px; padding: 6px 18px; font-size: 14px; }
.om-chip.active, .om-chip:hover { background: var(--om-green); color: #fff; }
.om-cat-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.om-cat-link { background: var(--om-mist); color: var(--om-green); padding: 10px 18px; border-radius: 10px; font-weight: 500; text-decoration: none; }
.om-cat-link:hover { background: var(--om-green); color: #fff; }

/* Product page */
.om-product-page { padding-top: 3rem !important; }
.om-crumbs { font-size: 14px; margin-bottom: 24px; color: #6a6a6a; }
.om-crumbs a { color: var(--om-green); }
.om-eyebrow { text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; color: #6a6a6a; }
.om-product-name { font-size: 42px; color: #2f2f2f; margin: 6px 0 14px; font-weight: 600; }
.om-features li { margin-bottom: 10px; }
.om-note { background: #fff; padding: 14px 18px; border-radius: 10px; font-size: 15px; }
.om-small { font-size: 12px; color: #6a6a6a; }

/* CTA band */
.om-cta-band { background: var(--om-green); color: #fff; border-radius: 20px; padding: 48px 24px; margin-top: 3rem; }
.om-cta-band h2 { color: #fff; font-size: 32px; }
.om-cta-band p { color: rgba(255, 255, 255, .8); }

/* FAQ */
.om-faq-item { border-bottom: 1px solid #e5e8e7; }
.om-faq-item button { width: 100%; background: none; border: 0; text-align: left; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; color: #2f2f2f; font-size: 17px; }
.om-faq-item .fa-chevron-down { transition: transform .2s; color: var(--om-green); margin-top: 4px; }
.om-faq-item.open .fa-chevron-down { transform: rotate(180deg); }
.om-faq-item p { padding-bottom: 18px; margin: 0; }

/* Journal */
.om-excerpt { font-size: 14px; color: #6a6a6a; margin-top: 8px; }
.om-article h1 { font-size: 44px; color: #2f2f2f; font-weight: 600; }
.om-article p { font-size: 17px; line-height: 1.8; }

/* Footer */
.om-newsletter-copy { margin-top: -10px; margin-bottom: 20px; }
.om-newsletter-done { color: var(--om-green); font-weight: 600; }
.om-footer-heading { font-size: 15px; font-weight: 700; color: #2f2f2f; margin-bottom: 14px; }
.om-footer-note { font-size: 12px; color: #6a6a6a; }
.om-contact-icon { font-size: 18px; color: #fff; }

/* Mobile fixes */
@media (max-width: 575.98px) {
  .footer-section .subscription-form .row > .col-auto { flex: 0 0 100%; }
  .footer-section .subscription-form .row > .col-auto:last-child { flex: 0 0 auto; }
  .section-title { font-size: 28px !important; }
  .om-product-name, .om-article h1 { font-size: 32px; }
}

/* Card category label (the template styles this slot as a bold price) */
.product-section .product-item .product-price.om-product-cat { font-size: 14px; font-weight: 500; color: #6a6a6a; }
.om-offer + .product-section { padding-top: 4rem; }

/* Transparent cut-out photos: show the whole sofa, no crop, no rounded box */
img.om-cutout { object-fit: contain !important; border-radius: 0 !important; background: transparent; }
.product-item img.om-cutout.om-thumb { aspect-ratio: 4 / 3; padding: 14px; background: #fff; border-radius: 14px !important; }
.om-thumb-sm.om-cutout { background: #fff; border-radius: 16px !important; padding: 6px; }
.hero .om-hero-img img.om-cutout { max-height: 520px; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .25)); }
.om-product-page img.om-cutout { background: #fff; border-radius: 20px !important; padding: 24px; }

/* Keep the nav CTA on one line on laptop widths */
.om-dm-btn { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .custom-navbar .custom-navbar-nav li a { padding-left: 9px !important; padding-right: 9px !important; }
}
