/*
Theme Name: Samira Editorial
Text Domain: samira-editorial
Description: An elegant ivory and royal blue editorial experience for Samira’s Network.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* This file holds the WordPress theme header (above) plus truly global
 * rules only. Tailwind handles everything else.
 *
 * - Design tokens live in theme.css's @theme block.
 * - Prose + form styles live in presets.css.
 * - Layout, color, typography utilities come from Tailwind v4.
 *
 * Do NOT add component classes here (.btn-primary, .card, etc.). Use
 * Tailwind utilities in templates instead.
 */

html {
	scroll-behavior: smooth;
}

/* Editorial preview refinements. */
.sn-modern-nav { gap: clamp(7px, 1.15vw, 20px); }
.sn-modern-nav a { white-space: nowrap; }
.sn-modern-nav > a:not(.sn-button):hover { color: #273d73; text-decoration: underline; text-decoration-color:#ad8140; text-underline-offset: .3em; }
.sn-gala-actions { gap: 16px; row-gap: 11px; }
.sn-gala-secondary { color: #fff; border-bottom-color: #dfc891; }
@media (max-width: 1120px) {
  .sn-header { position: relative; }
  .sn-modern-nav { display: none; }
  .sn-modern-mobile { position: static; display: block; }
  .sn-modern-mobile > summary { list-style: none; display:flex; align-items:center; gap:10px; padding:9px 13px; border:1px solid #c6baa1; border-radius:2px; cursor:pointer; font-weight:600; }
  .sn-modern-mobile > summary::-webkit-details-marker { display:none; }
  .sn-modern-mobile[open] > nav { position:absolute; inset:100% 0 auto; display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:4px 16px; padding:16px 5%; background:#faf9f5; border-bottom:1px solid #dedbd4; z-index:20; }
  .sn-modern-mobile nav a { padding:8px 0; text-decoration:none; color:#222c42; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .sn-button { transition: none; } .sn-button:hover { transform:none; } }

/* Keep product listings inside the same reading grid as the editorial site. */
.sn-body.woocommerce > #main.site-main { box-sizing:border-box; width:min(90%, 76rem); margin:0 auto; padding:clamp(28px,5vw,65px) 0; }
.sn-body .woocommerce-products-header__title { font-size:clamp(2.4rem, 5vw, 4.25rem); margin: 0.35em 0 0.6em; }
