/* Home Page Styles */
/* Section Title Styles */
.ws-section-title {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(124, 92, 62, 0.2);
  position: relative;
  overflow: hidden;
  background: rgb(255, 255, 255);
}

/* Collapsible Section Styles */
.ws-collapsible-section {
  margin-bottom: 40px;
  contain: layout style;
}
.ws-product-cards,
.ws-featured-products .ws-section-content {
  contain: layout style paint;
}

.ws-section-toggle {
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  justify-content: space-between;
  position: relative;
}

.ws-section-toggle span {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: center;
}

.ws-section-toggle:hover {
  background: rgba(156, 28, 52, 0.05);
}

.ws-toggle-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  position: absolute;
  right: 30px;
  color: var(--primary-color);
}

.ws-section-toggle.expanded .ws-toggle-icon {
  transform: rotate(180deg);
}

.ws-section-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0;
}

.ws-section-content.expanded {
  max-height: 5000px;
  padding: 20px 0;
}

.ws-section-content.ws-collapsed {
  max-height: 0;
  padding: 0;
}

/* Mobile Suppliers Note */
.ws-suppliers-mobile-note {
  display: none;
  text-align: center;
  padding: 30px 20px;
  background: var(--surface);
  border-radius: 12px;
  margin: 20px 0;
}

.ws-suppliers-mobile-note p {
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 20px;
  line-height: 1.6;
}

.ws-suppliers-mobile-note .ws-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.ws-suppliers-mobile-note .ws-btn:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 92, 62, 0.2);
}

/* Hide desktop suppliers grid on mobile */
.ws-suppliers-desktop {
  display: block;
}

.ws-section-title::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(255, 255, 255);
  z-index: 1;
}

.ws-section-title > * {
  position: relative;
  z-index: 2;
}

.ws-section-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Festive variant for holiday markets */
.ws-farmers-content-festive {
  /* Festive layered background */
  background:
    radial-gradient(circle at 20% 80%, #ff9966 0%, transparent 30%),
    radial-gradient(circle at 80% 20%, #66cc99 0%, transparent 30%),
    linear-gradient(135deg, #1a472a 0%, #2d6a4f 50%, #40916c 100%);
  background-size: 200% 200%;
  animation: festivePulse 20s ease infinite;
  border: 1px solid rgba(191,161,74,0.35);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(44,38,33,0.08);
  position: relative;
  overflow: hidden;
}

.ws-farmers-market-festive .ws-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ws-holiday-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 6px 10px;
  background: #bfa14a;
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: no-preference) {
  .ws-farmers-content-festive::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="%23ffffff22" d="M50 10 L60 40 L90 40 L65 60 L75 90 L50 70 L25 90 L35 60 L10 40 L40 40 Z"/></svg>') repeat,
      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle fill="%23ff9966" cx="30" cy="30" r="8"/></svg>') repeat;
    background-size: 80px 80px, 40px 40px;
    opacity: 0.4;
    animation: snowDrift 30s linear infinite;
    pointer-events: none;
  }
}

@keyframes festivePulse {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}

@keyframes snowDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 100px 100px, 60px 60px; }
}



/* Main Content Sections */
.ws-retail,
.ws-farmers-market,
.ws-green-assoc,
.ws-local-suppliers,
.ws-featured-products {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 24px;
}

/* Limited Events Section - Grid Layout */
.ws-limited-events {
  max-width: 90%;
  margin: 60px auto;
  padding: 0 24px;
  width: 100%;
}

.ws-limited-events-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  width: 90%;
  margin: 0 auto;
}

.ws-limited-events-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.ws-limited-events-right {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Decision Makers Luncheon Card */
.ws-luncheon-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ws-luncheon-card .ws-section-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ws-luncheon-card-content {
  background: linear-gradient(135deg, #9c1c34 0%, #7a1628 100%);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(44,38,33,0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ws-luncheon-card-content .ws-section-title {
  color: var(--primary-color);
  border-bottom-color: var(--accent-color);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
}

.ws-luncheon-card-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../../texuredbackgrounds/woodbackground.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}

.ws-luncheon-card-text {
  position: relative;
  z-index: 2;
  color: white;
}

.ws-luncheon-header-text {
  display: block;
  font-family: var(--font-primary);
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-top: 12px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 2px;
}

.ws-luncheon-card-content h3.ws-luncheon-header-text {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  color: var(--accent-color);
  margin: 0 0 20px 0;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  font-style: italic;
  position: relative;
  z-index: 2;
  letter-spacing: 1px;
}

.ws-luncheon-desc {
  font-size: 1.1rem;
  color: white;
  line-height: 1.6;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ws-luncheon-features {
  text-align: left;
  margin: 24px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.ws-luncheon-features p {
  margin: 12px 0;
  color: white;
  font-size: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ws-luncheon-features strong {
  color: var(--accent-color);
  margin-right: 8px;
  font-size: 1.2rem;
}

.ws-luncheon-card .ws-learn-more-btn {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--charcoal);
  margin-top: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.ws-luncheon-card .ws-learn-more-btn:hover {
  background: #d4a574;
  border-color: #d4a574;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
}

/* Adjust farmers market and marketwagon to fit in left column */
.ws-limited-events-left .ws-farmers-market,
.ws-limited-events-left .ws-green-assoc {
  margin: 0;
  padding: 0;
  max-width: 100%;
  width: 100%;
}

.ws-limited-events-left .ws-farmers-content,
.ws-limited-events-left .ws-green-wrapper {
  width: 100%;
}

.ws-limited-events-left .ws-farmers-content {
  padding: 30px;
  gap: 24px;
}

.ws-limited-events-left .ws-farmers-img {
  height: 250px;
  max-width: 100%;
}

.ws-limited-events-left .ws-green-wrapper {
  padding: 30px;
}

.ws-retail-desc,
.ws-green-desc,
.ws-suppliers-desc {
  font-size: 1.1rem;
  color: var(--charcoal);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Retail Locations Grid */
.ws-retail-locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.ws-retail-location {
  background: var(--surface);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 8px 24px rgba(44,38,33,0.12);
  border: 2px solid rgba(124, 92, 62, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ws-retail-location::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ws-retail-location:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(44,38,33,0.2);
  border-color: rgba(124, 92, 62, 0.2);
}

.ws-retail-location:hover::before {
  opacity: 1;
}

.ws-retail-location-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.ws-retail-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(248, 246, 243, 0.6);
  padding: 8px;
}

.ws-retail-location-title {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  color: var(--primary-color);
  margin: 0;
  letter-spacing: 1px;
  font-weight: 700;
}

.ws-retail-location-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ws-retail-location-desc {
  color: var(--charcoal);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.ws-retail-location-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.ws-retail-location-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ws-retail-location-address {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--taupe);
  font-size: 0.95rem;
  margin: 0;
}

.ws-retail-location-address i {
  color: var(--primary-color);
  font-size: 1rem;
}

.ws-retail-location-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-color);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  align-self: flex-start;
}

.ws-retail-location-btn:hover,
.ws-retail-location-btn:focus {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(156, 28, 52, 0.3);
  color: var(--charcoal);
}

.ws-retail-location-btn:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Gift Cards Section */
.ws-gift-cards {
  background: var(--surface-light);
  padding: 60px 0;
  max-width: 1200px;
  margin: 60px auto;
  padding: 60px 24px;
}

.ws-gift-cards-desc {
  font-size: 1.1rem;
  color: var(--charcoal);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.ws-gift-cards-container {
  max-width: 800px;
  margin: 0 auto;
}

.ws-gift-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 8px 24px rgba(44,38,33,0.12);
  border: 2px solid rgba(124, 92, 62, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ws-gift-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ws-gift-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(44,38,33,0.2);
  border-color: rgba(124, 92, 62, 0.2);
}

.ws-gift-card:hover::before {
  opacity: 1;
}

.ws-gift-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  text-align: center;
  justify-content: center;
}

.ws-gift-card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(156, 28, 52, 0.2);
  flex-shrink: 0;
}

.ws-gift-card-icon i {
  font-size: 2.5rem;
  color: white;
}

.ws-gift-card-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 0;
  letter-spacing: 1px;
  font-weight: 700;
}

.ws-gift-card-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ws-gift-card-desc {
  color: var(--charcoal);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
  text-align: center;
}

.ws-gift-card-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0;
}

.ws-gift-card-features p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--charcoal);
  font-size: 1rem;
  margin: 0;
  justify-content: center;
}

.ws-gift-card-features i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.ws-gift-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary-color);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  align-self: center;
  margin-top: 8px;
}

.ws-gift-card-btn:hover,
.ws-gift-card-btn:focus {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(156, 28, 52, 0.3);
  color: var(--charcoal);
}

.ws-gift-card-btn:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.ws-gift-card-btn i {
  font-size: 1.2rem;
}

.ws-farmers-desc {
  font-size: 1.1rem;
  color: white;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* Farmers Market Section */
.ws-farmers-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
  background-image: url('../../texuredbackgrounds/woodbackground.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(124, 92, 62, 0.3);
  position: relative;
}

.ws-farmers-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  z-index: 1;
}

.ws-farmers-text,
.ws-farmers-image {
  position: relative;
  z-index: 2;
}

.ws-farmers-text {
  order: 1;
}

.ws-farmers-market .ws-section-title {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.ws-farmers-market .ws-section-title i {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ws-farmers-image {
  order: 2;
  text-align: center;
}

.ws-farmers-img {
  width: 100%;
  max-width: 500px;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.ws-farmers-img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 1);
}

.ws-learn-more-btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-top: 24px;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 16px rgba(156, 28, 52, 0.2);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ws-farmers-market .ws-learn-more-btn {
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ws-learn-more-btn:hover {
  background: #7a1628;
  border-color: #7a1628;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(156, 28, 52, 0.3);
}

.ws-farmers-market .ws-learn-more-btn:hover {
  background: #d4a574;
  border-color: #d4a574;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
}

.ws-learn-more-btn:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.ws-farmers-market .ws-learn-more-btn:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Green Association Section */
.ws-green-wrapper {
  background: linear-gradient(135deg, #f8f6f3 0%, #ffffff 100%);
  
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(44,38,33,0.08);
}

.ws-green-content {
  max-width: 600px;
  margin: 0 auto;
}

/* Local Suppliers Section */
.ws-suppliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.ws-supplier-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.ws-supplier-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(44,38,33,0.12);
  transition: all 0.3s ease;
  border: 2px solid rgba(124, 92, 62, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.ws-supplier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ws-supplier-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(44,38,33,0.2);
  border-color: rgba(124, 92, 62, 0.2);
}

.ws-supplier-card:hover::before {
  opacity: 1;
}

.ws-supplier-logo {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  padding: 16px;
  background: rgba(248, 246, 243, 0.6);
  border-radius: 16px;
  margin-left: auto;
  margin-right: auto;
  width: 120px;
}

.ws-supplier-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.ws-supplier-placeholder {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--taupe), #a89a8a);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.ws-supplier-name {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  letter-spacing: 1px;
  font-weight: 700;
}

.ws-supplier-specialty {
  color: var(--charcoal);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 16px;
}

/* Supplier Card Dropdown Styles */
.ws-supplier-card {
  cursor: pointer;
  position: relative;
  /* Default collapsed state - show only logo */
  max-height: 180px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Expanded state */
.ws-supplier-card.expanded {
  max-height: none;
  padding: 32px 24px;
  align-items: stretch;
}

.ws-supplier-card.expanded .ws-supplier-logo {
  margin-bottom: 20px;
}

.ws-supplier-card.expanded .ws-supplier-name {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.ws-supplier-card.expanded .ws-supplier-specialty {
  margin-bottom: 20px;
}

.ws-supplier-card.expanded .ws-supplier-details {
  display: block;
  opacity: 1;
  margin-top: 20px;
}

/* Collapsed state - hide name and specialty */
.ws-supplier-card.collapsed {
  max-height: 180px;
  padding: 20px;
}

.ws-supplier-card.collapsed .ws-supplier-name,
.ws-supplier-card.collapsed .ws-supplier-specialty {
  display: none;
}

.ws-supplier-card.collapsed .ws-supplier-details {
  display: none;
  opacity: 0;
}

.ws-supplier-card.collapsed .ws-supplier-logo {
  margin-bottom: 0;
}

/* Supplier Info Structure */
.ws-supplier-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ws-supplier-details {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 100%;
  text-align: center;
}

.ws-supplier-desc {
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.ws-supplier-website-btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.ws-supplier-website-btn:hover,
.ws-supplier-website-btn:focus {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(156, 28, 52, 0.3);
}

/* Supplier Arrow Indicator */
.ws-supplier-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.ws-supplier-arrow i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.ws-supplier-card:hover .ws-supplier-arrow {
  color: var(--accent-color);
}

.ws-supplier-card.expanded .ws-supplier-arrow i {
  transform: rotate(180deg);
}

.ws-supplier-card.collapsed .ws-supplier-arrow i {
  transform: rotate(0deg);
}

/* Supplier Image Link */
.ws-supplier-img-link {
  display: block;
  transition: transform 0.3s ease;
}

.ws-supplier-img-link:hover {
  transform: scale(1.05);
}

.ws-supplier-card:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(44,38,33,0.15);
}

/* Responsive Design for Supplier Cards */
@media (max-width: 768px) {
  .ws-suppliers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
  }
  
  .ws-supplier-card {
    max-height: 180px;
    padding: 20px 16px;
  }
  
  .ws-supplier-card .ws-supplier-logo {
    height: 80px;
    width: 100px;
    margin-bottom: 16px;
  }
  
  .ws-supplier-card .ws-supplier-name {
    font-size: 1.1rem;
  }
  
  .ws-supplier-card .ws-supplier-specialty {
    font-size: 0.9rem;
  }
  
  .ws-supplier-arrow {
    top: 16px;
    right: 16px;
  }
  
  .ws-supplier-arrow i {
    font-size: 1rem;
  }
  
  /* Mobile expanded state */
  .ws-supplier-card.expanded {
    max-height: none;
    padding: 20px 16px;
  }
  
  .ws-supplier-card.expanded .ws-supplier-desc {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .ws-supplier-website-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .ws-suppliers-grid {
    gap: 16px;
    padding: 0 12px;
  }
  
  .ws-supplier-card {
    max-height: 160px;
    padding: 16px 12px;
  }
  
  .ws-supplier-card .ws-supplier-logo {
    height: 70px;
    width: 90px;
    margin-bottom: 12px;
  }
  
  .ws-supplier-card .ws-supplier-name {
    font-size: 1rem;
  }
  
  .ws-supplier-card .ws-supplier-specialty {
    font-size: 0.85rem;
  }
  
  .ws-supplier-arrow {
    top: 12px;
    right: 12px;
  }
  
  .ws-supplier-arrow i {
    font-size: 0.9rem;
  }
  
  /* Small mobile expanded state */
  .ws-supplier-card.expanded {
    max-height: none;
    padding: 16px 12px;
  }
  
  .ws-supplier-card.expanded .ws-supplier-desc {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .ws-supplier-website-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* Featured Products Section */
.ws-featured-products {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 24px;
}

.ws-product-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Show 4 on large desktop */
  gap: 32px;
  margin-top: 40px;
  justify-content: center;
  align-items: start;
}

/* Allow all products to show - JavaScript handles random selection */

.ws-product-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, outline 0.2s ease;
  border: 1px solid rgba(124, 92, 62, 0.1);
  cursor: pointer;
}

.ws-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(44,38,33,0.12);
}

.ws-product-card:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(44,38,33,0.12);
}

.ws-product-card:focus-within {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(44,38,33,0.12);
}

.ws-product-card:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(44,38,33,0.08);
}

.ws-product-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(44,38,33,0.08);
  transition: transform 0.3s ease;
}

.ws-product-img:hover {
  transform: scale(1.02);
}

.ws-product-info {
  padding: 24px;
}

.ws-product-title {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.ws-product-desc {
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.ws-product-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  border: 2px solid transparent;
}

.ws-product-btn:hover {
  background: #7a1628;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(156, 28, 52, 0.25);
}

.ws-product-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(156, 28, 52, 0.25);
}

.ws-product-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.ws-product-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

.ws-product-btn:disabled:hover {
  background: #6c757d;
  transform: none;
  box-shadow: none;
}

/* Order Modal Styles */
.ws-modal {
  display: none !important;
  position: fixed !important;
  z-index: 1000 !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(4px) !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
}

.ws-modal.show {
  display: flex !important;
  pointer-events: auto !important;
}

/* Ensure modal is hidden by default in all cases */
#orderModal {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#orderModal.show {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Force hide modal on page load */
body:not(.modal-open) #orderModal {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Override compatibility mode modal styles */
.ws-compatibility-mode .ws-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
}

.ws-compatibility-mode .ws-modal.show {
  display: flex !important;
}

.ws-compatibility-mode #orderModal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
}

.ws-modal-content {
  background-color: var(--surface);
  margin: auto;
  padding: 0;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
  border: 1px solid rgba(124, 92, 62, 0.1);
  position: relative;
  z-index: 1001;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ws-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 16px 24px;
  border-bottom: 1px solid rgba(124, 92, 62, 0.1);
}

.ws-modal-header h3 {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1.4rem;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.ws-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--charcoal);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Ensure Location Modal contrast on mobile (overrides) */
@media (max-width: 480px) {
  #locationModal .ws-modal-content { background: #ffffff !important; color: #222222 !important; }
  #locationModal .ws-modal-header h3,
  #locationModal .ws-modal-body p,
  #locationModal .ws-checkbox-label { color: #222222 !important; }
}

.ws-modal-close:hover {
  background: rgba(124, 92, 62, 0.1);
  color: var(--primary-color);
  transform: scale(1.1);
}

.ws-modal-body {
  padding: 24px;
}

.ws-modal-body p {
  margin: 0 0 24px 0;
  font-size: 1.1rem;
  color: var(--charcoal);
  text-align: center;
  font-family: var(--font-secondary);
}

.ws-order-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ws-order-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--background);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
}

.ws-order-option:hover {
  border-color: var(--primary-color);
  background: rgba(156, 28, 52, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(156, 28, 52, 0.15);
}

.ws-order-option:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.ws-order-option i {
  font-size: 1.5rem;
  color: var(--accent-color);
  width: 24px;
  text-align: center;
}

.ws-order-option h4 {
  margin: 0 0 4px 0;
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

.ws-order-option p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.4;
}

/* Responsive Section Adjustments */
@media (min-width: 1400px) {
  .ws-product-cards {
    grid-template-columns: repeat(4, 1fr); /* Show 4 on extra large desktop */
    gap: 36px;
    justify-content: center;
  }
  
  /* Allow all products to show - JavaScript handles random selection */
}

@media (max-width: 1200px) {
  .ws-product-cards {
    grid-template-columns: repeat(3, 1fr); /* Show 3 on medium desktop */
    gap: 28px;
    justify-content: center;
  }
  
  /* Allow all products to show - JavaScript handles random selection */
}

@media (max-width: 768px) {
  .ws-section-title {
    font-size: 1.8rem;
    padding: 15px 20px;
  }
  
  .ws-retail,
  .ws-farmers-market,
  .ws-green-assoc,
  .ws-local-suppliers,
  .ws-featured-products {
    margin: 40px auto;
    padding: 0 16px;
  }

  .ws-farmers-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
  }

  .ws-farmers-text {
    order: 2;
  }

  .ws-farmers-image {
    order: 1;
  }

  .ws-farmers-img {
    height: 250px;
  }

  .ws-suppliers-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
  
  .ws-supplier-card {
    padding: 28px 20px;
  }
  
  .ws-supplier-logo {
    height: 90px;
    width: 110px;
    padding: 12px;
  }
  
  /* Retail Locations Mobile */
  .ws-retail-locations {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
  }
  
  .ws-retail-location {
    padding: 24px 20px;
  }
  
  .ws-retail-location-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .ws-retail-logo {
    width: 50px;
    height: 50px;
  }
  
  .ws-retail-location-title {
    font-size: 1.2rem;
  }
  
  .ws-retail-location-desc {
    font-size: 0.95rem;
  }
  
  .ws-retail-location-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .ws-retail-location-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1rem;
  }

  .ws-green-wrapper {
    padding: 30px 20px;
  }

  .ws-product-cards {
    grid-template-columns: repeat(2, 1fr); /* Show 2 on tablet */
    gap: 24px;
    justify-content: center;
  }
  
  /* Allow all products to show - JavaScript handles random selection */
  
  .ws-modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .ws-modal-header {
    padding: 20px 20px 12px 20px;
  }
  
  .ws-modal-body {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .ws-section-title {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 8px;
    padding: 12px 15px;
  }
  
  .ws-retail,
  .ws-farmers-market,
  .ws-green-assoc,
  .ws-local-suppliers,
  .ws-featured-products {
    margin: 30px auto;
    padding: 0 12px;
  }

  .ws-suppliers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ws-supplier-card {
    padding: 24px 16px;
  }
  
  .ws-supplier-logo {
    height: 80px;
    width: 100px;
    padding: 10px;
  }
  
  .ws-supplier-name {
    font-size: 1.2rem;
  }
  
  .ws-supplier-specialty {
    font-size: 0.95rem;
  }

  .ws-farmers-img {
    height: 200px;
  }
  
  .ws-farmers-content {
    padding: 24px 16px;
  }

  .ws-green-wrapper {
    padding: 20px 15px;
  }

  .ws-product-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-content: center;
  }
  
  /* Allow all products to show - JavaScript handles random selection */

  .ws-product-card {
    margin-bottom: 16px;
  }

  .ws-product-info {
    padding: 20px;
  }
  
  .ws-modal-content {
    width: 98%;
    margin: 10px;
  }
  
  .ws-modal-header {
    padding: 16px 16px 8px 16px;
  }
  
  .ws-modal-body {
    padding: 16px;
  }
  
  .ws-order-option {
    padding: 16px;
    gap: 12px;
  }
  
  .ws-order-option i {
    font-size: 1.3rem;
    width: 20px;
  }
  
  .ws-order-option h4 {
    font-size: 1.1rem;
  }
  
  .ws-order-option p {
    font-size: 0.85rem;
  }
}
