/* =====================================================================
   ECLIPSE IMPERIAL V8 — Instituto Eu Sou — 2026-08-19
   Escopo: somente loja e arquivos de categoria. Produtos e cards seguem
   integralmente a apresentacao WooCommerce Premium v6.
   ===================================================================== */

:root {
  --iesv7-ink: #090a0d;
  --iesv7-espresso: #050608;
  --iesv7-cacao: #171a20;
  --iesv7-gold: #b99b62;
  --iesv7-gold-light: #ead7a6;
  --iesv7-ivory: #f5f4f0;
  --iesv7-paper: #ffffff;
  --iesv7-line: rgba(9, 10, 13, 0.16);
  --iesv7-serif: "Bodoni Moda", Didot, "Times New Roman", serif;
  --iesv7-sans:
    Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.woocommerce-shop,
body.tax-product_cat {
  background: var(--iesv7-ivory);
  scrollbar-color: var(--iesv7-gold) var(--iesv7-ivory);
  scrollbar-width: thin;
}

body.woocommerce-shop::-webkit-scrollbar,
body.tax-product_cat::-webkit-scrollbar {
  width: 10px;
}
body.woocommerce-shop::-webkit-scrollbar-track,
body.tax-product_cat::-webkit-scrollbar-track {
  background: var(--iesv7-ivory);
}
body.woocommerce-shop::-webkit-scrollbar-thumb,
body.tax-product_cat::-webkit-scrollbar-thumb {
  background: var(--iesv7-gold);
  border: 3px solid var(--iesv7-ivory);
  border-radius: 0 !important;
}

.iesv7-storefront,
.iesv7-prefooter {
  color: var(--iesv7-ink);
  font-family: var(--iesv7-sans);
}

.iesv7-storefront *,
.iesv7-storefront *::before,
.iesv7-storefront *::after,
.iesv7-prefooter *,
.iesv7-prefooter *::before,
.iesv7-prefooter *::after {
  box-sizing: border-box;
}

.iesv7-storefront ::selection,
.iesv7-prefooter ::selection {
  color: #fff;
  background: var(--iesv7-cacao);
}

.iesv7-storefront a:focus-visible,
.iesv7-storefront button:focus-visible,
.iesv7-storefront input:focus-visible,
.iesv7-prefooter a:focus-visible {
  outline: 2px solid var(--iesv7-gold-light);
  outline-offset: 3px;
}

.iesv7-storefront a,
.iesv7-prefooter a {
  text-underline-offset: 0.24em;
}

.iesv7-storefront {
  width: min(100% - 24px, 1400px);
  margin: 10px auto 0;
}

/* O carrinho continua nativo do Astra/WooCommerce; muda apenas a linguagem do ícone. */
body.woocommerce-shop .ast-site-header-cart .cart-container,
body.tax-product_cat .ast-site-header-cart .cart-container {
  color: var(--iesv7-ink) !important;
}

body.woocommerce-shop .ast-cart-menu-wrap,
body.tax-product_cat .ast-cart-menu-wrap {
  position: relative;
  width: 42px;
  height: 44px;
  display: grid;
  place-items: center;
}

body.woocommerce-shop .ast-cart-menu-wrap::before,
body.tax-product_cat .ast-cart-menu-wrap::before {
  width: 25px;
  height: 25px;
  display: block;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3Cpath d='M3 3h2l2.4 11.2a2 2 0 0 0 2 1.6h7.8a2 2 0 0 0 2-1.6L21 7H6'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3Cpath d='M3 3h2l2.4 11.2a2 2 0 0 0 2 1.6h7.8a2 2 0 0 0 2-1.6L21 7H6'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

body.woocommerce-shop .ast-cart-menu-wrap .count,
body.tax-product_cat .ast-cart-menu-wrap .count {
  position: absolute;
  inset: 0;
  width: 42px;
  height: 44px;
  color: inherit;
  background: transparent;
  border: 0;
}

body.woocommerce-shop .ast-cart-menu-wrap .count::after,
body.tax-product_cat .ast-cart-menu-wrap .count::after {
  display: none;
}

body.woocommerce-shop .ast-cart-menu-wrap .ast-count-text,
body.tax-product_cat .ast-cart-menu-wrap .ast-count-text {
  position: absolute;
  top: 1px;
  right: 0;
  color: #8a6a33;
  font: 800 11px/1 var(--iesv7-sans);
  font-variant-numeric: tabular-nums;
}

.iesv7-hero {
  position: relative;
  min-height: clamp(420px, 32vw, 460px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: #f8f7f3;
  background: var(--iesv7-espresso);
  border: 1px solid rgba(234, 215, 166, 0.22);
  border-radius: 0;
  isolation: isolate;
}

.iesv7-hero__copy {
  position: relative;
  z-index: 2;
  width: min(55%, 730px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4vw, 50px) clamp(34px, 4.5vw, 64px);
  background: rgba(3, 4, 7, 0.7);
  box-shadow: 44px 0 76px rgba(0, 0, 0, 0.26);
}

.iesv7-hero h1,
.iesv7-craft h2,
.iesv7-collection-heading h2,
.iesv7-prefooter h2 {
  margin: 0;
  color: inherit;
  font-family: var(--iesv7-serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

body.woocommerce-page .iesv7-hero h1 {
  max-width: 620px;
  color: #f8f7f3 !important;
  font-size: clamp(46px, 4.6vw, 66px);
  line-height: 0.98;
}

.iesv7-hero__copy > p {
  max-width: 590px;
  margin: 19px 0 22px;
  color: rgba(248, 247, 243, 0.82);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.62;
}

.iesv7-search {
  width: min(100%, 600px);
  margin: 0;
}

.iesv7-search > label {
  display: block;
  margin-bottom: 7px;
  color: var(--iesv7-gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.iesv7-search__control {
  min-height: 56px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 6px 7px 6px 18px;
  color: var(--iesv7-ink);
  background: var(--iesv7-paper);
  border: 1px solid rgba(234, 215, 166, 0.38);
  border-radius: 0;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.iesv7-search__control svg {
  width: 21px;
  height: 21px;
  color: var(--iesv7-cacao);
}

.iesv7-search__control input[type="search"] {
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: var(--iesv7-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: 500 15px/1.4 var(--iesv7-sans);
  outline: 0;
  caret-color: var(--iesv7-gold);
  -webkit-appearance: none;
}

.iesv7-search__control input[type="search"]::placeholder {
  color: #656a73;
  opacity: 1;
}

.woocommerce .iesv7-search__control button[type="submit"] {
  min-height: 44px;
  margin: 0;
  padding: 0 21px;
  color: var(--iesv7-ink);
  background: var(--iesv7-gold-light);
  border: 1px solid var(--iesv7-gold-light);
  border-radius: 0 !important;
  box-shadow: none;
  font: 750 13px/1 var(--iesv7-sans);
  letter-spacing: 0.025em;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.woocommerce .iesv7-search__control button[type="submit"]:hover {
  color: #fff;
  background: var(--iesv7-cacao);
  border-color: var(--iesv7-cacao);
}

.iesv7-hero__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  background: var(--iesv7-espresso);
}

.iesv7-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  animation: iesv7-image-reveal 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes iesv7-image-reveal {
  from {
    opacity: 0.9;
    filter: brightness(0.9);
    transform: scale(1.008);
  }
  to {
    opacity: 1;
    filter: brightness(1);
    transform: scale(1);
  }
}

.iesv7-craft {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
  padding: clamp(48px, 5vw, 68px) clamp(12px, 3vw, 40px);
  border-bottom: 1px solid var(--iesv7-line);
}

.iesv7-craft h2 {
  max-width: 560px;
  font-size: clamp(42px, 4.2vw, 60px);
  line-height: 1.02;
}

.iesv7-craft__intro p {
  max-width: 520px;
  margin: 18px 0 0;
  color: #585d66;
  font-size: 17px;
  line-height: 1.75;
}

.iesv7-craft__notes {
  margin: 5px 0 0;
}

.iesv7-craft__notes > div {
  display: grid;
  grid-template-columns: minmax(145px, 0.7fr) minmax(0, 1.3fr);
  gap: 34px;
  padding: 18px 0;
  border-top: 1px solid var(--iesv7-line);
}

.iesv7-craft__notes > div:last-child {
  border-bottom: 1px solid var(--iesv7-line);
}

.iesv7-craft__notes dt {
  color: var(--iesv7-ink);
  font-size: 14px;
  font-weight: 750;
}

.iesv7-craft__notes dd {
  margin: 0;
  color: #666b74;
  font-size: 14px;
  line-height: 1.65;
}

.iesv7-assurances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  color: var(--iesv7-ink);
  background: #ffffff;
  border-top: 1px solid rgba(9, 10, 13, 0.12);
  border-bottom: 1px solid rgba(9, 10, 13, 0.12);
}

.iesv7-assurances > div {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 82px;
  padding: 16px clamp(16px, 2.5vw, 30px);
}

.iesv7-assurances > div + div {
  border-left: 1px solid rgba(9, 10, 13, 0.1);
}

.iesv7-assurances svg {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  color: var(--iesv7-gold);
}

.iesv7-assurances span,
.iesv7-assurances strong,
.iesv7-assurances small {
  display: block;
}

.iesv7-assurances strong {
  color: var(--iesv7-ink);
  font-size: 14px;
  font-weight: 750;
}

.iesv7-assurances small {
  margin-top: 3px;
  color: #676b73;
  font-size: 12px;
}

.iesv7-collection-heading {
  max-width: 840px;
  padding: clamp(46px, 5vw, 62px) 0 30px;
}

.iesv7-collection-heading h2 {
  font-size: clamp(48px, 5.4vw, 72px);
  line-height: 1;
}

.iesv7-collection-heading p {
  margin: 12px 0 0;
  color: #5d626b;
  font-size: 16px;
  line-height: 1.65;
}

/* O arquivo Elementor fica em largura integral, sem a antiga sidebar. */
body.elementor-page-3825
  .elementor-element.elementor-element-4ae1a40
  > .elementor-container {
  max-width: 1400px;
}

body.elementor-page-3825 .elementor-element.elementor-element-4ae1a40 {
  margin: 0;
  padding: 0 12px 36px;
}

body.elementor-page-3825
  .elementor-element.elementor-element-30e4980
  > .elementor-element-populated {
  margin: 0;
  padding: 0;
  border: 0;
}

/* Previne que a camada de motion v6 oculte cards em carregamentos tardios. */
body.woocommerce-shop ul.products li.product.iesw-reveal,
body.tax-product_cat ul.products li.product.iesw-reveal {
  opacity: 1;
  transform: none;
}

/* A cor muda; a arquitetura e o conteudo dos cards permanecem intactos. */
body.woocommerce-shop ul.products li.product,
body.tax-product_cat ul.products li.product {
  background: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 18px 48px rgba(9, 10, 13, 0.07) !important;
  border-radius: 0 !important;
}

body.woocommerce-shop ul.products li.product img,
body.tax-product_cat ul.products li.product img,
body.woocommerce-shop ul.products li.product .button,
body.tax-product_cat ul.products li.product .button {
  border-radius: 0 !important;
}

body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
  color: var(--iesv7-ink) !important;
}

body.woocommerce-shop ul.products li.product .price,
body.tax-product_cat ul.products li.product .price {
  color: #9c844f !important;
}

body.woocommerce-shop ul.products li.product .button,
body.tax-product_cat ul.products li.product .button {
  color: #fff !important;
  background: var(--iesv7-ink) !important;
  border-color: var(--iesv7-ink) !important;
}

body.woocommerce-shop ul.products li.product .button:hover,
body.tax-product_cat ul.products li.product .button:hover {
  color: var(--iesv7-ink) !important;
  background: var(--iesv7-gold-light) !important;
  border-color: var(--iesv7-gold-light) !important;
}

.iesv7-prefooter {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.9fr);
  gap: clamp(48px, 6vw, 88px);
  margin-top: 24px;
  padding: clamp(44px, 5vw, 68px) clamp(28px, 5vw, 72px);
  color: var(--iesv7-ink);
  overflow: hidden;
  background: #eee8dc;
  border-top: 1px solid rgba(138, 106, 51, 0.3);
  border-bottom: 1px solid rgba(138, 106, 51, 0.22);
  isolation: isolate;
}

.iesv7-prefooter::before {
  position: absolute;
  top: 0;
  left: clamp(28px, 5vw, 72px);
  width: 104px;
  height: 2px;
  background: var(--iesv7-gold);
  content: "";
}

.iesv7-prefooter > * {
  position: relative;
  z-index: 1;
}

body.woocommerce-page .iesv7-prefooter h2 {
  color: var(--iesv7-ink) !important;
  font-size: clamp(42px, 4.2vw, 60px);
  line-height: 0.98;
}

.iesv7-prefooter p {
  max-width: 600px;
  margin: 16px 0 0;
  color: #56544f;
  font-size: 16px;
  line-height: 1.65;
}

.iesv7-prefooter nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: center;
  border-top: 1px solid rgba(9, 10, 13, 0.18);
  border-left: 1px solid rgba(9, 10, 13, 0.18);
}

.iesv7-prefooter nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 0 18px;
  color: var(--iesv7-ink) !important;
  border-right: 1px solid rgba(9, 10, 13, 0.18);
  border-bottom: 1px solid rgba(9, 10, 13, 0.18);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.iesv7-prefooter nav a:hover {
  background: rgba(234, 215, 166, 0.42);
}

.iesv7-prefooter nav a svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--iesv7-gold);
  transition: transform 180ms ease;
}

.iesv7-prefooter nav a:hover svg {
  transform: translateX(4px);
}

body.woocommerce-shop .site-footer,
body.tax-product_cat .site-footer,
body.woocommerce-shop .site-footer .ast-footer-overlay,
body.tax-product_cat .site-footer .ast-footer-overlay {
  color: #4e4a42;
  background: #e5dccd !important;
}

body.woocommerce-shop .site-footer .ast-footer-overlay,
body.tax-product_cat .site-footer .ast-footer-overlay {
  padding: 20px 0;
  border-top: 1px solid rgba(138, 106, 51, 0.28);
}

body.woocommerce-shop .site-footer .ast-small-footer-section,
body.tax-product_cat .site-footer .ast-small-footer-section {
  color: #4e4a42;
  font: 600 12px/1.6 var(--iesv7-sans);
  letter-spacing: 0.025em;
}

body.woocommerce-shop .site-footer .ast-footer-site-title,
body.tax-product_cat .site-footer .ast-footer-site-title {
  color: #7d6335;
  font-weight: 800;
}

@media (max-width: 960px) {
  .iesv7-hero {
    min-height: 440px;
  }

  .iesv7-hero__copy {
    width: 66%;
    padding-right: 42px;
    padding-left: 42px;
  }

  .iesv7-craft {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .iesv7-prefooter {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 720px) {
  .iesv7-storefront {
    width: min(100% - 16px, 1280px);
    margin-top: 8px;
  }

  .iesv7-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    border-radius: 0;
  }

  .iesv7-hero__copy {
    width: 100%;
    padding: 40px 24px 32px;
    background: var(--iesv7-espresso);
    box-shadow: none;
  }

  body.woocommerce-page .iesv7-hero h1 {
    font-size: clamp(42px, 12.5vw, 52px);
    line-height: 0.98;
  }

  .iesv7-hero__copy > p {
    margin: 15px 0 19px;
    font-size: 14px;
    line-height: 1.55;
  }

  .iesv7-search__control {
    min-height: 56px;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: 10px;
    padding-left: 14px;
  }

  .iesv7-search__control input[type="search"] {
    font-size: 16px;
  }

  .iesv7-search__control button {
    padding: 0 15px;
  }

  .iesv7-hero__media {
    position: relative;
    inset: auto;
    min-height: 0;
    aspect-ratio: 2 / 1;
  }

  .iesv7-hero__media img {
    object-position: 76% center;
  }

  .iesv7-craft {
    gap: 26px;
    padding: 42px 4px;
  }

  .iesv7-craft h2 {
    font-size: 42px;
    line-height: 1.02;
  }

  .iesv7-craft__intro p {
    font-size: 16px;
  }

  .iesv7-craft__notes > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  .iesv7-assurances {
    grid-template-columns: 1fr;
  }

  .iesv7-assurances > div {
    min-height: 70px;
    padding: 14px 6px;
  }

  .iesv7-assurances > div + div {
    border-top: 1px solid rgba(9, 10, 13, 0.1);
    border-left: 0;
  }

  .iesv7-collection-heading {
    padding-top: 42px;
  }

  body.elementor-page-3825 .elementor-element.elementor-element-4ae1a40 {
    padding-right: 8px;
    padding-bottom: 28px;
    padding-left: 8px;
  }

  .iesv7-prefooter {
    gap: 30px;
    margin-top: 20px;
    padding: 40px 20px;
  }

  body.woocommerce-page .iesv7-prefooter h2 {
    font-size: 42px;
  }

  .iesv7-prefooter nav {
    grid-template-columns: 1fr;
  }

  .iesv7-prefooter nav a {
    min-height: 56px;
    padding: 0 14px;
  }

  body.woocommerce-shop .site-footer .ast-footer-overlay,
  body.tax-product_cat .site-footer .ast-footer-overlay {
    padding: 17px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iesv7-storefront *,
  .iesv7-storefront *::before,
  .iesv7-storefront *::after,
  .iesv7-prefooter *,
  .iesv7-prefooter *::before,
  .iesv7-prefooter *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .iesv7-hero,
  .iesv7-prefooter,
  .iesv7-search__control {
    border: 1px solid CanvasText;
  }
}
