/**
 * 單一商品內頁 Figma（node 27:323）
 */

body.layercloud-figma-single-product .site-header > .container {
    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;
    white-space: nowrap !important;
}

body.layercloud-figma-single-product .site-header {
    position: static;
    height: 0;
    min-height: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

body.layercloud-figma-single-product .site-footer {
    display: none !important;
}

body.layercloud-figma-single-product .main-content {
    padding-top: 0 !important;
}

body.layercloud-figma-single-product .mobile-nav {
    top: 83px;
    z-index: 600;
}

@media (max-width: 1023px) {
    body.layercloud-figma-single-product .mobile-nav {
        top: 56px;
    }
}

.figma-single-product {
    --sp-blue: #0059ca;
    --sp-accent: #4499d9;
    --sp-text: #333333;
    --sp-muted: #888888;
    --sp-hot: #b4c537;
    --sp-sale: #ff4444;
    --sp-max: 1200px;
    --font-zh: "Noto Sans TC", "Inter", sans-serif;
    --font-ui: "Arial", "Noto Sans TC", sans-serif;
    background: #ffffff;
    color: var(--sp-text);
    font-family: var(--font-zh);
    position: relative;
    overflow-x: hidden;
}

.figma-single-product .figma-home-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    height: 83px;
    background: #ffffff;
    box-shadow: 0 4px 13.7px rgba(0, 0, 0, 0.25);
}

.figma-single-product .figma-home-header__inner {
    max-width: var(--sp-max);
    margin: 0 auto;
    padding: 0 26px;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.figma-single-product .figma-home-header__brand {
    display: flex;
    align-items: center;
    gap: 15.478px;
    text-decoration: none;
    color: inherit;
    grid-column: 2;
    justify-self: center;
}

.figma-single-product .figma-home-header__icon {
    width: 28px;
    height: 36px;
}

.figma-single-product .figma-home-header__logotype {
    width: 120px;
    height: auto;
}

.figma-single-product .figma-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    grid-column: 3;
    justify-self: end;
}

@media (min-width: 1024px) {
    .figma-single-product .figma-menu-toggle {
        margin-right: -14px;
    }
}

.figma-single-product__main {
    padding-top: 83px;
}

@media (max-width: 1023px) {
    .figma-single-product .figma-home-header {
        height: 56px;
    }

    .figma-single-product .figma-home-header__inner {
        padding: 0 8px;
    }

    .figma-single-product .figma-home-header__icon {
        width: 16.8px;
        height: 21.6px;
    }

    .figma-single-product .figma-home-header__logotype {
        width: 72px;
    }

    .figma-single-product__main {
        padding-top: 56px;
    }
}

/* Hero */
.figma-sp-hero {
    position: relative;
    width: 100%;
    max-width: var(--sp-max);
    margin: 0 auto;
    aspect-ratio: 1200 / 579;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.figma-sp-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.figma-sp-hero__media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.figma-sp-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.figma-sp-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.figma-sp-hero__text {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
    font-size: clamp(18px, 3vw, 30px);
    letter-spacing: 8.4px;
    text-shadow: 0 4px 10.1px rgba(0, 0, 0, 0.5), 0 4px 4px rgba(0, 0, 0, 0.5);
    padding: 24px;
}

.figma-sp-hero__line {
    font-family: var(--font-zh);
    font-weight: 400;
    font-size: inherit;
    line-height: 49px;
    margin: 0;
    letter-spacing: 8.4px;
}

.figma-sp-hero__line--bold {
    font-weight: 700;
    margin-bottom: 0.15em;
}

@media (min-width: 901px) {
    .figma-sp-hero {
        height: 579px;
        aspect-ratio: auto;
    }
}

@media (min-width: 1024px) {
    .figma-sp-hero {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
}

/* 內容區 */
.figma-sp-content {
    max-width: var(--sp-max);
    margin: 0 auto;
    padding: 24px 20px 48px;
}

.figma-sp-breadcrumb {
    font-size: 14px;
    color: var(--sp-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.figma-sp-breadcrumb a {
    color: var(--sp-muted);
    text-decoration: none;
}

.figma-sp-breadcrumb a:hover {
    color: var(--sp-blue);
}

.figma-sp-breadcrumb__sep {
    margin: 0 6px;
}

.figma-sp-breadcrumb__current {
    color: var(--sp-blue);
}

.figma-sp-top {
    display: grid;
    grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
    gap: 40px 48px;
    align-items: start;
    margin-bottom: 56px;
}

@media (max-width: 960px) {
    .figma-sp-top {
        grid-template-columns: 1fr;
    }
}

/* 圖庫 */
.figma-sp-gallery__main {
    background: #f9f9f9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.figma-sp-gallery__main-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(451px, 60vh);
    object-fit: contain;
}

.figma-sp-gallery__thumbs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.figma-sp-gallery__thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
    line-height: 0;
}

.figma-sp-gallery__thumb img {
    width: 90px;
    height: 82px;
    object-fit: cover;
    display: block;
}

.figma-sp-gallery__thumb--static img {
    opacity: 0.9;
}

.figma-sp-gallery__thumb.is-active {
    border-color: var(--sp-blue);
}

/* 摘要 */
.figma-sp-summary__title {
    font-size: 28px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 4px;
    line-height: 1.3;
}

.figma-sp-summary__sku {
    font-size: 14px;
    color: #666666;
    margin: 0 0 8px;
}

.figma-sp-summary__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.figma-sp-summary__rating .star-rating {
    float: none;
    margin: 0;
    color: #E8A713;
}

.figma-sp-stars {
    color: #E8A713;
    font-size: 16px;
    letter-spacing: 2px;
}

.figma-sp-summary__reviews {
    font-size: 14px;
    color: #1B6FAF;
}

.figma-sp-price-wrap {
    margin-bottom: 24px;
}

.figma-sp-price-wrap .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px 18px;
    font-size: 36px;
    font-weight: 700;
    color: #1B6FAF;
}

.figma-sp-price-wrap .price del,
.figma-sp-price-wrap del {
    font-size: 18px;
    font-weight: 400;
    color: #999999;
    text-decoration: line-through;
}

.figma-sp-price-wrap .price ins {
    text-decoration: none;
    color: #1B6FAF;
}

.figma-sp-price-wrap .woocommerce-Price-amount {
    font-weight: 700;
    color: #1B6FAF;
}

/* 簡單商品特價：對齊 Figma 價格列（現售 | 定價 + 折扣標） */
.figma-sp-price-figma {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 23px;
}

.figma-sp-price-figma__current {
    font-size: 36px;
    font-weight: 700;
    color: #1B6FAF;
    line-height: 1.2;
}

.figma-sp-price-figma__current .woocommerce-Price-amount {
    font-weight: 700;
    color: #1B6FAF;
}

.figma-sp-price-figma__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.figma-sp-price-figma__del {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    color: #999999;
    text-decoration: line-through;
}

.figma-sp-discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 3px 14px;
    background: #1B6FAF;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    line-height: 1.2;
    font-family: var(--font-zh);
}

/* 可變商品表單 */
.figma-sp-summary__wc--variable {
    margin-bottom: 20px;
    max-width: 420px;
}

.figma-sp-summary__wc--variable .variations {
    width: 100%;
}

.figma-sp-summary__wc--variable .woocommerce-variation-add-to-cart {
    margin-top: 16px;
}

.figma-sp-summary__wc--variable .single_add_to_cart_button {
    background: var(--sp-blue);
    color: #fff;
    border: none;
    min-height: 55px;
    padding: 12px 32px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    max-width: 280px;
}

.figma-sp-option-label {
    font-weight: 700;
    font-size: 14px;
    color: #1B6FAF;
    margin: 0 0 9px;
}

.figma-sp-options {
    margin-bottom: 16px;
}

.figma-sp-option-block {
    margin-bottom: 16px;
}

.figma-sp-option-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.figma-sp-option-row--spec {
    gap: 10px;
}

.figma-sp-pill {
    min-width: 80px;
    height: 35px;
    padding: 8px 22px;
    font-size: 12px;
    border: 2px solid var(--sp-blue);
    background: #fff;
    cursor: pointer;
    border-radius: 0;
}

.figma-sp-pill.is-filled {
    background: var(--sp-blue);
    color: #fff;
}

.figma-sp-pill.is-outline {
    background: #fff;
    color: #000;
}

.figma-sp-spec-pill {
    width: 150px;
    min-height: 45px;
    padding: 6px 12px;
    border: 2px solid var(--sp-blue);
    background: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 12px;
}

.figma-sp-spec-pill__price,
.figma-sp-spec-pill__sub {
    font-size: 10px;
    color: var(--sp-blue);
}

.figma-sp-spec-pill.is-filled {
    background: var(--sp-blue);
    color: #fff;
    border-color: var(--sp-blue);
}

.figma-sp-spec-pill.is-filled .figma-sp-spec-pill__price,
.figma-sp-spec-pill.is-filled .figma-sp-spec-pill__sub {
    color: #fff;
}

.figma-sp-qty-block {
    margin-bottom: 20px;
}

.figma-sp-qty-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.figma-sp-qty-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.figma-sp-stock--below {
    margin: 0;
}

.figma-sp-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 2px;
    overflow: hidden;
}

.figma-sp-qty__btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

.figma-sp-qty__input {
    width: 48px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    -moz-appearance: textfield;
}

.figma-sp-qty__input::-webkit-outer-spin-button,
.figma-sp-qty__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.figma-sp-stock {
    font-size: 12px;
    color: var(--sp-muted);
}

.figma-sp-inquiry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    min-height: 55px;
    background: var(--sp-blue);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    margin-bottom: 16px;
    transition: opacity 0.2s;
}

.figma-sp-inquiry:hover {
    opacity: 0.92;
    color: #fff !important;
}

.figma-sp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 41px;
    font-size: 12px;
    color: var(--sp-hot);
}

/* 分頁籤 */
.figma-sp-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 26px;
}

.figma-sp-tabs__btn {
    width: 100px;
    height: 35px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--sp-blue);
    background: #fff;
    border: 0.5px solid var(--sp-blue);
    cursor: pointer;
    margin-right: -0.5px;
}

.figma-sp-tabs__btn.is-active {
    background: #f0f7ff;
}

.figma-sp-tabs__panel {
    border: 0.5px solid #e0e0e0;
    border-radius: 4px;
    padding: 0;
    min-height: 200px;
}

.figma-sp-tabs__panel[hidden] {
    display: none !important;
}

.figma-sp-tabs__panel.is-active:not([hidden]) {
    display: block;
}

.figma-sp-tab-body {
    padding: 24px 20px;
}

.figma-sp-tab-body--prose {
    font-size: 14px;
    line-height: 1.8;
    color: var(--sp-text);
}

.figma-sp-tab-placeholder {
    color: var(--sp-muted);
    text-align: center;
    padding: 32px 16px;
    margin: 0;
}

/* Woo 屬性表 */
.figma-sp-wc-attributes table.shop_attributes {
    width: 100%;
    border: none;
}

.figma-sp-wc-attributes table.shop_attributes th,
.figma-sp-wc-attributes table.shop_attributes td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    font-size: 12px;
}

.figma-sp-wc-attributes table.shop_attributes th {
    width: 35%;
    color: var(--sp-text);
    font-weight: 400;
}

/* 規格示範（無屬性時） */
.figma-sp-spec-demo {
    background: #fafafa url("../img/figma-product-single/spec-table-frame.svg") top center / 100% auto no-repeat;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.figma-sp-spec-demo__inner {
    padding: 40px 24px 32px;
    max-width: 1040px;
    margin: 0 auto;
}

.figma-sp-spec-demo__section {
    font-weight: 700;
    font-size: 12px;
    color: var(--sp-blue);
    margin: 24px 0 12px;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
}

.figma-sp-spec-demo__inner > .figma-sp-spec-demo__section:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.figma-sp-spec-demo__row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    font-size: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    align-items: baseline;
}

.figma-sp-spec-demo__row span:last-child {
    font-family: Consolas, "Noto Sans TC", monospace;
    color: #0a0909;
}

@media (max-width: 640px) {
    .figma-sp-spec-demo__row {
        grid-template-columns: 1fr;
    }
}

/* 評論區 */
.figma-sp-reviews .woocommerce-Reviews-title {
    font-size: 18px;
    margin-bottom: 16px;
}

.figma-sp-reviews .commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* CTA：與 /about 相同，見 figma-svc-cta-shared.css */

/* 頁尾 */
.figma-single-product .figma-home-footer {
    position: relative;
    min-height: 420px;
    color: #ffffff;
    margin-top: 0;
}

.figma-single-product .figma-home-footer__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.figma-single-product .figma-home-footer__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.figma-single-product .figma-home-footer__inner {
    position: relative;
    z-index: 1;
    max-width: var(--sp-max);
    margin: 0 auto;
    padding: 120px 24px 100px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.figma-single-product .figma-home-footer__contact h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 15.888px;
    margin: 0 0 17px;
    color: #ffffff;
}

.figma-single-product .figma-home-footer__contact address {
    font-family: var(--font-zh);
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.7;
}

.figma-single-product .figma-home-footer__contact address p {
    margin: 0 0 0.5em;
}

.figma-single-product .figma-home-footer__contact a {
    color: #ffffff;
    text-decoration: none;
}

.figma-single-product .figma-home-footer__contact a:hover {
    text-decoration: underline;
}

.figma-single-product .figma-home-footer__copy {
    font-family: var(--font-zh);
    font-size: 14px;
    text-align: center;
    color: #ffffff;
    opacity: 0.85;
}

/* -------------------------------------------------------------------------
 * 行動裝置單一商品頁（Figma node 45:1148，375 寬稿）
 * ------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .figma-sp-hero {
        min-height: 0;
        aspect-ratio: 375 / 180;
        width: 100%;
        max-width: none;
        max-height: none;
    }

    .figma-sp-hero__media picture {
        display: block;
        width: 100%;
        height: 100%;
    }

    .figma-sp-hero__text {
        font-size: 13px;
        letter-spacing: 3.64px;
        line-height: 20px;
        text-shadow: 0 1.25px 3.156px rgba(0, 0, 0, 0.5), 0 1.25px 1.25px rgba(0, 0, 0, 0.5);
        padding: 16px;
    }

    .figma-sp-hero__line {
        font-size: 13px;
        line-height: 20px;
        letter-spacing: 3.64px;
    }
}

@media (max-width: 767px) {
    .figma-single-product .figma-home-header {
        box-shadow: 0 1.25px 4.281px rgba(0, 0, 0, 0.25);
    }

    .figma-sp-content {
        padding: 12px 28px 36px;
    }

    .figma-sp-breadcrumb {
        font-size: 10px;
        margin-bottom: 14px;
        line-height: 1.5;
    }

    .figma-sp-top {
        margin-bottom: 28px;
        gap: 0;
    }

    .figma-sp-gallery {
        max-width: 300px;
        margin: 0 auto 0;
    }

    .figma-sp-gallery__main {
        margin-bottom: 8px;
        border-radius: 0;
        background: transparent;
    }

    .figma-sp-gallery__main-img {
        max-height: none;
        width: 100%;
        height: auto;
        aspect-ratio: 300 / 270;
        object-fit: cover;
    }

    .figma-sp-gallery__thumbs {
        gap: 3.2px;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .figma-sp-gallery__thumb img,
    .figma-sp-gallery__thumb--static img {
        width: 54px;
        height: 49px;
        object-fit: cover;
    }

    .figma-sp-summary {
        max-width: 241px;
        margin: 0 auto;
        padding-top: 8px;
    }

    .figma-sp-summary__title {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .figma-sp-summary__sku {
        font-size: 12px;
        margin: 0 0 4px;
    }

    .figma-sp-summary__rating {
        margin-bottom: 15px;
        justify-content: space-between;
        width: 100%;
        max-width: 161px;
    }

    .figma-sp-summary__rating .star-rating {
        font-size: 12px !important;
        width: 5.4em !important;
    }

    .figma-sp-stars {
        font-size: 12px;
        letter-spacing: 0;
    }

    .figma-sp-summary__reviews {
        font-size: 10px;
    }

    .figma-sp-price-wrap {
        margin-bottom: 15px;
    }

    .figma-sp-price-wrap .price {
        font-size: 16px;
        gap: 8px 12px;
    }

    .figma-sp-price-wrap .price del,
    .figma-sp-price-wrap del {
        font-size: 12px;
    }

    .figma-sp-price-figma__current {
        font-size: 16px;
    }

    .figma-sp-price-figma__del {
        font-size: 12px;
    }

    .figma-sp-option-label {
        font-size: 12px;
        margin-bottom: 9px;
    }

    .figma-sp-option-block {
        margin-bottom: 9px;
        max-width: 241px;
        margin-left: auto;
        margin-right: auto;
    }

    .figma-sp-option-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 5.88%;
    }

    .figma-sp-pill {
        width: 100%;
        min-width: 0;
        min-height: 20px;
        height: 20px;
        padding: 0 12px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        line-height: 1.2;
    }

    .figma-sp-spec-pill {
        width: 100%;
        min-width: 0;
        height: 48px;
        min-height: 48px;
        padding: 8px 22px;
        box-sizing: border-box;
    }

    .figma-sp-spec-pill__price,
    .figma-sp-spec-pill__sub {
        font-size: 10px;
    }

    .figma-sp-spec-pill span:first-child {
        font-size: 12px;
    }

    .figma-sp-qty-block {
        max-width: 241px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }

    .figma-sp-qty-line {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .figma-sp-qty-row {
        width: 100%;
    }

    .figma-sp-qty {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        width: 100%;
        border: none;
        border-radius: 0;
        background: transparent;
    }

    .figma-sp-qty__btn {
        width: 35px;
        height: 35px;
        min-width: 35px;
        flex-shrink: 0;
        border: 1px solid #000000;
        border-radius: 4px;
        background: #ffffff;
        font-size: 18px;
        box-sizing: border-box;
    }

    .figma-sp-qty__input {
        flex: 1 1 auto;
        width: auto;
        max-width: 159px;
        min-width: 0;
        height: 35px;
        border: 1px solid #000000;
        border-radius: 4px;
        font-size: 12px;
        box-sizing: border-box;
    }

    .figma-sp-stock--below {
        margin-top: 9px;
        font-size: 10px;
        color: var(--sp-muted);
    }

    .figma-sp-inquiry {
        max-width: 241px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        min-height: 50px;
        height: 50px;
        font-size: 14px;
        border-radius: 4px;
        margin-bottom: 12px;
    }

    .figma-sp-badges {
        max-width: 100%;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        gap: 8px 24px;
        font-size: 10px;
        color: #b4c537;
    }

    .figma-sp-tabs {
        margin-top: 8px;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .figma-sp-tabs::-webkit-scrollbar {
        display: none;
    }

    .figma-sp-tabs__nav {
        margin-bottom: 0;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
        flex-wrap: nowrap;
        justify-content: center;
        width: max-content;
        max-width: 100%;
        box-sizing: border-box;
    }

    .figma-sp-tabs__btn {
        flex: 0 0 75px;
        width: 75px;
        min-width: 75px;
        height: 26.25px;
        min-height: 26.25px;
        padding: 0 6px;
        font-size: 10px;
        font-weight: 700;
        border: 1px solid var(--sp-blue);
        margin-right: -1px;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1.15;
        text-align: center;
    }

    .figma-sp-tabs__btn.is-active {
        background: #ffffff;
    }

    .figma-sp-tabs__panels {
        margin-top: 16px;
    }

    .figma-sp-tabs__panel {
        border: 1px solid #d9d9d9;
        border-radius: 8px;
        min-height: 200px;
        max-width: 309px;
        margin-left: auto;
        margin-right: auto;
    }

    .figma-sp-spec-wrap {
        padding: 0;
    }

    .figma-sp-spec-demo {
        border-color: #d9d9d9;
        border-radius: 8px;
    }

    .figma-sp-spec-demo__inner {
        padding: 28px 18px 24px;
    }

    .figma-sp-spec-demo__section {
        font-size: 12px;
        margin: 20px 0 10px;
    }

    .figma-sp-spec-demo__inner > .figma-sp-spec-demo__section:first-child {
        margin-top: 0;
    }

    .figma-sp-spec-demo__row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 8px 24px;
        font-size: 12px;
        padding: 8px 0;
        grid-template-columns: none;
    }

    .figma-sp-spec-demo__row span:first-child {
        flex: 0 0 auto;
        min-width: 4em;
    }

    .figma-sp-spec-demo__row span:last-child {
        font-size: 10px;
    }

    .figma-sp-wc-attributes table.shop_attributes th,
    .figma-sp-wc-attributes table.shop_attributes td {
        font-size: 10px;
        padding: 10px 12px;
    }

    .figma-sp-wc-attributes table.shop_attributes th {
        font-size: 12px;
    }

    .figma-sp-tab-body {
        padding: 20px 16px;
        font-size: 12px;
    }

    .figma-sp-summary__wc--variable {
        max-width: 241px;
        margin-left: auto;
        margin-right: auto;
    }

    .figma-sp-summary__wc--variable .single_add_to_cart_button {
        max-width: 241px;
        width: 100%;
        min-height: 50px;
        font-size: 14px;
        border-radius: 4px;
    }
}

/* 行動版頁尾：figma-home-footer-mobile.css（Figma 2001:366） */
