*{box-sizing:border-box}body{margin:0;background:#f7f5f0;color:#151515;font-family:Arial,Helvetica,sans-serif}header{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;padding:22px 5vw;background:#f7f5f0f2;border-bottom:1px solid #dedbd3;backdrop-filter:blur(8px)}header a{color:#151515;text-decoration:none}.brand{font-weight:700;letter-spacing:.18em}nav{display:flex;gap:26px;font-size:14px}.hero{min-height:72vh;padding:10vw 5vw;display:flex;align-items:center;border-bottom:1px solid #dedbd3}.hero h1{max-width:900px;font-size:clamp(52px,8vw,110px);line-height:.9;letter-spacing:-.06em;font-weight:500;margin:15px 0 25px}.hero p:not(.eyebrow){max-width:560px;color:#6f6b63;font-size:18px}.eyebrow{font-size:11px;letter-spacing:.2em;font-weight:700;color:#6f6b63}.button{display:inline-block;background:#151515;color:#fff;padding:14px 20px;text-decoration:none;margin-top:14px}.section{padding:85px 5vw}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:30px}.section h2{font-size:clamp(36px,5vw,64px);font-weight:500;letter-spacing:-.045em;margin:0}.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.collection{padding:25px;background:#fff;border:1px solid #dedbd3;color:#151515;text-decoration:none;display:flex;flex-direction:column;gap:10px}.collection span,.product-info small{font-size:10px;letter-spacing:.16em;color:#6f6b63}.collection strong{font-size:22px;font-weight:500}.shop{border-top:1px solid #dedbd3}.search{display:flex;gap:7px}.search input{border:1px solid #cfcac1;padding:12px 14px;background:#fff;min-width:230px}.search button{border:0;background:#151515;color:#fff;padding:12px 18px}.filter{color:#6f6b63}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px 12px}.product{color:#151515;text-decoration:none}.product-image{aspect-ratio:1/1;background:#ebe8e0;overflow:hidden;position:relative}.product-image img{width:100%;height:100%;object-fit:cover;display:block}.image-fallback{height:100%;display:none;place-items:center;color:#777}.product-image:not(:has(img)){display:grid}.product-image:not(:has(img)) .image-fallback{display:grid}.product-info{padding-top:12px}.product-info h3{margin:7px 0 4px;font-size:19px;font-weight:500;line-height:1.15}.product-info p{margin:0;color:#6f6b63;font-size:13px}.detail{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:55px;padding:55px 5vw;max-width:1500px;margin:auto}.gallery{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gallery img{width:100%;display:block;background:#ebe8e0}.details{padding:30px 0}.details h1{font-size:clamp(38px,5vw,70px);line-height:.95;letter-spacing:-.05em;font-weight:500;margin:10px 0 18px}.price{font-size:22px}.description{color:#6f6b63;max-width:600px}.option{margin:30px 0}.option label{display:block;font-size:12px;margin-bottom:8px}.option select{width:100%;padding:13px;border:1px solid #cfcac1;background:#fff}.custom{padding:15px;border:1px solid #dedbd3;background:#fff;margin:20px 0;color:#555}footer{padding:30px 5vw;border-top:1px solid #dedbd3;color:#6f6b63}@media(max-width:850px){.collection-grid,.product-grid{grid-template-columns:1fr 1fr}.detail{grid-template-columns:1fr}.gallery{grid-template-columns:1fr}.section-head{align-items:start;flex-direction:column}}@media(max-width:520px){.collection-grid,.product-grid{grid-template-columns:1fr}.search{width:100%}.search input{min-width:0;flex:1}}
/* Product multi-image gallery */

.gallery {
  align-self: start;
}

.gallery-main {
  width: 100%;
  height: auto;
  background: transparent;
  overflow: hidden;
}

.gallery-main img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

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

.gallery-thumb.active {
  border-color: #151515;
}

@media (min-width: 700px) {
  .gallery-thumb {
    flex-basis: 90px;
    width: 90px;
    height: 90px;
  }
}
/* Prevent product gallery from stretching vertically */
.detail {
  align-items: start;
}

.gallery {
  align-self: start;
  height: fit-content;
  min-height: 0;
  background: transparent;
}

.gallery-main {
  height: fit-content;
  min-height: 0;
}
.gallery-thumbnails .gallery-thumb {
  flex: 0 0 72px !important;
  width: 72px !important;
  height: 72px !important;
}

.gallery-thumbnails .gallery-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.gallery-main {
  align-self: start;
}

./* Final gallery height fix */

.detail {
  align-items: start !important;
}

.gallery {
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: max-content !important;
}

.gallery-main {
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
}

.gallery-main img {
  display: block !important;
  height: auto !important;
}
/* Clean product gallery layout */

.detail > .gallery {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  align-self: start !important;
  height: max-content !important;
  min-height: 0 !important;
  background: transparent !important;
}

.detail > .gallery .gallery-main {
  height: max-content !important;
  min-height: 0 !important;
  background: transparent !important;
  align-self: start !important;
}

.detail > .gallery .gallery-thumbnails {
  height: max-content !important;
  min-height: 0 !important;
  align-self: start !important;
}
@media (max-width: 520px) {

  .detail > .gallery {
    display: block !important;
  }

  .detail > .gallery .gallery-main {
    width: 100% !important;
  }

  .detail > .gallery .gallery-thumbnails {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    margin-top: 10px !important;
  }

  .detail > .gallery .gallery-thumb {
    width: 72px !important;
    height: 72px !important;
    flex: 0 0 72px !important;
  }

  .detail > .gallery .gallery-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}
@media (max-width: 699px) {

  .detail > .gallery {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .detail > .gallery .gallery-main {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  .detail > .gallery .gallery-main img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  .detail > .gallery .gallery-thumbnails {
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    gap: 10px !important;
    margin-top: 10px !important;
    overflow-x: auto !important;
  }

  .detail > .gallery .gallery-thumbnails .gallery-thumb {
    display: block !important;
    flex: 0 0 72px !important;
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .detail > .gallery .gallery-thumbnails .gallery-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
  }
}

.back-button {
    display: inline-block;
    margin-bottom: 18px;
    color: #111;
    text-decoration: none;
    font-size: 14px;
}

.back-button:hover {
    text-decoration: underline;
}