body{margin:0;}
:root {
  --font-body-family: "Barlow", sans-serif;
}

body {
  font-family: var(--font-body-family);
}
.site-logo img {
    height: 40px;
    width: auto;
    display: block;
}
.top-bar {
    background: #006bb6;
    color: #fff;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
}

.top-bar a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
}

/* HEADER */
.site-header {
    border-bottom: 1px solid #eee;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo img {
    height: 40px;
}

/* NAV */
.main-nav .menu {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* ICONS */
.header-icons {
    display: flex;
    gap: 18px;
}

.header-icons .icon {
    width: 18px;
    height: 18px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
}

/* TEMP ICONS (replace with SVGs later) */
.icon.search {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M17.854 17.147 13.611 12.9a7.806 7.806 0 1 0-.707.707l4.242 4.243a.5.5 0 1 0 .708-.707M1 7.778a6.778 6.778 0 1 1 6.777 6.777A6.786 6.786 0 0 1 1 7.778' fill='%23191a1c'/%3E%3C/svg%3E");
}

.icon.account {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='18' viewBox='0 0 16 18'%3E%3Cpath d='M8 9a4.5 4.5 0 1 1 4.5-4.5A4.5 4.5 0 0 1 8 9M8 1a3.5 3.5 0 1 0 3.5 3.5A3.5 3.5 0 0 0 8 1' fill='%23191a1c'/%3E%3Cpath d='M14.44 18H1.56a1.549 1.549 0 0 1-1.292-.7 1.635 1.635 0 0 1-.149-1.51A8.442 8.442 0 0 1 8 10.493a8.442 8.442 0 0 1 7.881 5.3 1.635 1.635 0 0 1-.149 1.51 1.549 1.549 0 0 1-1.292.7M8 11.493a7.462 7.462 0 0 0-6.971 4.676.611.611 0 0 0 .055.573A.562.562 0 0 0 1.56 17H14.44a.562.562 0 0 0 .476-.258.611.611 0 0 0 .055-.573A7.462 7.462 0 0 0 8 11.493' fill='%23191a1c'/%3E%3C/svg%3E");
}

.icon.cart {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='18' viewBox='0 0 15 18'%3E%3Cpath d='M13.294 4.992H11.43V3.932a3.93 3.93 0 1 0-7.86 0v1.06H1.706A1.708 1.708 0 0 0 0 6.7v9.594A1.709 1.709 0 0 0 1.706 18H13.294A1.709 1.709 0 0 0 15 16.293V6.7a1.708 1.708 0 0 0-1.706-1.707M4.57 3.932a2.93 2.93 0 1 1 5.86 0v1.06H4.57ZM14 16.293a.707.707 0 0 1-.706.706H1.706A.707.707 0 0 1 1 16.293V6.7a.706.706 0 0 1 .706-.706H3.57V8.784a.5.5 0 1 0 1 0V5.993h5.86V8.784a.5.5 0 1 0 1 0V5.993h1.864A.706.706 0 0 1 14 6.7Z' fill='%23191a1c'/%3E%3C/svg%3E");
}
.hero-slider {
    width: 100%;
    /*height: 100vh;*/
    position: relative;
}

.hero-slide {
    position: relative;
    width: 100%;
    /*height: 100vh;*/
    overflow: hidden;
}

.hero-video,
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg {
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 1;
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    justify-content: center;
    z-index: 2;
}

.hero-btn {
    padding: 14px 36px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: .4;
}
.swiper-pagination-bullet {
    height: 4px;              /* control thickness here */
    aspect-ratio: 16 / 1;     /* width = 16 × height */
    border-radius: 2px;
}
.swiper-pagination-bullet {
    background: rgba(255,255,255,.4);
}

.swiper-pagination-bullet-active {
    background: #fff;
}
.swiper-pagination-bullet-active {
    opacity: 1;
}
.swiper-pagination .swiper-pagination-bullet {
    width: 64px;
    height: 4px;
    border-radius: 2px;
}
.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}
:root {
    --header-height: 116px; /* top bar (36) + header (80) */
}

.site-header {
    height: 80px;
    background: #fff;
}

.top-bar {
    height: 36px;
}
/* DEFAULT: static */
.site-header,
.top-bar {
    position: static;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: transform .3s ease;
}

/* FIXED STATE (only when scrolling) */
.header-fixed .site-header,
.header-fixed .top-bar {
    position: fixed;
}

.top-bar {
    top: 0;
}

.site-header {
    top: 36px;
}

body.admin-bar .top-bar {
    top: 32px;
}

.header-hidden .top-bar,
.header-hidden .site-header {
    transform: translateY(-150%);
}
.hero-slider,
.hero-slide {
    height: calc(100vh - var(--header-height));
}
@media (min-width: 1200px) {
    .hero-btn {
        font-size: 14px;
        padding: 14px 36px;
    }
}
@media (max-width: 1199px) {
    .main-nav .menu {
        gap: 20px;
    }

    .site-logo img {
        height: 36px;
    }
}
@media (max-width: 991px) {

    :root {
        --header-height: 64px;
        --top-bar-height: 32px;
    }

    .site-header {
        height: var(--header-height);
    }

    .top-bar {
        height: var(--top-bar-height);
        font-size: 12px;
    }

    .main-nav .menu {
        gap: 16px;
        font-size: 13px;
    }

    .hero-btn {
        padding: 12px 28px;
        font-size: 13px;
    }
}
@media (max-width: 767px) {

    :root {
        --top-bar-height: 0px;
        --header-height: 56px;
    }

    .top-bar {
        display: none;
    }

    .site-header {
        height: var(--header-height);
    }

    .main-nav {
        display: none; /* burger later */
    }

    .header-icons {
        gap: 14px;
    }

    .hero-slider,
    .hero-slide {
        height: calc(100vh - var(--header-height));
    }

    .hero-btn {
        padding: 12px 24px;
        font-size: 12px;
    }
}
/* SECTION */
.promo-grid-section {
    padding: 80px 0;
}

.promo-section-title {
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
}

/* GRID */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* CARD */
.promo-card {
    position: relative;
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transform: scale(1);
    transition: transform .35s ease;
}

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

.promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.65),
        rgba(0,0,0,.15)
    );
}

.promo-content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: #fff;
    z-index: 1;
}

.promo-content h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.promo-content span {
    font-size: 13px;
    opacity: .85;
    text-transform: uppercase;
}
/* Tablet */
@media (max-width: 991px) {
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-section-title {
        font-size: 24px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-grid-section {
        padding: 48px 0;
    }

    .promo-card {
        aspect-ratio: 4 / 3;
    }
}
.editorial-grid-section {
    padding: 96px 0;
}

.editorial-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.editorial-header h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.editorial-header p {
    font-size: 14px;
    color: #666;
}

/* GRID */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* CARD */
.editorial-card {
    position: relative;
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    /*transform: scale(1);*/
    /*transition: transform .35s ease;*/
}

.editorial-card:hover {
    /*transform: scale(1.05);*/
}

.editorial-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.7),
        rgba(0,0,0,.2)
    );
}

.editorial-content {
    position: absolute;
    bottom: 28px;
    left: 24px;
    right: 24px;
    color: #fff;
    z-index: 1;
}

.editorial-tag {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    opacity: .85;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.editorial-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.editorial-btn {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid #fff;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
/* Laptop */
@media (max-width: 1199px) {
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet */
@media (max-width: 991px) {
    .editorial-header h2 {
        font-size: 26px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .editorial-grid-section {
        padding: 56px 0;
    }

    .editorial-card {
        aspect-ratio: 4 / 3;
    }
}
.shop-sport-section {
    padding: 96px 0;
}

.shop-sport-wrap {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    align-items: stretch;
}

/* LEFT */
.shop-sport-left h2 {
    margin-bottom: 32px;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
}

.shop-sport-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-sport-list li {
    margin-bottom: 10px;
}

.shop-sport-link {
    display: block;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    transition: background .2s ease;
}

.shop-sport-link.active,
.shop-sport-link:hover {
    background: #fff;
}

/* RIGHT */
.shop-sport-right {
    position: relative;
}

.shop-sport-image {
    width: 100%;
    height: 100%;
    min-height: 640px; /* desktop requirement */
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}
.shop-sport-section {
    background: #f5f5f5;
    padding: 96px 0;
}
/* Tablet */
@media (max-width: 991px) {
    .shop-sport-wrap {
        grid-template-columns: 1fr;
    }

    .shop-sport-image {
        min-height: 360px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .shop-sport-section {
        padding: 56px 0;
    }

    .shop-sport-left h2 {
        font-size: 22px;
    }

    .shop-sport-link {
        font-size: 13px;
        padding: 12px 14px;
    }

    .shop-sport-image {
        min-height: 280px;
    }
}
.site-footer {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 80px 0;
    font-size: 14px;
    color: #555;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

/* LOGO */
.footer-logo {
    text-align: center;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 8px;
}

.footer-tagline {
    display: block;
    font-size: 12px;
    color: #777;
}

/* COLUMNS */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    text-decoration: none;
    color: #555;
}

.footer-col a:hover {
    text-decoration: underline;
}

/* NEWSLETTER */
.footer-newsletter p {
    margin-bottom: 16px;
    font-size: 13px;
}

.footer-form {
    display: flex;
    margin-bottom: 24px;
}

.footer-form input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.footer-form button {
    padding: 0 16px;
    border: none;
    background: #005baa;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

/* SOCIALS */
.footer-socials {
    display: flex;
    gap: 14px;
}

.footer-socials a {
    font-size: 12px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}
/* MOBILE ACCORDION */
.footer-accordion-toggle {
    display: none;
    width: 100%;
    background: none;
    border: none;
    padding: 16px 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-accordion-toggle .icon {
    display: none;
}


/* Desktop keeps normal layout */
.footer-accordion-content {
    list-style: none;
}

/* Mobile styles */
@media (max-width: 767px) {
.footer-accordion-toggle .icon {
    display: block;
    font-size: 20px;
    line-height: 1;
}
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-col h4 {
        display: none;
    }

    .footer-accordion-toggle {
        display: flex;
    }

    .footer-accordion-content {
        display: none;
        padding-bottom: 12px;
    }

    .footer-col.active .footer-accordion-content {
        display: block;
    }

    .footer-col.active .footer-accordion-toggle .icon {
        content: "−";
    }
}
/* Tablet */
@media (max-width: 991px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer {
        padding: 64px 0;
    }
    .container {
    padding: 0 15px;
}
}

/* Mobile */
@media (max-width: 767px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-logo {
        text-align: left;
    }

    .footer-form {
        flex-direction: column;
    }

    .footer-form button {
        margin-top: 8px;
        width: 100%;
    }
}
.container {
    padding: 0 30px;
}
/* Prevent horizontal overflow globally for product page */
.yonex-product,
.yonex-product * {
    box-sizing: border-box;
}


/* RIGHT */
.yonex-product-info {
    padding-right: 24px;
}

.product-breadcrumbs {
    font-size: 13px;
    margin-bottom: 12px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.product-badge {
    background: #2bb673;
    color: #fff;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 4px;
    font-weight: 600;
}

/* ADD TO CART */
.variations_form,
.single_add_to_cart_button {
    width: 100%;
}

/* VERTICAL TABS */
/* WRAPPER */
.product-tabs-vertical .woocommerce-tabs {
    margin-top: 32px;
    border-top: 1px solid #e5e5e5;
}

/* TAB LIST */
.product-tabs-vertical .wc-tabs {
    display: block;
    margin: 0;
    padding: 0;
}

/* EACH TAB */
.product-tabs-vertical .wc-tabs li {
    list-style: none;
    border-bottom: 1px solid #e5e5e5;
}

/* TAB LINK */
.product-tabs-vertical .wc-tabs li a {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    position: relative;
}

/* RIGHT ARROW */
.product-tabs-vertical .wc-tabs li a::after {
    content: '›';
    font-size: 18px;
    transform: translateY(-1px);
}

/* ACTIVE STATE (OPEN) */
.product-tabs-vertical .wc-tabs li.active a::after {
    transform: rotate(90deg);
}

/* PANELS */
.product-tabs-vertical .woocommerce-Tabs-panel {
    padding: 16px 0 24px;
    font-size: 14px;
    line-height: 1.6;
    display: none;
}

/* SHOW ACTIVE PANEL */
.product-tabs-vertical .woocommerce-Tabs-panel.active {
    display: block;
}
/* HARD CONSTRAINT FOR TAB CONTENT */
.product-tabs-vertical .woocommerce-Tabs-panel {
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
}
/* CONTENT */
.woocommerce-Tabs-panel {
    padding: 16px 0;
    font-size: 14px;
    line-height: 1.6;
}
@media (max-width: 767px) {
    .yonex-product-grid {
        grid-template-columns: 1fr;
        margin: 0 15px;
    }

    .product-title {
        font-size: 24px;
    }
}
/* BASE */
.yonex-swatch-group {
    margin-bottom: 24px;
}

/* HIDE SELECT */
.yonex-swatch-group select {
    display: none;
}

/* COLOR SWATCHES */
.yonex-color-swatches .swatch {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 8px;
    border: 2px solid #ddd;
    cursor: pointer;
}

.yonex-color-swatches .swatch.active,
.yonex-color-swatches .swatch:hover {
    border-color: #0070f3;
}

/* TEXT SWATCHES */
.yonex-text-swatches .swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    margin: 6px 6px 0 0;
    border: 1px solid #ddd;
    font-size: 13px;
    cursor: pointer;
    border-radius: 4px;
}

.yonex-text-swatches .swatch.active,
.yonex-text-swatches .swatch:hover {
    border-color: #0070f3;
    background: #0070f3;
    color: #fff;
}
/* WRAPPER */
.woocommerce div.product form.cart {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
}

/* QUANTITY WRAPPER */
.woocommerce .quantity {
    display: flex;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    overflow: hidden;
    height: 44px;
}

/* PLUS / MINUS */
.woocommerce .quantity button {
    width: 44px;
    border: none;
    background: #f7f7f7;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.woocommerce .quantity button:hover {
    background: #ececec;
}

/* INPUT */
.woocommerce .quantity input.qty {
    width: 48px;
    border: none;
    text-align: center;
    font-size: 14px;
    -moz-appearance: textfield;
}

.woocommerce .quantity input::-webkit-outer-spin-button,
.woocommerce .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ADD TO CART BUTTON */
.woocommerce .single_add_to_cart_button {
    height: 44px;
    width: 100%;
    border: 2px solid #0070f3;
    background: #fff;
    color: #0070f3;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
}

/* HOVER */
.woocommerce .single_add_to_cart_button:hover {
    background: #0070f3;
    color: #fff;
}
@media (max-width: 767px) {
    .woocommerce div.product form.cart {
        grid-template-columns: 1fr;
    }
}
/* ADD TO CART ROW */
.woocommerce-variation-add-to-cart {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    margin-top: 24px;
}

/* QUANTITY */
.woocommerce-variation-add-to-cart .quantity {
    display: flex;
    align-items: center;
    height: 44px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    overflow: hidden;
}

/* +/- BUTTONS */
.qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: #f5f5f5;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.qty-btn:hover {
    background: #e8e8e8;
}

/* INPUT */
.quantity input.qty {
    width: 48px;
    border: none;
    text-align: center;
    font-size: 14px;
    -moz-appearance: textfield;
}

.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ADD TO CART BUTTON */
.woocommerce-variation-add-to-cart .single_add_to_cart_button {
    height: 44px;
    width: 100%;
    border: 2px solid #0070f3;
    background: #fff;
    color: #0070f3;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
}

.woocommerce-variation-add-to-cart .single_add_to_cart_button:hover {
    background: #0070f3;
    color: #fff;
}
@media (max-width: 767px) {
    .woocommerce-variation-add-to-cart {
        grid-template-columns: 1fr;
    }
}
/* Grid must never exceed container */
.yonex-product-grid {
    max-width: 100%;
    margin: 0 30px;
}
/* ================================
   PRODUCT GRID
================================ */
.yonex-product-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 48px;
    align-items: start;
}

/* ================================
   MAIN IMAGE
================================ */
.yonex-main-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: opacity .15s ease;
}

/* ================================
   THUMBNAILS (HORIZONTAL SCROLL)
================================ */
.yonex-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;

    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 6px;

    max-width: 100%;
}

/* Hide ugly scrollbar (optional) */
.yonex-thumbnails::-webkit-scrollbar {
    height: 6px;
}
.yonex-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.2);
    border-radius: 4px;
}

/* THUMB IMAGE */
.yonex-thumb {
    flex: 0 0 auto;
    width: 90px;
    height: auto;

    border-radius: 8px;
    cursor: pointer;

    opacity: .7;
    transition:
        opacity .2s ease,
        transform .2s ease,
        outline .2s ease;
}

/* HOVER + ACTIVE */
.yonex-thumb:hover {
    opacity: 1;
    transform: scale(1.05);
}

.yonex-thumb.active {
    opacity: 1;
    outline: 2px solid #0070f3;
}

/* ================================
   SAFETY (NO OVERFLOW)
================================ */
.yonex-product,
.yonex-product-gallery {
    overflow-x: hidden;
}

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

/* ================================
   MOBILE
================================ */
@media (max-width: 767px) {
    .yonex-product-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .yonex-thumb {
        width: 72px;
    }
}
/* ================================
   THUMBNAIL SPACING
================================ */
.yonex-thumbnails {
    margin: 24px 0 32px;      /* outside spacing */
    padding: 8px 4px;        /* inside spacing */
    gap: 14px;               /* space between thumbs */
}

/* DESKTOP */
@media (min-width: 768px) {
    .yonex-thumbnails {
        margin: 32px 0 40px;
        padding: 12px 6px;
        gap: 16px;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .yonex-thumbnails {
        margin: 20px 0 28px;
        padding: 6px 4px;
        gap: 12px;
    }
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
    background: #0070f3;
}

/* THUMBNAILS SCROLL */
.yonex-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;

    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;

    padding-bottom: 6px; /* space for scrollbar */
    scroll-behavior: smooth;
}

/* Hide scrollbar (optional, clean look) */
.yonex-thumbnails::-webkit-scrollbar {
    height: 6px;
}
.yonex-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.2);
    border-radius: 4px;
}

/* THUMB ITEM */
.yonex-thumb {
    flex: 0 0 auto;
    width: 90px;
    max-width: 90px;
}
.yonex-product,
.yonex-product-gallery {
    overflow-x: hidden;
}
@media (max-width: 767px) {
    .yonex-thumb {
        width: 72px;
        max-width: 72px;
    }
}
@media (max-width: 767px) {
    .yonex-product-grid {
        grid-template-columns: 1fr;
    }

    body {
        overflow-x: hidden;
    }
}
.variations tr {
    display: flex;
    flex-direction: column;
    align-items: baseline;
}
/* PRODUCT BREADCRUMBS SPACING */
.yonex-product-info .woocommerce-breadcrumb {
    margin-top: 24px;     /* space from top / header */
    margin-bottom: 24px;  /* space before title */
}
@media (max-width: 767px) {
    .yonex-product-info .woocommerce-breadcrumb {
        margin-top: 16px;
        margin-bottom: 16px;
    }
}
.yonex-product-info .woocommerce-breadcrumb {
    max-width: 100%;
    overflow-wrap: break-word;
}
/* ================= SHOP GRID ================= */
.yonex-shop-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    margin-bottom: 32px;
}

.yonex-shop-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.yonex-shop-grid ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

/* ================= CARD ================= */
/* ================= PRODUCT CARD ================= */
.yonex-card {
    list-style: none;
}

/* IMAGE */
.yonex-card-image {
    display: block;
    background: #f7f7f7;
    border-radius: 16px;
    padding: 24px;
}

.yonex-card-image img {
    width: 100%;
    height: auto;
}

/* BODY */
.yonex-card-body {
    padding: 12px 4px 0;
}

/* TITLE */
.yonex-card-title a {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 12px 0 4px;
    color: #000;
}

/* CATEGORY */
.yonex-card-category {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

/* PRICE */
.yonex-card-price {
    font-size: 14px;
    font-weight: 600;
}

/* ================= SWATCHES ================= */
.yonex-card-swatches {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.yonex-card-swatches .swatch {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    background: #fff;
    transition: outline .2s ease;
}

/* COLOR SWATCH */
.yonex-card-swatches .swatch.color {
    padding: 0;
}

/* TEXT SWATCH */
.yonex-card-swatches .swatch.text {
    padding: 0 6px;
    min-width: 24px;
}

/* HOVER */
.yonex-card-swatches .swatch:hover {
    outline: 2px solid #0070f3;
}

/* ================= OFFCANVAS FILTERS ================= */
.yonex-filters {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: right .3s ease;
    display: flex;
    flex-direction: column;
}

.yonex-filters.open {
    right: 0;
}

.yonex-filters-header,
.yonex-filters-footer {
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.yonex-filters-body {
    padding: 16px;
    overflow-y: auto;
}

.yonex-filters-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.3);
    opacity: 0;
    pointer-events: none;
}

.yonex-filters-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* ================= MEDIA ================= */
@media (max-width: 1024px) {
    .yonex-shop-grid ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .yonex-shop-grid ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    .yonex-filters {
        width: 100%;
    }
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    width: 100%;
}
/* Remove Woo default layout noise */
.woocommerce-result-count {
    margin: 0;
}

.woocommerce-ordering {
    margin: 0;
}
/* HEADER WRAPPER */
.yonex-shop-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin: 32px 0 40px;
}

/* LEFT SIDE */
.yonex-shop-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yonex-shop-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

/* RIGHT SIDE */
.yonex-shop-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

/* PRODUCT COUNT */
.yonex-count {
    font-size: 14px;
    color: #555;
}

/* FILTER BUTTON */
.yonex-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 16px;
    border: 1px solid #d1d1d1;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
}

.yonex-filters-btn:hover {
    border-color: #0070f3;
}

/* SORT */
.yonex-sort select {
    padding: 10px 14px;
    border: 1px solid #d1d1d1;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}
@media (max-width: 767px) {
    .yonex-shop-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .yonex-shop-actions {
        width: 100%;
        justify-content: space-between;
    }
}
/* Hide default wording, keep number */
.yonex-shop-header .woocommerce-result-count {
    font-size: 14px;
    color: #555;
}

.yonex-shop-header .woocommerce-result-count::before {
    content: '';
}

.yonex-shop-header .woocommerce-result-count {
    text-transform: none;
}
/* HEADER WRAPPER */
.yonex-shop-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 32px;
    row-gap: 12px;
    margin: 32px 0 40px;
}

/* BREADCRUMBS */
.yonex-shop-header .woocommerce-breadcrumb {
    grid-column: 1 / 2;
    grid-row: 1;
    font-size: 13px;
    color: #666;
}

/* TITLE */
.yonex-shop-title {
    grid-column: 1 / 2;
    grid-row: 2;
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ACTIONS (RIGHT SIDE) */
.yonex-shop-actions {
    grid-column: 2 / 3;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}
.yonex-count {
    font-size: 14px;
    color: #555;
}
.yonex-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    background: #fff;
    border: 1px solid #d1d1d1;
    cursor: pointer;
}

.yonex-filters-btn:hover {
    border-color: #0070f3;
}
.yonex-shop-actions .woocommerce-ordering {
    margin: 0;
}

.yonex-shop-actions select.orderby {
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #d1d1d1;
    background: #fff;
    cursor: pointer;
}
@media (max-width: 767px) {
    .yonex-shop-header {
        grid-template-columns: 1fr;
        row-gap: 16px;
    }

    .yonex-shop-actions {
        grid-column: 1;
        grid-row: 3;
        justify-content: space-between;
        width: 100%;
    }
}
/* ================= VARIATION ROWS ================= */
/* ================= CARD VARIATION SWATCHES ================= */
.yonex-card-variations {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

/* ONE ROW (ONE ATTRIBUTE) */
.yonex-card-variation-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* SWATCH */
.yonex-card-variation-row .swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;

    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;

    border-radius: 4px;
    border: 1px solid #d1d1d1;
    background: #fff;
    color: #111;

    transition: border .15s ease, outline .15s ease;
}

/* HOVER */
.yonex-card-variation-row .swatch:hover {
    outline: 2px solid #0070f3;
}

/* ACTIVE (when coming from variation URL) */
.yonex-card-variation-row .swatch.is-active {
    border-color: #0070f3;
    outline: 2px solid #0070f3;
}
/* ================= FILTERS ASIDE ================= */
.yonex-filters-aside {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right .3s ease;
}

.yonex-filters-aside.is-open {
    right: 0;
}

/* ================= HEADER ================= */
.yonex-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e5;
}

.yonex-filters-header h2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .04em;
}

.yonex-filters-close {
    font-size: 22px;
    background: none;
    border: 0;
    cursor: pointer;
}

/* ================= BODY ================= */
.yonex-filters-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* Scrollbar (desktop) */
.yonex-filters-body::-webkit-scrollbar {
    width: 6px;
}
.yonex-filters-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 6px;
}

/* ================= GROUP ================= */
.yonex-filter-group {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e5e5e5;
}

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

/* TITLE */
.yonex-filter-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: 16px;

}

/* ================= CHECKBOX ================= */
.yonex-filter-option {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    cursor: pointer;
    font-size: 14px;
}

.yonex-filter-option input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #bbb;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.yonex-filter-option input[type="checkbox"]:checked {
    border-color: #0070f3;
    background: #0070f3;
}

.yonex-filter-option input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: #fff;
    border-radius: 2px;
}

/* ================= FOOTER ================= */
.yonex-filters-footer {
    padding: 20px 24px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    gap: 12px;
}

.yonex-filters-footer button {
    flex: 1;
    height: 44px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .05em;
    border-radius: 4px;
    cursor: pointer;
}

/* CLEAR */
.yonex-filters-clear {
    background: #fff;
    border: 1px solid #0070f3;
    color: #0070f3;
}

/* APPLY */
.yonex-filters-apply {
    background: #0070f3;
    border: 1px solid #0070f3;
    color: #fff;
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {
    .yonex-filters-aside {
        max-width: 100%;
    }
}
.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before {
    display: none!important;
}