/* Oh Polly–style product detail page */
#product-info.pdp.container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

#product-info.pdp #column-left,
#product-info.pdp #column-right {
  display: none !important;
}

#product-info.pdp #content.col {
  flex: 0 0 100%;
  max-width: 100%;
}

.pdp {
  font-family: inherit;
  color: #111;
  letter-spacing: 0.02em;
}

.pdp__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

@media (min-width: 992px) {
  .pdp__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 3rem;
    align-items: start;
  }
}

/* Gallery */
.pdp-Gallery {
  position: relative;
}

.pdp-Gallery_Main {
  position: relative;
  background: #f7f7f7;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

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

.pdp-Gallery_Nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}

.pdp-Gallery_Nav:hover {
  background: #fff;
}

.pdp-Gallery_Nav--prev {
  left: 0.75rem;
}

.pdp-Gallery_Nav--next {
  right: 0.75rem;
}

.pdp-Gallery_Thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.pdp-Gallery_Thumb {
  flex: 0 0 72px;
  border: 2px solid transparent;
  padding: 0;
  background: #f7f7f7;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.pdp-Gallery_Thumb.is-active {
  border-color: #111;
}

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

/* Buy box */
.pdp-BuyBox {
  padding-top: 0.5rem;
}

@media (min-width: 992px) {
  .pdp-BuyBox {
    position: sticky;
    top: calc(var(--header-height, 80px) + 1rem);
    max-height: calc(100vh - var(--header-height, 80px) - 2rem);
    overflow-y: auto;
  }
}

.pdp-BuyBox_Title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 0.75rem;
  text-transform: none;
  letter-spacing: 0.01em;
}

.pdp-BuyBox_Price {
  font-size: 1.125rem;
  margin: 0 0 1.25rem;
  font-weight: 400;
}

.pdp-BuyBox_Price .price-old {
  text-decoration: line-through;
  color: #888;
  margin-right: 0.5rem;
  font-size: 0.95rem;
}

.pdp-BuyBox_Price .price-new {
  color: #111;
}

.pdp-BuyBox_Meta {
  font-size: 0.8125rem;
  color: #666;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.pdp-BuyBox_Rating {
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.pdp-BuyBox_Rating a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pdp-BuyBox_Rating .fa-stack {
  font-size: 0.75rem;
  width: 1em;
  height: 1em;
  line-height: 1em;
}

/* Size pills */
.pdp-Size {
  margin-bottom: 1.25rem;
}

.pdp-Size_Label {
  font-size: 0.8125rem;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pdp-Size_Label span {
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.pdp-Size_Options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pdp-Size_Item {
  margin: 0;
}

.pdp-Size_Input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pdp-Size_Pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  margin: 0;
  user-select: none;
}

.pdp-Size_Input:checked + .pdp-Size_Pill,
.pdp-Size_Pill:hover {
  border-color: #111;
}

.pdp-Size_Input:checked + .pdp-Size_Pill {
  background: #111;
  color: #fff;
}

.pdp-Size_Note {
  font-size: 0.8125rem;
  color: #666;
  margin: 0.75rem 0 0;
  line-height: 1.5;
}

.pdp-Size_Note a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pdp-Option_Other {
  margin-bottom: 1rem;
}

.pdp-Option_Other .form-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Actions */
.pdp-Actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.pdp-Actions_Row {
  display: flex;
  gap: 0.75rem;
}

.pdp-Actions_Buy {
  align-items: stretch;
  gap: 0.5rem;
}

.pdp-Qty {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: stretch;
}

.pdp-Qty_Btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.pdp-Qty_Btn:hover:not(:disabled) {
  background: #111;
  color: #fff;
}

.pdp-Qty_Btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pdp-Qty_Btn--down {
  border-right: none;
}

.pdp-Qty_Btn--up {
  border-left: none;
}

.pdp-Qty_Input {
  box-sizing: border-box;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0 0.25rem;
  border: 1px solid #111;
  border-left: none;
  border-right: none;
  background: #fff;
  color: #111;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  border-radius: 0;
}

.pdp-Qty_Input:focus {
  outline: none;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 0 1px #111;
}

.pdp-Qty_Input.is-invalid {
  border-color: #b00020;
  box-shadow: inset 0 0 0 1px #b00020;
}

.pdp-Qty:has(.pdp-Qty_Input.is-invalid) .pdp-Qty_Btn {
  border-color: #b00020;
}

.pdp-Actions_Error {
  margin: 0;
  font-size: 0.75rem;
}

.pdp-Actions_Error.d-block {
  display: block;
}

#button-cart.pdp-Btn_Primary {
  flex: 1;
  width: auto;
  min-width: 0;
  height: 2.75rem;
  border: none;
  background: #111;
  color: #fff;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 0;
}

#button-cart.pdp-Btn_Primary:hover {
  background: #333;
}

.pdp-Btn_Wishlist {
  width: 100%;
  height: 3rem;
  border: 1px solid #111;
  background: transparent;
  color: #111;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border-radius: 0;
}

.pdp-Btn_Wishlist:hover {
  background: #111;
  color: #fff;
}

.pdp-Stock {
  font-size: 0.8125rem;
  color: #666;
  margin-bottom: 1rem;
}

/* Tabs (Oh Polly – in buy box) */
.pdp-Tabs {
  margin-top: 2rem;
  padding-top: 0.25rem;
  border-top: 1px solid #e8e8e8;
}

.pdp-Tabs_Nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0 0 0;
  border-bottom: 1px solid #e8e8e8;
}

.pdp-Tabs_NavItem {
  margin: 0;
}

.pdp-Tabs_Trigger {
  position: relative;
  display: block;
  padding: 0.875rem 0;
  margin: 0;
  border: none;
  background: none;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #999;
  cursor: pointer;
  white-space: nowrap;
}

.pdp-Tabs_Trigger:hover {
  color: #333;
}

.pdp-Tabs_Trigger.is-active {
  color: #111;
}

.pdp-Tabs_Trigger.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: #111;
  z-index: 1;
}

.pdp-Tabs_Panel {
  display: none;
  padding: 1.25rem 0 0;
}

.pdp-Tabs_Panel.is-active {
  display: block;
}

.pdp-Tabs_Panel[hidden] {
  display: none !important;
}

.pdp-Tabs_Content {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #333;
}

.pdp-Tabs_Content > p:first-child {
  margin-top: 0;
}

.pdp-Tabs_Content p {
  margin: 0 0 1rem;
  color: #444;
}

.pdp-Tabs_Content ul,
.pdp-Details_List {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.pdp-Tabs_Content ul li,
.pdp-Details_List li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.pdp-Tabs_Content ul li::before,
.pdp-Details_List li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #111;
}

.pdp-Details_Clamp {
  max-height: 11rem;
  overflow: hidden;
  position: relative;
}

.pdp-Details_Clamp.is-expanded {
  max-height: none;
}

.pdp-Details_Clamp:not(.is-expanded)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5rem;
  background: linear-gradient(transparent, #fff);
}

.pdp-ReadMore {
  border: none;
  background: none;
  padding: 0.75rem 0 0;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  color: #111;
}

.pdp-Tags {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: #666;
}

.pdp-Tags a {
  color: #111;
}

/* Reviews */
.pdp-Reviews {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid #e5e5e5;
}

.pdp-Reviews_Title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1.5rem;
  font-weight: 400;
}

.pdp-Related {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.pdp-Related h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
