
/* Custom CSS theme */
/* ===================================
   Rocky Mountain Anglers Store Theme CSS
   Matches branding from rockymtanglers.com
   =================================== */
/* COLOR PALETTE - Extracted from Rocky Mountain Anglers branding */
:root {
  /* Primary Brand Colors */
  --rma-primary-green: #2d5f3f;
  --rma-dark-green: #1a3d2a;
  --rma-light-green: #4a7c5d;
  --rma-accent-tan: #d4c5a9;
  --rma-cream: #f5f1e8;
  /* Neutral Colors */
  --rma-dark-gray: #333333;
  --rma-medium-gray: #666666;
  --rma-light-gray: #f8f8f8;
  --rma-white: #ffffff;
  /* Text Colors */
  --rma-text-primary: #333333;
  --rma-text-secondary: #666666;
  --rma-text-light: #999999;
  /* Accent/CTA Colors */
  --rma-button-primary: #2d5f3f;
  --rma-button-hover: #1a3d2a;
  --rma-link-color: #2d5f3f;
  --rma-link-hover: #1a3d2a;
}

/* TYPOGRAPHY - Matches Rocky Mountain Anglers font stack */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--rma-text-primary);
  line-height: 1.6;
  background-color: var(--rma-white);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  color: var(--rma-dark-gray);
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Page Title Styling */
.page-title,
#page-title,
.entry-title {
  color: var(--rma-dark-green);
  font-weight: 700;
  border-bottom: 3px solid var(--rma-accent-tan);
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

/* BUTTONS - Rocky Mountain Anglers style */
button,
.button,
.btn,
input[type="submit"],
input[type="button"],
.ec-store button,
.ec-store .form-control--button {
  background-color: var(--rma-button-primary);
  color: var(--rma-white);
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 3px;
}

button:hover,
.button:hover,
.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.ec-store button:hover {
  background-color: var(--rma-button-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(45, 95, 63, 0.3);
}

/* Secondary/Outline buttons */
.button--secondary,
.btn-secondary {
  background-color: transparent;
  color: var(--rma-button-primary);
  border: 2px solid var(--rma-button-primary);
}

.button--secondary:hover,
.btn-secondary:hover {
  background-color: var(--rma-button-primary);
  color: var(--rma-white);
}

/* LINKS */
a {
  color: var(--rma-link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--rma-link-hover);
  text-decoration: underline;
}

/* HEADER STYLING */
.header,
header,
.site-header {
  background-color: var(--rma-white);
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Navigation */
nav a,
.menu a,
.navigation a {
  color: var(--rma-dark-gray);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

nav a:hover,
.menu a:hover,
.navigation a:hover {
  color: var(--rma-primary-green);
}

/* PRODUCT CARDS/GRID */
.product-card,
.ec-store .ec-grid__product,
.grid-product {
  background-color: var(--rma-white);
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.product-card:hover,
.ec-store .ec-grid__product:hover {
  border-color: var(--rma-primary-green);
  box-shadow: 0 4px 12px rgba(45, 95, 63, 0.15);
  transform: translateY(-3px);
}

.product-card img,
.ec-store .ec-grid__product img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover img,
.ec-store .ec-grid__product:hover img {
  transform: scale(1.05);
}

/* Product titles */
.product-title,
.ec-store .grid-product__title,
.product-name {
  color: var(--rma-dark-gray);
  font-weight: 600;
  font-size: 1rem;
  margin: 0.75rem 0 0.5rem;
}

/* Product prices */
.product-price,
.ec-store .ec-price,
.price {
  color: var(--rma-primary-green);
  font-weight: 700;
  font-size: 1.25rem;
}

/* FILTER/SIDEBAR STYLING */
.filters,
.sidebar,
.ec-store .ec-filters,
.widget {
  background-color: var(--rma-light-gray);
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.filter-title,
.widget-title {
  color: var(--rma-dark-green);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--rma-accent-tan);
  padding-bottom: 0.5rem;
}

/* Filter options */
.filter-option,
.ec-store .ec-radiogroup label,
.ec-store .ec-checkboxgroup label {
  color: var(--rma-text-primary);
  padding: 0.5rem 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.filter-option:hover {
  color: var(--rma-primary-green);
}

/* CATEGORY TAGS/BADGES */
.category-tag,
.badge,
.tag {
  background-color: var(--rma-accent-tan);
  color: var(--rma-dark-green);
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin: 0.25rem;
}

.category-tag:hover,
.badge:hover {
  background-color: var(--rma-primary-green);
  color: var(--rma-white);
}

/* BREADCRUMBS */
.breadcrumbs,
.breadcrumb {
  color: var(--rma-text-secondary);
  font-size: 0.9rem;
  padding: 1rem 0;
}

.breadcrumbs a,
.breadcrumb a {
  color: var(--rma-primary-green);
}

/* SORT DROPDOWN */
select,
.select,
.ec-store select,
.form-control--select {
  background-color: var(--rma-white);
  border: 1px solid #d0d0d0;
  padding: 10px 15px;
  border-radius: 3px;
  color: var(--rma-text-primary);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

select:hover,
select:focus {
  border-color: var(--rma-primary-green);
  outline: none;
}

/* FOOTER STYLING */
footer,
.footer,
.site-footer {
  background-color: var(--rma-dark-green);
  color: var(--rma-white);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

footer h2,
footer h3,
footer h4 {
  color: var(--rma-white);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

footer p,
footer a {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

footer a:hover {
  color: var(--rma-accent-tan);
}

/* Newsletter signup */
.newsletter-signup,
.footer-newsletter {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 4px;
  margin-bottom: 2rem;
}

.newsletter-signup input[type="email"] {
  padding: 12px;
  border: none;
  border-radius: 3px;
  width: 100%;
  max-width: 350px;
  margin-right: 0.5rem;
}

/* Social media icons */
.social-icons a {
  color: var(--rma-white);
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--rma-accent-tan);
}

/* FORMS */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  border: 1px solid #d0d0d0;
  padding: 12px 15px;
  border-radius: 3px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  width: 100%;
}

input:focus,
textarea:focus {
  border-color: var(--rma-primary-green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 95, 63, 0.1);
}

/* ALERTS/NOTIFICATIONS */
.alert,
.notification {
  padding: 1rem 1.5rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.alert-success {
  background-color: #d4edda;
  border-left: 4px solid var(--rma-primary-green);
  color: #155724;
}

.alert-error {
  background-color: #f8d7da;
  border-left: 4px solid #dc3545;
  color: #721c24;
}

/* LOADING/SPINNER */
.loading,
.spinner {
  border: 3px solid rgba(45, 95, 63, 0.2);
  border-top-color: var(--rma-primary-green);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* CARDS AND CONTAINERS */
.card,
.container-box {
  background-color: var(--rma-white);
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* PAGINATION */
.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 2rem 0;
}

.pagination a,
.pagination span {
  padding: 8px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  color: var(--rma-text-primary);
  transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
  background-color: var(--rma-primary-green);
  color: var(--rma-white);
  border-color: var(--rma-primary-green);
}

/* RESPONSIVE UTILITIES */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .newsletter-signup input[type="email"] {
    margin-bottom: 0.5rem;
    max-width: 100%;
  }
}

/* ECWID SPECIFIC OVERRIDES (if using Ecwid store) */
.ec-store {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.ec-store .ec-store__content-wrapper {
  background-color: var(--rma-white);
}

/* Override Ecwid category buttons */
.ec-store .ec-wrapper .ec-store .ec-breadcrumbs a,
.ec-store .form-control--button {
  background-color: var(--rma-button-primary) !important;
}

.ec-store .ec-wrapper .ec-store .ec-breadcrumbs a:hover,
.ec-store .form-control--button:hover {
  background-color: var(--rma-button-hover) !important;
}

/* Featured Products Section */
.featured-products {
  background-color: var(--rma-cream);
  padding: 3rem 0;
  margin: 2rem 0;
}

.featured-products h2 {
  color: var(--rma-dark-green);
  text-align: center;
  margin-bottom: 2rem;
}

/* Store Header/Banner */
.store-banner,
.page-header {
  background-color: var(--rma-primary-green);
  color: var(--rma-white);
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.store-banner h1 {
  color: var(--rma-white);
  margin-bottom: 0.5rem;
}

.store-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}
