.pp-shop-page { color: #202f63; background: #fff; padding-bottom: 64px; }
.pp-shop-hero { padding: 56px 0 58px; background: linear-gradient(120deg, #f5f6fb 0%, #e9edf8 100%); text-align: center; }
.pp-shop-hero .container { max-width: 960px; }
.pp-shop-kicker { margin: 0 0 10px; color: #68769c; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.pp-shop-hero h1 { margin: 0; color: #202f63; font-size: clamp(32px, 5vw, 50px); font-weight: 700; }
.pp-shop-hero p:last-child { margin: 12px 0 0; color: #59678a; font-size: 17px; }
.pp-shop-content { padding-top: 32px; }
.pp-shop-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.pp-shop-category-block { min-width: 0; }
.pp-shop-label { display: block; margin-bottom: 9px; color: #7b849f; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pp-shop-categories { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-shop-categories a { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border: 1px solid #e2e6f0; border-radius: 22px; color: #35446f; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.pp-shop-categories a:hover, .pp-shop-categories a.is-active { border-color: #202f63; background: #202f63; color: #fff; }
.pp-shop-filters { display: flex; align-items: end; flex: 0 1 565px; gap: 9px; }
.pp-shop-filter-group { display: flex; min-width: 0; flex: 0 0 155px; flex-direction: column; gap: 5px; }
.pp-shop-filter-group--search { flex: 1 1 180px; }
.pp-shop-filters label { margin: 0; color: #59678a; font-size: 12px; font-weight: 600; }
.pp-shop-filters input[type="search"], .pp-shop-filters select { min-width: 0; height: 40px; padding: 0 12px; border: 1px solid #dfe4ef; border-radius: 7px; background: #fff; color: #273663; font-size: 13px; }
.pp-shop-filters input[type="search"] { width: 100%; }
.pp-shop-filters select { width: 100%; }
.pp-shop-filter-button { height: 40px; padding: 0 13px; border: 0; border-radius: 7px; background: #202f63; color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pp-shop-filter-button:hover { background: #354984; }
.pp-shop-results { margin: 0 0 16px; color: #7b849f; font-size: 12px; }
.pp-shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pp-shop-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #e8ebf2; border-radius: 12px; background: #fff; box-shadow: 0 4px 20px rgba(32,47,99,.05); transition: transform .18s ease, box-shadow .18s ease; }
.pp-shop-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(32,47,99,.12); }
.pp-shop-card-image { display: flex; align-items: center; justify-content: center; height: 225px; overflow: hidden; background: #f5f6fa; color: #c4cadd; font-size: 72px; font-weight: 700; }
.pp-shop-card-image img { width: 100%; height: 100%; padding: 12px; object-fit: contain; }
.pp-shop-card-body { display: flex; flex: 1; flex-direction: column; padding: 16px 17px 17px; }
.pp-shop-card-category { color: #7c86a1; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pp-shop-card h2 { margin: 7px 0; color: #202f63; font-size: 17px; font-weight: 700; line-height: 1.35; }
.pp-shop-card p { flex: 1; min-height: 22px; margin: 0 0 15px; color: #6d7690; font-size: 13px; line-height: 1.55; }
.pp-shop-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid #eff1f6; }
.pp-shop-card-meta strong { color: #202f63; font-size: 19px; font-weight: 700; white-space: nowrap; }
.pp-shop-stock { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.pp-shop-stock::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.pp-shop-stock.is-available { color: #2c8a58; }
.pp-shop-stock.is-unavailable { color: #a16d73; }
.pp-shop-customizable-badge { display: inline-flex; align-self: flex-start; width: fit-content; margin: 5px 0 2px; padding: 4px 8px; border-radius: 999px; background: #eaf0ff; color: #253b78; font-size: 11px; font-weight: 700; }
.pp-shop-customization-fields { display: grid; grid-column: 1 / -1; gap: 6px; margin: 4px 0 3px; padding: 12px; border: 1px solid #e4e9f3; border-radius: 8px; background: #f9faff; }
.pp-shop-customization-fields label, .pp-shop-cart-note-label { margin: 3px 0 0; color: #59678a; font-size: 12px; font-weight: 600; }
.pp-shop-customization-fields small { color: #7c86a1; font-size: 11px; }
.pp-shop-customization-fields input[type="file"] { height: auto; min-height: 36px; padding: 5px 7px; font-size: 11px; }
.pp-shop-customization-fields textarea, .pp-shop-cart-note-label textarea { width: 100%; min-height: 64px; padding: 8px 9px; border: 1px solid #dfe4ef; border-radius: 7px; color: #273663; resize: vertical; }
.pp-shop-cart-note-label { display: block; margin-top: 7px; }
.pp-shop-cart-note-label textarea { display: block; margin-top: 4px; font-weight: 400; }
.pp-shop-custom-order-note { padding: 2px 0 6px 12px; color: #697592; font-size: 12px; }
.pp-shop-empty { max-width: 680px; margin: 22px auto 30px; padding: 54px 28px; border: 1px dashed #cdd4e4; border-radius: 14px; background: #fbfcfe; text-align: center; }
.pp-shop-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 12px; border-radius: 50%; background: #202f63; color: #fff; font-size: 30px; font-weight: 700; }
.pp-shop-empty h2 { margin: 0 0 9px; color: #202f63; font-size: 23px; }
.pp-shop-empty p { color: #697592; line-height: 1.65; }
.pp-shop-button { display: inline-flex; margin-top: 10px; padding: 11px 18px; border-radius: 7px; background: #202f63; color: #fff !important; font-size: 13px; font-weight: 700; text-decoration: none; }
.pp-shop-cart-shortcut { display: flex; justify-content: flex-end; margin: -10px 0 20px; }
.pp-shop-cart-shortcut .pp-shop-button { margin: 0; }
.pp-shop-cart-shortcut .pp-shop-button span { display: inline-flex; min-width: 21px; height: 21px; align-items: center; justify-content: center; margin-left: 7px; border-radius: 50%; background: #fff; color: #202f63; font-size: 11px; }
.pp-shop-add-form { display: grid; grid-template-columns: auto 72px 1fr; align-items: center; gap: 8px; margin-top: 14px; }
.pp-shop-add-form label { margin: 0; color: #59678a; font-size: 12px; font-weight: 600; }
.pp-shop-add-form input { width: 100%; height: 40px; padding: 0 9px; border: 1px solid #dfe4ef; border-radius: 7px; color: #273663; }
.pp-shop-add-button, .pp-shop-secondary-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 10px 14px; border: 1px solid #202f63; border-radius: 7px; background: #fff; color: #202f63 !important; font-size: 13px; font-weight: 700; text-decoration: none !important; cursor: pointer; }
.pp-shop-add-button { background: #202f63; color: #fff !important; }
.pp-shop-add-button:hover, .pp-shop-checkout-button:hover { background: #354984; color: #fff !important; }
.pp-shop-flow-content { max-width: 1100px; padding-top: 38px; padding-bottom: 56px; }
.pp-shop-flow-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.pp-shop-flow-heading h1 { margin: 0; color: #202f63; font-size: clamp(28px, 4vw, 38px); font-weight: 700; }
.pp-shop-flow-back { color: #354984; font-weight: 600; text-decoration: none; }
.pp-shop-alert { margin: 0 0 16px; padding: 13px 16px; border: 1px solid; border-radius: 8px; }
.pp-shop-alert--error { border-color: #efc4c4; background: #fff7f7; color: #953f46; }
.pp-shop-alert--success { border-color: #bce2cd; background: #f4fcf7; color: #267648; }
.pp-shop-cart-layout, .pp-shop-checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 24px; }
.pp-shop-cart-lines { min-width: 0; }
.pp-shop-cart-row { display: grid; grid-template-columns: 82px minmax(0, 1fr) 100px 100px 34px; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid #edf0f5; }
.pp-shop-cart-row.is-unavailable { opacity: .8; }
.pp-shop-cart-image { display: flex; width: 82px; height: 82px; align-items: center; justify-content: center; overflow: hidden; border-radius: 8px; background: #f5f6fa; color: #c4cadd; font-size: 28px; font-weight: 700; }
.pp-shop-cart-image img { width: 100%; height: 100%; padding: 5px; object-fit: contain; }
.pp-shop-cart-info h2 { margin: 0 0 6px; color: #202f63; font-size: 15px; font-weight: 700; }
.pp-shop-cart-info span, .pp-shop-cart-info small { display: block; color: #68738f; font-size: 12px; }
.pp-shop-cart-info .pp-shop-unavailable-note { margin-top: 5px; color: #a14d54; }
.pp-shop-quantity-label { color: #68738f; font-size: 11px; font-weight: 600; }
.pp-shop-quantity-label input { display: block; width: 86px; height: 39px; margin-top: 4px; padding: 0 8px; border: 1px solid #dfe4ef; border-radius: 6px; color: #273663; }
.pp-shop-line-total { color: #202f63; font-size: 14px; white-space: nowrap; }
.pp-shop-remove { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f4f5f8; color: #59678a; font-size: 21px; line-height: 1; cursor: pointer; }
.pp-shop-remove:hover { background: #f8e8e8; color: #9a434a; }
.pp-shop-cart-line-actions { display: flex; justify-content: flex-end; padding-top: 14px; }
.pp-shop-cart-summary { position: sticky; top: 18px; padding: 21px; border: 1px solid #e8ebf2; border-radius: 12px; background: #fff; box-shadow: 0 4px 20px rgba(32,47,99,.05); }
.pp-shop-cart-summary h2 { margin: 0 0 17px; color: #202f63; font-size: 18px; font-weight: 700; }
.pp-shop-cart-summary > div, .pp-shop-summary-line, .pp-shop-summary-total, .pp-shop-summary-shipping, .pp-shop-grand-total { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eff1f6; color: #68738f; font-size: 13px; }
.pp-shop-cart-summary strong { color: #202f63; white-space: nowrap; }
.pp-shop-cart-summary p { margin: 13px 0; color: #727d97; font-size: 11px; line-height: 1.55; }
.pp-shop-checkout-button { display: inline-flex; width: 100%; min-height: 45px; align-items: center; justify-content: center; padding: 11px 15px; border: 0; border-radius: 7px; background: #202f63; color: #fff !important; font-size: 13px; font-weight: 700; text-align: center; text-decoration: none !important; cursor: pointer; }
.pp-shop-checkout-button:disabled { opacity: .5; cursor: not-allowed; }
.pp-shop-hidden-form { display: none; }
.pp-shop-login-box, .pp-shop-result-card { max-width: 650px; margin: 30px auto; padding: 34px; border: 1px solid #e8ebf2; border-radius: 12px; background: #fff; text-align: center; box-shadow: 0 4px 20px rgba(32,47,99,.05); }
.pp-shop-login-box h2, .pp-shop-result-card h2 { margin: 0 0 10px; color: #202f63; font-size: 22px; }
.pp-shop-login-box p, .pp-shop-result-card p { color: #68738f; line-height: 1.6; }
.pp-shop-login-box .pp-shop-checkout-button, .pp-shop-result-card .pp-shop-checkout-button, .pp-shop-result-card .pp-shop-secondary-button { width: auto; min-width: 170px; margin: 12px 5px 0; }
.pp-shop-page .is-hidden { display: none !important; }
.pp-shop-guest-choice .pp-shop-secondary-button, .pp-shop-guest-choice .pp-shop-checkout-button { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 170px; margin: 8px 5px 0; }
.pp-shop-guest-dialog { width: min(92vw, 500px); padding: 26px; border: 0; border-radius: 14px; color: #273663; box-shadow: 0 18px 70px rgba(15,27,67,.25); }
.pp-shop-guest-dialog::backdrop { background: rgba(14,25,59,.58); }
.pp-shop-guest-dialog h2 { margin: 0 0 10px; color: #202f63; font-size: 20px; }
.pp-shop-guest-dialog p { color: #68738f; line-height: 1.6; }
.pp-shop-guest-dialog > div { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.pp-shop-guest-dialog .pp-shop-secondary-button, .pp-shop-guest-dialog .pp-shop-checkout-button { width: auto; margin: 0; }
.pp-shop-guest-fields h3 { margin: 20px 0 12px; color: #202f63; font-size: 14px; }
.pp-shop-guest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-bottom: 14px; }
.pp-shop-guest-grid label, .pp-shop-guest-wide { display: flex; flex-direction: column; gap: 6px; color: #59678a; font-size: 12px; font-weight: 600; }
.pp-shop-guest-grid input, .pp-shop-guest-grid select, .pp-shop-guest-wide textarea { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #dfe4ef; border-radius: 7px; background: #fff; color: #273663; font: inherit; font-size: 13px; }
.pp-shop-guest-wide textarea { min-height: 86px; resize: vertical; }
.pp-shop-guest-company { margin: 16px 0; color: #59678a; font-size: 12px; }
.pp-shop-guest-company summary { cursor: pointer; font-weight: 600; }
.pp-shop-guest-company .pp-shop-guest-grid { margin-top: 12px; }
.pp-shop-guest-billing-toggle { display: flex; align-items: center; gap: 9px; margin: 16px 0; color: #59678a; font-size: 12px; }
.pp-shop-guest-billing-toggle input { accent-color: #202f63; }
.pp-shop-checkout-summary button:disabled { cursor: not-allowed; opacity: .55; }
.pp-shop-result-icon { display: flex; width: 58px; height: 58px; align-items: center; justify-content: center; margin: 0 auto 14px; border-radius: 50%; background: #ebf7ef; color: #267648; font-size: 30px; font-weight: 700; }
.pp-shop-result-card.is-pending .pp-shop-result-icon { background: #fff5e9; color: #a96b22; }
.pp-shop-checkout-main { display: grid; gap: 16px; }
.pp-shop-checkout-section { padding: 21px; border: 1px solid #e8ebf2; border-radius: 11px; background: #fff; }
.pp-shop-checkout-section h2 { margin: 0 0 17px; color: #202f63; font-size: 17px; }
.pp-shop-form-label { display: block; margin: 0 0 7px; color: #59678a; font-size: 12px; font-weight: 600; }
.pp-shop-form-label--spaced { margin-top: 15px; }
.pp-shop-checkout-section select { width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid #dfe4ef; border-radius: 7px; background: #fff; color: #273663; font-size: 13px; }
.pp-shop-choice { display: flex; align-items: flex-start; gap: 11px; margin: 0; padding: 13px 0; border-top: 1px solid #eff1f6; cursor: pointer; }
.pp-shop-choice:first-of-type { border-top: 0; }
.pp-shop-choice input { margin-top: 3px; accent-color: #202f63; }
.pp-shop-choice span { display: flex; flex-direction: column; gap: 4px; }
.pp-shop-choice strong { color: #35446f; font-size: 13px; }
.pp-shop-choice small { color: #727d97; font-size: 11px; line-height: 1.5; }
.pp-shop-contract { display: flex; align-items: flex-start; gap: 9px; padding: 14px 3px; color: #59678a; font-size: 12px; line-height: 1.55; }
.pp-shop-contract input { margin-top: 3px; accent-color: #202f63; }
.pp-shop-contract a { color: #202f63; text-decoration: underline; }
.pp-shop-checkout-summary { display: block; }
.pp-shop-summary-line { align-items: flex-start; font-size: 12px; }
.pp-shop-summary-line span { max-width: 65%; }
.pp-shop-summary-total, .pp-shop-summary-shipping { font-size: 13px; }
.pp-shop-grand-total { margin: 5px 0 12px; border: 0; color: #202f63; font-size: 15px; font-weight: 700; }
.pp-shop-grand-total strong { font-size: 18px; }

/* Keep basket actions visible while the uploaded-file list scrolls. */
.dropdown-cart .pp-cart-dropdown { width: 340px; max-width: calc(100vw - 24px); padding: 0; overflow: hidden; }
.pp-cart-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; border-bottom: 1px solid #edf0f5; color: #68738f; font-size: 12px; }
.pp-cart-summary strong { color: #202f63; font-size: 13px; }
.dropdown-cart .pp-cart-items { max-height: 240px; margin: 0; padding: 4px 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.pp-cart-items li { min-width: 0; }
.pp-cart-items li > a:first-child { min-width: 0; }
.pp-cart-file-name { display: block; max-width: 205px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdown-cart .pp-cart-actions { position: sticky; z-index: 2; bottom: 0; padding: 9px 13px; border-top: 1px solid #edf0f5; background: #fff; }
.pp-cart-actions .btn_1 { display: block; width: 100%; margin: 4px 0; text-align: center; }

@media (max-width: 767px) { .pp-shop-cart-layout, .pp-shop-checkout-layout { grid-template-columns: 1fr; } .pp-shop-cart-summary { position: static; } .pp-shop-cart-row { grid-template-columns: 64px minmax(0, 1fr) 78px 30px; gap: 9px; } .pp-shop-cart-image { width: 64px; height: 64px; } .pp-shop-line-total { grid-column: 2 / 3; font-size: 13px; } .pp-shop-quantity-label { grid-column: 3; grid-row: 1 / span 2; } .pp-shop-remove { grid-column: 4; grid-row: 1; } .pp-shop-flow-heading { align-items: flex-start; flex-direction: column; } }
@media (max-width: 575px) { .pp-shop-add-form { grid-template-columns: auto 58px 1fr; gap: 6px; } .pp-shop-add-button { padding: 9px 7px; font-size: 11px; } .pp-shop-cart-row { grid-template-columns: 54px minmax(0, 1fr) 68px 28px; gap: 7px; } .pp-shop-cart-image { width: 54px; height: 54px; } .pp-shop-quantity-label input { width: 64px; } .pp-shop-login-box, .pp-shop-result-card { padding: 26px 18px; } }
@media (max-width: 575px) { .pp-shop-guest-grid { grid-template-columns: 1fr; gap: 10px; } .pp-shop-guest-dialog { padding: 22px 18px; } .pp-shop-guest-dialog > div { flex-direction: column-reverse; } .pp-shop-guest-dialog .pp-shop-secondary-button, .pp-shop-guest-dialog .pp-shop-checkout-button { width: 100%; } }

@media (max-width: 1199px) { .pp-shop-toolbar { align-items: stretch; flex-direction: column; } .pp-shop-filters { flex: none; max-width: 720px; } }
@media (max-width: 991px) { .pp-shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pp-shop-card-image { height: 210px; } }
@media (max-width: 767px) { .pp-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .pp-shop-card-image { height: 190px; } }
@media (max-width: 575px) { .pp-shop-hero { padding: 42px 0; } .pp-shop-content { padding-top: 24px; } .pp-shop-filters { flex-wrap: wrap; } .pp-shop-filter-group--search { flex-basis: 100%; } .pp-shop-filter-group:not(.pp-shop-filter-group--search) { flex: 1 1 150px; } .pp-shop-filter-button { flex: 0 0 auto; } .pp-shop-card-image { height: 150px; } .pp-shop-card-body { padding: 12px; } .pp-shop-card h2 { font-size: 14px; } .pp-shop-card p { font-size: 12px; } .pp-shop-card-meta { align-items: flex-start; flex-direction: column; } .pp-shop-card-meta strong { font-size: 17px; } .pp-shop-stock { font-size: 10px; } .pp-shop-empty { padding: 38px 20px; } .dropdown-cart .pp-cart-dropdown { width: 300px; } .pp-cart-file-name { max-width: 165px; } }


/* Accessible dark-theme contrast for the order cart */
html[data-theme=dark] :is(#contrast-specificity, body) .table.cart-list th,
html[data-theme=dark] :is(#contrast-specificity, body) .table.options_cart th,
html[data-theme=dark] :is(#contrast-specificity, body) .table.cart-list td,
html[data-theme=dark] :is(#contrast-specificity, body) .table.options_cart td { color: #f4f6fb !important; opacity: 1 !important; }
html[data-theme=dark] :is(#contrast-specificity, body) .table.cart-list a,
html[data-theme=dark] :is(#contrast-specificity, body) .table.options_cart a { color: #8ab8ff !important; opacity: 1 !important; }
html[data-theme=dark] :is(#contrast-specificity, body) .table.cart-list select,
html[data-theme=dark] :is(#contrast-specificity, body) .table.cart-list input { color: #f4f6fb !important; background-color: #10141d !important; border-color: #48556b !important; }
html[data-theme=dark] :is(#contrast-specificity, body) .table.cart-list option { color: #f4f6fb !important; background-color: #10141d !important; }

/* Dark-theme fallback for cart tables using legacy markup */
html[data-theme=dark] :is(#contrast-specificity, body) table th,
html[data-theme=dark] :is(#contrast-specificity, body) table th *,
html[data-theme=dark] :is(#contrast-specificity, body) table td,
html[data-theme=dark] :is(#contrast-specificity, body) table td * { color: #f4f6fb !important; opacity: 1 !important; }
html[data-theme=dark] :is(#contrast-specificity, body) table a { color: #8ab8ff !important; }
