/* ==========================================================
   MagSeal Landing Page — Styles
   Based on Sealify-style dropshipping LP design
   ========================================================== */

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

.magseal-landing {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a2e;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.magseal-landing img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Announcement Bar ---- */
.announcement-bar {
    background: #1a1a2e;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.announcement-bar p {
    margin: 0;
}

/* ---- Hero Section ---- */
.hero {
    padding: 40px 0 60px;
    background: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Gallery */
.hero-gallery {
    position: sticky;
    top: 20px;
}

.hero-image-main {
    background: #f5f5f7;
    border-radius: 16px;
    overflow: hidden;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.hero-image-main img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.hero-thumbnails {
    display: flex;
    gap: 8px;
}

.hero-thumbnails .thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: contain;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.hero-thumbnails .thumb:hover,
.hero-thumbnails .thumb.active {
    border-color: #1a1a2e;
    opacity: 1;
}

/* Hero Info */
.hero-info {
    padding-top: 10px;
}

.badge-viral {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-info h1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.trust-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.trust-line .stars {
    color: #f5a623;
    font-size: 16px;
}

/* Price Box */
.price-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.price-old {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.price-current {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
}

.badge-discount {
    background: #e74c3c;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Quick Features */
.features-quick {
    list-style: none;
    margin: 20px 0;
}

.features-quick li {
    padding: 8px 0;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.features-quick li:last-child {
    border-bottom: none;
}

/* Bundle Selector */
.bundle-selector {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bundle-option {
    cursor: pointer;
}

.bundle-option input {
    display: none;
}

.bundle-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.2s ease;
    position: relative;
}

.bundle-option input:checked + .bundle-card {
    border-color: #1a1a2e;
    background: #f8f9fa;
    box-shadow: 0 0 0 1px #1a1a2e;
}

.bundle-card.popular {
    border-color: #27ae60;
}

.bundle-option input:checked + .bundle-card.popular {
    border-color: #27ae60;
    background: #f0fdf4;
    box-shadow: 0 0 0 1px #27ae60;
}

.badge-popular {
    position: absolute;
    top: -10px;
    left: 16px;
    background: #27ae60;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.bundle-name {
    display: block;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 2px;
}

.bundle-desc {
    display: block;
    font-size: 13px;
    color: #888;
}

.bundle-price {
    display: block;
    font-weight: 800;
    font-size: 18px;
    margin-top: 6px;
    color: #1a1a2e;
}

.bundle-price s {
    color: #999;
    font-weight: 400;
    font-size: 14px;
}

/* CTA Button */
.btn-cta {
    display: block;
    width: 100%;
    background: #27ae60;
    color: #fff;
    text-align: center;
    padding: 18px 32px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    letter-spacing: 0.3px;
}

.btn-cta:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
    color: #fff;
}

/* Urgency Notice */
.urgency-notice {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 18px 0;
    font-size: 13px;
    line-height: 1.5;
}

.urgency-notice p {
    margin: 0;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.trust-icon {
    font-size: 22px;
}

/* ---- Testimonial Section ---- */
.testimonial-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.testimonial-card {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.testimonial-img {
    flex-shrink: 0;
}

.testimonial-img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-content .stars {
    color: #f5a623;
    font-size: 18px;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.7;
}

.testimonial-author {
    font-size: 14px;
    color: #888;
}

/* ---- Feature Blocks ---- */
.feature-block {
    padding: 80px 0;
}

.feature-block.feature-alt {
    background: #f8f9fa;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-grid.reverse {
    direction: rtl;
}

.feature-grid.reverse > * {
    direction: ltr;
}

.feature-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    color: #1a1a2e;
}

.feature-text p {
    font-size: 17px;
    color: #666;
    line-height: 1.7;
}

.feature-image {
    border-radius: 16px;
    overflow: hidden;
    background: #f0f0f2;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

/* ---- Marquee ---- */
.marquee-section {
    background: #1a1a2e;
    overflow: hidden;
    padding: 14px 0;
}

.marquee-track {
    display: flex;
    gap: 30px;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- Social Proof Video Section ---- */
.social-proof-section {
    padding: 80px 0;
    text-align: center;
}

.social-proof-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #1a1a2e;
}

.video-placeholder {
    background: #f0f0f2;
    border-radius: 16px;
    padding: 80px 20px;
    max-width: 600px;
    margin: 0 auto;
    color: #888;
    font-size: 16px;
}

/* ---- FAQ Section ---- */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-section h2 {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: #1a1a2e;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-question::after {
    content: "+";
    font-size: 22px;
    font-weight: 300;
    color: #999;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    content: "−";
}

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

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* ---- Final CTA ---- */
.final-cta {
    padding: 80px 0;
    text-align: center;
    background: #1a1a2e;
    color: #fff;
}

.final-cta h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
}

.final-cta p {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
}

.final-cta .btn-cta {
    display: inline-block;
    width: auto;
    padding: 18px 48px;
}

/* ---- Footer ---- */
.lp-footer {
    padding: 30px 0;
    background: #111;
    color: rgba(255,255,255,0.5);
    text-align: center;
    font-size: 13px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-gallery {
        position: static;
    }

    .hero-info h1 {
        font-size: 26px;
    }

    .price-current {
        font-size: 28px;
    }

    .feature-grid,
    .feature-grid.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        direction: ltr;
    }

    .feature-text h2 {
        font-size: 28px;
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 24px;
    }

    .trust-badges {
        gap: 16px;
    }

    .final-cta h2 {
        font-size: 28px;
    }

    .social-proof-section h2,
    .faq-section h2 {
        font-size: 26px;
    }

    .hero-thumbnails .thumb {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .hero-info h1 {
        font-size: 22px;
    }

    .btn-cta {
        font-size: 16px;
        padding: 16px 24px;
    }

    .bundle-card {
        padding: 14px 16px;
    }

    .announcement-bar {
        font-size: 12px;
    }
}

/* ---- Sticky CTA on mobile ---- */
.sticky-cta-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    border-top: 1px solid #eee;
    text-align: center;
}

.sticky-cta-mobile .btn-cta {
    margin: 0;
    font-size: 16px;
    padding: 14px 20px;
    border-radius: 12px;
}

.sticky-cta-mobile .sticky-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}

.sticky-cta-mobile .sticky-price .price-old {
    font-size: 13px;
}

.sticky-cta-mobile .sticky-price .price-current {
    font-size: 18px;
}

@media (max-width: 768px) {
    .sticky-cta-mobile {
        display: block;
    }

    .magseal-landing {
        padding-bottom: 100px;
    }
}

/* ---- Multiple Testimonials ---- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* ---- Reviews Carousel ---- */
.reviews-carousel-section {
    padding: 60px 0 70px;
    background: #f8f8fa;
}

.reviews-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews-carousel {
    overflow: hidden;
    flex: 1;
}

.rc-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}

.rc-card {
    min-width: calc((100% - 40px) / 3);
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.rc-card .stars {
    color: #f5a623;
    font-size: 17px;
    margin-bottom: 10px;
}

.rc-card .rc-text {
    font-size: 14px;
    color: #444;
    line-height: 1.65;
    margin-bottom: 14px;
    font-style: italic;
    min-height: 66px;
}

.rc-card .rc-author {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 2px;
}

.rc-card .rc-badge {
    font-size: 11px;
    color: #27ae60;
    font-weight: 500;
}

.rc-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    font-size: 24px;
    cursor: pointer;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.rc-arrow:hover {
    background: #1a1a2e;
    color: #fff;
}

@media (max-width: 1023px) {
    .rc-card {
        min-width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 767px) {
    .rc-card {
        min-width: 100%;
    }
    .rc-arrow {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    .reviews-carousel-section {
        padding: 40px 0 50px;
    }
}

.testimonial-mini {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.testimonial-mini .stars {
    color: #f5a623;
    font-size: 16px;
    margin-bottom: 10px;
}

.testimonial-mini .tm-text {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 12px;
    font-style: italic;
}

.testimonial-mini .tm-author {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
}

.testimonial-mini .tm-badge {
    font-size: 11px;
    color: #27ae60;
    font-weight: 500;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* ---- How It Works ---- */
.how-it-works {
    padding: 80px 0;
    text-align: center;
}

.how-it-works h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #1a1a2e;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1a1a2e;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.step p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ---- Comparison Table ---- */
.comparison-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.comparison-section h2 {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: #1a1a2e;
}

.comparison-table {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table thead th {
    background: #1a1a2e;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table thead th:nth-child(2) {
    background: #27ae60;
}

.comparison-table td:nth-child(2) {
    font-weight: 600;
    color: #27ae60;
}

.comparison-table td:nth-child(3) {
    color: #999;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 480px) {
    .comparison-table th,
    .comparison-table td {
        padding: 12px 14px;
        font-size: 13px;
    }
}

/* ---- Subpage Styles ---- */
.sp-header {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow .3s, padding .3s;
}
.sp-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
    padding: 8px 0;
}

.sp-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sp-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    padding: 2px 0;
}
.sp-logo-img {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
    max-width: 180px !important;
    display: block;
    object-fit: contain;
    transition: height .25s ease, opacity .2s;
}
.sp-header.scrolled .sp-logo-img {
    height: 30px !important;
    max-height: 30px !important;
}
.sp-logo:hover .sp-logo-img {
    opacity: .75;
}
@media (max-width: 768px) {
    .sp-logo-img {
        height: 32px !important;
        max-height: 32px !important;
        max-width: 150px !important;
    }
    .sp-header.scrolled .sp-logo-img {
        height: 26px !important;
        max-height: 26px !important;
    }
}
@media (max-width: 480px) {
    .sp-logo-img {
        height: 26px !important;
        max-height: 26px !important;
        max-width: 120px !important;
    }
}

.sp-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.sp-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    letter-spacing: .01em;
}
.sp-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a1a2e;
    border-radius: 1px;
    transition: width .25s ease;
}
.sp-nav a:hover {
    color: #1a1a2e;
}
.sp-nav a:hover::after {
    width: 100%;
}

.sp-content {
    padding: 60px 0 80px;
    min-height: 60vh;
}

.sp-content h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #1a1a2e;
}

.sp-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 14px;
    color: #1a1a2e;
}

.sp-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 10px;
    color: #1a1a2e;
}

.sp-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
    max-width: 720px;
}

.sp-content ul, .sp-content ol {
    margin: 16px 0;
    padding-left: 24px;
    max-width: 720px;
}

.sp-content li {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 6px;
}

.sp-content a {
    color: #27ae60;
    text-decoration: underline;
}

.sp-content .contact-info {
    background: #f8f9fa;
    border-radius: 14px;
    padding: 30px;
    margin: 30px 0;
    max-width: 500px;
}

.sp-content .contact-info p {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .sp-header .container {
        flex-direction: column;
        gap: 10px;
    }

    .sp-content h1 {
        font-size: 28px;
    }
}

/* ---- Hide WP admin bar on landing page ---- */
.magseal-landing #wpadminbar {
    display: none;
}

.magseal-landing {
    margin-top: 0 !important;
}

/* ===== CART ICON IN HEADER ===== */
.cart-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    cursor: pointer;
    text-decoration: none !important;
    color: #1a1a2e !important;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background .2s;
}
.cart-toggle:hover {
    background: rgba(0,0,0,.05);
}
.cart-toggle svg {
    flex-shrink: 0;
}
.cart-count {
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    position: absolute;
    top: 0;
    left: 14px;
}
.cart-count:empty,
.cart-count[data-count="0"] {
    display: none;
}
.cart-total {
    font-size: 13px;
    color: #555;
}

/* ===== SIDEBAR CART ===== */
.sidecart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.sidecart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.sidecart {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 92vw;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 99999;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0,0,0,.15);
}
.sidecart.open {
    transform: translateX(0);
}

.sidecart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
}
.sidecart-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}
.sidecart-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #555;
    line-height: 1;
    padding: 0 4px;
}
.sidecart-close:hover {
    color: #000;
}

.sidecart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}
.sidecart-empty {
    text-align: center;
    color: #888;
    padding: 40px 0;
    font-size: 15px;
}

.sidecart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.sidecart-item-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}
.sidecart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidecart-item-info {
    flex: 1;
}
.sidecart-item-name {
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 4px;
    color: #1a1a2e;
}
.sidecart-item-price {
    font-size: 13px;
    color: #666;
    margin: 0;
}
.sidecart-item-remove {
    background: none;
    border: none;
    font-size: 20px;
    color: #bbb;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}
.sidecart-item-remove:hover {
    color: #e74c3c;
}

.sidecart-footer {
    padding: 16px 20px;
    border-top: 1px solid #eee;
    background: #fafafa;
}
.sidecart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 12px;
}
.sidecart-subtotal strong {
    font-size: 18px;
    color: #1a1a2e;
}
.sidecart-checkout {
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* Body no-scroll when cart open */
body.sidecart-open {
    overflow: hidden;
}

/* ===== Checkout Layout ===== */
/* Express checkout inside order review */
#order_review .wc-stripe-express-checkout-element,
#order_review [id*="express-checkout"],
#order_review [class*="express-checkout"] {
    margin-bottom: 16px;
    padding: 0;
}
/* BLIK label highlight */
.woocommerce-checkout .wc_payment_method label[for*="blik"] {
    font-weight: 600;
}
