/*
Theme Name: PGM Fishmongers
Theme URI: https://example.com/pgm-fishmongers
Author: PGM Fishmongers
Description: WordPress and WooCommerce-ready theme for PGM Fishmongers with Stripe-safe checkout support.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: pgm-fishmongers
*/

:root {
  --navy: #032b55;
  --deep: #011a35;
  --blue: #0f63b7;
  --green: #11a943;
  --gold: #ffb334;
  --ink: #09213e;
  --muted: #5c6f84;
  --line: #dbe5ef;
  --bg: #f4f8fc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(5, 31, 62, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

body.cart-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.top-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 36px;
  padding: 0 6vw;
  background: linear-gradient(90deg, #053b73, #011f3f);
  color: var(--white);
  font-size: 14px;
}

.top-strip p {
  margin: 0;
}

.top-strip span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.top-strip strong {
  margin-left: auto;
  font-weight: 600;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 6vw;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(5, 31, 62, 0.08);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 245px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  flex: 0 0 58px;
  border: 3px solid #d7a93d;
  border-radius: 50%;
  background: linear-gradient(145deg, #073d70 0%, #011a35 72%);
  box-shadow:
    inset 0 0 0 3px #ffffff,
    0 6px 16px rgba(3, 43, 85, 0.22);
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.brand-mark::after {
  position: absolute;
  right: 11px;
  bottom: 10px;
  left: 11px;
  height: 2px;
  border-radius: 999px;
  background: #d7a93d;
  content: "";
  opacity: 0.9;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  min-height: 430px;
  align-items: center;
  padding: 72px 6vw;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(1, 20, 42, 0.96) 0%, rgba(1, 33, 65, 0.74) 46%, rgba(1, 33, 65, 0.05) 78%),
    url("assets/hero-seafood-premium.jpg") center / cover no-repeat;
  color: var(--white);
}

.hero-content {
  max-width: 710px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9ed0ff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
}

h3 {
  margin: 0 0 16px;
  color: var(--navy);
}

.script {
  margin: 8px 0 18px;
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: clamp(27px, 3vw, 42px);
  font-style: italic;
  line-height: 1.05;
}

.hero-copy {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: 22px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.secondary,
.checkout-link,
.cart-button,
.tracker button,
.chat-panel button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.checkout-link,
.cart-button {
  border: 0;
  background: var(--navy);
  color: var(--white);
}

.cart-button {
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
}

.cart-button span {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--deep);
  font-size: 12px;
}

.full {
  width: 100%;
}

.trust-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  width: min(1400px, 88vw);
  margin: -34px auto 0;
  padding: 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.trust-row article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px 14px;
  align-items: center;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}

.trust-row article:last-child {
  border-right: 0;
}

.trust-row span {
  grid-row: span 2;
  color: var(--blue);
  font-weight: 900;
  font-size: 28px;
}

.trust-row strong {
  font-size: 14px;
}

.trust-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.google-trust-bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  width: min(1400px, 88vw);
  margin: 22px auto 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(5, 31, 62, 0.08);
}

.google-trust-bar div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.google-word {
  font-weight: 900;
}

.google-word b:nth-child(1),
.google-word b:nth-child(4) {
  color: #4285f4;
}

.google-word b:nth-child(2),
.google-word b:nth-child(6) {
  color: #db4437;
}

.google-word b:nth-child(3) {
  color: #f4b400;
}

.google-word b:nth-child(5) {
  color: #0f9d58;
}

.google-trust-bar strong {
  color: var(--navy);
}

.google-trust-bar p {
  margin: 0;
  color: var(--muted);
}

.stars {
  color: var(--gold);
  font-size: 22px;
  letter-spacing: 2px;
}

.google-trust-bar a {
  color: var(--blue);
  font-weight: 900;
}

.section {
  width: min(1400px, 88vw);
  margin: 72px auto;
}

.section-heading {
  margin-bottom: 24px;
  text-align: center;
}

.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.filter,
.prep-grid button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
}

.filter.active,
.prep-grid button.active {
  border-color: var(--blue);
  background: var(--navy);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(5, 31, 62, 0.1);
}

.product-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-body {
  padding: 14px;
}

.product-body h3 {
  min-height: 44px;
  margin-bottom: 8px;
  font-size: 16px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.price {
  font-weight: 900;
}

.badge {
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8f4ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.status {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.product-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.product-controls label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-controls select {
  min-height: 38px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 8px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.add-cart {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.category-grid a {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(5, 31, 62, 0.08);
  font-weight: 900;
  text-align: center;
}

.why-card,
.tracker,
.contact-card,
.prepare {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(5, 31, 62, 0.09);
}

.why-card,
.tracker,
.contact-card {
  padding: 28px;
}

.why-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--blue);
  font-weight: 900;
}

.prepare {
  padding: 34px;
}

.prep-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.order-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: min(1400px, 88vw);
  margin: 72px auto;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--navy), var(--deep));
  color: var(--white);
}

.order-band article {
  min-height: 112px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.order-band article:last-child {
  border-right: 0;
}

.order-band strong {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.order-band p {
  margin: 0;
  color: #d7e8fb;
}

.section-copy {
  max-width: 720px;
  margin: 10px auto 0;
  color: var(--muted);
  line-height: 1.55;
}

.guide-layout,
.local-help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 24px;
  align-items: stretch;
}

.guide-panel,
.local-help-main,
.local-help-faq,
.local-area-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(5, 31, 62, 0.09);
}

.guide-panel,
.local-help-main,
.local-help-faq {
  padding: 28px;
}

.guide-panel h3,
.local-help-main h3,
.local-help-faq h3,
.local-area-panel h3 {
  margin-bottom: 12px;
}

.prep-panel .prep-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.5;
}

.clean-list li {
  position: relative;
  padding-left: 18px;
}

.clean-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.guide-cards {
  margin-top: 22px;
}

.local-help-main p,
.local-area-panel p,
.faq-list p {
  color: var(--muted);
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  padding: 16px;
}

.faq-list summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}

.local-area-panel {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  margin-top: 22px;
  padding: 28px;
}

.area-mini-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ecommerce-panel,
.checkout-section {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(5, 31, 62, 0.09);
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 24px;
}

.checkout-steps span {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.checkout-steps .active {
  border-color: var(--blue);
  background: #eaf5ff;
  color: var(--navy);
}

.cart-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--navy);
}

.cart-list-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.cart-list,
#drawer-cart-list {
  display: grid;
  gap: 12px;
}

.empty-cart {
  margin: 0;
  padding: 24px;
  border: 1px dashed #b9c9dc;
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.empty-cart strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 18px;
}

.empty-cart p {
  margin: 0 0 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.cart-item img {
  width: 88px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.cart-edit {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 8px;
}

.cart-edit label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.cart-edit select,
.cart-summary input,
.cart-summary select,
.checkout-form input,
.checkout-form select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: var(--white);
}

.remove-item {
  border: 0;
  background: transparent;
  color: #b01f2f;
  cursor: pointer;
  font-weight: 900;
}

.cart-line-total {
  display: grid;
  gap: 6px;
  justify-items: end;
  min-width: 98px;
}

.cart-line-total span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.cart-summary {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
}

.cart-summary label,
.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

#delivery-result {
  color: var(--navy);
  font-weight: 800;
  line-height: 1.4;
}

.totals {
  display: grid;
  gap: 8px;
  margin: 0;
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.totals dt,
.totals dd {
  margin: 0;
}

.totals .total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.checkout-form {
  display: grid;
  gap: 18px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

.checkout-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkout-form legend {
  padding: 0 8px;
  color: var(--navy);
  font-weight: 900;
}

.checkout-form .wide,
.payment-box,
.fine-print {
  grid-column: 1 / -1;
}

.payment-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-method-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.payment-icon {
  display: inline-flex;
  min-width: 78px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(5, 31, 62, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.payment-icon.visa {
  color: #164b9b;
  font-style: italic;
}

.payment-icon.amex {
  background: #1f72cd;
  color: var(--white);
}

.payment-icon.wallet {
  min-width: 104px;
  background: #111827;
  color: var(--white);
}

.payment-icon.mastercard {
  gap: 0;
}

.payment-icon.mastercard i,
.payment-icon.mastercard b {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.payment-icon.mastercard i {
  margin-right: -8px;
  background: #eb001b;
}

.payment-icon.mastercard b {
  background: #f79e1b;
}

.stripe-placeholder {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.stripe-placeholder input {
  color: var(--muted);
  font-weight: 800;
}

.checkout-form textarea {
  min-height: 96px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.payment-status {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 8px;
  align-items: center;
}

.payment-status strong {
  color: var(--navy);
}

.payment-status span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eaf5ff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.fine-print {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.info-label {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #b9d8f5;
  border-radius: 8px;
  background: #eef7ff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.checkout-form > button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.checkout-form > button:disabled,
.checkout-link[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.5;
}

#confirmation {
  color: var(--navy);
  font-weight: 900;
}

.checkout-review {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
}

.review-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.review-item span {
  color: var(--navy);
  font-weight: 900;
}

.review-item small {
  color: var(--muted);
  font-weight: 700;
}

.review-item strong {
  grid-row: span 2;
  align-self: center;
}

.empty-review {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.totals.compact {
  padding-top: 4px;
}

.secondary-edit {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  width: min(420px, 100vw);
  height: 100dvh;
  max-height: 100dvh;
  padding: 18px;
  border-left: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cart-drawer #drawer-cart-list {
  height: 100%;
  min-height: 0;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 8px;
  scrollbar-color: #9fb7cf #eef4fa;
  scrollbar-width: thin;
}

.cart-drawer #drawer-cart-list::-webkit-scrollbar {
  width: 10px;
}

.cart-drawer #drawer-cart-list::-webkit-scrollbar-track {
  background: #eef4fa;
  border-radius: 999px;
}

.cart-drawer #drawer-cart-list::-webkit-scrollbar-thumb {
  background: #9fb7cf;
  border-radius: 999px;
  border: 2px solid #eef4fa;
}

.cart-drawer header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer header button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
}

.tracker form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 12px;
  margin-top: 22px;
}

.tracker label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.tracker input,
.chat-panel input {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
}

.tracker button,
.chat-panel button {
  align-self: end;
  background: var(--navy);
  color: var(--white);
}

#track-result {
  display: block;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 800;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.55;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(5, 31, 62, 0.08);
}

.faq-grid summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}

.map-placeholder {
  display: grid;
  min-height: 150px;
  place-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px dashed #b9c9dc;
  border-radius: 8px;
  background: #eef7ff;
  color: var(--navy);
  font-weight: 900;
  text-align: center;
}

.support-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
}

.detail-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  border-radius: 8px;
  object-fit: cover;
}

.detail-meta {
  justify-content: flex-start;
  margin: 20px 0;
}

.detail-controls {
  max-width: 520px;
  margin-bottom: 18px;
}

.local-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.local-grid article,
.blog-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(5, 31, 62, 0.08);
}

.local-grid article {
  padding: 22px;
}

.local-grid p,
.blog-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.local-grid a,
.blog-grid a {
  color: var(--blue);
  font-weight: 900;
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}

.blog-grid article > div {
  padding: 20px;
}

.post-meta {
  margin: 0 0 8px;
  color: var(--blue) !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.chat-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: 66px;
  height: 66px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-weight: 900;
}

.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 102px;
  z-index: 31;
  display: grid;
  width: min(380px, calc(100vw - 32px));
  max-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.chat-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--navy);
  color: var(--white);
}

.chat-panel header button {
  min-height: 32px;
  width: 32px;
  padding: 0;
  background: rgba(255, 255, 255, 0.14);
}

.chat-messages {
  display: grid;
  gap: 10px;
  max-height: 350px;
  overflow: auto;
  padding: 16px;
}

.message {
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 8px;
  background: #edf5ff;
  color: var(--ink);
  line-height: 1.45;
}

.message.user {
  justify-self: end;
  background: var(--green);
  color: var(--white);
}

.chat-panel form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
}

.navbar {
  position: relative;
  top: auto;
}

.site-footer {
  margin-top: 72px;
  background: var(--deep);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 44px;
  width: min(1400px, 88vw);
  margin: 0 auto;
  padding: 56px 0 42px;
}

.site-footer h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 16px;
  text-transform: uppercase;
}

.site-footer p {
  color: #c8d8e9;
  line-height: 1.65;
}

.footer-logo {
  min-width: 0;
  margin-bottom: 18px;
}

.footer-logo .brand-mark,
.footer-logo strong {
  color: var(--white);
}

.footer-logo small {
  color: #a9bfd6;
}

.footer-brand > p {
  max-width: 390px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a,
.footer-bottom a {
  color: #c8d8e9;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--gold);
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-payments span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1400px, 88vw);
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

[dir="rtl"] .top-strip,
[dir="rtl"] .navbar,
[dir="rtl"] .hero,
[dir="rtl"] .trust-row,
[dir="rtl"] .split {
  direction: rtl;
}

@media (max-width: 1180px) {
  .navbar {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    flex-basis: 100%;
    order: 3;
    margin-left: 0;
  }

  .nav-links.open {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-row article {
    border-bottom: 1px solid var(--line);
  }

  .prep-grid,
  .order-band,
  .category-grid,
  .local-grid,
  .blog-grid,
  .guide-layout,
  .local-help-layout,
  .local-area-panel,
  .area-mini-grid,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .prep-panel .prep-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .top-strip {
    display: none;
  }

  .navbar {
    padding: 12px 18px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 16px;
  }

  .brand strong {
    font-size: 19px;
  }

  .brand small {
    letter-spacing: 1px;
  }

  .nav-actions {
    width: 100%;
  }

  .cart-button {
    flex: 1;
  }

  .nav-links.open {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 560px;
    padding: 54px 20px;
    background:
      linear-gradient(180deg, rgba(1, 20, 42, 0.96) 0%, rgba(1, 33, 65, 0.82) 58%, rgba(1, 33, 65, 0.28) 100%),
      url("assets/hero-seafood-premium.jpg") 58% center / cover no-repeat;
  }

  h1 {
    font-size: 54px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section,
  .trust-row,
  .google-trust-bar,
  .order-band {
    width: calc(100vw - 32px);
  }

  .trust-row,
  .product-grid,
  .split,
  .order-band,
  .category-grid,
  .local-grid,
  .blog-grid,
  .guide-layout,
  .local-help-layout,
  .local-area-panel,
  .area-mini-grid,
  .faq-grid,
  .prep-grid,
  .cart-layout,
  .checkout-layout,
  .checkout-form fieldset,
  .tracker form {
    grid-template-columns: 1fr;
  }

  .prep-panel .prep-grid {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .checkout-review {
    position: static;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
    align-items: start;
  }

  .cart-item img {
    width: 72px;
    height: 62px;
  }

  .cart-line-total {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .checkout-steps {
    grid-template-columns: 1fr;
  }

  .stripe-placeholder {
    grid-template-columns: 1fr;
  }

  .trust-row {
    margin-top: -22px;
  }

  .google-trust-bar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .google-trust-bar div:first-child {
    justify-content: center;
  }

  .trust-row article,
  .order-band article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-grid {
    gap: 16px;
  }

  .chat-launcher {
    right: 16px;
    bottom: 16px;
  }

  .chat-panel {
    right: 16px;
    bottom: 90px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    width: calc(100vw - 40px);
    padding: 42px 0 30px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    width: calc(100vw - 40px);
  }
}

.woocommerce-page-shell,
.woocommerce .woocommerce-cart-form,
.woocommerce-checkout,
.woocommerce-order {
  color: var(--ink);
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(5, 31, 62, 0.08);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout input,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #payment #place_order {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #payment #place_order:hover {
  background: var(--blue);
  color: var(--white);
}

.woocommerce-checkout #payment {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.woocommerce-checkout #payment div.payment_box {
  background: var(--white);
  border-radius: 8px;
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: var(--white);
}

.woocommerce-mini-cart {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-mini-cart__buttons {
  display: grid;
  gap: 10px;
}

.woocommerce-mini-cart__buttons .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
