@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #042C33;
  --secondary: #00A396;
  --accent: #00D1C1;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  --header-h: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

.is-fallback {
  object-fit: contain !important;
  background-color: var(--gray-100);
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- HEADER --- */
.header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 2000;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
}

.logo-link img {
  height: 42px;
  width: auto;
}

/* Desktop Nav */
.nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 260px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 12px 15px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.dropdown-link:hover {
  background: var(--gray-100);
  color: var(--secondary);
  padding-left: 20px;
}

/* Menu Toggle & Actions */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary);
  display: block;
  margin: 5px 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.weather-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-main);
  color: #009688;
  /* Matching the image's teal color */
}

.weather-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.weather-city {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.weather-temps {
  font-size: 0.85rem;
  font-weight: 700;
}

.weather-icon {
  width: 32px;
  height: 32px;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  padding: 5px;
}

/* Close Menu Button */
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  line-height: 1;
}

/* --- SEARCH OVERLAY --- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 44, 51, 0.98);
  backdrop-filter: blur(10px);
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.search-overlay.active {
  display: flex;
}

.search-container {
  width: 100%;
  max-width: 800px;
  text-align: center;
}

.search-input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 4px solid var(--secondary);
  color: #fff;
  font-size: clamp(1.5rem, 8vw, 1.5rem);
  font-weight: 900;
  padding: 1rem 0;
  outline: none;
  text-align: center;
}

.close-search {
  position: absolute;
  top: 40px;
  right: 40px;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* --- TIMELINE --- */
.main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 30px;
}

@media (min-width: 1024px) {
  .main-grid {
    grid-template-columns: 1fr 350px;
  }
}

/* Category Header */
.category-page-header {
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 1.5rem;
}

.category-page-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: -1px;
}

.category-page-title span {
  color: var(--secondary);
}

.post-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.post-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.post-image-wrapper {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}

.post-image {
  width: 100%;
  object-fit: cover;
}

.post-meta-discreet {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 600;
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  align-items: center;
}

.post-content-wrapper.is-truncated .post-text {
  max-height: 250px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.btn-expand-text {
  background: none;
  border: none;
  color: var(--secondary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 10px 0;
  margin-top: -10px;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--gray-100);
  padding-top: 15px;
  margin-top: 15px;
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 600;
}

/* --- ADS --- */
.banner-slot-container {
  width: 100%;
  margin: 30px 0;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ad-item {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
  animation: fadeIn 0.8s ease-out;
}

.ad-top-1200x140 {
  margin-top: 2rem;
}

.ad-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--gray-400);
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.banner-img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.banner-img:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-lg);
}

.ad-fallback {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 20px;
  padding: 40px 20px;
  width: 100%;
  text-align: center;
  font-weight: 900;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: -1px;
}

.ad-fallback:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.1);
}


/* --- SIDEBAR --- */
.widget {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 30px;
  border: 1px solid var(--gray-100);
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
  padding-bottom: 5px;
}

.sidebar-post {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
}

.sidebar-thumb {
  width: 80px !important;
  height: 80px !important;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.sidebar-post:hover .sidebar-thumb {
  transform: scale(1.05);
}

.sidebar-thumb-OLD-TEMP {
  width: 80px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
}

.sidebar-post-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.4;
}

/* --- LOAD MORE --- */
.btn-load-more {
  background: var(--primary);
  color: #fff;
  width: 100%;
  padding: 18px;
  border-radius: 16px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.btn-load-more:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

/* --- MOBILE MENU --- */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  width: 100%;
  max-width: 500px;
  background: transparent;
  padding: 40px;
  box-shadow: none;
  text-align: center;
  position: relative;
}

.mobile-menu-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}

.mobile-menu-logo-header {
  height: 45px;
  width: auto;
}

.close-menu {
  font-size: 3rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  line-height: 1;
}

.mobile-nav {
  width: 100%;
}

.mobile-nav .nav-link {
  display: block;
  padding: 15px 0;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gray-800);
  text-transform: uppercase;
  transition: transform 0.2s ease;
  border: none !important;
  text-decoration: none;
}

.mobile-nav .nav-link:active {
  transform: scale(0.9);
  color: var(--primary);
}

.mobile-submenu {
  background: transparent !important;
  padding-left: 0 !important;
}

/* --- SINGLE POST (DETAIL VIEW) --- */
.detail-view {
  background: #fff;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 4rem;
}

.detail-header {
  padding: 4rem 3rem 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.detail-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--gray-900);
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.detail-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-image-container {
  padding: 0 3rem;
  margin-bottom: 3rem;
}

.detail-featured-img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.detail-content {
  padding: 0 4rem 4rem;
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.detail-content p {
  margin-bottom: 1.8rem;
}

.gallery-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  margin: 4rem 0 1.5rem;
  text-transform: uppercase;
  border-left: 5px solid var(--secondary);
  padding-left: 15px;
}

/* Gallery Grid */
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 4rem;
  padding: 0 20px;
}

@media (max-width: 992px) {
  .detail-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .detail-gallery {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/10;
  cursor: pointer;
  background: var(--gray-100);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Lightbox Overlay */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
  overflow: hidden;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 95%;
  max-height: 95vh;
  border-radius: 12px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 6100;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  font-size: 3rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition);
  z-index: 6100;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.lightbox-nav:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.lightbox-prev {
  left: 30px;
}

.lightbox-nav.lightbox-next {
  right: 30px;
}

/* Related Posts Section */
#related-posts-container {
  padding: 0 4rem 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.related-section {
  padding-top: 3rem;
  border-top: 1px solid var(--gray-100);
  margin-top: 4rem;
}

.related-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 20px;
}

.related-card-img {
  border-radius: 12px;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 10px;
}

.related-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-800);
  margin-top: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card:hover .related-card-img {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.related-card:hover .related-card-title {
  color: var(--secondary);
}

.related-card-img {
  transition: var(--transition);
}

@media (max-width: 768px) {
  .main-grid {
    display: block !important;
  }

  #main-content {
    width: 100% !important;
    padding: 0 !important;
  }

  .nav {
    display: none !important;
  }

  .menu-toggle {
    display: block !important;
  }

  .header-content {
    justify-content: space-between !important;
  }

  .logo-link {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .post-card {
    padding: 15px !important;
    border-radius: 16px !important;
    margin-bottom: 20px !important;
    display: block !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .post-image-wrapper {
    width: 100% !important;
    height: 220px !important;
    margin-bottom: 15px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
  }

  .post-image-wrapper a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  .post-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
  }

  .post-title {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
  }

  .category-page-title {
    font-size: 1.5rem !important;
  }

  .container {
    padding: 0 15px !important;
  }

  #top-banner {
    margin-top: 15px !important;
  }

  #sidebar {
    display: none !important;
  }

  .detail-header {
    padding: 3rem 1.5rem 2rem !important;
  }

  .detail-title {
    font-size: 2rem !important;
    letter-spacing: -1px !important;
  }

  .detail-image-container {
    padding: 0 !important;
  }

  .detail-image-container .detail-featured-img {
    border-radius: 0 !important;
  }

  .detail-content {
    padding: 0 1.5rem 3rem !important;
    font-size: 1.15rem !important;
  }

  .weather-widget {
    display: none !important;
  }

  #related-posts-container {
    padding: 0 1.5rem 3rem !important;
  }

  .related-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .related-card-img {
    aspect-ratio: 16/9 !important;
  }

  .detail-gallery {
    padding: 0 15px !important;
    gap: 15px !important;
  }
}

/* Utils */
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #eee;
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin: 40px auto;
}

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

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Coffee Quotation Page */
.coffee-page {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 20px;
}

.coffee-header {
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 1rem;
}

.coffee-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.coffee-date {
  color: var(--gray-400);
  font-size: 0.9rem;
  font-weight: 600;
}

.usd-card {
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  color: #fff;
  border-radius: 20px;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.usd-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.usd-value {
  font-size: 2.5rem;
  font-weight: 900;
}

.usd-change {
  padding: 8px 15px;
  border-radius: 10px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.2);
}

.coffee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 2rem;
}

.coffee-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  padding: 25px;
  transition: var(--transition);
}

.coffee-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.coffee-card-city {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.coffee-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 15px;
  min-height: 3rem;
}

.coffee-card-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 15px;
}

.coffee-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--gray-100);
  padding-top: 15px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-400);
}

.pos {
  color: #2e7d32 !important;
}

.neg {
  color: #c62828 !important;
}

.usd-change.pos {
  color: #fff !important;
  background: rgba(76, 175, 80, 0.4);
}

.usd-change.neg {
  color: #fff !important;
  background: rgba(244, 67, 54, 0.4);
}

.coffee-disclaimer {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-align: center;
  line-height: 1.6;
}

/* Notícias Agrícolas Widget Styling */
.na-cotacoes-wrapper {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.na-cotacoes-wrapper table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
  border: none !important;
}

.na-cotacoes-wrapper th {
  background: var(--gray-100) !important;
  color: var(--primary) !important;
  padding: 15px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  letter-spacing: 1px !important;
  border: none !important;
}

.na-cotacoes-wrapper td {
  padding: 15px !important;
  background: #fff !important;
  border-bottom: 1px solid var(--gray-50) !important;
  font-weight: 600 !important;
  color: var(--gray-800) !important;
}

.na-cotacoes-wrapper tr:hover td {
  background: var(--gray-50) !important;
}

.na-cotacoes-wrapper .na-fonte,
.na-cotacoes-wrapper tfoot,
.na-cotacoes-wrapper .na-titulo {
  display: none !important;
}

@media (max-width: 768px) {
  .na-cotacoes-wrapper {
    padding: 15px;
    border-radius: 16px;
  }

  .na-cotacoes-wrapper td,
  .na-cotacoes-wrapper th {
    padding: 10px 5px !important;
    font-size: 0.8rem !important;
  }
}

/* Enhanced Coffee Table Styling */
.na-cotacoes-wrapper table {
  border: none !important;
  margin: 0 !important;
}

.na-cotacoes-wrapper .na-titulo-tabela {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
  padding: 20px !important;
  text-align: left !important;
  background: #fff !important;
  border-bottom: 2px solid var(--gray-100) !important;
}

.na-cotacoes-wrapper .na-cabecalho td {
  background: var(--gray-50) !important;
  color: var(--gray-600) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 0.75rem !important;
  padding: 12px 15px !important;
  border: none !important;
}

.na-cotacoes-wrapper .na-linha td {
  border-bottom: 1px solid var(--gray-100) !important;
  padding: 15px !important;
  font-size: 0.95rem !important;
  color: var(--gray-800) !important;
}

.na-cotacoes-wrapper .na-linha:nth-child(even) td {
  background: #fafafa !important;
}

.na-cotacoes-wrapper .na-valor {
  font-weight: 800 !important;
  color: var(--primary) !important;
}

.na-cotacoes-wrapper .na-variacao {
  font-weight: 700 !important;
}

.na-cotacoes-wrapper .na-variacao-positiva {
  color: #2e7d32 !important;
}

.na-cotacoes-wrapper .na-variacao-negativa {
  color: #c62828 !important;
}

/* Final Premium Coffee Table Design */
.na-cotacoes-wrapper {
  border: 1px solid var(--gray-100) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%) !important;
}

.na-cotacoes-wrapper .na-titulo-tabela {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%) !important;
  color: #fff !important;
  padding: 25px !important;
  border-radius: 12px 12px 0 0 !important;
  font-size: 1.4rem !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.na-cotacoes-wrapper .na-cabecalho td {
  background: var(--gray-900) !important;
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  border: none !important;
}

.na-cotacoes-wrapper .na-linha td {
  border-bottom: 1px solid var(--gray-100) !important;
  transition: var(--transition) !important;
}

.na-cotacoes-wrapper .na-linha:hover td {
  background: rgba(0, 163, 150, 0.05) !important;
  transform: scale(1.005);
}

.na-cotacoes-wrapper .na-valor {
  color: var(--primary) !important;
  font-family: monospace !important;
  font-size: 1.1rem !important;
}

.na-cotacoes-wrapper .na-variacao {
  padding: 4px 10px !important;
  border-radius: 6px !important;
  font-size: 0.85rem !important;
}

.na-cotacoes-wrapper .na-variacao-positiva {
  background: rgba(46, 125, 50, 0.1) !important;
}

.na-cotacoes-wrapper .na-variacao-negativa {
  background: rgba(198, 40, 40, 0.1) !important;
}

/* Premium USD Card Styling */
.financial-summary {
  margin-bottom: 2rem;
}

.usd-card-premium {
  background: var(--primary);
  background: linear-gradient(135deg, #042C33 0%, #004d40 100%);
  border-radius: 24px;
  padding: 30px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.usd-card-premium::after {
  content: " $\; position: absolute; right: -20px; bottom: -40px; font-size: 15rem; color: rgba(255,255,255,0.03); font-weight: 900; z-index: 0; }
 .usd-main {
    z-index: 1;
  }

  .usd-label-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
  }

  .usd-tag {
    background: var(--secondary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 5px;
    letter-spacing: 1px;
  }

  .usd-title {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.8;
  }

  .usd-price-big {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
  }

  .usd-details {
    display: flex;
    gap: 30px;
    align-items: center;
    z-index: 1;
  }

  .usd-stat {
    display: flex;
    flex-direction: column;
  }

  .stat-label {
    font-size: 0.7rem;
    font-weight: 800;
    opacity: 0.6;
    margin-bottom: 5px;
  }

  .stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: monospace;
  }

  .usd-change-pill {
    padding: 8px 15px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
  }

  .usd-change-pill.pos {
    background: rgba(76, 175, 80, 0.2);
    color: #81c784;
  }

  .usd-change-pill.neg {
    background: rgba(244, 67, 54, 0.2);
    color: #e57373;
  }

  @media (max-width: 768px) {
    .usd-price-big {
      font-size: 2.5rem;
    }

    .usd-details {
      gap: 15px;
      width: 100%;
      justify-content: space-between;
    }

    .usd-stat {
      font-size: 0.9rem;
    }
  }