/* ===== BREADCRUMB ===== */
.breadcrumb {
  margin-top: 80px;
  padding: 14px 48px;
  background: var(--grey-light);
  border-bottom: 1px solid #e5e5e5;
}
.breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--grey);
  letter-spacing: 1px;
  max-width: 1300px;
  margin: 0 auto;
}
.breadcrumb__inner a { color: var(--grey); transition: color .2s; }
.breadcrumb__inner a:hover { color: var(--gold); }
.breadcrumb__inner span:last-child { color: var(--black); font-weight: 500; }

/* ===== PRODUCT PAGE LAYOUT ===== */
.product-page {
  padding: 60px 48px 100px;
  max-width: 1300px;
  margin: 0 auto;
}
.product-page__inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  position: sticky;
  top: 100px;
}
.gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gallery__thumb {
  width: 80px;
  height: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
  padding: 0;
  overflow: hidden;
  transition: border-color .2s;
}
.gallery__thumb--active { border-color: var(--gold); }
.gallery__thumb:hover { border-color: rgba(201,168,76,0.5); }

.gallery__thumb-img {
  width: 100%;
  height: 100%;
}
.gallery__thumb-img--1 { background: linear-gradient(135deg, #f0e8d4 0%, #e0c87a 100%); }
.gallery__thumb-img--2 { background: linear-gradient(135deg, #f5f5f5 0%, #dcc97e 100%); }
.gallery__thumb-img--3 { background: linear-gradient(135deg, #0A0A0A 0%, #2a2a2a 100%); }
.gallery__thumb-img--4 { background: linear-gradient(135deg, #C9A84C 0%, #F5D78E 100%); }

.gallery__main-img {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #f0e8d4 0%, #e0c87a 60%, #C9A84C 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
  transition: background .4s;
}
.gallery__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.gallery__bbr {
  font-family: var(--font-serif);
  font-size: 80px;
  font-weight: 700;
  color: rgba(10,10,10,0.15);
  letter-spacing: 8px;
  line-height: 1;
}
.gallery__label-img {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(10,10,10,0.4);
}
.gallery__name-img {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: rgba(10,10,10,0.5);
}

.gallery__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gold);
  color: var(--black);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
}
.gallery__zoom {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: background .2s;
}
.gallery__zoom:hover { background: var(--gold); }

/* ===== PRODUCT INFO ===== */
.product-info__top { margin-bottom: 28px; }
.product-info__line {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.product-info__title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}
.product-info__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.product-info__rating span { font-size: 12px; color: var(--grey); }

.product-info__price-block {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.product-info__price {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--gold);
}
.product-info__tag {
  font-size: 11px;
  color: #2a7a2a;
  background: #e8f5e8;
  padding: 4px 12px;
  border-radius: 20px;
}
.product-info__divider {
  height: 1px;
  background: linear-gradient(to right, rgba(201,168,76,0.3), transparent);
  margin: 24px 0;
}

/* ===== OPTIONS ===== */
.option-group { margin-bottom: 28px; }
.option-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.option-group__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.option-group__selected { font-size: 12px; color: var(--gold); }
.option-group__guide {
  background: none;
  border: none;
  font-size: 11px;
  color: var(--gold);
  cursor: pointer;
  letter-spacing: 1px;
  text-decoration: underline;
  padding: 0;
  font-family: var(--font-sans);
}

.color-options { display: flex; gap: 12px; }
.color-option {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  outline: 2px solid transparent;
  outline-offset: 3px;
}
.color-option:hover { outline-color: rgba(201,168,76,0.5); }
.color-option--active { outline-color: var(--gold); }

.size-options { display: flex; gap: 10px; flex-wrap: wrap; }
.size-option {
  width: 52px;
  height: 52px;
  border: 1.5px solid #ddd;
  background: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all .2s;
}
.size-option:hover { border-color: var(--gold); color: var(--gold); }
.size-option--active { border-color: var(--gold); background: var(--gold); color: var(--black); font-weight: 600; }
.size-option--unavailable { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }
.size-note { font-size: 11px; color: var(--grey); margin-top: 10px; }

/* ===== PURCHASE ===== */
.purchase-block {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}
.qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid #ddd;
  gap: 0;
}
.qty-btn {
  width: 44px;
  height: 52px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--black);
  transition: background .2s;
  font-family: var(--font-sans);
}
.qty-btn:hover { background: var(--grey-light); }
.qty-value {
  width: 44px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  border-left: 1.5px solid #ddd;
  border-right: 1.5px solid #ddd;
  line-height: 52px;
}
.btn--add {
  flex: 1;
  height: 52px;
  padding: 0;
  font-size: 11px;
  letter-spacing: 3px;
}
.btn-buy-now {
  width: 100%;
  height: 52px;
  background: var(--black);
  color: var(--white);
  border: none;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s;
  margin-bottom: 24px;
}
.btn-buy-now:hover { background: var(--dark2); }

.shopify-buy-wrap { margin: 16px 0; }

/* ===== PERKS ===== */
.perks { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.perk {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--grey-light);
}
.perk svg { flex-shrink: 0; color: var(--gold); }
.perk strong { display: block; font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.perk span { font-size: 11px; color: var(--grey); }

/* ===== ACCORDION ===== */
.accordion { border-top: 1px solid #eee; }
.accordion__item { border-bottom: 1px solid #eee; }
.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--black);
  text-align: left;
  transition: color .2s;
}
.accordion__trigger:hover { color: var(--gold); }
.accordion__trigger svg { transition: transform .3s; flex-shrink: 0; }
.accordion__trigger.open svg { transform: rotate(180deg); }
.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  padding: 0;
}
.accordion__content.open {
  max-height: 400px;
  padding-bottom: 20px;
}
.accordion__content p,
.accordion__content ul { font-size: 13px; color: #555; line-height: 1.8; }
.accordion__content ul { padding-left: 20px; }
.accordion__content ul li { margin-bottom: 4px; }

/* ===== MODAL TAILLES ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  padding: 48px;
  max-width: 560px;
  width: 90%;
  position: relative;
  animation: fadeUp .3s ease;
}
.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--grey);
  transition: color .2s;
}
.modal__close:hover { color: var(--black); }
.modal h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 6px;
}
.modal__sub { font-size: 12px; color: var(--grey); margin-bottom: 28px; }
.size-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.size-table th, .size-table td {
  padding: 12px 16px;
  text-align: center;
  font-size: 13px;
  border-bottom: 1px solid #eee;
}
.size-table th { font-weight: 600; letter-spacing: 1px; color: var(--grey); font-size: 11px; text-transform: uppercase; }
.size-table__highlight td { background: rgba(201,168,76,0.08); color: var(--gold); font-weight: 600; }
.modal__tip { font-size: 12px; color: var(--grey); background: #f9f9f9; padding: 12px 16px; }

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1500;
  display: none;
  backdrop-filter: blur(2px);
}
.cart-overlay.open { display: block; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 95vw;
  height: 100vh;
  background: var(--white);
  z-index: 1600;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid #eee;
}
.cart-drawer__header h3 { font-family: var(--font-serif); font-size: 24px; }
.cart-drawer__close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--grey);
  transition: color .2s;
}
.cart-drawer__close:hover { color: var(--black); }

.cart-drawer__items { flex: 1; overflow-y: auto; padding: 24px 28px; }

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}
.cart-item__img {
  width: 80px;
  height: 100px;
  flex-shrink: 0;
}
.cart-item__img-inner { width: 100%; height: 100%; background: linear-gradient(135deg, #f0e8d4, #e0c87a); }
.cart-item__info { flex: 1; }
.cart-item__line { font-size: 9px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; display: block; margin-bottom: 4px; }
.cart-item__name { font-family: var(--font-serif); font-size: 18px; margin-bottom: 6px; }
.cart-item__meta { font-size: 11px; color: var(--grey); margin-bottom: 12px; }
.cart-item__footer { display: flex; justify-content: space-between; align-items: center; }
.cart-item__price { font-family: var(--font-serif); font-size: 20px; color: var(--gold); }
.cart-item__remove { background: none; border: none; font-size: 11px; color: var(--grey); cursor: pointer; text-decoration: underline; }
.cart-item__remove:hover { color: var(--black); }

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--grey);
}
.cart-empty p { font-family: var(--font-serif); font-size: 22px; margin-bottom: 8px; }
.cart-empty span { font-size: 12px; }

.cart-drawer__footer {
  padding: 24px 28px;
  border-top: 1px solid #eee;
  background: #fafafa;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}
#cartTotal { font-family: var(--font-serif); font-size: 26px; color: var(--gold); }
.cart-shipping { font-size: 11px; color: var(--grey); margin-bottom: 16px; }
.cart-continue {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 11px;
  color: var(--grey);
  letter-spacing: 1px;
  transition: color .2s;
}
.cart-continue:hover { color: var(--gold); }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--black);
  color: var(--white);
  padding: 14px 28px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3000;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
  border-left: 3px solid var(--gold);
}
.toast svg { color: var(--gold); }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ===== SIMILAR PRODUCTS ===== */
.similar {
  padding: 80px 48px;
  background: var(--grey-light);
}
.similar__header {
  text-align: center;
  margin-bottom: 48px;
}
.similar__header h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
}
.similar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-page__inner { grid-template-columns: 1fr; gap: 48px; }
  .gallery { position: static; }
  .similar__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .product-page { padding: 40px 24px 80px; }
  .breadcrumb { padding: 14px 24px; }
  .gallery { grid-template-columns: 60px 1fr; gap: 12px; }
  .gallery__thumb { width: 60px; height: 78px; }
  .product-info__title { font-size: 36px; }
  .purchase-block { flex-wrap: wrap; }
  .btn--add { width: 100%; }
  .similar { padding: 60px 24px; }
  .similar__grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .modal { padding: 32px 24px; }
  .cart-drawer { width: 100%; }
}
