/*
Theme Name: Sowell Outboard Engines
Theme URI: https://sowelloutboardengines.com/
Author: Sowell Outboard Engines
Description: Custom lightweight WooCommerce-ready theme for Sowell Outboard Engines.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: sowell
*/

:root {
  --soe-navy: #071b2b;
  --soe-ocean: #0b3a5b;
  --soe-blue: #0f5f8f;
  --soe-deep: #04111c;
  --soe-white: #ffffff;
  --soe-silver: #e7edf1;
  --soe-text: #17232d;
  --soe-muted: #667783;
  --soe-border: #dbe3e8;
  --soe-container: 1320px;
  --soe-radius: 3px;
  --soe-shadow: 0 10px 35px rgba(4,17,28,.08);
  --soe-transition: 180ms ease;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--soe-white);
  color: var(--soe-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--soe-blue); }

button, input, select, textarea { font: inherit; }

.soe-container {
  width: min(calc(100% - 40px), var(--soe-container));
  margin-inline: auto;
}

.soe-skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 99999;
}
.soe-skip-link:focus {
  left: 10px;
  padding: 10px 14px;
  background: var(--soe-deep);
  color: #fff;
}

/* Header framework */
.soe-utility-bar {
  background: var(--soe-deep);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  letter-spacing: .02em;
}

.soe-utility-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.soe-utility-left,
.soe-utility-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.soe-main-header {
  background: #fff;
  border-bottom: 1px solid var(--soe-border);
}

.soe-main-header-inner {
  min-height: 94px;
  display: grid;
  grid-template-columns: 260px minmax(280px, 1fr) auto;
  align-items: center;
  gap: 34px;
}

.soe-brand img {
  width: auto;
  max-width: 235px;
  max-height: 70px;
  object-fit: contain;
}

.soe-search {
  display: flex;
  align-items: stretch;
  border: 1px solid #cbd6dc;
  background: #f8fafb;
  min-height: 48px;
}

.soe-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--soe-text);
}

.soe-search button {
  width: 52px;
  border: 0;
  background: var(--soe-navy);
  color: #fff;
  cursor: pointer;
  transition: background var(--soe-transition);
}

.soe-search button:hover { background: var(--soe-ocean); }

.soe-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}

.soe-nav {
  background: var(--soe-navy);
  color: #fff;
}

.soe-nav-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.soe-menu {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.soe-menu > li > a {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: #fff;
  transition: background var(--soe-transition);
}

.soe-menu > li > a:hover {
  background: var(--soe-ocean);
  color: #fff;
}

.soe-nav-help {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}

/* Mobile */
.soe-mobile-toggle {
  display: none;
  border: 1px solid var(--soe-border);
  background: #fff;
  color: var(--soe-navy);
  padding: 9px 12px;
  cursor: pointer;
}

.soe-mobile-search { display: none; }

@media (max-width: 1050px) {
  .soe-main-header-inner {
    grid-template-columns: 210px minmax(220px, 1fr) auto;
    gap: 20px;
  }
  .soe-menu > li > a { padding: 0 12px; }
  .soe-header-actions { gap: 12px; }
}

@media (max-width: 820px) {
  .soe-utility-inner {
    justify-content: center;
    min-height: 34px;
  }
  .soe-utility-right { display: none; }
  .soe-main-header-inner {
    min-height: 76px;
    grid-template-columns: 1fr auto;
    gap: 14px;
  }
  .soe-brand img { max-width: 190px; max-height: 58px; }
  .soe-main-header .soe-search,
  .soe-header-actions .soe-account-link { display: none; }
  .soe-mobile-toggle { display: inline-flex; align-items: center; }
  .soe-mobile-search {
    display: block;
    padding: 12px 0;
    background: #fff;
    border-bottom: 1px solid var(--soe-border);
  }
  .soe-nav { display: none; }
  .soe-container { width: min(calc(100% - 28px), var(--soe-container)); }
}

/* Main/footer framework */
.soe-site-main { min-height: 60vh; }

.soe-footer {
  margin-top: 80px;
  background: var(--soe-deep);
  color: rgba(255,255,255,.78);
}

.soe-footer-top {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.soe-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
}

.soe-footer h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 13px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.soe-footer p { margin: 0 0 12px; font-size: 14px; }

.soe-footer-bottom {
  padding: 22px 0;
  font-size: 12px;
}

@media (max-width: 760px) {
  .soe-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
}

@media (max-width: 520px) {
  .soe-footer-grid { grid-template-columns: 1fr; }
}

/* Base WordPress/WooCommerce compatibility */
.wp-block-group, .wp-block-cover, .wp-block-columns { max-width: none; }
.woocommerce .site-main { width: 100%; }
.woocommerce ul.products { margin: 0; padding: 0; }
