/* Product Tabs Drawer */
.ptd-wrapper {
  font-family: inherit;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 1.6;
  max-width: 100%;
}

/* === TRIGGER BUTTONS === */
.ptd-triggers {
  display: flex;
  gap: 40px;
  border-bottom: 1px solid #e5e5e5;
}
.ptd-trigger-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  padding: 12px 0;
  cursor: pointer;
  color: #555;
  position: relative;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.ptd-trigger-btn:hover { color: #1a1a1a; }
.ptd-trigger-btn.active { color: #1a1a1a; }
.ptd-trigger-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: #1a1a1a;
}

/* === OVERLAY === */
.ptd-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.3s;
}
.ptd-overlay.open { display: block; opacity: 1; }

/* === DRAWER === */
.ptd-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 480px;
  max-width: 90vw;
  height: 100%;
  background: #fff;
  z-index: 99999;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,0.08);
}
.ptd-drawer.open { right: 0; }

.ptd-drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #555;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  line-height: 1;
}
.ptd-drawer-close:hover { color: #000; }

.ptd-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 50px 32px 24px;
}

.ptd-drawer-content { display: none; }
.ptd-drawer-content.active { display: block; }

/* Drawer bottom tabs */
.ptd-drawer-tabs {
  display: flex;
  border-top: 1px solid #e5e5e5;
  flex-shrink: 0;
}
.ptd-drawer-tab {
  flex: 1;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  padding: 16px 8px;
  cursor: pointer;
  color: #888;
  transition: all 0.2s;
  border-top: 2px solid transparent;
  margin-top: -1px;
}
.ptd-drawer-tab.active { color: #1a1a1a; border-top-color: #1a1a1a; }
.ptd-drawer-tab:hover { color: #1a1a1a; }

/* === CONTENT STYLING === */
.ptd-content h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ptd-content p { margin-bottom: 12px; color: #444; }
.ptd-content ul { padding-left: 0; list-style: none; margin: 0; }
.ptd-content ul li { padding: 6px 0; color: #444; }
.ptd-content ul li::before { content: '– '; color: #999; }
.ptd-content img { max-width: 100%; height: auto; }
.ptd-content .ptd-label {
  font-weight: 500;
  color: #1a1a1a;
  display: block;
  margin-top: 20px;
  margin-bottom: 4px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ptd-content .ptd-specs-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.ptd-content .ptd-specs-table td { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.ptd-content .ptd-specs-table td:first-child { color: #888; width: 40%; }
.ptd-content .ptd-postal-input {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid #1a1a1a;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  color: #444;
  margin: 16px 0 28px;
  background: transparent;
}
.ptd-content .ptd-shipping-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: #444;
}
.ptd-content .ptd-shipping-row span:last-child { color: #999; font-size: 13px; }
.ptd-content .ptd-ref { color: #999; font-size: 13px; margin-top: 20px; }
.ptd-content .ptd-short-desc { margin-bottom: 16px; }
.ptd-content .ptd-full-desc { margin-bottom: 16px; }

/* === MOBILE: inline mode === */
.ptd-mobile-content { display: none; }

@media (max-width: 768px) {
  .ptd-overlay, .ptd-drawer { display: none !important; }
  .ptd-triggers { gap: 20px; overflow-x: auto; white-space: nowrap; }
  .ptd-trigger-btn { font-size: 13px; flex-shrink: 0; }
  .ptd-mobile-content { display: block; }
  .ptd-mobile-panel { display: none; padding: 24px 0; }
  .ptd-mobile-panel.active { display: block; }
}
