/* Antoine 1745 — multilingual Shopify storefront */

.nav-cart {
  color: var(--gold-bright);
}

.shop-home-hero {
  position: relative;
  display: grid;
  min-height: min(900px, 94vh);
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.shop-home-image,
.shop-home-overlay {
  position: absolute;
  inset: 0;
}

.shop-home-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(0.72) contrast(1.08);
}

.shop-home-overlay {
  background:
    linear-gradient(90deg, rgba(17, 19, 21, 0.91) 0%, rgba(17, 19, 21, 0.46) 58%, rgba(17, 19, 21, 0.2) 100%),
    linear-gradient(0deg, rgba(17, 19, 21, 0.66), transparent 54%);
}

.shop-home-copy {
  position: relative;
  z-index: 2;
  padding-block: 190px 105px;
}

.shop-home-copy .eyebrow {
  color: var(--gold-bright);
}

.shop-home-copy h1 {
  max-width: 950px;
  font-size: clamp(3.7rem, 7.3vw, 8.4rem);
}

.shop-home-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.48;
}

.shop-home-copy .button {
  margin-top: 24px;
}

.shop-categories {
  background: var(--paper);
}

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

.shop-category-card {
  min-width: 0;
  background: var(--paper);
}

.shop-category-card > a {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 16px 16px 30px;
  text-decoration: none;
}

.shop-category-image {
  display: block;
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--ivory);
}

.shop-category-image img {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
  transition: transform 600ms var(--ease), filter 300ms ease;
}

.shop-category-card:hover img {
  filter: saturate(1.04);
  transform: scale(1.025);
}

.shop-category-index {
  color: var(--gold-deep);
  font-family: var(--display);
  font-size: 0.9rem;
  font-style: italic;
}

.shop-category-card h3 {
  margin: 6px 0 14px;
  font-size: clamp(1.75rem, 2.3vw, 2.6rem);
}

.shop-category-card p {
  flex: 1;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.shop-category-card .text-link {
  align-self: flex-start;
  margin-top: 12px;
}

.shop-featured {
  background: var(--ivory);
}

.shop-product-grid {
  display: grid;
  gap: clamp(28px, 3vw, 48px) clamp(20px, 2.5vw, 36px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-product-card {
  min-width: 0;
}

.shop-product-image {
  display: block;
  overflow: hidden;
  margin-bottom: 22px;
  background: #e6e0d5;
}

.shop-product-image img {
  width: 100%;
  aspect-ratio: 0.88;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.shop-product-card:hover .shop-product-image img {
  transform: scale(1.025);
}

.shop-product-copy > p {
  margin-bottom: 7px;
  color: var(--gold-deep);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.shop-product-copy h3 {
  margin-bottom: 7px;
  font-size: clamp(1.65rem, 2.2vw, 2.45rem);
}

.shop-product-copy h3 a {
  text-decoration: none;
}

.shop-product-copy > span {
  display: block;
  min-height: 1.7em;
  color: var(--ink-muted);
  font-family: var(--display);
  font-size: 1.04rem;
  font-style: italic;
}

.shop-product-price {
  min-height: 2.3em;
  margin: 15px 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.product-price-context,
.product-purchase-context,
shopify-money,
shopify-media,
shopify-variant-selector {
  display: block;
}

.shop-empty {
  max-width: 800px;
  margin-inline: auto;
  padding: clamp(48px, 7vw, 92px);
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
}

.shop-empty .eyebrow {
  justify-content: center;
}

.shop-empty h2 {
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
}

.shop-empty > p:not(.eyebrow) {
  max-width: 610px;
  margin-inline: auto;
  color: var(--ink-muted);
}

.shop-empty .button {
  margin-top: 24px;
}

.shop-advice {
  background: var(--paper);
}

.shop-editorial-grid {
  display: grid;
  align-items: center;
  gap: clamp(48px, 8vw, 130px);
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
}

.shop-editorial-grid.is-reversed {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
}

.shop-editorial-grid.is-reversed .shop-editorial-image {
  order: 2;
}

.shop-editorial-image img {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
  box-shadow: var(--shadow-small);
}

.shop-editorial-copy {
  max-width: 650px;
}

.shop-editorial-copy > p:not(.eyebrow) {
  color: var(--ink-muted);
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.55;
}

.shop-editorial-copy .text-link,
.shop-editorial-copy .button {
  margin-top: 20px;
}

.shop-history {
  color: var(--white);
  background: var(--ink);
}

.shop-history .eyebrow {
  color: var(--gold-bright);
}

.shop-history .shop-editorial-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.75);
}

.shop-services {
  background: var(--paper);
}

.shop-service-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  grid-template-columns: repeat(3, 1fr);
}

.shop-service-list li {
  min-height: 190px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.shop-service-list li:first-child {
  border-left: 1px solid var(--line);
}

.shop-service-list span {
  color: var(--gold-deep);
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
}

.shop-service-list p {
  margin-top: 45px;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.3;
}

.page-shop-collection .site-header:not(.is-sticky),
.page-shop-product .site-header:not(.is-sticky),
.page-shop-cart .site-header:not(.is-sticky) {
  color: var(--ink);
  background: rgba(251, 248, 242, 0.97);
  border-bottom-color: var(--line);
}

.page-shop-collection .shop-collection-hero,
.page-shop-product .product-main,
.page-shop-cart .cart-page {
  padding-top: clamp(150px, 15vw, 210px);
}

.shop-collection-hero {
  padding-bottom: clamp(64px, 8vw, 112px);
  background: var(--paper);
}

.shop-collection-hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(48px, 8vw, 130px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
}

.shop-collection-copy h1 {
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 7vw, 7.4rem);
}

.shop-collection-copy > p:not(.eyebrow) {
  max-width: 670px;
  color: var(--ink-muted);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.5;
}

.back-link {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--ink-muted);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.shop-collection-image {
  position: relative;
}

.shop-collection-image::before {
  position: absolute;
  z-index: 0;
  inset: -18px 18px 18px -18px;
  border: 1px solid var(--gold);
  content: "";
}

.shop-collection-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  box-shadow: var(--shadow-small);
}

.shop-collection-products {
  background: var(--ivory);
}

.product-main {
  padding-bottom: clamp(70px, 9vw, 130px);
  background: var(--paper);
}

.product-main-grid {
  display: grid;
  align-items: start;
  gap: clamp(48px, 7vw, 110px);
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.82fr);
}

.product-gallery {
  background: var(--ivory);
}

.product-gallery img {
  width: 100%;
  max-height: 800px;
  aspect-ratio: 0.9;
  object-fit: cover;
}

.product-summary {
  position: sticky;
  top: 135px;
  padding-top: 24px;
}

.product-summary h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 5vw, 5.8rem);
}

.product-subtitle {
  color: var(--ink-muted);
  font-family: var(--display);
  font-size: clamp(1.18rem, 1.7vw, 1.45rem);
  font-style: italic;
}

.product-purchase-context {
  min-height: 260px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.product-live-price {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
}

.product-availability {
  color: var(--ink-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-availability .is-unavailable,
.product-availability[data-available="false"] .is-available {
  display: none;
}

.product-availability[data-available="false"] .is-unavailable {
  display: inline;
  color: var(--oxblood);
}

.product-variants {
  margin-block: 26px;
}

.product-variants > p,
.product-quantity > span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

shopify-variant-selector::part(form) {
  gap: 18px;
}

shopify-variant-selector::part(label) {
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

shopify-variant-selector::part(select) {
  min-height: 48px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
}

shopify-variant-selector::part(radio) {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
}

shopify-variant-selector::part(radio-selected) {
  border-color: var(--gold-deep);
  box-shadow: inset 0 0 0 1px var(--gold-deep);
}

.product-quantity {
  display: block;
  width: 120px;
  margin-bottom: 22px;
}

.product-quantity input {
  width: 100%;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
}

.product-add {
  width: 100%;
}

.product-add:disabled,
.product-purchase-placeholder .button:disabled {
  color: rgba(17, 19, 21, 0.5);
  background: #d8d3ca;
  border-color: #d8d3ca;
  cursor: not-allowed;
  transform: none;
}

.product-story {
  background: var(--ivory);
}

.product-details-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-detail-block {
  min-height: 320px;
  padding: clamp(34px, 5vw, 68px);
  background: var(--paper);
}

.product-detail-block h2 {
  font-size: clamp(2rem, 3.4vw, 3.8rem);
}

.product-detail-block > p:not(.eyebrow) {
  color: var(--ink-muted);
}

.product-detail-block dl {
  margin: 0;
}

.product-detail-block dl div {
  display: grid;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(110px, 0.4fr) 1fr;
}

.product-detail-block dt {
  color: var(--ink-muted);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-detail-block dd {
  margin: 0;
}

.related-products {
  background: var(--paper);
}

.cart-page {
  min-height: 720px;
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 164, 92, 0.14), transparent 28%),
    var(--paper);
}

.cart-panel {
  padding: clamp(42px, 7vw, 82px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-small);
  text-align: center;
}

.cart-panel .eyebrow {
  justify-content: center;
}

.cart-panel h1 {
  font-size: clamp(3.3rem, 6vw, 6.4rem);
}

.cart-panel > p {
  max-width: 600px;
  margin-inline: auto;
  color: var(--ink-muted);
}

.cart-panel > .button,
.cart-not-ready .button {
  margin: 24px 0;
}

.cart-panel > .text-link {
  display: flex;
  width: max-content;
  margin: 20px auto 0;
}

.cart-not-ready {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

shopify-cart::part(dialog) {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  border: 1px solid var(--gold);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

shopify-cart::part(primary-button) {
  border-radius: 0;
  color: var(--ink);
  background: var(--gold-bright);
}

shopify-cart::part(secondary-button),
shopify-cart::part(tertiary-button) {
  border-radius: 0;
}

shopify-cart::part(input-field) {
  border-radius: 0;
}

[dir="rtl"] .shop-home-overlay {
  background:
    linear-gradient(-90deg, rgba(17, 19, 21, 0.91) 0%, rgba(17, 19, 21, 0.46) 58%, rgba(17, 19, 21, 0.2) 100%),
    linear-gradient(0deg, rgba(17, 19, 21, 0.66), transparent 54%);
}

[dir="rtl"] .shop-product-copy > p,
[dir="rtl"] .product-availability,
[dir="rtl"] .product-variants > p,
[dir="rtl"] .product-quantity > span,
[dir="rtl"] .product-detail-block dt,
[dir="rtl"] .back-link {
  letter-spacing: 0;
}

[dir="rtl"] .page-shop .text-link:hover span {
  transform: translateX(-4px);
}

@media (max-width: 1020px) {
  .shop-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .shop-collection-hero-grid,
  .product-main-grid {
    gap: 48px;
  }
}

@media (max-width: 820px) {
  .page-shop-collection .site-header:not(.is-sticky),
  .page-shop-product .site-header:not(.is-sticky),
  .page-shop-cart .site-header:not(.is-sticky) {
    background: var(--paper);
  }

  .shop-home-hero {
    min-height: 740px;
  }

  .shop-home-copy {
    padding-block: 158px 72px;
  }

  .shop-home-copy h1 {
    font-size: clamp(3.1rem, 13vw, 5.6rem);
  }

  .shop-editorial-grid,
  .shop-editorial-grid.is-reversed,
  .shop-collection-hero-grid,
  .product-main-grid {
    grid-template-columns: 1fr;
  }

  .shop-editorial-grid.is-reversed .shop-editorial-image {
    order: 0;
  }

  .shop-collection-copy {
    order: 2;
  }

  .shop-collection-image {
    width: min(86%, 520px);
    margin-inline: auto;
  }

  .product-summary {
    position: static;
  }

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

  .shop-service-list {
    grid-template-columns: 1fr;
  }

  .shop-service-list li,
  .shop-service-list li:first-child {
    min-height: auto;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .shop-service-list p {
    margin-top: 20px;
  }
}

@media (max-width: 560px) {
  .shop-category-grid,
  .shop-product-grid {
    grid-template-columns: 1fr;
  }

  .shop-category-card > a {
    padding: 12px 12px 28px;
  }

  .shop-home-overlay {
    background:
      linear-gradient(0deg, rgba(17, 19, 21, 0.9) 0%, rgba(17, 19, 21, 0.44) 70%, rgba(17, 19, 21, 0.5) 100%);
  }

  .shop-home-image img {
    object-position: 55% center;
  }

  .shop-home-copy > p:not(.eyebrow) {
    font-size: 1.12rem;
  }

  .shop-empty,
  .cart-panel {
    padding: 34px 22px;
  }

  .product-detail-block {
    min-height: 0;
    padding: 34px 24px;
  }

  .product-detail-block dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-gallery {
    margin-inline: -16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-category-image img,
  .shop-product-image img {
    transition: none;
  }
}
