:root {
    --bg-light: #ffffff;
    --bg-offwhite: #f7f7f8;
    --bg-dark: #161618;
    --bg-card: #ffffff;
    --bg-card-dark: #1e1e20;
    
    --text-main: #000000;
    --text-muted: #666666;
    --text-light: #ffffff;
    --text-muted-light: #a0a0a0;
    
    --border-light: #eaeaea;
    --border-dark: #2a2a2c;
    
    --accent: #000000;
    --accent-light: #f0f0f0;
    
    --font-primary: 'Inter', sans-serif;
    --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--text-light);
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.overline {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.5rem;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 8rem 0;
    border-top: 1px solid var(--border-light);
}

.pt-0 {
    padding-top: 0;
}

.padding-lg {
    padding: 10rem 0;
}

.light-section {
    background-color: var(--bg-light);
    color: var(--text-main);
}

.bg-offwhite {
    background-color: var(--bg-offwhite);
}

.dark-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    border-top: 1px solid var(--border-dark);
}

.dark-section h2, .dark-section h3 {
    color: var(--text-light);
}

.dark-section p {
    color: var(--text-muted-light);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    background-color: var(--accent);
    color: var(--text-light);
    transition: var(--transition);
    border: 1px solid var(--accent);
    text-align: center;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
}

.btn-primary.full-width {
    width: 100%;
}

.btn-outline-dark {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    background-color: transparent;
    color: var(--text-main);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    text-align: center;
    width: 100%;
}

.btn-outline-dark:hover {
    border-color: var(--text-main);
}

.dark-section .btn-primary {
    background-color: var(--text-light);
    color: var(--bg-dark);
    border-color: var(--text-light);
}

.dark-section .btn-primary:hover {
    background-color: transparent;
    color: var(--text-light);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a.btn-primary {
    color: var(--text-light);
    padding: 0.6rem 1.5rem;
}

.nav-links a.btn-primary:hover {
    color: var(--accent);
}

/* Hero */
.hero {
    padding: 10rem 5% 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--bg-light);
}

.hero-content {
    max-width: 800px;
    margin-bottom: 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-main);
    border-radius: 50%;
}

.hero h1 {
    color: var(--text-main);
    font-size: clamp(3rem, 6vw, 4.5rem);
    letter-spacing: -0.02em;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 1.5rem 0 2.5rem;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    margin-right: 0.5rem;
    vertical-align: baseline;
}

.btn-secondary {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

.hero-media {
    width: 100%;
    max-width: 1000px;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background-color: var(--bg-offwhite);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 2rem;
}

.section-header-left {
    margin-bottom: 4rem;
}

.section-header-center {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header-center p {
    margin-top: 1.5rem;
}

.section-subtitle {
    max-width: 400px;
    font-size: 1.1rem;
}

.align-top {
    align-items: flex-start;
}

/* Feature Grid */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: box-shadow var(--transition);
}

.feature-box:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: var(--bg-offwhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: var(--text-main);
}

.arrow-icon {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    width: 20px;
    height: 20px;
    color: var(--border-light);
    transition: color var(--transition);
}

.feature-box:hover .arrow-icon {
    color: var(--text-main);
}

/* Steps Section */
.steps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.steps-content h2 {
    margin-bottom: 3rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--text-main);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.dashboard-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Benefits Grid (Crafted to higher standard) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem;
}

.b-icon-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.b-icon-title svg {
    width: 20px;
    height: 20px;
    color: var(--text-main);
}

.benefit-card h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.benefit-card p {
    font-size: 0.95rem;
}

/* Bento Grid (Designed for real world) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.bento-item {
    border-radius: 24px;
    overflow: hidden;
}

.bento-item.tall {
    grid-column: 1;
    grid-row: 1 / 3;
}

.bento-item.wide {
    grid-column: 2 / 4;
    grid-row: 1;
}

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.bento-item:hover .bento-img {
    transform: scale(1.03);
}

/* Comparison Table */
.comparison-table {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.c-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 1.5rem 3rem;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
}

.c-row:last-child {
    border-bottom: none;
}

.c-header {
    background-color: var(--bg-offwhite);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.c-col-main {
    font-weight: 500;
    font-size: 1.05rem;
}

.c-col-check {
    display: flex;
    justify-content: center;
}

.check-circle {
    width: 32px;
    height: 32px;
    background-color: var(--text-main);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-circle.grey {
    background-color: var(--bg-offwhite);
    color: var(--text-muted-light);
}

.check-circle svg {
    width: 16px;
    height: 16px;
}

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

/* Action Section (Dark) */
.action-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.action-card {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.action-card:hover {
    background-color: var(--bg-card-dark);
}

.action-card.active {
    background-color: var(--text-light);
    color: var(--text-main);
}

.action-card.active h3 {
    color: var(--text-main);
}

.action-card.active p {
    color: var(--text-muted);
}

.action-icon {
    width: 48px;
    height: 48px;
    background-color: var(--border-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.action-card.active .action-icon {
    background-color: var(--text-main);
    color: var(--text-light);
}

.action-icon svg {
    width: 20px;
    height: 20px;
}

.action-card .arrow-icon {
    top: 50%;
    transform: translateY(-50%);
    right: 1.5rem;
    color: var(--text-muted-light);
}

.action-card.active .arrow-icon {
    color: var(--text-main);
}

/* Phone Mockup */
.action-preview {
    background-color: var(--text-light);
    border-radius: 30px;
    padding: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.tap-indicator {
    position: absolute;
    left: 20%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pulse-ring {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

.pulse-ring.delay {
    animation-delay: 1s;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.tap-icon {
    width: 80px;
    height: 80px;
    background-color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    z-index: 2;
    margin-bottom: 1rem;
}

.tap-icon svg {
    width: 32px;
    height: 32px;
}

.tap-label {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 2;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background-color: var(--text-main);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    position: relative;
    z-index: 3;
    margin-left: auto;
}

.phone-screen {
    background-color: var(--text-light);
    width: 100%;
    height: 100%;
    border-radius: 30px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: opacity 0.2s ease;
}

.review-prompt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.prompt-text {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.prompt-icon {
    width: 32px;
    height: 32px;
    background-color: var(--bg-offwhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prompt-icon svg {
    width: 16px;
    height: 16px;
    color: var(--text-main);
}

.business-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.rate-text {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.review-box {
    background-color: var(--bg-offwhite);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.review-box p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.review-stat {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-main);
    border-radius: 50%;
}

.stars {
    display: flex;
    gap: 0.5rem;
    margin-bottom: auto;
}

.stars svg {
    width: 32px;
    height: 32px;
    color: var(--text-main);
}

.btn-review {
    width: 100%;
    padding: 1rem;
    background-color: var(--text-main);
    color: var(--text-light);
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.pricing-card.dark {
    background: var(--bg-dark);
    color: var(--text-light);
    border-color: var(--border-dark);
    transform: scale(1.05);
    z-index: 2;
    padding: 4rem 3rem;
}

.p-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-light);
    color: var(--text-main);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    letter-spacing: 0.1em;
}

.p-type {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pricing-card.dark .p-type {
    color: var(--text-muted-light);
}

.p-price {
    margin-bottom: 2.5rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
}

.amount-text {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
}

.unit {
    font-size: 1rem;
    color: var(--text-muted);
}

.p-features {
    list-style: none;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.p-features li {
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.4;
}

.p-features li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--text-main);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.45rem;
}

.pricing-card.dark .p-features li {
    color: var(--text-light);
}

.pricing-card.dark .p-features li::before {
    background-color: rgba(255,255,255,0.9);
}

/* FAQ List */
.faq-container {
    max-width: 650px;
}

.faq-list {
    border-top: 1px solid var(--border-light);
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.faq-icon svg {
    width: 14px;
    height: 14px;
}

.faq-question:hover .faq-icon {
    background-color: var(--text-main);
    color: var(--text-light);
    border-color: var(--text-main);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.22, 1, 0.36, 1), padding 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer p {
    margin: 0;
    padding-bottom: 0;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-answer p {
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background-color: var(--text-main);
    color: var(--text-light);
    border-color: var(--text-main);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-dark);
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.word-reveal {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.visible .word-reveal {
    transform: translateY(0);
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 992px) {
    .steps-container, .action-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .action-preview {
        padding: 2rem;
    }
    
    .tap-indicator {
        left: 10%;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .bento-item.tall, .bento-item.wide {
        grid-column: 1;
        grid-row: auto;
    }
    
    .pricing-card.dark {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .phone-mockup {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .tap-indicator {
        display: none;
    }
    
    .c-row {
        grid-template-columns: 1fr 1fr;
        padding: 1rem;
    }
    
    .c-header .c-col-check:last-child,
    .c-row .c-col-check:last-child {
        display: none; /* Hide QR column on mobile to save space */
    }
}

/* Cart Toggle in Navbar */
.cart-toggle {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    margin-left: auto;
    color: var(--text-main);
    transition: var(--transition);
}

.cart-toggle svg {
    width: 24px;
    height: 24px;
}

.cart-toggle:hover {
    opacity: 0.7;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 0px;
    background-color: var(--accent);
    color: var(--text-light);
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--bg-light);
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.cart-badge.has-items {
    opacity: 1;
    transform: scale(1);
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background-color: var(--bg-light);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.cart-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    margin: -0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.close-cart:hover {
    background-color: var(--bg-offwhite);
}

.close-cart svg {
    width: 20px;
    height: 20px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 2rem;
    font-size: 0.95rem;
}

/* Individual Cart Item */
.cart-item {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.5rem;
}

.cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1rem;
    transition: var(--transition);
}

.qty-btn:hover {
    background-color: var(--bg-offwhite);
}

.qty-val {
    width: 32px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: underline;
    transition: var(--transition);
}

.remove-btn:hover {
    color: var(--text-main);
}

/* Cart Footer */
.cart-footer {
    padding: 2rem;
    border-top: 1px solid var(--border-light);
    background-color: var(--bg-light);
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.summary-row.total-row {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--border-light);
}

.shipping-amount {
    color: #16a34a;
    font-weight: 600;
}

/* PayPal Checkout Button */
.paypal-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background-color: #0070ba;
    color: white;
    transition: var(--transition);
}

.paypal-btn:hover {
    background-color: #005ea6;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 112, 186, 0.3);
}

.paypal-btn:active {
    transform: translateY(0);
}

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
    opacity: 0.7;
}

/* Cart Count */
.cart-count {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Empty Cart Message */
.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 3rem;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.empty-cart-msg p {
    margin: 0;
    font-weight: 600;
    color: var(--text-main);
    font-size: 1.05rem;
}

.empty-cart-msg span {
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Cart Item Animations */
.cart-item {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.5rem;
    animation: cartItemIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
    transform: translateX(20px);
}

@keyframes cartItemIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.cart-item-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-item-price {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1.1rem;
    transition: var(--transition);
    user-select: none;
}

.qty-btn:hover {
    background-color: var(--bg-offwhite);
}

.qty-val {
    width: 28px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--font-primary);
    transition: var(--transition);
    padding: 0.25rem;
}

.remove-btn:hover {
    color: #dc2626;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--text-main);
    color: var(--text-light);
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 2000;
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Added-to-cart button pulse */
.add-to-cart-btn.added {
    pointer-events: none;
    opacity: 0.7;
}

/* =============================================
   CHAT PULL-TAB (right side, half-visible)
   ============================================= */
.chat-tab {
    position: fixed;
    right: -52px; /* half-visible: tab is 104px wide, sticks out 52px */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1500;
    cursor: pointer;
    transition: right 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.chat-tab:hover {
    right: 0;
}

.chat-tab-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--text-main);
    color: var(--text-light);
    padding: 1rem 0.85rem;
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}

.chat-tab:hover .chat-tab-inner {
    background-color: #222;
}

.chat-tab-inner svg {
    width: 22px;
    height: 22px;
}

.chat-tab-inner span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

/* =============================================
   CHAT NUDGE POPUP
   ============================================= */
.chat-nudge {
    position: fixed;
    right: 2rem;
    bottom: 6rem; /* sits above the Tawk.to widget */
    width: 240px;
    background-color: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
    padding: 1.25rem;
    z-index: 1500;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    visibility: hidden;
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0.45s;
    border: 1px solid var(--border-light);
}

.chat-nudge.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.chat-nudge-close {
    position: absolute;
    top: 0.6rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    transition: color 0.2s ease;
}

.chat-nudge-close:hover {
    color: var(--text-main);
}

.nudge-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0 0 0.3rem 0;
    color: var(--text-main);
}

.nudge-body {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.nudge-cta {
    width: 100%;
    background-color: var(--text-main);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: var(--transition);
}

.nudge-cta:hover {
    background-color: #333;
}

/* Pulse ring on chat-tab to draw attention */
.chat-tab-inner::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #22c55e;
    top: 0.6rem;
    right: 0.6rem;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: pulse-dot 2s ease-out infinite;
}

.chat-tab-inner {
    position: relative;
}

@keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* =============================================
   GOOGLE SIGN-IN
   ============================================= */
.g-signin-area {
    display: flex;
    align-items: center;
}

.g-signin-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-primary);
    color: #3c4043;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    white-space: nowrap;
}

.g-signin-btn:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.14);
    background: #f8f8f8;
}

.g-user-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.g-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
}

.g-username {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.g-signout-btn {
    background: none;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    font-family: var(--font-primary);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.g-signout-btn:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

