/*
 * Ganjeh Kala native single-product layout
 * Scoped to .gk-native-product so Elementor templates remain untouched.
 */
.gk-native-product {
    --gk-np-text: var(--gk-text, #111827);
    --gk-np-muted: var(--gk-neutral-600, #64748b);
    --gk-np-border: var(--gk-neutral-200, #e5e7eb);
    --gk-np-soft: var(--gk-neutral-50, #f8fafc);
    --gk-np-surface: var(--gk-surface, #fff);
    --gk-np-primary: var(--gk-primary, #e11d48);
    --gk-np-success: var(--gk-success, #16a34a);
    --gk-np-warning: var(--gk-warning, #f59e0b);
    color: var(--gk-np-text);
    direction: rtl;
    padding: 18px 0 90px;
}

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

.gk-native-product button,
.gk-native-product input,
.gk-native-product select,
.gk-native-product textarea {
    font: inherit;
}

.gk-native-product a {
    color: inherit;
    text-decoration: none;
}

.gk-native-product svg {
    display: block;
    width: 1em;
    height: 1em;
}

.gk-native-product__container {
    width: var(--gk-container-width, min(1200px, calc(100% - 48px)));
    max-width: var(--gk-site-width, 1200px);
    margin-inline: auto;
}

.gk-native-breadcrumb {
    margin-bottom: 16px;
    color: var(--gk-np-muted);
    font-size: 13px;
    overflow: hidden;
}

.gk-native-breadcrumb .woocommerce-breadcrumb {
    margin: 0;
    padding: 0;
    color: inherit;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.gk-native-breadcrumb .woocommerce-breadcrumb::-webkit-scrollbar { display: none; }
.gk-native-breadcrumb__inner { display: flex; align-items: center; gap: 7px; }
.gk-native-breadcrumb__inner > span { flex: 0 0 auto; }
.gk-native-breadcrumb__inner a:hover { color: var(--gk-np-primary); }
.gk-native-breadcrumb__sep { color: var(--gk-neutral-400, #94a3b8); }

.gk-native-hero {
    display: grid;
    grid-template-columns: minmax(300px, 1.04fr) minmax(330px, 1.3fr) minmax(300px, .88fr);
    gap: clamp(18px, 2vw, 30px);
    align-items: start;
    padding: clamp(18px, 2.2vw, 30px);
    background: var(--gk-np-surface);
    border: 1px solid var(--gk-np-border);
    border-radius: max(var(--gk-radius-xl, 18px), 16px);
    box-shadow: 0 8px 30px rgba(15, 23, 42, .045);
}

/* Gallery */
.gk-native-gallery {
    position: relative;
    min-width: 0;
}

.gk-native-gallery__tools {
    position: absolute;
    z-index: 4;
    inset-inline-start: 0;
    top: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gk-native-icon-button {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--gk-np-border);
    border-radius: 50%;
    color: var(--gk-neutral-700, #334155);
    background: rgba(255,255,255,.96);
    cursor: pointer;
    transition: .18s ease;
}

.gk-native-icon-button svg { font-size: 21px; }
.gk-native-icon-button:hover,
.gk-native-icon-button:focus-visible {
    color: var(--gk-np-primary);
    border-color: color-mix(in srgb, var(--gk-np-primary) 35%, transparent);
    background: color-mix(in srgb, var(--gk-np-primary) 7%, white);
    transform: translateY(-1px);
}

.gk-native-icon-button.is-active {
    color: #fff;
    border-color: var(--gk-np-primary);
    background: var(--gk-np-primary);
}
.gk-native-wishlist.is-active svg { fill: currentColor; }
.gk-native-compare.is-active { color: #fff; background: var(--gk-np-primary); border-color: var(--gk-np-primary); }

.gk-native-gallery__stage {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 340px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
    border-radius: var(--gk-radius-lg, 14px);
}

.gk-native-gallery__main-link {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 16px;
}

.gk-native-gallery__main-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity .2s ease, transform .28s ease;
}
.gk-native-gallery__main-link:hover .gk-native-gallery__main-image { transform: scale(1.025); }
.gk-native-gallery__main-image.is-changing { opacity: .35; }

.gk-native-gallery__zoom {
    position: absolute;
    inset-inline-end: 10px;
    bottom: 10px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gk-neutral-700, #334155);
    background: rgba(255,255,255,.9);
    box-shadow: var(--gk-shadow-sm, 0 2px 8px rgba(0,0,0,.08));
}
.gk-native-gallery__zoom svg { font-size: 18px; }

.gk-native-gallery__sale {
    position: absolute;
    z-index: 2;
    top: 8px;
    inset-inline-end: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #fff;
    background: var(--gk-np-primary);
    font-size: 12px;
    font-weight: 700;
}

.gk-native-gallery__hidden-link { display: none; }

.gk-native-gallery__thumbs {
    display: flex;
    gap: 9px;
    padding-top: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

.gk-native-gallery__thumb {
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    padding: 5px;
    border: 1px solid var(--gk-np-border);
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
    transition: .18s ease;
}
.gk-native-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gk-native-gallery__thumb:hover { border-color: var(--gk-neutral-400, #94a3b8); }
.gk-native-gallery__thumb.is-active { border-color: var(--gk-np-primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gk-np-primary) 12%, transparent); }


/* Native gallery now uses the exact Elementor gallery widget DOM/assets. */
.gk-native-product .gk-native-gallery--widget {
    min-width: 0;
    --gk-thumb-size: 64px;
    --gk-thumb-gap: 9px;
}
.gk-native-product .gk-native-gallery--widget .gk-gallery-shell {
    width: 100%;
}
.gk-native-product .gk-native-gallery--widget .gk-gallery-root {
    gap: 14px;
}
.gk-native-product .gk-native-gallery--widget .gk-featured-image {
    position: relative;
    min-height: 340px;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: var(--gk-radius-lg, 14px);
    background: #fff;
}
.gk-native-product .gk-native-gallery--widget .img-wrapper {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 16px;
    cursor: zoom-in;
}
.gk-native-product .gk-native-gallery--widget .img-wrapper picture {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}
.gk-native-product .gk-native-gallery--widget .featured-image {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: contain;
    transition: transform .28s ease;
}
.gk-native-product .gk-native-gallery--widget .img-wrapper:hover .featured-image {
    transform: scale(1.025);
}
.gk-native-product .gk-native-gallery--widget .gk-gallery-thumbnail {
    object-fit: contain;
    padding: 5px;
    border: 1px solid var(--gk-np-border);
    border-radius: 11px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.gk-native-product .gk-native-gallery--widget .gk-thumb a:hover .gk-gallery-thumbnail,
.gk-native-product .gk-native-gallery--widget .gk-thumb.is-active .gk-gallery-thumbnail {
    border-color: var(--gk-np-primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--gk-np-primary) 12%, transparent);
}
.gk-native-product .gk-native-gallery--widget .gk-gallery-action-rail {
    top: 8px;
    right: 8px;
}
.gk-native-product .gk-native-gallery--widget .gk-native-icon-button {
    border: 0;
}
.gk-native-product .gk-native-gallery--widget .gk-native-wishlist.is-active svg {
    fill: currentColor;
}
@media (max-width: 767px) {
    .gk-native-product .gk-native-gallery--widget {
        --gk-thumb-size: 58px;
        --gk-thumb-gap: 7px;
    }
    .gk-native-product .gk-native-gallery--widget .gk-featured-image {
        min-height: 285px;
    }
    .gk-native-product .gk-native-gallery--widget .img-wrapper {
        padding: 12px;
    }
}

/* Main information */
.gk-native-info { min-width: 0; padding-top: 3px; }
.gk-native-info__header { padding-bottom: 18px; border-bottom: 1px solid var(--gk-np-border); }
.gk-native-brand {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 4px 10px;
    margin-bottom: 10px;
    border-radius: 999px;
    color: var(--gk-np-primary);
    background: color-mix(in srgb, var(--gk-np-primary) 8%, white);
    font-size: 12px;
    font-weight: 700;
}
.gk-native-title {
    margin: 0;
    color: var(--gk-np-text);
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1.65;
    font-weight: 800;
    letter-spacing: -.025em;
}
.gk-native-english-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 7px;
    color: var(--gk-neutral-500, #64748b);
    font-size: 12px;
    direction: ltr;
    text-align: left;
}
.gk-native-english-title::after { content: ""; height: 1px; flex: 1; background: var(--gk-np-border); }
.gk-native-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 14px;
    color: var(--gk-np-muted);
    font-size: 12px;
}
.gk-native-rating { display: inline-flex; align-items: center; gap: 5px; }
.gk-native-rating svg { width: 18px; height: 18px; color: #f5a623; }
.gk-native-rating strong { color: var(--gk-np-text); }
.gk-native-rating span { color: var(--gk-np-primary); }
.gk-native-sku b { color: var(--gk-neutral-700, #334155); font-weight: 600; }

.gk-native-short-description {
    margin-top: 18px;
    color: var(--gk-neutral-700, #334155);
    font-size: 14px;
    line-height: 2;
}
.gk-native-short-description p:last-child { margin-bottom: 0; }

.gk-native-highlights { margin-top: 22px; }
.gk-native-section-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.gk-native-section-label strong { font-size: 15px; }
.gk-native-section-label a { color: var(--gk-np-primary); font-size: 12px; font-weight: 600; }
.gk-native-highlights__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gk-native-highlight {
    min-width: 0;
    padding: 11px;
    border-radius: 10px;
    background: var(--gk-np-soft);
}
.gk-native-highlight span,
.gk-native-highlight strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gk-native-highlight span { margin-bottom: 5px; color: var(--gk-np-muted); font-size: 11px; }
.gk-native-highlight strong { color: var(--gk-neutral-800, #1e293b); font-size: 12px; font-weight: 700; }

.gk-native-tiered { margin-top: 18px; }
.gk-native-tiered .gk-tiered-pricing-box { margin: 0; box-shadow: none; border: 1px solid var(--gk-np-border); border-radius: 12px; }
.gk-native-tiered .gk-tiered-title { margin: 0 0 10px; font-size: 14px; }

.gk-native-alert {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 18px;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.8;
}
.gk-native-alert > svg { flex: 0 0 23px; width: 23px; height: 23px; margin-top: 1px; }
.gk-native-alert strong,
.gk-native-alert span { display: block; }
.gk-native-alert strong { margin-bottom: 2px; font-size: 13px; }
.gk-native-alert--warning { color: #854d0e; border: 1px solid #fde68a; background: #fffbeb; }

/* Purchase panel */
.gk-native-purchase {
    position: sticky;
    top: calc(var(--gk-admin-offset, 0px) + var(--gk-header-visible-height, 76px) + 16px);
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--gk-np-border);
    border-radius: 15px;
    background: var(--gk-neutral-50, #f8fafc);
}
.gk-native-purchase__seller { display: flex; align-items: center; gap: 11px; padding-bottom: 15px; border-bottom: 1px solid var(--gk-np-border); }
.gk-native-purchase__seller-icon { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; color: var(--gk-np-primary); border-radius: 12px; background: #fff; border: 1px solid var(--gk-np-border); }
.gk-native-purchase__seller-icon svg { font-size: 22px; }
.gk-native-purchase__seller div span,
.gk-native-purchase__seller div strong { display: block; }
.gk-native-purchase__seller div span { color: var(--gk-np-muted); font-size: 11px; margin-bottom: 3px; }
.gk-native-purchase__seller div strong { font-size: 14px; }
.gk-native-purchase__status { padding: 13px 0 3px; }
.gk-native-purchase__status .stock { margin: 0; color: var(--gk-np-success); font-size: 13px; font-weight: 700; }
.gk-native-purchase__status .stock.out-of-stock { color: var(--gk-np-primary); }
.gk-native-price-box {
    margin: 10px 0 12px;
    padding: 14px;
    border: 1px solid var(--gk-np-border);
    border-radius: 14px;
    background: #fff;
}
.gk-native-price-box__head,
.gk-native-price-box__regular,
.gk-native-price-box__current,
.gk-native-price-box__saving {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.gk-native-price-box__head { min-height: 28px; margin-bottom: 8px; }
.gk-native-price-box__eyebrow { color: var(--gk-np-muted); font-size: 11px; font-weight: 700; }
.gk-native-price-box__discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fff;
    background: var(--gk-np-primary);
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}
.gk-native-price-box__regular {
    min-height: 27px;
    color: var(--gk-np-muted);
    font-size: 11px;
}
.gk-native-price-box__regular del {
    color: var(--gk-neutral-500, #64748b);
    font-size: 13px;
    font-weight: 600;
    text-decoration-thickness: 1.5px;
    text-decoration-color: var(--gk-np-primary);
    opacity: .82;
}
.gk-native-price-box__regular del .amount { color: inherit; font-size: inherit; font-weight: inherit; }
.gk-native-price-box__current {
    align-items: flex-end;
    padding-top: 4px;
}
.gk-native-price-box__current > span {
    padding-bottom: 5px;
    color: var(--gk-np-muted);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.gk-native-purchase__price {
    min-width: 0;
    display: block;
    margin: 0;
    color: var(--gk-np-text);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 950;
    line-height: 1.45;
    text-align: left;
    direction: rtl;
}
.gk-native-purchase__price .amount { color: inherit; font-size: inherit; font-weight: inherit; }
.gk-native-purchase__price ins { text-decoration: none; }
.gk-native-price-box.is-on-sale .gk-native-purchase__price { color: var(--gk-np-primary); }
.gk-native-price-box__saving {
    justify-content: flex-start;
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    color: #166534;
    background: #f0fdf4;
    font-size: 10px;
}
.gk-native-price-box__saving svg { flex: 0 0 15px; width: 15px; height: 15px; }
.gk-native-price-box__saving strong { margin-inline-start: auto; font-size: 11px; }
.gk-native-sale-countdown {
    margin-top: 12px;
    padding: 11px;
    border: 1px solid rgba(225, 29, 72, .14);
    border-radius: 11px;
    background: rgba(225, 29, 72, .045);
}
.gk-native-sale-countdown__title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 9px;
    color: var(--gk-np-primary);
    font-size: 10px;
    font-weight: 800;
}
.gk-native-sale-countdown__title svg { flex: 0 0 15px; width: 15px; height: 15px; }
.gk-native-sale-countdown__units {
    display: grid;
    grid-template-columns: minmax(38px, 1fr) auto minmax(38px, 1fr) auto minmax(38px, 1fr) auto minmax(38px, 1fr);
    align-items: start;
    gap: 4px;
    direction: rtl;
}
.gk-native-sale-countdown__units > span {
    display: grid;
    justify-items: center;
    gap: 2px;
    min-width: 0;
}
.gk-native-sale-countdown__units b {
    min-width: 34px;
    padding: 6px 5px;
    border-radius: 8px;
    color: var(--gk-np-text);
    background: #fff;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
}
.gk-native-sale-countdown__units small { color: var(--gk-np-muted); font-size: 8px; }
.gk-native-sale-countdown__units > i { padding-top: 5px; color: var(--gk-np-primary); font-size: 15px; font-style: normal; font-weight: 800; }
.gk-native-price-updated {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 13px;
    color: var(--gk-np-muted);
    font-size: 10px;
    line-height: 1.7;
}
.gk-native-price-updated svg { flex: 0 0 15px; width: 15px; height: 15px; }
.gk-native-price-updated time { color: var(--gk-neutral-700, #334155); font-weight: 700; }

.gk-native-cart-form .cart,
.gk-native-cart-form form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.gk-native-cart-form .quantity { flex: 0 0 82px; margin: 0 !important; }
.gk-native-cart-form .quantity .qty {
    width: 100%;
    height: 48px;
    padding: 0 8px;
    border: 1px solid var(--gk-np-border);
    border-radius: 10px;
    background: #fff;
    text-align: center;
}
.gk-native-cart-form .single_add_to_cart_button,
.gk-native-cart-form .button {
    flex: 1 1 170px;
    min-height: 48px;
    margin: 0 !important;
    padding: 10px 16px !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: #fff !important;
    background: var(--gk-np-primary) !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
}
.gk-native-cart-form .single_add_to_cart_button:hover { filter: brightness(.94); }
.gk-native-cart-form .single_add_to_cart_button.disabled { opacity: .55; cursor: not-allowed; }
.gk-native-cart-form .variations_form { display: block; width: 100%; }
.gk-native-cart-form table.variations { width: 100%; margin: 0 0 12px; border: 0; }
.gk-native-cart-form table.variations tr { display: grid; gap: 6px; margin-bottom: 11px; }
.gk-native-cart-form table.variations th,
.gk-native-cart-form table.variations td { display: block; width: 100%; padding: 0; border: 0; text-align: right; }
.gk-native-cart-form table.variations label { color: var(--gk-neutral-700, #334155); font-size: 12px; font-weight: 700; }
.gk-native-cart-form table.variations select { width: 100%; min-height: 44px; padding: 8px 11px; border: 1px solid var(--gk-np-border); border-radius: 9px; background: #fff; }
.gk-native-cart-form .reset_variations { display: inline-block; margin-top: 7px; color: var(--gk-np-primary); font-size: 11px; }
.gk-native-cart-form .woocommerce-variation-description { color: var(--gk-np-muted); font-size: 12px; line-height: 1.8; }
.gk-native-cart-form .woocommerce-variation-price { display: none !important; }
.gk-native-cart-form .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; }
.gk-native-cart-form .group_table { margin-bottom: 12px; }
.gk-native-cart-form .group_table td { padding: 8px 3px; }

.gk-native-purchase-benefit { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 12px 0 0; border-top: 1px solid var(--gk-np-border); }
.gk-native-purchase-benefit > svg { flex: 0 0 21px; width: 21px; height: 21px; color: var(--gk-neutral-700, #334155); }
.gk-native-purchase-benefit strong,
.gk-native-purchase-benefit span { display: block; }
.gk-native-purchase-benefit strong { margin-bottom: 2px; font-size: 12px; }
.gk-native-purchase-benefit span { color: var(--gk-np-muted); font-size: 10px; line-height: 1.7; }
.gk-native-better-price { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 11px; border: 0; color: var(--gk-neutral-700, #334155); background: transparent; font-size: 11px; cursor: pointer; }
.gk-native-better-price:hover { color: var(--gk-np-primary); }
.gk-native-better-price svg { width: 17px; height: 17px; }

/* Store services */
.gk-native-services {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid var(--gk-np-border);
    border-radius: var(--gk-radius-lg, 14px);
    background: var(--gk-np-border);
}
.gk-native-service { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 12px; background: var(--gk-np-surface); }
.gk-native-service > span { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; color: var(--gk-np-primary); border-radius: 10px; background: color-mix(in srgb, var(--gk-np-primary) 7%, white); }
.gk-native-service svg { font-size: 20px; }
.gk-native-service strong,
.gk-native-service small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gk-native-service strong { margin-bottom: 3px; font-size: 12px; }
.gk-native-service small { color: var(--gk-np-muted); font-size: 10px; }

/* Common content sections */
.gk-native-section {
    margin-top: 20px;
    padding: clamp(18px, 2.2vw, 28px);
    border: 1px solid var(--gk-np-border);
    border-radius: var(--gk-radius-xl, 18px);
    background: var(--gk-np-surface);
}
.gk-native-section__heading { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.gk-native-section__icon { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--gk-np-primary); border-radius: 13px; background: color-mix(in srgb, var(--gk-np-primary) 8%, white); }
.gk-native-section__icon svg { font-size: 23px; }
.gk-native-section__heading h2 { margin: 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; }
.gk-native-section__heading p { margin: 3px 0 0; color: var(--gk-np-muted); font-size: 11px; }

.gk-native-ai-review { background: linear-gradient(135deg, color-mix(in srgb, var(--gk-np-primary) 4%, white), #fff 52%); }
.gk-native-ai-review__text { color: var(--gk-neutral-700, #334155); font-size: 14px; line-height: 2.1; }
.gk-native-ai-review__text p:last-child { margin-bottom: 0; }
.gk-native-ai-review__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.gk-native-ai-list { padding: 16px; border: 1px solid var(--gk-np-border); border-radius: 13px; background: rgba(255,255,255,.8); }
.gk-native-ai-list h3 { margin: 0 0 11px; font-size: 14px; }
.gk-native-ai-list ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.gk-native-ai-list li { display: flex; align-items: flex-start; gap: 8px; color: var(--gk-neutral-700, #334155); font-size: 12px; line-height: 1.8; }
.gk-native-ai-list li svg { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 4px; }
.gk-native-ai-list--pros li svg { color: var(--gk-np-success); }
.gk-native-ai-list--cons li svg { color: var(--gk-np-warning); }

/* Related products */
.gk-native-related__rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 12px; overflow-x: auto; padding: 2px 1px 8px; scroll-snap-type: x proximity; }
.gk-native-related-card { scroll-snap-align: start; overflow: hidden; border: 1px solid var(--gk-np-border); border-radius: 13px; background: #fff; transition: .18s ease; }
.gk-native-related-card:hover { border-color: color-mix(in srgb, var(--gk-np-primary) 28%, var(--gk-np-border)); transform: translateY(-2px); }
.gk-native-related-card__image { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 13px; }
.gk-native-related-card__image img { width: 100%; height: 100%; object-fit: contain; }
.gk-native-related-card__image > span { position: absolute; top: 8px; inset-inline-start: 8px; padding: 4px 7px; border-radius: 999px; color: #fff; background: var(--gk-np-primary); font-size: 9px; font-weight: 700; }
.gk-native-related-card__body { padding: 0 12px 13px; }
.gk-native-related-card__title { display: -webkit-box; min-height: 45px; overflow: hidden; color: var(--gk-neutral-800, #1e293b); font-size: 12px; line-height: 1.85; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.gk-native-related-card__price { min-height: 29px; margin-top: 9px; text-align: left; font-size: 13px; font-weight: 800; }
.gk-native-related-card__price del { color: var(--gk-neutral-400, #94a3b8); font-size: 10px; }
.gk-native-related-card__price ins { text-decoration: none; }

/* Sticky in-page navigation */
.gk-native-detail-nav {
    position: sticky;
    z-index: 12;
    top: calc(var(--gk-admin-offset, 0px) + var(--gk-header-visible-height, 76px));
    display: flex;
    gap: 22px;
    margin-top: 20px;
    padding: 0 20px;
    overflow-x: auto;
    border: 1px solid var(--gk-np-border);
    border-radius: 13px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    scrollbar-width: none;
}
.gk-native-detail-nav::-webkit-scrollbar { display: none; }
.gk-native-detail-nav a { position: relative; flex: 0 0 auto; padding: 17px 2px 15px; color: var(--gk-np-muted); font-size: 13px; font-weight: 700; }
.gk-native-detail-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--gk-np-primary); transform: scaleX(0); transition: .18s ease; }
.gk-native-detail-nav a:hover,
.gk-native-detail-nav a.is-active { color: var(--gk-np-primary); }
.gk-native-detail-nav a.is-active::after { transform: scaleX(1); }

/* Description */
.gk-native-description .entry-content { color: var(--gk-neutral-700, #334155); font-size: 14px; line-height: 2.15; }
.gk-native-description .entry-content > :first-child { margin-top: 0; }
.gk-native-description .entry-content > :last-child { margin-bottom: 0; }
.gk-native-description .entry-content img { max-width: 100%; height: auto; border-radius: 12px; }
.gk-native-description .entry-content table { display: block; max-width: 100%; overflow-x: auto; }
.gk-native-collapsible { position: relative; }
.gk-native-collapsible.is-collapsed .gk-native-collapsible__content { max-height: var(--gk-collapse-height, 420px); overflow: hidden; }
.gk-native-collapsible__fade { display: none; position: absolute; inset-inline: 0; bottom: 43px; height: 95px; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--gk-np-surface)); }
.gk-native-collapsible.is-collapsed .gk-native-collapsible__fade { display: block; }
.gk-native-collapsible__toggle { display: none; position: relative; z-index: 2; margin: 18px auto 0; padding: 9px 18px; border: 1px solid var(--gk-np-border); border-radius: 999px; color: var(--gk-np-primary); background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.gk-native-collapsible.has-overflow .gk-native-collapsible__toggle { display: block; }

/* Native specs adjustments */
.gk-native-product .gk-native-specs { max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; }
.gk-native-product .gk-native-specs .gk-spec-heading-row { display: none; }
.gk-native-product .gk-native-specs .gk-spec-content-wrap { padding: 0; }
.gk-native-product .gk-spec-modal { z-index: 100020; }

/* Reviews and Q&A inside native cards */
.gk-native-product .reviews-section,
.gk-native-product .qna-section { margin: 0; padding: 0; border: 0; box-shadow: none; background: transparent; }
.gk-native-product .reviews-header,
.gk-native-product .qna-header { border-radius: 12px; }
.gk-native-product .reviews-sort-bar,
.gk-native-product .qna-sort-bar { margin-top: 18px; }
.gk-native-product .review-form-container,
.gk-native-product .qna-form-container { border-radius: 12px; }
.gk-native-product .review-form-content,
.gk-native-product .qna-textarea,
.gk-native-product .qna-input { width: 100%; border: 1px solid var(--gk-np-border); border-radius: 9px; }
.gk-native-product .qna-form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }

/* Modal system */
html.gk-native-modal-open,
body.gk-native-modal-open { overflow: hidden !important; }
.gk-native-modal[hidden] { display: none !important; }
.gk-native-modal { position: fixed; z-index: 100010; inset: 0; display: grid; place-items: center; padding: 20px; }
.gk-native-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(15,23,42,.58); cursor: default; backdrop-filter: blur(4px); }
.gk-native-modal__dialog { position: relative; width: min(780px, 100%); max-height: min(760px, calc(100dvh - 40px)); overflow: auto; border-radius: 17px; background: #fff; box-shadow: 0 25px 80px rgba(15,23,42,.24); animation: gkNativeModalIn .2s ease; }
.gk-native-modal__dialog--compact { width: min(520px, 100%); }
.gk-native-modal__dialog > header { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; border-bottom: 1px solid var(--gk-np-border); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.gk-native-modal__dialog > header h2 { margin: 0; font-size: 17px; }
.gk-native-modal__dialog > header p { margin: 3px 0 0; color: var(--gk-np-muted); font-size: 11px; }
.gk-native-modal__dialog > header > button { flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid var(--gk-np-border); border-radius: 50%; color: var(--gk-neutral-700, #334155); background: #fff; font-size: 24px; cursor: pointer; }
.gk-native-modal__body { padding: 20px; }
.gk-native-chart { min-height: 350px; padding: 12px 16px 20px; direction: ltr; }
.gk-native-chart-status { padding: 20px; color: var(--gk-np-muted); text-align: center; font-size: 13px; }
.gk-native-chart-status:empty { display: none; }
.gk-native-better-form { display: grid; gap: 14px; padding: 20px; }
.gk-native-better-form label span { display: block; margin-bottom: 6px; color: var(--gk-neutral-700, #334155); font-size: 12px; font-weight: 700; }
.gk-native-better-form input { width: 100%; min-height: 45px; padding: 9px 12px; border: 1px solid var(--gk-np-border); border-radius: 9px; background: #fff; }
.gk-native-better-form > button { min-height: 46px; border: 0; border-radius: 9px; color: #fff; background: var(--gk-np-primary); font-weight: 800; cursor: pointer; }
.gk-native-better-form__status { min-height: 22px; margin: 0; color: var(--gk-np-success); font-size: 12px; text-align: center; }
@keyframes gkNativeModalIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }

/* Mobile purchase bar */
.gk-native-mobile-buy { display: none; }

/* Keep generic WooCommerce wrapper full width for native page */
body.single-product #main.site-main > .product.gk-native-product,
body.single-product #primary.site-main > .product.gk-native-product,
body.single-product .site-main > .product.type-product.gk-native-product {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
}
body.gk-native-product-enabled .woocommerce-notices-wrapper {
    width: var(--gk-container-width, min(1200px, calc(100% - 48px)));
    max-width: var(--gk-site-width, 1200px);
    margin-inline: auto;
}

@media (max-width: 1180px) {
    .gk-native-hero { grid-template-columns: minmax(280px, .95fr) minmax(320px, 1.15fr); }
    .gk-native-purchase { position: relative; top: auto; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 0 24px; }
    .gk-native-purchase__seller,
    .gk-native-purchase__status,
    .gk-native-price-box,
    .gk-native-price-updated,
    .gk-native-cart-form { grid-column: 1; }
    .gk-native-purchase-benefit,
    .gk-native-better-price { grid-column: 2; }
    .gk-native-purchase-benefit:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
}

@media (max-width: 900px) {
    .gk-native-product { padding-top: 12px; }
    .gk-native-product__container { width: min(100% - 28px, var(--gk-site-width, 1200px)); }
    .gk-native-hero { grid-template-columns: 1fr; padding: 18px; }
    .gk-native-gallery { max-width: 600px; width: 100%; margin-inline: auto; }
    .gk-native-gallery__stage { min-height: 300px; }
    .gk-native-purchase { display: block; }
    .gk-native-purchase-benefit:first-of-type { margin-top: 12px; border-top: 1px solid var(--gk-np-border); padding-top: 12px; }
    .gk-native-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gk-native-service:nth-child(n+4) { border-top: 1px solid var(--gk-np-border); }
    .gk-native-highlights__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 767px) {
    .gk-native-product { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
    .gk-native-product__container { width: min(100% - 20px, var(--gk-site-width, 1200px)); }
    .gk-native-breadcrumb { margin-bottom: 10px; }
    .gk-native-hero { gap: 16px; padding: 13px; border-radius: 15px; }
    .gk-native-gallery__tools { top: 0; gap: 7px; }
    .gk-native-icon-button { width: 38px; height: 38px; }
    .gk-native-gallery__stage { min-height: 280px; }
    .gk-native-gallery__main-link { padding: 8px 24px; }
    .gk-native-gallery__thumb { flex-basis: 58px; width: 58px; height: 58px; }
    .gk-native-title { font-size: 20px; }
    .gk-native-meta-row { align-items: flex-start; flex-direction: column; gap: 8px; }
    .gk-native-highlights__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gk-native-purchase { padding: 15px; }
    .gk-native-cart-form .single_add_to_cart_button { min-height: 50px; }
    .gk-native-services { display: flex; gap: 1px; overflow-x: auto; scroll-snap-type: x proximity; }
    .gk-native-service { flex: 0 0 160px; justify-content: flex-start; scroll-snap-align: start; }
    .gk-native-section { margin-top: 14px; padding: 16px; border-radius: 14px; }
    .gk-native-section__heading { margin-bottom: 16px; }
    .gk-native-section__icon { flex-basis: 39px; width: 39px; height: 39px; }
    .gk-native-ai-review__columns { grid-template-columns: 1fr; }
    .gk-native-related__rail { grid-auto-columns: minmax(165px, 45vw); }
    .gk-native-detail-nav { top: calc(var(--gk-admin-offset, 0px) + var(--gk-header-visible-height, 58px)); margin-top: 14px; gap: 19px; padding-inline: 13px; }
    .gk-native-detail-nav a { padding-block: 14px 12px; }
    .gk-native-product .reviews-header,
    .gk-native-product .qna-header { display: grid; gap: 14px; }
    .gk-native-product .qna-form-row { grid-template-columns: 1fr; }
    .gk-native-modal { padding: 10px; align-items: end; }
    .gk-native-modal__dialog { max-height: min(88dvh, 760px); border-radius: 16px 16px 0 0; }
    .gk-native-chart { min-height: 300px; }
    .gk-native-mobile-buy {
        position: fixed;
        z-index: 9997;
        inset-inline: 0;
        bottom: 0;
        display: grid;
        grid-template-columns: minmax(105px, .78fr) minmax(150px, 1.2fr);
        align-items: center;
        gap: 10px;
        padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
        border-top: 1px solid var(--gk-np-border);
        background: rgba(255,255,255,.97);
        box-shadow: 0 -8px 25px rgba(15,23,42,.09);
        backdrop-filter: blur(12px);
    }
    .gk-native-mobile-buy__price { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 800; text-align: right; }
    .gk-native-mobile-buy__price del { display: none; }
    .gk-native-mobile-buy__price ins { text-decoration: none; }
    .gk-native-mobile-buy__button { min-height: 47px; padding: 9px 12px; border: 0; border-radius: 10px; color: #fff; background: var(--gk-np-primary); font-size: 13px; font-weight: 800; cursor: pointer; }
}

@media (max-width: 390px) {
    .gk-native-highlights__grid { grid-template-columns: 1fr; }
    .gk-native-gallery__stage { min-height: 250px; }
    .gk-native-related__rail { grid-auto-columns: 76%; }
}

@media (prefers-reduced-motion: reduce) {
    .gk-native-product *,
    .gk-native-product *::before,
    .gk-native-product *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Lightweight accessible feedback toast */
.gk-native-toast {
    position: fixed;
    z-index: 100100;
    inset-inline-start: 50%;
    bottom: 28px;
    max-width: min(90vw, 420px);
    padding: 11px 16px;
    border-radius: 10px;
    color: #fff;
    background: #172033;
    box-shadow: 0 12px 32px rgba(15,23,42,.22);
    font-size: 12px;
    line-height: 1.7;
    opacity: 0;
    transform: translate(-50%, 10px);
    transition: .2s ease;
    direction: rtl;
    text-align: center;
}
.gk-native-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.gk-native-toast--error { background: #991b1b; }
@media (max-width: 767px) { .gk-native-toast { bottom: calc(82px + env(safe-area-inset-bottom)); } }

.gk-native-product .gk-native-honeypot {
  position: absolute !important;
  inline-size: 1px !important;
  block-size: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
