/**
 * TopSpin WooCommerce — custom template styles.
 * These styles only target our own classes (.topspin-*).
 * No WooCommerce default classes are overridden with !important.
 */

/* ============ Variables ============ */
.topspin-shop,
.topspin-single-product {
    --ts-woo-primary: #001213;
    --ts-woo-accent: #b8ea3f;
    --ts-woo-text: #3b4547;
    --ts-woo-text-muted: #96a3a5;
    --ts-woo-border: #dedede;
    --ts-woo-bg-alt: #f7f7f7;
    --ts-woo-font-heading: var(--gutenverse-font-h3, 'Oswald'), sans-serif;
    --ts-woo-font-body: var(--gutenverse-font-paragraph, 'Heebo'), sans-serif;
    --ts-woo-container: 1280px;
    --ts-woo-transition: all 0.3s ease;
}

/* ============ Shop: hero (with banner image) ============
   Background image is the SAME asset used by all other hero patterns
   across the site (inc/patterns/topspin-gutenverse-*-hero.php).
   Path is relative to this CSS file:
     this file: theme/woocommerce/css/topspin-woo.css
     image:     theme/assets/img/tennis-player-in-sportswear.webp
   → ../../assets/img/tennis-player-in-sportswear.webp
   (up two dirs: css→woocommerce→theme root, then into assets/img/) */
.topspin-shop__hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 200px 24px 140px;
    background-image: url('../../assets/img/tennis-player-in-sportswear.webp');
    background-size: cover;
    background-position: center 26%;
    background-color: var(--ts-woo-primary);
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.topspin-shop__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.65) 49%, rgba(13,19,1,0.8) 100%);
    opacity: 0.65;
    pointer-events: none;
}
.topspin-shop__hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--ts-woo-container);
    margin: 0 auto;
}
.topspin-shop__title {
    font-family: var(--ts-woo-font-heading);
    font-size: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.013em;
    font-style: italic;
    line-height: 1.2;
    margin: 0 0 16px;
    color: #fff;
}
.topspin-shop__description {
    font-family: var(--ts-woo-font-body);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .topspin-shop__hero {
        padding: 120px 16px 60px;
        min-height: 260px;
    }
    .topspin-shop__title {
        font-size: 24px;
    }
}

/* ============ Shop: breadcrumb ============ */
.topspin-shop__breadcrumb {
    background: var(--ts-woo-bg-alt);
    padding: 16px 24px;
}
.topspin-shop__breadcrumb-inner {
    max-width: var(--ts-woo-container);
    margin: 0 auto;
}
.topspin-shop__breadcrumb .woocommerce-breadcrumb {
    font-family: var(--ts-woo-font-body);
    font-size: 13px;
    color: var(--ts-woo-text-muted);
    margin: 0;
}
.topspin-shop__breadcrumb .woocommerce-breadcrumb a {
    color: var(--ts-woo-primary);
    text-decoration: none;
}
.topspin-shop__breadcrumb .woocommerce-breadcrumb a:hover {
    color: var(--ts-woo-accent);
}

/* ============ Shop: two-column layout ============ */
.topspin-shop__container {
    max-width: var(--ts-woo-container);
    margin: 0 auto;
    padding: 64px 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
}

/* ============ Sidebar ============ */
.topspin-shop__sidebar {
    position: sticky;
    top: 24px;
    align-self: start;
}
.topspin-shop__widget {
    background: var(--ts-woo-bg-alt);
    padding: 24px;
    margin-bottom: 24px;
}
.topspin-shop__widget-title {
    font-family: var(--ts-woo-font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ts-woo-primary);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ts-woo-primary);
}
.topspin-shop__categories {
    list-style: none;
    margin: 0;
    padding: 0;
}
.topspin-shop__category {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--ts-woo-border);
}
.topspin-shop__category:last-child {
    border-bottom: none;
}
.topspin-shop__category a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-family: var(--ts-woo-font-body);
    font-size: 15px;
    color: var(--ts-woo-text);
    text-decoration: none;
    transition: var(--ts-woo-transition);
}
.topspin-shop__category a:hover {
    color: var(--ts-woo-accent);
    padding-left: 8px;
}
.topspin-shop__category.is-active a {
    color: var(--ts-woo-primary);
    font-weight: 600;
}
.topspin-shop__category-count {
    font-size: 12px;
    background: var(--ts-woo-primary);
    color: #fff;
    padding: 2px 8px;
    min-width: 28px;
    text-align: center;
}
.topspin-shop__category.is-active .topspin-shop__category-count {
    background: var(--ts-woo-accent);
    color: var(--ts-woo-primary);
}

/* ============ Product grid ============ */
.topspin-products {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.topspin-product {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    border: none !important;
}

/* ============ Product card ============ */
.topspin-product__inner {
    background: #fff;
    border: 1px solid var(--ts-woo-border);
    transition: var(--ts-woo-transition);
    position: relative;
    height: 100%;
}
.topspin-product__inner:hover {
    border-color: var(--ts-woo-primary);
    box-shadow: 0 20px 40px rgba(0, 18, 19, 0.08);
    transform: translateY(-6px);
}
.topspin-product__link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.topspin-product__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--ts-woo-bg-alt);
}
.topspin-product__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.topspin-product__inner:hover .topspin-product__media img {
    transform: scale(1.05);
}
.topspin-product__placeholder {
    width: 100%;
    height: 100%;
    background: var(--ts-woo-bg-alt);
}
.topspin-product__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--ts-woo-accent);
    color: var(--ts-woo-primary);
    font-family: var(--ts-woo-font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 12px;
    z-index: 1;
}

.topspin-product__body {
    padding: 24px;
}
.topspin-product__title {
    font-family: var(--ts-woo-font-heading);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ts-woo-primary);
    margin: 0 0 8px;
    line-height: 1.3;
    transition: var(--ts-woo-transition);
}
.topspin-product__inner:hover .topspin-product__title {
    color: var(--ts-woo-accent);
}
.topspin-product__rating {
    margin-bottom: 8px;
}
.topspin-product__rating .star-rating {
    color: var(--ts-woo-accent);
    font-size: 14px;
}
.topspin-product__price {
    font-family: var(--ts-woo-font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--ts-woo-primary);
}
.topspin-product__price del {
    color: var(--ts-woo-text-muted);
    opacity: 0.6;
    font-weight: 400;
    font-size: 15px;
    margin-right: 8px;
}
.topspin-product__price ins {
    color: var(--ts-woo-accent);
    text-decoration: none;
}
.topspin-product__action {
    padding: 0 24px 24px;
}
.topspin-product__action a,
.topspin-product__action button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    background: var(--ts-woo-primary);
    color: #fff;
    border: 2px solid var(--ts-woo-primary);
    font-family: var(--ts-woo-font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: var(--ts-woo-transition);
}
.topspin-product__action a:hover,
.topspin-product__action button:hover {
    background: var(--ts-woo-accent);
    color: var(--ts-woo-primary);
    border-color: var(--ts-woo-accent);
}

/* ============ Pagination ============ */
.topspin-shop .woocommerce-pagination {
    margin-top: 48px;
    text-align: center;
}
.topspin-shop .page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 8px;
}
.topspin-shop .page-numbers li {
    margin: 0;
}
.topspin-shop .page-numbers a,
.topspin-shop .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--ts-woo-border);
    font-family: var(--ts-woo-font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--ts-woo-primary);
    text-decoration: none;
    transition: var(--ts-woo-transition);
}
.topspin-shop .page-numbers a:hover {
    background: var(--ts-woo-primary);
    color: #fff;
    border-color: var(--ts-woo-primary);
}
.topspin-shop .page-numbers .current {
    background: var(--ts-woo-primary);
    color: #fff;
    border-color: var(--ts-woo-primary);
}

/* ============ Single product: hero ============
   Mirrors the shop hero — same background image, same overlay style. */
.topspin-single-product__hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 180px 24px 120px;
    background-image: url('../../assets/img/tennis-player-in-sportswear.webp');
    background-size: cover;
    background-position: center 26%;
    background-color: var(--ts-woo-primary);
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.topspin-single-product__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.65) 49%, rgba(13,19,1,0.8) 100%);
    opacity: 0.65;
    pointer-events: none;
}
.topspin-single-product__hero-inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
}
.topspin-single-product__hero-title {
    font-family: var(--ts-woo-font-heading);
    font-size: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.013em;
    font-style: italic;
    line-height: 1.2;
    margin: 0 0 14px;
    color: #fff;
}
.topspin-single-product__hero-terms {
    margin: 0;
    font-family: var(--ts-woo-font-body);
    font-size: 14px;
    color: var(--ts-woo-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.topspin-single-product__hero-terms a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--ts-woo-transition);
}
.topspin-single-product__hero-terms a:hover {
    color: var(--ts-woo-accent);
}
@media (max-width: 768px) {
    .topspin-single-product__hero {
        padding: 120px 16px 60px;
        min-height: 240px;
    }
    .topspin-single-product__hero-title {
        font-size: 24px;
    }
}

/* ============ Single product: custom gallery ============
   Custom TopSpin gallery:
   - Main image stage is a horizontal slider: a flex track that
     translates X to bring the active slide into view.
   - Stage has a fixed aspect ratio and a BLACK background. Each
     slide centers its image both horizontally and vertically;
     the remaining space is filled with the black background so
     smaller images don't look out of place.
   - Thumbnail strip below is a horizontal scrollable carousel
     with prev/next arrows. Arrows are removed from layout
     entirely (display:none) when the thumbnails fit without
     overflow — JS toggles this.
   - No zoom, no lightbox. */
.topspin-gallery {
    position: relative;
}

/* Viewport — fixed aspect ratio, hides overflowing slides */
.topspin-gallery__stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #000;            /* fills the empty area around small images */
    border: 1px solid var(--ts-woo-border);
}

/* The track that holds all slides; it translates X to switch slides */
.topspin-gallery__track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

/* Each slide — takes full stage width, centers its image */
.topspin-gallery__main {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

/* The image inside a slide — preserve aspect ratio, fit within stage */
.topspin-gallery__main-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;        /* doesn't crop, just fits inside */
    display: block;
    pointer-events: none;
    cursor: default;
}

/* Thumbnail carousel wrapper — relative positioned so the
   arrow buttons can be absolutely positioned on top of the strip.
   No flex layout — the strip claims full width. */
.topspin-gallery__thumbs-wrapper {
    position: relative;
    margin-top: 12px;
}

/* The horizontally scrollable strip — full width */
.topspin-gallery__thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}
.topspin-gallery__thumbs::-webkit-scrollbar {
    display: none;
}

/* Each thumbnail */
.topspin-gallery__thumb {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.65;
    transition: var(--ts-woo-transition);
    overflow: hidden;
    background: var(--ts-woo-bg-alt);
}
.topspin-gallery__thumb:hover {
    opacity: 0.9;
}
.topspin-gallery__thumb.is-active {
    opacity: 1;
    border-color: var(--ts-woo-primary);
}
.topspin-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Prev / Next arrow buttons — absolute overlays on the left/right edges
   of the thumbnail strip. They float on top of the leftmost/rightmost
   thumbnail images and do NOT take space in the layout. JS hides them
   entirely with display:none when there's nothing to scroll. */
.topspin-gallery__thumbs-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    min-height: 80px;
    border: none;
    background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    padding: 0;
    line-height: 1;
    /* Use opacity for hover so the gradient stays */
}
.topspin-gallery__thumbs-nav--prev {
    left: 0;
}
.topspin-gallery__thumbs-nav--next {
    right: 0;
    /* Mirror the gradient direction so the dark side is on the right edge */
    background: linear-gradient(to left, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
}

/* Placeholder for products with no image */
.topspin-gallery__placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ts-woo-text-muted);
    font-family: var(--ts-woo-font-body);
    font-size: 14px;
}

@media (max-width: 768px) {
    .topspin-gallery__stage {
        aspect-ratio: 4 / 3;
    }
    .topspin-gallery__thumb {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
    }
}

/* ============ Single product: Inquire button ============
   Styled to match the Add to Cart button so the two appear visually
   consistent. */
.topspin-single-product__inquire {
    margin-top: 16px;
    margin-bottom: 16px;
}
.topspin-inquire-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 32px;
    background: var(--ts-woo-primary);
    color: #fff !important;
    border: 2px solid var(--ts-woo-primary);
    font-family: var(--ts-woo-font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: var(--ts-woo-transition);
}
.topspin-inquire-button:hover {
    background: var(--ts-woo-accent);
    color: var(--ts-woo-primary) !important;
    border-color: var(--ts-woo-accent);
}

@media (max-width: 768px) {
    .topspin-gallery__stage {
        aspect-ratio: 4 / 3;
    }
    .topspin-gallery__thumb {
        width: 60px;
        flex: 0 0 60px;
    }
    .topspin-gallery__thumb img {
        height: 60px;
    }
}

/* ============ Single product ============ */
.topspin-single-product {
    --ts-woo-container: 1280px;
}
.topspin-single-product__container {
    max-width: var(--ts-woo-container);
    margin: 0 auto;
    padding: 32px 24px 80px;
}
.topspin-single-product__breadcrumb {
    margin-bottom: 32px;
}
.topspin-single-product__breadcrumb .woocommerce-breadcrumb {
    font-family: var(--ts-woo-font-body);
    font-size: 13px;
    color: var(--ts-woo-text-muted);
    margin: 0;
}
.topspin-single-product__breadcrumb .woocommerce-breadcrumb a {
    color: var(--ts-woo-primary);
    text-decoration: none;
}
.topspin-single-product__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 80px;
}
/* min-width:0 is critical — without it, grid items default to
   min-width:auto, which means they expand to fit their content.
   When a product has many gallery thumbnails, the thumbnail strip
   would push the left column wider and squeeze the right column.
   Forcing min-width:0 lets overflow-x:auto on the thumbnail strip
   actually constrain the column width. */
.topspin-single-product__media,
.topspin-single-product__info {
    min-width: 0;
}
.topspin-single-product__media .woocommerce-product-gallery {
    margin: 0;
}
.topspin-single-product__media img {
    width: 100%;
    height: auto;
}
.topspin-single-product__title {
    font-family: var(--ts-woo-font-heading);
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ts-woo-primary);
    margin: 0 0 16px;
    line-height: 1.2;
}
.topspin-single-product__meta-top {
    margin-bottom: 24px;
}
.topspin-single-product__price {
    font-family: var(--ts-woo-font-body);
    font-size: 28px;
    font-weight: 600;
    color: var(--ts-woo-primary);
    margin-bottom: 24px;
}
.topspin-single-product__price del {
    color: var(--ts-woo-text-muted);
    opacity: 0.6;
    font-weight: 400;
    font-size: 22px;
    margin-right: 12px;
}
.topspin-single-product__price ins {
    color: var(--ts-woo-accent);
    text-decoration: none;
}
.topspin-single-product__excerpt {
    font-family: var(--ts-woo-font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ts-woo-text);
    margin-bottom: 32px;
}
.topspin-single-product__cart {
    margin-bottom: 32px;
}
.topspin-single-product__cart form.cart {
    display: flex;
    gap: 16px;
    align-items: stretch;
}
.topspin-single-product__cart .quantity {
    margin: 0 !important;
}
.topspin-single-product__cart .quantity .qty {
    width: 80px;
    padding: 12px;
    border: 2px solid var(--ts-woo-border);
    font-family: var(--ts-woo-font-body);
    font-size: 16px;
}
.topspin-single-product__cart .single_add_to_cart_button {
    flex: 1;
    padding: 16px 32px;
    background: var(--ts-woo-primary);
    color: #fff;
    border: 2px solid var(--ts-woo-primary);
    font-family: var(--ts-woo-font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--ts-woo-transition);
}
.topspin-single-product__cart .single_add_to_cart_button:hover {
    background: var(--ts-woo-accent);
    color: var(--ts-woo-primary);
    border-color: var(--ts-woo-accent);
}
.topspin-single-product__meta {
    padding-top: 24px;
    border-top: 1px solid var(--ts-woo-border);
    font-family: var(--ts-woo-font-body);
    font-size: 14px;
    color: var(--ts-woo-text-muted);
}
.topspin-single-product__meta a {
    color: var(--ts-woo-primary);
    text-decoration: none;
}

/* ============ Tabs ============ */
.topspin-single-product__tabs {
    margin-bottom: 80px;
}
.topspin-single-product__tabs .woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 0 -1px;
    border-bottom: 2px solid var(--ts-woo-border);
    display: flex;
}
.topspin-single-product__tabs .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}
.topspin-single-product__tabs .woocommerce-tabs ul.tabs li.active {
    border-bottom-color: var(--ts-woo-accent);
}
.topspin-single-product__tabs .woocommerce-tabs ul.tabs li a {
    display: inline-block;
    padding: 16px 24px;
    font-family: var(--ts-woo-font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ts-woo-text-muted);
    text-decoration: none;
    transition: var(--ts-woo-transition);
}
.topspin-single-product__tabs .woocommerce-tabs ul.tabs li.active a {
    color: var(--ts-woo-primary);
}
.topspin-single-product__tabs .woocommerce-tabs .panel {
    padding: 32px 0;
    font-family: var(--ts-woo-font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ts-woo-text);
}

/* ============ Related ============ */
/* ============ Single product: description ============ */
.topspin-single-product__description {
    margin-bottom: 80px;
    padding: 48px 0;
    border-top: 1px solid var(--ts-woo-border);
    border-bottom: 1px solid var(--ts-woo-border);
}
.topspin-single-product__description-title {
    font-family: var(--ts-woo-font-heading);
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ts-woo-primary);
    margin: 0 0 24px;
    text-align: center;
}
.topspin-single-product__description p {
    font-family: var(--ts-woo-font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--ts-woo-text);
    margin: 0 0 16px;
}
.topspin-single-product__description h2,
.topspin-single-product__description h3 {
    font-family: var(--ts-woo-font-heading);
    font-weight: 600;
    color: var(--ts-woo-primary);
    margin: 24px 0 12px;
}
.topspin-single-product__description ul,
.topspin-single-product__description ol {
    margin: 0 0 16px;
    padding-left: 24px;
    font-family: var(--ts-woo-font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--ts-woo-text);
}
.topspin-single-product__description img {
    max-width: 100%;
    height: auto;
    margin: 16px 0;
}
.topspin-single-product__description table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-family: var(--ts-woo-font-body);
    font-size: 15px;
}
.topspin-single-product__description table th,
.topspin-single-product__description table td {
    border: 1px solid var(--ts-woo-border);
    padding: 8px 12px;
    text-align: left;
}

.topspin-single-product__related h2 {
    font-family: var(--ts-woo-font-heading);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ts-woo-primary);
    margin: 0 0 32px;
}
.topspin-single-product__related ul.products {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .topspin-shop__container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .topspin-shop__sidebar {
        position: static;
    }
    .topspin-products {
        grid-template-columns: repeat(2, 1fr);
    }
    .topspin-single-product__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .topspin-single-product__related ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .topspin-shop__title {
        font-size: 36px;
    }
    .topspin-shop__hero {
        padding: 48px 16px;
    }
    .topspin-shop__container {
        padding: 32px 16px;
    }
    .topspin-products {
        grid-template-columns: 1fr;
    }
    .topspin-single-product__title {
        font-size: 28px;
    }
}