/* Tricotur — shared components (pages, shell, shop helpers) */

/* Footer logo — transparent, no white box */
.tc-footer-brand .tc-footer-logo {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.tc-footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* Flatlogic nav — fallback dacă ecommerce-layout nu e încărcat */
.tc-ec-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tc-ec-menu__sub {
  list-style: none;
}

/* Header magazin dropdown */
.tc-header,
.tc-navbar,
.tc-menu,
.tc-menu-item {
  overflow: visible;
}

.tc-menu .tc-menu-dropdown a {
  border-radius: 0;
  padding: 0;
  font-weight: inherit;
  background: transparent;
}

.tc-menu .tc-menu-dropdown a:hover {
  background: transparent;
}

.tc-menu-item {
  position: relative;
}

.tc-menu-item--shop > .tc-menu-shop {
  color: var(--tc-red, #0b8796);
  font-weight: 800;
}

.tc-menu-item--shop.is-active > .tc-menu-shop {
  background: rgba(169, 31, 40, 0.1);
  border-radius: 8px;
}

.tc-menu-item--shop > .tc-menu-shop::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.tc-menu-item--genders > .tc-menu-genders {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tc-menu-item--genders > .tc-menu-genders::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.tc-menu-item--genders.is-active > .tc-menu-genders,
.tc-menu-item--genders:hover > .tc-menu-genders,
.tc-menu-item--genders:focus-within > .tc-menu-genders {
  color: var(--tc-red, #0b8796);
}

.tc-menu-item--genders:hover .tc-menu-dropdown,
.tc-menu-item--genders:focus-within .tc-menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.tc-menu-item--genders .tc-menu-dropdown {
  min-width: 280px;
  left: 0;
}

.tc-menu-dropdown--simple .tc-menu-dropdown-panel {
  min-width: 280px;
  padding: 10px 0;
}

.tc-menu-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tc-menu .tc-menu-dropdown-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  color: var(--tc-text, #1f2937);
  text-decoration: none;
  font-size: 14px;
}

.tc-menu .tc-menu-dropdown-list a:hover {
  background: var(--tc-soft, #f7f3f0);
  color: var(--tc-red, #0b8796);
}

.tc-header-search {
  position: relative;
}

.tc-header-search__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, 78vw);
  background: #fff;
  border: 1px solid #e8e2dc;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
  padding: 12px;
  z-index: 120;
}

.tc-header-search__input,
.tc-mobile-search__input {
  width: 100%;
  border: 1px solid #e8e2dc;
  border-radius: 10px;
  padding: 11px 14px;
  font: inherit;
  color: var(--tc-text, #1f2937);
  background: #fff;
}

.tc-header-search__input:focus,
.tc-mobile-search__input:focus {
  outline: 2px solid rgba(169, 31, 40, 0.25);
  border-color: var(--tc-red, #0b8796);
}

.tc-header-search__results {
  margin-top: 8px;
  max-height: 360px;
  overflow: auto;
}

.tc-header-search__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}

.tc-header-search__item:hover,
.tc-header-search__item.is-active {
  background: var(--tc-soft, #f7f3f0);
}

.tc-header-search__item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  background: #f3f4f6;
}

.tc-header-search__item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tc-header-search__item-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.tc-header-search__item-price {
  font-size: 13px;
  color: var(--tc-muted, #687083);
}

.tc-header-search__item-price .amount {
  font-weight: 700;
  color: var(--tc-red, #0b8796);
}

.tc-header-search__empty {
  margin: 0;
  padding: 12px;
  font-size: 14px;
  color: var(--tc-muted, #687083);
}

.tc-mobile-search {
  padding: 0 20px 12px;
}

.tc-mobile-search__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tc-muted, #687083);
}

.tc-mobile-search__results {
  margin-top: 8px;
}

.tc-product-specs__sizes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.tc-product-specs__sizes-layout.has-diagram {
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
}

.tc-product-specs__sizes-diagram {
  margin: 0;
  padding: 12px;
  border: 1px solid #ece7e1;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.tc-product-specs__sizes-diagram img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
}

.tc-menu-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: min(920px, calc(100vw - 48px));
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 120;
  pointer-events: none;
}

.tc-menu-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.tc-menu-item--shop:hover .tc-menu-dropdown,
.tc-menu-item--shop:focus-within .tc-menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.tc-menu-dropdown-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.10);
  padding: 20px 22px 22px;
}

.tc-menu .tc-menu-dropdown-all {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tc-red, #0b8796);
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
}

.tc-menu .tc-menu-dropdown-all:hover {
  background: transparent;
  opacity: 0.75;
}

.tc-menu-dropdown-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 28px;
  max-height: min(70vh, 520px);
  overflow: auto;
}

.tc-menu-dropdown-col {
  min-width: 0;
  padding: 4px 0 12px;
}

.tc-menu .tc-menu-dropdown-parent {
  display: block;
  padding: 7px 0;
  font-size: 13.5px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.4;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.tc-menu .tc-menu-dropdown-parent:hover {
  color: var(--tc-red, #0b8796);
  font-weight: 400;
}

.tc-menu-dropdown-children {
  list-style: none;
  margin: 0 0 4px;
  padding: 0 0 0 12px;
  border-left: 1px solid #ebebeb;
}

.tc-menu .tc-menu-dropdown-children a {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 400;
  color: #9ca3af;
  line-height: 1.4;
  transition: color 0.15s;
}

.tc-menu .tc-menu-dropdown-children a:hover {
  color: var(--tc-red, #0b8796);
}

.tc-menu-cat-count {
  display: none;
}

/* Mobile magazin accordion */
.tc-mobile-shop {
  border-bottom: 1px solid var(--line);
}

.tc-mobile-shop > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.tc-mobile-shop > summary::-webkit-details-marker {
  display: none;
}

.tc-mobile-shop > summary::after {
  content: '+';
  float: right;
  font-size: 18px;
  color: var(--muted);
}

.tc-mobile-shop[open] > summary::after {
  content: '−';
}

.tc-mobile-shop-panel {
  padding: 0 6px 10px;
}

.tc-mobile-shop-panel a {
  display: block;
  padding: 10px 0 10px 8px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
}

.tc-mobile-shop-panel a.tc-mobile-shop-child {
  padding-left: 22px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}

@media (max-width: 1100px) {
  .tc-menu-dropdown-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .tc-menu-dropdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* About page */
.tc-about-stats {
  padding: 48px 0;
  background: var(--tc-soft, #f7f3f0);
}

.tc-about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tc-about-stats-grid article {
  background: #fff;
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
}

.tc-about-stats-grid strong {
  display: block;
  font-size: 2rem;
  color: var(--tc-red, #0b8796);
  font-weight: 800;
}

.tc-about-stats-grid span {
  color: var(--tc-muted, #687083);
  font-size: 0.9rem;
}

.tc-about-story {
  padding: 72px 0;
}

.tc-about-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.tc-about-values {
  display: grid;
  gap: 16px;
}

.tc-about-values article {
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 14px;
  padding: 22px;
  background: #fff;
}

.tc-about-values h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.tc-about-timeline {
  padding: 0 0 72px;
}

.tc-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.tc-timeline-item {
  padding: 16px;
  background: var(--tc-soft, #f7f3f0);
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 12px;
}

.tc-timeline-item span {
  display: block;
  font-weight: 800;
  color: var(--tc-red, #0b8796);
  margin-bottom: 8px;
}

/* Contact */
.tc-contact-section {
  padding: 56px 0 80px;
}

.tc-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.tc-contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 18px;
}

.tc-contact-list strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tc-muted, #687083);
  margin-bottom: 4px;
}

.tc-contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tc-contact-chips span {
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
  color: var(--tc-muted, #687083);
}

.tc-contact-form-wrap {
  background: #fff;
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(8, 9, 13, 0.06);
}

.tc-contact-form-wrap h2 {
  margin: 0 0 20px;
  font-size: 1.5rem;
}

/* Contact — hartă */
.tc-map {
  padding: 0 0 72px;
  background: var(--tc-soft, #f7f3f0);
}

.tc-map-shell {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8, 9, 13, 0.08);
}

.tc-map-panel {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--tc-line, #e7e2df);
  background: #fff;
}

.tc-map-panel h2 {
  margin: 10px 0 16px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  color: var(--tc-black, #08090d);
}

.tc-map-address {
  margin: 0 0 10px;
  color: var(--tc-text, #1f2430);
  font-size: 1rem;
  line-height: 1.55;
}

.tc-map-hours {
  margin: 0 0 28px;
  color: var(--tc-muted, #687083);
  font-size: 0.95rem;
}

.tc-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tc-map-canvas {
  position: relative;
  min-height: 420px;
  background: #e8ecf1;
}

.tc-map-canvas iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* Legal */
.tc-legal-section {
  padding: 40px 0 80px;
}

.tc-legal-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--tc-text, #1f2430);
}

.tc-legal-meta {
  margin: 0 0 1.25rem;
  padding: 12px 16px;
  border-left: 3px solid var(--red, #0b8796);
  background: #fafafa;
  font-size: 0.95rem;
}

.tc-legal-divider {
  margin: 2.25rem 0;
  border: 0;
  border-top: 1px solid var(--tc-line, #e7e2df);
}

.tc-legal-content h2 {
  margin: 2.25rem 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--tc-text, #1f2430);
}

.tc-legal-content h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
  color: #2f3640;
}

.tc-legal-content p {
  margin: 0 0 1rem;
}

.tc-legal-list {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
  list-style: disc;
  list-style-position: outside;
}

.tc-legal-list li {
  display: list-item;
  margin-bottom: 0.45rem;
  padding-left: 0.2rem;
}

.tc-legal-content ul:not(.tc-legal-list--plain) {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
  list-style: disc;
  list-style-position: outside;
}

.tc-legal-content ul:not(.tc-legal-list--plain) li {
  display: list-item;
  margin-bottom: 0.45rem;
}

.tc-legal-list--plain {
  list-style: none;
  padding-left: 0;
}

.tc-legal-list--plain li {
  margin-bottom: 0.35rem;
}

.tc-legal-content a {
  color: var(--red, #0b8796);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tc-legal-content a:hover {
  color: var(--red-dark, #075b66);
}

.tc-legal-content h2,
.tc-legal-content h3 {
  scroll-margin-top: 110px;
}

/* Catalog preview (homepage) */
.tc-catalog-preview {
  padding: 72px 0;
  background: var(--tc-soft, #f7f3f0);
}

.tc-catalog-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.tc-catalog-preview-card {
  background: #fff;
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tc-catalog-preview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(8, 9, 13, 0.08);
}

.tc-catalog-preview-card img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.tc-catalog-preview-card div {
  padding: 16px;
}

.tc-catalog-preview-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.tc-catalog-preview-card span {
  color: var(--tc-muted, #687083);
  font-size: 0.88rem;
}

.tc-catalog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tc-catalog-cats a {
  border: 1px solid var(--tc-line, #e7e2df);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

.tc-catalog-cats a:hover {
  border-color: var(--tc-red, #0b8796);
  color: var(--tc-red, #0b8796);
}

/* Portfolio filters */
.tc-portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tc-portfolio-filters a {
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  background: #fff;
}

.tc-portfolio-filters a.is-active,
.tc-portfolio-filters a:hover {
  background: var(--tc-black, #08090d);
  color: #fff;
  border-color: var(--tc-black, #08090d);
}

/* Broderie process visual */
.tc-broderie-process {
  padding: 64px 0;
}

.tc-broderie-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.tc-broderie-step {
  background: #fff;
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 16px;
  padding: 24px 20px;
}

.tc-broderie-step span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tc-red, #0b8796);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

/* Single product page — 60% galerie / 40% detalii, încadrat în viewport */
.tc-product-page {
  --tc-product-container: 1520px;
  --tc-pg-viewport-h: calc(100vh - 230px);
  --tc-pg-main-max-h: min(560px, var(--tc-pg-viewport-h));
  --tc-pg-min-h: auto;
  --tc-pg-main-min-h: 0;
  --tc-pg-thumb-size: 72px;
  --tc-pg-thumb-col: 92px;
}

.tc-product-page .tc-container--product {
  width: min(var(--tc-product-container), calc(100% - 32px));
  max-width: var(--tc-product-container);
}

.tc-product-page .tc-product-hero {
  padding: clamp(16px, 2.5vw, 28px) 0 clamp(28px, 3vw, 40px);
}

.tc-product-page .tc-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0;
  align-items: start;
}

@media (min-width: 992px) {
  .tc-product-page .tc-product-layout--visual,
  .tc-product-page .tc-product-layout--utt {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(24px, 3vw, 40px);
    align-items: start;
  }

  .tc-product-page .tc-product-media {
    min-width: 0;
  }

  .tc-product-page .tc-product-summary,
  .tc-product-page .tc-product-panel {
    max-width: none;
    justify-self: stretch;
    width: 100%;
  }
}

.tc-product-layout--utt {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.tc-product-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.tc-product-panel__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tc-product-panel__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.tc-product-panel__title-copy {
  min-width: 0;
}

.tc-product-brand-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4f1ee;
  color: var(--tc-black, #08090d);
  font-weight: 700;
}

.tc-product-price-main--hero {
  flex: 0 0 auto;
  white-space: nowrap;
}

.tc-product-panel__commerce {
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fcfaf8 100%);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(8, 9, 13, 0.04);
}

.tc-product-commerce-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.tc-product-commerce-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tc-black, #08090d);
}

.tc-product-panel__commerce .tc-product-embroidery-link {
  margin: 0;
  padding: 8px 12px;
  font-size: 13px;
}

.tc-product-panel__commerce .tc-product-assurance {
  margin-top: 14px;
}

.tc-product-specs--inline {
  padding: 0;
  background: transparent;
}

.tc-product-specs--inline .tc-product-specs__shell {
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(8, 9, 13, 0.04);
}

.tc-product-specs--inline .tc-product-specs__tabs {
  padding: 0 12px;
  gap: 0;
  border-bottom: 1px solid var(--tc-line, #e7e2df);
  overflow-x: auto;
  scrollbar-width: thin;
}

.tc-product-specs--inline .tc-product-specs__tab {
  flex: 0 0 auto;
  padding: 14px 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.tc-product-specs--inline .tc-product-specs__tab.is-active {
  border-bottom-color: var(--tc-red, #0b8796);
  background: transparent;
}

.tc-product-panel__specs {
  width: 100%;
  min-width: 0;
}

.tc-product-specs--inline .tc-product-specs__panels {
  padding: 16px;
  max-height: none;
  overflow: visible;
}

.tc-product-specs--inline .tc-product-specs__sizes-layout.has-diagram {
  grid-template-columns: minmax(0, 1.2fr) minmax(140px, 0.7fr);
}

.tc-product-specs--inline .tc-product-specs__sizes-diagram img {
  max-width: 180px;
}

.tc-product-page--utt .tc-product-panel {
  position: sticky;
  top: 110px;
}

@media (max-width: 991px) {
  .tc-product-page--utt .tc-product-panel {
    position: static;
  }

  .tc-product-panel__title-row {
    flex-direction: column;
  }

  .tc-product-commerce-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 992px) {
  .tc-product-page .tc-product-layout--visual {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: clamp(28px, 3.5vw, 44px);
    align-items: start;
  }
}

.tc-product-page .tc-product-media .woocommerce-product-gallery {
  width: 100% !important;
  float: none !important;
  opacity: 1 !important;
}

/* Product gallery — main image + thumbnails below (UTT style) */
.tc-pg {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 18px;
  padding: 14px;
  min-height: var(--tc-pg-min-h, auto);
  width: 100%;
  box-shadow: 0 12px 34px rgba(8, 9, 13, 0.06);
}

.tc-pg--below-thumbs .tc-pg-main {
  order: 1;
}

.tc-pg--below-thumbs .tc-pg-thumbs {
  order: 2;
  width: 100%;
  max-height: none;
  flex-direction: row;
  align-items: stretch;
}

.tc-pg--below-thumbs .tc-pg-thumbs-track {
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 10px;
  padding-bottom: 4px;
}

.tc-pg--below-thumbs .tc-pg-thumb-nav {
  display: none;
}

.tc-pg--empty,
.tc-pg--single {
  grid-template-columns: minmax(0, 1fr);
}

.tc-pg-thumbs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 0;
  max-height: var(--tc-pg-main-max-h, min(560px, var(--tc-pg-viewport-h)));
}

.tc-pg-thumbs-track {
  flex: 1 1 auto;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding: 2px;
}

.tc-pg-thumbs-track::-webkit-scrollbar {
  width: 4px;
}

.tc-pg-thumbs-track::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.tc-pg-thumb {
  flex: 0 0 auto;
  width: var(--tc-pg-thumb-size, 84px);
  height: var(--tc-pg-thumb-size, 84px);
  margin: 0 auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tc-pg-thumb:hover {
  transform: scale(1.03);
}

.tc-pg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tc-pg-thumb.is-active {
  border-color: var(--tc-red, #0b8796);
  box-shadow: 0 0 0 1px var(--tc-red, #0b8796);
}

.tc-pg-thumb-nav {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 50%;
  background: #fff;
  color: var(--tc-black, #08090d);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.tc-pg-thumb-nav:hover:not(:disabled) {
  background: var(--tc-soft, #f7f3f0);
}

.tc-pg-thumb-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.tc-pg-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(420px, 52vh);
  height: auto;
  max-height: min(620px, var(--tc-pg-viewport-h));
  background: linear-gradient(180deg, #fafafa 0%, #f3f4f6 100%);
  border-radius: 14px;
  overflow: hidden;
}

.tc-pg-stage {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.tc-pg-main-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.tc-pg-counter {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--tc-black, #08090d);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tc-pg-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--tc-line, #e7e2df);
  background: rgba(255, 255, 255, 0.95);
  color: var(--tc-black, #08090d);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tc-pg-zoom:hover {
  background: #fff;
  transform: scale(1.04);
}

.tc-pg-stage[data-tc-gallery-open] {
  cursor: zoom-in;
}

.tc-pg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tc-pg-lightbox[hidden] {
  display: none !important;
}

.tc-pg-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 13, 0.88);
}

.tc-pg-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(96vw, 1200px);
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-pg-lightbox__figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 92vh;
}

.tc-pg-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.tc-pg-lightbox__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tc-pg-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.tc-pg-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tc-pg-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.24);
}

.tc-pg-lightbox__nav--prev {
  left: -56px;
}

.tc-pg-lightbox__nav--next {
  right: -56px;
}

.tc-pg-lightbox__counter {
  position: absolute;
  left: 0;
  bottom: -40px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
}

html.tc-pg-lightbox-open,
body.tc-pg-lightbox-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .tc-pg-lightbox {
    padding: 12px;
  }

  .tc-pg-lightbox__close {
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.55);
  }

  .tc-pg-lightbox__nav {
    top: auto;
    bottom: 12px;
    transform: none;
    background: rgba(0, 0, 0, 0.55);
  }

  .tc-pg-lightbox__nav--prev {
    left: 12px;
  }

  .tc-pg-lightbox__nav--next {
    right: 12px;
  }

  .tc-pg-lightbox__counter {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .tc-product-page {
    --tc-pg-viewport-h: auto;
    --tc-pg-main-max-h: min(78vw, 400px);
    --tc-pg-thumb-size: 56px;
    overflow-x: clip;
  }

  .tc-product-page .tc-container--product {
    width: 100%;
    max-width: 100%;
    padding-inline: 16px;
    box-sizing: border-box;
  }

  .tc-product-page .tc-product-layout,
  .tc-product-page .tc-product-media,
  .tc-product-page .tc-product-panel {
    min-width: 0;
    max-width: 100%;
  }

  .tc-product-page .tc-product-media {
    overflow: hidden;
  }

  .tc-product-page .tc-product-summary {
    position: static;
    top: auto;
  }

  .tc-product-page .tc-product-title {
    font-size: clamp(1.05rem, 4.8vw, 1.35rem) !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .tc-product-page .tc-product-eyebrow {
    flex-wrap: wrap;
    gap: 8px;
  }

  .tc-product-page .tc-product-buybox__meta-row {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .tc-pg {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 0;
    max-height: none;
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }

  .tc-pg-thumbs {
    order: 2;
    flex-direction: row;
    max-height: none;
    width: 100%;
    min-width: 0;
  }

  .tc-pg-thumbs-track {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tc-pg-thumbs-track::-webkit-scrollbar {
    display: none;
  }

  .tc-pg-thumb {
    width: var(--tc-pg-thumb-size, 56px);
    height: var(--tc-pg-thumb-size, 56px);
    margin: 0;
    flex: 0 0 auto;
    border-radius: 10px;
  }

  .tc-pg-thumb-nav {
    display: none;
  }

  .tc-pg-main {
    order: 1;
    min-height: min(72vw, 360px);
    max-height: var(--tc-pg-main-max-h, min(78vw, 400px));
  }

  .tc-pg-main-img {
    max-height: 100%;
  }

  .tc-pg-zoom {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .tc-pg-counter {
    left: 10px;
    bottom: 10px;
    font-size: 12px;
  }

  .tc-product-panel__commerce {
    padding: 14px;
  }

  .tc-product-embroidery-link {
    font-size: 11px;
    min-height: 44px;
    padding: 10px 12px;
  }

  .tc-variations-form .woocommerce-variation-add-to-cart,
  .tc-variations-form .tc-variation-cart-row {
    grid-template-columns: 72px 1fr;
    gap: 10px;
  }

  .tc-product-specs-section .tc-container,
  .tc-product-reviews-section .tc-container {
    width: calc(100% - 32px);
    max-width: 100%;
    padding-inline: 0;
    box-sizing: border-box;
  }
}

.tc-product-page .tc-product-summary {
  position: sticky;
  top: 120px;
}

.tc-product-style-code {
  margin: 0 0 8px;
  color: var(--tc-muted, #687083);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tc-product-eyebrow {
  margin-bottom: 10px;
  color: var(--tc-muted, #687083);
  font-size: 0.78em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tc-product-eyebrow span {
  margin-right: 12px;
}

.tc-product-page .tc-product-title {
  font-size: 1.0625rem !important;
  margin: 0 0 8px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  max-width: 100% !important;
}

.tc-product-title {
  font-size: 1.0625rem;
  margin: 0 0 8px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}

.tc-product-price-main {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0;
  color: var(--tc-black, #08090d);
}

.tc-product-price-main--form {
  margin-bottom: 4px;
}

.tc-product-price-main--form .price {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.tc-product-divider {
  border: 0;
  border-top: 1px solid var(--tc-line, #e7e2df);
  margin: 18px 0;
}

.tc-product-embroidery-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid var(--tc-black, #08090d);
  border-radius: 4px;
  background: #fff;
  color: var(--tc-black, #08090d);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.tc-product-embroidery-link:hover {
  background: var(--tc-black, #08090d);
  color: #fff;
}

.tc-product-operational-meta {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 8px;
  background: #fafafa;
}

.tc-product-operational-meta span {
  color: #4b5563;
  font-size: 12px;
  font-weight: 600;
}

.tc-product-buy {
  margin-bottom: 16px;
}

/* Variations — swatches + size grid (fără combobox) */
.tc-variations-form table.variations {
  display: none !important;
}

.tc-variation-native-wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tc-variation-field {
  position: relative;
}

.tc-variation-field + .tc-product-divider {
  margin-top: 20px;
}

.tc-variation-field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.tc-variation-label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--tc-black, #08090d);
  margin-bottom: 10px;
}

.tc-variation-field-head .tc-variation-label {
  margin-bottom: 0;
}

.tc-variation-selected {
  font-size: 13px;
  font-weight: 600;
  color: var(--tc-black, #08090d);
  text-align: right;
}

.tc-variation-field--color .tc-variation-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tc-muted, #687083);
}

.tc-variation-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tc-variation-field--color .tc-variation-swatches {
  margin-top: 8px;
}

.tc-swatch {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background-color: var(--tc-swatch, #c5cad3);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tc-swatch.is-image-swatch {
  background-color: #f4f4f4;
}

.tc-swatch.is-color-fallback {
  background-color: var(--tc-swatch, #c5cad3);
}

.tc-swatch.is-light {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.tc-swatch:hover:not(:disabled) {
  transform: scale(1.06);
}

.tc-swatch.is-active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--tc-red, #0b8796);
}

.tc-swatch.is-unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  position: relative;
}

.tc-variation-size-grid,
.tc-variation-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tc-size-btn,
.tc-pill-btn {
  min-width: 52px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--tc-black, #08090d);
  border-radius: 2px;
  background: #fff;
  color: var(--tc-black, #08090d);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tc-size-btn:hover:not(:disabled),
.tc-pill-btn:hover:not(:disabled) {
  background: var(--tc-soft, #f7f3f0);
}

.tc-size-btn.is-active,
.tc-pill-btn.is-active {
  background: var(--tc-black, #08090d);
  color: #fff;
  border-color: var(--tc-black, #08090d);
}

.tc-size-btn.is-unavailable,
.tc-pill-btn.is-unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.tc-variations-form .reset_variations {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tc-muted, #687083);
  text-decoration: underline;
}

.tc-variations-form .woocommerce-variation.single_variation {
  margin-top: 8px;
  margin-bottom: 8px;
}

.tc-variations-form .tc-single-variation-wrap {
  display: block !important;
}

.tc-variations-form .woocommerce-variation-add-to-cart,
.tc-variations-form .tc-variation-cart-row {
  display: grid !important;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: stretch;
  margin-top: 20px;
}

.tc-variations-form .single_add_to_cart_button.disabled,
.tc-variations-form .single_add_to_cart_button:disabled {
  background: #d1d5db !important;
  cursor: not-allowed;
  opacity: 1;
}

.tc-variations-form .single_add_to_cart_button:not(.disabled):not(:disabled) {
  background: var(--tc-red, #0b8796);
}

.tc-variations-form .tc-qty-input,
.tc-variations-form .quantity input.qty {
  width: 100%;
  height: 52px;
  text-align: center;
  border: 1px solid var(--tc-black, #08090d);
  border-radius: 2px;
  font-size: 16px;
  font-weight: 700;
}

.tc-variations-form .tc-add-to-cart-btn,
.tc-product-buy button.single_add_to_cart_button {
  background: var(--tc-red, #0b8796);
  color: #fff;
  border: none;
  min-height: 52px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  width: 100%;
  max-width: none;
  transition: background 0.2s ease;
}

.tc-variations-form .tc-add-to-cart-btn:hover:not(:disabled),
.tc-product-buy button.single_add_to_cart_button:hover:not(:disabled) {
  background: var(--tc-red-dark, #075b66);
}

.tc-variations-form .tc-add-to-cart-btn:disabled,
.tc-variations-form .single_add_to_cart_button.disabled {
  background: #d1d5db;
  cursor: not-allowed;
}

.tc-variations-form .woocommerce-variation.single_variation {
  margin-top: 12px;
}

.tc-variations-form .woocommerce-variation-price .price {
  font-size: 1.2rem;
  font-weight: 800;
}

.tc-product-assurance span {
  display: block;
  margin-bottom: 6px;
  color: var(--tc-muted, #687083);
  font-size: 0.82em;
}

@media (max-width: 768px) {
  .tc-variations-form .woocommerce-variation-add-to-cart {
    grid-template-columns: 72px 1fr;
  }
}

.tc-product-buy form.cart:not(.tc-variations-form) {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: stretch;
}

.tc-product-buy form.cart:not(.tc-variations-form) .quantity {
  margin: 0;
}

.tc-product-buy form.cart:not(.tc-variations-form) .single_add_to_cart_button {
  background: var(--tc-red, #0b8796);
  color: #fff;
  border: none;
  min-height: 52px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  width: 100%;
}

.tc-product-details {
  padding: 56px 0 72px;
  border-top: 1px solid var(--tc-line, #e7e2df);
}

.tc-product-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .tc-product-details-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.tc-product-side-info {
  background: var(--tc-soft, #f7f3f0);
  padding: 28px;
  border-radius: 14px;
}

.tc-product-specs {
  padding: 0 0 40px;
  background: #fff;
}

.tc-product-specs__shell {
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(8, 9, 13, 0.04);
}

.tc-product-specs__tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--tc-line, #e7e2df);
  background: linear-gradient(180deg, #faf8f6, #fff);
}

.tc-product-specs__tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tc-muted, #687083);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.tc-product-specs__tab.is-active {
  color: var(--tc-black, #08090d);
  border-bottom-color: var(--tc-red, #0b8796);
}

.tc-product-specs__panels {
  padding: 28px;
}

.tc-product-specs__panel[hidden] {
  display: none !important;
}

.tc-product-specs__description {
  color: var(--tc-black, #08090d);
  line-height: 1.75;
  font-size: 15px;
}

.tc-product-specs__description p {
  margin: 0 0 14px;
}

.tc-product-specs__technical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.tc-product-specs__technical-item {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--tc-line, #e7e2df);
}

.tc-product-specs__technical-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tc-muted, #687083);
}

.tc-product-specs__technical-value {
  font-size: 15px;
  color: var(--tc-black, #08090d);
}

.tc-product-specs__care {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--tc-line, #e7e2df);
}

.tc-product-specs__care-title {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tc-product-specs__care-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.tc-product-specs__care-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--tc-black, #08090d);
}

.tc-product-specs__care-list img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 28px;
}

.tc-product-specs__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.tc-product-specs__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.tc-product-specs__table th,
.tc-product-specs__table td {
  border: 1px solid var(--tc-line, #e7e2df);
  padding: 12px 14px;
  text-align: center;
  font-size: 14px;
}

.tc-product-specs__table thead th {
  background: var(--tc-soft, #f7f3f0);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tc-product-specs__table tbody th {
  background: #fff;
  font-weight: 800;
}

.tc-product-specs__table-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--tc-muted, #687083);
}

.tc-product-details--compact {
  padding-top: 0;
}

.tc-product-details--compact .tc-container {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .tc-product-specs__shell {
    overflow: visible;
  }

  .tc-product-specs__tabs {
    border-radius: 16px 16px 0 0;
    overflow: hidden;
  }

  .tc-product-specs__sizes-layout,
  .tc-product-specs__sizes-layout.has-diagram {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .tc-product-specs__sizes-diagram {
    order: -1;
    min-height: 0;
    max-width: 220px;
    margin-inline: auto;
    padding: 10px;
  }

  .tc-product-specs__sizes-diagram img {
    max-width: 100%;
  }

  .tc-product-specs__technical-grid {
    grid-template-columns: 1fr;
  }

  .tc-product-specs__panels {
    padding: 18px 14px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .tc-product-specs__description {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .tc-product-specs__table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
    font-size: 12px;
  }

  .tc-product-specs__table th,
  .tc-product-specs__table td {
    padding: 8px 6px;
  }

  .tc-product-specs__table-wrap {
    border: 1px solid var(--tc-line, #e7e2df);
    border-radius: 10px;
  }

  .tc-product-specs-section .tc-container,
  .tc-product-reviews-section .tc-container {
    width: calc(100% - 32px) !important;
    max-width: 100%;
    padding-inline: 0;
    box-sizing: border-box;
  }

  .tc-product-details--compact .tc-container {
    justify-content: stretch;
  }
}

.tc-fashion-empty {
  text-align: center;
  padding: 48px 20px;
  background: var(--tc-soft, #f7f3f0);
  border-radius: 16px;
}

.tc-fashion-empty a {
  display: inline-block;
  margin-top: 16px;
  background: var(--tc-red, #0b8796);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
}

.tc-footer-hours {
  margin-top: 12px;
  font-size: 0.9rem;
  opacity: 0.85;
}

.tc-search-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.tc-search-list a {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 10px;
  font-weight: 600;
}

  margin-top: 12px;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Sticky filters on mobile shop */
@media (max-width: 768px) {
  .tc-fashion-filters {
    position: sticky;
    top: 70px;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--tc-line, #e7e2df);
  }
}

.tc-fashion-catalog .woocommerce-result-count,
.tc-fashion-catalog .woocommerce-ordering {
  margin-bottom: 20px;
}

.tc-product-breadcrumb {
  padding: 16px 0 0;
}

.tc-product-layout-refined {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 40px 0 72px;
}

@media (min-width: 992px) {
  .tc-product-layout-refined {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.tc-product-embroidery-cta {
  margin-top: 24px;
  padding: 20px;
  background: var(--tc-soft, #f7f3f0);
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 12px;
}

.tc-product-embroidery-cta a {
  color: var(--tc-red, #0b8796);
  font-weight: 700;
}

/* WooCommerce system pages (cart, checkout, account) */
.tc-system-page .woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
}

.tc-system-page .woocommerce table.shop_table th,
.tc-system-page .woocommerce table.shop_table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--tc-line, #e7e2df);
}

.tc-system-page .woocommerce .button,
.tc-system-page .woocommerce button.button {
  background: var(--tc-red, #0b8796);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-weight: 700;
}

.tc-system-card {
  padding: 40px 0 72px;
}

/* Broderie — poveste editorială */
.tc-broderie-story {
  padding: 56px 0 48px;
  background: var(--tc-soft, #f7f3f0);
}

.tc-broderie-story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.tc-broderie-story-text h1 {
  margin: 12px 0 20px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.tc-broderie-story-text p {
  color: var(--tc-muted, #687083);
  margin-bottom: 14px;
}

.tc-broderie-story-stats {
  display: flex;
  gap: 28px;
  margin: 28px 0 32px;
  flex-wrap: wrap;
}

.tc-broderie-story-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tc-broderie-story-stats strong {
  font-size: 1.5rem;
  color: var(--tc-red, #0b8796);
}

.tc-broderie-story-stats span {
  font-size: 0.85rem;
  color: var(--tc-muted, #687083);
}

.tc-broderie-story-media img,
.tc-story-video {
  width: 100%;
  border-radius: 16px;
  display: block;
  box-shadow: 0 20px 50px rgba(8, 9, 13, 0.12);
}

.tc-story-quote {
  margin: 20px 0 0;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 12px;
  font-style: italic;
  color: var(--tc-text, #1f2430);
}

.tc-story-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--tc-muted, #687083);
}

/* Broderie — configurator live */
.tc-broderie-config {
  padding: 72px 0;
  background: #fff;
}

.tc-config-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.tc-config-head h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.tc-config-head p {
  color: var(--tc-muted, #687083);
}

.tc-config-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.tc-config-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  background: #f3f5f8;
  border-radius: 20px;
  border: 1px solid var(--tc-line, #e7e2df);
  overflow: hidden;
}

.tc-config-stage.tc-stage-cap {
  max-height: 400px;
}

.tc-config-stage.tc-stage-missing .tc-garment-mockup-fallback {
  opacity: 0.35;
}

.tc-garment-mockup-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-garment-mockup {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.tc-garment-mockup-fallback {
  position: absolute;
  inset: 12% 18%;
  border-radius: 12px;
  opacity: 0.5;
}

.tc-config-logo-wrap {
  position: absolute;
  z-index: 2;
  touch-action: none;
  cursor: grab;
  user-select: none;
}

.tc-config-logo-wrap.is-dragging {
  cursor: grabbing;
}

.tc-config-stage.has-logo .tc-config-logo-wrap {
  pointer-events: auto;
}

.tc-config-stage.tc-is-dragging {
  cursor: grabbing;
}

.tc-config-logo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
  mix-blend-mode: multiply;
}

.tc-garment-picker--5 {
  grid-template-columns: repeat(3, 1fr);
}

.tc-garment-picker--5 .tc-garment-btn:nth-child(4),
.tc-garment-picker--5 .tc-garment-btn:nth-child(5) {
  grid-column: span 1;
}

.tc-config-stage[data-garment="geaca"] .tc-config-logo-wrap img,
.tc-config-stage[data-garment="hanorac"] .tc-config-logo-wrap img,
.tc-config-stage[data-garment="sapca"] .tc-config-logo-wrap img,
.tc-config-stage.tc-stage-dark .tc-config-logo-wrap img {
  mix-blend-mode: normal;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.tc-config-placeholder {
  position: absolute;
  inset: auto 16px 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px 16px;
  text-align: center;
  color: var(--tc-muted, #687083);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(8, 9, 13, 0.08);
}

.tc-config-disclaimer {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--tc-muted, #687083);
  text-align: center;
}

.tc-config-controls {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tc-config-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-config-label {
  font-weight: 700;
  font-size: 0.9rem;
}

.tc-config-upload {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 2px dashed var(--tc-line, #e7e2df);
  border-radius: 12px;
  background: var(--tc-soft, #f7f3f0);
}

.tc-config-upload input[type="file"] {
  font-size: 0.85rem;
}

.tc-config-upload span {
  font-size: 0.8rem;
  color: var(--tc-muted, #687083);
}

.tc-config-upload-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tc-config-upload-meta span {
  flex: 1;
  min-width: 0;
  word-break: break-all;
}

.tc-logo-remove {
  border: none;
  background: transparent;
  color: var(--tc-red, #0b8796);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tc-logo-remove:hover {
  color: var(--tc-red-dark, #075b66);
}

.tc-garment-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tc-garment-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border: 2px solid var(--tc-line, #e7e2df);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}

.tc-garment-btn:hover {
  border-color: var(--tc-red, #0b8796);
}

.tc-garment-btn.is-active {
  border-color: var(--tc-red, #0b8796);
  background: rgba(169, 31, 40, 0.06);
  color: var(--tc-red, #0b8796);
}

.tc-garment-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.tc-config-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 10px;
  font-size: 0.95rem;
  background: #fff;
}

.tc-config-range {
  width: 100%;
  accent-color: var(--tc-red, #0b8796);
}

.tc-config-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* Mobile responsive */
@media (max-width: 1024px) {
  .tc-about-stats-grid,
  .tc-timeline,
  .tc-broderie-process-grid,
  .tc-catalog-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tc-about-story-grid,
  .tc-contact-grid,
  .tc-broderie-story-grid,
  .tc-config-layout,
  .tc-map-shell {
    grid-template-columns: 1fr;
  }

  .tc-map-panel {
    border-right: 0;
    border-bottom: 1px solid var(--tc-line, #e7e2df);
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .tc-about-stats-grid,
  .tc-timeline,
  .tc-broderie-process-grid,
  .tc-catalog-preview-grid {
    grid-template-columns: 1fr;
  }

  .tc-garment-picker,
  .tc-garment-picker--5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .tc-broderie-story {
    padding: 40px 0 32px;
  }

  .tc-map-canvas,
  .tc-map-canvas iframe {
    min-height: 320px;
  }

  .tc-contact-form-wrap {
  padding: 22px;
}

/* Contact — hartă */
.tc-map {
  padding: 0 0 72px;
  background: var(--tc-soft, #f7f3f0);
}

.tc-map-shell {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--tc-line, #e7e2df);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8, 9, 13, 0.08);
}

.tc-map-panel {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--tc-line, #e7e2df);
  background: #fff;
}

.tc-map-panel h2 {
  margin: 10px 0 16px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  color: var(--tc-black, #08090d);
}

.tc-map-address {
  margin: 0 0 10px;
  color: var(--tc-text, #1f2430);
  font-size: 1rem;
  line-height: 1.55;
}

.tc-map-hours {
  margin: 0 0 28px;
  color: var(--tc-muted, #687083);
  font-size: 0.95rem;
}

.tc-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tc-map-canvas {
  position: relative;
  min-height: 420px;
  background: #e8ecf1;
}

.tc-map-canvas iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

@media (max-width: 900px) {
  .tc-map-shell {
    grid-template-columns: 1fr;
  }

  .tc-map-panel {
    border-right: 0;
    border-bottom: 1px solid var(--tc-line, #e7e2df);
    padding: 28px 24px;
  }

  .tc-map-canvas {
    min-height: 360px;
  }

  .tc-map-canvas iframe {
    min-height: 360px;
  }
}
}

/* Floating actions */
.tc-float {
  z-index: 900;
}

/* Mobile nav focus */
.tc-mobile-nav.open {
  visibility: visible;
}

/* Fără linii decorative (accent AI) — global */
.tc-page-kicker::before,
.tc-craft-list li::before,
.tc-hero-body::before,
.tc-craft-photo::before,
.tc-svc-row::before,
.tc-steps::before,
.tc-mosaic-tile::after {
  content: none !important;
  display: none !important;
}

/* Product embroidery modal */
body.tc-modal-open {
  overflow: hidden;
}

.tc-emb-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.tc-emb-modal[hidden] {
  display: none !important;
}

.tc-emb-page-wrap {
  padding: 20px 0 36px;
}

.tc-emb-page-head {
  margin-bottom: 14px;
}

.tc-emb-page-head h1 {
  margin: 6px 0;
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.tc-emb-page-head p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.tc-emb-back-link {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
}

.tc-emb-shell--page {
  width: 100%;
  max-height: none;
  margin: 0;
}

.tc-emb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 13, 0.75);
}

.tc-emb-shell {
  position: relative;
  z-index: 2;
  width: min(1400px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.tc-emb-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
}

.tc-emb-main {
  min-height: 70vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.tc-emb-preview {
  padding: 36px 34px 26px;
  background: #f8fafc;
}

.tc-emb-style {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b7280;
}

.tc-emb-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.tc-emb-subtitle {
  margin: 10px 0 20px;
  color: #6b7280;
  font-size: 13px;
}

.tc-emb-canvas {
  position: relative;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tc-emb-canvas > img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.tc-emb-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tc-emb-logo-item {
  position: absolute;
  transform: translate(-50%, -50%);
  border: none;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  pointer-events: auto;
}

.tc-emb-logo-item.is-selected {
  border: 2px dashed rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--tc-red, #0b8796);
}

.tc-emb-logo-item img {
  width: 100%;
  display: block;
  pointer-events: none;
}

.tc-emb-positions {
  padding: 34px 22px;
  border-left: 1px solid #e5e7eb;
  background: #fff;
}

.tc-emb-positions h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.tc-emb-positions p {
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.tc-emb-pos-grid {
  display: grid;
  gap: 10px;
}

.tc-emb-pos-btn {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  text-align: left;
  padding: 11px 12px;
  cursor: pointer;
  display: grid;
  gap: 2px;
}

.tc-emb-pos-btn strong {
  font-size: 14px;
  line-height: 1.2;
}

.tc-emb-pos-btn span {
  font-size: 11px;
  color: #6b7280;
}

.tc-emb-pos-btn.has-logo {
  border-color: #10b981;
}

.tc-emb-pos-btn.is-active {
  border-color: var(--tc-red, #0b8796);
  box-shadow: inset 0 0 0 1px var(--tc-red, #0b8796);
}

.tc-emb-note {
  margin-top: 12px;
  font-size: 12px;
  color: #6b7280;
}

.tc-emb-drawer {
  border-left: 1px solid #e5e7eb;
  background: #fff;
  transform: translateX(100%);
  transition: transform .25s ease;
}

.tc-emb-drawer.is-open {
  transform: translateX(0);
}

.tc-emb-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 14px;
  border-bottom: 1px solid #e5e7eb;
}

.tc-emb-drawer-head h3 {
  margin: 0;
  font-size: 24px;
}

.tc-emb-drawer-close {
  border: none;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #111827;
}

.tc-emb-drawer-body {
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding: 14px 16px 22px;
}

.tc-emb-shell--page .tc-emb-drawer-body {
  max-height: 860px;
}

.tc-emb-color-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 14px;
  font-size: 13px;
}

.tc-emb-color-row--under-title {
  margin: 14px 0 0;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
}

.tc-emb-color-row--under-title .tc-emb-color-swatches {
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.tc-emb-color-row > span {
  color: #6b7280;
  min-width: 52px;
  flex-shrink: 0;
}

.tc-emb-color-row > strong {
  color: #111827;
  font-weight: 600;
  flex-shrink: 0;
}

.tc-emb-color-swatches {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tc-emb-color-row--under-title .tc-emb-color-dot {
  width: 34px;
  height: 34px;
}

.tc-emb-color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  cursor: pointer;
  background: #cbd5e1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.tc-emb-color-dot[data-image] {
  background-color: #fff;
}

.tc-emb-color-dot[data-color*="black"],
.tc-emb-color-dot[data-color*="blk"] { background: #111827; }
.tc-emb-color-dot[data-color*="white"],
.tc-emb-color-dot[data-color*="wht"] { background: #f3f4f6; }
.tc-emb-color-dot[data-color*="navy"] { background: #1e3a8a; }
.tc-emb-color-dot[data-color*="red"] { background: #0b8796; }
.tc-emb-color-dot[data-color*="burg"] { background: #7f1d1d; }
.tc-emb-color-dot[data-color*="green"] { background: #15803d; }
.tc-emb-color-dot[data-color*="grey"],
.tc-emb-color-dot[data-color*="gray"] { background: #6b7280; }

.tc-emb-color-dot.is-active::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--tc-red, #0b8796);
}

.tc-emb-placement-current {
  margin: 0 0 14px;
  font-size: 12px;
  color: #374151;
}

.tc-emb-upload-guidelines {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 12px;
}

.tc-emb-upload-guidelines p {
  margin: 0 0 6px;
}

.tc-emb-upload-guidelines ul {
  margin: 0;
  padding-left: 18px;
}

.tc-emb-logo-actions {
  display: grid;
  gap: 10px;
}

.tc-emb-logo-actions .tc-btn {
  width: 100%;
  justify-content: center;
}

.tc-emb-logo-actions .tc-btn-dark {
  background: #111827;
  color: #fff;
  border: none;
}

.tc-emb-logo-preview {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.tc-emb-logo-preview img {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
}

.tc-emb-option-group {
  margin: 14px 0 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 10px 8px;
}

.tc-emb-option-group legend {
  font-size: 12px;
  font-weight: 700;
  padding: 0 6px;
}

.tc-emb-option-group label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}

.tc-emb-continue {
  margin-top: 14px;
  width: 100%;
}

.tc-emb-saved-list {
  margin-top: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px;
  max-height: 250px;
  overflow: auto;
}

.tc-emb-saved-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tc-emb-saved-item {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  padding: 6px;
  cursor: pointer;
  display: grid;
  gap: 4px;
}

.tc-emb-saved-item img {
  width: 100%;
  height: 70px;
  object-fit: contain;
}

.tc-emb-saved-item span {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1180px) {
  .tc-emb-shell,
  .tc-emb-main {
    grid-template-columns: 1fr;
  }

  .tc-emb-preview {
    padding: 22px 18px 18px;
  }

  .tc-emb-canvas {
    min-height: 420px;
  }

  .tc-emb-canvas > img {
    max-height: 420px;
  }

  .tc-emb-positions {
    border-left: none;
    border-top: 1px solid #e5e7eb;
  }

  .tc-emb-drawer {
    border-left: none;
    border-top: 1px solid #e5e7eb;
    transform: translateY(100%);
  }

  .tc-emb-drawer.is-open {
    transform: translateY(0);
  }
}

/* Embroidery configurator — immersive full-screen */
body.tc-emb-immersive-page .tc-main {
  padding: 0;
}

body.tc-emb-immersive-page .tc-breadcrumb,
body.tc-emb-immersive-page .tc-page-hero {
  display: none;
}

body.tc-emb-immersive-page {
  --tc-emb-header-offset: 72px;
  --tc-emb-sidebar-width: 360px;
  overflow-x: hidden;
}

body.admin-bar.tc-emb-immersive-page {
  --tc-emb-header-offset: 104px;
}

@media (max-width: 782px) {
  body.admin-bar.tc-emb-immersive-page {
    --tc-emb-header-offset: 118px;
  }
}

#tc-emb-page.tc-emb-layout-split {
  --tc-emb-header-offset: 72px;
  --tc-emb-sidebar-width: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-template-rows: 1fr;
  height: calc(100svh - var(--tc-emb-header-offset));
  max-height: calc(100svh - var(--tc-emb-header-offset));
  overflow: hidden;
  background: #eef1f5;
}

.tc-emb-workspace {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.tc-emb-stage-head {
  padding: 14px 20px 10px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.tc-emb-stage-head-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.tc-emb-stage-meta {
  min-width: 0;
}

.tc-emb-stage-meta .tc-emb-title {
  font-size: clamp(1.15rem, 2.2vw, 1.85rem);
  margin: 0;
}

.tc-emb-stage-body {
  flex: 1;
  display: flex;
  min-height: 0;
  padding: 12px;
  overflow: hidden;
}

.tc-emb-canvas--full {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 0;
  border-radius: 14px;
  border: 1px solid #dbe0e8;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tc-emb-product-frame {
  position: relative;
  display: inline-block;
  max-width: calc(100% - 24px);
  max-height: 100%;
  line-height: 0;
}

.tc-emb-product-frame > img {
  display: block;
  max-width: 100%;
  max-height: calc(100svh - var(--tc-emb-header-offset) - 170px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.tc-emb-product-frame .tc-emb-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tc-emb-product-frame .tc-emb-logo-item {
  pointer-events: auto;
}

.tc-emb-stage-hint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e5e7eb;
  font-size: 12px;
  color: #4b5563;
  text-align: center;
  max-width: calc(100% - 32px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  pointer-events: none;
}

.tc-emb-sidebar {
  width: 360px;
  max-width: 360px;
  height: 100%;
  background: #fff;
  border-left: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
  transform: none !important;
  position: relative;
  top: auto;
  right: auto;
}

.tc-emb-sidebar-head {
  padding: 18px 18px 12px;
  border-bottom: 1px solid #e5e7eb;
}

.tc-emb-sidebar-head h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.tc-emb-sidebar-head p {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

.tc-emb-sidebar-body {
  flex: 1;
  overflow: auto;
  padding: 16px 18px 22px;
}

.tc-emb-size-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
}

.tc-emb-size-control label {
  grid-column: 1 / -1;
  font-size: 13px;
  font-weight: 700;
}

.tc-emb-size-control input[type="range"] {
  width: 100%;
}

.tc-emb-size-control span {
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  min-width: 36px;
  text-align: right;
}

.tc-emb-logo-item.is-draggable {
  cursor: grab;
  touch-action: none;
}

.tc-emb-logo-item.is-draggable.is-dragging,
.tc-emb-logo-item.is-draggable.is-resizing {
  cursor: grabbing;
  z-index: 4;
}

.tc-emb-resize-handle {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--tc-red, #0b8796);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  cursor: nwse-resize;
  touch-action: none;
  display: none;
}

.tc-emb-logo-item.is-selected .tc-emb-resize-handle {
  display: block;
}

.tc-emb-sidebar-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.tc-emb-save-note {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #6b7280;
}

@media (max-width: 1100px) {
  #tc-emb-page.tc-emb-layout-split {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .tc-emb-sidebar {
    width: 320px;
    max-width: 320px;
  }
}

@media (max-width: 639px) {
  #tc-emb-page.tc-emb-layout-split {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .tc-emb-workspace {
    height: auto;
    min-height: 52svh;
  }

  .tc-emb-sidebar {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    border-left: 0;
    border-top: 1px solid #e5e7eb;
  }

  .tc-emb-canvas--full {
    min-height: 46svh;
  }

  .tc-emb-product-frame > img {
    max-height: calc(46svh - 24px);
  }
}

@media (max-width: 767px) {
  .tc-emb-stage-head {
    padding: 12px 14px 8px;
  }

  .tc-emb-stage-head-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .tc-emb-color-row--under-title {
    gap: 8px;
  }

  .tc-emb-color-row--under-title .tc-emb-color-dot {
    width: 30px;
    height: 30px;
  }

  .tc-emb-stage-body {
    padding: 8px;
  }

  .tc-emb-canvas--full {
    min-height: 48svh;
    border-radius: 10px;
  }

  .tc-emb-product-frame,
  .tc-emb-product-frame > img {
    max-height: calc(48svh - 36px);
  }

  .tc-emb-stage-hint {
    font-size: 11px;
    bottom: 10px;
    padding: 7px 12px;
  }

  .tc-emb-sidebar-head,
  .tc-emb-sidebar-body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .tc-emb-sidebar-body {
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }
}

/* GPay / Link — doar la checkout, nu pe pagina produs */
body.tc-is-product .tc-product-buy #wc-stripe-payment-request-wrapper,
body.tc-is-product .tc-product-buy #wc-stripe-payment-request-button,
body.tc-is-product .tc-product-buy #wc-stripe-payment-request-button-separator,
body.tc-is-product .tc-product-buy .wc-stripe-payment-request-button-separator,
body.tc-is-product .tc-product-buy #payment-request-button,
body.tc-is-product .tc-product-buy .wcpay-payment-request-wrapper,
body.tc-is-product .tc-product-buy .wcpay-express-checkout-element,
body.tc-is-product .tc-product-buy stripe-buy-button,
body.tc-is-product .tc-product-buy [class*="payment-request"],
body.tc-is-product .tc-product-buy [id*="payment-request"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
