.shop-container [hidden] { display: none !important; }
.shop-hero {
  padding: 90px 20px;
  background: var(--black);
  color: var(--white);
  text-align: center;
  border-top: 2px solid var(--gold);
}
.shop-hero > p:last-child { max-width: 640px; margin-right: auto; margin-left: auto; color: #e2e2e2; }
.shop-hero .eyebrow { color: var(--yellow); }
.shop-hero h1 em { color: var(--yellow); }
.shop-container { width: min(1200px, 100%); min-height: 55vh; margin: 0 auto; padding: 65px 25px; }
.shop-heading { display: block; margin-bottom: 40px; text-align: center; }
.shop-heading h2 { margin-bottom: 16px; font-size: 36px; text-transform: capitalize; }
.shop-heading > p { max-width: 450px; margin: 0 auto; color: var(--muted); font-size: 13px; }
.shop-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.shop-product-card { overflow: hidden; border: 1px solid var(--line); background: var(--white); transition: transform .2s, box-shadow .2s; }
.shop-product-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px #00000018; }
.shop-product-card > img, .shop-product-card > .shop-image-placeholder { display: grid; width: 100%; height: 350px; place-items: center; object-fit: cover; background: var(--soft); }
.shop-image-placeholder { color: var(--muted); font-size: 12px; }
.shop-product-info { padding: 22px; }
.shop-product-info h3 { margin: 0 0 10px; font-size: 22px; }
.shop-product-price { margin: 0 0 14px; color: #997400; font-size: 18px; font-weight: 700; }
.shop-button { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border: 0; background: var(--yellow); color: var(--black); font-size: 12px; font-weight: 700; text-decoration: none; }
.shop-button:hover { background: var(--gold); }
.shop-button::after { content: "→"; font-size: 15px; }
.shop-note { color: var(--muted); font-size: 11px; }
.shop-detail-hero { padding-top: 55px; padding-bottom: 55px; }
.shop-detail-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 55px; }
.shop-detail-image-wrap { display: grid; min-height: 480px; place-items: center; background: #f5f5f5; }
.shop-detail-image-wrap .shop-detail-image { width: 100%; height: 100%; min-height: 480px; max-height: 700px; object-fit: contain; }
.shop-detail-image-wrap .shop-image-placeholder { align-self: stretch; justify-self: stretch; display: grid; place-items: center; color: var(--muted); }
.shop-detail-copy h2 { margin-bottom: 15px; font-size: 38px; }
.shop-detail-copy .shop-product-price { color: #b38b00; font-size: 28px; }
.shop-detail-copy > .muted { margin-bottom: 26px; color: #555; font-size: 13px; }
.shop-stock-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 25px 0; }
.shop-stock-form .field { margin: 0; }
.shop-stock-form .field:last-of-type { grid-column: 1 / -1; max-width: 180px; }
.shop-stock-form .field label { display: block; margin: 8px 0; font-weight: 700; }
.shop-stock-form .field input, .shop-stock-form .field select { width: 100%; border: 1px solid #ccc; padding: 13px; background: var(--white); font-size: 15px; }
.shop-stock-form .stock-status { grid-column: 1 / -1; }
.shop-detail-copy > .button { width: 100%; max-width: 380px; }
.shop-detail-copy > .button:disabled { opacity: .5; cursor: not-allowed; }
.shop-total { margin: 18px 0; font-family: var(--sans); font-size: 18px; font-weight: 700; }
#dress-order-button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.shop-back-link { display: block; width: fit-content; margin-top: 24px; border-bottom: 1px solid var(--gold); padding-bottom: 4px; font-size: 12px; }
/* DRESS PHOTO GALLERY */
.dress-gallery { width: 100%; }
.dress-gallery .detail-product-image {
  width: 100%;
  height: 520px;
  object-fit: contain;
  background: #f5f5f5;
  border: 1px solid #eee;
  display: block;
}
.dress-thumbnails { display: flex; gap: 12px; margin-top: 15px; flex-wrap: wrap; }
.dress-thumbnail {
  width: 90px;
  height: 110px;
  padding: 0;
  overflow: hidden;
  object-fit: cover;
  border: 2px solid #ddd;
  background: transparent;
  cursor: pointer;
  transition: 0.2s ease;
}
.dress-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dress-thumbnail:hover { border-color: #ffd400; }
.dress-thumbnail.active { border: 3px solid #d4af37; }
.custom-form { width: min(760px, 100%); margin: 0 auto; padding: 32px; border: 1px solid var(--line); background: var(--white); }
.custom-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 25px 0; }
.custom-field { display: flex; flex-direction: column; gap: 7px; }
.custom-field-full { grid-column: 1 / -1; }
.custom-field label { font-size: 11px; font-weight: 700; }
.custom-field input, .custom-field select, .custom-field textarea { width: 100%; border: 1px solid #d5d5d5; border-radius: 0; padding: 12px; color: var(--ink); background: var(--white); font-size: 13px; }
.custom-field textarea { min-height: 140px; resize: vertical; }
.custom-field input:focus, .custom-field select:focus, .custom-field textarea:focus { outline: 2px solid var(--gold-light); border-color: var(--gold); }
.custom-form > .shop-button { width: 100%; justify-content: center; cursor: pointer; }
.custom-form > .shop-note { margin: 15px 0 0; }
@media (max-width: 850px) {
  .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-detail-layout { grid-template-columns: 1fr; gap: 30px; }
  .shop-detail-image-wrap, .shop-detail-image-wrap .shop-detail-image { min-height: 350px; }
}
@media (max-width: 550px) {
  .shop-hero { padding: 58px 6%; }
  .shop-container { padding: 40px 18px; }
  .shop-product-grid { grid-template-columns: 1fr; }
  .shop-product-card > img, .shop-product-card > .shop-image-placeholder { height: 400px; }
  .custom-form { padding: 22px; }
  .custom-form-grid { grid-template-columns: 1fr; }
  .custom-field-full { grid-column: auto; }
}
@media (max-width: 600px) {
  .dress-gallery .detail-product-image { height: 380px; }
  .dress-thumbnail { width: 75px; height: 90px; }
}

/* ISLAND PRINT DRESS PRICING */
.island-price-notice {
  max-width: 800px;
  margin: 30px auto;
  padding: 25px;
  background: #111111;
  border: 2px solid #d4af37;
  text-align: center;
}
.island-price-notice h3 {
  color: #ffd400;
  font-size: 24px;
  margin-bottom: 12px;
}
.island-price-notice p {
  color: #eeeeee;
  font-size: 15px;
  line-height: 1.8;
}

/* QUANTITY SELECTOR */
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.quantity-controls button {
  width: 48px;
  height: 48px;
  background: #111111;
  color: #ffd400;
  border: 1px solid #d4af37;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
}
.quantity-controls button:hover:not(:disabled) {
  background: #d4af37;
  color: #111111;
}
.quantity-controls button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.quantity-controls input {
  width: 85px;
  height: 48px;
  text-align: center;
  font-size: 20px;
  border: 1px solid #ccc;
}

/* WIDER COLOUR SELECTION */
.shop-stock-form .field:first-child {
  grid-column: 1 / -1;
}
.shop-detail-copy #dress-colour {
  width: 100%;
  max-width: 550px;
  min-height: 55px;
  padding: 15px 18px;
  font-size: 17px;
  border: 2px solid #d4af37;
  border-radius: 6px;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
}
.shop-detail-copy #dress-colour:focus {
  outline: 2px solid #ffd400;
  outline-offset: 2px;
}
