/**
 * Pothis Pyro Theme - Matching High-Aesthetic Reference Design
 */

:root {
    --pothis-primary: #c83228;
    --pothis-primary-dark: #b3281f;
    --pothis-secondary: #15803d;
    --pothis-navy: #111a2e;
    --pothis-navy-dark: #0b1220;
    --pothis-beige: #ede6dc;
    --pothis-beige-light: #f4f0ea;
    --pothis-border: #e5dfd5;
    --pothis-bg: #faf8f5;
    --pothis-text: #1e293b;
    --pothis-muted: #64748b;
    --pothis-font: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

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

body.pothis-body {
    font-family: var(--pothis-font);
    color: var(--pothis-text);
    background-color: var(--pothis-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

/* ── Clean Main Navbar matching Reference Image ── */
.pothis-nav-header {
    background: #ffffff;
    border-bottom: 1px solid #f1ece4;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.pothis-nav-header__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Brand Logo */
.pothis-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.pothis-brand__icon-badge {
    width: 38px;
    height: 38px;
    background: #c85a2b;
    background: linear-gradient(135deg, #d96b34 0%, #b84a1e 100%);
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 900;
    box-shadow: 0 2px 6px rgba(200, 90, 43, 0.3);
    flex-shrink: 0;
}
.pothis-brand__img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
}
.pothis-brand__text {
    display: flex;
    flex-direction: column;
}
.pothis-brand__title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #111a2e;
    line-height: 1.15;
    letter-spacing: -0.3px;
}
.pothis-brand__subtitle {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Nav Links */
.pothis-navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.pothis-nav-item {
    font-size: 0.95rem;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    position: relative;
    padding: 0.4rem 0.2rem;
    transition: color 0.15s ease;
}
.pothis-nav-item:hover {
    color: var(--pothis-primary);
}
.pothis-nav-item.is-active {
    color: var(--pothis-primary);
}
.pothis-nav-item.is-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2.5px;
    background: var(--pothis-primary);
    border-radius: 2px;
}

/* Right Action Buttons */
.pothis-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pothis-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f4f0ea;
    border: 1px solid #e5dfd5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #334155;
    transition: background 0.15s, border-color 0.15s;
}
.pothis-icon-btn:hover {
    background: #ede6dc;
    border-color: #cbd5e1;
    color: #111a2e;
}
.pothis-icon-btn .material-symbols-rounded {
    font-size: 20px;
}

/* Mobile Nav */
.pothis-mobile-nav {
    display: none;
    flex-direction: column;
    padding: 0.75rem 1.25rem;
    background: #ffffff;
    border-top: 1px solid #f1ece4;
}
.pothis-mobile-nav.is-open {
    display: flex;
}
.pothis-mobile-link {
    padding: 0.6rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    border-bottom: 1px solid #f8fafc;
}
.pothis-mobile-link.is-active {
    color: var(--pothis-primary);
}

@media (max-width: 768px) {
    .pothis-navbar-links {
        display: none;
    }
}

/* ── Cart & Checkout Page General Styles ── */
.pothis-cart-container {
    max-width: 1100px;
    margin: 2rem auto 4rem auto;
    padding: 0 1rem;
}
.pothis-cart-header {
    margin-bottom: 1.5rem;
}
.pothis-cart-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--pothis-navy);
}
.pothis-cart-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.5rem;
    align-items: start;
}
@media (max-width: 860px) {
    .pothis-cart-grid {
        grid-template-columns: 1fr;
    }
}
.pothis-cart-card {
    background: #ffffff;
    border: 1px solid var(--pothis-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.pothis-cart-table {
    width: 100%;
    border-collapse: collapse;
}
.pothis-cart-table th {
    background: #faf8f5;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--pothis-border);
}
.pothis-cart-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f5f0e9;
    vertical-align: middle;
}
.pothis-summary-card {
    background: #ffffff;
    border: 1px solid var(--pothis-border);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* ── High-Aesthetic Footer ── */
.pothis-footer {
    background: #111a2e;
    color: #cbd5e1;
    padding: 3.5rem 1.25rem 2rem 1.25rem;
    border-top: 3px solid var(--pothis-primary);
    margin-top: 4rem;
}
.pothis-footer__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 2.5rem;
}
@media (max-width: 768px) {
    .pothis-footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
.pothis-footer__col h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.pothis-footer__col p, .pothis-footer__col li {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #94a3b8;
}
.pothis-footer__col a {
    color: #cbd5e1;
    transition: color 0.15s;
}
.pothis-footer__col a:hover {
    color: var(--pothis-primary);
}
.pothis-footer__bottom {
    max-width: 1240px;
    margin: 2.5rem auto 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}
