/*
Theme Name: TackPro Supply
Theme URI: https://tackprosupply.com
Author: TackPro Team
Author URI: https://tackprosupply.com
Description: Industrial tack cloth B2B cross-border WordPress theme based on design mockups.
Version: 1.0.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tackpro
Requires at least: 6.4
Tested up to: 6.8.6
Requires PHP: 8.2
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --tp-primary: #007bff;
    --tp-primary-hover: #0056b3;
    --tp-secondary: #1e7e34;
    --tp-accent: #ff7f00;
    --tp-accent-hover: #e67300;
    --tp-dark: #0b1120;
    --tp-dark-soft: #111827;
    --tp-gray-900: #1f2937;
    --tp-gray-800: #374151;
    --tp-gray-700: #4b5563;
    --tp-gray-600: #6b7280;
    --tp-gray-500: #9ca3af;
    --tp-gray-400: #d1d5db;
    --tp-gray-300: #e5e7eb;
    --tp-gray-200: #f3f4f6;
    --tp-gray-100: #f9fafb;
    --tp-white: #ffffff;
    --tp-text: #e5e7eb;
    --tp-text-muted: #9ca3af;
    --tp-border: rgba(255,255,255,0.12);
    --tp-radius-sm: 6px;
    --tp-radius: 12px;
    --tp-radius-lg: 20px;
    --tp-shadow: 0 10px 30px rgba(0,0,0,0.25);
    --tp-transition: 0.25s ease;
    --tp-container: 1280px;
    --tp-header-h: 72px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--tp-text);
    background: var(--tp-dark);
    -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6,p { margin: 0 0 1rem; }
ul,ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: color var(--tp-transition); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ==========================================================================
   Utilities
   ========================================================================== */
.tp-container { width: min(100% - 2.5rem, var(--tp-container)); margin-inline: auto; }
.tp-flex { display: flex; }
.tp-grid { display: grid; }
.tp-section { padding: 5rem 0; }
.tp-section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; margin-bottom: 0.5rem; color: var(--tp-white); }
.tp-section-subtitle { color: var(--tp-text-muted); font-size: 1.05rem; max-width: 700px; }
.tp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
    transition: transform var(--tp-transition), background var(--tp-transition), box-shadow var(--tp-transition);
}
.tp-btn:hover { transform: translateY(-2px); }
.tp-btn-primary { background: var(--tp-accent); color: var(--tp-white); }
.tp-btn-primary:hover { background: var(--tp-accent-hover); }
.tp-btn-outline { border: 1px solid var(--tp-white); color: var(--tp-white); }
.tp-btn-outline:hover { background: var(--tp-white); color: var(--tp-dark); }
.tp-btn-blue { background: var(--tp-primary); color: var(--tp-white); }
.tp-btn-blue:hover { background: var(--tp-primary-hover); }
.tp-btn-dark { background: #1f2937; color: var(--tp-white); border: 1px solid var(--tp-border); }
.tp-tag {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.35rem 0.75rem; border-radius: 50px; font-size: 0.78rem; font-weight: 500;
    background: rgba(255,255,255,0.08); border: 1px solid var(--tp-border); color: var(--tp-text);
}
.tp-tag i { color: var(--tp-primary); }

/* ==========================================================================
   Header
   ========================================================================== */
.tp-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000;
    height: var(--tp-header-h); background: rgba(11,17,32,0.85);
    backdrop-filter: blur(14px); border-bottom: 1px solid var(--tp-border);
}
.tp-header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.tp-logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.25rem; color: var(--tp-white); }
.tp-logo img { width: 34px; height: 34px; object-fit: contain; }
.tp-nav { display: flex; align-items: center; }
.tp-menu { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.tp-menu > li { position: relative; }
.tp-nav a { font-weight: 500; color: var(--tp-text); }
.tp-nav a:hover, .tp-nav a.active { color: var(--tp-white); }
.tp-nav .tp-btn { padding: 0.55rem 1.25rem; font-size: 0.9rem; }

/* 下拉子菜单（Products 分类） */
.sub-menu {
    position: absolute; top: 100%; left: 0;
    min-width: 230px; margin: 0; padding: 0.5rem;
    list-style: none;
    background: var(--tp-dark-soft);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    box-shadow: var(--tp-shadow);
    opacity: 0; visibility: hidden;
    transition: opacity var(--tp-transition), visibility var(--tp-transition);
    z-index: 1100;
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1; visibility: visible;
}
.sub-menu a { display: block; padding: 0.6rem 0.9rem; border-radius: var(--tp-radius-sm); white-space: nowrap; }
.sub-menu a:hover { background: rgba(255,255,255,0.06); color: var(--tp-white); }

/* 头部搜索 */
.tp-search { position: relative; }
.tp-search-toggle { background: none; border: none; color: var(--tp-text); font-size: 1.05rem; cursor: pointer; padding: 0.4rem; display: inline-flex; }
.tp-search-toggle:hover { color: var(--tp-white); }
.tp-search-form { display: none; position: absolute; right: 0; top: calc(100% + 10px); width: 280px; padding: 0.5rem; background: var(--tp-dark-soft); border: 1px solid var(--tp-border); border-radius: var(--tp-radius); box-shadow: var(--tp-shadow); z-index: 1100; }
.tp-search.open .tp-search-form { display: flex; gap: 0.5rem; }
.tp-search-input { flex: 1; min-width: 0; padding: 0.55rem 0.75rem; background: rgba(255,255,255,0.05); border: 1px solid var(--tp-border); border-radius: var(--tp-radius-sm); color: var(--tp-white); }
.tp-search-submit { padding: 0.55rem 0.8rem; background: var(--tp-primary); color: #fff; border: none; border-radius: var(--tp-radius-sm); cursor: pointer; }

.tp-menu-toggle { display: none; flex-direction: column; gap: 5px; }
.tp-menu-toggle span { display: block; width: 26px; height: 2px; background: var(--tp-white); }

@media (max-width: 900px) {
    .tp-nav { position: fixed; inset: var(--tp-header-h) 0 auto 0; flex-direction: column; gap: 0; background: var(--tp-dark-soft); padding: 1rem; transform: translateY(-120%); transition: transform var(--tp-transition); }
    .tp-nav.open { transform: translateY(0); }
    .tp-menu { flex-direction: column; gap: 0; width: 100%; }
    .tp-menu > li { width: 100%; }
    .tp-nav a { padding: 0.9rem 1rem; border-bottom: 1px solid var(--tp-border); width: 100%; display: block; }
    .sub-menu { position: static; opacity: 1; visibility: visible; min-width: 0; box-shadow: none; background: transparent; border: none; border-radius: 0; padding: 0 0 0 1rem; }
    .sub-menu a { white-space: normal; }
    .tp-search-form { right: auto; left: -8rem; }
    .tp-menu-toggle { display: flex; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.tp-footer { background: #070b14; border-top: 1px solid var(--tp-border); padding: 3.5rem 0 2rem; }
.tp-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.tp-footer-brand p { color: var(--tp-text-muted); font-size: 0.9rem; margin-top: 1rem; }
.tp-footer h4 { color: var(--tp-white); font-size: 1rem; margin-bottom: 1rem; }
.tp-footer a { display: block; color: var(--tp-text-muted); font-size: 0.9rem; margin-bottom: 0.5rem; }
.tp-footer a:hover { color: var(--tp-white); }
.tp-footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--tp-border); color: var(--tp-text-muted); font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: nowrap; gap: 1rem; }
.tp-footer-bottom a { display: inline; }
.tp-footer-bottom > span { min-width: 0; }
@media (max-width: 900px) { .tp-footer-grid { grid-template-columns: 1fr 1fr; } .tp-footer-bottom { font-size: 0.75rem; gap: 0.75rem; } }
@media (max-width: 600px) { .tp-footer-grid { grid-template-columns: 1fr; } .tp-footer-bottom { font-size: 0.7rem; gap: 0.5rem; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.tp-hero { position: relative; min-height: 75vh; display: flex; align-items: center; padding: calc(var(--tp-header-h) + 3rem) 0 5rem; overflow: hidden; }
.tp-hero-bg { position: absolute; inset: 0; z-index: -2; }
.tp-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.tp-hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,17,32,0.92) 0%, rgba(11,17,32,0.6) 60%, rgba(11,17,32,0.35) 100%); }
.tp-hero-inner { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.tp-hero-content h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 800; line-height: 1.1; color: var(--tp-white); }
.tp-hero-content p { font-size: 1.15rem; color: var(--tp-text-muted); max-width: 520px; margin: 1.25rem 0 1.75rem; }
.tp-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   Feature Bar
   ========================================================================== */
.tp-feature-bar { background: rgba(17,24,39,0.7); border-top: 1px solid var(--tp-border); border-bottom: 1px solid var(--tp-border); padding: 1.25rem 0; }
.tp-feature-bar-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tp-feature-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; border-radius: var(--tp-radius); background: rgba(255,255,255,0.04); border: 1px solid var(--tp-border); }
.tp-feature-item i { font-size: 1.25rem; color: var(--tp-accent); }
.tp-feature-item span { font-weight: 600; font-size: 0.9rem; color: var(--tp-white); }
@media (max-width: 1024px) { .tp-feature-bar-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 600px) { .tp-feature-bar-grid { grid-template-columns: repeat(2,1fr); } }

/* ==========================================================================
   Split Sections
   ========================================================================== */
.tp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.tp-split img { border-radius: var(--tp-radius); border: 1px solid var(--tp-border); }
.tp-split h2 { font-size: clamp(1.6rem, 2.5vw, 2.25rem); color: var(--tp-white); }
.tp-split ul { margin-top: 1.25rem; }
.tp-split li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--tp-text-muted); margin-bottom: 0.75rem; }
.tp-split li::before { content: "✓"; color: var(--tp-primary); font-weight: 700; }
@media (max-width: 900px) { .tp-split { grid-template-columns: 1fr; } }

/* ==========================================================================
   Product Cards
   ========================================================================== */
.tp-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.tp-product-card { background: rgba(255,255,255,0.04); border: 1px solid var(--tp-border); border-radius: var(--tp-radius); overflow: hidden; transition: transform var(--tp-transition), box-shadow var(--tp-transition); }
.tp-product-card:hover { transform: translateY(-6px); box-shadow: var(--tp-shadow); }
.tp-product-thumb { aspect-ratio: 4/3; background: var(--tp-white); display: flex; align-items: center; justify-content: center; padding: 1.5rem; position: relative; }
.tp-product-thumb img { max-height: 100%; object-fit: contain; }
.tp-product-body { padding: 1.25rem; }
.tp-product-body h3 { font-size: 1.1rem; color: var(--tp-white); margin-bottom: 0.35rem; }
.tp-product-price { color: var(--tp-accent); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.75rem; }
.tp-product-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.tp-product-card .tp-btn { width: 100%; }
@media (max-width: 1024px) { .tp-product-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .tp-product-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Product Detail
   ========================================================================== */
.tp-pd-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
.tp-pd-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tp-pd-gallery .main { grid-column: 1 / -1; aspect-ratio: 4/3; background: var(--tp-white); border-radius: var(--tp-radius); padding: 2rem; display: flex; align-items: center; justify-content: center; }
.tp-pd-gallery .thumb { aspect-ratio: 1/1; background: var(--tp-white); border-radius: var(--tp-radius); padding: 1rem; display: flex; align-items: center; justify-content: center; }
.tp-pd-gallery img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tp-pd-zoom { cursor: zoom-in; transition: opacity var(--tp-transition); }
.tp-pd-zoom:hover { opacity: .9; }

/* Lightbox */
.tp-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(8,12,24,0.92); padding: 2.5rem; cursor: zoom-out; }
.tp-lightbox.open { display: flex; }
.tp-lightbox img { max-width: 92vw; max-height: 90vh; object-fit: contain; border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,0.55); background: #fff; }
.tp-lightbox .tp-lb-close { position: absolute; top: 1.25rem; right: 1.75rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--tp-transition); }
.tp-lightbox .tp-lb-close:hover { background: rgba(255,255,255,0.25); }
.tp-pd-title { font-size: 2.25rem; color: var(--tp-white); line-height: 1.15; }
.tp-pd-desc { color: var(--tp-text-muted); margin: 1rem 0 1.5rem; }
.tp-pd-price { font-size: 2rem; font-weight: 800; color: var(--tp-white); margin-bottom: 1rem; }
.tp-pd-options { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.tp-pd-select { padding: 0.55rem 1rem; border-radius: 50px; background: rgba(255,255,255,0.06); border: 1px solid var(--tp-border); color: var(--tp-white); min-width: 160px; }
.tp-pd-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.tp-pd-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tp-spec-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.tp-spec-table th, .tp-spec-table td { padding: 0.85rem 1rem; text-align: left; border: 1px solid var(--tp-border); }
.tp-spec-table th { background: rgba(255,255,255,0.05); color: var(--tp-white); font-weight: 600; }
.tp-spec-table td { color: var(--tp-text-muted); }
.tp-accordion { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.tp-accordion-item { border: 1px solid var(--tp-border); border-radius: var(--tp-radius); overflow: hidden; }
.tp-accordion-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; background: rgba(255,255,255,0.04); cursor: pointer; color: var(--tp-white); font-weight: 600; }
.tp-accordion-body { padding: 1rem 1.25rem; color: var(--tp-text-muted); display: none; }
.tp-accordion-item.open .tp-accordion-body { display: block; }
@media (max-width: 900px) { .tp-pd-layout { grid-template-columns: 1fr; } }

/* ==========================================================================
   Product Archive Sidebar
   ========================================================================== */
.tp-archive-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.tp-sidebar { background: rgba(255,255,255,0.04); border: 1px solid var(--tp-border); border-radius: var(--tp-radius); padding: 1.25rem; }
.tp-filter-group { margin-bottom: 1.25rem; border-bottom: 1px solid var(--tp-border); padding-bottom: 1.25rem; }
.tp-filter-group:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.tp-filter-group h4 { color: var(--tp-white); font-size: 0.95rem; margin-bottom: 0.75rem; }
.tp-filter-group select { width: 100%; padding: 0.6rem; border-radius: var(--tp-radius-sm); background: rgba(255,255,255,0.05); border: 1px solid var(--tp-border); color: var(--tp-white); }
.tp-filter-group select option { color: var(--tp-gray-900); background: #fff; }
@media (max-width: 900px) { .tp-archive-layout { grid-template-columns: 1fr; } .tp-sidebar { order: 1; } }

/* ==========================================================================
   Applications
   ========================================================================== */
.tp-app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }
.tp-app-card { background: rgba(255,255,255,0.04); border: 1px solid var(--tp-border); border-radius: var(--tp-radius); overflow: hidden; }
.tp-app-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.tp-app-body { padding: 1.25rem; }
.tp-app-body h3 { color: var(--tp-white); font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.tp-app-body h3 span { width: 26px; height: 26px; border-radius: 50%; background: var(--tp-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; }
.tp-app-body p { color: var(--tp-text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
@media (max-width: 1024px) { .tp-app-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .tp-app-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   About
   ========================================================================== */
.tp-about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.tp-about-hero h1 { font-size: clamp(2rem, 4vw, 3.25rem); color: var(--tp-white); line-height: 1.1; }
.tp-about-hero p { color: var(--tp-text-muted); margin: 1.25rem 0 1.75rem; }
.tp-about-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tp-about-gallery img { border-radius: var(--tp-radius); border: 1px solid var(--tp-border); }
.tp-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.tp-value-card { background: rgba(255,255,255,0.04); border: 1px solid var(--tp-border); border-radius: var(--tp-radius); padding: 1.5rem; }
.tp-value-card h3 { color: var(--tp-white); font-size: 1.1rem; display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.tp-value-card p { color: var(--tp-text-muted); font-size: 0.92rem; }
.tp-cert-bar { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.tp-cert-item { flex: 1 1 200px; display: flex; align-items: center; gap: 0.6rem; background: rgba(255,255,255,0.04); border: 1px solid var(--tp-border); border-radius: var(--tp-radius); padding: 1rem 1.25rem; color: var(--tp-white); font-weight: 600; }
.tp-cert-item i { color: var(--tp-primary); }
@media (max-width: 900px) { .tp-about-hero { grid-template-columns: 1fr; } .tp-value-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA Section
   ========================================================================== */
.tp-cta { background: linear-gradient(135deg, rgba(0,123,255,0.12), rgba(255,127,0,0.08)); border-top: 1px solid var(--tp-border); border-bottom: 1px solid var(--tp-border); text-align: center; }
.tp-cta h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); color: var(--tp-white); }
.tp-cta p { color: var(--tp-text-muted); margin: 0.75rem auto 1.5rem; max-width: 600px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.tp-contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.tp-contact-info h2 { color: var(--tp-white); font-size: 2rem; margin-bottom: 1rem; }
.tp-contact-info p { color: var(--tp-text-muted); margin-bottom: 1.5rem; }
.tp-contact-list li { display: flex; align-items: center; gap: 0.75rem; color: var(--tp-text); margin-bottom: 0.9rem; }
.tp-contact-list i { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid var(--tp-border); display: inline-flex; align-items: center; justify-content: center; color: var(--tp-primary); }
.tp-form { background: rgba(255,255,255,0.04); border: 1px solid var(--tp-border); border-radius: var(--tp-radius); padding: 2rem; }
.tp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.tp-form label { display: block; color: var(--tp-text-muted); font-size: 0.85rem; margin-bottom: 0.35rem; }
.tp-form input, .tp-form select, .tp-form textarea { width: 100%; padding: 0.75rem 1rem; border-radius: var(--tp-radius-sm); background: rgba(255,255,255,0.05); border: 1px solid var(--tp-border); color: var(--tp-white); }
.tp-form select option { color: var(--tp-gray-900); background: #fff; }
.tp-form textarea { min-height: 140px; resize: vertical; }
.tp-form button { margin-top: 0.5rem; }
@media (max-width: 900px) { .tp-contact-layout { grid-template-columns: 1fr; } .tp-form-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   WordPress Content
   ========================================================================== */
.tp-content { color: var(--tp-text); }
.tp-content h1, .tp-content h2, .tp-content h3 { color: var(--tp-white); margin-top: 2rem; }
.tp-content a { color: var(--tp-primary); text-decoration: underline; }
.tp-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.tp-content img { border-radius: var(--tp-radius); }

/* ==========================================================================
   WooCommerce compatibility basics
   ========================================================================== */
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { color: var(--tp-text-muted); }
.woocommerce ul.products li.product { background: rgba(255,255,255,0.04); border: 1px solid var(--tp-border); border-radius: var(--tp-radius); padding: 1rem; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--tp-white); }
.woocommerce ul.products li.product .price { color: var(--tp-accent); }
.woocommerce .woocommerce-breadcrumb, .woocommerce .product_meta { color: var(--tp-text-muted); }
.woocommerce div.product .product_title { color: var(--tp-white); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--tp-accent); }

/* ==========================================================================
   Product Detail: multi-column spec grid
   ========================================================================== */
.tp-spec-section { margin-top: 3rem; }
.tp-spec-section .tp-section-title { margin-bottom: 1.25rem; }
.tp-spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--tp-border); border: 1px solid var(--tp-border); border-radius: var(--tp-radius); overflow: hidden; }
.tp-spec-item { background: rgba(255,255,255,0.03); padding: 0.9rem 1.1rem; }
.tp-spec-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--tp-text-muted); margin-bottom: 0.3rem; }
.tp-spec-value { display: block; color: var(--tp-white); font-weight: 500; font-size: 0.95rem; word-break: break-word; }
@media (max-width: 900px) { .tp-spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tp-spec-grid { grid-template-columns: 1fr; } }
