/* =========================================================================
   SINGLE PRODUCT MODERN DETAIL LAYOUT
   100% Mirip dengan Antarmuka https://toko-kelistrikan.spi.my.id/
   ========================================================================= */

/* Sembunyikan breadcrumb default bawaan theme eishop agar tidak double */
body.single-product .woocommerce-breadcrumb,
body.single-product .c-breadcrumbs,
body.single-product .main-content > .woocommerce-breadcrumb {
    display: none !important;
}

/* Container Utama Detail Produk */
.tk-product-detail-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
    max-width: 1240px;
    margin: 0 auto;
    padding: 4px 18px 48px;
    box-sizing: border-box;
}

/* =========================================================================
   1. BREADCRUMBS & TOP BAR
   ========================================================================= */
.tk-breadcrumb-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 11.5px;
    gap: 10px;
    flex-wrap: wrap;
}

.tk-breadcrumb-left {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.tk-breadcrumb-left .home-icon {
    font-size: 13px;
}

.tk-breadcrumb-left a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.tk-breadcrumb-left a:hover {
    color: #f58800;
}

.tk-breadcrumb-left .sep {
    color: #cbd5e1;
    font-size: 11px;
}

.tk-breadcrumb-left .current {
    color: #0f172a;
    font-weight: 700;
}

.tk-back-catalog-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    line-height: 1.3;
}

.tk-back-catalog-btn:hover {
    background: #fde68a;
    border-color: #f59e0b;
    color: #78350f;
}

/* =========================================================================
   2. MAIN PRODUCT HERO CARD (Gallery Kiri + Detail Kanan)
   ========================================================================= */
.tk-pmain-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    margin-bottom: 28px;
}

.tk-pmain-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
}

/* Left Column: Gallery */
.tk-pgallery-col {
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: linear-gradient(180deg, #fbfbf9 0%, #ffffff 100%);
    border-right: 1px solid #f1f5f9;
    box-sizing: border-box;
}

.tk-pimage-box {
    position: relative;
    aspect-ratio: 1/1;
    width: 100%;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #eef2f6;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

.tk-pimage-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
    pointer-events: none;
}

.tk-badge-orig {
    background: #059669;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
    letter-spacing: 0.3px;
}

.tk-badge-sni {
    background: #04121f;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(4, 18, 31, 0.25);
}

.tk-badge-discount {
    background: #dc2626;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
}

.tk-pimage-zoom-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #1e293b;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 25 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    pointer-events: auto;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    line-height: 1;
}

.tk-pimage-zoom-btn:hover {
    background: #04121f !important;
    color: #ffffff !important;
    border-color: #04121f !important;
    box-shadow: 0 4px 14px rgba(4, 18, 31, 0.3) !important;
    transform: scale(1.05) !important;
}

.tk-main-product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: zoom-in;
    pointer-events: auto;
}

.tk-pimage-box:hover .tk-main-product-img {
    transform: scale(1.04);
}

.tk-pthumbs-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 2px;
}

.tk-pthumb-item {
    aspect-ratio: 1/1;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    padding: 4px;
    cursor: pointer;
    transition: all 0.15s;
    box-sizing: border-box;
}

.tk-pthumb-item.active,
.tk-pthumb-item:hover {
    border-color: #f58800;
    box-shadow: 0 2px 8px rgba(245, 136, 0, 0.2);
    transform: scale(1.03);
}

.tk-pthumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Bagikan Produk */
.tk-pshare-row {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
}

.tk-pshare-label {
    font-weight: 700;
    color: #334155;
}

.tk-pshare-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tk-share-wa-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.15s;
}

.tk-share-wa-btn:hover {
    background: #d1fae5;
    color: #065f46;
}

.tk-share-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}

.tk-share-copy-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* Right Column: Product Core Info */
.tk-pinfo-col {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.tk-pinfo-header-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.tk-pinfo-brand-cat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tk-brand-pill {
    background: #ffedd5;
    color: #c2410c;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.tk-meta-sep {
    color: #cbd5e1;
    font-size: 12px;
}

.tk-cat-label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.tk-sku-pill {
    background: #f1f5f9;
    color: #64748b;
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.tk-pdetail-title {
    font-size: 24px;
    font-weight: 900;
    color: #04121f;
    line-height: 1.35;
    margin: 0 0 12px 0;
    letter-spacing: -0.3px;
}

.tk-prating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    color: #475569;
    flex-wrap: wrap;
}

.tk-stars-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tk-stars {
    color: #f59e0b;
    letter-spacing: 2px;
    font-size: 14px;
}

.tk-rating-num {
    font-weight: 800;
    color: #0f172a;
}

.tk-reviews-count {
    color: #64748b;
}

.tk-row-sep {
    color: #cbd5e1;
}

.tk-sold-text strong {
    color: #0f172a;
}

.tk-warranty-text {
    color: #059669;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Price Box */
.tk-pprice-box {
    background: #fff7ed;
    border: 1.5px solid #fed7aa;
    border-radius: 16px;
    padding: 14px 20px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.tk-pprice-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #78350f;
    display: block;
    margin-bottom: 2px;
}

.tk-pprice-numbers {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.tk-price-red {
    font-size: 32px;
    font-weight: 900;
    color: #dc2626;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.tk-price-strikethrough {
    font-size: 15px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

.tk-pprice-saving-pill {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Wholesale Notice */
.tk-wholesale-notice {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-left: 3.5px solid #f59e0b;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #78350f;
    line-height: 1.45;
}

.tk-wholesale-notice .icon {
    font-size: 15px;
    line-height: 1;
    margin-top: 1px;
}

/* Specs Pills */
.tk-pspecs-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.tk-spec-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 700;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Stock Status */
.tk-pstock-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 12.5px;
    font-weight: 700;
    color: #047857;
}

.tk-stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #10b981;
    animation: tkPulse 1.5s infinite;
}

@keyframes tkPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.15); }
}

/* ==========================================================================
   Modern Variable Product Swatches / Pill Buttons (Tokopedia / Shopee Style)
   ========================================================================== */
.tk-product-variations-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 18px 0 20px 0;
    padding: 16px;
    background: #fbfbf9;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
}

.tk-variation-attribute-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tk-attr-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: #1e293b;
    line-height: 1.3;
}

.tk-attr-label {
    font-weight: 600;
    color: #475569;
}

.tk-attr-selected-value {
    font-weight: 800;
    color: #f58800;
    text-transform: capitalize;
}

.tk-attr-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tk-attr-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 7px 18px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.tk-attr-btn:hover {
    border-color: #f58800;
    color: #f58800;
    background: #fffaf0;
    transform: translateY(-1px);
}

.tk-attr-btn.active {
    background: #fff7ed !important;
    border-color: #f58800 !important;
    border-width: 2px !important;
    color: #ea580c !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 8px rgba(245, 136, 0, 0.18) !important;
}

.tk-attr-btn .check-icon {
    display: none;
    font-size: 11px;
    font-weight: 900;
    color: #ea580c;
}

.tk-attr-btn.active .check-icon {
    display: inline-block;
}

.tk-attr-btn.disabled,
.tk-attr-btn.out-of-stock {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    text-decoration: line-through !important;
    opacity: 0.65 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Quantity & Subtotal Row */
.tk-pqty-subtotal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    margin-bottom: 16px;
}

.tk-pqty-block {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.tk-qty-stepper-box {
    display: inline-flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    height: 36px !important;
    box-sizing: border-box !important;
}

.tk-pqty-minus,
.tk-pqty-plus {
    width: 34px !important;
    height: 36px !important;
    border: none !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.15s ease !important;
    user-select: none !important;
    box-sizing: border-box !important;
}

.tk-pqty-minus:hover,
.tk-pqty-plus:hover {
    background: #e2e8f0 !important;
    color: #f58800 !important;
}

.tk-pqty-minus:active,
.tk-pqty-plus:active {
    background: #cbd5e1 !important;
}

#tk-custom-qty-input {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 60px !important;
    height: 36px !important;
    border: none !important;
    border-left: 1px solid #e2e8f0 !important;
    border-right: 1px solid #e2e8f0 !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 36px !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    appearance: none !important;
    box-sizing: border-box !important;
}

#tk-custom-qty-input::-webkit-outer-spin-button,
#tk-custom-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    display: none !important;
}

.tk-psubtotal-block {
    text-align: right;
}

.tk-psubtotal-block .label {
    font-size: 11.5px;
    color: #64748b;
    display: block;
}

.tk-psubtotal-block .val {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
}

/* Action Buttons (2 Large Buttons) */
.tk-paction-buttons-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.tk-btn-cart-orange {
    background: #f58800;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    border: none;
    border-radius: 14px;
    padding: 13px 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(245, 136, 0, 0.35);
    transition: all 0.2s;
    font-family: inherit;
}

.tk-btn-cart-orange:hover {
    background: #e07b00;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 136, 0, 0.45);
}

.tk-btn-wa-navy {
    background: #04121f;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    border: none;
    border-radius: 14px;
    padding: 13px 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s;
    font-family: inherit;
}

.tk-btn-wa-navy:hover {
    background: #0f2b48;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Toast Message */
.tk-cart-toast-msg {
    background: #059669;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
    animation: tkFadeIn 0.25s ease;
}

.tk-cart-toast-msg .btn-view-cart {
    color: #fef08a;
    text-decoration: underline;
    font-weight: 800;
}

/* 4 Trust Badges in 1 Row */
.tk-ptrust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.tk-ptrust-item {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tk-ptrust-item .icon {
    font-size: 18px;
    line-height: 1;
}

.tk-ptrust-item strong {
    font-size: 11px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.tk-ptrust-item span {
    font-size: 9.5px;
    color: #64748b;
    line-height: 1.2;
}

/* =========================================================================
   3. FULL-WIDTH SHIPPING CARD (Below Main Hero Card)
   ========================================================================= */
.tk-pshipping-full-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 28px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.tk-pshipping-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 14px;
}

.tk-pshipping-title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #04121f;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tk-pshipping-subtitle {
    margin: 4px 0 0 0;
    font-size: 12.5px;
    color: #64748b;
}

.tk-shipping-user-location-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.tk-loc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 4px 12px;
    font-size: 11.5px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.tk-loc-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f58800;
}

.tk-loc-badge.detected {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}

.tk-loc-badge.detected .dot {
    background: #10b981;
}

.tk-btn-detect-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fdba74;
    border-radius: 9999px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    line-height: 1.4;
}

.tk-btn-detect-location:hover {
    background: #ffedd5;
    color: #9a3412;
    border-color: #f97316;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(245, 136, 0, 0.2);
}

.tk-btn-detect-location.active {
    background: #f0fdf4;
    color: #15803d;
    border-color: #86efac;
}

.tk-btn-detect-location.loading {
    opacity: 0.7;
    pointer-events: none;
}

.tk-pshipping-dest-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.tk-destination-select {
    padding: 8px 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    cursor: pointer;
}

.tk-destination-select:focus {
    border-color: #f58800;
}

.tk-shipping-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.tk-ship-service-card {
    background: #f8fafc;
    border: 1.5px solid #eef2f6;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s;
}

.tk-ship-service-card:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.tk-ship-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.tk-ship-top .name {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
}

.tk-ship-top .badge {
    font-size: 10px;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 9999px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.tk-ship-top .badge-fast { background: #fee2e2; color: #dc2626; }
.tk-ship-top .badge-std { background: #fef3c7; color: #b45309; }
.tk-ship-top .badge-kargo { background: #e0f2fe; color: #0369a1; }

.tk-ship-time {
    font-size: 11.5px;
    color: #64748b;
    margin-bottom: 6px;
}

.tk-ship-time strong {
    color: #334155;
}

.tk-ship-cost {
    font-size: 14px;
    font-weight: 900;
    color: #04121f;
}

/* =========================================================================
   4. FULL-WIDTH 5 TABS (Deskripsi, Spesifikasi, Panduan, Ulasan, FAQ)
   ========================================================================= */
.tk-ptabs-full-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.tk-ptabs-nav-bar {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tk-ptab-trigger {
    padding: 16px 24px;
    font-size: 13.5px;
    font-weight: 800;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: inherit;
}

.tk-ptab-trigger:hover {
    color: #0f172a;
}

.tk-ptab-trigger.active {
    color: #f58800;
    border-bottom-color: #f58800;
    background: #ffffff;
}

.tk-ptab-pane {
    padding: 28px 32px;
    display: none;
    line-height: 1.6;
    color: #334155;
}

.tk-ptab-pane.active {
    display: block;
}

.tk-pane-section {
    margin-bottom: 24px;
}

.tk-pane-title {
    font-size: 18px;
    font-weight: 800;
    color: #04121f;
    margin: 0 0 12px 0;
}

.tk-pane-subtitle {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.tk-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.tk-feature-card {
    background: #fffaf0;
    border: 1px solid #fef3c7;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #334155;
}

.tk-feature-card .check {
    color: #f58800;
    font-weight: 900;
    font-size: 15px;
    line-height: 1;
}

.tk-app-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    font-size: 13.5px;
    color: #475569;
}

.tk-app-list li {
    margin-bottom: 6px;
}

.tk-package-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
}

.tk-package-title {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.tk-package-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 13px;
    color: #334155;
}

.tk-package-grid li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tk-package-grid .check {
    color: #10b981;
    font-weight: 900;
}

/* Tab 2: Specs Table */
.tk-specs-detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.tk-specs-detail-table tr:nth-child(odd) {
    background: #f8fafc;
}

.tk-specs-detail-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
}

.tk-specs-detail-table .lbl {
    font-weight: 700;
    color: #475569;
    width: 32%;
}

.tk-specs-detail-table .val {
    color: #0f172a;
}

/* Tab 3: Guide */
.tk-guide-alert-box {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
    font-size: 13px;
    color: #78350f;
}

.tk-guide-steps-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tk-step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 14px 16px;
}

.tk-step-item .num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f58800;
    color: #ffffff;
    font-weight: 900;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tk-step-item strong {
    font-size: 13.5px;
    color: #0f172a;
    display: block;
    margin-bottom: 4px;
}

.tk-step-item p {
    margin: 0;
    font-size: 12.5px;
    color: #475569;
}

/* Tab 4 & 5: Reviews and FAQ */
.tk-reviews-wrapper {
    margin-top: 10px;
}
.tk-rev-summary-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    margin-bottom: 24px;
}
.tk-rev-summary-score {
    text-align: center;
    min-width: 140px;
}
.tk-rev-summary-score .score-num {
    font-size: 44px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}
.tk-rev-summary-score .score-stars {
    font-size: 18px;
    margin: 6px 0;
}
.tk-rev-summary-score .star-gold { color: #f59e0b; }
.tk-rev-summary-score .star-gray { color: #cbd5e1; }
.tk-rev-summary-score .score-label {
    font-size: 12px;
    color: #64748b;
}

.tk-rev-summary-bars {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.tk-rev-summary-bars .bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}
.tk-rev-summary-bars .bar-label {
    font-weight: 700;
    color: #334155;
    width: 28px;
}
.tk-rev-summary-bars .bar-track {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}
.tk-rev-summary-bars .bar-fill {
    height: 100%;
    background: #f58800;
    border-radius: 999px;
    transition: width 0.3s ease;
}
.tk-rev-summary-bars .bar-pct {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    width: 32px;
    text-align: right;
}

/* Review Cards */
.tk-rev-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tk-rev-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.tk-rev-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.tk-rev-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tk-rev-user-meta {
    flex: 1;
}
.tk-rev-user-meta strong.tk-rev-author {
    display: block;
    font-size: 13.5px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.2;
}
.tk-rev-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
}
.tk-rev-sub .tk-rev-badge {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 10.5px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 6px;
}
.tk-rev-sub .tk-rev-date {
    font-size: 11px;
    color: #94a3b8;
}
.tk-rev-stars {
    color: #f59e0b;
    font-size: 15px;
    letter-spacing: 1px;
    margin-left: auto;
}
.tk-rev-body {
    font-size: 13px;
    color: #334155;
    line-height: 1.6;
}
.tk-rev-body p {
    margin: 0;
}

/* No reviews placeholder */
.tk-no-reviews-box {
    text-align: center;
    padding: 36px 20px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 16px;
    margin-bottom: 24px;
}
.tk-no-reviews-box .icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}
.tk-no-reviews-box h4 {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}
.tk-no-reviews-box p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* Review Form */
.tk-rev-form-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
}
.tk-rev-form-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
}
.tk-form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 14px;
}
@media (max-width: 640px) {
    .tk-form-group-row {
        grid-template-columns: 1fr;
    }
}
.tk-form-col, .tk-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}
.tk-form-lbl {
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}
.tk-form-lbl .req {
    color: #ef4444;
}
.tk-form-input, .tk-form-select, .tk-form-textarea {
    width: 100%;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}
.tk-form-input:focus, .tk-form-select:focus, .tk-form-textarea:focus {
    border-color: #f58800;
    box-shadow: 0 0 0 3px rgba(245, 136, 0, 0.12);
}
.tk-submit-rev-btn {
    background: linear-gradient(135deg, #f58800 0%, #ea580c 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 13.5px;
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(245, 136, 0, 0.25);
    transition: all 0.2s ease;
}
.tk-submit-rev-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 136, 0, 0.35);
}


.tk-faq-item {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 12px;
}

.tk-faq-item .q {
    font-size: 13.5px;
    color: #0f172a;
    display: block;
    margin-bottom: 4px;
}

.tk-faq-item .a {
    font-size: 12.5px;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

/* =========================================================================
   5. MOBILE STICKY BOTTOM ACTION BAR
   ========================================================================= */
.tk-mobile-sticky-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
    padding: 10px 16px;
    display: none;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
}

.tk-sticky-thumb-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tk-sticky-thumb-info .thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
}

.tk-sticky-thumb-info .sub {
    font-size: 10px;
    color: #64748b;
    display: block;
}

.tk-sticky-thumb-info .price {
    font-size: 15px;
    font-weight: 900;
    color: #dc2626;
}

.tk-sticky-actions-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tk-sticky-actions-wrap .btn-wa {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #04121f;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
}

.tk-sticky-actions-wrap .btn-cart {
    background: #f58800;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* =========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP, TABLET, MOBILE)
   ========================================================================= */

@media (max-width: 991px) {
    .tk-pmain-grid {
        grid-template-columns: 1fr;
    }
    .tk-pgallery-col {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding: 20px;
    }
    .tk-pinfo-col {
        padding: 20px;
    }
    .tk-shipping-cards-grid {
        grid-template-columns: 1fr;
    }
    .tk-features-grid {
        grid-template-columns: 1fr;
    }
    .tk-package-grid {
        grid-template-columns: 1fr;
    }
    .tk-mobile-sticky-bottom {
        display: flex;
    }
    body.single-product {
        padding-bottom: 60px;
    }
}

@media (max-width: 640px) {
    .tk-product-detail-page {
        padding: 10px 12px 60px;
    }
    .tk-pdetail-title {
        font-size: 19px;
    }
    .tk-price-red {
        font-size: 26px;
    }
    .tk-paction-buttons-row {
        grid-template-columns: 1fr;
    }
    .tk-ptrust-row {
        grid-template-columns: 1fr 1fr;
    }
    .tk-pshipping-full-card,
    .tk-ptab-pane {
        padding: 18px 16px;
    }
    .tk-ptabs-nav-bar {
        padding: 0 8px;
    }
    .tk-ptab-trigger {
        padding: 12px 14px;
        font-size: 12.5px;
    }
}

/* =========================================================================
   7. IN-PAGE LIGHTBOX MODAL FOR IMAGE ZOOM
   ========================================================================= */
.tk-image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    animation: tkFadeIn 0.2s ease;
}

.tk-image-lightbox.active {
    display: flex !important;
}

.tk-lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 18, 31, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.tk-lightbox-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 20;
    background: linear-gradient(180deg, rgba(4, 18, 31, 0.85) 0%, transparent 100%);
    color: #ffffff;
    box-sizing: border-box;
}

.tk-lightbox-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #f1f5f9;
    max-width: 65%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-lightbox-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tk-lightbox-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    line-height: 1;
}

.tk-lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.04);
}

.tk-lightbox-btn-close {
    font-size: 18px;
    padding: 8px 14px;
    background: #dc2626;
    border-color: #ef4444;
}

.tk-lightbox-btn-close:hover {
    background: #b91c1c;
    border-color: #dc2626;
}

.tk-lightbox-content {
    position: relative;
    z-index: 10;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    box-sizing: border-box;
}

.tk-lightbox-img-wrap {
    max-width: 85vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
    border-radius: 16px;
    background: #ffffff;
    padding: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.tk-lightbox-img-wrap.zoomed {
    cursor: zoom-out;
    background: #ffffff;
}

#tk-lightbox-img {
    max-width: 100%;
    max-height: 74vh;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.tk-lightbox-img-wrap.zoomed #tk-lightbox-img {
    transform: scale(1.6);
}

.tk-lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    transition: all 0.2s;
}

.tk-lightbox-nav-btn:hover {
    background: #f58800;
    border-color: #f58800;
    transform: translateY(-50%) scale(1.1);
}

.tk-lightbox-nav-btn.prev {
    left: -64px;
}

.tk-lightbox-nav-btn.next {
    right: -64px;
}

@media (max-width: 768px) {
    .tk-lightbox-nav-btn.prev {
        left: 12px;
    }
    .tk-lightbox-nav-btn.next {
        right: 12px;
    }
    .tk-lightbox-title {
        max-width: 50%;
        font-size: 13px;
    }
    .tk-lightbox-img-wrap {
        max-width: 95vw;
        max-height: 78vh;
        padding: 10px;
    }
    #tk-lightbox-img {
        max-height: 72vh;
    }
}

