/* ===============================
   Unique Product Details CSS
   Prefix: pdp-
   Wrapper ID: #rexoProductDetails
================================ */

#rexoProductDetails {
  --pdp-primary: #ff7a00;
  --pdp-green: #008b62;
  --pdp-light-green: #dff8eb;
  --pdp-border: #e7e7e7;
  --pdp-text: #1f1f1f;
  --pdp-muted: #777;
  --pdp-card: #ffffff;
  --pdp-bg: #f5f4ef;
  --pdp-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);

  font-family: Arial, Helvetica, sans-serif;
  background: var(--pdp-bg);
  color: var(--pdp-text);
  padding: 28px;
}

#rexoProductDetails * {
  box-sizing: border-box;
}

.pdp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 24px;
  align-items: start;
}

/* Gallery */
.pdp-gallery-card,
.pdp-info-card,
.pdp-spec-card,
.pdp-feature-box {
  background: var(--pdp-card);
  border-radius: 10px;
  box-shadow: var(--pdp-shadow);
}

.pdp-gallery-card {
  position: relative;
  padding: 18px;
}

.pdp-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #7165ff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 3;
}

.pdp-main-image {
  width: 100%;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
  position: relative;
}

.pdp-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
  transform-origin: center center;
}

/* Hover Zoom */
.pdp-main-image:hover img {
  transform: scale(1.85);
}

/* Thumbnail */
.pdp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pdp-thumb {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  border: 1px solid var(--pdp-border);
  border-radius: 6px;
  padding: 4px;
  cursor: pointer;
  background: #fff;
}

.pdp-thumb.active {
  border: 2px solid var(--pdp-green);
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Product Info */
.pdp-info-card {
  padding: 24px;
}

.pdp-info-card h1 {
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 12px;
}

.pdp-status-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--pdp-muted);
  margin-bottom: 10px;
}

.pdp-stock {
  color: var(--pdp-green);
  font-weight: 700;
}

.pdp-category {
  display: inline-block;
  background: #ffe7d2;
  color: #ff6600;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.pdp-price-box {
  background: var(--pdp-light-green);
  border: 1px solid #a9e7c4;
  border-radius: 8px;
  padding: 15px 18px;
  margin-bottom: 14px;
}

.pdp-price-box span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: #466b55;
  font-weight: 700;
  margin-bottom: 5px;
}

.pdp-price-box strong {
  font-size: 34px;
  color: #111;
}

.pdp-short-text {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 16px;
}

.pdp-button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.pdp-outline-btn {
  height: 42px;
  border: 1px solid #cfcfcf;
  background: #fff;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.pdp-outline-btn:hover {
  border-color: var(--pdp-primary);
  color: var(--pdp-primary);
}

/* Seller */
.pdp-seller-box {
  border: 1px solid var(--pdp-border);
  border-radius: 8px;
  padding: 16px;
}

.pdp-seller-box h3 {
  font-size: 14px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.pdp-seller-item {
  border: 1px solid var(--pdp-border);
  border-radius: 8px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.pdp-seller-item h4 {
  font-size: 14px;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.pdp-seller-item p,
.pdp-seller-item small {
  margin: 0;
  color: var(--pdp-muted);
  font-size: 12px;
}

.pdp-seller-actions {
  min-width: 220px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pdp-seller-actions strong {
  grid-column: 1 / -1;
  justify-self: end;
  font-size: 20px;
}

.pdp-cart-btn,
.pdp-buy-btn {
  height: 42px;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.pdp-cart-btn {
  background: #fff;
  color: var(--pdp-green);
  border: 2px solid var(--pdp-green);
}

.pdp-buy-btn {
  background: var(--pdp-primary);
  color: #fff;
}

/* Specification */
.pdp-spec-card {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 18px 24px;
}

.pdp-spec-card h2 {
  font-size: 18px;
  color: var(--pdp-green);
  margin: 0 0 14px;
}

.pdp-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pdp-spec-table th,
.pdp-spec-table td {
  border: 1px solid var(--pdp-border);
  padding: 12px 14px;
  text-align: left;
}

.pdp-spec-table th {
  width: 38%;
  background: #f1f6e8;
  font-weight: 700;
}

.pdp-spec-table td {
  background: #fff;
}

.pdp-feature-box {
  max-width: 1200px;
  margin: 18px auto 0;
  padding: 18px 24px;
  font-size: 14px;
  color: #333;
}

/* Responsive */
@media (max-width: 900px) {
  #rexoProductDetails {
    padding: 16px;
  }

  .pdp-wrap {
    grid-template-columns: 1fr;
  }

  .pdp-main-image {
    height: 390px;
  }

  .pdp-info-card h1 {
    font-size: 21px;
  }
}

@media (max-width: 560px) {
  .pdp-main-image {
    height: 300px;
  }

  .pdp-button-row,
  .pdp-seller-item {
    grid-template-columns: 1fr;
  }

  .pdp-seller-actions {
    min-width: 100%;
  }

  .pdp-price-box strong {
    font-size: 28px;
  }

  .pdp-spec-table th,
  .pdp-spec-table td {
    display: block;
    width: 100%;
  }
}


/* ===============================
   Work Notice Contact Box
   Unique Prefix: workNotice-
   Wrapper ID: #safireWorkNoticeBox
================================ */

#safireWorkNoticeBox {
  margin: 18px 0 0;
}

.workNotice-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  border: 1px solid #ffd1a8;
  box-shadow: 0 10px 24px rgba(255, 122, 0, 0.12);
}

.workNotice-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ff7a00;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(255, 122, 0, 0.28);
}

.workNotice-content h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #1f1f1f;
  text-transform: uppercase;
}

.workNotice-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

.workNotice-contactRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.workNotice-whatsapp,
.workNotice-phone {
  min-height: 54px;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: 0.25s ease;
}

.workNotice-whatsapp span,
.workNotice-phone span {
  margin-right: 5px;
}

.workNotice-whatsapp small,
.workNotice-phone small {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.9;
}

.workNotice-whatsapp {
  background: #e9fff2;
  border: 1px solid #84e0a6;
  color: #087b3a;
}

.workNotice-phone {
  background: #fff2e6;
  border: 1px solid #ffbd82;
  color: #c95a00;
}

.workNotice-whatsapp:hover {
  background: #16a34a;
  color: #fff;
  transform: translateY(-2px);
}

.workNotice-phone:hover {
  background: #ff7a00;
  color: #fff;
  transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 560px) {
  .workNotice-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .workNotice-icon {
    margin: 0 auto;
  }

  .workNotice-contactRow {
    grid-template-columns: 1fr;
  }
}

.workNotice-whatsapp,
.workNotice-phone {
  min-height: 54px;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: 0.25s ease;
  text-align: center;
}

.workNotice-phone {
  flex-direction: column;
  gap: 3px;
}

.workNotice-phone small {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.9;
}