@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Roboto:wght@400;500;600;700&display=swap");

/* Trinidad Premium visual layer.
 * The Elementor identifiers below belong to the shared Granadiet header/home
 * copied into shop 2. Keeping the adaptations here makes them exclusive to
 * the Trinidad child theme and easy to rebase when the sibling theme changes.
 */

html:root {
  --palette1: #ed6a26 !important;
  --palette2: #000000 !important;
  --palette3: #18181b !important;
  --palette4: #c0c0c7 !important;
  --palette5: #a4a4aa !important;
  --palette6: #85858d !important;
  --palette7: #242428 !important;
  --palette8: #18181b !important;
  --palette9: #ffffff !important;
  --palette10: #ed6a26 !important;
  --palette11: #000000 !important;
  --body-font-family: "Roboto", sans-serif !important;
  --heading-font-family: "Playfair Display", serif !important;
  --body-letter-spacing: 0 !important;
  --heading-text-transform: none !important;
  --heading-weight: 500 !important;
  --color-border: #3a3a40 !important;
}

body {
  font-family: var(--body-font-family) !important;
}

body:not(#checkout),
body:not(#checkout) #wrapper,
body:not(#checkout).layout-modern #wrapper {
  background: #18181b !important;
  color: #c0c0c7;
}

body:not(#checkout) h1,
body:not(#checkout) h2,
body:not(#checkout) h3,
body:not(#checkout) h4,
body:not(#checkout) h5,
body:not(#checkout) h6,
body:not(#checkout) .h1,
body:not(#checkout) .h2,
body:not(#checkout) .h3,
body:not(#checkout) .h4,
body:not(#checkout) .h5,
body:not(#checkout) .h6 {
  color: #ffffff;
  font-family: var(--heading-font-family) !important;
  font-weight: 500;
  text-transform: none;
}

/* Header and compact Trinidad lock-up. */
#header,
#header #header-normal,
#header .elementor-section,
#header .elementor-container,
#header .elementor-column-wrap,
#header .elementor-widget-wrap {
  background-color: #000000 !important;
}

#header {
  border-bottom: 1px solid #28282d;
  color: #ffffff;
}

#header .elementor-element-2e2a333 {
  border-bottom: 1px solid #252529;
}

#header a,
#header .elementor-icon-list-text,
#header .elementor-icon-list-icon,
#header .elementor-button,
#header .elementor-button-icon,
#header .elementor-button-text,
#header .elementor-account,
#header .elementor-cart__toggle,
#header .elementor-wish {
  color: #ffffff !important;
}

#header a:hover,
#header a:focus,
#header .elementor-icon-list-item:first-child a,
#header .elementor-icon-list-item:first-child i {
  color: #ed6a26 !important;
}

#header .elementor-element-432b353 .elementor-button {
  background: #ed6a26 !important;
  border: 1px solid #ed6a26 !important;
  color: #ffffff !important;
}

#header .elementor-element-432b353 .elementor-button:hover,
#header .elementor-element-432b353 .elementor-button:focus {
  background: #f27c42 !important;
  border-color: #f27c42 !important;
}

#header .elementor-element-30f6efc,
#header .elementor-element-e2405d6,
#header .elementor-element-7c696db {
  display: none !important;
}

#header .elementor-element-314dc32 {
  flex: 0 0 36% !important;
  max-width: 36% !important;
  width: 36% !important;
}

#header .elementor-element-c548e8e {
  flex: 0 0 64% !important;
  max-width: 64% !important;
  width: 64% !important;
}

#header .elementor-element-63abfc3 .elementor-image a {
  align-items: center;
  display: inline-flex !important;
  gap: 16px;
  min-height: 88px;
  text-decoration: none;
}

#header .elementor-element-63abfc3 .elementor-image a::before {
  background: url("../img/trinidad/trinidad-premium-logo.svg") center / contain no-repeat;
  content: "";
  display: block;
  flex: 0 0 78px;
  height: 78px;
  width: 78px;
}

#header .elementor-element-63abfc3 .elementor-image a::after {
  color: #ffffff;
  content: "Trinidad Premium";
  font-family: var(--heading-font-family);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

#header .elementor-element-63abfc3 img {
  display: none !important;
}

#header input[type="search"],
#header input[type="text"],
#header .searchbox {
  background: #18181b !important;
  border-color: #3a3a40 !important;
  color: #ffffff !important;
}

#header input::placeholder {
  color: #96969e !important;
  opacity: 1;
}

/* Shared components on the dark Trinidad surface. */
.btn-primary,
button.btn-primary,
input.btn-primary,
.product-actions .add-to-cart,
.cart-content-btn .btn-primary {
  background-color: #ed6a26 !important;
  border-color: #ed6a26 !important;
  color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
button.btn-primary:hover,
button.btn-primary:focus,
.product-actions .add-to-cart:hover,
.product-actions .add-to-cart:focus {
  background-color: #f27c42 !important;
  border-color: #f27c42 !important;
  color: #ffffff !important;
}

body:not(#checkout) .card,
body:not(#checkout) .card-block,
body:not(#checkout) .block-categories,
body:not(#checkout) #search_filters,
body:not(#checkout) #search_filters_brands,
body:not(#checkout) #search_filters_suppliers,
body:not(#checkout) .tabs,
body:not(#checkout) .product-comment-list-item {
  background: #242428 !important;
  border-color: #3a3a40 !important;
  color: #c0c0c7;
}

body:not(#checkout) .block-categories a,
body:not(#checkout) .block-categories .category-sub-menu a,
body:not(#checkout) #search_filters .facet-title,
body:not(#checkout) #search_filters label,
body:not(#checkout) #search_filters a,
body:not(#checkout) #search_filters_brands a,
body:not(#checkout) #search_filters_suppliers a {
  color: #c0c0c7 !important;
}

body:not(#checkout) .block-categories a:hover,
body:not(#checkout) .block-categories a:focus,
body:not(#checkout) #search_filters a:hover,
body:not(#checkout) #search_filters a:focus {
  color: #ed6a26 !important;
}

body:not(#checkout) .product-miniature .thumbnail-container,
body:not(#checkout) .product-miniature .product-description,
body:not(#checkout) .product-miniature .product-description-short,
body:not(#checkout) .product-miniature .product-meta {
  background: #242428 !important;
  border-color: #3a3a40 !important;
}

body:not(#checkout) .product-miniature .product-title,
body:not(#checkout) .product-miniature .product-title a,
body:not(#checkout) .product-miniature .product-name,
body:not(#checkout) .product-miniature .product-name a {
  color: #ffffff !important;
  font-family: var(--heading-font-family) !important;
  font-weight: 500;
}

body:not(#checkout) .product-miniature .price,
body:not(#checkout) .product-miniature .product-price-and-shipping,
body:not(#checkout) .current-price,
body:not(#checkout) .product-price {
  color: #ed6a26 !important;
}

body:not(#checkout) .product-miniature img,
body:not(#checkout) .images-container .product-cover img,
body:not(#checkout) .subcategory-image a {
  background-color: #f2f0eb !important;
}

body:not(#checkout) .product-information,
body:not(#checkout) .product-description,
body:not(#checkout) .product-description p,
body:not(#checkout) .product-features,
body:not(#checkout) .product-features dt,
body:not(#checkout) .product-features dd,
body:not(#checkout) .product-additional-info,
body:not(#checkout) .tax-shipping-delivery-label,
body:not(#checkout) .blockreassurance_product,
body:not(#checkout) .blockreassurance_product .content,
body:not(#checkout) .blockreassurance_product .block-title,
body:not(#checkout) .blockreassurance_product p {
  color: #c0c0c7 !important;
}

body:not(#checkout) .tabs .nav-tabs .nav-link {
  color: #c0c0c7 !important;
}

body:not(#checkout) .tabs .nav-tabs .nav-link.active,
body:not(#checkout) .tabs .nav-tabs .nav-link:hover,
body:not(#checkout) .tabs .nav-tabs .nav-link:focus {
  color: #ed6a26 !important;
}

body:not(#checkout) input,
body:not(#checkout) textarea,
body:not(#checkout) select,
body:not(#checkout) .form-control {
  background-color: #242428;
  border-color: #3a3a40;
  color: #ffffff;
}

body:not(#checkout) a:not(.btn):hover,
body:not(#checkout) a:not(.btn):focus {
  color: #ed6a26;
}

#hero_section.hero-section {
  background-color: #111114 !important;
  background-image: none !important;
  border-bottom: 1px solid #2f2f34;
}

/* The copied home currently contains Granadiet-specific campaigns. Keep the
 * Trinidad catalogue visible while its own editorial landing is prepared. */
body#index .elementor-element-094d020,
body#index .elementor-element-2452086,
body#index .elementor-element-42a88fe,
body#index .elementor-element-85e8554,
body#index .elementor-element-01b9608,
body#index .elementor-element-8dd73f6,
body#index .elementor-element-ef9ebb8,
body#index .elementor-element-58be8a8 {
  display: none !important;
}

body#index .elementor-element-9828fe7 {
  background: #18181b !important;
  padding-bottom: 72px;
  padding-top: 72px;
}

body#index .elementor-element-9828fe7 > .elementor-container {
  background: transparent !important;
}

body#index .elementor-element-9828fe7 .elementor-heading-title,
body#index .elementor-element-9828fe7 .products-section-title,
body#index .elementor-element-9828fe7 h2 {
  color: #ffffff !important;
  font-family: var(--heading-font-family) !important;
}

/* Versioned Trinidad landing, built from the public trinidadpremium.es
 * editorial material. Links are resolved at runtime against shop 2 so the
 * landing never depends on WordPress category URLs. */
body#index #wrapper {
  padding-top: 0;
}

.trinidad-home {
  background: #18181b;
  color: #c0c0c7;
  overflow: hidden;
}

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

.trinidad-home__intro {
  padding: clamp(48px, 7vw, 92px) 24px clamp(32px, 4vw, 54px);
  text-align: center;
}

.trinidad-home__eyebrow {
  color: #ed6a26;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.trinidad-home__intro h1,
.trinidad-home__section-title {
  color: #ffffff;
  font-family: var(--heading-font-family) !important;
  font-weight: 500;
  margin: 0;
}

.trinidad-home__intro h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
}

.trinidad-home__carousel {
  background: #0a0a0c;
  min-height: clamp(420px, 47vw, 680px);
  overflow: hidden;
  position: relative;
}

.trinidad-home__slides {
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
}

.trinidad-home__slide {
  align-items: flex-end;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.18) 100%), var(--trinidad-hero-image);
  background-position: center;
  background-size: cover;
  display: flex;
  inset: 0;
  opacity: 0;
  padding: clamp(32px, 6vw, 84px);
  pointer-events: none;
  position: absolute;
  transform: scale(1.025);
  transition: opacity 650ms ease, transform 7s ease;
  visibility: hidden;
}

.trinidad-home__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  visibility: visible;
}

.trinidad-home__slide-content {
  max-width: 570px;
  padding-bottom: 32px;
  position: relative;
  z-index: 1;
}

.trinidad-home__slide h2 {
  color: #ffffff;
  font-family: var(--heading-font-family) !important;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  margin: 0 0 12px;
}

.trinidad-home__slide p {
  color: #f2f0eb;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  margin: 0 0 26px;
  max-width: 520px;
}

.trinidad-home__button {
  align-items: center;
  background: #ed6a26;
  border: 1px solid #ed6a26;
  color: #ffffff !important;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 48px;
  padding: 0 27px;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.trinidad-home__button:hover,
.trinidad-home__button:focus {
  background: #ffffff;
  border-color: #ffffff;
  color: #18181b !important;
}

.trinidad-home__arrow {
  align-items: center;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  font-size: 28px;
  height: 48px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 3px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  z-index: 3;
}

.trinidad-home__arrow:hover,
.trinidad-home__arrow:focus {
  background: #ed6a26;
  border-color: #ed6a26;
}

.trinidad-home__arrow--prev {
  left: 20px;
}

.trinidad-home__arrow--next {
  right: 20px;
}

.trinidad-home__dots {
  bottom: 20px;
  display: flex;
  gap: 9px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 3;
}

.trinidad-home__dot {
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  border-radius: 50%;
  height: 9px;
  padding: 0;
  transition: background-color 180ms ease, transform 180ms ease;
  width: 9px;
}

.trinidad-home__dot.is-active {
  background: #ed6a26;
  transform: scale(1.45);
}

.trinidad-home__categories,
.trinidad-home__story,
.trinidad-home__mission,
.trinidad-home__contact {
  margin: 0 auto;
  max-width: 1320px;
  padding-left: 24px;
  padding-right: 24px;
}

.trinidad-home__categories {
  padding-bottom: clamp(66px, 8vw, 108px);
  padding-top: clamp(66px, 8vw, 108px);
  text-align: center;
}

.trinidad-home__section-title {
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.15;
}

.trinidad-home__section-copy {
  color: #a9a9b0;
  font-size: 17px;
  line-height: 1.7;
  margin: 16px auto 0;
  max-width: 720px;
}

.trinidad-home__category-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 48px;
}

.trinidad-home__category {
  align-items: center;
  background: #202024;
  border: 1px solid #303036;
  color: #ffffff !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 190px;
  padding: 24px 14px 20px;
  text-decoration: none !important;
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.trinidad-home__category:hover,
.trinidad-home__category:focus {
  background: #242428;
  border-color: #ed6a26;
  color: #ffffff !important;
  transform: translateY(-3px);
}

.trinidad-home__category img {
  display: block;
  height: 82px;
  margin-bottom: 15px;
  object-fit: contain;
  width: 82px;
}

.trinidad-home__category span {
  font-family: var(--heading-font-family);
  font-size: 19px;
  line-height: 1.25;
}

.trinidad-home__story-wrap {
  background: #111114;
  border-bottom: 1px solid #2f2f34;
  border-top: 1px solid #2f2f34;
}

.trinidad-home__story {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 1440px;
  padding: 0;
}

.trinidad-home__story-image {
  background-position: center;
  background-size: cover;
  min-height: 560px;
}

.trinidad-home__story-content {
  align-self: center;
  padding: clamp(48px, 7vw, 94px);
}

.trinidad-home__story-content p:not(.trinidad-home__eyebrow) {
  color: #c0c0c7;
  font-size: 17px;
  line-height: 1.78;
  margin: 24px 0 0;
}

.trinidad-home__story-signoff {
  color: #ed6a26 !important;
  font-family: var(--heading-font-family);
  font-size: 22px !important;
}

.trinidad-home__mission {
  padding-bottom: clamp(66px, 8vw, 108px);
  padding-top: clamp(66px, 8vw, 108px);
}

.trinidad-home__mission-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
}

.trinidad-home__mission-item {
  border-left: 2px solid #ed6a26;
  padding: 8px 20px 10px;
}

.trinidad-home__mission-number {
  color: #ed6a26;
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}

.trinidad-home__mission-item strong {
  color: #ffffff;
  font-family: var(--heading-font-family);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
}

.trinidad-home__contact-wrap {
  background: #ed6a26;
}

.trinidad-home__contact {
  align-items: center;
  display: flex;
  gap: 42px;
  justify-content: space-between;
  padding-bottom: 44px;
  padding-top: 44px;
}

.trinidad-home__contact h2,
.trinidad-home__contact p {
  color: #ffffff !important;
  margin: 0;
}

.trinidad-home__contact h2 {
  font-family: var(--heading-font-family) !important;
  font-size: clamp(30px, 4vw, 43px);
}

.trinidad-home__contact p {
  line-height: 1.6;
  margin-top: 7px;
  max-width: 760px;
}

.trinidad-home__contact .trinidad-home__button {
  background: #18181b;
  border-color: #18181b;
  flex: 0 0 auto;
}

.trinidad-home__contact .trinidad-home__button:hover,
.trinidad-home__contact .trinidad-home__button:focus {
  background: #ffffff;
  border-color: #ffffff;
}

@media (max-width: 1100px) {
  .trinidad-home__category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .trinidad-home__mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .trinidad-home__carousel {
    min-height: 520px;
  }

  .trinidad-home__slide {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.2) 70%), var(--trinidad-hero-image);
    background-position: center;
    padding: 28px 24px 54px;
  }

  .trinidad-home__slide-content {
    padding: 0 34px 28px;
  }

  .trinidad-home__arrow {
    height: 40px;
    width: 40px;
  }

  .trinidad-home__arrow--prev {
    left: 10px;
  }

  .trinidad-home__arrow--next {
    right: 10px;
  }

  .trinidad-home__category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trinidad-home__category {
    min-height: 166px;
  }

  .trinidad-home__category img {
    height: 68px;
    width: 68px;
  }

  .trinidad-home__story {
    grid-template-columns: 1fr;
  }

  .trinidad-home__story-image {
    min-height: 360px;
  }

  .trinidad-home__mission-grid {
    grid-template-columns: 1fr;
  }

  .trinidad-home__contact {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .trinidad-home__category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .trinidad-home__category {
    min-height: 154px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .trinidad-home__category span {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trinidad-home__slide,
  .trinidad-home__category,
  .trinidad-home__button,
  .trinidad-home__dot {
    transition: none !important;
  }
}

/* Footer */
#footer,
#footer .elementor-section,
#footer .elementor-container,
#footer .elementor-column-wrap,
#footer .elementor-widget-wrap,
.elementor-element-ccf68a0 {
  background-color: #000000 !important;
}

#footer {
  border-top: 1px solid #2f2f34;
  color: #c0c0c7;
}

#footer h2,
#footer h3,
#footer h4,
#footer h5,
#footer .elementor-heading-title {
  color: #ffffff !important;
  font-family: var(--heading-font-family) !important;
}

#footer a,
#footer p,
#footer li,
#footer .elementor-icon-list-text {
  color: #c0c0c7 !important;
}

#footer a:hover,
#footer a:focus {
  color: #ed6a26 !important;
}

/* Disable product image hover zoom; keep gallery and lightbox available. */
.product-zoom-container,
.product-zoom-img {
  display: none !important;
}

@media (max-width: 991px) {
  #header .elementor-element-314dc32,
  #header .elementor-element-c548e8e {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  #header .elementor-element-63abfc3 .elementor-image a::after {
    font-size: 19px;
  }
}

@media (max-width: 767px) {
  #header .elementor-element-63abfc3 .elementor-image a {
    gap: 10px;
    min-height: 70px;
  }

  #header .elementor-element-63abfc3 .elementor-image a::before {
    flex-basis: 58px;
    height: 58px;
    width: 58px;
  }

  #header .elementor-element-63abfc3 .elementor-image a::after {
    font-size: 17px;
  }

  body#index .elementor-element-9828fe7 {
    padding-bottom: 44px;
    padding-top: 44px;
  }
}
