/* BKA redesign — bookstore mock (moss green / chocolate brown / paper) */

:root {
  --green: #7ba05b;
  --green-dark: #6a8f4c;
  --green-deep: #5e8142;
  --brown: #4b3621;
  --brown-mid: #705844;
  --brown-soft: #8a7163;
  --ink: #2b2b2b;
  --muted: #6b6560;
  --paper: #eceae6;
  --paper-2: #e4e1db;
  --white: #ffffff;
  --line: #d8d4ce;
  --strike: #c0392b;
  --bar: #3a3a3a;
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --shell: 1170px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.015) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.012) 0 1px, transparent 1px 3px);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green-deep);
}

a:hover,
a:focus {
  color: var(--brown);
  text-decoration: none;
}

h1, h2, h3, h4, .brand-name, .hero-title, .section-head span {
  font-family: var(--font-serif);
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 12px;
}

/* ---------- Top utility bar ---------- */
.utility-bar {
  background: var(--bar);
  color: #fff;
  font-size: 12px;
  font-family: var(--font-serif);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  gap: 12px;
}

.utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.utility-links a {
  color: #fff;
  padding: 7px 9px;
  display: inline-block;
  text-decoration: none;
}

.utility-links li:first-child a {
  padding-left: 0;
}

.utility-links a:hover,
.utility-links a.is-active {
  color: #d7e8c8;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.utility-right a {
  color: #fff;
  font-size: 13px;
}

.utility-right .sep {
  opacity: 0.45;
}

.utility-right .nav-toggle {
  width: 32px;
  height: 28px;
  background: transparent;
}

/* ---------- Main header (logo with menu column, tools with content) ---------- */
.site-header {
  background: transparent;
  padding: 12px 0 0;
}

.header-row {
  align-items: stretch;
}

@media (min-width: 992px) {
  .header-row {
    display: flex;
  }

  .header-row > [class*="col-"] {
    float: none;
  }
}

.col-menu-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 8px;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  min-width: 0;
  padding: 4px 0 8px;
  text-decoration: none;
  background: transparent;
}

.brand-mark img {
  width: 100%;
  max-width: 180px;
  max-height: none;
  height: auto;
  display: block;
}

.brand-mark:hover {
  opacity: 0.9;
}

.header-tools {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin: 12px 0 12px;
  padding: 0;
}

.header-tools-form {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  min-height: 0;
}

.header-fields {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

.header-selects {
  display: flex;
  gap: 8px;
}

.header-selects .search-select,
.header-selects .form-control.search-select {
  flex: 1;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: flex-start;
  flex: 0 0 auto;
  gap: 8px;
}

.header-search {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid #cfcbc4;
  height: 36px;
  min-height: 36px;
  padding: 0;
}

.search-field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 0 10px;
  height: 36px;
}

.search-field i {
  color: #888;
  font-size: 13px;
}

.search-field input {
  border: 0;
  box-shadow: none;
  height: 34px;
  padding: 0;
  width: 100%;
  font-size: 13px;
}

.search-field input:focus {
  outline: none;
}

.header-fields .search-select,
.header-fields .form-control.search-select {
  width: 100%;
  height: 36px !important;
  margin: 0 !important;
  padding: 4px 10px;
  border: 1px solid #cfcbc4;
  border-radius: 0;
  box-shadow: none;
  font-size: 13px;
}

.btn-search,
.header-cart {
  width: 118px;
  min-width: 118px;
  height: 36px;
}

.btn-search {
  background: var(--brown);
  color: #fff;
  border: 0;
  margin: 0;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 36px;
}

.btn-search:hover,
.btn-search:focus {
  background: #3d2b1a;
  color: #fff;
}

.header-cart {
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 14px;
}

.header-cart:hover {
  color: #fff;
  background: var(--green-dark);
}

.header-cart i {
  font-size: 13px;
}

.nav-toggle {
  display: none;
  background: var(--brown);
  color: #fff;
  border: 0;
  width: 44px;
  height: 44px;
}

.mobile-nav {
  background: var(--brown-mid);
  padding: 8px 0 12px;
}

.mobile-nav a {
  display: block;
  color: #fff;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-nav a:hover {
  color: #eaf5de;
  background: rgba(0, 0, 0, 0.12);
}

/* ---------- Layout canvas ---------- */
.page-canvas,
.container.fundo {
  background: transparent !important;
  border-top: 0 !important;
  box-shadow: none !important;
  padding-bottom: 40px;
}

.container.fundo {
  max-width: var(--shell);
  width: 100%;
  padding-top: 0;
}

.col-menu {
  padding-right: 8px;
}

.conteudo {
  background: transparent;
  min-height: auto;
}

body:not(.is-home) .conteudo {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 18px 28px;
}

.product-meta {
  color: var(--muted);
  font-size: 13px;
  min-height: 38px;
  margin: 0 0 12px;
}

.article-link {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  margin: 0;
}

.article-link a {
  color: var(--ink);
  font-family: var(--font-serif);
}

.article-link a:hover {
  color: var(--green-dark);
}

#btnEnviar,
.btn-primary {
  background: var(--green);
  border-color: var(--green-dark);
  border-radius: 2px;
}

#btnEnviar:hover,
.btn-primary:hover {
  background: var(--green-dark);
}

/* ---------- Sidebar categories ---------- */
.cat-box {
  margin-bottom: 18px;
}

.brand-mark-sidebar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 12px;
  padding: 4px 0 8px;
  text-decoration: none;
  background: transparent;
}

.brand-mark-sidebar img {
  width: 100%;
  max-width: 230px;
  height: auto;
  display: block;
}

.brand-mark-mobile {
  display: flex;
  justify-content: center;
  padding: 12px 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-mark-mobile img {
  max-width: 140px;
  height: auto;
}

.cat-head,
.section-head {
  background: var(--brown);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  margin: 0;
}

.section-head {
  background: #d9d6d1;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--brown-mid);
}

.cat-list a,
.list-group-item {
  display: block;
  color: #fff !important;
  background: var(--brown-mid) !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  padding: 9px 14px !important;
  font-family: var(--font-serif);
  font-size: 14px;
}

.cat-list a:hover,
.list-group-item:hover {
  background: #624c40 !important;
  color: #f3eadf !important;
}

.list-group {
  margin-bottom: 0;
}

.list-group-item i {
  display: none;
}

.sidebar-logo {
  display: none;
}

/* ---------- Specials ---------- */
.specials {
  margin-top: 18px;
}

.specials .section-head {
  margin-bottom: 0;
}

.special-card,
.product-card,
.thumbnail {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 14px;
  text-align: center;
  margin-bottom: 18px;
}

.special-card img,
.product-card img,
.thumbnail img {
  max-height: 170px;
  width: auto;
  margin: 0 auto 10px;
  display: block;
}

.price {
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
  margin: 6px 0;
}

.price s,
.price .old {
  color: var(--strike);
  font-weight: 400;
  margin-left: 6px;
}

.product-meta,
.product-meta {
  color: var(--muted);
  font-size: 13px;
  min-height: 38px;
  margin: 0 0 12px;
}

body:not(.is-home) .conteudo {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 18px 28px;
}

body:not(.is-home) .titulo {
  margin-top: 8px;
}

.btn-cart,
.btn-shop,
.thumbnail .btn,
a.btn-cart {
  display: block;
  width: 100%;
  background: linear-gradient(#8ab463, var(--green-dark));
  color: #fff !important;
  border: 0;
  border-radius: 3px;
  padding: 8px 10px;
  font-weight: 600;
  text-align: center;
}

.btn-cart:hover,
.btn-shop:hover {
  background: linear-gradient(var(--green-dark), var(--green-deep));
  color: #fff !important;
}

/* ---------- Hero slider ---------- */
.hero-slider {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 18px 42px;
  margin-bottom: 22px;
  position: relative;
}

.hero-slider .carousel-inner > .item {
  min-height: 280px;
}

.hero-slider .slide-image,
.hero-slider img {
  max-height: 320px;
  width: auto;
  margin: 0 auto;
  display: block;
}

.hero-slider .carousel-control {
  background: none;
  width: 40px;
  color: #c5c1bb;
  text-shadow: none;
  opacity: 1;
  font-size: 42px;
  top: 40%;
}

.hero-slider .carousel-control:hover {
  color: var(--green);
}

.hero-copy {
  padding: 24px 10px 10px;
}

.hero-title {
  color: var(--green);
  font-size: 28px;
  margin: 0 0 8px;
}

.hero-author {
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-price {
  font-size: 32px;
  color: var(--brown);
  font-weight: 700;
  margin: 12px 0;
}

.btn-shop {
  display: inline-block;
  width: auto;
  min-width: 220px;
  padding: 10px 28px;
  font-size: 18px;
}

/* ---------- Featured grid ---------- */
.featured-block .section-head {
  margin-bottom: 16px;
}

#resultProdutos > .titulo {
  display: none;
}

.product-card h4,
.thumbnail .caption h4 {
  font-size: 15px;
  min-height: 42px;
  margin: 0 0 6px;
}

.product-card h4 a,
.thumbnail .caption h4 a {
  color: var(--ink);
}

.thumbnail {
  height: auto !important;
  border-radius: 0;
}

.thumbnail img {
  height: 170px !important;
  object-fit: contain;
}

.thumbnail .caption {
  padding: 8px 0 0;
}

/* ---------- Inner pages ---------- */
.is-home .utility-links a[href="index.php"] {
  color: #d7e8c8;
}

.titulo {
  background: #d9d6d1;
  padding: 8px 14px;
  margin: 0 0 18px;
}

.titulo h2,
.titulo h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
}

.titulo hr {
  display: none;
}

.conteudo {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 18px 28px;
}

.is-home .conteudo {
  background: transparent;
  border: 0;
  padding: 0;
}

.page-prose h3,
.page-prose h4 {
  color: var(--brown);
}

.table {
  background: #fff;
}

.table > thead > tr > th {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
  font-weight: 600;
}

.table-bordered > tbody > tr > td {
  border-color: var(--line);
}

.btn-primary,
.doVerde,
.doGreen {
  background: var(--green);
  border-color: var(--green-dark);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-deep);
}

.form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(123, 160, 91, 0.2);
}

/* busca */
.m-b-30,
.filter-box {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px;
  margin: 0 0 16px !important;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-row .form-control {
  flex: 1 1 160px;
  height: 40px;
  border-radius: 0;
}

.filter-row .btn-search {
  background: var(--brown);
  color: #fff;
  border: 0;
  padding: 8px 16px;
  min-width: 90px;
}

.filter-row .btn-search:hover {
  background: #3d2b1a;
  color: #fff;
}

.special-name {
  font-family: var(--font-serif);
  font-size: 16px;
  margin: 8px 0 6px;
  min-height: 42px;
}

.special-name a {
  color: var(--ink);
}

/* pagination */
.pagination > li > a,
.pagination > li > span,
.pagination > .active > a {
  cursor: pointer;
  color: var(--brown);
}

.pagination > .active > a,
.pagination > .active > span {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: transparent;
  padding: 28px 0 12px;
  color: var(--ink);
  font-size: 13px;
}

.site-footer > .container {
  max-width: var(--shell);
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px 24px;
  width: 100%;
  padding-bottom: 18px;
  align-items: start;
}

.footer-grid h4 {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
  margin: 0 0 10px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid a {
  color: var(--ink);
  display: block;
  padding: 2px 0;
}

.footer-contact p {
  margin: 0 0 8px;
}

.footer-mail {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}

.footer-mail .fa-flag {
  color: #c0392b;
  font-size: 14px;
}

.footer-mail:hover {
  color: var(--brown);
}

.footer-phone {
  color: var(--ink);
}

.footer-copy {
  border-top: 1px solid #cfcbc4;
  padding-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.footer-copy a {
  color: var(--muted);
}

/* hide leftover bootstrap chrome */
.navbar-inverse.navbar-fixed-top {
  display: none !important;
}

.visible-xs.col-xs-12 {
  display: none !important;
}

.container.fundo > hr,
.site-footer + hr {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .col-menu-logo,
  .header-tools {
    width: 100%;
  }

  .brand-mark {
    height: auto;
    width: 100%;
    min-width: 0;
    padding: 8px 0 12px;
  }

  .brand-mark img {
    max-width: 180px;
  }

  .header-tools {
    flex-wrap: wrap;
  }

  .header-tools-form {
    flex-wrap: wrap;
  }

  .header-fields {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .header-selects {
    flex-wrap: wrap;
  }

  .header-selects .search-select,
  .header-selects .form-control.search-select {
    flex: 1 1 140px;
  }

  .header-actions {
    flex: 1 1 100%;
  }

  .btn-search,
  .header-cart {
    width: auto;
    min-width: 0;
    flex: 1;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .utility-links {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .col-menu {
    display: block !important;
    width: 100%;
    margin-bottom: 16px;
  }
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    padding: 12px 28px;
  }
}

@media print {
  .utility-bar,
  .site-header,
  .col-menu,
  .header-cart,
  .header-search,
  .site-footer,
  #buscar,
  .btn {
    display: none !important;
  }

  body,
  .conteudo {
    background: #fff;
    border: 0;
  }
}

.article-link {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  margin: 0;
}

.article-link a {
  color: var(--ink);
  font-family: var(--font-serif);
}

.article-link a:hover {
  color: var(--green-dark);
}

.product-meta {
  color: var(--muted);
  font-size: 13px;
  min-height: 38px;
  margin: 0 0 12px;
}

#btnEnviar,
.btn-primary {
  background: var(--green);
  border-color: var(--green-dark);
  border-radius: 2px;
}

#btnEnviar:hover,
.btn-primary:hover {
  background: var(--green-dark);
}

.form-control {
  border-radius: 0;
  height: 40px;
}

textarea.form-control {
  height: auto;
}

body:not(.is-home) .conteudo {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 18px 28px;
}

.article-link {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  margin: 0;
}

.article-link a {
  color: var(--ink);
  font-family: var(--font-serif);
}

.article-link a:hover {
  color: var(--green-dark);
}

#btnEnviar.btn-primary,
.btn-primary {
  background: var(--green);
  border-color: var(--green-dark);
  border-radius: 2px;
}

#btnEnviar.btn-primary:hover,
.btn-primary:hover {
  background: var(--green-dark);
}

.product-meta {
  color: var(--muted);
  font-size: 13px;
  min-height: 38px;
  margin: 0 0 12px;
}

.form-control {
  border-radius: 0;
  height: 40px;
}

textarea.form-control {
  height: auto;
}

.menu-destaque {
    position: relative;
}

.link-pulsando {
    display: inline-block;
    font-weight: 700;
    color: #111;
    animation: pulseTexto 1.5s ease-in-out infinite;
    transform-origin: center;
}

.menu-destaque .badge-kosher {
    position: absolute;
    top: -12px;
    right: -8px;
    background: #d62828;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 20px;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    animation: pulseBadge 1.6s infinite;
    z-index: 2;
}

@keyframes pulseTexto {
    0% {
        transform: scale(1);
        color: #111;
        text-shadow: 0 0 0 rgba(214, 40, 40, 0);
    }
    50% {
        transform: scale(1.06);
        color: #d62828;
        text-shadow: 0 0 10px rgba(214, 40, 40, 0.25);
    }
    100% {
        transform: scale(1);
        color: #111;
        text-shadow: 0 0 0 rgba(214, 40, 40, 0);
    }
}

@keyframes pulseBadge {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(214, 40, 40, 0.45);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(214, 40, 40, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(214, 40, 40, 0);
    }
	
	
}