/* Maaroufi Optique - global refinements layered on the original MO theme.
   Layout, components, typography and palette remain controlled by assets/css/mo.css. */
:root { color-scheme: light; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--mo-primary, #c0904d); outline-offset: 3px; }
.main-header__logo img, .main-footer__logo img, .logo-box img, .sidebar-one__logo img { display:block; width:auto; max-width:100%; }
.mo-site-wordmark { display:inline-flex; align-items:center; gap:11px; color:var(--mo-white, #fff); text-decoration:none; }
.mo-site-wordmark__mark { width:42px; height:42px; display:inline-grid; place-items:center; border:1px solid var(--mo-primary, #c0904d); border-radius:50%; color:var(--mo-primary, #c0904d); font-family:var(--mo-heading-font, Georgia, serif); font-size:17px; line-height:1; }
.mo-site-wordmark__text { display:flex; flex-direction:column; gap:1px; font-family:var(--mo-font, Arial, sans-serif); font-size:13px; font-weight:700; line-height:1.15; letter-spacing:.06em; text-transform:uppercase; }
.mo-site-wordmark__text small { font-size:9px; font-weight:500; letter-spacing:.2em; opacity:.8; }
.main-header__logo .mo-site-wordmark { color:var(--mo-white, #fff); }
.main-footer__logo .mo-site-wordmark, .sidebar-one__logo .mo-site-wordmark, .mobile-nav__content .mo-site-wordmark { color:var(--mo-white, #fff); }
.main-footer__logo .mo-site-wordmark__mark, .sidebar-one__logo .mo-site-wordmark__mark, .mobile-nav__content .mo-site-wordmark__mark { color:var(--mo-primary, #c0904d); }
/* Ensure date and telephone fields inherit the original form treatment. */
.form-one input[type="tel"], .form-one input[type="date"],
.appointment-one__form input[type="tel"], .appointment-one__form input[type="date"],
.contact-page input[type="tel"], .contact-page input[type="date"] {
  width:100%; min-width:0; height:60px; padding:0 25px; border:1px solid var(--mo-border-color, #DDD8DB);
  border-radius:0; color:var(--mo-text, #79767c); background:var(--mo-white, #fff); font:400 14px var(--mo-font, Arial, sans-serif);
}
.form-one textarea, .appointment-one__form textarea { max-width:100%; }
/* The catalogue is consultation-led; hide template price styling when no price is published. */
.product__item__price:empty { display:none; }
@media (max-width: 767px) {
  .main-header__logo .mo-site-wordmark__mark { width:36px; height:36px; }
  .main-header__logo .mo-site-wordmark__text { font-size:11px; }
}

/* Category and gallery labels are intentionally visual placeholders, not product or store photography. */
.product__item__image { min-height: 190px; display:flex; align-items:center; justify-content:center; background:var(--mo-white2, #F5F2F4); }
.product-category-mark { display:inline-flex; align-items:center; justify-content:center; min-width:90px; min-height:90px; padding:18px; border:1px solid var(--mo-primary, #c0904d); border-radius:50%; color:var(--mo-base, #c075b7); font:500 18px var(--mo-heading-font, Georgia, serif); letter-spacing:.08em; }
.blog-card__image--text, .blog-card__image { min-height:170px; display:flex; align-items:center; justify-content:center; background:var(--mo-white2, #F5F2F4); color:var(--mo-base, #c075b7); font:500 22px var(--mo-heading-font, Georgia, serif); padding:24px; }
.mo-gallery-placeholder-native { min-height:220px; display:flex; align-items:center; justify-content:center; text-align:center; padding:24px; background:var(--mo-white2, #F5F2F4); border:1px dashed var(--mo-border-color, #DDD8DB); color:var(--mo-black, #362048); }
.mo-gallery-placeholder-native strong { display:block; font:400 24px var(--mo-heading-font, Georgia, serif); }
.mo-gallery-placeholder-native span { display:block; margin-top:6px; font:500 11px var(--mo-font, Arial, sans-serif); text-transform:uppercase; letter-spacing:.08em; }
.main-footer__copyright { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px 24px; }
.main-footer__copyright span { display:inline-block; }
@media (max-width:767px) { .main-footer__copyright { justify-content:center; text-align:center; } }
