/* ==========================================================================
   The Peptide Store - Main Stylesheet
   "Pharmaceutical Lab meets Luxury Brand"
   ========================================================================== */

/* ==========================================================================
   TABLE OF CONTENTS
   --------------------------------------------------------------------------
   1.  CSS Custom Properties
   2.  Reset & Base
   3.  Typography
   4.  Utility Classes
   5.  Buttons
   6.  Age Gate
   7.  Header & Navigation
   8.  Hero Section
   9.  Trust Bar
   10. Section Headers
   11. Category Cards
   12. Product Cards
   13. Products Grid
   14. Feature Cards
   15. Steps / How It Works
   16. Testimonials
   17. Newsletter
   18. Footer
   19. Shop Page
   20. Single Product
   21. COA Section
   22. Product Tabs
   23. Lab Testing Page
   24. FAQ Page
   25. Contact Page
   26. Legal Pages
   27. About Page
   28. Forms
   29. WooCommerce Overrides
   30. Animations & Transitions
   31. Responsive - 1280px
   32. Responsive - 1024px
   33. Responsive - 768px
   34. Responsive - 480px
   ========================================================================== */

/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
    /* Colors */
    --tps-primary-dark: #0A1628;
    --tps-secondary-dark: #1A1A2E;
    --tps-surface-dark: #0F172A;
    --tps-accent: #2563EB;
    --tps-accent-hover: #1D4ED8;
    --tps-accent-light: rgba(37, 99, 235, 0.1);
    --tps-secondary-accent: #0EA5E9;
    --tps-white: #FFFFFF;
    --tps-off-white: #F8FAFC;
    --tps-success: #10B981;
    --tps-success-light: rgba(16, 185, 129, 0.1);
    --tps-text: #1E293B;
    --tps-text-muted: #64748B;
    --tps-border: #E2E8F0;
    --tps-border-dark: rgba(255, 255, 255, 0.08);
    --tps-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --tps-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --tps-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --tps-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
    --tps-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.18);

    /* Typography */
    --tps-font-headline: 'Space Grotesk', sans-serif;
    --tps-font-body: 'Inter', sans-serif;
    --tps-font-mono: 'JetBrains Mono', monospace;

    /* Fluid Typography */
    --tps-text-xs: clamp(0.7rem, 0.66rem + 0.2vw, 0.8rem);
    --tps-text-sm: clamp(0.8rem, 0.74rem + 0.3vw, 0.9rem);
    --tps-text-base: clamp(0.9rem, 0.84rem + 0.3vw, 1rem);
    --tps-text-lg: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
    --tps-text-xl: clamp(1.15rem, 1rem + 0.75vw, 1.5rem);
    --tps-text-2xl: clamp(1.4rem, 1.15rem + 1.25vw, 2rem);
    --tps-text-3xl: clamp(1.8rem, 1.4rem + 2vw, 2.75rem);
    --tps-text-4xl: clamp(2.2rem, 1.6rem + 3vw, 3.75rem);
    --tps-text-5xl: clamp(2.6rem, 1.8rem + 4vw, 4.5rem);

    /* Spacing */
    --tps-container-max: 1280px;
    --tps-container-narrow: 800px;
    --tps-container-padding: 2rem;
    --tps-section-padding: 120px;
    --tps-radius: 8px;
    --tps-radius-lg: 12px;
    --tps-radius-xl: 16px;
    --tps-radius-full: 9999px;

    /* Transitions */
    --tps-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --tps-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index scale */
    --tps-z-base: 1;
    --tps-z-header: 1000;
    --tps-z-mobile-menu: 1100;
    --tps-z-overlay: 5000;
    --tps-z-age-gate: 99999;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--tps-font-body);
    font-size: var(--tps-text-base);
    line-height: 1.7;
    color: var(--tps-text);
    background-color: var(--tps-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tps-font-headline);
    font-weight: 700;
    line-height: 1.2;
    color: var(--tps-text);
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

strong, b {
    font-weight: 600;
}

/* Container */
.tps-container {
    width: 100%;
    max-width: var(--tps-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--tps-container-padding);
    padding-right: var(--tps-container-padding);
}

.tps-container--narrow {
    max-width: var(--tps-container-narrow);
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1 {
    font-size: var(--tps-text-5xl);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--tps-text-4xl);
    letter-spacing: -0.02em;
}

h3 {
    font-size: var(--tps-text-3xl);
    letter-spacing: -0.01em;
}

h4 {
    font-size: var(--tps-text-2xl);
}

h5 {
    font-size: var(--tps-text-xl);
}

h6 {
    font-size: var(--tps-text-lg);
}

/* ==========================================================================
   4. Utility Classes
   ========================================================================== */

.mono {
    font-family: var(--tps-font-mono);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--tps-accent);
    color: var(--tps-white);
    z-index: 100000;
}

/* Animation entry state */
.tps-animate-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.tps-animate-in.tps-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section spacing */
.tps-section {
    padding-top: var(--tps-section-padding);
    padding-bottom: var(--tps-section-padding);
}

.tps-section--dark {
    background-color: var(--tps-primary-dark);
    color: var(--tps-white);
}

.tps-section--dark h1,
.tps-section--dark h2,
.tps-section--dark h3,
.tps-section--dark h4,
.tps-section--dark h5,
.tps-section--dark h6 {
    color: var(--tps-white);
}

.tps-section--dark p {
    color: rgba(255, 255, 255, 0.7);
}

.tps-section--light {
    background-color: var(--tps-off-white);
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--tps-accent);
}

.text-muted {
    color: var(--tps-text-muted);
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.tps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--tps-font-body);
    font-size: var(--tps-text-sm);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--tps-radius);
    cursor: pointer;
    transition: all var(--tps-transition);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.tps-btn svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.tps-btn:focus-visible {
    outline: 2px solid var(--tps-accent);
    outline-offset: 2px;
}

/* Primary Button */
.tps-btn-primary {
    background-color: var(--tps-accent);
    color: var(--tps-white);
    border-color: var(--tps-accent);
}

.tps-btn-primary:hover {
    background-color: var(--tps-accent-hover);
    border-color: var(--tps-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.tps-btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Outline Button */
.tps-btn-outline {
    background-color: transparent;
    color: var(--tps-accent);
    border-color: var(--tps-accent);
}

.tps-btn-outline:hover {
    background-color: var(--tps-accent);
    color: var(--tps-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.tps-btn-outline:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Outline Light Button (for dark backgrounds) */
.tps-btn-outline-light {
    background-color: transparent;
    color: var(--tps-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.tps-btn-outline-light:hover {
    background-color: var(--tps-white);
    color: var(--tps-primary-dark);
    border-color: var(--tps-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.tps-btn-outline-light:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Button Sizes */
.tps-btn-lg {
    padding: 1rem 2.25rem;
    font-size: var(--tps-text-base);
}

.tps-btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--tps-text-xs);
}

/* ==========================================================================
   6. Age Gate
   ========================================================================== */

.tps-age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--tps-z-age-gate);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem;
}

.tps-age-gate__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tps-age-gate__card,
.tps-age-gate__content {
    background-color: var(--tps-white);
    border-radius: var(--tps-radius-xl);
    padding: 3rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--tps-shadow-xl);
    position: relative;
}

.tps-age-gate__logo {
    margin-bottom: 2rem;
}

.tps-age-gate__logo img {
    max-height: 50px;
    margin: 0 auto;
}

.tps-age-gate__title {
    font-family: var(--tps-font-heading);
    font-size: var(--tps-text-2xl);
    font-weight: 700;
    color: var(--tps-text);
    margin-bottom: 0.75rem;
}

.tps-age-gate__brand {
    display: block;
    font-family: var(--tps-font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--tps-text);
    margin-top: 0.75rem;
}

.tps-age-gate__text {
    color: var(--tps-text);
    font-size: var(--tps-text-base);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.tps-age-gate__text strong {
    color: var(--tps-primary);
    font-weight: 700;
}

.tps-age-gate__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tps-age-gate__actions .tps-btn {
    flex: 1;
    max-width: 180px;
}

.tps-age-gate__disclaimer {
    font-size: var(--tps-text-xs);
    color: var(--tps-text-muted);
    line-height: 1.5;
}

.tps-age-gate.tps-hidden,
.tps-age-gate.tps-age-gate--hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* ==========================================================================
   7. Header & Navigation
   ========================================================================== */

.tps-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--tps-z-header);
    padding: 1.25rem 0;
    transition: all var(--tps-transition);
    background-color: transparent;
}

.tps-header--scrolled {
    background-color: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.tps-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.tps-header__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.tps-header__logo img {
    height: 36px;
    width: auto;
}

.tps-header__logo-text {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-lg);
    font-weight: 700;
    color: var(--tps-white);
    letter-spacing: -0.01em;
}

/* Navigation */
.tps-header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.tps-header__nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.tps-header__nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--tps-text-sm);
    font-weight: 500;
    border-radius: var(--tps-radius);
    transition: all var(--tps-transition);
    text-decoration: none;
}

.tps-header__nav-link:hover,
.tps-header__nav-link--active {
    color: var(--tps-white);
    background-color: rgba(255, 255, 255, 0.08);
}

.tps-header__nav-link--active {
    color: var(--tps-secondary-accent);
}

/* Header Actions */
.tps-header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Cart Icon */
.tps-header__cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--tps-white);
    border-radius: var(--tps-radius);
    transition: background-color var(--tps-transition);
    text-decoration: none;
}

.tps-header__cart:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.tps-header__cart svg {
    width: 22px;
    height: 22px;
}

.tps-header__cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background-color: var(--tps-accent);
    color: var(--tps-white);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: var(--tps-radius-full);
    line-height: 1;
}

/* Hamburger Menu */
.tps-header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: var(--tps-radius);
    transition: background-color var(--tps-transition);
}

.tps-header__hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.tps-header__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--tps-white);
    border-radius: 2px;
    transition: all var(--tps-transition);
    transform-origin: center;
}

/* Hamburger active state */
.tps-header__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.tps-header__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.tps-header__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.tps-header__mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--tps-z-mobile-menu);
    background-color: var(--tps-primary-dark);
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tps-header__mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tps-header__mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tps-header__mobile-nav-link {
    display: block;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-2xl);
    font-weight: 600;
    border-radius: var(--tps-radius);
    transition: all var(--tps-transition);
    text-decoration: none;
}

.tps-header__mobile-nav-link:hover,
.tps-header__mobile-nav-link--active {
    color: var(--tps-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.tps-header__mobile-actions {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid var(--tps-border-dark);
}

/* ==========================================================================
   8. Hero Section
   ========================================================================== */

.tps-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(165deg, var(--tps-primary-dark) 0%, var(--tps-secondary-dark) 50%, var(--tps-surface-dark) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.tps-hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.tps-hero__content {
    position: relative;
    z-index: var(--tps-z-base);
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.tps-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background-color: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--tps-radius-full);
    color: var(--tps-secondary-accent);
    font-family: var(--tps-font-mono);
    font-size: var(--tps-text-xs);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.tps-hero__title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-5xl);
    font-weight: 700;
    color: var(--tps-white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.tps-hero__title span {
    background: linear-gradient(135deg, var(--tps-accent), var(--tps-secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tps-hero__subtitle {
    font-size: var(--tps-text-lg);
    color: rgba(255, 255, 255, 0.6);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.tps-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.tps-hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--tps-z-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.35);
    font-size: var(--tps-text-xs);
    font-family: var(--tps-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: tps-scroll-bounce 2s infinite ease-in-out;
}

.tps-hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
}

@keyframes tps-scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ==========================================================================
   9. Trust Bar
   ========================================================================== */

.tps-trust-bar {
    background-color: var(--tps-surface-dark);
    border-top: 1px solid var(--tps-border-dark);
    border-bottom: 1px solid var(--tps-border-dark);
    padding: 1.5rem 0;
}

.tps-trust-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.tps-trust-bar__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--tps-text-sm);
    font-weight: 500;
    white-space: nowrap;
    position: relative;
}

.tps-trust-bar__item + .tps-trust-bar__item::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.12);
}

.tps-trust-bar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--tps-success);
}

.tps-trust-bar__icon svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   10. Section Headers
   ========================================================================== */

.tps-section-header {
    margin-bottom: 3.5rem;
}

.tps-section-header--center {
    text-align: center;
}

.tps-section-label {
    display: inline-block;
    font-family: var(--tps-font-mono);
    font-size: var(--tps-text-xs);
    font-weight: 600;
    color: var(--tps-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.tps-section--dark .tps-section-label {
    color: var(--tps-secondary-accent);
}

.tps-section-title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-4xl);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.tps-section--dark .tps-section-title {
    color: var(--tps-white);
}

.tps-section-desc {
    font-size: var(--tps-text-lg);
    color: var(--tps-text-muted);
    max-width: 600px;
    line-height: 1.7;
}

.tps-section-header--center .tps-section-desc {
    margin-left: auto;
    margin-right: auto;
}

.tps-section--dark .tps-section-desc {
    color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   11. Category Cards
   ========================================================================== */

.tps-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tps-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
    padding: 2rem;
    background-color: var(--tps-secondary-dark);
    background-size: cover;
    background-position: center;
    border-radius: var(--tps-radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: transform var(--tps-transition), box-shadow var(--tps-transition);
}

.tps-category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.2) 0%, rgba(10, 22, 40, 0.85) 100%);
    transition: background var(--tps-transition);
    z-index: 1;
}

.tps-category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(14, 165, 233, 0.1));
    opacity: 0;
    transition: opacity var(--tps-transition);
    z-index: 2;
}

.tps-category-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tps-category-card:hover::after {
    opacity: 1;
}

.tps-category-card__content {
    position: relative;
    z-index: 3;
}

.tps-category-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--tps-radius);
    color: var(--tps-secondary-accent);
    margin-bottom: 1.25rem;
}

.tps-category-card__icon svg {
    width: 24px;
    height: 24px;
}

.tps-category-card__title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-xl);
    font-weight: 700;
    color: var(--tps-white);
    margin-bottom: 0.5rem;
}

.tps-category-card__desc {
    font-size: var(--tps-text-sm);
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tps-category-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--tps-text-sm);
    font-weight: 600;
    color: var(--tps-secondary-accent);
    transition: gap var(--tps-transition);
}

.tps-category-card:hover .tps-category-card__link {
    gap: 0.75rem;
}

.tps-category-card__link svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   12. Product Cards
   ========================================================================== */

.tps-product-card {
    background-color: var(--tps-white);
    border-radius: var(--tps-radius-lg);
    border: 1px solid var(--tps-border);
    overflow: hidden;
    transition: transform var(--tps-transition), box-shadow var(--tps-transition);
}

.tps-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--tps-shadow-lg);
}

.tps-product-card__image {
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: var(--tps-off-white);
    overflow: hidden;
}

.tps-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tps-product-card:hover .tps-product-card__image img {
    transform: scale(1.05);
}

.tps-product-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    background-color: var(--tps-success);
    color: var(--tps-white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--tps-radius-full);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tps-product-card__badge svg {
    width: 12px;
    height: 12px;
}

.tps-product-card__info {
    padding: 1.25rem;
}

.tps-product-card__category {
    font-family: var(--tps-font-mono);
    font-size: var(--tps-text-xs);
    color: var(--tps-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.tps-product-card__title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-lg);
    font-weight: 700;
    color: var(--tps-text);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.tps-product-card__title a {
    text-decoration: none;
    color: inherit;
    transition: color var(--tps-transition);
}

.tps-product-card__title a:hover {
    color: var(--tps-accent);
}

.tps-product-card__desc {
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tps-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--tps-border);
}

.tps-product-card__price {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-xl);
    font-weight: 700;
    color: var(--tps-text);
}

.tps-product-card__price del {
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    font-weight: 400;
    margin-right: 0.25rem;
}

.tps-product-card__price ins {
    text-decoration: none;
    color: var(--tps-accent);
}

.tps-product-card__add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    background-color: var(--tps-accent);
    color: var(--tps-white);
    font-size: var(--tps-text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: none;
    border-radius: var(--tps-radius);
    cursor: pointer;
    transition: all var(--tps-transition);
    text-decoration: none;
}

.tps-product-card__add-to-cart:hover {
    background-color: var(--tps-accent-hover);
    transform: translateY(-1px);
}

.tps-product-card__add-to-cart svg {
    width: 14px;
    height: 14px;
}

/* Placeholder Card */
.tps-product-card--placeholder .tps-product-card__image {
    background: linear-gradient(135deg, var(--tps-off-white), var(--tps-border));
}

.tps-product-card--placeholder .tps-product-card__title-ph,
.tps-product-card--placeholder .tps-product-card__desc-ph,
.tps-product-card--placeholder .tps-product-card__price-ph {
    background: linear-gradient(90deg, var(--tps-border) 25%, var(--tps-off-white) 50%, var(--tps-border) 75%);
    background-size: 200% 100%;
    border-radius: var(--tps-radius);
    animation: tps-shimmer 1.5s infinite linear;
}

.tps-product-card--placeholder .tps-product-card__title-ph {
    height: 20px;
    width: 75%;
    margin-bottom: 0.5rem;
}

.tps-product-card--placeholder .tps-product-card__desc-ph {
    height: 14px;
    width: 100%;
    margin-bottom: 0.35rem;
}

.tps-product-card--placeholder .tps-product-card__price-ph {
    height: 24px;
    width: 40%;
}

@keyframes tps-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================================================
   13. Products Grid
   ========================================================================== */

.tps-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.tps-products-grid--shop {
    grid-template-columns: repeat(3, 1fr);
}

.tps-products-grid__view-all {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 2rem;
}

/* ==========================================================================
   14. Feature Cards
   ========================================================================== */

.tps-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.tps-feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.tps-feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background-color: var(--tps-accent-light);
    border-radius: 50%;
    color: var(--tps-accent);
    transition: all var(--tps-transition);
}

.tps-feature-card:hover .tps-feature-card__icon {
    background-color: var(--tps-accent);
    color: var(--tps-white);
    transform: scale(1.1);
}

.tps-feature-card__icon svg {
    width: 28px;
    height: 28px;
}

.tps-section--dark .tps-feature-card__icon {
    background-color: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.tps-section--dark .tps-feature-card:hover .tps-feature-card__icon {
    background-color: var(--tps-accent);
    border-color: var(--tps-accent);
    color: var(--tps-white);
}

.tps-feature-card__title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-lg);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.tps-section--dark .tps-feature-card__title {
    color: var(--tps-white);
}

.tps-feature-card__desc {
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    line-height: 1.6;
}

.tps-section--dark .tps-feature-card__desc {
    color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   15. Steps / How It Works
   ========================================================================== */

.tps-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 0 2rem;
}

/* Connecting line */
.tps-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(2rem + 28px);
    right: calc(2rem + 28px);
    height: 2px;
    background: linear-gradient(90deg, var(--tps-accent), var(--tps-secondary-accent));
    z-index: 0;
}

.tps-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
    max-width: 220px;
}

.tps-step__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--tps-accent), var(--tps-secondary-accent));
    color: var(--tps-white);
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-xl);
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}

.tps-step__title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-lg);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tps-section--dark .tps-step__title {
    color: var(--tps-white);
}

.tps-step__desc {
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    line-height: 1.6;
}

.tps-section--dark .tps-step__desc {
    color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   16. Testimonials
   ========================================================================== */

.tps-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tps-testimonial-card {
    background-color: var(--tps-white);
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius-lg);
    padding: 2rem;
    transition: transform var(--tps-transition), box-shadow var(--tps-transition);
}

.tps-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tps-shadow-md);
}

.tps-section--dark .tps-testimonial-card {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: var(--tps-border-dark);
}

.tps-testimonial-card__stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1.25rem;
    color: #FBBF24;
}

.tps-testimonial-card__stars svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.tps-testimonial-card__quote {
    font-size: var(--tps-text-base);
    color: var(--tps-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.tps-section--dark .tps-testimonial-card__quote {
    color: rgba(255, 255, 255, 0.8);
}

.tps-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tps-testimonial-card__initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--tps-accent), var(--tps-secondary-accent));
    color: var(--tps-white);
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-sm);
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.tps-testimonial-card__name {
    font-weight: 600;
    font-size: var(--tps-text-sm);
    color: var(--tps-text);
}

.tps-section--dark .tps-testimonial-card__name {
    color: var(--tps-white);
}

.tps-testimonial-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.2rem;
    font-size: var(--tps-text-xs);
    color: var(--tps-success);
    font-weight: 500;
}

.tps-testimonial-card__badge svg {
    width: 12px;
    height: 12px;
}

/* ==========================================================================
   17. Newsletter
   ========================================================================== */

.tps-newsletter {
    background-color: var(--tps-surface-dark);
    background-image:
        radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(14, 165, 233, 0.06) 0%, transparent 60%);
}

.tps-newsletter__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.tps-newsletter__title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-3xl);
    font-weight: 700;
    color: var(--tps-white);
    margin-bottom: 0.75rem;
}

.tps-newsletter__desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: var(--tps-text-base);
    margin-bottom: 2rem;
}

.tps-newsletter__form {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
}

.tps-newsletter__input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-right: none;
    border-radius: var(--tps-radius) 0 0 var(--tps-radius);
    color: var(--tps-white);
    font-size: var(--tps-text-sm);
    outline: none;
    transition: all var(--tps-transition);
}

.tps-newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.tps-newsletter__input:focus {
    border-color: var(--tps-accent);
    background-color: rgba(255, 255, 255, 0.1);
}

.tps-newsletter__btn {
    padding: 0.85rem 1.75rem;
    background-color: var(--tps-accent);
    color: var(--tps-white);
    font-size: var(--tps-text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: 1px solid var(--tps-accent);
    border-radius: 0 var(--tps-radius) var(--tps-radius) 0;
    cursor: pointer;
    transition: background-color var(--tps-transition);
    white-space: nowrap;
}

.tps-newsletter__btn:hover {
    background-color: var(--tps-accent-hover);
}

.tps-newsletter__disclaimer {
    font-size: var(--tps-text-xs);
    color: rgba(255, 255, 255, 0.35);
    margin-top: 1rem;
}

/* ==========================================================================
   18. Footer
   ========================================================================== */

.tps-footer {
    background-color: var(--tps-primary-dark);
    color: rgba(255, 255, 255, 0.6);
    padding-top: 5rem;
}

.tps-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--tps-border-dark);
}

.tps-footer__brand {
    max-width: 280px;
}

.tps-footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    text-decoration: none;
}

.tps-footer__logo img {
    height: 32px;
    width: auto;
}

.tps-footer__logo-text {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-lg);
    font-weight: 700;
    color: var(--tps-white);
}

.tps-footer__brand-desc {
    font-size: var(--tps-text-sm);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tps-footer__social {
    display: flex;
    gap: 0.75rem;
}

.tps-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--tps-radius);
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--tps-transition);
    text-decoration: none;
}

.tps-footer__social-link:hover {
    background-color: var(--tps-accent);
    border-color: var(--tps-accent);
    color: var(--tps-white);
    transform: translateY(-2px);
}

.tps-footer__social-link svg {
    width: 16px;
    height: 16px;
}

/* Footer Columns */
.tps-footer__column-title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-sm);
    font-weight: 700;
    color: var(--tps-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.tps-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tps-footer__link {
    font-size: var(--tps-text-sm);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color var(--tps-transition);
}

.tps-footer__link:hover {
    color: var(--tps-white);
}

/* Footer Bottom Bar */
.tps-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 0;
}

.tps-footer__copyright {
    font-size: var(--tps-text-xs);
    color: rgba(255, 255, 255, 0.35);
}

.tps-footer__ruo {
    font-size: var(--tps-text-xs);
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    flex: 1;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--tps-radius);
}

.tps-footer__payments {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tps-footer__payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    opacity: 0.5;
}

.tps-footer__payment-icon img,
.tps-footer__payment-icon svg {
    max-width: 28px;
    max-height: 18px;
}

/* ==========================================================================
   19. Shop Page
   ========================================================================== */

.tps-shop {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}

/* Sidebar */
.tps-shop__sidebar {
    position: sticky;
    top: 100px;
}

.tps-filter-group {
    margin-bottom: 2rem;
}

.tps-filter-group__title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tps-text);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--tps-border);
}

.tps-filter-group__list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.tps-filter-group__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    border-radius: var(--tps-radius);
    text-decoration: none;
    transition: all var(--tps-transition);
}

.tps-filter-group__link:hover {
    color: var(--tps-accent);
    background-color: var(--tps-accent-light);
}

.tps-filter-group__link--active {
    color: var(--tps-accent);
    background-color: var(--tps-accent-light);
    font-weight: 600;
}

.tps-filter-group__count {
    font-size: var(--tps-text-xs);
    color: var(--tps-text-muted);
    background-color: var(--tps-off-white);
    padding: 0.1rem 0.5rem;
    border-radius: var(--tps-radius-full);
}

/* Shop Toolbar */
.tps-shop__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--tps-border);
}

.tps-shop__count {
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
}

.tps-shop__sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tps-shop__sort-label {
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    white-space: nowrap;
}

.tps-shop__sort-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: var(--tps-text-sm);
    color: var(--tps-text);
    background-color: var(--tps-white);
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    cursor: pointer;
    transition: border-color var(--tps-transition);
}

.tps-shop__sort-select:focus {
    outline: none;
    border-color: var(--tps-accent);
}

/* Pagination */
.tps-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--tps-border);
}

.tps-pagination__link,
.tps-pagination__current {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: var(--tps-text-sm);
    font-weight: 500;
    border-radius: var(--tps-radius);
    transition: all var(--tps-transition);
    text-decoration: none;
}

.tps-pagination__link {
    color: var(--tps-text-muted);
    border: 1px solid var(--tps-border);
}

.tps-pagination__link:hover {
    color: var(--tps-accent);
    border-color: var(--tps-accent);
    background-color: var(--tps-accent-light);
}

.tps-pagination__current {
    background-color: var(--tps-accent);
    color: var(--tps-white);
    border: 1px solid var(--tps-accent);
}

.tps-pagination__prev,
.tps-pagination__next {
    width: auto;
    padding: 0 1rem;
    gap: 0.3rem;
}

.tps-pagination__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--tps-text-muted);
    font-size: var(--tps-text-sm);
}

/* ==========================================================================
   20. Single Product
   ========================================================================== */

.tps-single-product {
    padding-top: 100px;
}

/* Breadcrumb */
.tps-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.tps-breadcrumb a {
    color: var(--tps-text-muted);
    text-decoration: none;
    transition: color var(--tps-transition);
}

.tps-breadcrumb a:hover {
    color: var(--tps-accent);
}

.tps-breadcrumb__separator {
    color: var(--tps-border);
    font-size: 0.75rem;
}

.tps-breadcrumb__current {
    color: var(--tps-text);
    font-weight: 500;
}

/* Product Layout */
.tps-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Product Gallery */
.tps-product-gallery {
    position: sticky;
    top: 100px;
}

.tps-product-gallery__main {
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: var(--tps-off-white);
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
}

.tps-product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tps-product-gallery__thumbs {
    display: flex;
    gap: 0.75rem;
}

.tps-product-gallery__thumb {
    width: 80px;
    height: 80px;
    background-color: var(--tps-off-white);
    border: 2px solid var(--tps-border);
    border-radius: var(--tps-radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--tps-transition);
}

.tps-product-gallery__thumb.active,
.tps-product-gallery__thumb:hover {
    border-color: var(--tps-accent);
}

.tps-product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Summary */
.tps-product-summary {
    padding-top: 0.5rem;
}

.tps-product-summary__purity-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    background-color: var(--tps-success-light);
    color: var(--tps-success);
    font-size: var(--tps-text-xs);
    font-weight: 700;
    border-radius: var(--tps-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
}

.tps-product-summary__purity-badge svg {
    width: 14px;
    height: 14px;
}

.tps-product-summary__title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-3xl);
    font-weight: 700;
    color: var(--tps-text);
    margin-bottom: 0.5rem;
}

.tps-product-summary__catalog {
    font-family: var(--tps-font-mono);
    font-size: var(--tps-text-xs);
    color: var(--tps-text-muted);
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}

.tps-product-summary__short-desc {
    font-size: var(--tps-text-base);
    color: var(--tps-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--tps-border);
}

/* Price */
.tps-product-summary__price {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-3xl);
    font-weight: 700;
    color: var(--tps-text);
    margin-bottom: 1.5rem;
}

.tps-product-summary__price del {
    font-size: var(--tps-text-lg);
    color: var(--tps-text-muted);
    font-weight: 400;
    margin-right: 0.5rem;
}

.tps-product-summary__price ins {
    text-decoration: none;
    color: var(--tps-accent);
}

/* Variations / Size selector */
.tps-product-summary__variations {
    margin-bottom: 2rem;
}

.tps-product-summary__variation-label {
    font-size: var(--tps-text-sm);
    font-weight: 600;
    color: var(--tps-text);
    margin-bottom: 0.75rem;
}

.tps-product-summary__variation-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tps-product-summary__variation-btn {
    padding: 0.5rem 1.25rem;
    font-size: var(--tps-text-sm);
    font-weight: 500;
    color: var(--tps-text);
    background-color: var(--tps-white);
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius);
    cursor: pointer;
    transition: all var(--tps-transition);
}

.tps-product-summary__variation-btn:hover {
    border-color: var(--tps-accent);
    color: var(--tps-accent);
}

.tps-product-summary__variation-btn.active {
    border-color: var(--tps-accent);
    background-color: var(--tps-accent-light);
    color: var(--tps-accent);
    font-weight: 600;
}

/* Add to Cart Section */
.tps-product-summary__cart-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.tps-product-summary__quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius);
    overflow: hidden;
}

.tps-product-summary__quantity-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 44px;
    background-color: var(--tps-off-white);
    border: none;
    cursor: pointer;
    color: var(--tps-text);
    font-size: 1.1rem;
    transition: background-color var(--tps-transition);
}

.tps-product-summary__quantity-btn:hover {
    background-color: var(--tps-border);
}

.tps-product-summary__quantity input {
    width: 50px;
    height: 44px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--tps-border);
    border-right: 1px solid var(--tps-border);
    font-size: var(--tps-text-base);
    font-weight: 600;
    -moz-appearance: textfield;
    outline: none;
}

.tps-product-summary__quantity input::-webkit-outer-spin-button,
.tps-product-summary__quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tps-product-summary__add-to-cart {
    flex: 1;
}

/* Scientific Data */
.tps-product-summary__data {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--tps-off-white);
    border-radius: var(--tps-radius-lg);
    border: 1px solid var(--tps-border);
}

.tps-product-summary__data-title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tps-text);
    margin-bottom: 1rem;
}

.tps-product-summary__data-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.tps-product-summary__data-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.tps-product-summary__data-label {
    font-size: var(--tps-text-xs);
    color: var(--tps-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tps-product-summary__data-value {
    font-family: var(--tps-font-mono);
    font-size: var(--tps-text-sm);
    font-weight: 600;
    color: var(--tps-text);
}

/* Trust Badges */
.tps-product-summary__trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--tps-border);
}

.tps-product-summary__trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--tps-text-xs);
    color: var(--tps-text-muted);
}

.tps-product-summary__trust-item svg {
    width: 16px;
    height: 16px;
    color: var(--tps-success);
    flex-shrink: 0;
}

/* ==========================================================================
   21. COA Section
   ========================================================================== */

.tps-coa-section {
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    background-color: var(--tps-white);
}

.tps-coa-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tps-coa-section__title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-xl);
    font-weight: 700;
}

.tps-coa-section__download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tps-coa-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tps-coa-section__item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    background-color: var(--tps-off-white);
    border-radius: var(--tps-radius);
}

.tps-coa-section__item-label {
    font-size: var(--tps-text-xs);
    color: var(--tps-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tps-coa-section__item-value {
    font-family: var(--tps-font-mono);
    font-size: var(--tps-text-base);
    font-weight: 600;
    color: var(--tps-text);
}

.tps-coa-section__chromatogram {
    width: 100%;
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius);
    overflow: hidden;
}

.tps-coa-section__chromatogram img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   22. Product Tabs
   ========================================================================== */

.tps-product-tabs {
    margin-bottom: 4rem;
}

.tps-product-tabs__nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--tps-border);
    margin-bottom: 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tps-product-tabs__nav::-webkit-scrollbar {
    display: none;
}

.tps-product-tabs__tab {
    padding: 1rem 1.75rem;
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-sm);
    font-weight: 600;
    color: var(--tps-text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--tps-transition);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tps-product-tabs__tab:hover {
    color: var(--tps-text);
}

.tps-product-tabs__tab.active {
    color: var(--tps-accent);
    border-bottom-color: var(--tps-accent);
}

.tps-product-tabs__content {
    display: none;
    padding: 0.5rem 0;
}

.tps-product-tabs__content.active {
    display: block;
}

.tps-product-tabs__content h3 {
    font-size: var(--tps-text-xl);
    margin-bottom: 1rem;
}

.tps-product-tabs__content p {
    color: var(--tps-text-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.tps-product-tabs__content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.tps-product-tabs__content ul li {
    color: var(--tps-text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.tps-product-tabs__content table {
    width: 100%;
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.tps-product-tabs__content th,
.tps-product-tabs__content td {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: var(--tps-text-sm);
    border-bottom: 1px solid var(--tps-border);
}

.tps-product-tabs__content th {
    background-color: var(--tps-off-white);
    font-weight: 600;
    color: var(--tps-text);
}

.tps-product-tabs__content td {
    color: var(--tps-text-muted);
}

.tps-product-tabs__content tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   23. Lab Testing Page
   ========================================================================== */

.tps-lab-testing {
    padding-top: 100px;
}

/* Method Cards */
.tps-method-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.tps-method-card {
    position: relative;
    padding: 2rem;
    background-color: var(--tps-white);
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius-lg);
    transition: transform var(--tps-transition), box-shadow var(--tps-transition);
}

.tps-method-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tps-shadow-md);
}

.tps-method-card__number {
    position: absolute;
    top: -12px;
    left: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--tps-accent), var(--tps-secondary-accent));
    color: var(--tps-white);
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-sm);
    font-weight: 700;
    border-radius: 50%;
}

.tps-method-card__title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-lg);
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.tps-method-card__desc {
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    line-height: 1.7;
}

/* COA Legend */
.tps-coa-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.tps-coa-legend__item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--tps-off-white);
    border-radius: var(--tps-radius-lg);
    border: 1px solid var(--tps-border);
}

.tps-coa-legend__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--tps-accent-light);
    border-radius: var(--tps-radius);
    color: var(--tps-accent);
    flex-shrink: 0;
}

.tps-coa-legend__icon svg {
    width: 20px;
    height: 20px;
}

.tps-coa-legend__content {
    flex: 1;
}

.tps-coa-legend__title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-base);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.tps-coa-legend__desc {
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    line-height: 1.6;
}

/* Sample COA Table */
.tps-coa-table {
    width: 100%;
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius-lg);
    overflow: hidden;
    margin-bottom: 4rem;
}

.tps-coa-table th,
.tps-coa-table td {
    padding: 0.85rem 1.25rem;
    text-align: left;
    font-size: var(--tps-text-sm);
    border-bottom: 1px solid var(--tps-border);
}

.tps-coa-table th {
    background-color: var(--tps-primary-dark);
    color: var(--tps-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: var(--tps-text-xs);
}

.tps-coa-table td {
    color: var(--tps-text);
}

.tps-coa-table tr:nth-child(even) td {
    background-color: var(--tps-off-white);
}

.tps-coa-table tr:last-child td {
    border-bottom: none;
}

.tps-coa-table__pass {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--tps-success);
    font-weight: 600;
}

.tps-coa-table__pass svg {
    width: 14px;
    height: 14px;
}

/* COA Search */
.tps-coa-search {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.tps-coa-search__form {
    display: flex;
    gap: 0;
}

.tps-coa-search__input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    font-size: var(--tps-text-sm);
    border: 2px solid var(--tps-border);
    border-right: none;
    border-radius: var(--tps-radius) 0 0 var(--tps-radius);
    outline: none;
    transition: border-color var(--tps-transition);
}

.tps-coa-search__input:focus {
    border-color: var(--tps-accent);
}

.tps-coa-search__input::placeholder {
    color: var(--tps-text-muted);
}

.tps-coa-search__btn {
    padding: 0.85rem 1.75rem;
    background-color: var(--tps-accent);
    color: var(--tps-white);
    font-size: var(--tps-text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: 2px solid var(--tps-accent);
    border-radius: 0 var(--tps-radius) var(--tps-radius) 0;
    cursor: pointer;
    transition: background-color var(--tps-transition);
}

.tps-coa-search__btn:hover {
    background-color: var(--tps-accent-hover);
    border-color: var(--tps-accent-hover);
}

/* COA Card Grid */
.tps-coa-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tps-coa-card {
    background-color: var(--tps-white);
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius-lg);
    padding: 1.5rem;
    transition: transform var(--tps-transition), box-shadow var(--tps-transition);
}

.tps-coa-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tps-shadow-md);
}

.tps-coa-card__product {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-base);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.tps-coa-card__batch {
    font-family: var(--tps-font-mono);
    font-size: var(--tps-text-xs);
    color: var(--tps-text-muted);
    margin-bottom: 0.75rem;
}

.tps-coa-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--tps-border);
}

.tps-coa-card__purity {
    font-weight: 700;
    color: var(--tps-success);
    font-size: var(--tps-text-sm);
}

.tps-coa-card__link {
    font-size: var(--tps-text-xs);
    font-weight: 600;
    color: var(--tps-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap var(--tps-transition);
}

.tps-coa-card__link:hover {
    gap: 0.5rem;
}

.tps-coa-card__link svg {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   24. FAQ Page
   ========================================================================== */

.tps-faq {
    padding-top: 100px;
}

.tps-faq-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    justify-content: center;
}

.tps-faq-categories__btn {
    padding: 0.5rem 1.25rem;
    font-size: var(--tps-text-sm);
    font-weight: 500;
    color: var(--tps-text-muted);
    background: none;
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius-full);
    cursor: pointer;
    transition: all var(--tps-transition);
}

.tps-faq-categories__btn:hover {
    color: var(--tps-accent);
    border-color: var(--tps-accent);
}

.tps-faq-categories__btn.active {
    background-color: var(--tps-accent);
    color: var(--tps-white);
    border-color: var(--tps-accent);
}

/* Accordion */
.tps-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.tps-accordion__item {
    border-bottom: 1px solid var(--tps-border);
}

.tps-accordion__item:first-child {
    border-top: 1px solid var(--tps-border);
}

.tps-accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 0;
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-base);
    font-weight: 600;
    color: var(--tps-text);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    transition: color var(--tps-transition);
}

.tps-accordion__trigger:hover {
    color: var(--tps-accent);
}

.tps-accordion__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--tps-text-muted);
    transition: transform var(--tps-transition), color var(--tps-transition);
}

.tps-accordion__icon svg {
    width: 16px;
    height: 16px;
}

.tps-accordion__item.active .tps-accordion__icon {
    transform: rotate(180deg);
    color: var(--tps-accent);
}

.tps-accordion__item.active .tps-accordion__trigger {
    color: var(--tps-accent);
}

.tps-accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tps-accordion__content-inner {
    padding: 0 0 1.5rem;
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    line-height: 1.8;
}

.tps-accordion__content-inner p {
    margin-bottom: 0.75rem;
}

.tps-accordion__content-inner p:last-child {
    margin-bottom: 0;
}

.tps-accordion__content-inner a {
    color: var(--tps-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tps-accordion__content-inner a:hover {
    color: var(--tps-accent-hover);
}

/* ==========================================================================
   25. Contact Page
   ========================================================================== */

.tps-contact {
    padding-top: 100px;
}

.tps-contact__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: flex-start;
}

/* Contact Form */
.tps-contact-form {
    background-color: var(--tps-white);
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius-lg);
    padding: 2.5rem;
}

.tps-contact-form__title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-2xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tps-contact-form__desc {
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    margin-bottom: 2rem;
}

.tps-contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tps-contact-form__group {
    margin-bottom: 1rem;
}

.tps-contact-form__group:last-child {
    margin-bottom: 0;
}

.tps-contact-form__submit {
    margin-top: 1.5rem;
}

/* Contact Info */
.tps-contact-info {
    background-color: var(--tps-primary-dark);
    border-radius: var(--tps-radius-lg);
    padding: 2.5rem;
    color: var(--tps-white);
}

.tps-contact-info__title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-2xl);
    font-weight: 700;
    color: var(--tps-white);
    margin-bottom: 0.5rem;
}

.tps-contact-info__desc {
    font-size: var(--tps-text-sm);
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 2rem;
}

.tps-contact-info__items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tps-contact-info__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.tps-contact-info__item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(37, 99, 235, 0.15);
    border-radius: var(--tps-radius);
    color: var(--tps-secondary-accent);
    flex-shrink: 0;
}

.tps-contact-info__item-icon svg {
    width: 18px;
    height: 18px;
}

.tps-contact-info__item-label {
    font-size: var(--tps-text-xs);
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.tps-contact-info__item-value {
    font-size: var(--tps-text-sm);
    color: var(--tps-white);
    font-weight: 500;
}

.tps-contact-info__item-value a {
    color: var(--tps-white);
    text-decoration: none;
    transition: color var(--tps-transition);
}

.tps-contact-info__item-value a:hover {
    color: var(--tps-secondary-accent);
}

.tps-contact-info__hours {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tps-contact-info__hours-title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-sm);
    font-weight: 700;
    color: var(--tps-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.tps-contact-info__hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.tps-contact-info__hours-item {
    display: flex;
    justify-content: space-between;
    font-size: var(--tps-text-sm);
    color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   26. Legal Pages
   ========================================================================== */

.tps-legal {
    padding-top: 100px;
}

.tps-legal-content {
    max-width: var(--tps-container-narrow);
    margin: 0 auto;
    padding: 2rem 0;
}

.tps-legal-content h1 {
    font-size: var(--tps-text-4xl);
    margin-bottom: 1rem;
}

.tps-legal-content .tps-legal-updated {
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--tps-border);
}

.tps-legal-content h2 {
    font-size: var(--tps-text-2xl);
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--tps-border);
}

.tps-legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.tps-legal-content h3 {
    font-size: var(--tps-text-xl);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.tps-legal-content p {
    font-size: var(--tps-text-base);
    color: var(--tps-text-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.tps-legal-content ul,
.tps-legal-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.tps-legal-content ul {
    list-style: disc;
}

.tps-legal-content ol {
    list-style: decimal;
}

.tps-legal-content li {
    font-size: var(--tps-text-base);
    color: var(--tps-text-muted);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.tps-legal-content a {
    color: var(--tps-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--tps-transition);
}

.tps-legal-content a:hover {
    color: var(--tps-accent-hover);
}

.tps-legal-content blockquote {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--tps-accent);
    background-color: var(--tps-accent-light);
    border-radius: 0 var(--tps-radius) var(--tps-radius) 0;
}

.tps-legal-content blockquote p {
    color: var(--tps-text);
    font-style: italic;
    margin-bottom: 0;
}

.tps-legal-content strong {
    color: var(--tps-text);
}

/* ==========================================================================
   27. About Page
   ========================================================================== */

.tps-about {
    padding-top: 100px;
}

/* Stat Grid */
.tps-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.tps-stat-card {
    padding: 2.5rem 2rem;
    text-align: center;
    background-color: var(--tps-white);
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius-lg);
    transition: transform var(--tps-transition), box-shadow var(--tps-transition);
}

.tps-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tps-shadow-md);
}

.tps-section--dark .tps-stat-card {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: var(--tps-border-dark);
}

.tps-stat-card__number {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-4xl);
    font-weight: 700;
    color: var(--tps-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.tps-section--dark .tps-stat-card__number {
    background: linear-gradient(135deg, var(--tps-accent), var(--tps-secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tps-stat-card__label {
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    font-weight: 500;
}

.tps-section--dark .tps-stat-card__label {
    color: rgba(255, 255, 255, 0.55);
}

/* Team Cards */
.tps-team {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tps-team-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: var(--tps-white);
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius-lg);
    transition: transform var(--tps-transition), box-shadow var(--tps-transition);
}

.tps-team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tps-shadow-md);
}

.tps-team-card__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--tps-accent), var(--tps-secondary-accent));
    color: var(--tps-white);
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-2xl);
    font-weight: 700;
    border-radius: 50%;
}

.tps-team-card__name {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-lg);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.tps-team-card__role {
    font-size: var(--tps-text-sm);
    color: var(--tps-accent);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.tps-team-card__bio {
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   28. Forms
   ========================================================================== */

.tps-form-group {
    margin-bottom: 1rem;
}

.tps-form-label {
    display: block;
    font-size: var(--tps-text-sm);
    font-weight: 600;
    color: var(--tps-text);
    margin-bottom: 0.4rem;
}

.tps-form-label .required {
    color: #EF4444;
    margin-left: 0.15rem;
}

.tps-form-input,
.tps-form-select,
.tps-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--tps-font-body);
    font-size: var(--tps-text-sm);
    color: var(--tps-text);
    background-color: var(--tps-white);
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius);
    outline: none;
    transition: border-color var(--tps-transition), box-shadow var(--tps-transition);
}

.tps-form-input:focus,
.tps-form-select:focus,
.tps-form-textarea:focus {
    border-color: var(--tps-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.tps-form-input::placeholder,
.tps-form-textarea::placeholder {
    color: var(--tps-text-muted);
}

.tps-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.tps-form-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.tps-form-help {
    font-size: var(--tps-text-xs);
    color: var(--tps-text-muted);
    margin-top: 0.3rem;
}

.tps-form-error {
    font-size: var(--tps-text-xs);
    color: #EF4444;
    margin-top: 0.3rem;
}

.tps-form-input.error,
.tps-form-select.error,
.tps-form-textarea.error {
    border-color: #EF4444;
}

.tps-form-input.error:focus,
.tps-form-select.error:focus,
.tps-form-textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Checkbox & Radio */
.tps-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
}

.tps-form-checkbox input[type="checkbox"],
.tps-form-checkbox input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    accent-color: var(--tps-accent);
    cursor: pointer;
    flex-shrink: 0;
}

.tps-form-checkbox span {
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   29. WooCommerce Overrides
   ========================================================================== */

/* Breadcrumb */
.woocommerce-breadcrumb {
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.woocommerce-breadcrumb a {
    color: var(--tps-text-muted);
    text-decoration: none;
    transition: color var(--tps-transition);
}

.woocommerce-breadcrumb a:hover {
    color: var(--tps-accent);
}

/* Price */
.woocommerce .price,
.woocommerce p.price {
    font-family: var(--tps-font-headline);
    font-weight: 700;
    color: var(--tps-text);
}

.woocommerce .price del {
    color: var(--tps-text-muted);
    font-weight: 400;
    opacity: 0.7;
}

.woocommerce .price ins {
    text-decoration: none;
    color: var(--tps-accent);
}

/* Quantity Selector */
.woocommerce .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius);
    overflow: hidden;
}

.woocommerce .quantity .qty {
    width: 50px;
    height: 44px;
    text-align: center;
    border: none;
    font-size: var(--tps-text-base);
    font-weight: 600;
    -moz-appearance: textfield;
    outline: none;
}

.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart Button */
.woocommerce .single_add_to_cart_button,
.woocommerce .button.add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background-color: var(--tps-accent) !important;
    color: var(--tps-white) !important;
    font-family: var(--tps-font-body);
    font-size: var(--tps-text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border: none !important;
    border-radius: var(--tps-radius) !important;
    cursor: pointer;
    transition: all var(--tps-transition);
}

.woocommerce .single_add_to_cart_button:hover,
.woocommerce .button.add_to_cart_button:hover {
    background-color: var(--tps-accent-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* Related Products */
.woocommerce .related.products {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--tps-border);
}

.woocommerce .related.products h2 {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-2xl);
    font-weight: 700;
    margin-bottom: 2rem;
}

.woocommerce .related.products ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.woocommerce .related.products ul.products li.product {
    margin: 0;
    padding: 0;
    float: none;
    width: auto;
}

/* WooCommerce Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 1rem 1.5rem;
    border-radius: var(--tps-radius);
    margin-bottom: 1.5rem;
    font-size: var(--tps-text-sm);
    line-height: 1.6;
}

.woocommerce-message {
    background-color: var(--tps-success-light);
    border-left: 4px solid var(--tps-success);
    color: #065F46;
}

.woocommerce-info {
    background-color: var(--tps-accent-light);
    border-left: 4px solid var(--tps-accent);
    color: #1E40AF;
}

.woocommerce-error {
    background-color: rgba(239, 68, 68, 0.08);
    border-left: 4px solid #EF4444;
    color: #991B1B;
}

.woocommerce-error li {
    list-style: none;
}

/* WooCommerce Rating */
.woocommerce .star-rating {
    color: #FBBF24;
    font-size: 0.85rem;
}

/* Sale badge */
.woocommerce span.onsale {
    background-color: var(--tps-accent);
    color: var(--tps-white);
    font-size: var(--tps-text-xs);
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: var(--tps-radius-full);
    min-width: auto;
    min-height: auto;
    line-height: 1;
}

/* Cart & Checkout shared styles */
.woocommerce table.shop_table {
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius-lg);
    overflow: hidden;
}

.woocommerce table.shop_table th {
    background-color: var(--tps-off-white);
    font-family: var(--tps-font-headline);
    font-weight: 700;
    font-size: var(--tps-text-sm);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--tps-border);
}

.woocommerce table.shop_table td {
    padding: 1rem 1.25rem;
    font-size: var(--tps-text-sm);
    border-bottom: 1px solid var(--tps-border);
    vertical-align: middle;
}

.woocommerce table.shop_table tr:last-child td {
    border-bottom: none;
}

/* Coupon */
.woocommerce .coupon .input-text {
    padding: 0.65rem 1rem;
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius);
    font-size: var(--tps-text-sm);
    outline: none;
    transition: border-color var(--tps-transition);
}

.woocommerce .coupon .input-text:focus {
    border-color: var(--tps-accent);
}

/* Checkout form */
.woocommerce-checkout .form-row label {
    display: block;
    font-size: var(--tps-text-sm);
    font-weight: 600;
    color: var(--tps-text);
    margin-bottom: 0.4rem;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: var(--tps-text-sm);
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius);
    outline: none;
    transition: border-color var(--tps-transition), box-shadow var(--tps-transition);
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: var(--tps-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Place order button */
.woocommerce #place_order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background-color: var(--tps-accent) !important;
    color: var(--tps-white) !important;
    font-family: var(--tps-font-body);
    font-size: var(--tps-text-base);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border: none !important;
    border-radius: var(--tps-radius) !important;
    cursor: pointer;
    transition: all var(--tps-transition);
    width: 100%;
}

.woocommerce #place_order:hover {
    background-color: var(--tps-accent-hover) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* ==========================================================================
   30. Animations & Transitions
   ========================================================================== */

@keyframes tps-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes tps-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tps-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes tps-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Loading spinner */
.tps-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--tps-border);
    border-top-color: var(--tps-accent);
    border-radius: 50%;
    animation: tps-spin 0.7s linear infinite;
}

/* Added to cart animation */
.tps-product-card__add-to-cart.added {
    background-color: var(--tps-success);
    pointer-events: none;
}

/* Page transition */
.tps-page-transition {
    animation: tps-fade-in 0.4s ease;
}

/* Stagger animation delays for grid children */
.tps-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.tps-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.tps-stagger > *:nth-child(3) { transition-delay: 0.15s; }
.tps-stagger > *:nth-child(4) { transition-delay: 0.2s; }
.tps-stagger > *:nth-child(5) { transition-delay: 0.25s; }
.tps-stagger > *:nth-child(6) { transition-delay: 0.3s; }
.tps-stagger > *:nth-child(7) { transition-delay: 0.35s; }
.tps-stagger > *:nth-child(8) { transition-delay: 0.4s; }

/* ==========================================================================
   31. Responsive - 1280px
   ========================================================================== */

@media (max-width: 1280px) {
    :root {
        --tps-container-padding: 1.5rem;
    }

    .tps-products-grid {
        gap: 1.25rem;
    }

    .woocommerce .related.products ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   32. Responsive - 1024px
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --tps-section-padding: 80px;
    }

    /* Header */
    .tps-header__nav-list {
        display: none;
    }

    .tps-header__hamburger {
        display: flex;
    }

    /* Hero */
    .tps-hero {
        min-height: 85vh;
    }

    .tps-hero__content {
        max-width: 700px;
    }

    /* Categories */
    .tps-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Products Grid */
    .tps-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tps-products-grid--shop {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Features */
    .tps-features {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Steps */
    .tps-steps {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        padding: 0;
    }

    .tps-steps::before {
        top: 28px;
        left: 50%;
        right: auto;
        width: 2px;
        height: calc(100% - 56px);
        transform: translateX(-50%);
    }

    .tps-step {
        max-width: 350px;
    }

    /* Testimonials */
    .tps-testimonials {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .tps-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tps-footer__brand {
        grid-column: 1 / -1;
        max-width: none;
    }

    /* Shop */
    .tps-shop {
        grid-template-columns: 220px 1fr;
        gap: 2rem;
    }

    /* Single Product */
    .tps-product-layout {
        gap: 2rem;
    }

    /* COA */
    .tps-coa-section__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Method Cards */
    .tps-method-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* COA Legend */
    .tps-coa-legend {
        grid-template-columns: 1fr;
    }

    /* COA Cards */
    .tps-coa-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact */
    .tps-contact__grid {
        grid-template-columns: 1fr;
    }

    /* Team */
    .tps-team {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stat Grid */
    .tps-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Related Products */
    .woocommerce .related.products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   33. Responsive - 768px
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --tps-section-padding: 60px;
        --tps-container-padding: 1.25rem;
    }

    /* Hero */
    .tps-hero {
        min-height: 80vh;
        padding-top: 70px;
    }

    .tps-hero__label {
        font-size: 0.65rem;
        margin-bottom: 1.5rem;
    }

    .tps-hero__subtitle {
        font-size: var(--tps-text-base);
        margin-bottom: 2rem;
    }

    .tps-hero__actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .tps-hero__actions .tps-btn {
        width: 100%;
    }

    .tps-hero__scroll {
        display: none;
    }

    /* Trust Bar */
    .tps-trust-bar__inner {
        flex-direction: column;
        gap: 1rem;
    }

    .tps-trust-bar__item + .tps-trust-bar__item::before {
        display: none;
    }

    /* Section Headers */
    .tps-section-header {
        margin-bottom: 2.5rem;
    }

    /* Categories */
    .tps-categories {
        grid-template-columns: 1fr;
    }

    .tps-category-card {
        min-height: 220px;
    }

    /* Products Grid */
    .tps-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Features */
    .tps-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tps-feature-card {
        padding: 1.5rem 1rem;
    }

    /* Steps */
    .tps-steps {
        gap: 2rem;
    }

    /* Testimonials */
    .tps-testimonials {
        grid-template-columns: 1fr;
    }

    /* Newsletter */
    .tps-newsletter__form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .tps-newsletter__input {
        border-right: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--tps-radius);
    }

    .tps-newsletter__btn {
        border-radius: var(--tps-radius);
    }

    /* Footer */
    .tps-footer {
        padding-top: 3rem;
    }

    .tps-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tps-footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .tps-footer__ruo {
        order: -1;
    }

    /* Shop */
    .tps-shop {
        grid-template-columns: 1fr;
    }

    .tps-shop__sidebar {
        position: static;
        display: none;
    }

    .tps-shop__sidebar.active {
        display: block;
        padding: 1.5rem;
        background-color: var(--tps-off-white);
        border-radius: var(--tps-radius-lg);
        margin-bottom: 1.5rem;
    }

    .tps-shop__toolbar {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    /* Single Product */
    .tps-single-product {
        padding-top: 80px;
    }

    .tps-product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tps-product-gallery {
        position: static;
    }

    .tps-product-summary__cart-actions {
        flex-direction: column;
    }

    .tps-product-summary__quantity {
        width: 100%;
        justify-content: center;
    }

    .tps-product-summary__add-to-cart {
        width: 100%;
    }

    .tps-product-summary__data-list {
        grid-template-columns: 1fr;
    }

    .tps-product-summary__trust {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* COA */
    .tps-coa-section {
        padding: 1.5rem;
    }

    .tps-coa-section__grid {
        grid-template-columns: 1fr;
    }

    /* Product Tabs */
    .tps-product-tabs__tab {
        padding: 0.75rem 1.25rem;
        font-size: var(--tps-text-xs);
    }

    /* Method Cards */
    .tps-method-cards {
        grid-template-columns: 1fr;
    }

    /* COA Cards */
    .tps-coa-cards {
        grid-template-columns: 1fr;
    }

    /* COA Search */
    .tps-coa-search__form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .tps-coa-search__input {
        border-right: 2px solid var(--tps-border);
        border-radius: var(--tps-radius);
    }

    .tps-coa-search__btn {
        border-radius: var(--tps-radius);
    }

    /* FAQ */
    .tps-faq {
        padding-top: 80px;
    }

    .tps-accordion__trigger {
        font-size: var(--tps-text-sm);
        padding: 1rem 0;
    }

    /* Contact */
    .tps-contact {
        padding-top: 80px;
    }

    .tps-contact-form {
        padding: 1.5rem;
    }

    .tps-contact-form__row {
        grid-template-columns: 1fr;
    }

    .tps-contact-info {
        padding: 1.5rem;
    }

    /* Legal */
    .tps-legal {
        padding-top: 80px;
    }

    /* About */
    .tps-about {
        padding-top: 80px;
    }

    .tps-team {
        grid-template-columns: 1fr;
    }

    /* Age Gate */
    .tps-age-gate__card {
        padding: 2rem 1.5rem;
    }

    .tps-age-gate__actions {
        flex-direction: column;
    }

    .tps-age-gate__actions .tps-btn {
        max-width: none;
    }

    /* Pagination */
    .tps-pagination {
        flex-wrap: wrap;
    }

    /* Related Products */
    .woocommerce .related.products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   34. Responsive - 480px
   ========================================================================== */

@media (max-width: 480px) {
    :root {
        --tps-section-padding: 48px;
        --tps-container-padding: 1rem;
    }

    /* Products Grid */
    .tps-products-grid {
        grid-template-columns: 1fr;
    }

    .tps-products-grid--shop {
        grid-template-columns: 1fr;
    }

    /* Product Card adjustments */
    .tps-product-card__info {
        padding: 1rem;
    }

    .tps-product-card__footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .tps-product-card__add-to-cart {
        width: 100%;
    }

    /* Buttons */
    .tps-btn {
        padding: 0.65rem 1.25rem;
        font-size: var(--tps-text-xs);
    }

    .tps-btn-lg {
        padding: 0.85rem 1.75rem;
        font-size: var(--tps-text-sm);
    }

    /* Stat Grid */
    .tps-stat-grid {
        grid-template-columns: 1fr;
    }

    .tps-stat-card {
        padding: 2rem 1.5rem;
    }

    /* Steps */
    .tps-step {
        max-width: 100%;
    }

    /* Gallery thumbs */
    .tps-product-gallery__thumb {
        width: 60px;
        height: 60px;
    }

    /* Header mobile menu */
    .tps-header__mobile-nav-link {
        font-size: var(--tps-text-xl);
        padding: 0.75rem;
    }

    /* Hero content padding */
    .tps-hero__content {
        padding: 1.5rem 0.5rem;
    }

    /* Footer */
    .tps-footer__bottom {
        padding: 1.5rem 0;
    }

    .tps-footer__payments {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* COA Table scroll */
    .tps-coa-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Product Tabs scroll */
    .tps-product-tabs__nav {
        gap: 0;
    }

    .tps-product-tabs__tab {
        padding: 0.65rem 1rem;
    }

    /* FAQ */
    .tps-faq-categories {
        gap: 0.4rem;
    }

    .tps-faq-categories__btn {
        padding: 0.4rem 0.9rem;
        font-size: var(--tps-text-xs);
    }

    /* Related Products */
    .woocommerce .related.products ul.products {
        grid-template-columns: 1fr;
    }

    /* WooCommerce table */
    .woocommerce table.shop_table th,
    .woocommerce table.shop_table td {
        padding: 0.75rem;
        font-size: var(--tps-text-xs);
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .tps-header,
    .tps-footer,
    .tps-age-gate,
    .tps-hero__canvas,
    .tps-hero__scroll,
    .tps-newsletter,
    .tps-header__hamburger,
    .tps-header__mobile-menu {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .tps-container {
        max-width: 100%;
        padding: 0;
    }

    .tps-section {
        padding: 1rem 0;
    }

    .tps-product-layout {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   HTML/CSS Class Name Compatibility Layer
   Maps HTML template class names to existing design tokens
   ========================================================================== */

/* --- CSS Scroll Reveal Animations --- */
.tps-animate-in--hidden {
    opacity: 0;
    transform: translateY(25px);
}

.tps-animate-in--visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Hero entrance animation */
.tps-hero__word,
.tps-hero__subtitle,
.tps-hero__actions,
.tps-hero__scroll-indicator {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.tps-hero__word.tps-hero-reveal,
.tps-hero__subtitle.tps-hero-reveal,
.tps-hero__actions.tps-hero-reveal,
.tps-hero__scroll-indicator.tps-hero-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hero Section --- */
.tps-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.tps-hero__gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 60%, var(--tps-primary-dark) 100%);
    z-index: 1;
    pointer-events: none;
}

.tps-hero__word {
    display: inline;
}

.tps-hero__word--accent {
    background: linear-gradient(135deg, var(--tps-accent), var(--tps-secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tps-hero__scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--tps-z-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.35);
    font-size: var(--tps-text-xs);
    font-family: var(--tps-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: tps-scroll-bounce 2s infinite ease-in-out;
}

/* --- Trust Bar --- */
.tps-trust-bar__divider {
    width: 1px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.1);
}

.tps-trust-bar__item svg {
    width: 20px;
    height: 20px;
    color: var(--tps-accent);
    flex-shrink: 0;
}

.tps-trust-bar__item span {
    font-size: var(--tps-text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.tps-trust-bar__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Categories Grid --- */
.tps-categories__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* --- Features Grid --- */
.tps-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.tps-category-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* --- Product Card --- */
.tps-product-card__purity-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    background-color: var(--tps-success);
    color: var(--tps-white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--tps-radius-full);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    z-index: 2;
}

.tps-product-card__purity-badge svg {
    width: 12px;
    height: 12px;
}

.tps-product-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: var(--tps-off-white);
}

.tps-product-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tps-product-card__cart-form {
    padding: 0 1.25rem 1.25rem;
}

/* --- Steps Section --- */
.tps-steps__line {
    position: absolute;
    top: 28px;
    left: calc(2rem + 28px);
    right: calc(2rem + 28px);
    height: 2px;
    background: linear-gradient(90deg, var(--tps-accent), var(--tps-secondary-accent));
    z-index: 0;
}

.tps-step__content {
    text-align: center;
}

/* --- Testimonials Grid --- */
.tps-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tps-testimonial-card__text {
    font-size: var(--tps-text-base);
    color: var(--tps-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.tps-section--dark .tps-testimonial-card__text {
    color: rgba(255, 255, 255, 0.8);
}

/* --- Section CTA --- */
.tps-section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* --- Newsletter --- */
.tps-newsletter__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 2rem;
}

.tps-newsletter__input-group {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.tps-newsletter__submit {
    padding: 0.85rem 1.75rem;
    background-color: var(--tps-accent);
    color: var(--tps-white);
    font-size: var(--tps-text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: 1px solid var(--tps-accent);
    border-radius: 0 var(--tps-radius) var(--tps-radius) 0;
    cursor: pointer;
    transition: background-color var(--tps-transition);
    white-space: nowrap;
}

.tps-newsletter__submit:hover {
    background-color: var(--tps-accent-hover);
}

/* --- Footer --- */
.tps-footer__col {
    min-width: 0;
}

.tps-footer__company {
    max-width: 280px;
}

.tps-footer__tagline {
    font-size: var(--tps-text-sm);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tps-footer__heading {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-sm);
    font-weight: 700;
    color: var(--tps-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.tps-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tps-footer__links li {
    margin: 0;
    padding: 0;
}

.tps-footer__links a {
    font-size: var(--tps-text-sm);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color var(--tps-transition);
}

.tps-footer__links a:hover {
    color: var(--tps-white);
}

.tps-footer__bottom-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tps-footer__bottom-left p {
    font-size: var(--tps-text-xs);
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.tps-footer__bottom-right {
    display: flex;
    align-items: center;
}

.tps-footer__ruo-disclaimer {
    font-size: var(--tps-text-xs);
    color: rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--tps-radius);
}

.tps-footer__payment-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tps-payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    opacity: 0.5;
}

.tps-payment-icon svg {
    max-width: 28px;
    max-height: 18px;
}

/* --- Page Hero (Shop, Category pages) --- */
.tps-page-hero {
    position: relative;
    padding: 8rem 0 4rem;
    background: linear-gradient(165deg, var(--tps-primary-dark) 0%, var(--tps-secondary-dark) 50%, var(--tps-surface-dark) 100%);
    text-align: center;
}

.tps-page-hero__content {
    max-width: 700px;
    margin: 0 auto;
}

.tps-page-hero__title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-4xl);
    font-weight: 700;
    color: var(--tps-white);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.tps-page-hero__desc {
    font-size: var(--tps-text-lg);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Shop Layout --- */
.tps-shop-layout {
    padding: 3rem 0;
}

.tps-shop-layout__inner {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.tps-shop-sidebar {
    position: sticky;
    top: 100px;
}

.tps-shop-sidebar__inner {
    display: flex;
    flex-direction: column;
}

.tps-shop-sidebar__title {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-lg);
    font-weight: 700;
    color: var(--tps-text);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--tps-accent);
}

.tps-shop-sidebar__close {
    display: none;
    margin-top: 1.5rem;
}

.tps-shop-products {
    min-width: 0;
}

.tps-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--tps-border);
}

.tps-shop-toolbar__left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tps-shop-toolbar__left .woocommerce-result-count {
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    margin: 0;
}

.tps-shop-toolbar__right {
    display: flex;
    align-items: center;
}

.tps-shop-toolbar__right .woocommerce-ordering select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: var(--tps-text-sm);
    color: var(--tps-text);
    background-color: var(--tps-white);
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    cursor: pointer;
}

.tps-shop-toolbar__filter-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: var(--tps-text-sm);
    font-weight: 600;
    color: var(--tps-text);
    background: var(--tps-white);
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius);
    cursor: pointer;
    transition: all var(--tps-transition);
}

.tps-shop-toolbar__filter-btn:hover {
    border-color: var(--tps-accent);
    color: var(--tps-accent);
}

.tps-shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

.tps-shop-pagination .woocommerce-pagination {
    text-align: center;
}

.tps-shop-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    font-size: var(--tps-text-sm);
    font-weight: 500;
    color: var(--tps-text-muted);
    background-color: var(--tps-white);
    border: 1px solid var(--tps-border);
    border-radius: var(--tps-radius);
    text-decoration: none;
    transition: all var(--tps-transition);
    margin: 0 0.2rem;
}

.tps-shop-pagination .page-numbers:hover,
.tps-shop-pagination .page-numbers.current {
    background-color: var(--tps-accent);
    border-color: var(--tps-accent);
    color: var(--tps-white);
}

.tps-shop-no-products {
    text-align: center;
    padding: 4rem 2rem;
}

.tps-shop-no-products svg {
    margin-bottom: 1.5rem;
}

.tps-shop-no-products h3 {
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-xl);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--tps-text);
}

.tps-shop-no-products p {
    font-size: var(--tps-text-base);
    color: var(--tps-text-muted);
    margin-bottom: 2rem;
}

/* --- Filter links (archive-product.php) --- */
.tps-filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
    border-radius: var(--tps-radius);
    text-decoration: none;
    transition: all var(--tps-transition);
}

.tps-filter-link:hover {
    color: var(--tps-accent);
    background-color: var(--tps-accent-light);
}

.tps-filter-link.tps-filter-active {
    color: var(--tps-accent);
    background-color: var(--tps-accent-light);
    font-weight: 600;
}

.tps-filter-count {
    font-size: var(--tps-text-xs);
    color: var(--tps-text-muted);
    background-color: var(--tps-off-white);
    padding: 0.1rem 0.5rem;
    border-radius: var(--tps-radius-full);
}

/* --- Breadcrumb --- */
.tps-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 0;
    font-size: var(--tps-text-sm);
    color: var(--tps-text-muted);
}

.tps-breadcrumb a {
    color: var(--tps-text-muted);
    text-decoration: none;
    transition: color var(--tps-transition);
}

.tps-breadcrumb a:hover {
    color: var(--tps-accent);
}

.tps-breadcrumb svg {
    opacity: 0.4;
}

/* --- Scientific Data (single product) --- */
.tps-scientific-data {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--tps-off-white);
    border-radius: var(--tps-radius-lg);
    border: 1px solid var(--tps-border);
}

.tps-scientific-data__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--tps-font-headline);
    font-size: var(--tps-text-base);
    font-weight: 700;
    color: var(--tps-text);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--tps-border);
}

.tps-scientific-data__list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1.5rem;
    margin: 0;
}

.tps-scientific-data__list dt {
    font-size: var(--tps-text-sm);
    font-weight: 600;
    color: var(--tps-text-muted);
}

.tps-scientific-data__list dd {
    font-size: var(--tps-text-sm);
    color: var(--tps-text);
    margin: 0;
}

.tps-scientific-data__list dd.mono {
    font-family: var(--tps-font-mono);
}

.tps-sequence-wrap {
    word-break: break-all;
}

/* --- Single Product Layout --- */
.tps-single-product-main {
    padding-top: 0;
}

.tps-single-product__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.tps-single-product__gallery {
    position: sticky;
    top: 100px;
}

.tps-single-product__gallery img {
    width: 100%;
    height: auto;
    border-radius: var(--tps-radius-lg);
}

.tps-single-product__summary {
    display: flex;
    flex-direction: column;
}

/* --- Compatibility: Responsive overrides --- */
@media (max-width: 1024px) {
    .tps-shop-layout__inner {
        grid-template-columns: 1fr;
    }

    .tps-shop-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--tps-white);
        z-index: var(--tps-z-modal);
        padding: 2rem;
        overflow-y: auto;
    }

    .tps-shop-sidebar.active {
        display: block;
    }

    .tps-shop-sidebar__close {
        display: block;
    }

    .tps-shop-toolbar__filter-btn {
        display: flex;
    }

    .tps-single-product__top {
        grid-template-columns: 1fr;
    }

    .tps-single-product__gallery {
        position: static;
    }
}

@media (max-width: 1024px) {
    .tps-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tps-categories__grid {
        grid-template-columns: 1fr;
    }

    .tps-testimonials__grid {
        grid-template-columns: 1fr;
    }

    .tps-features__grid {
        grid-template-columns: 1fr;
    }

    .tps-page-hero {
        padding: 6rem 0 3rem;
    }

    .tps-page-hero__title {
        font-size: var(--tps-text-3xl);
    }

    .tps-newsletter__input-group {
        flex-direction: column;
    }

    .tps-newsletter__input {
        border-right: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--tps-radius);
    }

    .tps-newsletter__submit {
        border-radius: var(--tps-radius);
    }

    .tps-footer__grid {
        grid-template-columns: 1fr;
    }

    .tps-footer__company {
        max-width: 100%;
    }

    .tps-steps {
        flex-direction: column;
        gap: 2rem;
        padding: 0;
    }

    .tps-steps__line {
        display: none;
    }

    .tps-step {
        max-width: 100%;
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
    }

    .tps-step__content {
        text-align: left;
    }

    .tps-step__number {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .tps-page-hero__title {
        font-size: var(--tps-text-2xl);
    }

    .tps-shop-toolbar {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}
