/* Signs Category Template Styles (hero) */
/* Load Montserrat for all users */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

.scp-hero {
    background: #0d3a66;
    color: #fff;
    padding: 30px 0 30px;
}

/* Apply Open Sans site-wide so admin font matches for all users */
html,
body,
input,
button,
textarea,
select {
    font-family: 'Montserrat', Sans-serif !important;
}

body.rtl,
.rtl {
    direction: rtl;
    text-align: right;
}

/* Match WordPress body rules so logged-out users see the same layout */
body {
    background: #fff;
    font-family: 'Montserrat', Sans-serif !important;
    overflow-wrap: break-word;
    line-height: 2;
    font-size: 16px;
    text-wrap: pretty;
}

.scp-hero__inner {
    max-width: 1290px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px
}

div#page_content {
    margin: 0px !important;
    margin-top: 0px !important;
}

.scp-hero__left {
    flex: 1
}

.arabic-tem {
    display: flex !important;
}

.scp-hero__title {
    font-size: 48px;
    margin: 0 0 16px;
    font-weight: 700
}

.scp-product-count {
    font-size: 17px;
    font-weight: 400;
    color: #e6eef6;
    margin-left: 8px;
}

.scp-hero__desc {
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 0 22px;
    color: #e6eef6
}

.scp-hero__btn,
.scp-hero__btn1 {
    display: inline-block;
    background: #0d3a66;
    color: #fff;
    padding: 12px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

@media(max-width:900px) {
    .scp-hero__inner {
        flex-direction: column;
        text-align: left
    }
}

/* Breadcrumb styles */
.scp-breadcrumb {
    max-width: 1200px;
    margin-top: 30px;
    /* padding: 0 20px; */
    font-size: 14px;
    color: #666
}

.scp-child-breadcrumb,
.scp-child-breadcrumb a {
    color: white;
}

.scp-filters-main {
    background-color: #0d3a66;
    border: 1px solid #eee;
    padding: 18px;
    border-radius: 8px;
    color: white;
}

.scp-grandcats-show-more {
    color: black !important;
    border: 1px solid #eee !important;
}

.scp-breadcrumb a {
    color: #0d3a66;
    text-decoration: none;
    font-weight: 500
}

.scp-breadcrumb a:hover {
    text-decoration: underline
}

.scp-breadcrumb__sep {
    margin: 0 8px;
    color: #999
}

.scp-random-cats {
    margin-bottom: 20px;
}

/* Subcategories section */
.scp-subcats {
    padding: 40px 0;
}

.scp-subcats__heading {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 50px;
    color: #333333;
}

/* Subcategories grid */
.scp-subcats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    justify-items: center
}

/* Grid items */
.scp-subcats__item {
    text-align: center;
    width: 100%;
    max-width: 190px;
}

/* no special last-child behavior */

.scp-subcats__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease
}

.scp-subcats__link:hover {
    transform: translateY(-8px)
}

/* Media container and image styling */
.scp-subcats__media {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center
}

.scp-subcats__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.scp-subcats__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ddd 0%, #f5f5f5 100%)
}

/* Category title */
.scp-subcats__title {
    font-size: 15px;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;
}

/* Responsive design */
@media(max-width:768px) {
    .scp-subcats__heading {
        font-size: 28px;
        margin-bottom: 40px
    }

    .scp-subcats__grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 30px
    }

    .scp-subcats__media {
        width: 160px;
        height: 160px
    }

    .scp-subcats__title {
        font-size: 16px
    }

    .scp-subcats {
        padding: 40px 0;
        margin-top: 15px
    }
}

@media(max-width:480px) {
    .scp-breadcrumb {
        font-size: 12px;
        margin-top: 20px
    }

    .scp-subcats__heading {
        font-size: 24px;
        margin-bottom: 30px
    }

    .scp-subcats__grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 20px
    }

    .scp-subcats__media {
        width: 140px;
        height: 140px;
        margin-bottom: 15px
    }

    .scp-subcats__title {
        font-size: 14px
    }

    .scp-subcats {
        padding: 30px 0
    }
}

.scp-random-cats__heading {
    font-size: 28px;
    text-align: center;
    color: #0d3a66;
    margin: 0 0 20px;
    font-weight: 700
}

.scp-random-cats__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 1rem
}

.scp-random-cats__item {
    background: #fff;
    border: 1px solid #eee;
    padding: .75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center
}

.scp-random-cats__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center
}

.scp-random-cats__img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    margin-bottom: .5rem
}

.scp-random-cats__name {
    font-size: .95rem;
    color: #333333;
    text-decoration: none
}

.scp-random-cats__title {
    margin-top: 6px
}

.scp-random-cats__placeholder {
    width: 100%;
    height: 160px;
    background: #f5f5f5
}

.scp-filter-showmore {
    background: none;
    color: white;
    text-decoration: underline;
    cursor: pointer;
}

/* Filter group toggle button (moved from inline JS styles) */
.scp-filter-toggle {
    margin-left: 8px;
    padding: 0 6px;
    border: none;
    background: none;
    color: inherit;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

/* `.scp-filter-expand-all` visibility is managed by JS via `.scp-btn-hidden` */

.scp-filter-toggle:focus {
    outline: 2px solid rgba(30, 115, 190, 0.25);
    outline-offset: 2px;
}

.scp-filter-expand-all {
    display: none;
}

.show-expand-all {
    display: block !important;
}

.scp-btn-hidden {
    display: none !important;
}

.scp-filter-toggle__icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
}

.scp-slider-list {
    border: 1px solid #e8e8e8;
}

/* Show minus by default, hide plus. When collapsed, swap icons. */
.scp-filter-toggle__icon--plus {
    display: none;
}

.scp-filter-toggle.collapsed .scp-filter-toggle__icon--plus {
    display: inline-block;
}

.scp-filter-toggle.collapsed .scp-filter-toggle__icon--minus {
    display: none;
}

/* Optional collapsed state styling on group */
.scp-filter-group--collapsed {
    opacity: 0.95;
}

@media (max-width:1200px) {
    .scp-random-cats__grid {
        grid-template-columns: repeat(4, 1fr)
    }
}

@media (max-width:992px) {
    .scp-random-cats__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Hidden extra filter tags and show-more button */
    .scp-filter-tag--extra {
        display: none !important;
    }

    .scp-filter-group__more-wrap {
        margin-top: 10px;
    }

    /* Three-column layout: gallery | slider | summary */
    .scp-single-product-wrapper {
        display: flex;
        gap: 1.5rem;
        align-items: stretch;
    }

    .scp-single-product__gallery {
        flex: 0 0 55%;
        max-width: 55%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .scp-slider-list {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        overflow: auto;
        max-height: 70vh;
        border: 1px solid #e8e8e8;
    }

    .scp-slider-item {
        display: block;
        width: 100%;
        text-align: center;
    }

    .scp-slider-thumb {
        width: 100%;
        height: auto;
        display: block;
    }

    .scp-slider-placeholder {
        width: 100%;
        padding-top: 75%;
        background: #f2f2f2;
    }

    .scp-single-product__summary {
        flex: 1 1 30%;
        max-width: 30%;
    }

    /* Slider arrow buttons */
    .scp-single-product__slider {
        position: relative;
        padding: 8px 0;
    }

    .scp-slider-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        background: #fff;
        border: 1px solid #ddd;
        padding: 8px 6px;
        cursor: pointer;
        font-size: 14px;
        color: #333;
    }

    .scp-slider-up {
        margin-bottom: 8px;
    }

    .scp-slider-down {
        margin-top: 8px;
    }

    .scp-slider-btn:focus {
        outline: 2px solid rgba(30, 115, 190, 0.25);
        outline-offset: 2px;
    }

    .scp-slider-btn-icon {
        font-size: 16px;
        line-height: 1;
    }

    .scp-single-product__slider .scp-slider-list {
        margin: 0 0.25rem;
        border: 1px solid #e8e8e8;
    }

    .scp-slider-btn-icon svg {
        width: 16px;
        height: 20px;
        display: block !important;
        /* vertical-align: middle; */
    }

    .scp-slider-btn-icon svg path,
    .scp-slider-btn-icon svg line,
    .scp-slider-btn-icon svg polyline,
    .scp-slider-btn-icon svg polygon {
        stroke: currentColor !important;
        fill: none !important;
    }

    .scp-slider-btn {
        color: #222;
    }

}

@media (max-width:700px) {
    .scp-random-cats__grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:420px) {
    .scp-random-cats__grid {
        grid-template-columns: 1fr
    }
}

.scp-feature-cards {
    margin: 40px 0;
}

/* Feature cards (3 column) */
.scp-feature-cards__inner {
    margin: 0 auto;
    /* padding: 0 20px */
}

.scp-feature-cards__heading {
    font-size: 28px;
    text-align: center;
    color: #0d3a66;
    margin: 0 0 24px;
    font-weight: 700
}

.scp-feature-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem
}

.scp-feature-cards__item {
    background: #fff;
    border: 1px solid #eee
}

.scp-feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit
}

.scp-feature-card__media {
    width: 100%;
    /* height: 220px; */
    overflow: hidden
}

.scp-feature-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.scp-feature-card__content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1
}

.scp-feature-card__title {
    font-size: 20px;
    margin: 0;
    color: #333333
}

.scp-feature-card__desc {
    color: #555;
    margin: 0;
    flex: 1
}

.scp-feature-card__btn {
    display: inline-block;
    background: #1e73be;
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    align-self: flex-start
}

@media (max-width:992px) {
    .scp-feature-cards__grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:600px) {
    .scp-feature-cards__grid {
        grid-template-columns: 1fr
    }

    .scp-feature-card__media {
        height: 180px
    }

    .scp-feature-card__content {
        text-align: center;
    }

    .scp-feature-card__btn {
        align-self: center;
    }
}

/* Page container to constrain full template */
.scp-page-container {
    max-width: 1290px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 70px;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Sign Category Page CSS */

.scp-subcats__media {
    border: 1px solid #e8e4e4;
}

.scp-hero__btn {
    border: 3px solid #fff;
    background-color: transparent;
    padding: 5px 30px;
}

.scp-hero__btn:hover {
    border: 3px solid #1e73be;
    background-color: #1e73be;
    color: #fff;
}

.scp-feature-card__btn {
    border: 3px solid #1e73be;
    background-color: transparent;
    padding: 2px 30px;
    border-radius: 100px;
    color: #1e73be;
}

.scp-feature-card__btn:hover {
    background-color: #1e73be;
    color: #fff;
}

.scp-feature-card__desc {
    font-size: 15px;
    line-height: 1.8em;
}

.scp-random-cats__name {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.scp-feature-cards__item {
    border-radius: 10px;
}

.scp-random-cats__item {
    border-radius: 10px;
}

.scp-random-cats__img {
    height: 160px !important;
}

.scp-feature-card__img {
    background-color: transparent !important;
    height: 200px !important;
    object-fit: contain !important;
}

.filter-heading {
    margin-top: 0;
    color: white;
    font-size: 18px;
    padding: 10px 0px;
    margin-bottom: 0px !important;
}

.filter-heading h3 {
    margin: 0px !important;
}

/* Row container for heading + controls */
.scp-filter-heading-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.scp-filter-heading-controls {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.scp-filter-control {
    background: transparent;
    border: 1px solid #ddd;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.scp-filter-control:hover {
    background: #f5f5f5;
}

/* Products & Filters layout styles */


/* Sorting and View Controls */
.scp-products-controls {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}


.scp-sort-wrap span {
    white-space: nowrap;
    width: auto !important;
}

.scp-sort-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.scp-sort-wrap label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.scp-sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
    color: #333;
    cursor: pointer;
    font-family: inherit;
}

.scp-sort-select:focus {
    outline: 2px solid #1e73be;
    outline-offset: 2px;
}

.scp-view-toggle {
    display: flex;
    gap: 6px;
}

.scp-view-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    color: #666;
    font-size: 14px;
    transition: all 0.2s ease;
}

.scp-view-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.scp-view-btn[aria-pressed="true"] {
    background: #1e73be;
    color: #fff;
    border-color: #1e73be;
}

.scp-products-layout__grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    align-items: start;
}

.scp-filters-main {
    padding: 18px;
    border-radius: 8px;
}

.scp-filter-group {
    margin-bottom: 14px;
}

.scp-filter-group__title {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.scp-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0px !important;
}

.scp-filter-tag {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 13px;
}

.search-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0d3a66;
    color: white;
    padding: 10px;
}

.scp-search-row {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 70%;
}

.filter-heading-text {
    margin-bottom: 0px;
    font-size: 18px;
}

.scp-search-form {
    flex: 1;
    display: flex;
}

.scp-search-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #d9e3ee;
    border-right: 0;
    border-radius: 4px 0 0 4px;
}

.scp-search-input:focus {
    border-radius: 4px 0 0 4px !important;
}

.scp-search-button {
    background: #1e73be;
    color: #fff;
    border: 0;
    padding: 10px 14px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.scp-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.scp-product-grid.scp-list-view {
    grid-template-columns: 1fr;
}

.scp-product-grid.scp-list-view .scp-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
}

.scp-product-grid.scp-list-view .scp-card__link {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.scp-product-grid.scp-list-view .scp-card__media {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    padding: 12px;
    background: #f9f9f9;
    border-right: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scp-product-grid.scp-list-view .scp-card__img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

.scp-product-grid.scp-list-view .scp-card__body {
    flex: 1;
    padding: 18px 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.scp-product-grid.scp-list-view .scp-card__title {
    flex: 0 0 auto;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    max-width: 221px;
}

.scp-product-grid.scp-list-view .scp-card__attrs {
    flex: 1;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.sorting-section {
    margin-top: 10px;
}

.scp-product-grid.scp-list-view .scp-card__attrs li {
    display: inline-flex;
    gap: 6px;
    font-size: 14px;
    white-space: nowrap;
}

.scp-product-grid.scp-list-view .scp-card__attr-label {
    font-weight: 600;
    color: #333;
}

.scp-product-grid.scp-list-view .scp-card__attr-value {
    color: #666;
}

.scp-product-grid.scp-list-view .scp-card__price {
    flex: 0 0 auto;
    text-align: right;
    font-size: 18px;
    font-weight: 700;
    color: #0d3a66;
    min-width: 120px;
}

@media (max-width: 1200px) {
    .scp-product-grid.scp-list-view .scp-card__body {
        flex-direction: column;
        align-items: flex-start;
    }

    .scp-product-grid.scp-list-view .scp-card__price {
        text-align: left;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .scp-product-grid.scp-list-view .scp-card {
        flex-direction: column;
    }

    .scp-product-grid.scp-list-view .scp-card__media {
        width: 100%;
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        min-height: 200px;
    }

    .scp-product-grid.scp-list-view .scp-card__body {
        flex-direction: column;
        align-items: flex-start;
    }
}

.scp-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.scp-card__link {
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
}

.scp-card__media {
    padding: 16px;
    text-align: center;
    background: #fafafa;
}

.scp-card__img {
    max-width: 100%;
    height: 140px !important;
    object-fit: contain;
    display: inline-block;
}

.scp-card__placeholder {
    height: 140px;
    background: #f5f5f5;
}

.scp-card__body {
    padding: 12px 14px 18px 14px;
}

.scp-card__title {
    font-size: 15px;
    color: #0d3a66;
    margin: 0 0 8px;
}

.scp-card__attrs {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    color: #444;
    font-size: 13px;
}

.scp-card__attrs li {
    margin-bottom: 6px;
}

.scp-card__attr-label {
    font-weight: 600;
}

.scp-card__price {
    font-weight: 700;
    color: #111;
}

.scp-pagination-wrapper {
    margin-top: 18px;
}

@media (max-width: 992px) {
    .scp-products-layout__grid {
        grid-template-columns: 280px 1fr;
    }

    .scp-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .scp-products-layout__grid {
        grid-template-columns: 1fr;
    }

    .scp-product-grid {
        grid-template-columns: 1fr;
    }
}

/* Active filter state styling */
.scp-filter-ajax {
    transition: all 0.3s ease;
}

.scp-filter-ajax:hover {
    background-color: #1e73be;
    color: #fff;
    cursor: pointer;
}

.scp-filter-active {
    background-color: #0d3a66;
    color: #fff;
    font-weight: 600;
}

/* Active filters display section */
.scp-active-filters {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.scp-active-filters__heading {
    font-weight: 600;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    display: inline-block;
    margin-right: 8px;
}

.scp-active-filter-tag {
    display: inline-block;
    background: #0d3a66;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 6px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.scp-active-filter-tag:hover {
    background: #1e73be;
}

.scp-active-filter-remove {
    margin-left: 6px;
    font-weight: bold;
    opacity: 0.8;
}

.scp-active-filter-remove:hover {
    opacity: 1;
}

.scp-clear-filters {
    display: inline-block;
    background: none;
    border: 1px solid #999;
    color: #333;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Single Product Page Hero - Full Width */
.scp-single-product~.scp-hero,
section.scp-hero {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.scp-clear-filters:hover {
    background: #ddd;
    border-color: #666;
}

/* Skeleton loading styles */
.scp-card--skeleton {
    pointer-events: none;
}

.scp-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: scp-skeleton-loading 1.5s infinite;
}

@keyframes scp-skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.scp-skeleton--image {
    height: 140px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.scp-skeleton--title {
    height: 18px;
    border-radius: 4px;
    margin-bottom: 12px;
    width: 85%;
}

.scp-skeleton--text {
    height: 12px;
    border-radius: 4px;
    display: block;
}

.scp-skeleton--price {
    height: 18px;
    border-radius: 4px;
    width: 60%;
    margin-top: 12px;
}

/* Loading state for product grid on initial page load */
.scp-products-loading .scp-card {
    opacity: 0.6;
    animation: scp-skeleton-loading 1.5s infinite;
}

.scp-hero__btn:hover {
    background-color: #fff;
    color: #222;
}

.scp-hero {
    background-color: #3E4D7E;
}

.scp-hero__btn1 {
    border: 3px solid #1e73be;
    background-color: transparent;
    padding: 9px 30px;
    color: #1e73be;
    font-weight: 800;
    font-size: 15px;
    margin-top: 10px;
    cursor: pointer;
}

.scp-hero__btn1:hover {
    border: 3px solid #3E4D7E;
    background-color: #3E4D7E;
    color: #fff;
}

.search-main {
    border-radius: 7px;
    padding: 20px 20px;
    background-color: #3E4D7E;
}

.scp-search-button {
    color: #1e73be;
    background-color: #fff;
    border: 1px solid #000;
}

.scp-price-below-attrs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce .cart .xtra-product-icons-wishlist {
    display: none;
}

.search-main input:focus {
    border-radius: 5px;
}

.woocommerce div.product .product_title {
    display: none;
}

.scp-filters-main {
    background-color: #3E4D7E;
}

.scp-card__media img {
    background-color: #ffff;
}


.scp-active-filters {
    margin-top: 10px;
}


.scp-filter-toggle__icon {
    background-color: #fff;
    color: #3E4D7E;
    border-radius: 10px;
}

.scp-filter-group {
    border-top: 1px solid #ffffff3d;
    padding: 14px 0px;
}

.scp-filter-group__title {
    display: flex;
    justify-content: space-between;
}

.scp-hero {
    padding-top: 60px;
    padding-bottom: 60px;
}

.scp-hero p {
    margin-bottom: 0px;
}

.scp-filter-tags {
    padding-top: 25px;
    padding-bottom: 25px;
}

.scp-filter-group {
    margin-bottom: 0px;
}

.scp-card {
    border: 1px solid #dbdada;
}


.scp-filter-control {
    background-color: #fff;
}

.scp-filter-heading-row {
    padding-bottom: 10px;
}

.scp-hero__btn {
    margin-top: 15px;
    padding: 2px 20px;
}

@media(max-width:767px) {

    .search-main {
        display: flex;
        flex-direction: column;
    }

    .scp-search-row {
        width: 100%;
    }

    .filter-heading-text {
        font-size: 18px;
        padding-bottom: 15px;
    }

    .scp-hero h1 {
        font-size: 30px;
        padding-top: 13px;
    }

    .scp-view-list {
        display: none;
    }

    .scp-products-controls {
        gap: 10px;
        padding: 10px 0px;
    }

}

/* Single product: hero + gallery/summary layout (added by plugin) */
.scp-page-container {
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Two-column product layout: gallery left, summary right */
.xtra-single-product {
    display: flex;
    justify-content: center;
}

.woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images.cz_sticky_col {
    width: 100%;
}

.scp-single-product__gallery {
    padding: 0;
    width: 100%;
}

.scp-single-product__gallery .woocommerce-product-gallery {
    width: 100%;
}

.scp-single-product__summary {
    padding: 0;
    width: 100%;
}

.scp-single-product__summary .price {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 12px 0;
}

.scp-single-product__summary .single_add_to_cart_button {
    background: #2b7be3;
    color: #fff;
    border-radius: 6px;
    padding: 10px 16px;
    border: 0;
    font-weight: 600;
}

.scp-single-product__summary .single_add_to_cart_button:hover {
    background: #255fb2;
}

@media (max-width: 992px) {

    /* .scp-single-product-wrapper { grid-template-columns: 1fr; } */
    .scp-single-product__gallery,
    .scp-single-product__summary {
        padding: 0;
    }
}

/* Ensure product images scale nicely */
.woocommerce-product-gallery__wrapper img,
.woocommerce-product-gallery img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Single product layout: gallery left (wider), summary right (narrower) - converted to flex for responsiveness */
.scp-single-product-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 40px;
    padding: 50px 0px;
}

/* Mobile first: single column stack */
@media (max-width: 767px) {
    .scp-single-product-wrapper {
        flex-direction: column;
        padding: 18px 12px;
        gap: 16px;
        margin-bottom: 24px;
    }

    .scp-single-product__gallery,
    .scp-single-product__summary,
    .scp-single-product__slider {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .scp-rel-body,
    .scp-cab__name {
        text-align: center;
    }

    /* Make the slider thumbnails flow horizontally on small screens */
    .scp-slider-list {
        max-height: none;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 0.75rem;
    }

    .scp-slider-item {
        flex: 0 0 auto;
        width: auto;
    }
}

/* Ensure single-product sidebar slider shows one full card per view on small screens */
@media (max-width: 767px) {

    .scp-single-product__slider .swiper-wrapper,
    .scp-single-product__slider .swiper-slide,
    .scp-single-product__slider .scp-slider-item {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .scp-single-product__slider {
        overflow: hidden;
    }
}

/* Small phones (<=425px) */
@media (max-width: 425px) {
    .scp-single-product-wrapper {
        padding: 12px 8px;
        gap: 12px;
    }

    .scp-single-product__summary .product_title {
        font-size: 18px;
    }
}

/* Large tablets / small desktops */
@media (max-width: 1199px) and (min-width: 993px) {
    .scp-single-product__gallery {
        flex: 0 0 65%;
        max-width: 65%;
    }

    .scp-single-product__summary {
        flex: 1 1 35%;
        max-width: 35%;
    }
}

/* Desktop: gallery 55%, summary 35%, slider 10% */
@media (min-width: 1200px) {
    .scp-single-product__gallery {
        flex: 0 0 55%;
        max-width: 36%;
    }

    .scp-single-product__summary {
        flex: 0 0 35%;
        max-width: 35%;
    }
}

.scp-single-product__gallery {
    width: 100%;
    display: block;
}

.scp-single-product__gallery .woocommerce-product-gallery {
    width: 100%;
    margin: 0;
    padding: 0;
}

.scp-single-product__summary {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}

/* Summary section styling */
.scp-single-product__summary .product_title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin: 0 0 16px;
}

.scp-single-product__summary .price {
    font-size: 22px;
    font-weight: 700;
    color: #0d3a66;
    margin: 12px 0 20px;
}

.scp-single-product__summary .woocommerce-product-details__short-description {
    margin: 20px 0;
}

.scp-single-product__summary .BR-ProductDetails__Title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 12px 0 12px;
}

.scp-single-product__summary .BR-ProductDetails__Properties {
    list-style: none;
    margin: 0;
    padding: 0;
}

.scp-single-product__summary .BR-ProductDetails__Property {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.scp-single-product__summary .BR-ProductDetails__Property__Name {
    margin: 0;
    font-weight: 600;
}

/* Variations form styling */
.scp-single-product__summary .variations_form {
    margin: 24px 0;
}

.scp-single-product__summary table.variations {
    width: 100%;
    margin-bottom: 16px;
}

.scp-single-product__summary table.variations th {
    text-align: left;
    font-weight: 600;
    padding: 8px 0;
    font-size: 14px;
    color: #222;
}

.scp-single-product__summary table.variations select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
}

/* Add to cart section */
.scp-single-product__summary .single_add_to_cart_button {
    background: #2b7be3;
    color: #fff;
    border: 0;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    margin-top: 16px;
    transition: background 0.3s ease;
}

.scp-single-product__summary .single_add_to_cart_button:hover {
    background: #1e5aa8;
}

.scp-single-product__summary .quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: fit-content;
}

.scp-single-product__summary .quantity input {
    width: 50px;
    border: none;
    text-align: center;
    padding: 8px;
    font-size: 14px;
}

.scp-single-product__summary .quantity-up,
.scp-single-product__summary .quantity-down {
    padding: 6px 10px;
    background: #f5f5f5;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    color: #333;
}

/* Product meta and sharing */
.scp-single-product__summary .product_meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 13px;
}

.scp-single-product__summary .xtra-share {
    display: none;
}

/* Responsive: adjust columns for tablets */
@media (max-width: 1024px) {
    .scp-single-product-wrapper {
        /* grid-template-columns: 1fr 1fr; */
        gap: 30px;
    }
}

/* Responsive: stack to single column on mobile */
@media (max-width: 768px) {
    .scp-single-product-wrapper {
        /* grid-template-columns: 1fr; */
        gap: 24px;
    }

    .scp-single-product__summary .single_add_to_cart_button {
        width: 100%;
    }

    .scp-single-product__summary .product_title {
        font-size: 20px;
    }

    .scp-single-product__summary .price {
        font-size: 18px;
    }
}

/* Ensure images remain responsive */
.woocommerce-product-gallery__image img,
.woocommerce-product-gallery img,
.woocommerce-product-gallery__wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Product actions / feature row (below product) */
.scp-product-actions {
    max-width: 1290px;
    margin: 24px auto 48px;
    box-sizing: border-box;
}

.scp-product-actions__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0;
    border: 1px solid #d8e4ec;
    background: #f6fbfe;
    grid-auto-rows: minmax(56px, auto);
}

.scp-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    text-decoration: none;
    color: inherit;
    border-right: 1px solid #e6eef6;
    border-bottom: 1px solid #e6eef6;
    min-height: 56px;
}

.scp-action__text {
    flex: 1 1 auto;
    font-size: 14px;
    color: #163a57;
}

.scp-action__icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #163a57;
}


.scp-action__icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.scp-action:hover {
    background: #eaf4fb;
}

@media (max-width: 1100px) {
    .scp-product-actions__inner {
        grid-template-columns: none;
    }

    /* Remove right border on every 3rd item when using 3 columns */
    .scp-action:nth-child(3n) {
        border-right: none;
    }

    .scp-action {
        border-bottom: 1px solid #3E4D7E !important;
        border-right: unset !important;
    }
}

@media (max-width: 640px) {
    .scp-product-actions__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Remove right border on every 2nd item when using 2 columns */
    .scp-action:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 420px) {
    .scp-product-actions__inner {
        grid-template-columns: 1fr;
    }

    .scp-action {
        justify-content: flex-start;
        gap: 12px;
    }

    /* Single column — no right borders */
    .scp-action {
        border-right: none;
    }
}

/* Related products horizontal slider */
.scp-related-slider {
    max-width: 1290px;
    margin: 36px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.scp-related-slider__inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.scp-rel-btn {
    background: transparent;
    border: 1px solid #ddd;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
}

.scp-rel-btn:focus {
    outline: 2px solid rgba(30, 115, 190, 0.25);
    outline-offset: 2px;
}

.scp-rel-track-wrap {
    overflow: hidden;
    flex: 1 1 auto;
}

.scp-rel-track {
    display: flex;
    gap: 14px;
    align-items: stretch;
    padding: 6px 0;
    scroll-behavior: smooth;
}

.scp-rel-item {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    width: 220px;
    flex: 0 0 220px;
    box-sizing: border-box;
    padding: 10px;
}

.scp-rel-media {
    text-align: center;
    padding-bottom: 8px;
}

.scp-rel-thumb {
    max-width: 100%;
    height: 120px;
    object-fit: contain;
    display: inline-block;
}

.scp-rel-title {
    font-size: 14px;
    font-weight: 600;
    color: #163a57;
    margin-bottom: 6px;
    max-width: 30ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scp-rel-price {
    font-size: 14px;
    font-weight: 700;
    color: #0d3a66;
}

.scp-rel-empty {
    padding: 18px;
    color: #666;
}

/* Responsive: show more items on larger screens */
@media (min-width: 1400px) {
    .scp-rel-item {
        width: 240px;
        flex: 0 0 240px;
    }
}

@media (min-width: 1100px) and (max-width: 1399px) {
    .scp-rel-item {
        width: 220px;
        flex: 0 0 220px;
    }
}

@media (max-width: 900px) {
    .scp-rel-item {
        width: 180px;
        flex: 0 0 180px;
    }
}

@media (max-width: 640px) {
    .scp-rel-item {
        width: 46%;
        flex: 0 0 46%;
    }

    .scp-rel-track {
        gap: 10px;
    }
}

@media (max-width: 420px) {
    .scp-rel-item {
        width: 90%;
        flex: 0 0 90%;
        margin: 0 auto;
    }

    .scp-rel-btn {
        display: none;
    }
}

/* ============================================================
   Single Product (Signs) — Brady-style UI additions
   ============================================================ */

/* ---- Product Highlights ---- */
.scp-product-highlights {
    margin: 0 0 18px;
    padding: 0;
}

.scp-highlights__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.scp-highlights__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.scp-highlight {
    font-size: 14px;
    line-height: 1.55;
    color: #2c2c2c;
    margin: 0 0 4px;
}

.scp-highlight__label {
    font-weight: 600;
    margin-right: 4px;
}

.scp-highlight__value {
    font-weight: 400;
}

.scp-highlight__link {
    color: #0d3a66;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.scp-highlight__link:hover {
    border-bottom-color: #0d3a66;
}

/* ---- "Choose your options" header ---- */
.scp-options-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 10px;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 8px;
}

.scp-options-header__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

.scp-options-header__actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.scp-options-header__viewall,
.scp-options-header__reset {
    color: #0d3a66;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.scp-options-header__viewall:hover,
.scp-options-header__reset:hover {
    text-decoration: underline;
}

.scp-options-header__sep {
    color: #c8c8c8;
}

/* ---- Step badges next to each variation row ---- */
.scp-single-product__summary table.variations tr {
    display: block;
    margin-bottom: 12px;
}

.scp-single-product__summary table.variations th.label,
.scp-single-product__summary table.variations td.label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    padding: 0 0 4px;
    text-align: left;
}

.scp-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #4caf50;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex: 0 0 auto;
    line-height: 1;
}

/* ---- Secondary actions: Add to Compare + Customize it ---- */
.scp-secondary-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 12px 0;
    font-size: 13px;
}

.scp-compare {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #333;
    margin: 0;
}

.scp-compare__cb {
    accent-color: #0d3a66;
}

.scp-customize {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0d3a66;
    text-decoration: none;
    font-weight: 600;
}

.scp-customize:hover {
    text-decoration: underline;
}

/* ---- Price block ---- */
.scp-price-below-attrs {
    margin: 14px 0 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}

.scp-price-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.scp-dynamic-price .price,
.scp-dynamic-price .price .amount {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.scp-price-suffix {
    font-size: 13px;
    font-weight: 400;
    color: #666;
    margin-left: 4px;
}

.scp-part-number {
    flex-basis: 100%;
    font-size: 13px;
    color: #444;
    margin-top: 4px;
}

.scp-part-number__label {
    font-weight: 600;
    margin-right: 4px;
}

/* ---- Request a sample link ---- */
.scp-request-sample {
    display: inline-block;
    margin-left: 14px;
    color: #0d3a66;
    font-size: 14px;
    text-decoration: none;
    vertical-align: middle;
    font-weight: 600;
}

.scp-request-sample:hover {
    text-decoration: underline;
}

/* ============================================================
   Customers Also Bought — vertical Swiper sidebar
   ============================================================ */
.scp-cab {
    background: #fff;
    padding: 12px;
    border: 1px solid #ececec;
    border-radius: 6px;
    box-sizing: border-box;
    width: 220px;
}

@media (max-width: 1201px) {
    .scp-cab {
        width: 268px;
    }
}

@media (max-width: 1024px) {
    .scp-cab {
        width: 100%;
    }
}

.scp-cab__title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
    text-align: center;
}

footer {
    margin-bottom: 0px !important;
}

.scp-cab__viewport {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.scp-cab-swiper {
    width: 100%;
    max-height: 520px;
    overflow: hidden;
}

.scp-cab__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 8px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.scp-cab__item:hover {
    border-color: #0d3a66;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}

.scp-cab__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    margin-bottom: 6px;
}

.scp-cab__media img,
.scp-cab__img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
}

.scp-cab__placeholder {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 4px;
}

.scp-cab__name {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    max-width: 30ch;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.scp-cab__price {
    font-size: 13px;
    color: #0d3a66;
    font-weight: 700;
    max-width: 100%;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scp-cab__from {
    font-size: 11px;
    color: #777;
    font-weight: 400;
    margin-right: 2px;
}

@media (max-width: 425px) {
    .scp-cab__media {
        height: 70px;
    }

    .scp-cab__img,
    .scp-cab__media img {
        max-width: 70px;
        max-height: 70px;
    }

    .scp-cab__name {
        font-size: 11px;
    }

    .scp-cab__price {
        font-size: 12px;
    }

    .scp-cab-swiper .swiper-slide {
        padding: 4px;
    }
}

/* CAB nav buttons */
.scp-cab__nav {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #d6d6d6;
    background: #fff;
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
    padding: 0;
}

.scp-cab__nav:hover {
    background: #0d3a66;
    border-color: #0d3a66;
    color: #fff;
}

.scp-cab__nav--prev svg {
    transform: rotate(90deg);
}

.scp-cab__nav--next svg {
    transform: rotate(90deg);
}

.scp-cab__nav.swiper-button-disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* On smaller screens swiper goes horizontal — flip caret rotation back */
@media (max-width: 1023px) {
    .scp-cab__viewport {
        flex-direction: row;
    }

    .scp-cab-swiper {
        max-height: none;
    }

    .scp-cab__nav--prev svg,
    .scp-cab__nav--next svg {
        transform: none;
    }
}

/* ============================================================
   Related Products — horizontal Swiper (bottom of page)
   These rules override the legacy .scp-rel-track styles above when
   the markup uses the new .scp-rel-swiper wrapper.
   ============================================================ */
.scp-related-slider__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.scp-related-slider__title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    position: relative;
    padding-bottom: 8px;
}

.scp-related-slider__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    background: #0d3a66;
    border-radius: 2px;
}

.scp-rel-swiper {
    flex: 1 1 auto;
    overflow: hidden;
    padding: 4px 2px;
    min-width: 0;
}

.scp-rel-swiper .swiper-wrapper {
    align-items: stretch;
}

.scp-rel-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.scp-rel-swiper .scp-rel-item {
    width: 100%;
    flex: 1 1 auto;
    height: 100%;
    padding: 0;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;
    box-sizing: border-box;
}

.scp-rel-swiper .scp-rel-item:hover {
    border-color: #0d3a66;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.scp-rel-swiper .scp-rel-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: #fafafa;
    height: 180px;
}

.scp-rel-swiper .scp-rel-media img,
.scp-rel-swiper .scp-rel-thumb {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
}

.scp-rel-swiper .scp-rel-body {
    padding: 12px 14px 16px;
}

.scp-rel-swiper .scp-rel-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.35;
    margin-bottom: 6px;
    min-height: 38px;
}

.scp-rel-swiper .scp-rel-price {
    font-size: 14px;
    font-weight: 700;
    color: #0d3a66;
}

/* Related-slider nav buttons (override the older squared style) */
.scp-related-slider .scp-rel-btn {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #d6d6d6;
    background: #fff;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.scp-related-slider .scp-rel-btn:hover {
    background: #0d3a66;
    border-color: #0d3a66;
    color: #fff;
}

.scp-related-slider .scp-rel-btn.swiper-button-disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* RTL support (Arabic side of the site) */
html[dir="rtl"] .scp-rel-btn svg,
html[dir="rtl"] .scp-cab__nav svg {
    transform: scaleX(-1);
}

html[dir="rtl"] .scp-cab__nav--prev svg,
html[dir="rtl"] .scp-cab__nav--next svg {
    transform: rotate(90deg);
}

/* Banners (moved from plugin assets) */
.scp-banner {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 250px;
    padding: 50px 20px;
    margin-top: 48px;
    /* increased top spacing per request */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.scp-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.scp-banner__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: white;
}

.scp-banner__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.scp-banner__description {
    font-size: 16px;
    margin-bottom: 28px;
    line-height: 1.6;
    opacity: 0.95;
}

.scp-banner__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.scp-banner__btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scp-banner__btn:hover {
    background-color: white;
    color: #003366;
}

.scp-banner__btn--secondary {
    background-color: rgba(255, 255, 255, 0.1);
}

.scp-banner__btn--secondary:hover {
    background-color: white;
    color: #003366;
}

@media (max-width: 768px) {
    .scp-banner {
        min-height: 200px;
        padding: 30px 15px;
        margin-top: 36px;
    }

    .scp-banner__title {
        font-size: 24px;
    }

    .scp-banner__description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .scp-banner__actions {
        flex-direction: column;
        gap: 12px;
    }

    .scp-banner__btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .scp-banner {
        min-height: 180px;
        padding: 25px 12px;
        margin-top: 28px;
    }

    .scp-banner__title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .scp-banner__description {
        font-size: 13px;
        margin-bottom: 16px;
    }
}

.variations_form .label {
    width: 100% !important;
}


.scp-price-below-attrs {
    align-items: center;
}

.scp-price-below-attrs .scp-price-label {
    font-size: 17px;
    color: #3E4D7E;
}

.scp-price-below-attrs p {
    font-size: 17px;
    color: #3E4D7E !important;
    margin: 0px !important;
}


.single_variation_wrap .quantity-down {
    border-radius: unset;
    padding: 10px 20px;
}

.single_variation_wrap .quantity-up {
    border-radius: unset;
    padding: 10px 20px;
}

.single_variation_wrap .quantity-down:hover {
    background-color: #3E4D7E !important;
}

.single_variation_wrap .quantity-up:hover {
    background-color: #3E4D7E !important;
}

.scp-single-product__summary .quantity {
    border-radius: unset;
}

.single_variation_wrap .quantity input {
    height: 35px;
    width: 50px !important;
    border: unset !important;
}

.scp-request-sample:hover {
    color: #3E4D7E;
}

.single_variation_wrap .single_add_to_cart_button {
    background-color: transparent !important;
    opacity: 1 !important;
    color: #3E4D7E !important;
    margin-left: 10px !important;
    border-radius: 100px;
    border: 3px solid #3E4D7E !important;
    padding: 10px 25px !important;
}

.single_variation_wrap .single_add_to_cart_button:hover {
    background-color: #3E4D7E !important;
    color: #fff !important;
}

.scp-action {
    border-color: #3E4D7E !important;
    border-bottom: unset;
}

.scp-product-actions__inner {
    background: #fff;
    border: 1px solid #3E4D7E;
    max-width: 100% !important;
    width: 100% !important;
}

.scp-product-actions__inner a:hover {
    background: #3E4D7E !important;
}

.scp-product-actions__inner a:hover div {
    color: #fff !important;
}

.scp-product-actions__inner a div {
    font-size: 15px;
    font-weight: 600;
    line-height: 25px;
}


.scp-product-description h2 {
    font-size: 28px;
    margin-bottom: 0px;
    padding: 10px 0px;
}

.scp-product-description h3 {
    font-size: 22px;
    margin-bottom: 0px;
    padding: 10px 0px;
}

.scp-product-description p {
    font-size: 15px;
}


.scp-page-container .woocommerce-product-details__short-description {
    margin-top: 0px !important;
}

.scp-page-container .BR-ProductDetails__Title {
    margin-top: 0px !important;
}



.scp-banner .scp-banner__btn--secondary {
    background: #3E4D7E !important;
    border: unset;
    border-radius: 100px;
    padding: 10px 25px;
    font-size: 14px;
    border: 2px solid #3E4D7E;
}

.scp-banner .scp-banner__btn--secondary:hover {
    color: #fff;
    background: transparent !important;
    border: 2px solid #3E4D7E;
}

.scp-related-slider__inner .swiper-wrapper {
    padding-top: 10px !important;
}

.scp-rel-swiper .scp-rel-item:hover {
    border: 1px solid lightgray;
}

.scp-pagination-wrapper .page-numbers.current {
    border-radius: 100px !important;
}


@media(max-width:767px) {
    .scp-single-product__summary .quantity {
        width: unset !important;
    }

    .scp-product-actions__inner {
        display: flex !important;
        flex-direction: column !important;
    }

    .scp-action {
        border-bottom: 1px solid #3E4D7E;
        border-right: unset !important;
    }

    .scp-banner .scp-banner__btn--secondary {
        width: fit-content;
    }

    .single_variation_wrap .single_add_to_cart_button {
        width: 100% !important;
        margin-left: 0px !important;
    }

    .single_variation_wrap .quantity input {
        width: 25px !important;
    }

    .single_variation_wrap .scp-request-sample {
        margin-top: 8px;
    }

    .scp-single-product-wrapper {
        padding-left: 0px;
        padding-right: 0px;
    }

}

@media(max-width:330px) {
    .scp-single-product__summary select {
        width: 100% !important;
        max-width: 100% !important;
    }

    .scp-single-product__summary .codevz-variations {
        width: 100% !important;
        max-width: 100% !important;
    }

    .scp-single-product__summary .value {
        width: 100% !important;
        max-width: 100% !important;
    }
}