/* ==========================================================
   RAREKICKS PRODUCT PAGE v4  (primary #ff6300)
   Path: child-theme/assets/css/rarekicks-product.css

   Replace the WHOLE file with this one. Fixes included:
   - Size picker no longer collapses under the qty / Buy now row
     (form.cart is now a CSS grid; sizes span the full first row)
   - SKU / Categories / Tags restyled as label + pills
   - Stray dot in the trust list removed
   Prefix `body.single-product.woocommerce div.product` out-ranks
   the Woohoo theme's `.woocommerce div.product ...` rules.
========================================================== */

body.single-product {
    --rk-primary: #ff6300;
    --rk-primary-dark: #e05700;
    --rk-ink: #111;
    --rk-cream: #f7f5f0;
    --rk-border: #e6e4de;
    --rk-field: #d6d4cd;
    --rk-muted: #6b6b6b;
    --rk-danger: #c0392b;
    --rk-ok: #2f7d3b;
    --rk-control: 55px;

    background: #fff;
    color: var(--rk-ink);
    font-family: "Manrope", sans-serif;
}

body.single-product .page_content_wrap,
body.single-product .content_wrap_fullscreen,
body.single-product .content { box-sizing: border-box; min-width: 0; background: #fff; }
body.single-product .content_wrap_fullscreen { width: 100%; max-width: none; }
body.single-product .content { float: none; width: 100%; max-width: none; padding: 0; }

/* Keyboard focus */
body.single-product.woocommerce div.product a:focus-visible,
body.single-product.woocommerce div.product button:focus-visible,
body.single-product.woocommerce div.product input:focus-visible,
body.single-product.woocommerce div.product textarea:focus-visible,
body.single-product.woocommerce div.product .rk-size input:focus-visible + span {
    outline: 3px solid var(--rk-ink);
    outline-offset: 2px;
}

/* ---------- Breadcrumb ---------- */
body.single-product.woocommerce .woocommerce-breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    max-width: 1320px; margin: 0 auto !important; padding: 18px 24px !important;
    font-size: 12px; line-height: 1.6; color: var(--rk-muted);
}
body.single-product.woocommerce .woocommerce-breadcrumb a { color: var(--rk-muted); text-decoration: none; }
body.single-product.woocommerce .woocommerce-breadcrumb a:hover { color: var(--rk-primary); text-decoration: underline; }
body.single-product.woocommerce .woocommerce-breadcrumb .woocommerce-breadcrumb-delimiter { margin: 0; }
body.single-product.woocommerce .woocommerce-breadcrumb .woocommerce-breadcrumb-item:last-child { color: var(--rk-ink); font-weight: 700; }

/* ---------- Layout ---------- */
body.single-product.woocommerce div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: start;
    column-gap: clamp(28px, 5vw, 72px);
    row-gap: 56px;
    width: calc(100% - 48px);
    max-width: 1320px;
    margin: 8px auto 90px !important;
    padding: 0 !important;
    box-sizing: border-box;
}
body.single-product.woocommerce div.product::before,
body.single-product.woocommerce div.product::after { display: none !important; content: none !important; }

body.single-product.woocommerce div.product > .woocommerce-product-gallery,
body.single-product.woocommerce div.product > .summary {
    float: none !important; clear: none !important;
    width: auto !important; max-width: none; min-width: 0;
    margin: 0 !important; box-sizing: border-box;
}

/* ---------- Gallery ---------- */
body.single-product.woocommerce div.product > .woocommerce-product-gallery {
    position: relative; overflow: hidden;
    padding: 0 !important;
    border: 1px solid var(--rk-border); border-radius: 18px; background: var(--rk-cream);
}
body.single-product.woocommerce div.product .woocommerce-product-gallery__wrapper { margin: 0 !important; padding: 0; border-radius: inherit; overflow: hidden; }
body.single-product.woocommerce div.product .woocommerce-product-gallery__image { margin: 0; padding: 0; background: var(--rk-cream); }
body.single-product.woocommerce div.product .woocommerce-product-gallery__image > a { display: block; cursor: zoom-in; }
body.single-product.woocommerce div.product .woocommerce-product-gallery__image > a > img.wp-post-image {
    display: block; width: 100% !important;
    height: clamp(380px, 46vw, 640px) !important;
    margin: 0 !important; padding: 20px; border: 0;
    object-fit: contain; box-sizing: border-box;
}
body.single-product.woocommerce div.product .woocommerce-product-gallery img.zoomImg { padding: 0 !important; border: 0 !important; }

body.single-product.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    top: 14px !important; right: 14px !important; left: auto !important;
    width: 44px !important; height: 44px !important; line-height: 1 !important;
    display: flex !important; align-items: center; justify-content: center;
    border-radius: 50% !important; box-shadow: 0 3px 14px rgba(0,0,0,.1);
}
body.single-product.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger > span { display: none !important; }
body.single-product.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before {
    display: flex; align-items: center; justify-content: center; line-height: 1;
}
body.single-product.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover { color: var(--rk-primary) !important; }

body.single-product.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
    position: static !important; width: auto !important; height: auto !important; overflow: visible !important;
    display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px;
    margin: 0 !important; padding: 12px !important; list-style: none;
}
body.single-product.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li {
    float: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important;
    overflow: hidden; border: 1px solid var(--rk-border); border-radius: 8px; background: #fff;
}
body.single-product.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; opacity: .7; cursor: pointer; }
body.single-product.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
body.single-product.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img:hover { opacity: 1; }

/* ---------- Summary ---------- */
body.single-product.woocommerce div.product > .summary { position: relative; padding: 4px 0 0 !important; }
body.single-product.woocommerce div.product > .summary::after { display: none !important; }

body.single-product.woocommerce div.product .summary span.onsale {
    position: static !important; display: inline-flex !important; align-items: center;
    width: auto; min-width: 0; min-height: 26px; height: auto;
    margin: 0 8px 14px 0 !important; padding: 4px 10px !important;
    border-radius: 4px !important; background: var(--rk-primary) !important; color: var(--rk-ink) !important;
    font-size: 11px !important; font-weight: 900; letter-spacing: .04em; line-height: 1.3; text-transform: uppercase;
}
.rk-badge {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 26px; margin: 0 8px 14px 0; padding: 4px 10px;
    border: 1px solid var(--rk-border); border-radius: 4px;
    font-size: 11px; font-weight: 800; letter-spacing: .04em; line-height: 1.3; text-transform: uppercase;
}
.rk-badge--condition::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rk-ok); }

body.single-product.woocommerce div.product .summary .product_title {
    margin: 0 0 14px !important; color: var(--rk-ink);
    font-family: "Archivo Black", sans-serif; font-size: clamp(26px, 3vw, 38px);
    font-weight: 400; line-height: 1.15; letter-spacing: -.03em; text-transform: uppercase;
}

/* Price */
body.single-product.woocommerce div.product .summary p.price {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
    margin: 0 0 8px !important; font-size: 30px !important; font-weight: 800; line-height: 1.3;
    color: var(--rk-ink) !important;
}
body.single-product.woocommerce div.product .summary p.price span.amount,
body.single-product.woocommerce div.product .summary p.price .woocommerce-Price-currencySymbol { color: var(--rk-ink) !important; font-weight: inherit; letter-spacing: 0; }
body.single-product.woocommerce div.product .summary p.price ins { order: 1; text-decoration: none; font-weight: 800; background: none; }
body.single-product.woocommerce div.product .summary p.price del { order: 2; font-size: 16px; font-weight: 500; opacity: 1; }
body.single-product.woocommerce div.product .summary p.price del,
body.single-product.woocommerce div.product .summary p.price del span.amount,
body.single-product.woocommerce div.product .summary p.price del .woocommerce-Price-currencySymbol { color: #8a8a8a !important; }

.rk-save { display: inline-block; margin: 0 0 18px; padding: 3px 9px; border-radius: 4px; background: #f0f8eb; color: var(--rk-ok); font-size: 12px; font-weight: 800; }

body.single-product.woocommerce div.product .summary .woocommerce-product-details__short-description { margin: 0 0 16px !important; color: #4f4f4f; font-size: 14px; line-height: 1.75; }
body.single-product.woocommerce div.product .summary .woocommerce-product-details__short-description p { margin: 0; }

/* Stock */
body.single-product.woocommerce div.product .summary p.stock {
    display: inline-flex !important; align-items: center; gap: 8px;
    margin: 0 0 20px !important; padding: 6px 11px; border-radius: 5px;
    background: #f0f8eb; color: var(--rk-ok) !important;
    font-size: 12px !important; font-weight: 800; line-height: 1.3 !important;
    letter-spacing: 0 !important; text-transform: none !important;
}
body.single-product.woocommerce div.product .summary p.stock::after { display: none !important; content: none !important; }
body.single-product.woocommerce div.product .summary p.stock::before { content: ""; display: block; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
body.single-product.woocommerce div.product .summary p.stock.rk-low { background: #fff1e8; color: var(--rk-primary-dark) !important; }
body.single-product.woocommerce div.product .summary p.stock.out-of-stock { background: #fdecea; color: var(--rk-danger) !important; }

/* ==========================================================
   CART FORM  (CSS grid: row 1 = sizes, row 2 = qty | button | heart)
   Grid items can't be squashed or overlapped the way flex
   items / fieldsets can, so the size picker always owns row 1.
========================================================== */
body.single-product.woocommerce div.product .summary form.cart {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) var(--rk-control);
    align-items: stretch;
    gap: 10px;
    position: static !important;
    width: 100%; height: auto !important; min-height: 0 !important;
    margin: 0 0 20px !important; padding: 0 !important;
}
body.single-product.woocommerce div.product .summary form.cart::before,
body.single-product.woocommerce div.product .summary form.cart::after { display: none !important; content: none !important; }

/* ---------- Size picker ---------- */
body.single-product.woocommerce div.product .summary form.cart .rk-sizes {
    grid-column: 1 / -1;
    grid-row: 1;
    display: block !important;
    position: static !important;
    float: none !important;
    width: 100% !important; min-width: 0 !important;      /* fieldset min-content fix */
    height: auto !important; min-height: 0 !important;
    margin: 0 0 8px !important; padding: 0 !important;
    border: 0 !important; overflow: visible !important;
}
body.single-product.woocommerce div.product .rk-sizes legend {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
    float: none; width: 100%; margin: 0 0 12px !important; padding: 0 !important; border: 0;
    font-size: 12px; font-weight: 800; letter-spacing: .05em; line-height: 1.3; text-transform: uppercase; color: var(--rk-ink);
}
body.single-product.woocommerce div.product .rk-sizes legend em { font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--rk-muted); }

body.single-product.woocommerce div.product .rk-sizes .rk-sizes__grid {
    display: grid !important;
    position: static !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%; height: auto !important; margin: 0 !important; padding: 0 !important;
}
body.single-product.woocommerce div.product .rk-sizes .rk-size {
    position: relative !important;
    display: block !important;
    width: auto !important; height: auto !important;
    margin: 0 !important; padding: 0 !important;
}
body.single-product.woocommerce div.product .rk-sizes .rk-size input {
    position: absolute !important; inset: 0; z-index: 1;
    width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important;
    opacity: 0; cursor: pointer; -webkit-appearance: none; appearance: none;
}
body.single-product.woocommerce div.product .rk-sizes .rk-size input::before,
body.single-product.woocommerce div.product .rk-sizes .rk-size input::after { display: none !important; content: none !important; }
body.single-product.woocommerce div.product .rk-sizes .rk-size span {
    position: static !important;
    display: flex; align-items: center; justify-content: center;
    width: 100%; min-height: 48px; padding: 8px; box-sizing: border-box;
    border: 1px solid var(--rk-field); border-radius: 8px; background: #fff;
    color: var(--rk-ink); font-size: 13px; font-weight: 800; letter-spacing: 0; line-height: 1.2; white-space: nowrap;
    transition: border-color .15s, background .15s, color .15s;
}
body.single-product.woocommerce div.product .rk-sizes .rk-size:hover span { border-color: var(--rk-primary); }
body.single-product.woocommerce div.product .rk-sizes .rk-size input:checked + span { border-color: var(--rk-ink); background: var(--rk-ink); color: #fff; }

body.single-product.woocommerce div.product .rk-sizes__error { display: none; margin: 10px 0 0; color: var(--rk-danger); font-size: 12px; font-weight: 700; }
body.single-product.woocommerce div.product .rk-sizes.has-error .rk-sizes__error { display: block; }
body.single-product.woocommerce div.product .rk-sizes.has-error .rk-size span { border-color: var(--rk-danger); }
body.single-product.woocommerce div.product .rk-sizes.shake { animation: rk-shake .35s; }
@keyframes rk-shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* ---------- Quantity ---------- */
body.single-product.woocommerce div.product .summary form.cart div.quantity {
    grid-row: 2; grid-column: 1;
    position: relative; display: flex; align-items: stretch;
    float: none !important; width: auto !important; height: var(--rk-control) !important;
    margin: 0 !important; overflow: hidden;
    border: 1px solid var(--rk-field); border-radius: 8px; background: #fff;
}
body.single-product.woocommerce div.product .summary form.cart div.quantity input.qty {
    width: 46px !important; height: 100% !important; margin: 0 !important; padding: 0 !important;
    border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
    color: var(--rk-ink); font-size: 15px; font-weight: 700; text-align: center !important;
    -moz-appearance: textfield; appearance: textfield;
}
body.single-product.woocommerce div.product .summary form.cart div.quantity input.qty::-webkit-inner-spin-button,
body.single-product.woocommerce div.product .summary form.cart div.quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
body.single-product.woocommerce div.product .summary form.cart div.quantity span.q_inc,
body.single-product.woocommerce div.product .summary form.cart div.quantity span.q_dec { display: none !important; }

body.single-product.woocommerce div.product .summary form.cart .rk-qty-btn {
    display: flex; align-items: center; justify-content: center;
    width: 44px !important; min-width: 0 !important; height: auto !important; margin: 0 !important; padding: 0 !important;
    border: 0 !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important;
    color: var(--rk-ink) !important; font-size: 20px !important; line-height: 1 !important; letter-spacing: 0 !important; cursor: pointer;
}
body.single-product.woocommerce div.product .summary form.cart .rk-qty-btn:hover { background: var(--rk-cream) !important; }
body.single-product.woocommerce div.product .summary form.cart .rk-qty-btn:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- Buy now ---------- */
body.single-product.woocommerce div.product .summary form.cart button.single_add_to_cart_button {
    grid-row: 2; grid-column: 2;
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; min-width: 0; height: var(--rk-control) !important; margin: 0 !important; padding: 0 20px !important;
    border: 1px solid var(--rk-primary) !important; border-radius: 8px !important;
    background: var(--rk-primary) !important; color: var(--rk-ink) !important; box-shadow: none !important;
    font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 900;
    letter-spacing: .06em; line-height: 1.2 !important; text-align: center; text-transform: uppercase;
    white-space: normal !important; cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .1s;
}
body.single-product.woocommerce div.product .summary form.cart button.single_add_to_cart_button::before { display: none !important; content: none !important; }
body.single-product.woocommerce div.product .summary form.cart button.single_add_to_cart_button:hover {
    border-color: var(--rk-ink) !important; background: var(--rk-ink) !important; color: #fff !important;
}
body.single-product.woocommerce div.product .summary form.cart button.single_add_to_cart_button:active { transform: scale(.98); }
body.single-product.woocommerce div.product .summary form.cart button.single_add_to_cart_button.loading { opacity: .7; pointer-events: none; }

/* ---------- Wishlist ---------- */
body.single-product.woocommerce div.product .summary form.cart .tinv-wraper {
    grid-row: 2; grid-column: 3;
    display: block !important; float: none !important;
    width: var(--rk-control); height: var(--rk-control); margin: 0 !important; font-size: 16px !important;
}
body.single-product.woocommerce div.product .summary form.cart .tinv-wraper > .tinvwl_add_to_wishlist_button {
    display: flex !important; align-items: center; justify-content: center;
    width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important;
    border: 1px solid var(--rk-field) !important; border-radius: 8px !important;
    background: #fff !important; color: var(--rk-ink) !important; box-shadow: none !important; line-height: 1 !important;
}
body.single-product.woocommerce div.product .summary form.cart .tinv-wraper > .tinvwl_add_to_wishlist_button::before {
    width: auto !important; height: auto !important; margin: 0 !important; font-size: 20px !important; line-height: 1 !important;
}
body.single-product.woocommerce div.product .summary form.cart .tinv-wraper > .tinvwl_add_to_wishlist_button:hover,
body.single-product.woocommerce div.product .summary form.cart .tinv-wraper > .tinvwl_add_to_wishlist_button.tinvwl-product-in-list {
    border-color: var(--rk-primary) !important; color: var(--rk-primary) !important;
}

/* ---------- Trust list ---------- */
.rk-trust { display: grid; margin: 0 0 22px; padding: 0; list-style: none; border: 1px solid var(--rk-border); border-radius: 10px; overflow: hidden; }
.rk-trust li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 13px 15px; font-size: 13px; line-height: 1.5; }
.rk-trust li::before,
.rk-trust li::after,
.rk-trust li > div::before,
.rk-trust li > div::after,
.rk-trust span::before,
.rk-trust span::after,
.rk-trust strong::before,
.rk-trust strong::after { display: none !important; content: none !important; }   /* removes stray dot */
.rk-trust li + li { border-top: 1px solid var(--rk-border); }
.rk-trust strong { display: block; font-size: 13px; font-weight: 800; color: var(--rk-ink); }
.rk-trust span { display: block; color: var(--rk-muted); font-size: 12px; }
.rk-trust svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; color: var(--rk-primary); }

/* ==========================================================
   PRODUCT META: SKU / Categories / Tags
   Each row = small label + value. Categories = white pills,
   Tags = cream pills. Labels come from ::before so the
   template stays untouched.
========================================================== */
body.single-product.woocommerce div.product .summary .product_meta {
    display: flex !important; flex-direction: column; gap: 14px !important;
    margin: 0 !important; padding-top: 22px !important;
    border-top: 1px solid var(--rk-border);
}
body.single-product.woocommerce div.product .summary .product_meta > span {
    display: flex !important; flex-wrap: wrap; align-items: center;
    margin: 0 !important;
    font-size: 0 !important;                 /* hides raw "Categories:" text and ", " separators */
    line-height: 1;
}
body.single-product.woocommerce div.product .summary .product_meta > span::before {
    flex: 0 0 96px;
    font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1; text-transform: uppercase;
    color: var(--rk-muted);
}
body.single-product.woocommerce div.product .summary .product_meta .sku_wrapper::before { content: "SKU"; }
body.single-product.woocommerce div.product .summary .product_meta .posted_in::before   { content: "Categories"; }
body.single-product.woocommerce div.product .summary .product_meta .tagged_as::before   { content: "Tags"; }
body.single-product.woocommerce div.product .summary .product_meta .product_id { display: none !important; }

body.single-product.woocommerce div.product .summary .product_meta .sku {
    font-size: 12px !important; font-weight: 700; letter-spacing: .04em; text-transform: none; color: var(--rk-ink) !important;
}

body.single-product.woocommerce div.product .summary .product_meta .posted_in a,
body.single-product.woocommerce div.product .summary .product_meta .tagged_as a {
    display: inline-flex; align-items: center;
    margin: 0 6px 6px 0;                      /* spacing via margin, not gap (commas would add extra gap) */
    padding: 7px 13px;
    border: 1px solid var(--rk-border); border-radius: 999px; background: #fff;
    color: var(--rk-ink) !important;
    font-size: 12px !important; font-weight: 700 !important; line-height: 1; letter-spacing: 0;
    text-transform: none; text-decoration: none !important;
    transition: background .15s, border-color .15s, color .15s;
}
body.single-product.woocommerce div.product .summary .product_meta .posted_in,
body.single-product.woocommerce div.product .summary .product_meta .tagged_as { align-items: flex-start; }
body.single-product.woocommerce div.product .summary .product_meta .posted_in::before,
body.single-product.woocommerce div.product .summary .product_meta .tagged_as::before { padding-top: 8px; }

body.single-product.woocommerce div.product .summary .product_meta .tagged_as a {
    background: var(--rk-cream); border-color: transparent; font-weight: 600 !important;
}
body.single-product.woocommerce div.product .summary .product_meta .posted_in a:hover,
body.single-product.woocommerce div.product .summary .product_meta .tagged_as a:hover {
    border-color: var(--rk-primary); background: var(--rk-primary); color: var(--rk-ink) !important;
}

/* ---------- Tabs ---------- */
body.single-product.woocommerce div.product > .woocommerce-tabs {
    grid-column: 1 / -1; float: none !important; clear: both; width: 100%;
    margin: 0 !important; padding: 32px 0 0; border-top: 1px solid var(--rk-border); box-sizing: border-box;
}
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex; flex-wrap: nowrap; gap: 8px; margin: 0 0 24px !important; padding: 0 0 4px !important;
    border: 0 !important; background: transparent !important; list-style: none;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; content: none !important; }
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li {
    flex: 0 0 auto; float: none !important; margin: 0 !important; padding: 0 !important; overflow: hidden;
    border: 1px solid var(--rk-border) !important; border-radius: 8px !important; background: #fff !important; box-shadow: none !important;
}
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-color: var(--rk-primary) !important; background: var(--rk-primary) !important; }
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block; min-width: 0 !important; padding: 13px 18px !important;
    border: 0 !important; border-radius: 0 !important; background: transparent !important; color: var(--rk-ink) !important;
    font-size: 13px; font-weight: 800 !important; letter-spacing: .04em; line-height: 1.2;
    text-align: center; text-transform: uppercase; white-space: nowrap;
}
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li:not(.active):hover { border-color: var(--rk-primary) !important; }

body.single-product.woocommerce div.product .woocommerce-tabs .panel {
    max-width: 860px; margin: 0 !important; padding: 0 !important; border: 0;
    color: #4a4a4a; font-size: 14px; line-height: 1.85;
}
body.single-product.woocommerce div.product .woocommerce-tabs .panel > h2 { margin: 0 0 14px; color: var(--rk-ink); font-size: 20px; font-weight: 800; letter-spacing: 0; line-height: 1.2; }

body.single-product.woocommerce div.product .woocommerce-tabs table.shop_attributes { width: 100%; border: 1px solid var(--rk-border); border-collapse: collapse; }
body.single-product.woocommerce div.product .woocommerce-tabs table.shop_attributes th,
body.single-product.woocommerce div.product .woocommerce-tabs table.shop_attributes td {
    padding: 12px 16px; border: 0; border-bottom: 1px solid var(--rk-border);
    font-size: 13px; text-align: left; letter-spacing: 0;
}
body.single-product.woocommerce div.product .woocommerce-tabs table.shop_attributes th { width: 34%; color: var(--rk-muted); font-weight: 700; text-transform: none; }
body.single-product.woocommerce div.product .woocommerce-tabs table.shop_attributes td { font-weight: 600; color: var(--rk-ink); }
body.single-product.woocommerce div.product .woocommerce-tabs table.shop_attributes td p { margin: 0; padding: 0; }

/* Reviews form */
body.single-product.woocommerce div.product #review_form #respond textarea,
body.single-product.woocommerce div.product #review_form #respond input[type=text],
body.single-product.woocommerce div.product #review_form #respond input[type=email] {
    width: 100%; padding: 12px 14px; border: 1px solid var(--rk-field); border-radius: 8px; box-sizing: border-box;
    font-family: inherit; font-size: 14px;
}
body.single-product.woocommerce div.product #review_form #respond p.form-submit input[type=submit] {
    height: auto; min-height: 48px; padding: 12px 28px; border: 0 !important; border-radius: 8px;
    background: var(--rk-ink); color: #fff; font-weight: 800; box-shadow: none; cursor: pointer;
}
body.single-product.woocommerce div.product #review_form #respond p.form-submit input[type=submit]:hover { background: var(--rk-primary); color: var(--rk-ink); }

/* ---------- Related products ---------- */
body.single-product.woocommerce div.product > section.related,
body.single-product.woocommerce div.product > section.upsells { grid-column: 1 / -1; float: none !important; clear: both; width: 100%; margin: 0 !important; padding: 0; }
body.single-product.woocommerce div.product > section.related > h2,
body.single-product.woocommerce div.product > section.upsells > h2 {
    margin: 0 0 22px !important; color: var(--rk-ink);
    font-family: "Archivo Black", sans-serif; font-size: clamp(22px, 3vw, 32px); font-weight: 400; text-transform: uppercase; text-align: left;
}
body.single-product.woocommerce div.product section.related ul.products,
body.single-product.woocommerce div.product section.upsells ul.products {
    display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0 !important; padding: 0 !important;
}
body.single-product.woocommerce div.product section.related ul.products::before, body.single-product.woocommerce div.product section.related ul.products::after,
body.single-product.woocommerce div.product section.upsells ul.products::before, body.single-product.woocommerce div.product section.upsells ul.products::after { display: none !important; content: none !important; }
body.single-product.woocommerce div.product section.related ul.products li.product,
body.single-product.woocommerce div.product section.upsells ul.products li.product { float: none !important; width: auto !important; min-width: 0; margin: 0 !important; padding: 0 !important; }

body.single-product.woocommerce div.product section.related ul.products li.product .post_item {
    height: auto; overflow: hidden; border: 1px solid var(--rk-border); border-radius: 14px; background: #fff;
    transition: box-shadow .2s, transform .2s;
}
body.single-product.woocommerce div.product section.related ul.products li.product .post_item:hover { box-shadow: 0 10px 28px rgba(0,0,0,.08); transform: translateY(-2px); }
body.single-product.woocommerce div.product section.related ul.products li.product .post_featured { margin-bottom: 0; }
body.single-product.woocommerce div.product section.related ul.products li.product .post_featured img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
body.single-product.woocommerce div.product section.related ul.products li.product .post_data { padding: 14px 16px 16px; }
body.single-product.woocommerce div.product section.related ul.products li.product .woocommerce-loop-product__title { margin: 0 0 6px; font-size: 14px; font-weight: 800; line-height: 1.35; }
body.single-product.woocommerce div.product section.related ul.products li.product .price { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 800; line-height: 1.3; color: var(--rk-ink); }
body.single-product.woocommerce div.product section.related ul.products li.product .price span.amount,
body.single-product.woocommerce div.product section.related ul.products li.product .price ins { color: var(--rk-ink); text-decoration: none; }
body.single-product.woocommerce div.product section.related ul.products li.product .price del { margin-right: 6px; font-weight: 500; }
body.single-product.woocommerce div.product section.related ul.products li.product .post_data .button:not(.add_to_cart_button) {
    display: flex !important; align-items: center; justify-content: center;
    width: 100%; margin: 10px 0 0 !important; padding: 11px 12px !important;
    border: 0 !important; border-radius: 8px !important; background: var(--rk-ink) !important; color: #fff !important; box-shadow: none !important;
    font-size: 12px; font-weight: 900; letter-spacing: .05em; line-height: 1.2; text-transform: uppercase; white-space: normal;
}
body.single-product.woocommerce div.product section.related ul.products li.product .post_data .button:not(.add_to_cart_button):hover { background: var(--rk-primary) !important; color: var(--rk-ink) !important; }

/* ---------- Sticky mobile add-to-cart bar ---------- */
.rk-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    display: none; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--rk-border); background: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.08);
    transform: translateY(110%); transition: transform .25s ease;
}
.rk-sticky.is-visible { transform: translateY(0); }
.rk-sticky__info { flex: 1; min-width: 0; line-height: 1.3; }
.rk-sticky__title { overflow: hidden; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.rk-sticky__price { font-size: 15px; font-weight: 800; }
.rk-sticky__price del { margin-right: 6px; font-size: 12px; font-weight: 500; }
.rk-sticky__price del, .rk-sticky__price del * { color: #8a8a8a !important; }
.rk-sticky__price ins { text-decoration: none; }
.rk-sticky__price .amount, .rk-sticky__price ins * { color: var(--rk-ink); }
body .rk-sticky .rk-sticky__btn {
    flex: 0 0 auto; height: 48px !important; min-height: 48px; margin: 0 !important; padding: 0 22px !important;
    border: 0 !important; border-radius: 8px !important; box-shadow: none !important;
    background: var(--rk-primary) !important; color: var(--rk-ink) !important;
    font-family: inherit; font-size: 12px; font-weight: 900; letter-spacing: .06em; line-height: 1; text-transform: uppercase; white-space: nowrap; cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    body.single-product { padding-bottom: 76px; }
    .rk-sticky { display: flex; }

    body.single-product.woocommerce .woocommerce-breadcrumb { padding: 14px 16px !important; font-size: 11px; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; }

    body.single-product.woocommerce div.product { grid-template-columns: minmax(0, 1fr); row-gap: 26px; width: calc(100% - 32px); margin: 4px auto 56px !important; }
    body.single-product.woocommerce div.product > .woocommerce-product-gallery { border-radius: 13px; }
    body.single-product.woocommerce div.product .woocommerce-product-gallery__image > a > img.wp-post-image { height: min(100vw, 460px) !important; min-height: 280px; padding: 12px; }
    body.single-product.woocommerce div.product > .summary { padding-top: 0 !important; }
    body.single-product.woocommerce div.product .summary .product_title { font-size: 26px; }
    body.single-product.woocommerce div.product .summary p.price { font-size: 26px !important; }

    body.single-product.woocommerce div.product #reviews #comments,
    body.single-product.woocommerce div.product #comments + #review_form_wrapper { float: none; width: 100%; }

    body.single-product.woocommerce div.product section.related ul.products,
    body.single-product.woocommerce div.product section.upsells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
    body.single-product.woocommerce div.product section.related ul.products li.product .post_data { padding: 10px 10px 12px; }
}

@media (max-width: 480px) {
    body.single-product.woocommerce div.product .summary .product_meta > span::before { flex-basis: 100%; padding-top: 0; margin-bottom: 8px; }
}

@media (max-width: 380px) {
    body.single-product.woocommerce div.product .rk-sizes .rk-sizes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.single-product.woocommerce div.product .summary form.cart button.single_add_to_cart_button { padding-inline: 10px !important; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-sticky, body.single-product.woocommerce div.product .rk-sizes.shake,
    body.single-product.woocommerce div.product section.related ul.products li.product .post_item,
    body.single-product.woocommerce div.product .summary form.cart button.single_add_to_cart_button { animation: none; transition: none; }
}