/* Product details page redesign (resources/views/front/product_details.blade.php)
   Same card style as the Contact Us page. Everything is scoped to .pd-page so other
   pages are not affected. Loaded after product-details.css. */

/* Breadcrumb: the global style shifts the bar down with `top: 45px` (overlapping the content
   below). Use margin instead so it keeps its position but takes up its real space. */
.pd-page .breadcrumbs { top: 0; margin-top: 167px; margin-bottom: 0; }
.pd-page .breadcrumbs ol { top: 0; }
@media (max-width: 991.98px) { .pd-page .breadcrumbs { margin-top: 135px; } }

/* ── Product summary card (gallery + info) ─────────────────────────────── */
.pd-page .inner-page { padding-top: 30px !important; }
.pd-page .card-wrapper { position: relative; height: auto !important; display: block; padding: 32px; background: #fff; border: 1px solid #e6edf5; border-radius: 20px; box-shadow: 0 18px 45px rgba(17, 51, 94, .10); overflow: hidden; }
.pd-page .card-wrapper::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #205fa2, #4f9be8, #34d399, #fb923c); }
.pd-page .card-wrapper > .card { background: transparent; border: 0; }
@media (min-width: 992px) {
    .pd-page .card-wrapper > .card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-gap: 44px; align-items: start; }
}

/* Gallery */
.pd-page .product-imgs { justify-content: flex-start; }
.pd-page .img-display { width: 100%; max-width: 520px; margin: 0 auto; border: 1px solid #e6edf5; border-radius: 16px; background: #fff; }
.pd-page .img-showcase img { display: block; object-fit: contain; max-height: 480px; }
.pd-page .img-select { flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
.pd-page .img-item { width: 86px; height: 86px; margin: 0; padding: 4px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.pd-page .img-item:hover { opacity: 1; border-color: #205fa2; box-shadow: 0 6px 16px rgba(32, 95, 162, .18); transform: translateY(-2px); }
.pd-page .img-item a, .pd-page .img-item img { display: block; width: 100%; height: 100%; }
.pd-page .img-item img { object-fit: contain; border-radius: 8px; }

/* Info column */
.pd-page .product-content { padding: 0; }
.pd-page .product-detail > br:first-child { display: none; }
.pd-page .product-detail p { padding: 0; margin: 0 0 14px; color: #4b5563; font-size: 15px; line-height: 1.75; text-align: left; }
.pd-page .product-detail p strong, .pd-page .product-detail p b { color: #1f2937; }

.pd-page .product-rating-box { display: inline-flex; align-items: center; gap: 10px; margin: 4px 0 18px; padding: 8px 16px; background: #fff8eb; border: 1px solid #fde7c2; border-radius: 30px; }
.pd-page .product-rating-box .rating-label { color: #6b7280; font-size: 13px; font-weight: 600; }
.pd-page .product-rating-box .rating-value { color: #1f2937; font-size: 13px; font-weight: 700; }

/* Shipping / Model / Brand / Availability as info chips */
.pd-page .product-detail ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; padding: 0; }
.pd-page .product-detail ul li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; background: #f8fafc; border: 1px solid #e6edf5; border-radius: 12px; color: #6b7280; font-size: 13px; font-weight: 600; opacity: 1; line-height: 1.35; }
.pd-page .product-detail ul li i { flex: 0 0 26px; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin: 0; padding: 0; border-radius: 50%; background: #205fa2; color: #fff; font-size: 12px; }
.pd-page .product-detail ul li span { color: #1f2937; font-weight: 700; }
.pd-page .product-detail ul li span.in-stock { color: #0e9f6e; }

/* Trust row: video, ISO, CE, email, WhatsApp */
.pd-page .pd-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 22px; padding: 14px 16px; background: #f8fafc; border: 1px dashed #d5e1ef; border-radius: 14px; }
.pd-page .pd-trust-item, .pd-page .pd-trust-badge { width: 56px; height: 56px; border-radius: 50%; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.pd-page .pd-trust-item { display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #fde2e1; color: #ce1312; font-size: 30px; text-decoration: none; }
.pd-page .pd-trust-badge { object-fit: contain; background: #fff; }
.pd-page .pd-trust-item:hover, .pd-page .pd-trust-badge:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(17, 51, 94, .15); }
.pd-page .pd-trust .product-contact-icons { margin-left: 4px; padding-left: 16px; border-left: 1px solid #dfe7f1; }

/* Action buttons */
.pd-page .purchase-info { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.pd-page .purchase-info > a { flex: 1 1 auto; text-decoration: none; }
.pd-page .purchase-info > a .pd-btn { width: 100%; }
.pd-page .pd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin: 0; padding: 12px 22px; border-radius: 12px; font-size: 15px; font-weight: 700; line-height: 1; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, filter .25s ease; }
.pd-page .pd-btn span { display: inline-flex; align-items: center; gap: 8px; }
.pd-page .pd-btn:hover { transform: translateY(-2px); }
.pd-page .pd-btn-primary { background: linear-gradient(90deg, #205fa2, #3b82c4); border: 0; color: #fff; box-shadow: 0 12px 24px -10px #205fa2; }
.pd-page .pd-btn-primary:hover { filter: brightness(1.08); box-shadow: 0 16px 30px -10px #205fa2; }
.pd-page .pd-btn-outline { background: #fff; border: 1.5px solid #c9d9ec; color: #205fa2; }
.pd-page .pd-btn-outline:hover { background: #eef4fb; border-color: #205fa2; }
.pd-page .pd-btn-pdf { background: #fff; border: 1.5px solid #f8c9c9; color: #dc2626; }
.pd-page .pd-btn-pdf:hover { background: #fef2f2; border-color: #dc2626; }

/* ── Tabs ──────────────────────────────────────────────────────────────── */
.pd-page .tabset { margin-top: 36px; padding: 10px 10px 0; background: #fff; border: 1px solid #e6edf5; border-radius: 18px; box-shadow: 0 12px 34px rgba(17, 51, 94, .08); }
.pd-page .tabset > label { display: inline-flex; align-items: center; gap: 8px; margin: 0 2px 10px 0; padding: 10px 16px; border: 1px solid transparent; border-radius: 10px; color: #4b5563; font-size: 13px; font-weight: 700; letter-spacing: .02em; transition: background .25s ease, color .25s ease; }
.pd-page .tabset > label br { display: none; }
.pd-page .tabset > label i { font-size: 18px; color: #205fa2; transition: color .25s ease; }
.pd-page .tabset > label:hover, .pd-page .tabset > input:focus + label { background: #eef4fb; color: #205fa2; }
.pd-page .tabset > input:checked + label { margin-bottom: 10px; background: #205fa2; border-bottom: 1px solid #205fa2; color: #fff; box-shadow: 0 8px 18px -8px #205fa2; }
.pd-page .tabset > input:checked + label i { color: #fff; }
.pd-page .tab-panels { border-top: 1px solid #edf2f7; margin: 0 -10px; }
.pd-page .tab-panel, .pd-page .tab-panels section { padding: 28px 26px; box-shadow: none; }
.pd-page .tab-panel { color: #4b5563; font-size: 15px; line-height: 1.75; }
.pd-page .tab-panel h2 { margin: 0 0 14px; font-size: 24px; line-height: 1.3; }
.pd-page .tab-panel h3, .pd-page .tab-panel h4 { margin: 22px 0 8px; color: #1f2937; font-size: 17px; font-weight: 700; }
.pd-page .tab-panel ul, .pd-page .tab-panel ol { margin: 0 0 16px; padding-left: 1.4rem; }
.pd-page .tab-panel li { margin-bottom: 4px; }
.pd-page .tab-panel table { width: 100%; margin-bottom: 16px; border-collapse: collapse; }
.pd-page .tab-panel table td, .pd-page .tab-panel table th { padding: 10px 12px; border: 1px solid #e6edf5; }
.pd-page .tab-panel table tr:nth-child(even) td { background: #f8fafc; }
.pd-page .tab-panel iframe { max-width: 100%; border-radius: 12px; }

/* ── Get a Quote card (same style as the Contact Us form) ──────────────── */
.pd-page .pd-quote { position: relative; margin-top: 36px; overflow: hidden; background: #fff; border: 1px solid #e6edf5; border-radius: 18px; box-shadow: 0 18px 45px rgba(17, 51, 94, .12); }
.pd-page .pd-quote::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #205fa2, #4f9be8, #34d399, #fb923c); }
.pd-page .pd-quote-head { display: flex; align-items: center; gap: 14px; padding: 26px 22px 6px; }
.pd-page .pd-quote-icon { flex: 0 0 52px; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #205fa2, #4f9be8); color: #fff; font-size: 25px; box-shadow: 0 10px 22px -8px #205fa2; }
.pd-page .pd-quote-head h3 { margin: 0 0 2px; color: #1f2937; font-family: inherit; font-size: 22px; font-weight: 800; text-transform: none; }
.pd-page .pd-quote-head p { margin: 0; color: #8a94a6; font-size: 13px; line-height: 1.45; }
.pd-page .getAqoute form, .pd-page .getAqoute .php-email-form { padding: 16px 22px 24px; background: transparent; border-radius: 0; }
.pd-page .getAqoute .form-group { margin-bottom: 12px; }
.pd-page .getAqoute .php-email-form .form-control { height: 46px; padding: 0 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: none; color: #1f2937; font-size: 14px; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.pd-page .getAqoute .php-email-form textarea.form-control { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.pd-page .getAqoute .php-email-form select.form-control { appearance: auto; cursor: pointer; }
.pd-page .getAqoute .php-email-form .form-control[readonly]:not(.capcha) { background: #eef4fb; color: #205fa2; font-weight: 600; }
.pd-page .getAqoute .php-email-form .form-control:focus { background: #fff; border-color: #205fa2; box-shadow: 0 0 0 4px rgba(32, 95, 162, .12); outline: 0; }
.pd-page .getAqoute .php-email-form .form-control::placeholder { color: #9aa5b5; }
.pd-page .getAqoute .capchaGroup { display: flex; gap: 10px; margin: 0; }
.pd-page .getAqoute .capchaGroup > .form-group { position: relative; flex: 1; margin-bottom: 12px; padding: 0; }
.pd-page .getAqoute .php-email-form .form-control.capcha { padding: 0 40px 0 10px; background: repeating-linear-gradient(-45deg, #eef4fb, #eef4fb 8px, #e4edf8 8px, #e4edf8 16px); border: 1px dashed #b9cde6; color: #205fa2; font-family: 'Courier New', monospace; font-size: 20px; font-style: italic; font-weight: 700; letter-spacing: 6px; text-align: center; }
.pd-page .getAqoute .capchaGroup a { position: absolute; right: 7px; top: 23px; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: #fff; color: #205fa2; font-size: 18px; box-shadow: 0 2px 6px rgba(17, 51, 94, .12); }
.pd-page .getAqoute .capchaGroup a i { position: static; font-size: 18px; color: #205fa2; }
.pd-page .getAqoute .capchaGroup .capchaInput input { height: 46px; border: 1px solid #e2e8f0; }
.pd-page .getAqoute .pd-submit { width: 100%; margin-top: 4px; padding: 13px 20px; border: 0; border-radius: 12px; background: linear-gradient(90deg, #205fa2, #3b82c4); color: #fff; font-size: 16px; font-weight: 700; box-shadow: 0 12px 24px -10px #205fa2; transition: transform .25s ease, filter .25s ease; }
.pd-page .getAqoute .pd-submit::before { display: none; }
.pd-page .getAqoute .pd-submit::after { content: "\2192"; margin-left: 10px; }
.pd-page .getAqoute .pd-submit:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* "or" + Call for Our Best Deal */
.pd-page .orPartition { margin: 18px 0; }
.pd-page .callForBestDeal { gap: 14px; padding: 18px; background: linear-gradient(135deg, #205fa2, #3b82c4); border: 0; border-radius: 16px; box-shadow: 0 14px 30px -12px #205fa2; color: #fff; }
.pd-page .callForBestDeal i { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; font-size: 26px; }
.pd-page .callForBestDeal span { color: #fff; font-size: 16px; font-weight: 600; line-height: 1.4; }
.pd-page .callForBestDeal span a { color: #fff; font-size: 20px; font-weight: 800; }

/* ── Related products ─────────────────────────────────────────────────── */
.pd-page .products .product-box { display: flex; flex-direction: column; align-items: center; width: 100%; height: 100%; padding: 18px 18px 20px; background: #fff; border: 1px solid #e6edf5; border-radius: 16px; box-shadow: 0 8px 24px rgba(17, 51, 94, .07); text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.pd-page .products .product-box:hover { transform: translateY(-6px); border-color: rgba(32, 95, 162, .35); box-shadow: 0 18px 38px rgba(17, 51, 94, .15); }
.pd-page .products .product-box .product-item-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 200px; margin-bottom: 14px; overflow: hidden; border-radius: 12px; background: #f8fafc; }
.pd-page .products .product-box img { width: 100%; height: 100%; object-fit: contain; }
.pd-page .products .product-box h3 { flex: 1; margin: 0 0 14px; color: #1f2937; font-size: 16px; font-weight: 700; line-height: 1.4; text-align: center; }
.pd-page .products .product-box button { padding: 9px 22px; border: 1.5px solid #c9d9ec; border-radius: 30px; background: #fff; color: #205fa2; font-size: 14px; font-weight: 700; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.pd-page .products .product-box:hover button { background: #205fa2; border-color: #205fa2; color: #fff; }
.pd-page .products .viewAll { margin-top: 26px; }

/* ── Mobile ───────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .pd-page .card-wrapper { padding: 22px 16px; }
    .pd-page .product-content { margin-top: 22px; }
}
@media (max-width: 575px) {
    .pd-page .product-detail ul { grid-template-columns: 1fr; }
    .pd-page .purchase-info > a { flex: 1 1 100%; }
    .pd-page .pd-trust { justify-content: center; }
    .pd-page .pd-trust .product-contact-icons { margin-left: 0; padding-left: 0; border-left: 0; }
    .pd-page .img-item { width: 70px; height: 70px; }
    .pd-page .tabset > label { padding: 8px 12px; font-size: 12px; }
    .pd-page .tab-panel, .pd-page .tab-panels section { padding: 22px 16px; }
}

/* ── By Test Standard / Application / Industry ──────────────────────────── */
.product-filters-section { position: relative; padding: 60px 0 40px; background: linear-gradient(180deg, #f5f9ff 0%, #eaf2fb 100%); }
.product-filters-section .pf-group { margin-bottom: 24px; padding: 24px; background: #fff; border: 1px solid #e3ebf5; border-radius: 18px; box-shadow: 0 10px 30px rgba(17, 51, 94, .07); }
.product-filters-section .pf-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px dashed #e5ecf4; }
.product-filters-section .pf-icon { flex: 0 0 46px; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, #205fa2, #4f9be8); color: #fff; font-size: 23px; box-shadow: 0 8px 18px -8px #205fa2; }
.product-filters-section .pf-group:nth-child(3) .pf-icon { background: linear-gradient(135deg, #0e9f6e, #34d399); box-shadow: 0 8px 18px -8px #0e9f6e; }
.product-filters-section .pf-group:nth-child(4) .pf-icon { background: linear-gradient(135deg, #ea580c, #fb923c); box-shadow: 0 8px 18px -8px #ea580c; }
.product-filters-section .pf-title { flex: 1; margin: 0; color: #1f2937; font-family: inherit; font-size: 21px; font-weight: 800; }
.product-filters-section .pf-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.product-filters-section .pf-link { display: inline-flex; align-items: center; gap: 4px; padding: 9px 16px 9px 10px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 30px; color: #374151; font-size: 14px; font-weight: 500; line-height: 1.3; text-decoration: none; word-break: break-word; transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease; }
.product-filters-section .pf-link i { color: #205fa2; font-size: 18px; transition: color .25s ease, transform .25s ease; }
.product-filters-section .pf-link:hover { background: #205fa2; border-color: #205fa2; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px -8px #205fa2; }
.product-filters-section .pf-link:hover i { color: #fff; transform: translateX(2px); }

@media (max-width: 575px) {
    .product-filters-section .pf-group { padding: 18px 14px; }
    .product-filters-section .pf-title { font-size: 18px; }
    .product-filters-section .pf-link { font-size: 13px; }
}
