/* ==========================================================================
   PRORAB RM — UI Polish, Responsive Fixes & Construction B2B/B2C Cart System
   ========================================================================== */

/* 1. Top Header Smeta Button & Layout */
.prorab-smeta-header-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 14px;
    margin: 0 8px 0 0;
    border-radius: 5px;
    background: #ed1c24;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    vertical-align: middle;
    transition: background 0.15s ease;
}
.prorab-smeta-header-btn:hover {
    background: #c41018;
    color: #fff !important;
}
#topSmetaCta {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 6px;
}

/* 2. Compact Non-Obstructive Social Button (tucked above #footerLine) */
.prorab-smeta-float {
    display: none !important;
}
#socialWidget.social-widget-container {
    bottom: 62px !important;
    right: 18px !important;
    z-index: 990 !important;
    gap: 10px !important;
}
#socialWidget .main-btn {
    min-width: 48px !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border-radius: 50% !important;
}
#socialWidget .main-btn .btn-text-open {
    display: none !important;
}
#socialWidget .main-btn .btn-social-icon {
    margin: 0 !important;
    width: 22px !important;
    height: 22px !important;
}
@media (max-width: 767px) {
    .prorab-smeta-header-btn {
        display: none !important;
    }
    #socialWidget.social-widget-container {
        display: none !important;
    }
}

/* 3. /catalog/ Root Category Grid Fix */
#catalogSection .sectionItems {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin: 16px 0 36px !important;
}
#catalogSection .sectionItems .item {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
    overflow: hidden !important;
}
#catalogSection .sectionItems .item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.09) !important;
    border-color: #cbd5e1 !important;
}
#catalogSection .sectionItems .itemContainer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 24px 20px !important;
    box-sizing: border-box !important;
    height: 100% !important;
}
#catalogSection .sectionItems .itemContainer .column {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    text-align: center !important;
}
#catalogSection .sectionItems .itemContainer .bigPicture {
    height: 170px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 16px !important;
}
#catalogSection .sectionItems .itemContainer .bigPicture img {
    max-height: 155px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}
#catalogSection .sectionItems .itemContainer .bigTitle {
    display: inline-block !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    margin-bottom: 8px !important;
}
#catalogSection .sectionItems .itemContainer .bigTitle:hover {
    color: #ed1c24 !important;
}
@media (max-width: 991px) {
    #catalogSection .sectionItems {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 600px) {
    #catalogSection .sectionItems {
        grid-template-columns: 1fr !important;
    }
}

/* 4. Hero Slider Contrast & Mobile Adaptation (375px) */
#slider a[href*="/smeta"] {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(4px);
    font-weight: 700 !important;
}
#slider a[href*="/smeta"]:hover {
    background: rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
}
@media (max-width: 767px) {
    #slider,
    #slider ul.slideBox,
    #slider ul.slideBox li {
        min-height: 270px !important;
        height: 270px !important;
        background: linear-gradient(115deg, rgba(15, 23, 42, 0.88) 0%, rgba(24, 24, 27, 0.84) 65%, rgba(185, 28, 28, 0.82) 100%), url('/upload/iblock/real_prorab/banner_bg.jpg') center/cover no-repeat !important;
    }
    #slider .limiterContainer,
    #slider .sliderContent {
        position: relative !important;
        top: 0 !important;
        transform: none !important;
        height: auto !important;
        min-height: 0 !important;
        background: transparent !important;
    }
    #slider .sliderContent div.legacy-slide-box-unused {
        padding: 22px 14px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    #slider .sliderContent div[style*="font-size:34px"] {
        font-size: 20px !important;
        line-height: 1.22 !important;
        margin-bottom: 8px !important;
        color: #ffffff !important;
    }
    #slider .sliderContent div[style*="font-size:18px"] {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-bottom: 14px !important;
        color: rgba(255, 255, 255, 0.92) !important;
    }
    #slider a[href*="/catalog"],
    #slider a[href*="/smeta"],
    #slider a[href*="/calc"] {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 36px !important;
        line-height: 36px !important;
        padding: 0 14px !important;
        font-size: 12.5px !important;
        margin: 4px 4px !important;
    }
}

/* 5. Always-Visible Product Card Buy Controls + Quantity Stepper */
.product {
    height: 396px !important;
}
.product .tabloid {
    height: 395px !important;
}
.product .picture {
    height: 205px !important;
    line-height: 205px !important;
}
.product .addCartContainer {
    display: block !important;
    margin-top: 10px !important;
    margin-bottom: 6px !important;
    overflow: visible !important;
}
.product .addCartContainer .quantityContainer {
    display: none !important;
}
.product .btn-simple.add-cart {
    display: none !important;
}
.product .addCart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    padding: 0 12px !important;
    border-radius: 6px !important;
}
.product .addCart span {
    position: static !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}
.product .addCart .icon {
    padding-right: 0 !important;
    margin-top: 0 !important;
    width: 16px !important;
    height: 16px !important;
}
.pr-card-buy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
}
.pr-card-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    height: 40px;
    overflow: hidden;
    flex-shrink: 0;
}
.pr-card-qty button {
    width: 26px;
    height: 40px;
    border: none;
    background: transparent;
    color: #334155;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.pr-card-qty button:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.pr-card-qty input {
    width: 38px;
    height: 40px;
    border: none;
    background: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    padding: 0;
    outline: none;
    -moz-appearance: textfield;
}
.pr-card-qty input::-webkit-outer-spin-button,
.pr-card-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
@media (max-width: 767px) {
    .product {
        height: auto !important;
        min-height: 330px !important;
    }
    .product .tabloid {
        height: auto !important;
        min-height: 328px !important;
        padding-bottom: 14px !important;
    }
    .product .picture {
        height: 150px !important;
        line-height: 150px !important;
    }
    .pr-card-buy-row {
        gap: 4px;
    }
    .pr-card-qty {
        height: 34px;
    }
    .pr-card-qty button {
        width: 20px;
        height: 34px;
        font-size: 13px;
    }
    .pr-card-qty input {
        width: 26px;
        height: 34px;
        font-size: 12px;
    }
    .product .addCart {
        height: 34px !important;
        line-height: 34px !important;
        font-size: 11.5px !important;
        padding: 0 6px !important;
        min-width: 0 !important;
    }
    .product .addCart .icon {
        display: none !important;
    }
}

/* Toast Notification */
.pr-cart-toast {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 100000;
    background: #0f172a;
    color: #fff;
    border-left: 4px solid #ed1c24;
    border-radius: 10px;
    padding: 14px 18px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.28);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 400px;
    font-family: 'Roboto', sans-serif;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.22s ease;
}
.pr-cart-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.pr-cart-toast__body {
    flex: 1;
    min-width: 0;
}
.pr-cart-toast__title {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 3px;
    color: #fff;
}
.pr-cart-toast__sub {
    font-size: 12.5px;
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pr-cart-toast__btn {
    flex-shrink: 0;
    background: #ed1c24;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 6px;
}

/* ==========================================================================
   6. CONSTRUCTION B2B / B2C CART & CHECKOUT (/personal/cart/)
   ========================================================================== */
.prc-wrap {
    margin: 8px 0 56px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0f172a;
    box-sizing: border-box;
}
.prc-wrap *, .prc-wrap *::before, .prc-wrap *::after {
    box-sizing: border-box;
}
.prc-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}
.prc-topbar__title-group h1 {
    margin: 0 0 4px !important;
    padding: 0 !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}
.prc-topbar__subtitle {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}
.prc-topbar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.prc-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155 !important;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.prc-action-btn:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    color: #0f172a !important;
}
.prc-action-btn--danger:hover {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #dc2626 !important;
}

/* Quick Add & Search Bar inside Cart */
.prc-quickadd {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.prc-quickadd__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.prc-quickadd__label {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}
.prc-search-box {
    position: relative;
    flex: 1 1 320px;
    max-width: 520px;
}
.prc-search-input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 38px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #0f172a;
    outline: none;
}
.prc-search-input:focus {
    border-color: #ed1c24;
    box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.12);
}
.prc-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 15px;
    pointer-events: none;
}
.prc-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
    z-index: 90;
    max-height: 320px;
    overflow-y: auto;
    display: none;
}
.prc-search-dropdown.is-open {
    display: block;
}
.prc-search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
}
.prc-search-item:last-child {
    border-bottom: none;
}
.prc-search-item__info {
    min-width: 0;
    flex: 1;
}
.prc-search-item__name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.prc-search-item__meta {
    font-size: 12px;
    color: #64748b;
}
.prc-search-item__add {
    flex-shrink: 0;
    height: 32px;
    padding: 0 12px;
    border: none;
    border-radius: 6px;
    background: #ed1c24;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.prc-companions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.prc-companions__caption {
    font-size: 12.5px;
    font-weight: 700;
    color: #64748b;
    margin-right: 4px;
}
.prc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #1e293b;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}
.prc-chip:hover {
    border-color: #ed1c24;
    color: #ed1c24;
    background: #fff5f5;
}
.prc-chip strong {
    color: #ed1c24;
}

/* Main 2-Column Cart Grid */
.prc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 24px;
    align-items: start;
}
.prc-main-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.prc-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}
.prc-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.prc-card__title {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
}
.prc-card__badge {
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    padding: 5px 10px;
    border-radius: 6px;
}

/* Specification Item Rows */
.prc-items-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.prc-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 170px 130px 32px;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.15s ease;
}
.prc-item:hover {
    border-color: #cbd5e1;
}
.prc-item__img {
    width: 76px;
    height: 76px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.prc-item__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.prc-item__info {
    min-width: 0;
}
.prc-item__cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 3px;
}
.prc-item__name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a !important;
    text-decoration: none !important;
    margin-bottom: 6px;
}
.prc-item__name:hover {
    color: #ed1c24 !important;
}
.prc-item__logistics {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.prc-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 5px;
    background: #f1f5f9;
    color: #334155;
    font-size: 11.5px;
    font-weight: 600;
}
.prc-pill--accent {
    background: #fef2f2;
    color: #b91c1c;
}

.prc-item__qty-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.prc-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    height: 38px;
    background: #fff;
}
.prc-stepper button {
    width: 34px;
    height: 38px;
    border: none;
    background: #f8fafc;
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}
.prc-stepper button:hover {
    background: #e2e8f0;
}
.prc-stepper input {
    width: 62px;
    height: 38px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    outline: none;
    -moz-appearance: textfield;
}
.prc-stepper input::-webkit-outer-spin-button,
.prc-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.prc-quick-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}
.prc-step-btn {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    border-radius: 5px;
    padding: 3px 7px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}
.prc-step-btn:hover {
    border-color: #ed1c24;
    color: #ed1c24;
    background: #fff5f5;
}

.prc-item__sum-col {
    text-align: right;
    min-width: 0;
}
.prc-item__sum {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
}
.prc-item__unit-price {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}
.prc-item__remove {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.prc-item__remove:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* Additional Construction Services Checkboxes */
.prc-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.prc-service-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.15s ease;
}
.prc-service-check:hover {
    border-color: #cbd5e1;
}
.prc-service-check input {
    margin-top: 3px;
    accent-color: #ed1c24;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.prc-service-check strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}
.prc-service-check span {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: #64748b;
}

/* Checkout Form Controls */
.prc-tabs {
    display: inline-flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 18px;
    max-width: 100%;
    flex-wrap: wrap;
}
.prc-tab {
    border: none;
    background: transparent;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}
.prc-tab.is-active {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.prc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.prc-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.prc-field--full {
    grid-column: 1 / -1;
}
.prc-field label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}
.prc-field input,
.prc-field textarea,
.prc-field select {
    width: 100%;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #0f172a;
    background: #fff;
    outline: none;
}
.prc-field textarea {
    min-height: 76px;
    resize: vertical;
}
.prc-field input:focus,
.prc-field textarea:focus {
    border-color: #ed1c24;
    box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.1);
}

/* Delivery Option Cards */
.prc-delivery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.prc-radio-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s ease;
}
.prc-radio-card:hover {
    border-color: #cbd5e1;
}
.prc-radio-card.is-selected {
    border-color: #ed1c24;
    background: #fffafb;
}
.prc-radio-card input {
    margin-top: 3px;
    accent-color: #ed1c24;
    flex-shrink: 0;
}
.prc-radio-card__title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 3px;
}
.prc-radio-card__desc {
    font-size: 12px;
    line-height: 1.4;
    color: #64748b;
}
.prc-radio-card__badge {
    display: inline-block;
    margin-top: 5px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #dcfce7;
    color: #166534;
    font-size: 11px;
    font-weight: 700;
}

/* Summary Sticky Sidebar */
.prc-sidebar {
    position: sticky;
    top: 20px;
    background: #18181b;
    color: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}
.prc-sidebar__title {
    margin: 0 0 16px;
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.prc-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.prc-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.78);
}
.prc-summary-row strong {
    color: #fff;
    font-weight: 700;
    text-align: right;
}
.prc-truck-recommend {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
}
.prc-truck-recommend__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fca5a5;
    margin-bottom: 4px;
}
.prc-truck-recommend__val {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
}
.prc-total-block {
    padding: 14px 0;
    border-top: 1px solid rgba(255,255,255,0.14);
    border-bottom: 1px solid rgba(255,255,255,0.14);
    margin-bottom: 18px;
}
.prc-total-block__main {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 4px;
}
.prc-total-block__main span {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}
.prc-total-block__main strong {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}
.prc-total-block__vat {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-align: right;
}
.prc-submit-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 10px;
    background: #ed1c24;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.15s ease;
    margin-bottom: 10px;
}
.prc-submit-btn:hover {
    background: #c41018;
    transform: translateY(-1px);
}
.prc-oneclick-box {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.prc-oneclick-box__label {
    font-size: 12px;
    color: rgba(255,255,255,0.72);
    margin-bottom: 8px;
}
.prc-oneclick-row {
    display: flex;
    gap: 8px;
}
.prc-oneclick-row input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 13.5px;
    outline: none;
}
.prc-oneclick-row input::placeholder {
    color: rgba(255,255,255,0.5);
}
.prc-oneclick-row button {
    flex-shrink: 0;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    background: #fff;
    color: #0f172a;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
}

/* Calculator -> Add to Cart Widget */
.pr-calc-cart-box {
    margin-top: 18px;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(115deg, #18181b 0%, #27272a 60%, #991b1b 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
}
.pr-calc-cart-box h3 {
    margin: 0 0 6px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #fff !important;
}
.pr-calc-cart-box p {
    margin: 0 0 14px !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    color: rgba(255,255,255,0.85) !important;
}
.pr-calc-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 8px;
    background: #ed1c24;
    color: #fff !important;
    font-size: 14.5px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none !important;
}
.pr-calc-cart-btn:hover {
    background: #c41018;
}

/* Responsive Cart Adaptation (Tablet & 375px Mobile) */
@media (max-width: 1040px) {
    .prc-grid {
        grid-template-columns: 1fr;
    }
    .prc-sidebar {
        position: static;
    }
    .prc-services-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px) {
    .prc-topbar__title-group h1 {
        font-size: 22px !important;
    }
    .prc-card {
        padding: 16px 14px;
    }
    .prc-item {
        grid-template-columns: 60px minmax(0, 1fr) 28px;
        gap: 10px;
        padding: 12px;
    }
    .prc-item__img {
        width: 60px;
        height: 60px;
    }
    .prc-item__qty-col {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-top: 8px;
        border-top: 1px dashed #e2e8f0;
    }
    .prc-item__sum-col {
        grid-column: 1 / -1;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        text-align: left;
    }
    .prc-item__remove {
        grid-column: 3;
        grid-row: 1;
    }
    .prc-form-grid,
    .prc-delivery-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    #headerLine2, #subHeader5, .menuContainerColor, #footer, #footerLine, #socialWidget, .prc-quickadd, .prc-topbar__actions, .prc-submit-btn, .prc-oneclick-box {
        display: none !important;
    }
    .prc-grid {
        grid-template-columns: 1fr !important;
    }
    .prc-sidebar {
        background: #fff !important;
        color: #000 !important;
        border: 2px solid #000 !important;
        box-shadow: none !important;
    }
}

/* 7. Homepage Mobile & Desktop Product Card Height Overrides (v14) */
#footerLine {
    display: none !important;
}
#slider,
#slider .wrap,
#slider ul.slideBox {
    height: auto !important;
    min-height: 390px !important;
    overflow: hidden !important;
}
#slider ul.slideBox li {
    position: relative !important;
    display: block !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 390px !important;
}
#slider ul.slideBox li > span {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    background-size: cover !important;
    background-position: center !important;
}
#slider .limiterContainer {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    margin-top: 0 !important;
    width: 100% !important;
    height: auto !important;
    z-index: 5 !important;
}
#slider .limiter {
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    max-width: 1480px !important;
    margin: 0 auto !important;
    padding: 36px 24px !important;
}
#slider .sliderContent {
    display: block !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    margin-top: 0 !important;
    transform: none !important;
    z-index: 6 !important;
}
#slider .sliderContent span {
    display: inline !important;
    position: static !important;
    height: auto !important;
    width: auto !important;
    background: none !important;
}
#footerTabs .product .pr-card-buy-row {
    margin: 10px 12px 0 12px !important;
}
@media (min-width: 768px) {
    #productList .product {
        height: 435px !important;
        min-height: 435px !important;
    }
    #productList .product .tabloid {
        height: 434px !important;
        min-height: 434px !important;
        overflow: visible !important;
    }
    #footerTabs .product,
    #footerTabs .item.product {
        height: auto !important;
        min-height: 235px !important;
    }
    #footerTabs .product .tabloid,
    #footerTabs .item.product .tabloid {
        height: auto !important;
        min-height: 234px !important;
        padding-bottom: 14px !important;
        overflow: visible !important;
    }
}
@media (max-width: 960px) {
    .pr-hp-calc-grid {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 767px) {
    #footerLine {
        display: none !important;
    }
    #slider,
    #slider ul.slideBox,
    #slider ul.slideBox li {
        height: auto !important;
        min-height: 280px !important;
        padding-bottom: 12px !important;
    }
    #slider .limiter {
        padding: 16px 12px !important;
    }
    #slider .sliderContent,
    #slider .sliderContent * {
        text-shadow: none !important;
    }
    #slider .pr-hero-slide-box {
        padding: 18px 14px !important;
        text-align: left !important;
        line-height: 1.35 !important;
    }
    #slider .pr-hero-slide-box div[style*="padding:4px"] {
        padding: 4px 8px !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
        width: auto !important;
    }
    #slider .pr-hero-slide-box a {
        text-align: center !important;
        line-height: 1.2 !important;
        height: auto !important;
        padding: 10px 14px !important;
        font-size: 11.5px !important;
    }
    #slider .pr-hero-slide-box div[style*="font-size:30px"] {
        font-size: 18px !important;
        line-height: 1.22 !important;
    }
    #slider .pr-hero-slide-box div[style*="font-size:14.5px"] {
        font-size: 12.5px !important;
        line-height: 1.4 !important;
    }
    .pr-smeta-card {
        padding: 16px 14px !important;
    }
    .pr-smeta-card table th,
    .pr-smeta-card table td {
        padding: 6px 8px !important;
        font-size: 11px !important;
    }
    .product,
    .item.product,
    #footerTabs .product,
    #productList .product {
        height: auto !important;
        min-height: 0 !important;
    }
    .product .tabloid,
    .item.product .tabloid,
    #footerTabs .product .tabloid,
    #productList .product .tabloid {
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: 12px !important;
    }
    .product .picture {
        height: 110px !important;
        line-height: 110px !important;
    }
}
