/* Optional layout styles (brands with "layout" in config.json: template-lifestyle-a, template-lifestyle-b).
   Loaded after extra.css and before the brand's theme.css; other brands never load this file. */
.l-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* utility bar */
.topbar--utility { text-transform: uppercase; font-weight: 500; letter-spacing: 0.04em; font-size: 12px; }
.topbar--utility a { font-weight: 500; }

/* header: logo, search, menu with dropdowns, cart */
.site-header--layout { grid-template-columns: auto auto 1fr auto; gap: 28px; padding: 20px 24px; }
.site-header--layout .search { min-width: 180px; max-width: 220px; }
.site-header--layout .primary-nav { gap: 22px; align-items: center; }
.site-header--layout .primary-nav a { font-size: 13px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; }
.nav-dd { position: relative; display: inline-flex; }
.nav-dd-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-dd-menu { display: none; position: absolute; top: 100%; left: -16px; z-index: 50; min-width: 220px; padding: 10px 0; background: var(--bg); border: 1px solid var(--border); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: block; }
.site-header--layout .nav-dd-menu a { display: block; padding: 8px 18px; border: 0; text-transform: none; letter-spacing: 0.02em; font-size: 14px; white-space: nowrap; }
.site-header--layout .nav-dd-menu a:hover, .site-header--layout .nav-dd-menu a:focus-visible { text-decoration: underline; }
.mobile-nav .mnav-head { display: block; padding: 14px 2px 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
@media (max-width: 1100px) { .site-header--layout { grid-template-columns: auto minmax(0, 1fr) auto; } }

/* hero: centered text on the picture, outline button */
.hero--layout { min-height: 560px; display: flex; align-items: center; justify-content: center; }
.hero--layout .hero-overlay { width: 100%; position: static; }
.hero--layout .hero-overlay::before { inset: 0; background: rgba(0,0,0,0.38); }
.hero--layout .hero-overlay > * { position: relative; z-index: 1; }
.hero--layout h1 { font-weight: 700; max-width: 820px; letter-spacing: 0; color: #fff; }
.hero--layout p { color: #fff; }
.l-btn { display: inline-block; padding: 13px 30px; font-size: 15px; letter-spacing: 0.06em; background: var(--ink); color: #fff; border: 1px solid var(--ink); transition: opacity 0.15s ease; }
.l-btn:hover { opacity: 0.85; }
.l-btn--outline { background: transparent; border-color: #fff; color: #fff; text-shadow: none; }
.l-btn--light { background: #fff; color: var(--ink); border-color: #fff; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
@media (max-width: 1279px) {
  .hero--layout { display: block; position: relative; min-height: 0; }
  .hero--layout .hero-image { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
  .hero--layout .hero-overlay { padding: 120px 24px; }
  .hero--layout .hero-overlay::before { display: block; }
}
@media (max-width: 600px) { .hero--layout .hero-overlay { padding: 96px 16px; } }

/* sections */
.l-section { padding: 56px 0; }
.l-head { margin: 0 0 28px; }
.l-head h2 { font-size: 24px; margin: 0; }
.l-head p { margin: 8px 0 0; }
.l-head--center { text-align: center; }
.l-head--rule h2::after { content: ''; display: block; width: 42px; height: 2px; margin: 14px auto 0; background: var(--accent-strong); }
.l-viewall { text-align: center; margin-top: 28px; }
.l-viewall a { text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.l-intro { background: var(--ink); color: #fff; text-align: center; padding: 72px 0; }
.l-intro .l-wrap { max-width: 820px; }
.l-intro h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 20px; color: #fff; }
.l-intro p { margin: 0 0 18px; line-height: 1.7; }
.l-intro .l-intro-strong { font-weight: 700; font-size: 14px; }
.l-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.l-track > * { scroll-snap-align: start; }
@media (max-width: 900px) { .l-track { grid-auto-columns: 46%; gap: 14px; } }
.l-featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.l-featured-img img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--border); }
.l-featured-info h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; margin: 0 0 16px; }
.l-featured-info .price { font-size: 18px; }
.l-featured-info .btn-primary { max-width: 360px; margin: 12px 0 18px; }
.l-note { font-size: 12px; opacity: 0.8; }
.l-more { display: block; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.l-badges-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.l-badge { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.l-why-row { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.l-why-item { padding: 8px 28px; }
.l-why-item + .l-why-item { border-left: 1px solid var(--border); }
.l-why-item h3 { font-size: 18px; margin: 14px 0 8px; }
.l-why-item p { margin: 0; font-size: 14px; }
.l-split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.l-tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.l-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.l-tile:hover img { transform: scale(1.03); }
.l-tile-label { position: absolute; left: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 4px; padding: 14px 20px; background: rgba(255,255,255,0.94); color: var(--ink); }
.l-tile-label strong { font-size: 22px; }
.l-tile-label span { font-size: 13px; text-decoration: underline; }
.l-banner-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 56px; align-items: center; }
.l-banner-img img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.l-banner-text h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 400; margin: 0 0 16px; line-height: 1.2; }
.l-banner-text p { margin: 0 0 24px; line-height: 1.7; }
.l-newsletter { background: var(--ink); color: #fff; text-align: center; padding: 56px 0; }
.l-newsletter h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 12px; color: #fff; }
.l-newsletter p { margin: 0 0 22px; }
.l-news-form { display: flex; max-width: 360px; margin: 0 auto; border: 1px solid rgba(255,255,255,0.8); }
.l-news-form input { flex: 1; min-width: 0; padding: 12px 14px; background: transparent; color: #fff; border: 0; font: inherit; font-size: 16px; }
.l-news-form input::placeholder { color: rgba(255,255,255,0.8); }
.l-news-form button { padding: 0 14px; color: #fff; }
.l-news-form input:focus-visible, .l-news-form button:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.l-newsletter .form-note { min-height: 1em; margin: 12px 0 0; font-size: 13px; }
@media (max-width: 800px) {
  .l-featured-grid, .l-banner-grid, .l-split-row { grid-template-columns: 1fr; gap: 24px; }
  .l-badges-row { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .l-why-row { grid-template-columns: 1fr; gap: 28px; }
  .l-why-item + .l-why-item { border-left: 0; }
  .l-section { padding: 40px 0; }
}

/* Source-style footer (config layout.footer): logo, link columns, company block, bottom bar with card logos + copyright */
.site-footer--src { padding: 36px 0 36px; letter-spacing: 0.04em; }
.sfoot-top { max-width: 1100px; margin: 0 auto; padding: 0 0 52px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 8px; }
.sfoot-col { min-width: 0; }
.sfoot-heading { font-family: var(--sans); font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: 0.04em; color: #fff; margin: 0 0 20px; text-transform: none; }
.sfoot-links { list-style: none; margin: 0; padding: 0; }
.sfoot-links li { margin: 0 15px 0 0; }
.sfoot-links a { display: inline-block; font-size: 14px; line-height: 25.2px; padding: 5px 0; color: inherit; text-decoration: none; }
.sfoot-links li:first-child a { padding-top: 0; }
.sfoot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sfoot-company p { font-size: 16px; line-height: 28.8px; margin: 0; }
.sfoot-company a { text-decoration: underline; text-underline-offset: 3px; }
.sfoot-company strong { font-weight: 700; }
.sfoot-logo { display: inline-block; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.sfoot-logo img { max-width: 220px; height: auto; display: block; }
.sfoot-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 30px 0 0; }
.sfoot-bottom .sfoot-cards { display: flex; justify-content: center; margin: 15px auto 0; max-width: 1100px; }
.sfoot-copy { max-width: 1100px; margin: 15px auto 0; font-size: 11px; line-height: 1.7; letter-spacing: 0.07em; }
@media (max-width: 1200px) { .sfoot-top, .sfoot-copy, .sfoot-bottom .sfoot-cards { margin-left: 50px; margin-right: 50px; } }
@media (max-width: 989px) { .sfoot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 749px) {
  .sfoot-top { grid-template-columns: 1fr; row-gap: 44px; margin-left: 40px; margin-right: 40px; padding-bottom: 40px; }
  .sfoot-brand { text-align: center; }
  .sfoot-copy { text-align: center; margin-left: 20px; margin-right: 20px; }
  .sfoot-bottom .sfoot-cards { margin-left: 20px; margin-right: 20px; }
  .sfoot-links a { padding: 9px 0; }
}
