/* Yazbek: estilos exclusivos de esta página. */
.yp-page {
  --yp-navy: var(--ink);
  --yp-muted: var(--text-muted);
  --yp-orange: var(--thread);
  --yp-green: var(--whatsapp);
  color: var(--yp-navy);
}

.yp-page .yp-skip {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 1001;
  padding: 12px 18px;
  background: var(--yp-navy);
  color: var(--white);
  transform: translateY(-160%);
}

.yp-page .yp-skip:focus {
  transform: translateY(0);
}

.tep-yazbek .yp-wrap {
  width: min(100% - 64px, 1180px);
  margin-inline: auto;
}

.tep-yazbek section {
  padding: 0;
}

.tep-yazbek :is([id], .yp-product) {
  scroll-margin-top: 110px;
}

.tep-yazbek h2 {
  font-size: clamp(1.8rem, 3.3vw, 2.75rem);
  letter-spacing: -0.045em;
}

.tep-yazbek .yp-hero {
  padding-block: 30px 25px;
  background: linear-gradient(125deg, #fffaf6, #fff 58%);
}

.tep-yazbek .yp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: center;
  gap: 46px;
}

.tep-yazbek .yp-breadcrumb {
  margin-bottom: 18px;
  color: var(--thread-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tep-yazbek .yp-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tep-yazbek .yp-breadcrumb li + li::before {
  content: '/';
  padding-right: 12px;
}

.tep-yazbek .yp-breadcrumb a:hover {
  text-decoration: underline;
}

.tep-yazbek .yp-brand {
  display: grid;
  place-items: center;
  width: 102px;
  height: 80px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.tep-yazbek .yp-brand img {
  width: 70px;
  height: 54px;
  object-fit: contain;
}

.tep-yazbek h1 {
  max-width: 750px;
  font-size: clamp(2.4rem, 4.2vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.tep-yazbek .yp-lead {
  margin-top: 20px;
  color: var(--yp-muted);
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  line-height: 1.35;
}

.tep-yazbek .yp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.tep-yazbek .yp-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  transition: background-color 150ms ease;
}

.tep-yazbek .yp-button svg,
.tep-yazbek .yp-secondary-contact svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.tep-yazbek .yp-button-green {
  background: var(--yp-green);
  color: var(--white);
}

.tep-yazbek .yp-button-green:hover {
  background: var(--whatsapp-dark);
}

.tep-yazbek .yp-button-outline {
  min-width: 190px;
  color: var(--yp-navy);
  border-color: var(--yp-navy);
}

.tep-yazbek .yp-button-outline:hover {
  background: var(--yp-navy);
  color: var(--white);
}

.tep-yazbek .yp-hero-photo {
  width: 100%;
  height: 438px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center 22%;
}

.tep-yazbek .yp-jump {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 6px;
}

.tep-yazbek .yp-jump a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 8px;
  border-bottom: 2px solid transparent;
  font-size: 0.94rem;
  font-weight: 600;
}

.tep-yazbek .yp-jump a + a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  width: 1px;
  height: 50%;
  background: #ccd3df;
}

.tep-yazbek .yp-jump a[aria-current="location"],
.tep-yazbek .yp-jump a[aria-selected="true"] {
  color: var(--thread-ui);
  border-bottom-color: var(--yp-orange);
  font-weight: 800;
}

.tep-yazbek .yp-jump a:hover {
  background: #fff8f1;
}

.tep-yazbek .yp-jump svg,
.tep-yazbek .yp-catalog-help > svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.tep-yazbek .yp-catalog {
  background: #fcf9f5;
}

.tep-yazbek .yp-family {
  padding-block: 36px;
}

.tep-yazbek .yp-family[hidden] {
  display: none;
}

.tep-yazbek .yp-catalog > .yp-wrap {
  padding-bottom: 30px;
}

.tep-yazbek .yp-family-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
}

.tep-yazbek .yp-fabric {
  margin-top: 8px;
  color: var(--yp-muted);
  font-size: 1rem;
}

.tep-yazbek .yp-family-intro {
  max-width: 55ch;
  padding-bottom: 4px;
  color: var(--yp-muted);
  line-height: 1.55;
}

/* Each article owns its photo and description, even when the desktop grid
   places the photos together on the left and descriptions on the right. */
.tep-yazbek .yp-family-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2.3fr);
  grid-template-rows: auto auto;
  gap: 16px 10px;
}

.tep-yazbek .yp-product {
  display: contents;
}

.tep-yazbek .yp-product-photo {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: start;
  width: 100%;
  height: clamp(350px, 32vw, 400px);
  border-radius: 9px;
  object-fit: cover;
  object-position: center top;
}

.tep-yazbek .yp-product:nth-child(2) .yp-product-photo {
  grid-column: 2;
}

.tep-yazbek .yp-variant {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  margin-left: 14px;
  padding: 19px 24px;
  border: 1px solid #ece9e5;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 1px 3px #08234d04;
}

.tep-yazbek .yp-product:nth-child(2) .yp-variant {
  grid-row: 2;
}

.tep-yazbek .yp-model-label {
  margin-bottom: 3px;
  color: var(--yp-muted);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tep-yazbek .yp-variant h3 {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.tep-yazbek .yp-size {
  margin-top: 4px;
  color: var(--yp-muted);
  font-size: 0.87rem;
}

.tep-yazbek .yp-variant-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid #e6e9ef;
}

.tep-yazbek .yp-colors {
  flex: 1 1 185px;
  min-width: 0;
}

.tep-yazbek summary {
  cursor: pointer;
}

.tep-yazbek .yp-colors summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  font-size: 0.84rem;
  list-style: none;
}

.tep-yazbek summary::-webkit-details-marker {
  display: none;
}

.tep-yazbek .yp-colors summary::after {
  content: '';
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.tep-yazbek .yp-colors[open] summary::after {
  transform: rotate(225deg);
}

.tep-yazbek .yp-colors ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 6px 0 10px;
  padding: 0;
  list-style: none;
}

.tep-yazbek .yp-colors li {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 0.73rem;
}

.tep-yazbek .yp-colors p {
  margin-bottom: 10px;
  color: var(--yp-muted);
  font-size: 0.75rem;
}

.tep-yazbek .yp-model-cta {
  flex: 0 1 auto;
  min-height: 44px;
  padding: 9px 14px;
  font-size: 0.71rem;
  white-space: nowrap;
}

.tep-yazbek .yp-model-cta svg {
  width: 19px;
  height: 19px;
}

@media (min-width: 721px) {
  .tep-yazbek .yp-variant-actions {
    --yp-quote-width: 156px;
    position: relative;
    display: block;
  }

  .tep-yazbek .yp-colors summary {
    margin-right: calc(var(--yp-quote-width) + 12px);
  }

  .tep-yazbek .yp-model-cta {
    position: absolute;
    top: 9px;
    right: 0;
    width: var(--yp-quote-width);
  }
}

.tep-yazbek .yp-stock {
  margin-top: 12px;
  padding-left: calc(47% + 10px);
  color: var(--yp-muted);
  font-size: 0.77rem;
}

.tep-yazbek .yp-related {
  margin-top: 8px;
  color: var(--yp-muted);
  font-size: 0.8rem;
}

.tep-yazbek .yp-catalog-help {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: 8px;
  background: #f8eee2;
}

.tep-yazbek .yp-catalog-help > svg {
  color: var(--thread-ui);
}

.tep-yazbek .yp-catalog-help > div {
  flex: 1;
}

.tep-yazbek .yp-catalog-help h3 {
  font-size: 1.25rem;
}

.tep-yazbek .yp-catalog-help p {
  margin-top: 4px;
  color: var(--yp-muted);
  font-size: 0.8rem;
}

.tep-yazbek .yp-catalog-help .yp-button {
  flex-shrink: 0;
  font-size: 0.7rem;
}

.tep-yazbek .yp-personalize,
.tep-yazbek .yp-faq {
  padding-block: 64px;
}

.tep-yazbek .yp-personalize {
  border-bottom: 1px solid var(--line);
}

.tep-yazbek :is(.yp-personalize-grid, .yp-faq-grid, .yp-contact-grid) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
}

.tep-yazbek .yp-eyebrow {
  margin-bottom: 12px;
  color: var(--thread-ui);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.tep-yazbek .yp-personalize p:not(.yp-eyebrow) {
  color: var(--yp-muted);
}

.tep-yazbek .yp-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  gap: 12px;
  font-size: 0.87rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tep-yazbek .yp-faq-items details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.tep-yazbek .yp-faq-items details:first-child {
  border-top: 1px solid var(--line);
}

.tep-yazbek .yp-faq-items summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  font-weight: 600;
  list-style: none;
}

.tep-yazbek .yp-faq-items summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
}

.tep-yazbek .yp-faq-items details[open] summary::after {
  content: '−';
}

.tep-yazbek .yp-faq-items p {
  padding-top: 12px;
  color: var(--yp-muted);
  font-size: 0.9rem;
}

.tep-yazbek .yp-contact {
  padding-block: 60px;
  background: var(--ink);
  color: var(--white);
}

.tep-yazbek .yp-contact h2 {
  max-width: 15ch;
}

.tep-yazbek .yp-contact .yp-eyebrow {
  color: #ffb36d;
}

.tep-yazbek .yp-contact-grid > div > p:not(.yp-eyebrow) {
  max-width: 43ch;
  margin-block: 18px 24px;
  color: #dae3ec;
}

.tep-yazbek .yp-phone {
  display: block;
  width: fit-content;
  min-height: 44px;
  margin-top: 12px;
  padding-block: 12px;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tep-yazbek .yp-contact-card {
  padding: 26px 30px;
  border: 1px solid #ffffff30;
  border-radius: 10px;
  background: #ffffff06;
}

.tep-yazbek .yp-contact-card h3 {
  font-size: 1.15rem;
}

.tep-yazbek .yp-contact-card ol {
  margin-block: 18px;
  padding-left: 22px;
  color: #dae3ec;
}

.tep-yazbek .yp-contact-card li {
  padding-block: 3px;
  padding-left: 4px;
}

.tep-yazbek .yp-contact-card p {
  font-size: 0.82rem;
  line-height: 1.7;
}

.tep-yazbek .yp-secondary-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 721px) and (max-width: 1050px) {
  .tep-yazbek .yp-hero-grid {
    gap: 24px;
  }

  .tep-yazbek .yp-hero-photo {
    height: 410px;
  }

  .tep-yazbek .yp-variant {
    padding: 15px;
  }

  .tep-yazbek .yp-catalog-help {
    flex-wrap: wrap;
    gap: 16px;
  }

  .tep-yazbek .yp-catalog-help .yp-button {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .tep-yazbek .yp-wrap {
    width: calc(100% - 36px);
  }

  .tep-yazbek :is([id], .yp-product) {
    scroll-margin-top: 94px;
  }

  .tep-yazbek .yp-hero {
    padding-block: 22px 8px;
  }

  .tep-yazbek .yp-hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tep-yazbek .yp-breadcrumb {
    margin-bottom: 13px;
    font-size: 0.63rem;
  }

  .tep-yazbek .yp-breadcrumb ol {
    gap: 6px;
  }

  .tep-yazbek .yp-breadcrumb li + li::before {
    padding-right: 6px;
  }

  .tep-yazbek .yp-brand {
    width: 84px;
    height: 66px;
    margin-bottom: 12px;
  }

  .tep-yazbek .yp-brand img {
    width: 58px;
    height: 45px;
  }

  .tep-yazbek h1 {
    max-width: 17ch;
    font-size: clamp(1.9rem, 7.5vw, 2.7rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
  }

  .tep-yazbek .yp-lead {
    margin-top: 12px;
    font-size: 0.98rem;
  }

  .tep-yazbek .yp-actions {
    display: grid;
    gap: 9px;
    margin-top: 18px;
  }

  .tep-yazbek .yp-button {
    min-height: 46px;
    padding: 11px 13px;
    font-size: 0.7rem;
  }

  .tep-yazbek .yp-hero-photo {
    height: clamp(150px, 48vw, 245px);
    border-radius: 7px;
    object-position: center 15%;
  }

  .tep-yazbek .yp-jump {
    margin-top: 0;
  }

  .tep-yazbek .yp-jump a {
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    min-height: 84px;
    padding: 12px 4px 9px;
    font-size: 0.65rem;
    line-height: 1.1;
    text-align: center;
  }

  .tep-yazbek .yp-jump svg {
    width: 29px;
    height: 29px;
  }

  .tep-yazbek .yp-jump a:first-child span,
  .tep-yazbek .yp-jump a:nth-child(3) span {
    max-width: 6ch;
  }

  .tep-yazbek .yp-family {
    padding-block: 26px;
  }

  .tep-yazbek .yp-family-head {
    display: block;
    margin-bottom: 14px;
  }

  .tep-yazbek h2 {
    font-size: 1.85rem;
  }

  .tep-yazbek .yp-fabric {
    margin-top: 5px;
    font-size: 0.79rem;
  }

  .tep-yazbek .yp-family-intro {
    display: none;
  }

  .tep-yazbek .yp-family-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tep-yazbek .yp-product {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 12px;
    padding: 10px;
    border: 1px solid #ece9e5;
    border-radius: 10px;
    background: var(--white);
  }

  .tep-yazbek .yp-product .yp-product-photo {
    grid-column: auto;
    grid-row: auto;
    align-self: stretch;
    height: 100%;
    min-height: 188px;
    max-height: 280px;
    border-radius: 5px;
    object-position: center top;
  }

  .tep-yazbek .yp-product .yp-variant {
    grid-column: auto;
    grid-row: auto;
    align-self: center;
    margin: 0;
    padding: 3px 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .tep-yazbek .yp-product:nth-child(2) .yp-product-photo,
  .tep-yazbek .yp-product:nth-child(2) .yp-variant {
    grid-column: auto;
    grid-row: auto;
  }

  .tep-yazbek .yp-model-label {
    margin-bottom: 3px;
    font-size: 0.61rem;
  }

  .tep-yazbek .yp-variant h3 {
    font-size: 1rem;
    line-height: 1.2;
  }

  .tep-yazbek .yp-model-code {
    display: block;
    margin-bottom: 3px;
    font-size: 0.74rem;
  }

  .tep-yazbek .yp-model-divider {
    display: none;
  }

  .tep-yazbek .yp-size {
    font-size: 0.68rem;
  }

  .tep-yazbek .yp-variant-actions {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
    padding-top: 2px;
  }

  .tep-yazbek .yp-colors {
    flex: 0 1 auto;
    width: 100%;
  }

  .tep-yazbek .yp-colors summary {
    gap: 5px;
    font-size: 0.63rem;
    line-height: 1.25;
  }

  .tep-yazbek .yp-colors li,
  .tep-yazbek .yp-colors p {
    font-size: 0.65rem;
  }

  .tep-yazbek .yp-model-cta {
    width: 100%;
    min-height: 44px;
    padding: 8px 5px;
    gap: 5px;
    font-size: 0.62rem;
  }

  .tep-yazbek .yp-model-cta svg {
    width: 16px;
    height: 16px;
  }

  .tep-yazbek .yp-stock {
    padding-left: 0;
    font-size: 0.71rem;
  }

  .tep-yazbek .yp-related {
    font-size: 0.74rem;
  }

  .tep-yazbek .yp-catalog-help {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    margin-top: 20px;
  }

  .tep-yazbek .yp-catalog-help > svg {
    width: 30px;
    height: 30px;
  }

  .tep-yazbek .yp-catalog-help h3 {
    font-size: 1.1rem;
  }

  .tep-yazbek .yp-catalog-help .yp-button {
    grid-column: 1 / -1;
    width: 100%;
    font-size: 0.67rem;
  }

  .tep-yazbek :is(.yp-personalize-grid, .yp-faq-grid, .yp-contact-grid) {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tep-yazbek :is(.yp-personalize, .yp-faq, .yp-contact) {
    padding-block: 36px;
  }

  .tep-yazbek .yp-personalize p:not(.yp-eyebrow),
  .tep-yazbek .yp-faq-items summary {
    font-size: 0.9rem;
  }

  .tep-yazbek .yp-contact-card {
    padding: 22px 20px;
  }

  .tep-yazbek .yp-contact .yp-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tep-yazbek .yp-button {
    transition: none;
  }
}

.yp-page tep-yazbek-catalog {
  display: block;
}

.yp-page .contact-bar a {
  min-height: 44px;
}

@media (max-width: 920px) {
  .yp-page site-header {
    min-height: 85px;
  }

  .yp-page .header-row {
    min-height: 84px;
    padding: 10px 18px;
  }

  .yp-page .logo img {
    height: 64px;
  }

  .yp-page .header-actions .btn-whatsapp {
    display: none;
  }

  .yp-page .menu-toggle {
    width: 44px;
    min-height: 44px;
  }

  .yp-page .mobile-drawer {
    top: 85px;
    max-height: calc(100dvh - 165px);
    overflow-y: auto;
  }

  .yp-page .mobile-drawer a {
    min-height: 44px;
  }
}
