/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.contact p {
    margin: 0;
}
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #FFFFFF;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: black;
  display: flex;
  align-items: center; /* vertical alignment */
  gap: 10px;
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  color: black;
  text-decoration: none;
  font-weight: 500;
}
.btn-encomendar {
  background-color: #4CAF50;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  border: 2px solid #4CAF50;
  transition: 0.2s ease;
}
.btn-encomendar:hover {
  background-color: transparent;
  color: #4CAF50;
}


/* Hero */
.hero {
  background-image: url('home_background.jpg'); /* adjust path as needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  height: 350px;
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.hero-buttons {
  margin-top: 2.5rem;
}
.btn {
  background-color: #4CAF50;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  margin: 0 0.5rem;
  font-weight: 500;
}
.btn:hover {
  background-color: #4CAF50;
  color: white;
}
.btn.secondary {
  background-color: #457b9d;
}

/* Cards */
.card-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 300px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.2s ease;
  align-items: center;
}
.card:hover {
  transform: translateY(-5px);
}

.card img {
  margin-top: 20px; /* adjust as needed */
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.card h3 {
  margin: 1rem 0 0.5rem;
}
.card p {
  padding: 0 1rem;
}
.card-btn {
  display: inline-block;
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  background-color: #4CAF50;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  width: 150px;
  font-weight: 500;
}

/* Footer */
footer {
  background-color: #1d3557;
  color: white;
}
.footer-info {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.footer-info h4 {
  margin-bottom: 0.5rem;
}
.footer-copy {
  text-align: center;
  font-size: 0.9rem;
}

/* Contacts */
.contact {
  color: #4CAF50;          /* the green you extracted */
  background-color: #EEEEEE;
  display: flex;           /* enables flexbox */
  justify-content: center; /* horizontal centering */
  align-items: center;     /* vertical centering */
  text-align: center;      /* centers multi‑line text */
  height: 50px;
}

.quem-somos {
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.quem-somos h1 { text-align: center; }

/* Quem somos */
/* TIMELINE CONTAINER */
.timeline {
    position: relative;
    margin-top: 2rem;
}

/* Continuous vertical line */
.timeline::before {
    content: "";
    position: absolute;
    left: 140px; /* aligns with middle column center */
    top: 0;
    width: 2px;
    height: 100%;
    background: #4CAF50;
    z-index: 0;
}

/* TIMELINE ITEM */
.timeline-item {
    display: grid;
    grid-template-columns: 120px 40px 1fr;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1; /* keeps dots and cards above the line */
}

/* YEAR */
.timeline-year {
    text-align: right;
    font-size: 2rem;
    font-weight: 700;
    padding-right: 10px;
}

/* MIDDLE COLUMN */
.timeline-middle {
    position: relative;
    height: 100%;
}

/* REMOVE OLD PER-ITEM LINE */
.timeline-line {
    display: none;
}

/* DOT */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 25px;
    width: 14px;
    height: 14px;
    background: #4CAF50;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #4CAF50;
    transform: translateX(-50%);
    z-index: 2;
}

/* CARD */
.timeline-card {
    position: relative;
}

/* Triangle pointing to the dot */
.timeline-card::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 25px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 14px solid #fff;
}

/* Card content */
.timeline-card-inner {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Image inside card */
.timeline-card-inner img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Checklist items */
.timeline-text li {
    list-style: none;
    margin-bottom: 0.5rem;
}

.timeline-text li i {
    color: #4CAF50;
    margin-right: 0.5rem;
}

/* Special background image class */
.timeline-bg {
    width: 460px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.produtos-page {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.produtos-filtros {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filtro {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    background: #f5f5f5;
    cursor: pointer;
    border-radius: 4px;
}

.filtro.ativo {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.produto-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.produto-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
}

.produto-card h3 {
    margin: 0.8rem 0 0.4rem;
}

.preco {
    font-weight: bold;
    margin-bottom: 1rem;
}

.btn-add,
.btn-detalhes {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-add {
    background: #4CAF50;
    color: white;
}

.btn-detalhes {
    background: #ddd;
}

.paginacao {
    margin-top: 2rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.pagina {
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
}

.pagina.ativa {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.encomendas-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.encomendas-page h1 {
    margin-bottom: 2rem;
}

.encomendas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.encomenda-card {
    background: white;
    padding: 1.8rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.encomenda-card h2 {
    margin-bottom: 1rem;
}

.encomenda-card label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.encomenda-card input {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.btn-primary {
    width: 100%;
    padding: 0.7rem;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.btn-primary:hover {
    background: #43a047;
}

.link-secundario {
    display: block;
    margin-top: 1rem;
    text-align: center;
    color: #4CAF50;
    text-decoration: none;
}

.link-secundario:hover {
    text-decoration: underline;
}

.conta-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.conta-page h1 {
    margin-bottom: 2rem;
}

.conta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.conta-card {
    background: white;
    padding: 1.8rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.conta-card h2 {
    margin-bottom: 1rem;
}

.conta-card label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.conta-card input {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.nota {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.btn-primary {
    margin-top: 1.2rem;
    width: 100%;
    padding: 0.7rem;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.validate {
    margin-top: 1.2rem;
    width: auto;
    padding: 6px 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.btn-primary:hover {
    background: #43a047;
}

.conta-ajuda {
    margin-top: 3rem;
    padding: 2rem;
    background: #f7f7f7;
    border-radius: 10px;
}

.text-glow {
    color: white;
    text-shadow: 0 0 8px rgba(0,0,0,0.6);
}
:root{--cassiopeia-color-primary:#transparent;--cassiopeia-color-link:#224faa;--link-color:#224faa;--link-color-rgb:34,79,170;--cassiopeia-color-hover:#transparent}

.container-header .mod-menu > li > a, .container-header .mod-menu > li > span {
  color: black;
  text-decoration: none;
  position: relative;
  font-weight: 500;
}

.container-header .grid-child{
    align-items: center;
}

.container-header .container-nav {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    padding-left: 20px;
}

.container-footer .grid-child {
    display: block !important;
}
.container-footer .grid-child > div:first-child {
    display: none;
}
.container-footer {
    background: #1d3557;
}
.container-nav .mod-menu {
    margin-left: auto;
}
.container-header .mod-menu {
    flex: 0 0 auto !important;
    padding-right: 30px;
}
.container-nav .item-132 > a {
    background-color: #4CAF50;
    color: #000;
    border-radius: 6px;
    padding: 6px 12px;
    border: 2px solid #4CAF50;
}
.container-nav .item-132 > a:hover {
  background-color: transparent;
  color: #4CAF50 !important;
}
.container-nav .nav-item > a:hover {
    color: black;
}
.container-nav .nav-link i {
    font-size: 1.2rem;
}
/* Hide the text */
.container-nav .item-131 > a {
    font-size: 0;
    position: relative;
}
/* Insert the icon */
.container-nav .item-131 > a::before {
    content: "\f007"; /* Font Awesome user icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.2rem;
    color: black;
}
.navbar-brand {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 12px; /* space between logo and tagline */
}
.navbar-brand img {
    margin-right: 10px; /* Adjust spacing as needed */
}
.container-nav .menu.card {
    overflow: visible !important;
}
.container-header .site-description {
    color: black;
    white-space: normal;
    font-size: 1rem;
    font-weight: 500;
}
/* Keep the logo at its natural size */
.container-header .navbar-brand .brand-logo {
    flex-shrink: 0;
}
.container-header .navbar-brand .site-description {
    white-space: nowrap;
}
.container-header .navbar-brand .site-description :hover {
    color: black;
}
.container-header .navbar-brand .site-description >a {
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    color: #095795;
}

span.addtocart-button input.addtocart-button {
    max-width: 100%;
    background: #4CAF50 !important;
    color: #fff;
    border: solid #4CAF50 !important;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    letter-spacing: 1px;
    padding: 12px;
    margin-bottom: 0;
}

.featured-view .spacer, .discontinued-view .spacer, .latest-view .spacer, .topten-view .spacer, .recent-view .spacer, .related-products-view .spacer, .browse-view .row .product .spacer {
    padding: 6px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.vm-product-descr-container-0{
    min-height: auto !important;
}

.vm-product-descr-container-0 a{
    text-decoration: none;
    color: black;
}

.vm3pr-3 {
    display: flex;
    justify-content: center;
}

.vm-product-rating-container {
    text-align: center !important;
}

.ratingbox {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 24px;
    background: url(../images/color-stars.png) repeat-x scroll 0 bottom transparent;
    margin: 0 !important;
}

.vm2-nostock{
    margin-left: 10px !important;
    float: none !important;
}

.vm2-lowstock{
    margin-left: 10px !important;
    float: none !important;
}

.vm2-normalstock{
    margin-left: 10px !important;
    float: none !important;
}

.vm-product-media-container {
    text-align: center;
    max-width: 100%;
    margin-top: 15px;
}

.vm-product-descr-container-0{
    min-height: auto;
}

.category-view .row .category .spacer h2 a img {
    margin-top: 5px;
    max-width: 100%;
    height: auto;
}

a:not([class]) {
    text-decoration: none;
}

.vm-btn.vm-btn-secondary {
    background-color: #ffb1b1 !important;
    color: black !important;
    border: none !important;
}

#fancybox-content .vm-btn.vm-btn-secondary {
    background-color: #4caf50 !important;
    color: white !important;
    border: none !important;
}

.vm-btn.vm-btn-secondary:hover {
    background-color: #eee !important;
}

.browse-view .row .product .spacer span {
    font-size: 13px;
    color: black !important;
}

div.vm-details-button {
    margin-bottom: 20px;
}

div.vm-details-button a {
    padding: 11px 16px;
    border: none !important;
    font-size: 16px;
    max-width: 85%;
    width: 192px;
    line-height: 18px;
    color: white !important;
}

a.product-details {
    background: #095795 !important;
}

form[name="com-login"] {
    display: flex;
    align-items: flex-end;
}

#com-form-login-remember {
    margin-top: 15px !important;
}

#com-form-login .userdata{
    margin-bottom: 0px;
}

.order-view h6 {
    margin-bottom: 0px;
}

.vm-orders-list h2{
    margin-bottom: 50px !important;
}

#com-form-order-submit input{
    width: auto;
    padding: 6px 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

#com-form-login-remember input{
    width: auto;
    padding: 6px 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.buttonBar-right .button{
    width: auto !important;
    padding: 6px 12px !important;
    background: #4CAF50 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
}

a.product-details{
    color: #ffffff !important;
}

.billto-shipto a.details{
    width: auto !important;
    padding: 6px 12px !important;
    background: #4CAF50 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
}

#checkoutFormSubmit {
    padding: 6px 12px !important;
}

.show_cart .details{
    width: auto !important;
    padding: 6px 12px !important;
    background: #4CAF50 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
}

.vm_cart_products .product_name a:not(.btn):hover{
    color: black !important;
}

.virtuemart_search input.button{
    width: auto !important;
    padding: 6px 12px !important;
    background: #4CAF50 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
}

.spacer-buy-area .ratingbox{
    left: 10px;
}

.hero{
    padding-top: 0px;
}

@media (max-width: 568px) {
  .container-below-top {
    flex-direction: column !important;
    align-items: center; /* optional */
  }

  .container-below-top .navbar-brand,
  .container-below-top .container-nav {
    width: 100% !important;
    justify-content: center; /* optional */
    margin-bottom: 10px; /* optional spacing */
  }
  
  .container-nav .mod-menu {
    margin-left: 0px;
  }
  
  .container-header .container-nav {
    padding-left: 0px;
  }
}

@media (max-width: 768px) {
  .timeline-card-inner {
    display: flex;
    flex-direction: column; /* imagem em cima, texto em baixo */
    align-items: center; /* opcional: centra tudo */
  }

  .timeline-card-inner img,
  .timeline-card-inner .timeline-text {
    width: 100%; /* garante que ocupam toda a largura */
  }

  .timeline-text {
    margin-top: 15px; /* espaço entre imagem e texto */
    text-align: center; /* opcional */
  }
    .footer-info {
        display: block !important;
        text-align: left !important;
        margin-left: 20px;
    }

    .footer-info > div {
        width: 100% !important;
        margin-bottom: 15px;
        text-align: left !important;
    }
}


/* 3 colunas desktop */
.product.width33 {
  width: 33.333% !important;
  float: left !important;
}

/* 2 colunas tablet */
@media (max-width: 802px) {
  .product.width33 {
    width: 50% !important;
  }
}

/* 1 coluna mobile */
@media (max-width: 480px) {
  .product.width33 {
    width: 100% !important;
  }
  .hero{
    margin-bottom: 40px;
  }
  .hero-buttons a.btn{
    margin-bottom: 10px !important;
  }
  .category-view .category {
    float: none !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center;
  }
  .vm-search-custom-search-input input.inputbox{
    margin-bottom: 10px !important;
  }
}
.buttonBar-left .button{
    width: auto !important;
    padding: 6px 12px !important;
    background: #4CAF50 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
}
.control-buttons .default{
    width: auto !important;
    padding: 6px 12px !important;
    background: #4CAF50 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
}
input.highlight-button{
    width: auto !important;
    padding: 6px 12px !important;
    background: #0077b3 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
}
.vm-button-correct{
    width: auto !important;
    padding: 6px 12px !important;
    background: #4CAF50 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: inherit !important;
}
.vm-btn.vm-btn-primary:hover {
    background-color: #0077B3 !important;
    color: #fff !important;
}
#form-login .button{
    width: auto !important;
    padding: 6px 12px !important;
    background: #4CAF50 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: inherit !important;
}
#ui-tabs ul#tabs li.current{
    width: auto !important;
    padding: 6px 12px !important;
    background: #4CAF50 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: inherit !important;
}
#ui-tabs ul#tabs li{
    width: auto !important;
    padding: 6px 12px !important;
    background: white !important;
    color: black !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: inherit !important;
}
h3.vm-payment-header-selected{
    font-size: 1.5rem !important;
}.cart-summary tr.sectiontableentry1 h3 {
    font-size: 1.5rem !important;
}