.breadcrumb {
  display: flex;
  gap: 10px;
  padding-top: 112px;
  padding-bottom: 22px;
  color: #8996a3;
  font-size: 12px;
}

.breadcrumb b {
  color: #4e6071;
  font-weight: 500;
}

.commerce-product {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 90px;
}

.product-main-media {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #e9f0f5;
}

.product-main-media img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
}

.media-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 7px 11px;
  border-radius: 5px;
  background: #fff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.media-zoom {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(18, 34, 53, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  font-size: 20px;
}

.product-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.product-thumbs button {
  width: 78px;
  height: 64px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.product-thumbs button.active {
  border-color: var(--blue);
}

.product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-purchase {
  position: sticky;
  top: 100px;
}

.product-category {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
}

.product-purchase h1 {
  margin: 11px 0 8px;
  font-size: clamp(36px, 3.8vw, 54px);
  line-height: 1.22;
  letter-spacing: 0;
}

.product-model-line {
  margin: 0;
  color: #82909e;
  font-size: 13px;
}

.product-model-line strong {
  margin-left: 10px;
  color: var(--ink);
}

.product-summary {
  margin: 24px 0;
  color: var(--muted);
  font-size: 17px;
}

.purchase-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.purchase-benefits>div {
  min-height: 120px;
  padding: 15px;
  border-right: 1px solid var(--line);
}

.purchase-benefits>div:last-child {
  border: 0;
}

.purchase-benefits i {
  color: var(--blue);
  font-style: normal;
  font-size: 11px;
}

.purchase-benefits b,
.purchase-benefits small {
  display: block;
}

.purchase-benefits b {
  margin-top: 21px;
  font-size: 14px;
}

.purchase-benefits small {
  color: #8996a3;
  font-size: 10px;
}

.purchase-status {
  margin-top: 18px;
  padding: 19px 20px;
  border-radius: var(--radius);
  background: #eaf1fb;
}

.purchase-status span,
.purchase-status strong,
.purchase-status small {
  display: block;
}

.purchase-status span {
  color: #798898;
  font-size: 12px;
}

.purchase-status strong {
  margin: 3px 0;
  color: var(--blue);
  font-size: 23px;
}

.purchase-status small {
  color: #798898;
}

.purchase-actions {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 10px;
  margin-top: 18px;
}

.purchase-note {
  color: #8b98a5;
  font-size: 11px;
}

.product-information {
  padding-top: 20px;
  padding-bottom: 110px;
}

.product-tabs-nav {
  position: sticky;
  z-index: 20;
  top: 84px;
  display: flex;
  gap: 34px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
}

.product-tabs-nav a {
  position: relative;
  color: #728293;
  font-size: 14px;
}

.product-tabs-nav a.active {
  color: var(--ink);
  font-weight: 700;
}

.product-tabs-nav a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -17px;
  left: 0;
  height: 2px;
  background: var(--blue);
}

.product-info-layout {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 80px;
  align-items: start;
  padding: 76px 0;
}

.product-description h2,
.spec-panel h2 {
  margin: 12px 0 28px;
  font-size: 34px;
}

.prose {
  color: #465b6d;
  font-size: 17px;
  line-height: 1.95;
}

.prose h2,
.prose h3 {
  color: var(--ink);
  line-height: 1.35;
}

.prose img {
  max-width: 100%;
  border-radius: var(--radius);
}

.prose blockquote {
  margin: 32px 0;
  padding: 24px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #eaf1f5;
  color: var(--ink);
  font-size: 22px;
}

.spec-panel {
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.spec-panel .section-label {
  color: #d9edf5;
}

.spec-panel dl {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 16px;
  margin: 0;
  padding: 15px 0;
  border-top: 1px solid var(--line-dark);
}

.spec-panel dt {
  color: #91a7b8;
}

.spec-panel dd {
  margin: 0;
  text-align: right;
}

.spec-panel>small {
  display: block;
  margin-top: 20px;
  color: #849cad;
}

.delivery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.delivery-strip>div {
  min-height: 180px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.delivery-strip>div:last-child {
  border: 0;
}

.delivery-strip i {
  color: var(--blue);
  font-style: normal;
  font-size: 11px;
}

.delivery-strip h3 {
  margin: 38px 0 7px;
  font-size: 18px;
}

.delivery-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Product inquiry form */
.product-inquiry {
  padding-top: 20px;
  padding-bottom: 40px;
}

.inquiry-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
  padding: 48px 56px;
}

.inquiry-header {
  margin-bottom: 36px;
}

.inquiry-header h2 {
  margin: 12px 0 8px;
  font-size: 26px;
  font-weight: 600;
}

.inquiry-header p {
  color: #6b7280;
  font-size: 15px;
}

.inquiry-form .form-message {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}

.inquiry-form .form-message.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.inquiry-form .form-message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.inquiry-grid label,
.inquiry-full label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inquiry-grid label span,
.inquiry-full label span {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.inquiry-grid input,
.inquiry-full textarea {
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}

.inquiry-grid input:focus,
.inquiry-full textarea:focus {
  border-color: #3f5cf4;
  box-shadow: 0 0 0 3px rgba(63, 92, 244, .1);
}

.inquiry-captcha .captcha-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.inquiry-captcha .captcha-row input {
  flex: 1;
}

.inquiry-captcha .captcha-row img {
  height: 42px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #d1d5db;
}

.inquiry-full {
  margin-bottom: 24px;
}

.inquiry-full textarea {
  width: 100%;
  resize: vertical;
}

.inquiry-submit {
  display: flex;
  align-items: center;
  gap: 16px;
}

.inquiry-submit small {
  color: #9ca3af;
  font-size: 13px;
}

@media (max-width: 820px) {
  .inquiry-card {
    padding: 32px 24px;
  }

  .inquiry-grid {
    grid-template-columns: 1fr;
  }
}

.related-products {
  padding-top: 30px;
  padding-bottom: 120px;
}

/* Solutions */.product-gallery {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: start
}

.product-thumbs {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0
}

.product-thumbs button {
  width: 82px;
  height: 72px
}

.product-main-media {
  grid-column: 2;
  grid-row: 1
}

.product-main-media img {
  object-fit: contain;
  padding: 24px;
  background: #fff
}

.product-main-media {
  background: #fff
}

.product-purchase {
  padding-top: 8px
}

.product-purchase h1 {
  font-weight: 600
}

.purchase-status {
  background: #f6f8fb;
  border: 1px solid #e6ebf1
}

.purchase-actions .button {
  border-radius: 999px
}

.purchase-actions .button-secondary {
  border-radius: 999px
}

.product-tabs-nav {
  border-radius: 0;
  border-width: 0 0 1px;
  padding-left: 0;
  padding-right: 0;
  background: transparent
}

.product-tabs-nav a.active::after {
  bottom: -17px
}

.spec-panel {
  border-radius: 5px
}

.delivery-strip {
  border-radius: 5px
}

@media(max-width:820px) {
  .product-gallery {
    display: block
  }

  .product-thumbs {
    flex-direction: row;
    margin-top: 12px;
    overflow-x: auto
  }

  .product-thumbs button {
    flex: 0 0 70px;
    width: 70px;
    height: 60px
  }

  .product-main-media {
    min-height: 430px
  }

  .product-main-media img {
    min-height: 430px
  }
}

/* Reference-site interaction polish */
/* Migrated from product_detail.html inline styles */

    /* ===== Product Detail - Strict Reference Match ===== */
    .pd-wrap {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 0;
        min-height: 100vh
    }

    .site-page-products {
        background: #fff !important
    }

    .pd-left {
        padding: 80px 50px 80px 0;
    }

    .pd-right {
        position: sticky;
        top: 80px;
        height: fit-content;
        padding: 50px 0 50px 50px
    }

    /* Gallery */
    .pd-gallery {
        display: grid;
        grid-template-columns: 90px 1fr;
        gap: 16px;
        align-items: start;
        margin-bottom: 0
    }

    .pd-thumbs {
        display: flex;
        flex-direction: column;
        gap: 10px
    }

    .pd-thumbs button {
        width: 90px;
        height: 90px;
        padding: 0;
        border: 2px solid transparent;
        border-radius: 8px;
        background: #fff;
        cursor: pointer;
        overflow: hidden;
        transition: border-color .2s
    }

    .pd-thumbs button.active {
        border-color: #e74c3c
    }

    .pd-thumbs img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .pd-main {
        background: #fff;
        border-radius: 0;
        min-height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden
    }

    .pd-main img {
        width: 100%;
        height: auto;
        max-height: 600px;
        object-fit: contain
    }

    /* Product detail */
    .pd-detail {
        margin-top: 40px
    }

    .pd-detail-title {
        font-size: 22px;
        font-weight: 700;
        margin: 0 0 24px;
        color: #1a1a1a
    }

    .pd-pane img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 20px 0
    }

    .pd-pane p {
        color: #555;
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 16px
    }

    /* Product recommendations */
    .pd-related {
        padding: 40px 0 0;
        border-top: 1px solid #f0f0f0;
        margin-top: 40px
    }

    .pd-related h3 {
        font-size: 20px;
        font-weight: 600;
        margin: 0 0 24px
    }

    .pd-related-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px
    }

    .pd-related-card {
        border: 1px solid #f0f0f0;
        border-radius: 8px;
        overflow: hidden;
        text-decoration: none;
        transition: box-shadow .2s
    }

    .pd-related-card:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,.08)
    }

    .pd-related-img {
        width: 100%;
        aspect-ratio: 4/3;
        background: #f8f9fa;
        overflow: hidden
    }

    .pd-related-img img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .pd-related-info {
        padding: 14px 16px
    }

    .pd-related-info h4 {
        font-size: 15px;
        font-weight: 600;
        margin: 0 0 6px;
        color: #1a1a1a;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .pd-related-info p {
        font-size: 13px;
        color: #999;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    /* ===== Right Sidebar ===== */
    .pd-right-inner {
        display: flex;
        flex-direction: column;
        gap: 0
    }

    .pd-right h1 {
        font-size: 26px;
        font-weight: 700;
        margin: 0 0 8px;
        line-height: 1.3;
        color: #1a1a1a
    }

    .pd-right-model {
        font-size: 13px;
        color: #999;
        margin: 0 0 16px
    }

    .pd-right-desc {
        color: #555;
        font-size: 14px;
        line-height: 1.8;
        margin: 0 0 24px
    }

    .pd-right-specs {
        list-style: none;
        padding: 0;
        margin: 0 0 24px
    }

    .pd-right-specs li {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid #f5f5f5;
        font-size: 13px
    }

    .pd-right-specs li span:first-child {
        color: #999
    }

    .pd-right-specs li span:last-child {
        color: #333;
        font-weight: 500
    }

    .pd-right-btn {
        display: block;
        width: 100%;
        padding: 13px;
        background: #3360ff;
        color: #fff;
        text-align: center;
        font-size: 15px;
        font-weight: 500;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        text-decoration: none;
        transition: background .2s
    }

    .pd-right-btn:hover {
        background: #2950e0
    }

    /* Sticky bottom bar */

    /* Inquiry in left content */
    .pd-inquiry {
        padding: 40px 0 0;
        border-top: 1px solid #f0f0f0;
        margin-top: 40px
    }

    .pd-inquiry h3 {
        font-size: 20px;
        font-weight: 600;
        margin: 0 0 6px
    }

    .pd-inquiry>p {
        color: #999;
        font-size: 13px;
        margin: 0 0 20px
    }

    .pd-inquiry-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px
    }

    .pd-inquiry-form label {
        display: flex;
        flex-direction: column;
        gap: 4px
    }

    .pd-inquiry-form label span {
        font-size: 13px;
        color: #666
    }

    .pd-inquiry-form input,
    .pd-inquiry-form textarea {
        padding: 10px 14px;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        font-size: 14px
    }

    .pd-inquiry-form input:focus,
    .pd-inquiry-form textarea:focus {
        outline: none;
        border-color: #3360ff
    }

    .pd-inquiry-form .full {
        grid-column: 1/-1
    }

    .pd-captcha-row {
        display: flex;
        gap: 8px;
        align-items: center
    }

    .pd-captcha-row input {
        flex: 1
    }

    .pd-captcha-row img {
        height: 40px;
        cursor: pointer;
        border-radius: 4px
    }

    .pd-inquiry-submit {
        grid-column: 1/-1;
        display: flex;
        align-items: center;
        gap: 16px
    }

    .pd-inquiry-submit button {
        padding: 12px 36px;
        background: #3360ff;
        color: #fff;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        cursor: pointer
    }

    .pd-inquiry-submit small {
        color: #bbb;
        font-size: 12px
    }

    /* Mobile */
    @media(max-width:1000px) {
        .pd-wrap {
            grid-template-columns: 1fr;
            display: flex;
            flex-direction: column
        }

        .pd-right {
            position: static;
            padding: 20px 0 30px;
            border-right: none;
            border-bottom: 1px solid #f0f0f0;
            order: -1
        }

        .pd-left {
            padding: 20px 0
        }

        .pd-gallery {
            grid-template-columns: 60px 1fr;
            gap: 10px
        }

        .pd-thumbs button {
            width: 60px;
            height: 60px
        }

        .pd-main {
            min-height: 300px
        }

        .pd-inquiry-form {
            grid-template-columns: 1fr
        }

        .pd-inquiry-form .full {
            grid-column: 1
        }

        .pd-inquiry-submit {
            grid-column: 1
        }

        .pd-right h1 {
            font-size: 22px
        }

        .pd-right-desc {
            font-size: 13px
        }

        .pd-related-grid {
            grid-template-columns: 1fr
        }
    }

    /* Toast modal */
    .pd-toast {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #333;
        color: #fff;
        padding: 14px 28px;
        border-radius: 8px;
        font-size: 14px;
        z-index: 9999;
        opacity: 0;
        transition: opacity .25s;
        pointer-events: none;
        white-space: nowrap
    }

    .pd-toast.show {
        opacity: 1
    }
