/* ============================================================
   SATA Style Product Page — based on inspected SATA CSS
   Font: Source Sans 3 | Primary: #e2001a | Border: #dbdedf
   ============================================================ */

.ssp-single-product {
    --ssp-red:        #e2001a;
    --ssp-text:       #2b3136;
    --ssp-text-dark:  #000000;
    --ssp-muted:      #5a6f7a;
    --ssp-border:     #dbdedf;
    --ssp-border-h:   #acb7bc;
    --ssp-bg:         #ffffff;
    --ssp-bg-soft:    #f4f5f5;
    --ssp-disabled:   #acb7bc;
    --ssp-cta:        #2b3136;
    --ssp-cta-hover:  #000000;
    --ssp-font:       "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    font-family: var(--ssp-font);
    color: var(--ssp-text);
    background: var(--ssp-bg);
    box-sizing: border-box;
}

.ssp-single-product *,
.ssp-single-product *::before,
.ssp-single-product *::after { box-sizing: border-box; }

/* ============================================================
   Breadcrumb
   ============================================================ */

.ssp-single-product .ssp-breadcrumb {
    margin: 0 0 24px;
    padding: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ssp-muted);
}

.ssp-single-product .ssp-breadcrumb .woocommerce-breadcrumb {
    padding: 0;
    margin: 0;
    color: var(--ssp-muted);
    font-family: var(--ssp-font);
    font-size: 13px;
    border: none;
    background: none;
}

.ssp-single-product .ssp-breadcrumb a {
    color: var(--ssp-text-dark);
    text-decoration: none;
    transition: color 0.15s ease;
}

.ssp-single-product .ssp-breadcrumb a:hover {
    color: var(--ssp-red);
    text-decoration: underline;
}

.ssp-single-product .ssp-breadcrumb .breadcrumb-separator,
.ssp-single-product .ssp-breadcrumb .delimiter {
    margin: 0 6px;
    color: var(--ssp-muted);
}

/* ============================================================
   HERO
   ============================================================ */

.ssp-single-product .ssp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "gallery info";
    gap: 60px;
}

.ssp-single-product .ssp-hero-gallery { grid-area: gallery; min-width: 0; }
.ssp-single-product .ssp-hero-info    { grid-area: info;    min-width: 0; padding-top: 12px; }
.ssp-single-product .ssp-hero-header--mobile  { display: none; }
.ssp-single-product .ssp-hero-header--desktop { display: block; }

@media (max-width: 991px) {
    .ssp-single-product .ssp-hero {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "gallery"
            "info";
        gap: 24px;
    }
    .ssp-single-product .ssp-hero-header--mobile  { display: block; grid-area: header; }
    .ssp-single-product .ssp-hero-header--desktop { display: none; }
}

/* === Gallery (WC's woocommerce-product-gallery wrapper) === */
.ssp-single-product .ssp-hero-gallery .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ssp-single-product .ssp-hero-gallery .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
}

/* Main image: clean white box with thin border */
.ssp-single-product .ssp-hero-gallery .woocommerce-product-gallery__image {
    aspect-ratio: 1 / 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--ssp-border);
    border-radius: 4px;
    padding: 40px;
    margin: 0 0 16px !important;
    overflow: hidden;
    position: relative;
}

.ssp-single-product .ssp-hero-gallery .woocommerce-product-gallery__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.ssp-single-product .ssp-hero-gallery .woocommerce-product-gallery__image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Trigger / zoom icon (top-right) styling */
.ssp-single-product .ssp-hero-gallery .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--ssp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--ssp-text);
    font-size: 14px;
    z-index: 5;
    transition: border-color 0.15s ease;
}
.ssp-single-product .ssp-hero-gallery .woocommerce-product-gallery__trigger:hover {
    border-color: var(--ssp-text-dark);
}

/* Thumbnails: 5-col grid, square, clean */
.ssp-single-product .ssp-hero-gallery .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
    border: none !important;
    background: transparent !important;
    flex-wrap: nowrap !important;
}

.ssp-single-product .ssp-hero-gallery .flex-control-thumbs li {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
}

.ssp-single-product .ssp-hero-gallery .flex-control-thumbs img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--ssp-border);
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    transition: border-color 0.15s ease;
    opacity: 1 !important;
    display: block;
    box-shadow: none !important;
}

.ssp-single-product .ssp-hero-gallery .flex-control-thumbs img:hover {
    border-color: var(--ssp-border-h);
}

.ssp-single-product .ssp-hero-gallery .flex-control-thumbs img.flex-active {
    border-color: var(--ssp-text-dark) !important;
    outline: 1px solid var(--ssp-text-dark);
}

/* Mobile: smaller thumbnail grid */
@media (max-width: 768px) {
    .ssp-single-product .ssp-hero-gallery .flex-control-thumbs {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Hero grid: 45/55 split so the gallery doesn't dominate on wide screens */
@media (min-width: 992px) {
    .ssp-single-product .ssp-hero {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    }
}

.ssp-single-product .ssp-hero-gallery .flex-control-thumbs {
    display: flex !important;
    gap: 8px;
    padding: 16px;
    border-top: 1px solid var(--ssp-border);
    overflow-x: auto;
    list-style: none;
    margin: 0;
    flex-wrap: nowrap;
}

.ssp-single-product .ssp-hero-gallery .flex-control-thumbs li {
    flex: 0 0 80px !important;
    width: 80px !important;
    height: 80px;
    margin: 0 !important;
}

.ssp-single-product .ssp-hero-gallery .flex-control-thumbs img {
    width: 100% !important;
    height: 100%;
    object-fit: contain;
    border: 1px solid var(--ssp-border);
    border-radius: 2px;
    padding: 6px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease;
    opacity: 1 !important;
}

.ssp-single-product .ssp-hero-gallery .flex-control-thumbs img:hover {
    border-color: var(--ssp-border-h);
}

.ssp-single-product .ssp-hero-gallery .flex-control-thumbs img.flex-active {
    border-color: var(--ssp-text-dark);
    outline: 1px solid var(--ssp-text-dark);
}

/* === Info column === */
.ssp-single-product .ssp-hero-header {
    margin-bottom: 24px;
}

.ssp-single-product .ssp-hero-sku {
    font-size: 14px;
    color: var(--ssp-muted);
    font-weight: 400;
    margin-bottom: 8px;
    font-family: var(--ssp-font);
}

.ssp-single-product .ssp-hero-title {
    font-family: var(--ssp-font);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--ssp-text-dark);
    margin: 0 0 12px;
}

@media (max-width: 991px) {
    .ssp-single-product .ssp-hero-title { font-size: 22px; }
}

.ssp-single-product .ssp-hero-brand {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ssp-text-dark);
    background: var(--ssp-bg-soft);
    border: 1px solid var(--ssp-border);
    padding: 4px 12px;
    border-radius: 2px;
    font-family: var(--ssp-font);
}

.ssp-single-product .ssp-hero-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--ssp-text-dark);
    margin-bottom: 24px;
    font-family: var(--ssp-font);
}

.ssp-single-product .ssp-hero-price del {
    color: var(--ssp-muted);
    font-weight: 400;
    margin-right: 6px;
}

.ssp-single-product .ssp-hero-price .woocommerce-Price-amount {
    font-size: 20px;
    font-weight: 700;
}

/* === WooCommerce variations form -> styled as SATA groups === */
.ssp-single-product .ssp-hero .variations_form .variations {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 16px;
}

.ssp-single-product .ssp-hero .variations_form .variations tr {
    display: block;
    margin-bottom: 16px;
    border: none;
    background: none;
}

.ssp-single-product .ssp-hero .variations_form .variations td {
    display: block;
    padding: 0;
    border: none;
    background: none;
}

.ssp-single-product .ssp-hero .variations_form .variations td.label {
    margin-bottom: 8px;
}

.ssp-single-product .ssp-hero .variations_form .variations td.label label {
    font-family: var(--ssp-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--ssp-text-dark);
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
}

/* Hide original select (kept for form submit) when buttons are active */
.ssp-single-product .ssp-variant-select-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    border: 0 !important;
}

/* Fallback: style the native select like SATA, in case JS conversion fails */
.ssp-single-product .ssp-hero .variations_form select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--ssp-border);
    border-radius: 2px;
    font-family: var(--ssp-font);
    font-size: 14px;
    color: var(--ssp-text-dark);
    background: #fff;
}

/* === Variant buttons (SATA-style grid) === */
.ssp-single-product .ssp-variant-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 4px;
}

.ssp-single-product .ssp-variant-btn {
    background: #ffffff;
    color: var(--ssp-text-dark);
    border: 1px solid var(--ssp-border);
    border-radius: 2px;
    font-family: var(--ssp-font);
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
    min-height: 30px;
    padding: 3px 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
    text-align: center;
    width: 100%;
    outline: none;
}

.ssp-single-product .ssp-variant-btn:hover:not(.disabled) {
    border-color: var(--ssp-border-h);
    color: var(--ssp-text-dark);
}

.ssp-single-product .ssp-variant-btn.active,
.ssp-single-product .ssp-variant-btn.checked {
    border-color: var(--ssp-text-dark);
    outline: 1px solid var(--ssp-text-dark);
}

.ssp-single-product .ssp-variant-btn.disabled {
    color: var(--ssp-disabled);
    cursor: not-allowed;
    text-decoration: line-through;
    border-color: var(--ssp-border);
    background: #fff;
    opacity: 0.65;
}

@media (max-width: 480px) {
    .ssp-single-product .ssp-variant-buttons { grid-template-columns: repeat(3, 1fr); }
}

/* === Reset variations link === */
.ssp-single-product .ssp-hero .reset_variations {
    display: inline-block;
    font-size: 13px;
    color: var(--ssp-muted);
    text-decoration: underline;
    margin-top: 4px;
}

/* === Add-to-cart row === */
.ssp-single-product .ssp-hero .single_variation,
.ssp-single-product .ssp-hero .woocommerce-variation { margin-top: 8px; }

.ssp-single-product .ssp-hero .woocommerce-variation-price {
    margin-bottom: 16px;
}

.ssp-single-product .ssp-hero .woocommerce-variation-price .price {
    font-size: 22px;
    font-weight: 700;
    color: var(--ssp-text-dark);
}

.ssp-single-product .ssp-hero form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
    margin: 24px 0 32px;
}

.ssp-single-product .ssp-hero .variations_form .single_variation_wrap {
    width: 100%;
}

.ssp-single-product .ssp-hero .quantity {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--ssp-border);
    border-radius: 2px;
    overflow: hidden;
    background: #fff;
    margin: 0;
}

.ssp-single-product .ssp-hero .quantity input.qty {
    width: 56px;
    border: none;
    background: #fff;
    text-align: center;
    font-family: var(--ssp-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--ssp-text-dark);
    padding: 0 8px;
    height: 44px;
    min-height: 44px;
    -moz-appearance: textfield;
}

.ssp-single-product .ssp-hero .quantity input.qty::-webkit-outer-spin-button,
.ssp-single-product .ssp-hero .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ssp-single-product .ssp-hero .single_add_to_cart_button,
.ssp-single-product .ssp-hero button.single_add_to_cart_button {
    flex: 1;
    min-width: 200px;
    background: var(--ssp-cta) !important;
    color: #ffffff !important;
    border: 1px solid var(--ssp-cta) !important;
    border-radius: 2px !important;
    padding: 12px 24px !important;
    font-family: var(--ssp-font) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    height: auto !important;
    min-height: 44px !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
}

.ssp-single-product .ssp-hero .single_add_to_cart_button:hover {
    background: var(--ssp-cta-hover) !important;
    border-color: var(--ssp-cta-hover) !important;
}

.ssp-single-product .ssp-hero .single_add_to_cart_button::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='21' r='1'/><circle cx='20' cy='21' r='1'/><path d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
}

.ssp-single-product .ssp-hero .single_add_to_cart_button.disabled,
.ssp-single-product .ssp-hero .single_add_to_cart_button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* === Delivery info block === */
.ssp-single-product .ssp-delivery-info {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 18px;
    border: 1px solid var(--ssp-border);
    border-radius: 4px;
    background: #fff;
    margin: 0 0 24px;
}

.ssp-single-product .ssp-delivery-icon {
    flex-shrink: 0;
    color: var(--ssp-text-dark);
    line-height: 1;
    margin-top: 2px;
}

.ssp-single-product .ssp-delivery-icon svg { display: block; }

.ssp-single-product .ssp-delivery-body {
    flex: 1;
    font-family: var(--ssp-font);
    font-size: 14px;
    line-height: 1.4;
    color: var(--ssp-text);
}

.ssp-single-product .ssp-delivery-date {
    font-weight: 400;
    color: var(--ssp-text-dark);
    margin-bottom: 2px;
}

.ssp-single-product .ssp-delivery-date strong { font-weight: 700; }

.ssp-single-product .ssp-delivery-cutoff {
    font-size: 13px;
    line-height: 1.5;
}

.ssp-single-product .ssp-delivery-time {
    color: #17c76f;
    font-weight: 600;
}

.ssp-single-product .ssp-delivery-hint {
    color: var(--ssp-text);
    margin: 0 4px;
}

.ssp-single-product .ssp-delivery-link {
    color: var(--ssp-text-dark);
    text-decoration: underline;
    font-weight: 500;
}

.ssp-single-product .ssp-delivery-link:hover { color: var(--ssp-red); }

/* === Highlights === */
.ssp-single-product .ssp-hero-highlights {
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--ssp-border);
}

.ssp-single-product .ssp-hero-highlights-title {
    font-family: var(--ssp-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--ssp-text-dark);
    margin: 0 0 12px;
}

.ssp-single-product .ssp-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--ssp-text);
}

.ssp-single-product .ssp-highlights li {
    position: relative;
    padding: 6px 0 6px 26px;
    font-size: 14px;
    line-height: 1.5;
}

.ssp-single-product .ssp-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 16px;
    height: 16px;
    background: var(--ssp-red);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 10px;
}

/* ============================================================
   TABS
   ============================================================ */

.ssp-single-product .ssp-tabs {
    margin-top: 60px;
}

.ssp-single-product .ssp-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--ssp-border);
    overflow-x: auto;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ssp-single-product .ssp-tabs-nav button {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 14px 24px;
    font-family: var(--ssp-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--ssp-muted);
    cursor: pointer;
    margin-bottom: -1px;
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.ssp-single-product .ssp-tabs-nav button:hover {
    color: var(--ssp-text-dark);
}

.ssp-single-product .ssp-tabs-nav button.active {
    color: var(--ssp-text-dark);
    border-bottom-color: var(--ssp-red);
}

.ssp-single-product .ssp-tab-panel {
    display: none;
    padding: 32px 0;
    color: var(--ssp-text);
    line-height: 1.6;
    font-size: 15px;
}

.ssp-single-product .ssp-tab-panel.active { display: block; }

.ssp-single-product .ssp-tab-panel p { margin: 0 0 1em; }

/* Tech data */
.ssp-single-product .ssp-tech-toggle {
    display: inline-flex;
    background: var(--ssp-bg-soft);
    border-radius: 999px;
    padding: 3px;
    margin-bottom: 24px;
}

.ssp-single-product .ssp-tech-toggle button {
    background: none;
    border: none;
    padding: 6px 20px;
    font-family: var(--ssp-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--ssp-muted);
    cursor: pointer;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
}

.ssp-single-product .ssp-tech-toggle button.active {
    background: var(--ssp-text-dark);
    color: #fff;
}

.ssp-single-product .ssp-tech-table {
    width: 100%;
    border-collapse: collapse;
}

.ssp-single-product .ssp-tech-table th,
.ssp-single-product .ssp-tech-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--ssp-border);
    font-size: 14px;
    vertical-align: top;
}

.ssp-single-product .ssp-tech-table th {
    font-weight: 400;
    color: var(--ssp-muted);
    width: 50%;
}

.ssp-single-product .ssp-tech-table td {
    font-weight: 600;
    color: var(--ssp-text-dark);
}

/* Downloads */
.ssp-single-product .ssp-downloads-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ssp-single-product .ssp-downloads-list li { border-bottom: 1px solid var(--ssp-border); }
.ssp-single-product .ssp-downloads-list li:last-child { border-bottom: none; }

.ssp-single-product .ssp-downloads-list a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    text-decoration: none;
    color: var(--ssp-text-dark);
    font-size: 14px;
    transition: color 0.15s ease;
}

.ssp-single-product .ssp-downloads-list a:hover { color: var(--ssp-red); }

.ssp-single-product .ssp-dl-icon {
    width: 32px;
    height: 32px;
    background: var(--ssp-bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ssp-red);
    flex-shrink: 0;
    font-weight: 700;
}

.ssp-single-product .ssp-dl-title { flex: 1; font-weight: 500; }
.ssp-single-product .ssp-dl-meta  { color: var(--ssp-muted); font-size: 13px; }

/* ============================================================
   Section wrappers
   ============================================================ */

.ssp-single-product .ssp-section {
    margin-top: 60px;
}

.ssp-single-product .ssp-section--features {
    background: var(--ssp-bg-soft);
    margin-left: -24px;
    margin-right: -24px;
    padding: 60px 24px;
}

.ssp-single-product .ssp-section-heading {
    font-family: var(--ssp-font);
    font-size: 28px;
    font-weight: 700;
    color: var(--ssp-text-dark);
    text-align: center;
    margin: 0 0 40px;
}

/* ============================================================
   Feature cards
   ============================================================ */

.ssp-single-product .ssp-feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.ssp-single-product .ssp-feature-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ssp-single-product .ssp-card-image-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--ssp-bg-soft);
    overflow: hidden;
}

.ssp-single-product .ssp-card-image-wrap img,
.ssp-single-product .ssp-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ssp-single-product .ssp-feature-card .ssp-card-subtitle {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ssp-muted);
    margin: 16px 20px 6px;
}

.ssp-single-product .ssp-feature-card .ssp-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ssp-text-dark);
    line-height: 1.3;
    margin: 0 20px 20px;
}

@media (max-width: 991px) {
    .ssp-single-product .ssp-feature-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .ssp-single-product .ssp-feature-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   Product grid (reserveonderdelen / accessoires)
   ============================================================ */

.ssp-single-product .ssp-grid-heading {
    font-family: var(--ssp-font);
    font-size: 22px;
    font-weight: 700;
    color: var(--ssp-text-dark);
    margin: 0 0 24px;
}

.ssp-single-product .ssp-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ssp-single-product .ssp-product-card {
    background: #fff;
    border: 1px solid var(--ssp-border);
    border-radius: 4px;
    padding: 16px;
    transition: border-color 0.15s ease, transform 0.15s ease;
    display: flex;
    flex-direction: column;
}

.ssp-single-product .ssp-product-card:hover {
    border-color: var(--ssp-border-h);
    transform: translateY(-1px);
}

.ssp-single-product .ssp-product-card .ssp-card-link {
    text-decoration: none;
    color: inherit;
}

.ssp-single-product .ssp-product-card .ssp-card-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--ssp-bg-soft);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}

.ssp-single-product .ssp-product-card .ssp-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ssp-single-product .ssp-product-card .ssp-card-cat {
    font-size: 11px;
    color: var(--ssp-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.ssp-single-product .ssp-product-card .ssp-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ssp-text-dark);
    line-height: 1.35;
    margin: 0 0 8px;
    min-height: 38px;
}

.ssp-single-product .ssp-product-card .ssp-card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--ssp-text-dark);
    margin-bottom: 12px;
}

.ssp-single-product .ssp-product-card .ssp-card-price del {
    color: var(--ssp-muted);
    font-weight: 400;
    margin-right: 4px;
    font-size: 13px;
}

.ssp-single-product .ssp-product-card .button,
.ssp-single-product .ssp-product-card .ssp-add-to-cart {
    background: var(--ssp-cta);
    color: #fff !important;
    border: none;
    padding: 8px 12px;
    border-radius: 2px;
    font-family: var(--ssp-font);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    margin-top: auto;
    transition: background 0.15s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.ssp-single-product .ssp-product-card .button:hover,
.ssp-single-product .ssp-product-card .ssp-add-to-cart:hover {
    background: var(--ssp-cta-hover);
    color: #fff !important;
}

@media (max-width: 991px) {
    .ssp-single-product .ssp-product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .ssp-single-product .ssp-product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .ssp-single-product .ssp-product-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Mobile container padding
   ============================================================ */

@media (max-width: 768px) {
    .ssp-single-product {
        padding: 20px 16px 40px;
    }
    .ssp-single-product .ssp-section--features {
        margin-left: -16px;
        margin-right: -16px;
        padding: 40px 16px;
    }
}
