/* Product page: full-width description with horizontal tabs and marketplace-style sections. */

/* Tabs across the top instead of a narrow side column */
.single-product div.product .woocommerce-tabs { padding-top: 24px; }
.single-product div.product .woocommerce-tabs ul.tabs {
    float: none !important;
    width: 100% !important;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 28px !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 2px solid #e2e8f3 !important;
}
.single-product div.product .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
.single-product div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.single-product div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 20px !important;
    margin-bottom: -2px;
    border-bottom: 2px solid transparent;
    font-weight: 700;
    color: #4a5b75 !important;
}
.single-product div.product .woocommerce-tabs ul.tabs li.active a { color: #0d1f3c !important; border-bottom-color: #ff7a2b; }
.single-product div.product .woocommerce-tabs .panel {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.single-product div.product .woocommerce-Tabs-panel--description > h2:first-child { display: none; }

/* Section typography */
.im-pc { color: #33435c; font-size: 16px; line-height: 1.7; }
.im-pc h2,
.im-pc h3 {
    position: relative;
    margin: 36px 0 16px;
    padding-left: 14px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    color: #0d1f3c;
}
.im-pc h2::before,
.im-pc h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 2px;
    background: #ff7a2b;
}
.im-pc > h2:first-child,
.im-pc > h3:first-child { margin-top: 0; }
.im-pc p { margin: 0 0 14px; }
.im-pc-aka { color: #4a5b75; font-size: 15px; }

/* Feature cards */
.im-pc-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.im-pc-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border: 1px solid #e2e8f3;
    border-radius: 10px;
    background: #fff;
    font-weight: 600;
    color: #0d1f3c;
}
.im-pc-tick {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff1e7;
    color: #ff7a2b;
    font-size: 13px;
    font-weight: 800;
    line-height: 24px;
    text-align: center;
}

/* Application chips */
.im-pc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.im-pc-chips span {
    padding: 7px 14px;
    border-radius: 999px;
    background: #eef2f8;
    color: #0d1f3c;
    font-size: 14px;
    font-weight: 600;
}

/* Details table */
.im-pc table.im-pc-table {
    width: 100%;
    margin: 0;
    border: 1px solid #e2e8f3;
    border-radius: 10px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    font-size: 15px;
}
.im-pc table.im-pc-table th,
.im-pc table.im-pc-table td { padding: 12px 16px; border: 0; border-bottom: 1px solid #e2e8f3; text-align: left; vertical-align: top; }
.im-pc table.im-pc-table tr:last-child th,
.im-pc table.im-pc-table tr:last-child td { border-bottom: 0; }
.im-pc table.im-pc-table th { width: 34%; background: #f8fafc; color: #0d1f3c; font-weight: 700; }
.im-pc table.im-pc-table td { background: #fff; }

/* Hand-written products: "Label: value" bullet lists read as a specification table */
.im-pc-own ul.im-spec {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    border: 1px solid #e2e8f3;
    border-radius: 10px;
    overflow: hidden;
    font-size: 15px;
}
.im-pc-own ul.im-spec > li {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f3;
    background: #fff;
}
.im-pc-own ul.im-spec > li:nth-child(odd) { background: #f8fafc; }
.im-pc-own ul.im-spec > li:last-child { border-bottom: 0; }
.im-pc-own ul.im-spec > li > strong:first-child { flex: none; width: 32%; color: #0d1f3c; }

/* Quote checklist */
.im-pc ul.im-pc-check { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.im-pc ul.im-pc-check li { position: relative; padding-left: 26px; }
.im-pc ul.im-pc-check li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #15803d; font-weight: 800; }

/* Buying steps */
.im-pc-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.im-pc-step { padding: 18px 16px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f3; }
.im-pc-step-n {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #0d1f3c;
    color: #fff;
    font-weight: 800;
    line-height: 30px;
    text-align: center;
}
.im-pc-step strong { display: block; margin-bottom: 4px; color: #0d1f3c; }
.im-pc-step p { margin: 0; font-size: 14px; line-height: 1.55; color: #4a5b75; }

/* FAQ */
.im-pc-faq details { border: 1px solid #e2e8f3; border-radius: 10px; background: #fff; margin-bottom: 8px; }
.im-pc-faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: #0d1f3c; }
.im-pc-faq details[open] summary { border-bottom: 1px solid #e2e8f3; }
.im-pc-faq details p { margin: 0; padding: 14px 16px; color: #4a5b75; }

.im-pc-sib { margin-top: 18px !important; font-weight: 600; }

/* Call to action */
.im-pc-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding: 24px 26px;
    border-radius: 14px;
    background: #0d1f3c;
}
.im-pc-cta strong { display: block; color: #fff; font-size: 19px; }
.im-pc-cta span { color: #c8d4e6; font-size: 15px; }
.im-pc-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.im-pc a.im-pc-btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 700; text-decoration: none !important; box-shadow: none !important; }
.im-pc a.im-pc-btn-main { background: #ff7a2b; color: #fff !important; }
.im-pc a.im-pc-btn-wa { background: #25d366; color: #fff !important; }

/* ── Summary beside the photo: price panel, quick attributes, trust points ── */
.single-product div.product .summary .product_title { font-size: 30px; font-weight: 800; line-height: 1.2; color: #0d1f3c; }
.single-product div.product .summary p.price {
    display: block;
    margin: 14px 0 16px;
    padding: 16px 18px;
    border-radius: 12px;
    background: #f3f6fb;
    border-left: 4px solid #0d1f3c;
    font-size: 26px;
    font-weight: 800;
    color: #0d1f3c;
}
.single-product div.product .summary p.price del { font-size: 16px; font-weight: 500; color: #8a97ab; margin-right: 8px; }
.single-product div.product .summary p.price ins { text-decoration: none; }
.single-product div.product .summary p.price .im-por-sub { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: #4a5b75; }
.woocommerce ul.products li.product .im-por-sub { display: none; }

.im-pc-quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0 0 18px;
    border: 1px solid #e2e8f3;
    border-radius: 12px;
    overflow: hidden;
    background: #e2e8f3;
}
.im-pc-quick > div { padding: 11px 14px; background: #fff; }
.im-pc-quick span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b7c93; }
.im-pc-quick strong { display: block; margin-top: 2px; font-size: 14px; line-height: 1.35; color: #0d1f3c; }

.single-product div.product .summary .im-enquiry { margin: 6px 0 14px !important; }
.single-product div.product .summary .im-enquiry a { flex: 1 1 180px; padding: 14px 20px !important; text-align: center; font-size: 16px; }
.single-product div.product .summary .im-enquiry a:first-child { background: #0d1f3c; color: #fff !important; }
.single-product div.product .summary .im-enquiry a:first-child:hover { background: #1c3a66; }

ul.im-pc-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 13px; color: #33435c; }
ul.im-pc-trust li { position: relative; padding-left: 22px; }
ul.im-pc-trust li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #15803d; font-weight: 800; }

/* ── Description area: content column + enquiry card that stays in view ── */
.im-pc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.im-pc-aside { position: sticky; top: 96px; }  /* clears the theme's sticky add-to-cart bar */
.im-pc-card { padding: 22px; border: 1px solid #e2e8f3; border-radius: 14px; background: #fff; box-shadow: 0 8px 26px rgba(13, 31, 60, .08); }
.im-pc-card-price { font-size: 22px; font-weight: 800; color: #0d1f3c; }
.im-pc-card-price del { font-size: 14px; font-weight: 500; color: #8a97ab; margin-right: 6px; }
.im-pc-card-price ins { text-decoration: none; }
.im-pc-card-price .im-por-sub { display: block; font-size: 12px; font-weight: 600; color: #4a5b75; }
.im-pc p.im-pc-card-name { margin: 6px 0 16px; font-size: 14px; line-height: 1.45; color: #4a5b75; }
.im-pc-card a.im-pc-btn { display: block; margin-bottom: 10px; text-align: center; }
.im-pc-card a.im-pc-btn-main { background: #0d1f3c; }
.im-pc-card a.im-pc-btn-main:hover { background: #1c3a66; }
.im-pc-card ul { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid #e2e8f3; list-style: none; font-size: 13px; color: #33435c; }
.im-pc-card ul li { position: relative; margin: 0 0 6px; padding-left: 22px; }
.im-pc-card ul li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #15803d; font-weight: 800; }

/* Section menu */
.im-pc-nav {
    display: flex;
    gap: 4px;
    margin: 0 0 26px;
    padding: 4px;
    overflow-x: auto;
    border-radius: 10px;
    background: #0d1f3c;
}
.im-pc .im-pc-nav a { flex: none; padding: 9px 16px; border-radius: 7px; font-size: 14px; font-weight: 700; color: #c8d4e6; text-decoration: none !important; box-shadow: none !important; }
.im-pc .im-pc-nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.im-pc h2[id], .im-pc div[id] { scroll-margin-top: 70px; }

/* Key attributes grid: two label/value pairs per row */
.im-pc-attrs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #e2e8f3; border-radius: 12px; overflow: hidden; font-size: 15px; }
.im-pc-attr { display: grid; grid-template-columns: 42% 1fr; border-bottom: 1px solid #e2e8f3; }
.im-pc-attr:nth-child(odd):not(.im-pc-attr-wide) { border-right: 1px solid #e2e8f3; }
.im-pc-attr > span { padding: 12px 14px; background: #f3f6fb; color: #4a5b75; font-weight: 600; }
.im-pc-attr > strong { padding: 12px 14px; background: #fff; color: #0d1f3c; font-weight: 700; }
.im-pc-attr-wide { grid-column: 1 / -1; grid-template-columns: 21% 1fr; }
.im-pc-attrs > .im-pc-attr:last-child { border-bottom: 0; }

@media (max-width: 1000px) {
    .im-pc-layout { grid-template-columns: minmax(0, 1fr); }
    .im-pc-aside { display: none; }
}
@media (max-width: 768px) {
    .im-pc-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .im-pc-attrs { grid-template-columns: 1fr; }
    .im-pc-attr:nth-child(odd):not(.im-pc-attr-wide) { border-right: 0; }
    .im-pc-attr, .im-pc-attr-wide { grid-template-columns: 42% 1fr; }
    ul.im-pc-trust { grid-template-columns: 1fr; }
    .single-product div.product .summary .product_title { font-size: 24px; }
    .im-pc-features, .im-pc ul.im-pc-check { grid-template-columns: 1fr; }
    .im-pc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .im-pc h2, .im-pc h3 { font-size: 19px; }
    .im-pc table.im-pc-table th { width: 40%; }
    .im-pc-own ul.im-spec > li { flex-direction: column; gap: 2px; }
    .im-pc-own ul.im-spec > li > strong:first-child { width: auto; }
}

/* The theme clips overflow on these wrappers, which stops position:sticky from working. */
.single-product div.product { overflow: visible; display: flow-root; }
.single-product div.product .woocommerce-tabs { overflow: visible; }
.single-product .site { overflow-x: clip; }
