body {
  font-family: "Playfair Display", serif;
  background: #fafafa;
  color: #222;
}

img {
  transition: transform 0.4s ease;
}

/* NAV */

.navbar {
  border-bottom: 1px solid #d8d6d4 !important;
}

.nav-link {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  margin-left: 28px;
  color: #222;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #65081f;
}

.nav-icons {
  gap: 12px;
}

.icon-box {
  width: 40px;
  height: 40px;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: white;
  transition: all 0.3s ease;
}

.icon-box i {
  font-size: 16px;
  transition: all 0.3s ease;
}

.icon-box:hover {
  background: black;
  border-color: black;
}

.icon-box:hover i {
  color: white;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #65081f;
  color: white;
  font-size: 11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  height: 40px;
  width: auto;
}

/* FOOTER */

footer {
  background: #65081f;
  color: white;
  margin-top: 60px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px 0;
}

.footer-left h3 {
  font-size: 30px;
  font-weight: 600;
}

.footer-center {
  text-align: left;
  max-width: 260px;
}

.footer-center h6,
.footer-right h6 {
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-center p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-right {
  text-align: left;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  background: #540517;
  text-align: center;
  padding: 12px;
  font-size: 13px;
}

@media (max-width: 768px) {
  .region-title {
    font-size: 32px;
  }

  .region-subtitle {
    font-size: 26px;
  }

  .feature-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .product-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-left {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .region-hero {
    height: auto;
    padding: 40px 0;
  }

  .region-hero::after {
    background: rgba(250, 250, 250, 0.9);
  }

  .region-hero-content {
    max-width: 100%;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .producer-grid {
    grid-template-columns: 1fr;
  }

  .producer-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

/* AGE GATE OVERLAY */

.age-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* MODAL */

.age-modal {
  background: #fff;
  padding: 45px;
  max-width: 520px;
  width: 90%;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.4s ease;
}

.age-modal h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #222;
}

.age-text {
  color: #666;
  font-size: 15px;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* BUTTONS */

.age-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.age-btn {
  padding: 14px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
}

/* PRIMARY */

.age-btn.primary {
  background: #111;
  color: #fff;
}

.age-btn.primary:hover {
  background: #65081f;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* SECONDARY */

.age-btn.secondary {
  background: #f1f1f1;
  color: #333;
}

.age-btn.secondary:hover {
  background: #e2e2e2;
}

/* ANIMATION */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HIDE */

.age-gate.hidden {
  display: none;
}

.form-group {
  margin-bottom: 18px;
}

.password-wrapper {
  position: relative;
}

.password-wrapper .auth-input {
  padding-right: 40px; /* space for eye icon */
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #777;
}

.error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #c0392b;
}

.auth-input.invalid {
  border: 1px solid #c0392b;
}

.auth-forgot {
  text-align: right;
  margin-bottom: 15px;
}

.auth-forgot a {
  font-size: 14px;
  color: #65081f;
  text-decoration: none;
}

.auth-forgot a:hover {
  text-decoration: underline;
}

.user-dropdown {
  position: absolute;
  top: 55px;
  right: 0;
  width: 220px;
  background: #ffffff;
  color: #222;
  border-radius: 8px;
  padding: 18px 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid #eee;
  z-index: 999;
  animation: dropdownFade 0.2s ease;
}

/* TOP ACCENT LINE (VERY CLASSY TOUCH) */
.user-dropdown::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #65081f;
  border-radius: 8px 8px 0 0;
}

/* WELCOME TEXT */
.user-dropdown .welcome-text {
  font-weight: 800;
  color: #65081f;
  font-size: 18px;
  margin-bottom: 12px;
  font-family: "Playfair Display", serif;
}

/* DIVIDER */
.user-dropdown hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 10px 0;
}

/* ITEMS */
.user-dropdown .dropdown-item {
  display: block;
  padding: 8px 0;
  font-size: 15px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* HOVER */
.user-dropdown .dropdown-item:hover {
  color: #65081f;
  transform: translateX(3px);
}

/* LOGOUT STYLE */
.user-dropdown .dropdown-item.text-danger {
  color: #65081f !important;
  font-weight: 500;
}

.user-dropdown .dropdown-item.text-danger:hover {
  opacity: 0.7;
}

.d-none {
  display: none;
}

/* ANIMATION */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-login-btn {
  background: white;
  border: 1px solid #222;
  border-left: 3px solid #65081f;
  padding: 8px 22px;
  font-size: 14px;
  text-decoration: none;
  color: #222;
  transition: all 0.25s ease;
  display: inline-block;
  letter-spacing: 0.5px;
  font-weight: 600;
  font-family: "Playfair Display", serif;
}

/* HOVER (same feel as product buttons) */
.nav-login-btn:hover {
  background: #65081f;
  color: white;
  border-color: #65081f;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.gc-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gc-modal.hidden {
  display: none;
}

.gc-modal-box {
  background: white;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease;
  border-top: 3px solid #65081f;
}

.gc-modal-box h4 {
  color: #65081f;
  margin-bottom: 10px;
}

.gc-modal-box p {
  color: #555;
  margin-bottom: 20px;
}

.gc-modal-btn {
  background: white;
  border: 1px solid #222;
  border-left: 3px solid #65081f;
  padding: 10px 25px;
  cursor: pointer;
  transition: 0.2s;
}

.gc-modal-btn:hover {
  background: #65081f;
  color: white;
}

.gc-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
}

.gc-loading.hidden {
  display: none;
}

.gc-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #eee;
  border-top: 3px solid #65081f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.promo-card {
  transition: 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-5px);
  cursor: pointer;
}

.sidebar-link {
  display: block;
  padding: 4px 0;
  color: #333;
  text-decoration: none;
  transition: 0.2s;
}

.sidebar-link:hover {
  color: #8b0000;
  transform: translateX(3px);
}

.cart-btn {
  display: inline-block;
  margin-top: 15px;

  text-decoration: none;
  color: #222;

  background: white;
  border: 1px solid #222;
  border-left: 3px solid #65081f;

  padding: 12px 30px;
  font-size: 15px;

  transition: all 0.25s ease;
}

/* HOVER (same as product-btn) */
.cart-btn:hover {
  background: #65081f;
  color: white;
  border-color: #65081f;

  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cart-link {
  text-decoration: none !important;
  color: inherit !important;
}

.cart-link:hover {
  text-decoration: none;
  color: inherit;
}
.sidebar-link {
  font-weight: 500;
  letter-spacing: 0.3px;
}

.dashboard-container {
  padding: 40px;
}

.dashboard-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.dashboard-sub {
  color: #666;
  margin-bottom: 30px;
}

.dashboard-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 15px;
  min-width: 200px;
}

.logout-btn {
  margin-top: 30px;
  display: inline-block;
  padding: 10px 15px;
  background: #111;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}
