/* Clean Light Slate & Forest Green Theme (Matched to ToyyibPay Setup Guide) */
        :root {
            --bg: #f8fafc;
            --card: #ffffff;
            --surface: #f1f5f9;
            --border: #e2e8f0;
            --text: #0f172a;
            --body: #334155;
            --muted: #64748b;
            --orange: #126743;
            --orange-soft: #eaf7f0;
            --green: #059669;
            --green-soft: #ecfdf5;
            --amber: #d97706;
        }
        * { box-sizing:border-box; margin:0; padding:0; font-family:'Plus Jakarta Sans',sans-serif; }
        body {
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            line-height: 1.6;
        }

        /* Sticky Header */
        header {
            background: var(--card);
            border-bottom: 1px solid var(--border);
            padding: 14px 22px;
            position: sticky;
            top: 0;
            z-index: 40;
            box-shadow: 0 1px 3px rgba(15,23,42,.04);
        }
        .header-inner {
            max-width: 1140px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
        }
        .logo {
            font-weight: 800;
            font-size: 1.2rem;
            color: var(--text);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .logo span { color: var(--orange); }
        .top-links { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
        .btn-outline {
            background: var(--surface);
            border: 1px solid var(--border);
            color: var(--text);
            text-decoration: none;
            padding: 8px 14px;
            border-radius: 9px;
            font-weight: 700;
            font-size: .83rem;
            transition: .15s;
        }
        .btn-outline:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-soft); }
        .btn-accent {
            background: var(--orange);
            color: #fff;
            text-decoration: none;
            padding: 9px 16px;
            border-radius: 9px;
            font-weight: 700;
            font-size: .84rem;
            box-shadow: 0 2px 6px rgba(18,103,67,.25);
            transition: .15s;
        }
        .btn-accent:hover { filter: brightness(1.05); transform: translateY(-1px); }

        /* Hero Section (2-Column Split on Desktop) */
        .hero-wrap {
            width: 100%;
            max-width: 1140px;
            margin: 28px auto 0;
            padding: 0 18px;
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 24px;
            align-items: stretch;
        }
        @media(max-width: 900px) { .hero-wrap { grid-template-columns: 1fr; } }

        .hero-box {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 32px 28px;
            box-shadow: 0 4px 16px rgba(15,23,42,.04);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .pill {
            display: inline-block;
            align-self: flex-start;
            background: var(--orange-soft);
            color: var(--orange);
            border: 1px solid rgba(18,103,67,.28);
            font-size: .72rem;
            font-weight: 800;
            padding: 4px 12px;
            border-radius: 999px;
            letter-spacing: .6px;
            text-transform: uppercase;
            margin-bottom: 14px;
        }
        .hero-box h1 {
            font-size: clamp(1.7rem, 3.6vw, 2.45rem);
            font-weight: 800;
            color: var(--text);
            line-height: 1.18;
            margin-bottom: 12px;
            letter-spacing: -.02em;
        }
        .brand-mark {
            background: var(--orange-soft);
            color: var(--orange);
            border: 1px solid rgba(18,103,67,.3);
            padding: 1px 10px;
            border-radius: 8px;
            display: inline-block;
        }
        .hero-box p {
            color: var(--body);
            font-size: .96rem;
            max-width: 560px;
            margin-bottom: 22px;
        }

        /* 3 Mini Highlight Cards Inside Hero */
        .summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
        @media(max-width: 580px) { .summary-grid { grid-template-columns: 1fr; } }
        .sum-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 13px 14px;
        }
        .sum-label { font-size: .68rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
        .sum-val { font-size: .96rem; font-weight: 800; color: var(--text); margin-top: 3px; }
        .sum-sub { font-size: .75rem; color: var(--green); font-weight: 700; margin-top: 2px; }

        /* Auth / Claim Card */
        .auth-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 26px;
            box-shadow: 0 4px 16px rgba(15,23,42,.04);
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        /* Keep the authentication card below the sticky header when navigating to it. */
        #owner-login {
            scroll-margin-top: var(--auth-scroll-offset, 90px);
        }
        @media (max-width: 900px) {
            #owner-login { scroll-margin-top: var(--auth-scroll-offset, 160px); }
        }
        .tabs {
            display: flex;
            gap: 6px;
            background: var(--surface);
            padding: 5px;
            border-radius: 10px;
            margin-bottom: 20px;
            border: 1px solid var(--border);
        }
        .tab {
            flex: 1;
            text-align: center;
            padding: 9px;
            border-radius: 7px;
            font-size: .86rem;
            font-weight: 700;
            color: var(--muted);
            text-decoration: none;
            transition: .15s;
        }
        .tab.active {
            background: var(--card);
            color: var(--orange);
            box-shadow: 0 1px 4px rgba(15,23,42,.08);
        }
        .form-group { margin-bottom: 14px; }
        label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
        .input-wrap {
            display: flex;
            align-items: center;
            background: var(--card);
            border: 1px solid #cbd5e1;
            border-radius: 10px;
            overflow: hidden;
            transition: .15s;
        }
        .input-wrap:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(18,103,67,.12); }
        .prefix {
            padding: 11px 12px;
            color: var(--orange);
            font-size: .88rem;
            font-weight: 800;
            background: var(--orange-soft);
            border-right: 1px solid var(--border);
        }
        input {
            width: 100%;
            background: transparent;
            border: none;
            padding: 11px 13px;
            color: var(--text);
            font-size: .93rem;
            outline: none;
        }
        .btn-submit {
            width: 100%;
            background: var(--orange);
            color: #fff;
            border: none;
            padding: 12px 16px;
            border-radius: 10px;
            font-size: .95rem;
            font-weight: 800;
            cursor: pointer;
            margin-top: 4px;
            box-shadow: 0 3px 10px rgba(18,103,67,.28);
            transition: .15s;
        }
        .btn-submit:hover { filter: brightness(1.05); transform: translateY(-1px); }

        .tip-box { background: var(--green-soft); border: 1px solid #a7f3d0; color: #065f46; border-radius: 10px; padding: 12px 14px; font-size: .85rem; margin-bottom: 14px; line-height: 1.5; }
        .warn-box { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 10px; padding: 12px 14px; font-size: .85rem; margin-bottom: 14px; line-height: 1.5; }
        .dev-link { display: block; margin-top: 6px; color: var(--orange); font-weight: 700; font-size: .8rem; word-break: break-all; }

        .auth-footer {
            margin-top: 14px;
            padding-top: 12px;
            border-top: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: .78rem;
            color: var(--muted);
        }
        .auth-footer a { color: var(--orange); font-weight: 700; text-decoration: none; }

        /* 3-Step Guide Strip (Styled like ToyyibPay Guideline Step Cards) */
        .steps-wrap {
            width: 100%;
            max-width: 1140px;
            margin: 18px auto 0;
            padding: 0 18px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 14px;
        }
        @media(max-width: 780px) { .steps-wrap { grid-template-columns: 1fr; } }
        .step-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(15,23,42,.03);
        }
        .step-head { display: flex; align-items: center; gap: 11px; margin-bottom: 8px; }
        .step-num {
            width: 32px;
            height: 32px;
            border-radius: 9px;
            background: var(--orange-soft);
            border: 1px solid rgba(18,103,67,.3);
            color: var(--orange);
            font-weight: 800;
            font-size: .9rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .step-title { font-size: 1rem; font-weight: 800; color: var(--text); }
        .step-body { color: var(--body); font-size: .86rem; line-height: 1.5; }

        /* SEO Directory Section */
        .directory-section { width: 100%; max-width: 1140px; margin: 26px auto 40px; padding: 0 18px; flex: 1; }
        .dir-header {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 15px;
            padding: 20px 22px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 14px;
            margin-bottom: 18px;
            box-shadow: 0 2px 10px rgba(15,23,42,.03);
        }
        .dir-title { font-size: 1.25rem; font-weight: 800; color: var(--text); }
        .dir-sub { color: var(--muted); font-size: .85rem; margin-top: 2px; }
        .dir-search-form { display: flex; gap: 8px; width: 100%; max-width: 390px; }
        .dir-search {
            flex: 1;
            background: var(--surface);
            border: 1px solid #cbd5e1;
            color: var(--text);
            padding: 9px 13px;
            border-radius: 9px;
            font-size: .86rem;
            outline: none;
        }
        .dir-search:focus { border-color: var(--orange); background: var(--card); }
        .dir-search-btn {
            background: var(--orange);
            border: none;
            color: #fff;
            padding: 0 15px;
            border-radius: 9px;
            font-size: .84rem;
            font-weight: 700;
            cursor: pointer;
        }
        .dir-clear-btn {
            background: var(--surface);
            border: 1px solid var(--border);
            color: var(--muted);
            padding: 0 11px;
            border-radius: 9px;
            font-size: .95rem;
            font-weight: 700;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
        }

        .shops-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
        @media(min-width: 640px) { .shops-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
        @media(min-width: 980px) { .shops-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

        .shop-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 15px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            text-decoration: none;
            color: var(--text);
            box-shadow: 0 2px 10px rgba(15,23,42,.03);
            transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
        }
        .shop-card:hover {
            transform: translateY(-3px);
            border-color: var(--orange);
            box-shadow: 0 12px 24px rgba(15,23,42,.08);
        }
        .shop-og-wrap { width: 100%; aspect-ratio: 1200 / 630; background: var(--surface); border-bottom: 1px solid var(--border); overflow: hidden; }
        .shop-og-img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .shop-card-body { padding: 16px 18px; display: flex; flex-direction: column; flex: 1; }
        .shop-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
        .shop-card-title { font-size: 1.04rem; font-weight: 800; color: var(--text); line-height: 1.3; }
        .shop-items-pill {
            background: var(--green-soft);
            color: var(--green);
            border: 1px solid #a7f3d0;
            font-size: .7rem;
            font-weight: 800;
            padding: 2px 8px;
            border-radius: 999px;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .shop-card-desc {
            color: var(--muted);
            font-size: .84rem;
            line-height: 1.48;
            margin-bottom: 14px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .shop-card-footer {
            margin-top: auto;
            padding-top: 10px;
            border-top: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 8px;
            font-size: .78rem;
        }
        .shop-full-url { color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .shop-visit-cta {
            background: var(--orange-soft);
            color: var(--orange);
            border: 1px solid rgba(18,103,67,.28);
            padding: 3px 9px;
            border-radius: 6px;
            font-weight: 800;
            white-space: nowrap;
        }
        .shop-card:hover .shop-visit-cta { background: var(--orange); color: #fff; }

        /* Pagination */
        .pagination-wrap { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
        .pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
        .page-link {
            background: var(--card);
            border: 1px solid var(--border);
            color: var(--body);
            text-decoration: none;
            padding: 8px 14px;
            border-radius: 9px;
            font-size: .85rem;
            font-weight: 700;
            min-width: 42px;
            min-height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: .15s;
        }
        .page-link:hover { border-color: var(--orange); color: var(--orange); }
        .page-link.active { background: var(--orange); border-color: var(--orange); color: #fff; }
        .page-ellipsis { color: var(--muted); padding: 0 4px; font-weight: 700; }
        .page-meta { font-size: .8rem; color: var(--muted); }

        /* SEO Platform Info & FAQ Section */
        .seo-about-section {
            width: 100%;
            max-width: 1140px;
            margin: 0 auto 48px;
            padding: 0 18px;
        }
        .seo-about-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 15px;
            padding: 24px 26px;
            box-shadow: 0 2px 10px rgba(15,23,42,.03);
        }
        .seo-about-title {
            font-size: 1.18rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 10px;
        }
        .seo-about-lead {
            color: var(--body);
            font-size: .9rem;
            margin-bottom: 16px;
        }
        .seo-faq-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 14px;
        }
        .seo-faq-item {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 14px;
        }
        .seo-faq-item h3 {
            font-size: .92rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 4px;
        }
        .seo-faq-item p {
            font-size: .83rem;
            color: var(--muted);
            line-height: 1.5;
        }

        /* Prevent iOS Safari Auto-Zoom on Inputs */
        @media (max-width: 768px) {
            input, .dir-search { font-size: 16px; }
        }

        footer {
            background: var(--card);
            border-top: 1px solid var(--border);
            text-align: center;
            padding: 20px;
            color: var(--muted);
            font-size: .83rem;
            margin-top: auto;
        }
        footer a { color: var(--orange); font-weight: 700; text-decoration: none; }
