/*--------------------------------------------------------------
  M-Fishing Theme – Base WooCommerce Overrides
  Tokens: cream-bg #FDFCF8 | rich-black #121212 | muted-gold #D4AF37
          soft-gray #F2F0EB | lux-green #1B4D3E | lux-green-light #2A6E5A
  Fonts:  "Cinzel", serif (headings) | "Manrope", sans-serif (body)
--------------------------------------------------------------*/

/* ---- Reset WooCommerce defaults ---- */
.woocommerce,
.woocommerce-page {
  font-family: "Manrope", sans-serif;
  color: #121212;
}

.woocommerce h1,
.woocommerce h2,
.woocommerce h3,
.woocommerce h4 {
  font-family: "Cinzel", serif;
  color: #121212;
}

/* ---- Form inputs ---- */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row textarea,
.woocommerce-page form .form-row select {
  background: #FDFCF8;
  border: 1px solid #e0ddd6;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  color: #121212;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  outline: none;
}

.woocommerce form .form-row label {
  font-family: "Manrope", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #121212;
  margin-bottom: 6px;
}

/* ---- Notices & messages ---- */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  border-top: none;
  border-left: 4px solid;
  border-radius: 8px;
  padding: 16px 20px;
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  background: #FDFCF8;
  line-height: 1.5;
}

.woocommerce .woocommerce-message {
  border-left-color: #1B4D3E;
  color: #1B4D3E;
}

.woocommerce .woocommerce-info {
  border-left-color: #D4AF37;
  color: #121212;
}

.woocommerce .woocommerce-error {
  border-left-color: #c0392b;
  color: #c0392b;
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before {
  color: inherit;
}

/* ---- Button overrides ---- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  background: #1B4D3E;
  color: #FDFCF8;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: #2A6E5A;
  color: #FDFCF8;
  transform: translateY(-1px);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
  background: #D4AF37;
  color: #121212;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
  background: #c9a02e;
  color: #121212;
}

.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ---- Price display ---- */
.woocommerce .price,
.woocommerce p.price,
.woocommerce span.price {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  color: #1B4D3E;
  font-size: 1.1rem;
}

.woocommerce .price del {
  opacity: 0.5;
  font-weight: 400;
  font-size: 0.9em;
  color: #888;
}

.woocommerce .price ins {
  text-decoration: none;
  color: #1B4D3E;
  font-weight: 700;
}

/* ---- Star ratings ---- */
.woocommerce .star-rating {
  color: #D4AF37;
  font-size: 0.9rem;
}

.woocommerce .star-rating::before {
  color: #e0ddd6;
}

.woocommerce .star-rating span::before {
  color: #D4AF37;
}

.woocommerce p.stars a {
  color: #D4AF37;
}

.woocommerce p.stars a::before {
  color: #e0ddd6;
}

.woocommerce p.stars a.active::before,
.woocommerce p.stars a:hover ~ a::before {
  color: #D4AF37;
}

/* ---- Pagination ---- */
.woocommerce nav.woocommerce-pagination {
  margin-top: 3rem;
  text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  gap: 6px;
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none;
  margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span.current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 8px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #e0ddd6;
  background: #FDFCF8;
  color: #121212;
  transition: all 0.2s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
  border-color: #D4AF37;
  color: #D4AF37;
  background: #FDFCF8;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: #D4AF37;
  border-color: #D4AF37;
  color: #121212;
  font-weight: 700;
}

/* ---- Breadcrumbs ---- */
.woocommerce .woocommerce-breadcrumb {
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  color: #888;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.woocommerce .woocommerce-breadcrumb a {
  color: #1B4D3E;
  text-decoration: none;
  transition: color 0.2s ease;
}

.woocommerce .woocommerce-breadcrumb a:hover {
  color: #D4AF37;
}

.woocommerce .woocommerce-breadcrumb .breadcrumb-separator {
  margin: 0 8px;
  color: #ccc;
}
