/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-main { min-height: 100vh; background: #fff; }
.product-wrap { padding-bottom: 4rem; padding-top: 2.5rem; }
@media (width >= 768px) { .product-wrap { padding-bottom: 5rem; padding-top: 4rem; } }
.product-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (width >= 1024px) { .product-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; } }

/* Gallery */
.product-gallery { display: flex; flex-direction: column; gap: 1.5rem; }
.product-main-img {
  position: relative; aspect-ratio: 4/5; width: 100%; max-width: 450px; margin: 0 auto;
  background: #F9F9F9; overflow: hidden;
}
@media (width >= 768px) { .product-main-img { margin: 0; } }
.product-main-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-discount {
  position: absolute; top: 1rem; left: 1rem; width: 3rem; height: 3rem; background: #000;
  border-radius: 9999px; display: flex; align-items: center; justify-content: center; z-index: 20;
}
.product-discount span { color: #fff; font-size: 0.75rem; font-weight: 700; }
@media (width >= 768px) { .product-discount span { font-size: 13px; } }
.product-badge {
  position: absolute; top: 0; right: 0; background: #f9e2bf; padding: 0.5rem 1.5rem;
  font-size: 10px; font-family: Georgia, "Times New Roman", serif; font-style: italic; letter-spacing: 0.08em; z-index: 10;
}
@media (width >= 768px) { .product-badge { padding-left: 2rem; padding-right: 2rem; font-size: 0.75rem; } }

.product-thumbs { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.5rem; }
.product-thumb {
  position: relative; width: 4rem; height: 5rem; flex-shrink: 0; cursor: pointer;
  border: 1px solid transparent; transition: all 0.15s;
}
@media (width >= 768px) { .product-thumb { width: 5rem; height: 6rem; } }
.product-thumb.is-active { border-color: #d4b1a4; }
.product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Info */
.product-info { display: flex; flex-direction: column; justify-content: flex-start; max-width: 42rem; }
.product-titlerow { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
@media (width >= 768px) { .product-titlerow { flex-direction: row; align-items: center; } }
.product-title { font-size: 32px; font-weight: 700; font-family: "Outfit", sans-serif; color: #000; line-height: 1.25; }
@media (width >= 768px) { .product-title { font-size: 38px; } }
.product-title-divider { display: none; height: 2rem; width: 1px; background: #d1d5db; }
@media (width >= 768px) { .product-title-divider { display: block; } }
.product-prices { display: flex; align-items: center; gap: 1rem; font-family: "Lato", sans-serif; }
.product-old { color: #999; text-decoration: line-through; font-size: 24px; }
@media (width >= 768px) { .product-old { font-size: 29px; } }
.product-price { color: #000; font-size: 24px; font-weight: 700; }
@media (width >= 768px) { .product-price { font-size: 29px; } }

.product-short { color: #545454; font-family: "Lato", sans-serif; font-size: 0.875rem; line-height: 1.625; margin-bottom: 2rem; white-space: pre-line; }
@media (width >= 768px) { .product-short { font-size: 15px; } }

.product-meta { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.product-meta p { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: #000; font-family: "Outfit", sans-serif; }
.product-meta p span { font-weight: 400; color: #777; margin-left: 0.25rem; }

.product-variants { margin-bottom: 2rem; }
@media (width >= 768px) { .product-variants { margin-bottom: 2.5rem; } }
.product-variants__label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #000; font-weight: 600; display: block; margin-bottom: 1rem; }
@media (width >= 768px) { .product-variants__label { font-size: 14px; } }
.product-variants__list { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (width >= 768px) { .product-variants__list { gap: 1rem; } }
.product-variant {
  padding: 0.625rem 1.25rem; border: 1px solid #d4d4d4; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: #737373; transition: all 0.3s; background: transparent;
}
@media (width >= 768px) { .product-variant { font-size: 13px; } }
.product-variant:hover { border-color: #DED0B9; background: #FCF7EE; color: #000; }
.product-variant.is-active { background: #FCF7EE; border-color: #DED0B9; color: #000; }

.product-purchase { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 3rem; }
.product-purchase a {
  width: 100%; padding-left: 3.5rem; padding-right: 3.5rem; background: #F9E4E1; border: 1px solid #000; color: #000;
  height: 3.5rem; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; transition: all 0.3s; font-family: "Lato", sans-serif;
}
@media (width >= 768px) { .product-purchase a { width: auto; font-size: 13px; } }
.product-purchase a:hover { background: #000; color: #fff; }

.product-tabs { margin-top: 1rem; }
.product-tabs__head { display: flex; flex-wrap: wrap; justify-content: flex-start; margin-bottom: 2rem; }
.product-tab {
  padding: 1rem 2rem; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  transition: all 0.3s; border: 1px solid #000; background: #fff; color: #000;
}
@media (width >= 768px) { .product-tab { padding-left: 3rem; padding-right: 3rem; } }
.product-tab--desc { margin-right: -1px; }
.product-tab:hover { background: #f9fafb; }
.product-tab.is-active { background: #000; color: #fff; }
.product-tab.is-active:hover { background: #000; }
.product-tabs__body { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.product-tabs__desc p { color: #545454; font-family: "Lato", sans-serif; font-size: 1rem; line-height: 1.625; }
.product-tabs__videos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.product-video { position: relative; aspect-ratio: 16/9; border-radius: 2px; overflow: hidden; background: #f5f5f5; box-shadow: 0 0 0 1px rgba(0,0,0,0.05); }
.product-video iframe { width: 100%; height: 100%; border: 0; }

.product-related { margin-top: 5rem; }
.product-related h2 { font-size: 24px; margin-bottom: 2rem; font-weight: 600; font-family: "Karla", sans-serif; border-top: 1px solid #e5e7eb; padding-top: 1rem; }
.product-related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (width >= 640px) { .product-related__grid { gap: 1.5rem; } }
@media (width >= 768px) { .product-related__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

/* Not found */
.product-notfound { text-align: center; padding: 10rem 1rem; }
.product-notfound h2 { font-size: 1.5rem; letter-spacing: 0.08em; text-transform: uppercase; }
.product-notfound a { margin-top: 2rem; display: inline-block; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid #000; padding-bottom: 0.25rem; }
