/* DEV RAW — versatile WooCommerce single product (simple, variable, grouped, external) */
:root {
  --dws-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --dws-brand: Raleway, Inter, sans-serif;
  --ink: #111827;
  --muted: #667085;
  --soft: #f7f8fa;
  --soft2: #f2f4f7;
  --accent: #111827;
  --mint: rgba(0, 142, 214, 0.1);
  --teal: #008ed6;
  --border: #e4e7ec;
  --shadow-soft: 0 10px 30px rgba(17, 24, 39, 0.055);
  --i-max: 1060px;
}

.i-wrap {
  width: min(var(--i-max), calc(100% - 34px));
  margin: 0 auto;
}

.dws-product-page .product-page {
  padding: 20px 0 72px;
}

.dws-product-breadcrumb {
  padding: 28px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.dws-product-breadcrumb a {
  color: var(--teal);
  font-weight: 600;
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 36px;
}

.product-stage {
  aspect-ratio: 1;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.product-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(0, 142, 214, 0.08), transparent 55%);
}

.product-stage-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-icon {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 35%, #fff 0%, #f5f6f8 60%, #eef1f4 100%);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 22px;
  color: var(--teal);
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
}

.i-eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-copy h1 {
  margin: 12px 0 10px;
  font-family: var(--dws-brand);
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 900;
}

.product-copy .lead,
.dws-product-lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  max-width: 44ch;
}

.meta-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.meta-badge {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--soft);
  color: #475467;
  font-size: 12px;
  font-weight: 800;
}

.dws-tier-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 20px;
}

.dws-tier-card {
  min-height: 94px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
  padding: 14px 12px;
  text-align: left;
  cursor: pointer;
  transition: 0.18s ease;
  display: grid;
  gap: 5px;
  font: inherit;
}

.dws-tier-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 55px rgba(17, 24, 39, 0.08);
}

.dws-tier-card.is-selected {
  border-color: var(--teal);
  background: var(--mint);
  box-shadow: 0 0 0 2px rgba(0, 142, 214, 0.18), var(--shadow-soft);
}

.dws-tier-card:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.dws-tier-name {
  font-size: 13px;
  font-weight: 950;
}

.dws-tier-price {
  font-size: 16px;
  font-weight: 950;
}

.dws-tier-note {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}

.dws-live-price {
  margin: 0 0 20px;
}

.price-display {
  margin: 0 0 20px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.price-display small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.dws-stock-status {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.cta-row {
  display: grid;
  gap: 10px;
}

.purchase-box {
  display: grid;
  gap: 12px;
}

.dws-add-to-cart-zone form.cart,
.dws-add-to-cart-zone form.variations_form,
.dws-add-to-cart-zone form.grouped_form {
  display: grid;
  gap: 12px;
}

.dws-add-to-cart-zone .quantity {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  background: var(--soft2);
  padding: 4px;
  border-radius: 999px;
}

.dws-add-to-cart-zone .quantity input.qty {
  width: 76px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  text-align: center;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.06);
}

.dws-add-to-cart-zone .variations {
  display: grid;
  gap: 12px;
  width: 100%;
  border: 0;
  margin: 0;
}

.dws-add-to-cart-zone .variations tr,
.dws-add-to-cart-zone .variations td,
.dws-add-to-cart-zone .variations th {
  display: block;
  padding: 0;
  border: 0;
  text-align: left;
}

.dws-add-to-cart-zone .variations label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}

.dws-add-to-cart-zone select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0 14px;
  background: var(--soft);
}

.dws-add-to-cart-zone .reset_variations {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  margin-top: 4px;
}

.dws-add-to-cart-zone .single_variation_wrap {
  display: grid;
  gap: 12px;
}

.dws-add-to-cart-zone .single_variation,
.dws-add-to-cart-zone .woocommerce-variation {
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  color: #475467;
  font-size: 14px;
}

.dws-add-to-cart-zone .woocommerce-variation-price {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.dws-add-to-cart-zone .woocommerce-variation-description {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.dws-add-to-cart-zone .woocommerce-variation-availability {
  margin-top: 6px;
  font-size: 13px;
}

.dws-add-to-cart-zone .single_add_to_cart_button,
.dws-add-to-cart-zone .button.alt,
.dws-add-to-cart-zone .btn-bag {
  display: flex;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.dws-add-to-cart-zone .single_add_to_cart_button.disabled,
.dws-add-to-cart-zone .single_add_to_cart_button.wc-variation-selection-needed {
  opacity: 0.55;
  cursor: not-allowed;
}

.dws-add-to-cart-zone .grouped_form table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.dws-add-to-cart-zone .grouped_form td {
  padding: 8px 0;
  vertical-align: middle;
}

.dws-add-to-cart-zone .grouped_form label a {
  font-weight: 700;
  color: var(--ink);
}

.btn-secondary {
  display: flex;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.trust {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.mason-dev-vault-claim {
  margin-top: 12px;
}

.mason-dev-vault-claim .button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.feature-pill {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 18px;
  text-align: center;
}

.feature-pill strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.feature-pill span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.section-card {
  background: #fff;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  padding: 32px;
  margin-bottom: 18px;
}

.section-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.section-card p,
.section-card li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
}

.dws-product-specs table.shop_attributes {
  width: 100%;
  border-collapse: collapse;
}

.dws-product-specs table.shop_attributes th,
.dws-product-specs table.shop_attributes td {
  padding: 12px 0;
  border-bottom: 1px solid #eef0f3;
  text-align: left;
}

.woocommerce-tabs,
.related.products,
.upsells.products {
  background: #fff;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  padding: 32px;
  margin: 18px 0;
}

.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.woocommerce-tabs ul.tabs li a {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 13px;
  font-weight: 850;
  color: #475467;
  text-decoration: none;
}

.woocommerce-tabs ul.tabs li.active a {
  background: var(--ink);
  color: #fff;
}

@media (max-width: 1120px) {
  .product-hero,
  .feature-strip,
  .dws-tier-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .product-stage {
    padding: 26px;
    border-radius: 28px;
  }
}
