/* Dario Pisos premium commerce layer */
:root {
  --dp-blue: #0A3D91;
  --dp-blue-dark: #062a63;
  --dp-yellow: #FFD200;
  --dp-ink: #111827;
  --dp-muted: #5b6472;
  --dp-line: #E5E7EB;
  --dp-soft: #F8F9FC;
}

body {
  text-rendering: optimizeLegibility;
}

.product-card,
.dp-service,
.dp-collection,
.dp-metrics div,
.dp-faq details {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product-card:hover,
.dp-service:hover,
.dp-collection:hover,
.dp-metrics div:hover,
.dp-faq details:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(10, 61, 145, .11);
}

.dp-section {
  padding: 72px 24px;
}

.dp-container {
  max-width: 1440px;
  margin: 0 auto;
}

.dp-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.dp-section-head h2,
.dp-trust-copy h2 {
  color: var(--dp-ink);
  font-size: 3rem;
  line-height: .95;
  letter-spacing: 0;
  font-weight: 900;
}

.dp-kicker {
  color: var(--dp-blue);
  font-size: .76rem;
  letter-spacing: 0;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.dp-link {
  color: var(--dp-blue);
  font-weight: 800;
  white-space: nowrap;
}

.dp-link:hover {
  text-decoration: underline;
}

.dp-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dp-service {
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: 8px;
  padding: 24px;
  min-height: 210px;
}

.dp-service span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--dp-yellow);
  color: var(--dp-blue);
  font-weight: 900;
  font-size: .8rem;
}

.dp-service h3 {
  margin-top: 22px;
  color: var(--dp-ink);
  font-weight: 900;
  font-size: 1.2rem;
}

.dp-service p,
.dp-trust-copy p,
.dp-faq p {
  color: var(--dp-muted);
}

.dp-collection-grid {
  display: grid;
  grid-template-columns: 1.25fr .875fr .875fr;
  gap: 18px;
}

.dp-collection {
  position: relative;
  display: block;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background: #111827;
  color: #fff;
}

.dp-collection:not(.dp-collection-large) {
  min-height: 430px;
}

.dp-collection img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .65s cubic-bezier(.2, .8, .2, 1);
}

.dp-collection:hover img {
  transform: scale(1.06);
}

.dp-collection::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 12, 24, .08), rgba(5, 12, 24, .8));
}

.dp-collection div {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.dp-collection span {
  color: var(--dp-yellow);
  font-size: .78rem;
  letter-spacing: .1em;
  font-weight: 900;
  text-transform: uppercase;
}

.dp-collection strong {
  display: block;
  margin-top: 8px;
  font-size: 1.8rem;
  line-height: 1.05;
  font-weight: 900;
}

.dp-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.dp-trust-copy {
  max-width: 680px;
}

.dp-trust-copy p {
  margin-top: 18px;
  font-size: 1.05rem;
}

.dp-trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.dp-primary,
.dp-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 900;
}

.dp-primary {
  background: var(--dp-blue);
  color: #fff;
}

.dp-secondary {
  border: 1px solid var(--dp-line);
  color: var(--dp-blue);
  background: #fff;
}

.dp-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dp-metrics div {
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: 8px;
  padding: 28px;
}

.dp-metrics strong {
  display: block;
  color: var(--dp-blue);
  font-size: 3.75rem;
  line-height: .9;
  font-weight: 950;
}

.dp-metrics span {
  display: block;
  color: var(--dp-muted);
  margin-top: 12px;
  font-weight: 700;
}

.dp-faq {
  display: grid;
  gap: 12px;
}

.dp-faq details {
  background: var(--dp-soft);
  border: 1px solid var(--dp-line);
  border-radius: 8px;
  padding: 18px 20px;
}

.dp-faq summary {
  cursor: pointer;
  color: var(--dp-ink);
  font-weight: 900;
}

.dp-faq p {
  margin-top: 12px;
}

.dp-reveal {
  opacity: 0;
  transform: translateY(22px);
}

.dp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .65s ease, transform .65s ease;
}

.dp-page-hero {
  background: linear-gradient(135deg, rgba(10, 61, 145, .96), rgba(6, 42, 99, .98));
  color: #fff;
  padding: 86px 24px;
}

.dp-page-hero h1 {
  max-width: 860px;
  font-size: 4.5rem;
  line-height: .95;
  font-weight: 950;
  letter-spacing: 0;
}

.dp-page-hero p {
  max-width: 720px;
  color: rgba(255,255,255,.82);
  font-size: 1.15rem;
  margin-top: 18px;
}

.dp-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dp-page-card {
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: 8px;
  padding: 24px;
}

.dp-page-card h2,
.dp-page-card h3 {
  color: var(--dp-ink);
  font-weight: 900;
  font-size: 1.35rem;
}

.dp-page-card p,
.dp-page-card li {
  color: var(--dp-muted);
  margin-top: 10px;
}

.dp-page-card ul {
  padding-left: 18px;
  list-style: disc;
}

[class*="tracking-"] {
  letter-spacing: 0 !important;
}

.product-card,
.dp-service,
.dp-collection,
.dp-metrics div,
.dp-faq details,
.dp-page-card,
.dp-dept-card,
.dp-shop-assist,
.modal {
  border-radius: 8px !important;
}

.dp-top-value {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--dp-line);
  border-bottom: 1px solid var(--dp-line);
}

.dp-top-value a {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: #fff;
  color: var(--dp-blue);
  font-size: .82rem;
  font-weight: 850;
  text-align: center;
  line-height: 1.2;
}

.dp-top-value a:hover {
  background: #f8fbff;
}

.dp-departments {
  padding-top: 54px;
  padding-bottom: 54px;
}

.dp-dept-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.dp-dept-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  border: 1px solid var(--dp-line);
  background: #111827;
  color: #fff;
  isolation: isolate;
}

.dp-dept-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
  z-index: -2;
}

.dp-dept-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 35, .05), rgba(10, 20, 35, .8));
  z-index: -1;
}

.dp-dept-card span,
.dp-dept-card small {
  display: block;
  margin-left: 16px;
  margin-right: 16px;
}

.dp-dept-card span {
  margin-top: 154px;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.05;
}

.dp-dept-card small {
  margin-top: 6px;
  color: rgba(255,255,255,.84);
  font-size: .78rem;
  line-height: 1.25;
}

.dp-dept-card:hover img {
  transform: scale(1.05);
}

.dp-shop-assist {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--dp-line);
  box-shadow: 0 12px 30px rgba(10, 61, 145, .08);
}

.dp-shop-assist-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.dp-shop-assist-copy img {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--dp-line);
}

.dp-shop-assist-copy strong {
  display: block;
  color: var(--dp-ink);
  font-size: 1rem;
  font-weight: 950;
}

.dp-shop-assist-copy p {
  margin-top: 4px;
  color: var(--dp-muted);
  font-size: .92rem;
  line-height: 1.35;
}

.dp-shop-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 260px;
}

.dp-shop-steps span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(10, 61, 145, .16);
  background: #f8fbff;
  color: var(--dp-blue);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 900;
  white-space: nowrap;
}

.dp-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.dp-trust-chips span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.09);
  color: #fff;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 850;
}

.product-card img {
  background: #eef2f7;
}

.product-card .font-semibold,
.product-name {
  overflow-wrap: anywhere;
}

button,
a {
  text-underline-offset: 3px;
}

.dp-mobile-bottom-nav {
  display: none;
}

@media (max-width: 980px) {
  .dp-service-grid,
  .dp-collection-grid,
  .dp-trust,
  .dp-page-grid {
    grid-template-columns: 1fr;
  }

  .dp-section-head {
    align-items: start;
    flex-direction: column;
  }

  .dp-collection,
  .dp-collection:not(.dp-collection-large) {
    min-height: 320px;
  }

  .dp-section-head h2,
  .dp-trust-copy h2,
  .dp-page-hero h1 {
    font-size: 2.35rem;
    line-height: 1;
  }

  .dp-dept-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dp-shop-assist {
    align-items: flex-start;
    flex-direction: column;
  }

  .dp-shop-steps {
    justify-content: flex-start;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 68px;
  }

  .dp-section {
    padding: 48px 16px;
  }

  .dp-service,
  .dp-metrics div,
  .dp-page-card {
    padding: 18px;
  }

  .dp-metrics {
    grid-template-columns: 1fr;
  }

  .dp-top-value {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dp-top-value a {
    font-size: .76rem;
    min-height: 38px;
  }

  .dp-section-head h2,
  .dp-trust-copy h2,
  .dp-page-hero h1 {
    font-size: 2rem;
  }

  .dp-page-hero {
    padding: 50px 16px 42px;
  }

  .dp-page-hero p {
    font-size: .98rem;
    line-height: 1.48;
  }

  .dp-trust-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .dp-primary,
  .dp-secondary,
  .dp-link {
    justify-content: center;
    min-height: 44px;
    text-align: center;
  }

  .product-card {
    border-radius: 8px !important;
  }

  .product-card .p-4 {
    padding: 10px !important;
  }

  .product-card .font-semibold {
    font-size: 13px;
    line-height: 1.15;
  }

  .dp-collection strong,
  .dp-dept-card span {
    font-size: 1.25rem;
  }

  .dp-metrics strong {
    font-size: 2.8rem;
  }

  .dp-dept-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2px;
  }

  .dp-dept-card {
    min-width: 76vw;
    min-height: 255px;
    scroll-snap-align: start;
  }

  .dp-shop-assist {
    padding: 16px;
  }

  .dp-shop-assist-copy {
    align-items: flex-start;
  }

  .dp-shop-assist-copy img {
    width: 44px;
    height: 44px;
  }

  .dp-mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: flex;
    min-height: 58px;
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255,255,255,.96);
    border-top: 1px solid var(--dp-line);
    box-shadow: 0 -8px 28px rgba(17,24,39,.10);
  }

  .dp-mobile-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--dp-muted);
    font-size: 10px;
    font-weight: 850;
    min-width: 0;
  }

  .dp-mobile-bottom-nav a.active {
    color: var(--dp-blue);
  }

  .dp-mobile-bottom-nav svg {
    width: 21px;
    height: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .dp-reveal {
    opacity: 1;
    transform: none;
  }
}
