/* ================================================================
   WBS Peptides — Main Stylesheet
   Replicating coffeeandpeppers.com UI (Cannara theme)
   ================================================================ */

/* ── Reset & Base ─────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #111827;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    height: auto
}

ul,
ol {
    list-style: none
}

button {
    cursor: pointer;
    font-family: inherit
}

input,
textarea,
select {
    font-family: inherit
}

/* ── Utilities ────────────────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px
}

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s;
    text-align: center;
}

.btn-primary:hover {
    background: #2563EB
}

.btn-rounded {
    border-radius: 46px
}

.btn-outline {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    color: #1a1a2e;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
}

.btn-outline:hover {
    border-color: #2563EB;
    color: #2563EB
}

/* ── Top Marquee Bar ──────────────────────────────────────────── */
.top-marquee {
    background: #F3F4F6;
    color: #374151;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .05em;
    height: 42px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.marquee-track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: marqueeScroll 40s linear infinite;
}

.marquee-item {
    padding: 0 12px
}

.marquee-dot {
    color: rgba(76, 75, 75, 0.4);
    padding: 0 4px
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* ── Header ───────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    height: 70px;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 20px;
}

.header-logo {
    display: flex;
    align-items: center
}

.logo-img {
    width: 120px;
    height: auto;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 4px;
}

.nav-menu a {
    display: block;
    padding: 8px 18px;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    border-radius: 6px;
    transition: all .15s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #111827;
    background: rgba(37, 99, 235, .06);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #2563EB;
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-icon-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #374151;
    border-radius: 50%;
    transition: all .15s;
    position: relative;
}

.header-icon-btn:hover {
    background: #f3f4f6;
    color: #111827
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: #2563EB;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: #374151;
    border-radius: 2px;
    transition: all .2s;
}

/* ── Side Panels ──────────────────────────────────────────────── */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 95;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible
}

.side-panel {
    position: fixed;
    top: 0;
    right: -400px;
    bottom: 0;
    width: 370px;
    background: #fff;
    z-index: 100;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .1);
    transition: right .3s ease;
    display: flex;
    flex-direction: column;
}

.side-panel.active {
    right: 0
}

.side-panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.side-panel-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    flex: 1;
}

.side-panel-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #374151;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background .15s;
}

.side-panel-close:hover {
    background: #f3f4f6
}

.side-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.panel-logo {
    width: 100px;
    height: auto
}

.panel-section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: .05em;
    margin: 20px 0 8px;
}

.panel-section-label:first-child {
    margin-top: 0
}

.panel-menu li a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: #374151;
    transition: color .15s;
}

.panel-menu li a:hover {
    color: #2563EB
}

.panel-auth-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.panel-auth-links a,
.panel-link-btn {
    font-size: 14px;
    color: #374151;
    background: none;
    border: none;
    padding: 4px 0;
    text-align: left;
    transition: color .15s;
}

.panel-auth-links a:hover,
.panel-link-btn:hover {
    color: #2563EB
}

.empty-cart-msg {
    text-align: center;
    padding-top: 40px
}

.empty-cart-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px
}

.empty-cart-sub {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 20px
}

/* ── Main Content ─────────────────────────────────────────────── */
.site-main {
    min-height: 60vh
}

/* ── Page Hero ────────────────────────────────────────────────── */
.page-hero {
    background: #0F172A;
    color: #fff;
    padding: 48px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, .15), transparent 60%);
}

.page-hero h1 {
    font-size: 36px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.page-hero p {
    font-size: 15px;
    color: rgba(255, 255, 255, .65);
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

/* ── Shop Grid ────────────────────────────────────────────────── */
.shop-section {
    padding: 40px 0
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all .2s;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.product-card-img {
    aspect-ratio: 1;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

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

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff, #f0f4ff);
    color: #6366f1;
    font-size: 36px;
    font-weight: 700;
}

.product-card-body {
    padding: 16px
}

.product-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.product-card-title a {
    transition: color .15s
}

.product-card-title a:hover {
    color: #2563EB
}

.product-card-desc {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-price {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.product-card-price .sale-price {
    color: #dc2626;
    margin-right: 8px
}

.product-card-price .original-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 14px;
}

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #dc2626;
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.stock-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.stock-badge.in-stock {
    background: #dcfce7;
    color: #166534
}

.stock-badge.out-of-stock {
    background: #fef2f2;
    color: #991b1b
}

.add-to-cart-btn {
    width: 100%;
    padding: 10px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: background .15s;
}

.add-to-cart-btn:hover {
    background: #2563EB
}

/* ── Contact Page ─────────────────────────────────────────────── */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 20px;
}

.contact-form-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
}

.contact-form-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color .15s;
}

.form-control:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08)
}

textarea.form-control {
    resize: vertical;
    min-height: 100px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.contact-info-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    align-self: flex-start;
}

.contact-info-row {
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.contact-info-row:last-child {
    border-bottom: none
}

.contact-info-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 4px;
}

.contact-info-value {
    font-size: 15px;
    color: #111827
}

.contact-info-value a {
    color: #2563EB
}

.contact-socials {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all .15s;
}

.contact-social-link:hover {
    border-color: #2563EB;
    background: #eff6ff
}

/* ── CMS Pages ────────────────────────────────────────────────── */
.cms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 20px;
}

.cms-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 28px 0 12px;
    color: #111827;
}

.cms-content h4:first-child {
    margin-top: 0
}

.cms-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 16px;
}

.cms-content ul,
.cms-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.cms-content li {
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 6px;
    list-style: disc;
}

.cms-content a {
    color: #2563EB
}

/* ── FAQ Page ─────────────────────────────────────────────────── */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 20px;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow .2s;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04)
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    text-align: left;
    transition: background .15s;
}

.faq-question:hover {
    background: #f9fafb
}

.faq-arrow {
    font-size: 18px;
    color: #9ca3af;
    transition: transform .2s;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg)
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-answer-inner {
    padding: 0 20px 16px;
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
}

/* ── COA Page ─────────────────────────────────────────────────── */
.coa-section {
    padding: 48px 20px
}

.coa-search {
    max-width: 400px;
    margin: 0 auto 32px;
}

.coa-search input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: border-color .2s;
}

.coa-search input:focus {
    border-color: #2563EB
}

.coa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.coa-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: box-shadow .2s;
}

.coa-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06)
}

.coa-card-info h5 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.coa-card-info p {
    font-size: 12px;
    color: #6b7280
}

.coa-view-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: background .15s;
    white-space: nowrap;
}

.coa-view-btn:hover {
    background: #2563EB
}

/* ── Cart Sidebar Items ──────────────────────────────────────── */
.cart-sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
}

.cart-sidebar-img {
    width: 60px;
    flex-shrink: 0
}

.cart-sidebar-img img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    background: #f3f4f6
}

.cart-sidebar-info {
    flex: 1;
    min-width: 0
}

.cart-sidebar-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2563EB;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-sidebar-name:hover {
    text-decoration: underline
}

.cart-sidebar-meta {
    font-size: 13px;
    color: #6b7280
}

.cart-sidebar-remove {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    transition: color .15s;
    flex-shrink: 0;
}

.cart-sidebar-remove:hover {
    color: #dc2626
}

.cart-sidebar-footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
    margin-top: 8px;
}

.cart-sidebar-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 16px;
    padding: 0 4px;
}

.cart-sidebar-btn {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all .15s;
}

.cart-sidebar-btn-outline {
    background: #fff;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.cart-sidebar-btn-outline:hover {
    border-color: #2563EB;
    color: #2563EB
}

.cart-sidebar-btn-primary {
    background: #1a1a2e;
    color: #fff;
    border: none;
}

.cart-sidebar-btn-primary:hover {
    background: #2563EB
}

/* ── PDP Variation Dropdown ──────────────────────────────────── */
.pdp-var-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s;
}

.pdp-var-select:focus {
    border-color: #2563EB
}

/* ── PDP Info & COA Tables ───────────────────────────────────── */
.pdp-info-table,
.pdp-coa-table {
    width: 100%;
    border-collapse: collapse;
}

.pdp-info-table td,
.pdp-coa-table th,
.pdp-coa-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    text-align: left;
}

.pdp-coa-table th {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6b7280;
}

/* ── Shop Topbar ──────────────────────────────────────────────── */
.shop-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.shop-result-count {
    font-size: 13px;
    color: #6b7280
}

.shop-sort-select {
    padding: 8px 32px 8px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    outline: none;
}

.shop-sort-select:focus {
    border-color: #2563EB
}

.shop-categories {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap
}

.shop-cat-pill {
    padding: 6px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    transition: all .15s;
}

.shop-cat-pill:hover,
.shop-cat-pill.active {
    border-color: #1a1a2e;
    color: #111827;
    background: #f9fafb
}

/* ── Product Card (clickable link wrapper) ────────────────────── */
.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
    background: #fff
}

/* Footer secondary nav bar */
.footer-nav-bar {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 14px 0
}

.footer-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-nav-logo {
    width: 120px;
    height: auto
}

.footer-nav-links {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.footer-nav-links a {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    border-radius: 6px;
    transition: all .15s;
}

.footer-nav-links a:hover {
    color: #111827;
    background: rgba(37, 99, 235, .06)
}

.footer-nav-icons {
    display: flex;
    gap: 4px;
    align-items: center
}

/* Footer main section */
.footer-main {
    background: #f8fafc;
    padding: 60px 0 40px;
    border-top: 1px solid #e5e7eb
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    width: 140px;
    height: auto;
    margin-bottom: 16px
}

.footer-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-email a {
    font-size: 13px;
    color: #6b7280;
    transition: color .15s;
}

.footer-email a:hover {
    color: #2563EB
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #111827;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 8px
}

.footer-col ul li a {
    font-size: 14px;
    color: #6b7280;
    transition: color .15s;
}

.footer-col ul li a:hover {
    color: #2563EB
}

.footer-contact-item {
    margin-bottom: 14px
}

.footer-contact-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 2px;
}

.footer-contact-item span,
.footer-contact-item a {
    font-size: 14px;
    color: #374151;
}

.footer-contact-item a:hover {
    color: #2563EB
}

.footer-divider {
    height: 1px;
    background: #e5e7eb;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom {
    padding: 20px 0;
    background: #f8fafc;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 12px;
    color: #9ca3af;
}

.footer-payments {
    display: flex;
    gap: 8px
}

.pay-icon {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #374151;
}

/* ── Research Disclaimer ──────────────────────────────────────── */
.research-disclaimer {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 16px 20px;
}

.disclaimer-inner {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.7;
}

/* ── Waave Compliance Badge ──────────────────────────────────── */
.waave-badge {
    text-align: center;
    padding: 24px 0 32px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

.waave-badge a {
    text-decoration: none
}

.waave-badge-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

/* ── Product Detail Page ─────────────────────────────────────── */
.pdp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.pdp-main-image {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.pdp-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .15s ease
}

.pdp-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px
}

.pdp-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .2s;
}

.pdp-thumb.active,
.pdp-thumb:hover {
    border-color: #2563EB
}

.pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.pdp-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827
}

.pdp-price {
    font-size: 24px;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 12px
}

.pdp-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px
}

.pdp-variations {
    margin-bottom: 20px
}

.pdp-var-label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    display: block
}

.pdp-var-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.pdp-var-btn {
    padding: 8px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all .15s;
}

.pdp-var-btn:hover {
    border-color: #2563EB;
    color: #2563EB
}

.pdp-var-btn.active {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e
}

.pdp-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 12px
}

.pdp-qty {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden
}

.pdp-qty-btn {
    width: 36px;
    height: 40px;
    background: #fff;
    border: none;
    font-size: 16px;
    color: #374151;
    cursor: pointer;
    transition: background .15s;
}

.pdp-qty-btn:hover {
    background: #f3f4f6
}

.pdp-qty-input {
    width: 48px;
    height: 40px;
    border: none;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    text-align: center;
    font-size: 14px;
    outline: none;
    -moz-appearance: textfield;
}

.pdp-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none
}

.pdp-add-btn {
    flex: 1;
    padding: 12px 24px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}

.pdp-add-btn:hover {
    background: #2563EB
}

.pdp-add-btn:disabled {
    opacity: .5;
    cursor: not-allowed
}

.pdp-buy-now {
    width: 100%;
    padding: 13px;
    background: #2563EB;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
    margin-bottom: 24px;
}

.pdp-buy-now:hover {
    background: #1d4ed8
}

.pdp-buy-now:disabled {
    opacity: .5;
    cursor: not-allowed
}

/* Feature badges */
.pdp-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #e5e7eb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.pdp-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 8px;
    background: #fff;
    gap: 6px;
}

.pdp-badge svg {
    color: #374151
}

.pdp-badge strong {
    font-size: 11px;
    font-weight: 600;
    color: #111827;
    line-height: 1.2
}

.pdp-badge span {
    font-size: 10px;
    color: #9ca3af;
    line-height: 1.2
}

.pdp-sku {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 4px
}

/* Description tabs */
.pdp-tabs-section {
    border-top: 1px solid #e5e7eb;
    margin-top: 40px;
    padding-top: 0
}

.pdp-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e5e7eb
}

.pdp-tab {
    padding: 14px 24px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all .15s;
}

.pdp-tab:hover {
    color: #374151
}

.pdp-tab.active {
    color: #111827;
    border-bottom-color: #111827
}

.pdp-tab-content {
    display: none;
    padding: 32px 0
}

.pdp-tab-content.active {
    display: block
}

/* ── Age Verification Modal ───────────────────────────────────── */
.age-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex
}

.age-modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.age-modal-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.age-modal-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
}

.age-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.age-btn {
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all .15s;
}

.age-btn-yes {
    background: #1a1a2e;
    color: #fff
}

.age-btn-yes:hover {
    background: #2563EB
}

.age-btn-no {
    background: #fef2f2;
    color: #991b1b
}

.age-btn-no:hover {
    background: #fee2e2
}

.age-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-size: 12px;
    color: #6b7280;
}

/* ── Restock Table ────────────────────────────────────────────── */
.restock-section {
    padding: 48px 20px
}

.restock-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
}

.restock-table th,
.restock-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.restock-table th {
    background: #f9fafb;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6b7280;
}

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.status-expected {
    background: #fef3c7;
    color: #92400e
}

.status-delayed {
    background: #fef2f2;
    color: #991b1b
}

.status-in_production {
    background: #dbeafe;
    color: #1e40af
}

.status-available_soon {
    background: #dcfce7;
    color: #166534
}

/* ── Cart Page ────────────────────────────────────────────────── */
.cart-section {
    padding: 48px 20px
}

.cart-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 32px;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.cart-table th {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    color: #6b7280;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    background: #f3f4f6;
}

.cart-qty-input {
    width: 60px;
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

/* ── Account Page ─────────────────────────────────────────────── */
.account-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 20px;
}

.account-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}

.account-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

/* ── Alerts ───────────────────────────────────────────────────── */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca
}

.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe
}

/* ── Responsive ───────────────────────────────────────────────── */
@media(max-width:1024px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px
    }

    .contact-wrap {
        grid-template-columns: 1fr
    }

    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr))
    }

    .pdp-layout {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .pdp-badges {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:768px) {
    .header-nav {
        display: none
    }

    .mobile-menu-btn {
        display: flex
    }

    .header-nav.mobile-open {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
        padding: 16px;
        z-index: 89;
    }

    .header-nav.mobile-open .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .header-nav.mobile-open .nav-menu a {
        padding: 12px 16px;
        border-radius: 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .footer-inner {
        grid-template-columns: 1fr
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center
    }

    .footer-nav-links {
        display: none
    }

    .side-panel {
        width: 85%
    }

    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .page-hero h1 {
        font-size: 24px
    }

    .shop-topbar {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start
    }

    .pdp-badges {
        grid-template-columns: repeat(2, 1fr)
    }

    .pdp-layout {
        grid-template-columns: 1fr
    }
}

/* ── Alerts ───────────────────────────────────────────────────── */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0
}

.alert-error,
.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca
}

/* ── Admin Input (for admin payment settings) ────────────────── */
.admin-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color .15s;
}

.admin-input:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08)
}

textarea.admin-input {
    resize: vertical;
    min-height: 80px
}

/* ── Pulse animation for floating button ─────────────────────── */
@keyframes pulse-btn {

    0%,
    100% {
        box-shadow: 0 2px 8px rgba(37, 99, 235, .3)
    }

    50% {
        box-shadow: 0 2px 16px rgba(37, 99, 235, .6)
    }
}

/* ── Pagination ──────────────────────────────────────────────── */
.wbs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 8px 0;
}
.wbs-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    background: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: all .15s;
}
.wbs-page-btn:hover:not(.disabled):not(.active) {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #111827;
}
.wbs-page-btn.active {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
    font-weight: 600;
}
.wbs-page-btn.disabled {
    opacity: .4;
    cursor: default;
    pointer-events: none;
}
.wbs-page-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}