/* =========================
   Base
   ========================= */

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff; /* white background */
    color: #1e293b;
    margin: 0;
    font-size: 15.5px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Generic width container */

.site-wrap,
.site-main-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.site-wrap {
    padding: 0 1rem;
}

/* =========================

/* Header bar */

.cp-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.cp-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cp-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Logo / site title */

.cp-logo img {
    display: block;
    max-height: 40px;
    width: auto;
}

.cp-site-title {
    color: #1e293b;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Main nav */

.cp-header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cp-main-menu {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
}

.cp-main-menu > li {
    margin: 0;
}

.cp-main-menu > li > a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
    padding: 0.25rem 0;
    position: relative;
}

.cp-main-menu > li > a:hover,
.cp-main-menu > li.current-menu-item > a {
    color: #c4d0ff;
}

.cp-main-menu > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 0;
    height: 2px;
    background: var(--peptide-primary, #3b82f6);
    transition: width 0.18s ease-out;
}

.cp-main-menu > li > a:hover::after,
.cp-main-menu > li.current-menu-item > a::after {
    width: 100%;
}

/* Header right icons */

.cp-header-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cp-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 1rem;
    background: #ffffff;
    transition: background 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out, transform 0.1s ease-out;
}

.cp-header-icon:hover {
    background: #f1f5f9;
    border-color: var(--peptide-primary, #3b82f6);
    color: #1e293b;
    transform: translateY(-1px);
}

.cp-header-cart {
    position: relative;
}

.cp-cart-count {
    position: absolute;
    top: -0.25rem;
    right: -0.3rem;
    min-width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    background: var(--peptide-primary, #3b82f6);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   Main layout
   ========================= */

.site-main {
    flex: 1;
    padding: 2.5rem 1rem 3rem;
}

.page-header {
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.archive-description {
    font-size: 0.9rem;
    color: #64748b;
}

/* With sidebar (blog etc.) */

.site-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr);
    gap: 2rem;
}

/* Sidebar / widgets */

.site-sidebar {
    font-size: 0.9rem;
    color: #475569;
}

.widget {
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 0.75rem;
}

/* Simple post card (blog list) */

.post-card {
    padding: 1.25rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.post-card-title {
    margin-bottom: 0.25rem;
}

.post-card-title a {
    color: #1e293b;
}

.post-card-title a:hover {
    color: #a5b4fc;
}

.post-card-meta {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

/* Pagination */

.pagination {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    font-size: 0.85rem;
    text-decoration: none;
    color: #1e293b;
}

.pagination .page-numbers.current {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.pagination .page-numbers:hover:not(.current) {
    border-color: #4b5563;
}

/* =========================
   Hero + sections + cards (front page / marketing)
   ========================= */

.hero {
    padding: 3rem 1rem 2.5rem;
    background: radial-gradient(circle at top left, rgba(59,130,246,0.1), transparent 55%),
                radial-gradient(circle at top right, rgba(96,165,250,0.08), transparent 55%),
                #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

/* Peptide Sciences-style Hero - White & Blue */
.hero-peptide-style {
    position: relative;
    padding: 0;
    min-height: 600px;
    background: 
        /* Subtle blue healthcare gradients */
        radial-gradient(ellipse 800px 400px at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 800px 400px at 70% 50%, rgba(96, 165, 250, 0.06) 0%, transparent 50%),
        /* Light blue healthcare theme gradients */
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(147, 197, 253, 0.08) 0%, transparent 50%),
        /* White base */
        #ffffff;
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    overflow: hidden;
}

.hero-peptide-style::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Double helix pattern simulation */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(59, 130, 246, 0.03) 100px,
            rgba(59, 130, 246, 0.03) 200px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 100px,
            rgba(96, 165, 250, 0.03) 100px,
            rgba(96, 165, 250, 0.03) 200px
        );
    pointer-events: none;
    opacity: 0.6;
}

/* Left Sidebar Product List Button */
.hero-sidebar-button {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.hero-product-list-btn {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 1.5rem 0.75rem;
    border-radius: 0 0.5rem 0.5rem 0;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
}

.hero-product-list-btn:hover {
    background: #1d4ed8;
    transform: translateY(-50%) translateX(2px);
}

.hero-product-list-text {
    letter-spacing: 0.1em;
}

.hero-product-list-arrow {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.hero-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
    position: relative;
    z-index: 1;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    min-height: 500px;
}

/* Left: Promotional Text Box */
.hero-promo-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.hero-promo-eyebrow {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-promo-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1.25rem;
    line-height: 1.2;
}

.hero-product-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.8;
}

.hero-product-list li {
    margin-bottom: 0.4rem;
    padding-left: 1.2rem;
    position: relative;
}

.hero-product-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

.hero-purity-badge {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 1.5rem;
}

.hero-learn-more {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.hero-learn-more:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Right: Product Vials */
.hero-vials {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.hero-vial {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0.75rem;
    padding: 1.25rem 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    text-align: center;
    min-width: 140px;
    max-width: 160px;
    backdrop-filter: blur(10px);
}

.hero-vial-image {
    margin-bottom: 0.75rem;
}

.hero-vial-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.hero-vial-image-placeholder {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.hero-vial-placeholder-icon {
    font-size: 3rem;
    opacity: 0.6;
}

.hero-vial-label {
    font-size: 0.85rem;
}

.hero-vial-name {
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.hero-vial-weight {
    color: #4b5563;
    margin-bottom: 0.3rem;
    font-size: 0.8rem;
}

.hero-vial-purity {
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 0.8rem;
}

.hero-vial-disclaimer {
    color: #6b7280;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Carousel Indicators */
.hero-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-bottom: 1.5rem;
}

.hero-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.hero-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.hero-carousel-dot.active {
    background: #3b82f6;
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-vials {
        justify-content: center;
    }

    .hero-sidebar-button {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-peptide-style {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-promo-box {
        padding: 1.75rem 1.5rem;
    }

    .hero-vials {
        gap: 1rem;
    }

    .hero-vial {
        min-width: 120px;
        max-width: 140px;
    }
}

/* Sections */

.section {
    padding: 3rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.section:last-of-type {
    border-bottom: none;
}

.section > .site-wrap,
.section > .site-main-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 1.75rem;
}

.section-header h2 {
    margin: 0 0 0.4rem;
    font-size: 1.4rem;
    color: #1e293b;
}

.section-header p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

/* Grids & cards */

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    background: #ffffff;
    border-radius: 0.9rem;
    border: 1px solid #e2e8f0;
    padding: 1.25rem 1.3rem;
    box-shadow: 0 18px 45px rgba(0,0,0,0.45);
}

.card h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    color: #1e293b;
}

.card p {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
}

/* Buttons */

.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out, transform 0.08s ease-out;
}

.btn-primary {
    background: var(--peptide-primary, #3b82f6);
    border-color: var(--peptide-primary, #3b82f6);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.btn-outline {
    background: transparent;
    border-color: #4b5563;
    color: #1e293b;
}

.btn-outline:hover {
    border-color: var(--peptide-primary, #3b82f6);
    color: #1e293b;
}

/* Newsletter strip */

.newsletter {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.newsletter-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.newsletter h2 {
    margin: 0 0 0.4rem;
    font-size: 1.3rem;
}

.newsletter p {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
}

.newsletter-form form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.newsletter-form input[type="email"] {
    flex: 1 1 180px;
    min-width: 0;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #1e293b;
    font-size: 0.9rem;
}

/* Newsletter form button styling */
.newsletter-form button {
    background: var(--peptide-primary, #3b82f6);
    border-radius: 999px;
    border: 1px solid var(--peptide-primary, #3b82f6);
    padding: 0.55rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    color: #ffffff;
}

/* =========================
   Peptide Page (About / Services / Contact)
   ========================= */

.ps-page {
    padding: 2.5rem 1rem 0;
}

.ps-page-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.ps-page-header {
    margin-bottom: 1.8rem;
}

.ps-page-kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    color: #a5b4fc;
    margin: 0 0 0.4rem;
}

.ps-page-title {
    font-size: 1.7rem;
    margin: 0 0 0.4rem;
    color: #1e293b;
}

.ps-page-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
}

.ps-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: flex-start;
}

.ps-page-content {
    font-size: 0.96rem;
}

.ps-page-content p {
    margin-bottom: 1rem;
}

.ps-page-media-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
}

.ps-page-media-placeholder {
    border-radius: 1rem;
    border: 1px dashed #cbd5e1;
    padding: 1.25rem;
    font-size: 0.9rem;
    color: #64748b;
}

.ps-page-badges {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.ps-page-badges li {
    font-size: 0.78rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    padding: 0.25rem 0.7rem;
    color: #475569;
}

/* Stats / values / timeline */

.ps-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.ps-stat {
    padding: 1rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.ps-stat-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.2rem;
}

.ps-stat-label {
    font-size: 0.85rem;
    color: #475569;
}

/* Values grid */

.ps-values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Timeline */

.ps-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.2rem;
}

.ps-timeline-year {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #64748b;
    margin-bottom: 0.1rem;
}

.ps-timeline-title {
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 0.15rem;
}

.ps-timeline-body {
    font-size: 0.9rem;
    color: #475569;
}

/* Generic CTA */

.ps-generic-cta {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

.ps-cta-inner {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: radial-gradient(circle at top left, rgba(56,189,248,0.2), transparent 55%),
                #ffffff;
    padding: 1.8rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.ps-cta-copy h2 {
    margin: 0 0 0.4rem;
    font-size: 1.3rem;
}

.ps-cta-copy p {
    margin: 0;
    font-size: 0.92rem;
    color: #475569;
}

.ps-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* Services */

.ps-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ps-service-card h3 {
    font-size: 1rem;
}

/* Steps */

.ps-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.ps-steps li h3 {
    margin: 0 0 0.2rem;
    font-size: 0.98rem;
}

.ps-steps li p {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
}

/* Contact */

.ps-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
    gap: 2rem;
}

.ps-contact-panel {
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    padding: 1.4rem 1.3rem;
    background: #ffffff;
}

.ps-contact-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    font-size: 0.9rem;
}

.ps-contact-list li + li {
    margin-top: 0.7rem;
}

.ps-contact-note p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

.ps-contact-fallback-form p {
    margin: 0 0 0.7rem;
    font-size: 0.9rem;
}

.ps-contact-fallback-form label {
    display: block;
    margin-bottom: 0.25rem;
}

.ps-contact-fallback-form input,
.ps-contact-fallback-form textarea {
    width: 100%;
    border-radius: 0.6rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #1e293b;
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
}

.ps-contact-fallback-form button {
    margin-top: 0.3rem;
    background: var(--peptide-primary, #3b82f6);
    border-radius: 999px;
    border: 1px solid var(--peptide-primary, #3b82f6);
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.ps-contact-form-note {
    font-size: 0.8rem;
    color: #64748b;
}

/* FAQ */

.ps-faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ps-faq-item h3 {
    font-size: 0.98rem;
}

/* =========================
   Footer
   ========================= */

.site-footer {
    background: #ffffff;
    color: #64748b;
    font-size: 0.85rem;
    border-top: 1px solid #e2e8f0;
}

/* Main multi-column footer */

.footer-main {
    border-bottom: 1px solid #e2e8f0;
}

.footer-main-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1rem 2.25rem;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1.6fr);
    gap: 2.5rem;
}

.footer-col {
    font-size: 0.9rem;
}

/* Brand column */

.footer-logo img {
    max-height: 32px;
    width: auto;
}

.footer-logo-text {
    font-weight: 600;
    font-size: 1rem;
    color: #1e293b;
}

.footer-tagline {
    margin: 0.8rem 0 1rem;
    font-size: 0.85rem;
    color: #475569;
}

.footer-widgets {
    margin-top: 0.5rem;
}

/* Social */

.footer-social {
    margin-top: 0.9rem;
}

.footer-heading {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #475569;
    margin: 0 0 0.6rem;
}

.footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.footer-social-list li a {
    font-size: 0.8rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    padding: 0.25rem 0.7rem;
    color: #475569;
}

.footer-social-list li a:hover {
    border-color: var(--peptide-primary, #3b82f6);
}

/* Links column */

.footer-linklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.footer-linklist a {
    color: #1e293b;
    font-size: 0.86rem;
}

.footer-linklist a:hover {
    color: #c4d0ff;
}

/* Contact column */

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    gap: 0.6rem;
}

.footer-contact-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
    margin-bottom: 0.1rem;
}

/* Card icons */

.footer-cards-label {
    font-size: 0.8rem;
    color: #64748b;
    display: block;
    margin-bottom: 0.3rem;
}

.footer-card-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.footer-card-icons img {
    height: 20px;
    width: auto;
    opacity: 0.85;
}

/* Disclaimer band */

.footer-disclaimer {
    background: #ffffff;
}

.footer-disclaimer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.8rem 1rem;
    font-size: 0.8rem;
    color: #64748b;
}

.footer-disclaimer-inner p {
    margin: 0 0 0.6rem;
}

/* Bottom bar */

.footer-bottom {
    border-top: 1px solid #e2e8f0;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

.site-footer-note {
    margin: 0;
}

.footer-bottom-secondary {
    margin: 0;
    color: #64748b;
}

/* =========================
   Simple nav fallback (old .primary-menu)
   ========================= */

.primary-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.primary-menu a {
    color: #1e293b;
    text-decoration: none;
    font-size: 0.9rem;
}

.primary-menu a:hover {
    color: #a5b4fc;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .newsletter-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .ps-page-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .ps-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ps-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ps-contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-main-inner {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .site-main {
        padding-top: 2rem;
    }

    .cp-header-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.8rem;
    }

    .cp-header-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .cp-main-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .site-with-sidebar {
        grid-template-columns: 1fr;
    }

    .grid-3,
    .grid-4,
    .ps-values-grid,
    .ps-faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-main-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================
   New Peptide Sciences Style Components
   ========================= */

/* Header - PS Style */
.ps-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.ps-header-utility {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.85rem;
}

.ps-header-utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.ps-header-promo {
    color: #64748b;
}

.ps-utility-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.ps-utility-menu a {
    color: #475569;
    text-decoration: none;
}

.ps-utility-menu a:hover {
    color: #3b82f6;
}

.ps-header-account-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: fit-content;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

.ps-header-account-right .ps-utility-menu {
    gap: 1.5rem;
    flex-shrink: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.ps-utility-menu li {
    margin: 0;
}

.ps-utility-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    line-height: 1;
    white-space: nowrap;
}

.ps-utility-link:hover {
    color: #3b82f6;
}

.ps-utility-link .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.ps-header-main {
    padding: 1rem 0;
}

.ps-header-main-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 2rem;
    min-height: 60px;
    flex-wrap: nowrap;
}

.ps-header-main-inner > .ps-header-logo,
.ps-header-main-inner > .ps-header-search-center,
.ps-header-main-inner > .ps-header-account-right {
    display: flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.ps-header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

.ps-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.ps-logo-image,
.ps-header-logo img,
.ps-header-logo .custom-logo-link img {
    max-height: 50px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.ps-logo-icon {
    display: inline-flex;
    align-items: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.ps-company-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.ps-company-name-bold {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.ps-company-name-light {
    font-size: 1.1rem;
    font-weight: 400;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.ps-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.ps-header-nav-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.ps-header-nav-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
}

.ps-header-nav-below {
    display: flex;
    justify-content: center;
}

.ps-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 2rem;
}

.ps-main-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.75rem;
    align-items: center;
}

.ps-main-nav-left {
    justify-content: flex-start;
    flex: 1;
}

.ps-main-nav-right {
    justify-content: flex-end;
    flex-shrink: 0;
}

.ps-main-nav a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.ps-main-nav a:hover,
.ps-main-nav .current-menu-item > a {
    border-bottom-color: #3b82f6;
    color: #3b82f6;
}

.ps-header-search-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    padding: 0 2rem;
    vertical-align: middle;
    margin: 0;
}

.ps-header-search-center .header-search-form,
.ps-header-search-center .ps-search-form {
    width: 100%;
    max-width: 500px;
    min-width: 300px;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
    margin: 0;
    vertical-align: middle;
}

.ps-header-search-center .header-search-icon {
    display: flex;
    align-items: center;
    color: #6b7280;
    flex-shrink: 0;
}

.ps-header-search-center .header-search-icon .dashicons-search {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.ps-header-search-center .header-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem;
    color: #1e293b;
    min-width: 0;
    padding: 0;
    margin: 0;
    line-height: 1.5;
    vertical-align: middle;
}

.ps-header-search-center .header-search-input::placeholder {
    color: #9ca3af;
}

.ps-header-search-center .header-search-button {
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-header-search-center .header-search-button:hover {
    color: #3b82f6;
}

.ps-header-search-center .dashicons-search {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.ps-header-search {
    flex-shrink: 0;
}

.ps-header-search form {
    display: flex;
}

.ps-header-search input[type="search"] {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.9rem;
}

/* Hero Banner Section - Peptide Sciences Style */
.ps-hero-banner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(147, 197, 253, 0.04) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.ps-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 600px 300px at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 600px 300px at 80% 50%, rgba(147, 197, 253, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.ps-hero-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.ps-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.ps-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

.ps-hero-description {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #475569;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.ps-hero-badge {
    display: inline-block;
    background: #3b82f6;
    color: #ffffff;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.ps-hero-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

/* Categories Section - Peptide Sciences Style */
.ps-categories-section {
    padding: 5rem 0;
    background: #ffffff;
}

.ps-categories-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ps-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ps-category-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ps-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.ps-category-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.ps-category-image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f8fafc;
    position: relative;
}

.ps-category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ps-category-card:hover .ps-category-image {
    transform: scale(1.1);
}

.ps-category-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 197, 253, 0.05) 100%);
}

.ps-category-icon {
    font-size: 4rem;
    opacity: 0.6;
}

.ps-category-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ps-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem;
}

.ps-category-description {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
    flex: 1;
}

.ps-category-cta {
    color: #3b82f6;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: transform 0.2s;
}

.ps-category-card:hover .ps-category-cta {
    transform: translateX(5px);
}

/* Featured Products Section - Peptide Sciences Style */
.ps-featured-products {
    padding: 5rem 0;
    background: #f8fafc;
}

.ps-featured-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ps-section-subtitle {
    color: #64748b;
    font-size: 1.15rem;
    margin: 0;
}

/* Product Tabs */
.ps-product-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1rem;
}

.ps-tab-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.ps-tab-btn:hover {
    background: #f1f5f9;
    color: #3b82f6;
}

.ps-tab-btn.active {
    background: #3b82f6;
    color: #ffffff;
}

/* Products Grid - Clean Layout */
.ps-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Product Card - Clean Peptide Sciences Style */
.ps-product-card {
    background: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ps-product-card:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    border-color: #ffffff;
}

.ps-product-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ps-product-image-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
    aspect-ratio: 1 / 1;
}

.ps-product-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.ps-product-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ps-product-badge-new {
    background: #10b981;
    color: #ffffff;
}

.ps-product-badge-soldout {
    background: #ef4444;
    color: #ffffff;
}

.ps-product-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ps-product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem;
    line-height: 1.4;
    flex: 1;
}

.ps-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.ps-product-title a:hover {
    color: #3b82f6;
}

.ps-product-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.ps-product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ps-product-learn-more {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.ps-product-add-to-cart {
    display: block;
    text-align: center;
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.ps-product-add-to-cart:hover {
    color: #2563eb;
    text-decoration: underline;
}

.ps-product-notify {
    display: block;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

/* About Quality Section - Peptide Sciences Style */
.ps-about-quality {
    padding: 5rem 0;
    background: #ffffff;
}

.ps-about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Title - Used throughout */
.ps-section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1.5rem;
}

.ps-about-text {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.ps-about-text p {
    margin-bottom: 1rem;
}

.ps-about-image img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

.ps-about-placeholder {
    background: #f1f5f9;
    padding: 3rem;
    border-radius: 0.75rem;
    text-align: center;
    color: #64748b;
}

.ps-about-subsections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ps-about-subsection {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.75rem;
}

.ps-subsection-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem;
}

.ps-about-subsection p {
    color: #475569;
    margin: 0;
    line-height: 1.7;
}

/* Benefits Section */
.ps-benefits-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.ps-benefits-section .ps-section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.ps-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.ps-benefit-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.ps-benefit-icon {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.ps-benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem;
}

.ps-benefit-desc {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Newsletter Section */
.ps-newsletter-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 197, 253, 0.05) 100%);
}

.ps-newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.ps-newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.ps-newsletter-desc {
    color: #64748b;
    margin: 0 0 2rem;
}

.ps-newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto;
}

.ps-newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.95rem;
}

.ps-newsletter-submit {
    padding: 0.75rem 2rem;
}

/* Shop Page - Clean Layout Matching Peptide Sciences */
/* Shop page now uses standard page structure */
.section-page-default {
    padding: 2.5rem 1rem 3rem;
    background: #ffffff;
}

.page-header {
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #1e293b;
}

/* WooCommerce result count and ordering - Clean Layout */
.woocommerce-result-count,
.woocommerce-ordering {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.woocommerce-result-count {
    color: #64748b;
    font-size: 0.95rem;
    margin-right: 1rem;
}

.woocommerce-ordering {
    float: right;
}

.woocommerce-ordering select {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.95rem;
    background: #ffffff;
    color: #1e293b;
    cursor: pointer;
}

.woocommerce-ordering select:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Custom Product Sorting Dropdown */
.peptide-product-sorting {
    margin-bottom: 1.5rem;
    float: right;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.peptide-product-sorting label {
    font-weight: 500;
    color: #374151;
    font-size: 0.95rem;
    margin: 0;
}

.peptide-product-sorting select {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    background: #ffffff;
    color: #374151;
    font-size: 0.95rem;
    min-width: 160px;
    cursor: pointer;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.peptide-product-sorting select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.peptide-product-sorting select:hover {
    border-color: #d1d5db;
}

.peptide-product-sorting form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

/* Clear floats after sorting dropdown */
.peptide-product-sorting::after {
    content: '';
    display: table;
    clear: both;
}

/* Clear floats */
.ps-shop-header::after {
    content: '';
    display: table;
    clear: both;
}

/* Products Grid - Respects WooCommerce column setting */
.ps-shop-grid.products {
    display: grid;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    clear: both;
}

/* Support WooCommerce columns-X classes */
.ps-shop-grid.products.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.ps-shop-grid.products.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.ps-shop-grid.products.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.ps-shop-grid.products.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.ps-shop-grid.products.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* Fallback to 5 columns if no column class specified */
.ps-shop-grid.products:not(.columns-2):not(.columns-3):not(.columns-4):not(.columns-5):not(.columns-6) {
    grid-template-columns: repeat(5, 1fr);
}

.ps-shop-grid.products::before,
.ps-shop-grid.products::after {
    display: none;
}

/* Single Product */
.ps-single-product {
    padding: 2rem 0 4rem;
    background: #ffffff;
}

.ps-single-product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.ps-single-product-summary {
    padding: 1rem 0;
}


.ps-product-tabs-wrapper {
    margin-top: 3rem;
}

.ps-product-tabs-list {
    display: flex;
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    border-bottom: 2px solid #e2e8f0;
    gap: 2rem;
}

.ps-product-tabs-list li a {
    display: block;
    padding: 1rem 0;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.ps-product-tabs-list li.active a,
.ps-product-tabs-list li a:hover {
    color: #dc2626;
    border-bottom-color: #dc2626;
}

.ps-product-tabs-panel {
    padding: 2rem 0;
}

/* Buttons */
.btn-primary,
.btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid;
    cursor: pointer;
}

.btn-primary {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.btn-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    border-color: #3b82f6;
    color: #3b82f6;
}

.btn-outline:hover {
    background: #3b82f6;
    color: #ffffff;
}

/* Responsive - Peptide Sciences Style */
@media (max-width: 1024px) {
    .ps-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .ps-about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ps-shop-grid.products.columns-5,
    .ps-shop-grid.products.columns-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ps-header-main-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .ps-main-nav {
        flex-wrap: wrap;
        gap: 1rem;
        font-size: 0.9rem;
    }

    .ps-hero-banner {
        padding: 3rem 0;
    }

    .ps-categories-section,
    .ps-featured-products,
    .ps-about-quality,
    .ps-benefits-section {
        padding: 3rem 0;
    }

    .ps-categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ps-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }
    
    .ps-shop-grid.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .ps-shop-grid.products.columns-3,
    .ps-shop-grid.products.columns-4,
    .ps-shop-grid.products.columns-5,
    .ps-shop-grid.products.columns-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .woocommerce-ordering {
        float: none;
        margin-top: 1rem;
    }

    .ps-about-grid {
        grid-template-columns: 1fr;
    }

    .ps-single-product-content {
        grid-template-columns: 1fr;
    }

    .ps-newsletter-form {
        flex-direction: column;
    }

    .ps-product-tabs {
        overflow-x: auto;
        flex-wrap: wrap;
    }
    
    .ps-benefits-grid {
        grid-template-columns: 1fr;
    }
}
