/**
 * Trato Feito — visual exclusivo de loja.tratofeito.net
 * Escopo: body.tf-loja-demo (não afeta outros tenants .modelo.1)
 */

.tf-loja-demo {
  --tf-navy: #0f172a;
  --tf-navy-soft: #1e293b;
  --tf-amber: #f59e0b;
  --tf-amber-hover: #d97706;
  --tf-surface: #f8fafc;
  --tf-surface-2: #ffffff;
  --tf-muted: #64748b;
  --tf-border: #e2e8f0;
  --tf-radius: 14px;
  --tf-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --tf-font-display: "Fraunces", Georgia, serif;
  --tf-font-body: "DM Sans", system-ui, sans-serif;

  font-family: var(--tf-font-body);
  color: var(--tf-navy);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(245, 158, 11, 0.14), transparent 55%),
    linear-gradient(180deg, #eef2f7 0%, var(--tf-surface) 32%, #f1f5f9 100%);
  min-height: 100vh;
}

.tf-loja-demo a {
  color: var(--tf-navy);
}

.tf-loja-demo a:hover,
.tf-loja-demo a:focus {
  color: var(--tf-amber-hover);
}

/* —— Header —— */
.tf-loja-demo #header-sticky,
.tf-loja-demo .sticky-header,
.tf-loja-demo .header_top,
.tf-loja-demo .pais-moeda,
.tf-loja-demo .mainmenu .navbar-nav > li.dropdown > .dropdown-menu,
.tf-loja-demo #header .mainmenu .nav > li > .sub-menu,
.tf-loja-demo .mainmenu ul.nav > li:nth-child(2) .dropdown-menu,
.tf-loja-demo .navbar-nav > li .mega-menu,
.tf-loja-demo .navbar-collapse .nav > li:has(.dropdown-menu) .dropdown-menu {
  /* sticky duplicate + country/currency + floral mega-menu demos */
}

.tf-loja-demo #header-sticky {
  display: none !important;
}

.tf-loja-demo .header_top {
  background: var(--tf-navy);
  border: none;
  padding: 8px 0;
}

.tf-loja-demo .header_top .contactinfo ul li a,
.tf-loja-demo .header_top .social-icons ul li a {
  color: #e2e8f0;
  font-size: 13px;
}

.tf-loja-demo .header_top .contactinfo ul li a:hover,
.tf-loja-demo .header_top .social-icons ul li a:hover {
  color: var(--tf-amber);
  background: transparent;
}

.tf-loja-demo .header-middle {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tf-border);
  padding: 18px 0;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.tf-loja-demo .header-middle .logo a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.tf-loja-demo .header-middle .logo img.imagem {
  display: block;
  max-height: 44px;
  width: auto;
  max-width: min(240px, 55vw);
  height: auto;
  object-fit: contain;
}

/* Wordmark já vem na logo — não duplicar título */
.tf-loja-demo .header-middle .logo h4.texto,
.tf-loja-demo #header-sticky .logo h4.texto {
  display: none !important;
}

.tf-loja-demo #header-sticky .logo img.imagem {
  max-height: 36px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.tf-loja-demo .pais-moeda {
  display: none !important;
}

.tf-loja-demo .shop-menu > ul > li > a {
  color: var(--tf-navy-soft);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
}

.tf-loja-demo .shop-menu > ul > li > a:hover {
  color: var(--tf-amber-hover);
  background: transparent;
}

.tf-loja-demo .header-bottom {
  background: transparent;
  border: none;
  padding: 8px 0 4px;
}

.tf-loja-demo .mainmenu .navbar-nav > li > a {
  color: var(--tf-navy-soft);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  padding: 12px 16px;
}

.tf-loja-demo .mainmenu .navbar-nav > li > a:hover,
.tf-loja-demo .mainmenu .navbar-nav > li.active > a {
  color: var(--tf-navy);
  background: transparent;
}

/* Esconde mega-menu demo (Coleção com placehold.it / Summer dress) */
.tf-loja-demo .mainmenu .mega-dropdown-menu,
.tf-loja-demo .mainmenu .navbar-nav > li.dropdown .dropdown-menu,
.tf-loja-demo .mainmenu .nav li ul.sub-menu,
.tf-loja-demo .navbar-nav li .mega-menu {
  display: none !important;
}

.tf-loja-demo .search_box input {
  border: 1px solid var(--tf-border);
  border-radius: 999px;
  background: var(--tf-surface-2);
  padding: 10px 16px;
  min-width: 180px;
  box-shadow: none;
}

.tf-loja-demo .search_box input:focus {
  border-color: var(--tf-amber);
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* —— Hero —— */
.tf-loja-demo .tf-loja-hero {
  position: relative;
  margin: 0 0 28px;
  padding: clamp(48px, 10vw, 96px) 0;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 41, 59, 0.88) 55%, rgba(15, 23, 42, 0.75) 100%),
    radial-gradient(800px 400px at 80% 20%, rgba(245, 158, 11, 0.35), transparent 60%);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  animation: tfLojaHeroIn 0.7s ease both;
}

.tf-loja-demo .tf-loja-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22), transparent 70%);
  pointer-events: none;
}

.tf-loja-demo .tf-loja-hero .container {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.tf-loja-demo .tf-loja-hero-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 28px;
}

.tf-loja-demo .tf-loja-hero-brand img {
  display: block;
  height: clamp(48px, 9vw, 72px);
  width: auto;
  max-width: min(420px, 92vw);
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.tf-loja-demo .tf-loja-hero h1 {
  margin: 0 0 12px;
  font-family: var(--tf-font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

.tf-loja-demo .tf-loja-hero p {
  margin: 0 0 28px;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.tf-loja-demo .tf-loja-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--tf-amber);
  color: var(--tf-navy) !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.tf-loja-demo .tf-loja-hero-cta:hover {
  background: #fbbf24;
  color: var(--tf-navy) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
}

@keyframes tfLojaHeroIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Esconde slider legado vazio / demos na home demo */
.tf-loja-demo.inicio #slider {
  display: none !important;
}

/* —— Layout conteúdo —— */
.tf-loja-demo.inicio > section > .container {
  padding-top: 8px;
  padding-bottom: 40px;
}

.tf-loja-demo .left-sidebar .panel,
.tf-loja-demo .left-sidebar > div {
  background: var(--tf-surface-2);
  border: 1px solid var(--tf-border);
  border-radius: var(--tf-radius);
  box-shadow: var(--tf-shadow);
  padding: 16px;
  margin-bottom: 16px;
}

.tf-loja-demo .left-sidebar h2 {
  font-family: var(--tf-font-display);
  font-size: 1.15rem;
  color: var(--tf-navy);
  border: none;
  margin: 0 0 12px;
  padding: 0;
  text-align: left;
}

.tf-loja-demo .left-sidebar h2::before,
.tf-loja-demo .left-sidebar h2::after,
.tf-loja-demo .features_items .title::before,
.tf-loja-demo .features_items .title::after,
.tf-loja-demo h2.title::before,
.tf-loja-demo h2.title::after {
  display: none !important;
}

.tf-loja-demo h2.title {
  font-family: var(--tf-font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--tf-navy);
  text-align: left;
  margin: 0 0 20px;
  padding: 0;
  border: none;
  background: none;
}

.tf-loja-demo .shipping,
.tf-loja-demo .left-sidebar .shipping {
  display: none !important;
}

/* —— Cards de produto —— */
.tf-loja-demo .features_items {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

.tf-loja-demo .features_items > .title {
  width: 100%;
  flex: 0 0 100%;
  padding: 0 10px;
}

.tf-loja-demo .features_items > form.compra,
.tf-loja-demo .features_items > .col-sm-4 {
  display: flex;
}

.tf-loja-demo .features_items .col-sm-4 {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
  float: none;
  display: flex;
}

.tf-loja-demo .product-image-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--tf-border);
  border-radius: var(--tf-radius);
  background: var(--tf-surface-2);
  overflow: hidden;
  box-shadow: var(--tf-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: tfLojaCardIn 0.55s ease both;
}

.tf-loja-demo .features_items .col-sm-4:nth-child(2) .product-image-wrapper { animation-delay: 0.06s; }
.tf-loja-demo .features_items .col-sm-4:nth-child(3) .product-image-wrapper { animation-delay: 0.12s; }
.tf-loja-demo .features_items .col-sm-4:nth-child(4) .product-image-wrapper { animation-delay: 0.18s; }

.tf-loja-demo .product-image-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

@keyframes tfLojaCardIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tf-loja-demo .single-products {
  border: none;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tf-loja-demo .productinfo {
  padding: 16px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch !important;
  text-align: left !important;
}

.tf-loja-demo .productinfo .linkitem {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
}

.tf-loja-demo .productinfo img.miniatura {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f1f5f9;
  border-radius: 10px;
  margin: 0 0 14px;
  transition: transform 0.3s ease;
}

.tf-loja-demo .product-image-wrapper:hover .productinfo img.miniatura {
  transform: scale(1.03);
}

.tf-loja-demo .productinfo .referencia {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tf-muted);
  margin-bottom: 6px;
}

.tf-loja-demo .productinfo .nome {
  font-family: var(--tf-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--tf-navy);
  margin: 0 0 10px;
  line-height: 1.3;
  min-height: 2.6em;
}

.tf-loja-demo .productinfo .preco {
  margin-top: auto;
  margin-bottom: 14px;
}

.tf-loja-demo .productinfo .preco .frase {
  color: var(--tf-muted);
  font-size: 12px;
}

.tf-loja-demo .productinfo .preco .valor {
  font-weight: 700;
  color: var(--tf-navy);
  font-size: 1.1rem;
}

.tf-loja-demo .productinfo .precodepor .de .valor {
  text-decoration: line-through;
  color: var(--tf-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.tf-loja-demo .productinfo .porcentagem {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--tf-amber-hover);
  font-size: 12px;
  font-weight: 600;
}

.tf-loja-demo .productinfo .porcentagem .frase {
  display: none;
}

.tf-loja-demo .product-overlay,
.tf-loja-demo .single-products img.new,
.tf-loja-demo .choose {
  display: none !important;
}

.tf-loja-demo .btn.btn-warning.add-to-cart,
.tf-loja-demo a.btn.btn-warning.add-to-cart {
  align-self: stretch;
  border: none;
  border-radius: 999px;
  background: var(--tf-navy);
  color: #fff !important;
  font-weight: 600;
  padding: 11px 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tf-loja-demo .btn.btn-warning.add-to-cart:hover,
.tf-loja-demo a.btn.btn-warning.add-to-cart:hover {
  background: var(--tf-amber);
  color: var(--tf-navy) !important;
  transform: translateY(-1px);
}

.tf-loja-demo .btn.btn-danger {
  border-radius: 999px;
  border: none;
}

/* Category tabs */
.tf-loja-demo .category-tab {
  background: var(--tf-surface-2);
  border: 1px solid var(--tf-border);
  border-radius: var(--tf-radius);
  padding: 16px;
  box-shadow: var(--tf-shadow);
  margin-bottom: 24px;
}

.tf-loja-demo .category-tab .nav-tabs > li > a {
  border-radius: 999px;
  border: none;
  color: var(--tf-muted);
  font-weight: 500;
}

.tf-loja-demo .category-tab .nav-tabs > li.active > a,
.tf-loja-demo .category-tab .nav-tabs > li > a:hover {
  background: var(--tf-navy);
  color: #fff;
}

.tf-loja-demo .recommended_items {
  margin-top: 8px;
}

/* —— Footer —— */
.tf-loja-demo #footer {
  background: var(--tf-navy);
  color: #cbd5e1;
  margin-top: 40px;
  border: none;
}

.tf-loja-demo #footer .footer-top {
  background: transparent;
  border: none;
  padding: 36px 0 12px;
}

.tf-loja-demo #footer .footer-top .video-gallery,
.tf-loja-demo #footer .footer-widget .single-widget:nth-child(n+2),
.tf-loja-demo #footer .companyinfo h2 span {
  /* keep brand block; hide video galleries + clutter via rules below */
}

.tf-loja-demo #footer .footer-top .col-sm-7,
.tf-loja-demo #footer .video-gallery {
  display: none !important;
}

.tf-loja-demo #footer .companyinfo h2 {
  font-family: var(--tf-font-display);
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.tf-loja-demo #footer .companyinfo h2 span {
  color: var(--tf-amber);
}

.tf-loja-demo #footer .companyinfo p,
.tf-loja-demo #footer .address p,
.tf-loja-demo #footer .single-widget ul li a,
.tf-loja-demo #footer .single-widget h2 {
  color: #cbd5e1;
}

.tf-loja-demo #footer .address img {
  display: none;
}

.tf-loja-demo #footer .footer-widget {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
}

.tf-loja-demo #footer .single-widget h2 {
  font-family: var(--tf-font-display);
  font-size: 1.1rem;
  color: #fff;
  border: none;
  margin-bottom: 12px;
}

.tf-loja-demo #footer .single-widget h2::before,
.tf-loja-demo #footer .single-widget h2::after {
  display: none !important;
}

.tf-loja-demo #footer .searchform input {
  border-radius: 999px 0 0 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.tf-loja-demo #footer .searchform button {
  border-radius: 0 999px 999px 0;
  background: var(--tf-amber);
  color: var(--tf-navy);
  border: none;
  font-weight: 700;
}

.tf-loja-demo #footer .footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  border: none;
  padding: 16px 0;
  color: #94a3b8;
}

.tf-loja-demo #footer .footer-bottom p {
  color: #94a3b8;
}

/* —— Caixa / carrinho —— */
.tf-loja-demo #cart_items.modelo1-checkout {
  padding: 12px 0 56px;
}

.tf-loja-demo .modelo1-checkout .container,
.tf-loja-demo .modelo1-checkout .all-content-page > .container {
  overflow: visible;
}

.tf-loja-demo .modelo1-checkout-breadcrumbs .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--tf-muted);
}

.tf-loja-demo .modelo1-checkout-breadcrumbs .breadcrumb > li + li:before {
  content: "/";
  padding: 0 8px;
  color: #94a3b8;
}

.tf-loja-demo .modelo1-checkout-breadcrumbs .breadcrumb a {
  color: var(--tf-muted);
}

.tf-loja-demo .checkout-unified {
  background: var(--tf-surface-2);
  border: 1px solid var(--tf-border);
  border-radius: var(--tf-radius);
  box-shadow: var(--tf-shadow);
  padding: 8px 8px 24px;
}

.tf-loja-demo .checkout-unified .checkout-empty {
  padding: 56px 24px 64px;
}

.tf-loja-demo .checkout-unified .checkout-empty-visual {
  width: 96px;
  height: 96px;
  color: var(--tf-amber);
  background: linear-gradient(160deg, #fff7ed 0%, #ffedd5 100%);
}

.tf-loja-demo .checkout-unified .checkout-empty-title {
  font-family: var(--tf-font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--tf-navy);
  background: none;
  border: 0;
  text-transform: none;
}

.tf-loja-demo .checkout-unified .checkout-empty-text {
  color: var(--tf-muted);
}

.tf-loja-demo .checkout-unified .checkout-empty-cta,
.tf-loja-demo .checkout-unified .button.submit,
.tf-loja-demo .checkout-unified .btn-color,
.tf-loja-demo .checkout-unified button.button.submit.checkout-next-step {
  background: var(--tf-navy) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--tf-font-body);
}

.tf-loja-demo .checkout-unified .checkout-empty-cta:hover,
.tf-loja-demo .checkout-unified .button.submit:hover,
.tf-loja-demo .checkout-unified .btn-color:hover,
.tf-loja-demo .checkout-unified button.button.submit.checkout-next-step:hover,
.tf-loja-demo .checkout-unified button.button.submit.checkout-next-step:focus {
  background: var(--tf-amber) !important;
  color: var(--tf-navy) !important;
  transform: translateY(-1px);
}

.tf-loja-demo .checkout-unified .checkout-empty-secondary {
  color: var(--tf-muted);
}

.tf-loja-demo .checkout-unified .checkout-step {
  border: 1px solid var(--tf-border);
  border-radius: 12px;
  overflow: visible;
  box-shadow: none;
}

.tf-loja-demo .checkout-unified .checkout-step-header {
  background: #f8fafc;
}

.tf-loja-demo .checkout-unified .checkout-step.is-active .checkout-step-header {
  background: var(--tf-navy);
}

.tf-loja-demo .checkout-unified .checkout-step.is-done .checkout-step-header {
  background: #fff7ed;
}

.tf-loja-demo .checkout-unified .checkout-step.is-active .checkout-step-title {
  color: #fff;
}

.tf-loja-demo .checkout-unified .checkout-step.is-done .checkout-step-title {
  color: var(--tf-amber-hover);
}

.tf-loja-demo .checkout-unified .checkout-step.is-active .checkout-step-index {
  background: var(--tf-amber);
  color: var(--tf-navy);
}

.tf-loja-demo .checkout-unified .checkout-step.is-done .checkout-step-index {
  background: var(--tf-amber);
  color: var(--tf-navy);
}

.tf-loja-demo .checkout-unified .table-cart {
  border: 0;
}

.tf-loja-demo .checkout-unified .table-cart thead th,
.tf-loja-demo .checkout-unified .title-unline {
  color: var(--tf-navy);
  font-family: var(--tf-font-body);
  border-bottom: 1px solid var(--tf-border);
  text-transform: none;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.tf-loja-demo .checkout-unified .checkout-summary-sticky .wishlist-wrap,
.tf-loja-demo .checkout-payment-inline .resumo > .checkout-resumo-box {
  background: #f8fafc;
  border: 1px solid var(--tf-border);
  border-radius: 12px;
}

.tf-loja-demo .checkout-frete-option.is-selected {
  border-color: var(--tf-amber);
  box-shadow: inset 0 0 0 1px var(--tf-amber);
}

.tf-loja-demo .checkout-payment-inline .btn-primary {
  background: var(--tf-navy);
  border: none;
  border-radius: 999px;
}

/* —— Mobile —— */
@media (max-width: 767px) {
  .tf-loja-demo .header-middle .logo img.imagem {
    max-height: 36px;
  }

  .tf-loja-demo .tf-loja-hero {
    padding: 40px 0 48px;
    text-align: left;
  }

  .tf-loja-demo .left-sidebar {
    margin-bottom: 24px;
  }

  .tf-loja-demo .productinfo img.miniatura {
    height: 180px;
  }
}
