/* SaltGear Shop Shortcode Styles */
.sgshop-wrapper {
    --sg-red: #D32F2F;
    --sg-red-dark: #B71C1C;
    --sg-dark: #1a1a2e;
    --sg-gray: #6c757d;
    --sg-light-gray: #999;
    --sg-border: #e5e5e5;
    --sg-star: #FFC107;
    max-width: 1400px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333
}

.sgshop-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

/* Breadcrumb */
.sgshop-breadcrumb {
    font-size: 12px;
    color: var(--sg-light-gray);
    margin-bottom: 20px;
    letter-spacing: 0.3px
}

.sgshop-breadcrumb a {
    color: var(--sg-light-gray);
    text-decoration: none
}

.sgshop-breadcrumb a:hover {
    color: var(--sg-red)
}

/* Header */
.sgshop-header {
    margin-bottom: 30px
}

.sgshop-header h1 {
    font-size: 30px;
    font-weight: 500;
    color: #000;
    margin: 0 0 10px;
}

#sgshop-search-input {
    border: none!important;
    box-shadow: none !important;
    font-size: 16px !important;
    padding: 0px!important;
}

#sgshop-search-input:focus {
    border: none!important;
    box-shadow: none !important;
    font-size: 16px !important;
}

.sgshop-header p {
    color: var(--sg-gray);
    font-size: 14px;
    margin: 0 0 20px;
    font-weight: 400
}

.sgshop-search {
    display: flex;
    align-items: center;
    max-width: 450px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    padding: 0 14px
}

.sgshop-search .search-icon {
    color: #bbb;
    display: flex;
    margin-right: 10px
}

.sgshop-search input {
    flex: 1;
    padding: 12px 0;
    border: none;
    font-size: 14px;
    outline: none;
    background: transparent;
    color: #333
}

.sgshop-search input::placeholder {
    color: #bbb;
    font-weight: 400
}

/* Browse Label */
.sgshop-browse-label {
    font-size: 12px;
    color: var(--sg-light-gray);
    margin-bottom: 14px;
    text-transform: none;
    letter-spacing: 0.2px
}

/* Tabs */
.sgshop-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
    align-items: center
}

.sgshop-tab {
   display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0px 11px;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s ease;
    color: #333;
    font-weight: 500;
    text-transform: capitalize;
}

.sgshop-tab:hover {
    border-color: #999;
    background: #fafafa
}

.sgshop-tab.active {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e
}

.sgshop-tab .tab-icon {
    font-size: 14px;
    display: flex;
    opacity: 1;
    color: #000
}

.sgshop-tab.active .tab-icon {
    color: inherit
}

/* View Toggle Button */
.sgshop-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0px 11px;
    background: transparent;
    border: 1px solid var(--sg-red);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s ease;
    color: var(--sg-red);
    font-weight: 500;
    margin-left: auto;
    text-transform: capitalize;
}

.sgshop-view-toggle:hover {
    background: var(--sg-red);
    color: #fff
}

.sgshop-view-toggle .toggle-icon {
    display: flex;
    transition: transform 0.3s ease
}

.sgshop-view-toggle.expanded .toggle-icon {
    transform: rotate(180deg)
}

/* Sidebar Toggle */
.sgshop-side-toggle {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--sg-red);
    text-decoration: none;
    font-weight: 600
}

.sgshop-side-toggle:hover {
    text-decoration: underline
}

/* Layout */
.sgshop-content {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    background: #f9f9fb;
    padding: 50px 50px;
}

.sgshop-content-one{
    padding: 20px 50px 0px 50px;
}

/* Filters */
.sgshop-filters {
    background: #fff;
    border: 1px solid var(--sg-border);
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px
}

.sgshop-filter-head {
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--sg-border)
}

.sgshop-filter-head h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px
}

.sgshop-filter-head span {
    font-size: 12px;
    color: var(--sg-gray)
}

.sgshop-filter-group {
    padding: 15px 0;
    border-bottom: 1px solid var(--sg-border)
}

.sgshop-filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0
}

.sgshop-filter-group h4 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #333
}

/* Checkbox & Radio */
.sgshop-checkbox,
.sgshop-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    margin-bottom: 10px;
    line-height: 1
}

.sgshop-checkbox:last-child,
.sgshop-radio:last-child {
    margin-bottom: 0
}

.sgshop-checkbox input,
.sgshop-radio input {
    display: none
}

.sgshop-checkbox>span:first-of-type,
.sgshop-radio>span:first-of-type {
    width: 18px;
    height: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: .15s;
    background: #fff
}

.sgshop-radio>span:first-of-type {
    border-radius: 50%
}

.sgshop-checkbox input:checked+span {
    background: var(--sg-red);
    border-color: var(--sg-red)
}

.sgshop-checkbox input:checked+span::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 11px;
    font-weight: bold
}

.sgshop-radio input:checked+span {
    border-color: var(--sg-red)
}

.sgshop-radio input:checked+span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--sg-red);
    border-radius: 50%
}

/* Price Range Slider */
.sgshop-price-range {
    position: relative;
    height: 24px;
    margin: 10px 0 8px
}

.price-slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sg-red);
    border-radius: 2px;
    transform: translateY(-50%)
}

.sgshop-price-range input[type="range"] {
    position: absolute;
    width: 100%;
    height: 4px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    top: 50%;
    transform: translateY(-50%)
}

.sgshop-price-range input[type="range"]::-webkit-slider-track {
    height: 4px;
    background: transparent
}

.sgshop-price-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #fff;
    border: 2px solid var(--sg-red);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    margin-top: 0
}

.sgshop-price-range input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #fff;
    border: 2px solid var(--sg-red);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto
}

.sgshop-price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--sg-gray)
}

/* Stars */
.sgshop-stars {
    color: var(--sg-star);
    font-size: 12px;
    letter-spacing: 0
}

/* Main */
.sgshop-main {
    min-width: 0
}

.sgshop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--sg-gray)
}

.sgshop-sort {
    display: flex;
    align-items: center;
    gap: 8px
}

.sgshop-sort label {
    color: var(--sg-gray)
}

.sgshop-sort select {
    padding: 8px 12px;
    border: 1px solid var(--sg-border);
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
    cursor: pointer;
    outline: none
}

/* Grid */
.sgshop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.sgshop-grid.loading {
    opacity: .5;
    pointer-events: none
}

/* Card */
.sgshop-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sgshop-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    transform: translateY(-4px);
    border-color: #ddd;
}

.sgshop-card-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
/*     background: #fcfcfc; */
    border-bottom: 1px solid #f0f0f0;
}

.sgshop-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sgshop-card:hover .sgshop-card-img img {
    transform: scale(1.05);
}

.sgshop-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.sgshop-card-cat {
    font-size: 11px;
    color: var(--sg-gray);
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: none;
}

.sgshop-card-cat span {
    color: #999;
}

.sgshop-card-title {
    font-size: 13px;
    font-weight: 500 !important;
    text-transform: uppercase;
    color: #000;
}

.sgshop-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sgshop-card-rating .sgshop-stars {
    font-size: 20px;
    color: #db3d36;
    margin-top: -5px;
}

.sgshop-rating-num {
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.sgshop-reviews {
    font-size: 12px;
    color: #777;
}

.sgshop-card-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sgshop-card-sku {
    font-size: 11px;
    color: #888;
    font-weight: 400;
}

.sgshop-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 6px;
    margin-top: 6px;
}

.sgshop-card-title a {
    color: #000 !important;
    font-weight: 600 !important;
}

.sgshop-card-specs span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #666;
    font-weight: 500;
}

.sgshop-card-specs svg {
    color: #888;
    stroke-width: 1.5;
}

.sgshop-card-footer {
    display: flex;
    flex-direction: column;
}

.sgshop-card-price-wrap {
    display: flex;
    flex-direction: column;
}

.sgshop-card-price {
    font-size: 18px;
    font-weight: 800;
    color: #000;
    margin-bottom: 5px;
}

.sgshop-card-price .woocommerce-Price-currencySymbol {
    font-size: 17px;
    font-weight: 500!important;
    margin-right: 3px;
}

.sgshop-card-price .amount {
    color: #111;
    font-weight: 500!important;
    white-space: nowrap;
    font-size: 17px!important;
}

.sgshop-card-price del {
    font-size: 13px;
    color: #999;
    font-weight: 400;
    margin-right: 6px;
}

.sgshop-card-price ins {
    text-decoration: none;
}

.sgshop-btn {
    display: inline-block;
    padding: 6px 8px !important;
    background: #db3d36;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 400;
    border-radius: 5px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    /* box-shadow: 0 2px 4px rgba(211, 47, 47, 0.2); */
    text-align: center;
}

.sgshop-btn:hover {
    background: #b71c1c;
    box-shadow: 0 4px 8px rgba(211, 47, 47, 0.3);
    transform: translateY(-1px);
}

/* Pagination */
.sgshop-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px
}

.sgshop-pagination button {
    padding: 4px 15px;
    border: 1px solid var(--sg-border);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: .2s
}

.sgshop-pagination button.active,
.sgshop-pagination button:hover {
    background: var(--sg-red);
    color: #fff;
    border-color: var(--sg-red)
}

.sgshop-pagination button:disabled {
    opacity: .5;
    cursor: not-allowed
}

/* No Products */
.sgshop-no-products {
    grid-column: 1/-1;
    text-align: center;
    padding: 50px 20px;
    color: var(--sg-gray);
    background: #f8f9fa;
    border-radius: 8px
}

/* Responsive */
@media(max-width:1100px) {
    .sgshop-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:900px) {
    .sgshop-content {
        grid-template-columns: 240px 1fr;
        gap: 20px
    }
}

@media(max-width:768px) {
    .sgshop-content {
        grid-template-columns: 1fr
    }

    .sgshop-filters {
        position: static;
        margin-bottom: 20px
    }

    .sgshop-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch
    }

    .sgshop-tab {
        white-space: nowrap
    }

    .sgshop-search {
        max-width: 100%!important;
    }
}

@media(max-width:550px) {
    .sgshop-grid {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .sgshop-toolbar {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start
    }

    .sgshop-card-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start
    }

    .sgshop-btn {
        width: 100%;
        text-align: center
    }

    .sgshop-search {
        max-width: 100%!important;
    }
}
.elementor img {
    background-color: white !important;
}

/* HIDE real browser checkbox fully - force override */
.sgshop-checkbox input[type="checkbox"],
.sgshop-radio input[type="radio"]{
    position:absolute !important;
    opacity:0 !important;
    width:0 !important;
    height:0 !important;
    pointer-events:none !important;
    appearance:none !important;
    -webkit-appearance:none !important;
}




.sgshop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sgshop-results {
  font-size: 14px;
  font-weight: 500;
}

.sgshop-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sgshop-sort label {
  font-size: 14px;
  font-weight: 500;
}

#sgshop-orderby {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  min-width: 150px;
}

.sgshop-card-rating-div{
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.sgshop-card-img a {
    height: 100%!important;
}

.sgshop-card-img {
    height: 250px !important;
    padding: 20px !important;
}

.button.alt, .button.checkout, .checkout-button, .secondary {
    background-color: var(--fs-color-secondary);
    border-radius: 50px!important;
}

.callout.badge.badge-square .badge-inner{
    border-radius: 50px !important;
    font-size: 15px !important;
        padding: 0px 20px!important;

}

.callout.badge.badge-square {
    margin: 6px 7px!important;
}

.badge-container.is-larger.absolute.left.top.z-1 {
    margin: 0px 0px 0px 0px;
}

.badge-container.absolute.left.top.z-1 {
    display: none !important;
}