/**
 * Toolkit - Single Product CSS (consolidated)
 * Theme + Plugin + Bundle styles for single product pages
 * Variables defined in global.css
 */

/* =============================================
   THEME CSS — Blocksy single product customizations
   (migré depuis single-product-theme.css)
   ============================================= */

/* ===========================================
   BREADCRUMBS
   =========================================== */
[data-prefix="product"] .hero-section[data-type="type-1"] {
    margin-top: 30px;
}
@media screen and (max-width: 768px) {
    [data-prefix="product"] .hero-section[data-type="type-1"] {
        margin-top: 18px;
        margin-bottom: 18px;
    }
}

/* ===========================================
   PRODUCT BADGES
   =========================================== */
.product-page-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 10;
}

.product-page-badges .badge {
    display: flex;
    padding: 4px 8px;
    font-size: 0.77rem;
    font-weight: 600;
    border-radius: var(--tk-radius-sm);
    color: var(--theme-palette-color-8, #fff);
    gap: 7px;
    background: rgba(0, 0, 0, 0.8);
}

.product-page-badges .badge svg,
.product-page-badges .badge .icon {
    width: 17px;
    height: 17px;
}

@media (max-width: 1024px) {
    .product-page-badges .badge {
        font-size: 0.7rem;
        gap: 5px;
    }

    .product-page-badges .badge svg,
    .product-page-badges .badge .icon {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .product-page-badges {
        top: 6px;
        left: 6px;
    }
    .product-page-badges .badge {
        font-size: 0.7rem;
        gap: 5px;
    }
}

/* ===========================================
   GALLERY
   =========================================== */
.ct-media-container {
    filter: brightness(.98);
}

@media (min-width: 1024px) {
    .single .woocommerce-product-gallery .ct-media-container:nth-child(3n+1) {
        grid-column: auto / span 2 !important;
    }
}

@media (max-width: 999.98px) {
    div.woocommerce-product-gallery {
        margin-bottom: 2em;
    }
}

/* ===========================================
   WPGENS POINTS MOBILE
   =========================================== */
.wpgens-product-single-earning-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--tk-color-bg-light);
    border-radius: var(--tk-radius-sm);
    padding: 8px;
    margin: 10px 0;
    font-size: 14px;
}

.wpgens-product-single-earning-notice svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .wpgens-product-single-earning-notice {
        font-size: 13px;
    }
}


/* ===========================================
   VARIATIONS & SWATCHES
   =========================================== */
table.variations .reset_variations {
    display: none !important;
}

form.variations_form table.variations label {
    font-size: 12px;
}

.single-product .ct-variation-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.woocommerce-variation-price {
    padding-bottom: 10px;
}

@media (max-width: 1024px) {
    .variations_form.cart [data-swatches-type="image"] {
        --swatch-size: 70px;
    }
}

@media (max-width: 768px) {
    .variations_form.cart [data-swatches-type="image"] {
        --swatch-size: 62px;
    }
}

@media (max-width: 480px) {
    .single-product .ct-variation-swatches {
        gap: 8px;
    }
}

/* ===========================================
   STOCK INDICATOR
   Uses --tk-stock-green / --tk-stock-red from global.css
   =========================================== */
/* Stock — single product overrides (base styles in global.css) */
/* Override Blocksy Pro waitlist CSS that hides the availability container */
:has(.woocommerce-variation-availability .out-of-stock):has(.ct-product-waitlist) .woocommerce-variation-availability {
    display: block !important;
}

.woocommerce-variation-availability .stock {
    font-size: 12px;
	color: var(--theme-palette-color-7) !important;
}

.woocommerce-variation-availability .stock.in-stock {
    color: var(--tk-stock-green);
}

.woocommerce-variation-availability .stock.out-of-stock {
    color: var(--tk-stock-red);
}

/* ===========================================
   SCARCITY & STOCK DISPLAY
   =========================================== */
.ct-product-stock-scarcity,
[class*=ct-shipping-progress] {
    font-size: 15px;
}

.ct-stock-quantity {
    color: var(--tk-stock-red);
}

.ct-progress-bar {
    display: none;
}

body.single-product .ct-message {
    display: inline-block;
    background-color: var(--tk-color-bg-light);
    border-radius: var(--tk-radius-lg);
    padding: 14px;
    font-weight: 500;
    line-height: 1;
    font-size: 15px;
}

@media (max-width: 768px) {
    body.single-product .ct-message {
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body.single-product .ct-message {
        border-radius: var(--tk-radius-lg);
    }
}

/* ===========================================
   CART ACTIONS
   =========================================== */
.ct-cart-actions .quantity,
.ct-cart-actions .added_to_cart {
    display: none !important;
}

.ct-cart-actions button {
    box-shadow: 2px 5px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 689.98px) {
    .ct-floating-bar-actions :is(.product_type_variable.button, .single_add_to_cart_button:not(.loading))::after {
        content: "";
    }
    .ct-floating-bar-actions :is(.added_to_cart, .single_add_to_cart_button, .product_type_variable.button) {
        min-width: 140px;
        max-width: 140px;
        font-size: inherit !important;
        padding: 5px 10px;
    }
    .ct-cart-actions {
        --theme-button-min-height: 57px;
    }
}

/* ===========================================
   PRODUCT META
   =========================================== */
.summary .product_meta > span {
    letter-spacing: unset !important;
    display: flex !important;
    gap: 10px;
    padding: 1px;
    font-size: 11px !important;
    color: var(--tk-color-text-muted) !important;
}

/* ===========================================
   STICKY ADD TO CART
   =========================================== */
body .ct-floating-bar :is(.added_to_cart, .single_add_to_cart_button, .product_type_variable.button) {
    background-color: var(--theme-palette-color-4, #000);
    font-size: 17px;
    color: var(--theme-palette-color-8, #fff);
}

body .ct-floating-bar :is(.added_to_cart, .single_add_to_cart_button, .product_type_variable.button):hover {
    background-color: var(--theme-palette-color-3, #414141);
}

@media (max-width: 689.98px) {

    body .ct-floating-bar:has(.product_type_variable.button) .ct-media-container,
    body .ct-floating-bar:has(.product_type_variable.button) .ct-floating-bar-item-title,
    body .ct-floating-bar:has(.product_type_variable.button) .ct-floating-bar-content {
        display: none;
    }

    body .ct-floating-bar:has(.product_type_variable.button) .ct-container {
        display: flex;
        grid-template-columns: unset;
        justify-content: stretch;
        padding: 10px 15px;
        gap: 0;
    }

    body .ct-floating-bar:has(.product_type_variable.button) section {
        width: 100%;
        flex: 1;
    }

    body .ct-floating-bar:has(.product_type_variable.button) .ct-floating-bar-actions {
        flex: 1;
        display: flex;
    }

    body .ct-floating-bar:has(.product_type_variable.button) form.cart {
        flex: 1;
        display: flex;
    }

    body .ct-floating-bar:has(.product_type_variable.button) .product_type_variable.button {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        font-size: 18px !important;
        flex: 1;
        padding: 14px 20px;
    }

    body .ct-floating-bar:has(.product_type_variable.button) .product_type_variable.button::after {
        content: "";
        display: none;
    }

    body .ct-floating-bar:has(.single_add_to_cart_button) .single_add_to_cart_button {
        font-size: 0 !important;
        min-width: 120px;
        max-width: none;
        padding: 12px 24px;
        margin: 0 15px;
    }

    body .ct-floating-bar:has(.single_add_to_cart_button) .single_add_to_cart_button::after {
        content: "カートに入れる";
        font-size: 16px;
        font-family: inherit;
        margin: 0;
    }
}

/* =============================================
   PRODUCT BUNDLE LIST
   (migré depuis product-bundle-list.css)
   ============================================= */

/* ===========================================
   PBL-SPECIFIC VARIABLES
   =========================================== */
:root {
    --tk-pbl-img-size: 65px;
    --tk-pbl-row-padding: 14px 18px;
    --tk-pbl-row-gap: 14px;
    --tk-pbl-row-radius: 10px;
    --tk-pbl-font-meta: 12px;
    --tk-pbl-font-name: 15px;
    --tk-pbl-font-price: 16px;
    --tk-pbl-color-stock: #B30000;
    --tk-pbl-color-discount: var(--theme-palette-color-8, #575757);
    --tk-pbl-lightbox-max-w: 650px;
}

/* ===========================================
   BUNDLE BOX
   =========================================== */
.tk-pbl-box { padding: 15px 0; margin: 20px 0 }
.tk-pbl-title { font-size: 16px; margin-bottom: 14px; font-weight: 700; color: var(--tk-color-primary); display: flex; align-items: center; gap: 6px; position: relative }
.tk-pbl-list { display: flex; flex-direction: column; gap: 10px }

/* Tooltip — desktop: à droite de l'icône */
.tk-pbl-tooltip { position: relative; display: inline-flex; align-items: center; color: var(--tk-color-text-muted); cursor: pointer; line-height: 1 }
.tk-pbl-tooltip svg { display: block }
.tk-pbl-tooltip-text { display: none; position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); background: var(--tk-color-primary); color: var(--tk-color-bg); font-size: 12px; font-weight: 400; line-height: 1.5; padding: 8px 12px; border-radius: 8px; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.15); z-index: 10 }
.tk-pbl-tooltip-text::before { content: ''; position: absolute; right: 100%; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-right-color: var(--tk-color-primary) }
.tk-pbl-tooltip:hover .tk-pbl-tooltip-text,
.tk-pbl-tooltip:focus .tk-pbl-tooltip-text { display: block }

/* Tooltip — mobile: sous le titre, pleine largeur */
@media (max-width: 600px) {
    .tk-pbl-tooltip { position: static }
    .tk-pbl-title { position: relative }
    .tk-pbl-tooltip-text { left: 0; right: 0; top: calc(100% + 12px); transform: none; white-space: normal }
    .tk-pbl-tooltip-text::before { right: auto; top: auto; bottom: 100%; left: 50%; transform: translateX(-50%); border-right-color: transparent; border-bottom-color: var(--tk-color-primary) }
}

/* ===========================================
   BUNDLE ROW
   =========================================== */
.tk-pbl-row { display: flex; align-items: center; padding: var(--tk-pbl-row-padding); background: var(--tk-color-bg); border: 1px solid var(--tk-color-border); border-radius: var(--tk-pbl-row-radius); gap: var(--tk-pbl-row-gap); position: relative; box-shadow: 0 1px 3px rgba(0,0,0,.06) }
.tk-pbl-col-check { flex-shrink: 0 }
.tk-pbl-col-check input { width: 20px; height: 20px; cursor: pointer; accent-color: var(--tk-color-primary); border-radius: 4px }
.tk-pbl-col-img { flex-shrink: 0; position: relative }
.tk-pbl-col-img img { width: var(--tk-pbl-img-size); height: var(--tk-pbl-img-size); object-fit: cover; border-radius: var(--tk-radius-sm); cursor: zoom-in; transition: opacity .2s; border: none; background: var(--tk-color-bg-light) }
.tk-pbl-col-img img:hover { opacity: .85 }
.tk-pbl-col-main { flex: 1; min-width: 0 }

/* ===========================================
   NAME / LINK
   =========================================== */
.tk-pbl-name { font-size: var(--tk-pbl-font-name); font-weight: 700; color: var(--tk-color-primary); line-height: 1.3; margin-bottom: 8px }
.tk-pbl-name a { color: var(--tk-color-primary); text-decoration: none }
.tk-pbl-name a:hover { text-decoration: none }

/* ===========================================
   META ROW (variation, qty selects)
   =========================================== */
.tk-pbl-meta-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap }
.tk-pbl-meta-item { display: flex; align-items: center; font-size: var(--tk-pbl-font-meta); white-space: nowrap }
.tk-pbl-meta-item select {
    height: 30px; padding: 0 24px 0 10px; font-size: var(--tk-pbl-font-meta);
    border: 1px solid var(--tk-color-border);
    background: var(--tk-color-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23414141' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 8px center;
    background-size: 10px; border-radius: 8px; appearance: none; -webkit-appearance: none; cursor: pointer; color: var(--tk-color-primary)
}
.tk-pbl-meta-item select option:disabled { color: #aaa; background: var(--tk-color-bg-light) }
.tk-pbl-meta-item select.tk-pbl-qty { min-width: 45px }

/* ===========================================
   STOCK (inside price column)
   =========================================== */
.tk-pbl-stock-item { white-space: nowrap; text-align: right; margin-bottom: 2px }
.tk-pbl-stock-info { font-size: var(--tk-pbl-font-meta); color: var(--tk-pbl-color-stock); font-weight: 700 }

/* ===========================================
   PRICE COLUMN
   =========================================== */
.tk-pbl-col-price { text-align: right; min-width: 80px; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end }
.tk-pbl-price-row { display: flex; align-items: baseline; justify-content: flex-end; gap: 5px }
.tk-pbl-disc-text { font-size: var(--tk-pbl-font-meta); color: var(--tk-pbl-color-discount); font-weight: 400; order: -1 }
.tk-pbl-col-price ins { text-decoration: none; font-weight: 700; font-size: var(--tk-pbl-font-price); color: var(--tk-color-primary) }
.tk-pbl-col-price del { font-size: var(--tk-pbl-font-meta); color: var(--tk-pbl-color-discount); display: block; margin-top: 1px }

/* ===========================================
   LIGHTBOX DIALOG
   =========================================== */
body.tk-pbl-lightbox-open { overflow: hidden !important }
.tk-pbl-lightbox { padding: 0; border: none; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; position: fixed; top: 0; left: 0 }
.tk-pbl-lightbox::backdrop { background: rgba(0,0,0,.6) }
.tk-pbl-lightbox[open] { display: flex; align-items: center; justify-content: center }
.tk-pbl-lightbox-container { position: relative; background: var(--tk-color-bg); border-radius: 12px; max-width: var(--tk-pbl-lightbox-max-w); width: 90vw; max-height: 90vh; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); display: flex; flex-direction: column }
.tk-pbl-lightbox-close { position: absolute; top: 15px; right: 15px; background: var(--tk-color-bg); border: none; color: var(--tk-color-primary); cursor: pointer; padding: 8px; line-height: 1; z-index: 10; transition: opacity .2s; border-radius: 50% }
.tk-pbl-lightbox-close:hover { opacity: .6 }
.tk-pbl-lightbox-close svg { display: block }
.tk-pbl-lightbox-title { font-size: 18px; font-weight: 600; color: var(--tk-color-primary); text-align: center; padding: 20px 50px 15px; line-height: 1.4 }
.tk-pbl-lightbox-main { display: flex; align-items: center; justify-content: center; padding: 20px 30px; background: var(--tk-color-bg); margin: 0 20px; border-radius: var(--tk-radius-lg); min-height: 300px }
.tk-pbl-lightbox-image { max-width: 100%; max-height: 45vh; object-fit: contain; opacity: 0; transition: opacity .3s }
.tk-pbl-lightbox-image.loaded { opacity: 1 }
.tk-pbl-lightbox-thumbs { display: flex; gap: 10px; padding: 20px; justify-content: center; flex-wrap: wrap; overflow-y: auto; max-height: 180px }
.tk-pbl-lightbox-thumb { width: 70px; height: 70px; object-fit: cover; border-radius: var(--tk-radius-md); cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; border: 2px solid transparent; flex-shrink: 0 }
.tk-pbl-lightbox-thumb:hover { opacity: .9 }
.tk-pbl-lightbox-thumb.active { opacity: 1; border-color: var(--tk-color-primary) }
.tk-pbl-lightbox-cta { width: calc(100% - 40px); margin: 0 20px 20px; padding: 16px 24px; background: var(--tk-color-primary); color: var(--tk-color-bg); border: none; border-radius: var(--tk-radius-md); font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s }
.tk-pbl-lightbox-cta:hover { background: var(--tk-color-text) }
.tk-pbl-lightbox-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0 }

/* ===========================================
   FOCUS VISIBLE (Accessibility)
   =========================================== */
.tk-pbl-col-check input:focus-visible,
.tk-pbl-meta-item select:focus-visible { outline: 2px solid var(--tk-color-primary); outline-offset: 2px }
.tk-pbl-meta-item select:hover { border-color: var(--tk-color-text-muted) }
.tk-pbl-meta-item select:focus { outline: none; border-color: var(--tk-color-primary) }
.tk-pbl-name a:focus-visible { outline: 2px solid var(--tk-color-primary); outline-offset: 2px; border-radius: 2px }
.tk-pbl-lightbox-close:focus-visible,
.tk-pbl-lightbox-thumb:focus-visible,
.tk-pbl-lightbox-cta:focus-visible { outline: 2px solid var(--tk-color-primary); outline-offset: 2px }
.tk-pbl-col-img img:focus-visible { outline: 2px solid var(--tk-color-primary); outline-offset: 2px }

/* ===========================================
   RESPONSIVE 768px (Bundle)
   =========================================== */
@media (max-width: 768px) {
    .tk-pbl-row { padding: 10px 12px; gap: 10px; border-radius: 8px }
    .tk-pbl-col-check input { width: 18px; height: 18px }
    .tk-pbl-col-img img { width: 50px; height: 50px }
    .tk-pbl-name { font-size: 13px; margin-bottom: 6px }
    .tk-pbl-meta-row { gap: 8px }
    .tk-pbl-meta-item { font-size: 11px }
    .tk-pbl-meta-item select { height: 26px; font-size: 11px; padding: 0 20px 0 8px }
    .tk-pbl-meta-item select.tk-pbl-qty { min-width: 38px }
    .tk-pbl-col-price { min-width: 65px }
    .tk-pbl-col-price del { font-size: 10px }
    .tk-pbl-disc-text { font-size: 10px }
    .tk-pbl-col-price ins { font-size: 14px }
    .tk-pbl-stock-info { font-size: 10px }
    .tk-pbl-lightbox-container { width: 95vw; max-height: 95vh; border-radius: 10px }
    .tk-pbl-lightbox-image { max-height: 35vh }
    .tk-pbl-lightbox-thumb { width: 50px; height: 50px }
    .tk-pbl-lightbox-title { font-size: 15px; padding: 15px 40px 10px }
    .tk-pbl-lightbox-thumbs { max-height: 130px; padding: 12px; gap: 8px }
    .tk-pbl-lightbox-cta { margin: 0 12px 12px; width: calc(100% - 24px); padding: 14px 20px; font-size: 14px }
    .tk-pbl-lightbox-close { top: 10px; right: 10px; padding: 6px }
    .tk-pbl-lightbox-close svg { width: 20px; height: 20px }
}

/* ===========================================
   RESPONSIVE 480px (Bundle)
   =========================================== */
@media (max-width: 480px) {
    .tk-pbl-row { padding: 8px 10px; gap: 8px }
    .tk-pbl-col-img img { width: 45px; height: 45px }
    .tk-pbl-name { font-size: 12px }
    .tk-pbl-meta-item select { height: 24px; font-size: 10px; padding: 0 18px 0 7px }
    .tk-pbl-meta-item select.tk-pbl-qty { min-width: 35px }
    .tk-pbl-col-price ins { font-size: 13px }
    .tk-pbl-disc-text { font-size: 10px }
    .tk-pbl-col-price del { font-size: 10px }
    .tk-pbl-stock-info { font-size: 10px }
}

/* ===========================================
   REDUCED MOTION (Bundle)
   =========================================== */
@media (prefers-reduced-motion: reduce) {
    .tk-pbl-lightbox-image { transition: none }
    .tk-pbl-col-img img { transition: none }
    .tk-pbl-lightbox-thumb { transition: none }
    .tk-pbl-lightbox-close { transition: none }
    .tk-pbl-lightbox-cta { transition: none }
}

/* =============================================
   PLUGIN CSS — Gallery toggle, Reviews, Accordion, Attribute groups, Brand meta
   (contenu original de single-product.css)
   ============================================= */

/* ===========================================
   GALLERY TOGGLE
   =========================================== */
.ct-stacked-gallery-container {
    position: relative;
    padding-bottom: 0;
    margin-bottom: 2.5rem;
}

.ct-stacked-gallery-container .ct-media-container:nth-child(n+5) {
    display: none;
}

.see-toggle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.2rem;
    cursor: pointer;
    background: var(--tk-color-bg);
    color: var(--tk-color-primary);
    border: 2px solid var(--tk-color-primary);
    border-radius: var(--tk-radius-full);
    font-weight: 600;
    z-index: 10;
    white-space: nowrap;
    transition: background var(--tk-transition);
    font-size: var(--tk-font-md);
}

.see-toggle:hover {
    background: var(--tk-color-bg-hover);
}

#load-more-images {
    bottom: -1.5rem;
}

#load-less-images {
    display: none;
    bottom: -1.5rem;
}

.gallery-expanded .ct-media-container:nth-child(n+5) {
    display: block !important;
}

.gallery-expanded {
    margin-bottom: 2.5rem !important;
}

@media (max-width: 767px) {
    .ct-stacked-gallery-container {
        margin-bottom: 1rem;
    }
    .see-toggle {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }
    #load-more-images,
    #load-less-images {
        bottom: -1rem;
    }
}

/* ===========================================
   FULL WIDTH REVIEWS
   =========================================== */
.fullwidth-wc-reviews {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 100vw;
    padding: 40px 20px;
    box-sizing: border-box;
}

.fullwidth-wc-reviews .woocommerce-Reviews {
    max-width: none !important;
    width: 50% !important;
    margin: 0 auto;
}

@media (max-width: 1290px) {
    .fullwidth-wc-reviews .woocommerce-Reviews {
        width: 70% !important;
    }
}

@media (max-width: 720px) {
    .fullwidth-wc-reviews {
        padding: 30px 20px;
    }
    .fullwidth-wc-reviews .woocommerce-Reviews {
        width: calc(100% - 40px) !important;
        margin: 0 20px !important;
    }
}

/* ===========================================
   ACCORDION
   =========================================== */

.accordion {
  width: 100%;
}

.accordion-item {
  border-bottom: 1px solid var(--tk-color-border-light);
}

.accordion-item:first-child {
  border-top: 1px solid var(--tk-color-border-light);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  width: 100%;
  margin: 0;
  padding: 12px 0;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.9;
  background: none;
  border: none;
  font-family: inherit;
  color: inherit;
  text-align: left;
}

.accordion-header:hover {
  background: var(--tk-color-bg);
}

.accordion-content {
  background: var(--tk-color-bg);
}

/* Only hide panels when JS is active (progressive enhancement) */
.js-accordion .accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}

.accordion-inner {
  padding: 0 35px;
}

.js-accordion .accordion-inner {
  overflow: hidden;
}

.accordion-inner > *:first-child {
  margin-top: 15px;
}

.accordion-inner > *:last-child {
  margin-bottom: 15px;
}

.accordion-inner p {
  margin: 15px 0;
}

.js-accordion .accordion-item.is-open .accordion-content {
  grid-template-rows: 1fr;
}

.js-accordion .accordion-item.is-open .accordion-header .accordion-chevron {
  transform: rotate(90deg);
}

/* Hide chevron when JS is not active (no toggle possible) */
.accordion:not(.js-accordion) .accordion-chevron {
  display: none;
}

.accordion-header:focus-visible {
  outline: 2px solid var(--tk-color-accent);
  outline-offset: 2px;
}

.accordion-chevron {
  margin-left: auto;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.icon-svg {
  display: inline-block;
  width: 22px;
  height: 22px;
  fill: var(--tk-color-text);
  flex-shrink: 0;
}

.accordion-list {
  margin: 0;
  padding-left: 20px;
  list-style-type: decimal;
}

.accordion-list li {
  margin-bottom: 10px;
  padding-left: 5px;
}

.accordeon-ligne {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.woocommerce-product-attributes {
  margin-bottom: 25px;
}

.shipping-logo {
  min-width: 24px;
  margin-right: 5px;
  font-size: 1em;
  line-height: 2;
}

/* ===========================================
   WC Attributes Grid
   =========================================== */

.wc-ag-group-title {
  display: block;
  margin-bottom: 1.2em;
  font-size: 1em;
  font-weight: 700;
  color: var(--tk-color-primary);
}

.wc-ag-group:not(:first-child) {
  margin-top: 2.5em;
}

.wc-ag-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}

.wc-ag-table li {
  display: flex;
  flex-direction: column;
  padding: 0.6em 0;
  border-bottom: 1px solid var(--tk-color-border);
}

.wc-ag-table li:nth-child(odd) {
  padding-right: 1.5em;
}

.wc-ag-table li:nth-child(even) {
  padding-left: 1.5em;
}

.wc-ag-table li strong {
  margin-bottom: 0.1em;
  font-size: 0.95em;
  font-weight: 600;
  color: var(--tk-color-primary);
}

.wc-ag-table li span {
  font-size: 0.95em;
  color: var(--tk-color-text-muted);
}