:root {
    --shop-primary: #4f46e5;
    --shop-primary-dark: #3730a3;
    --shop-accent: #06b6d4;
    --shop-bg: #f4f5f9;
    --shop-text: #1e1e2d;
    --shop-muted: #6b7280;
    --shop-border: #e5e7eb;
    --shop-radius: 16px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Kanit', sans-serif;
    background: var(--shop-bg);
    color: var(--shop-text);
}

.shop-navbar {
    background: linear-gradient(135deg, #1e1b3a, #4f46e5);
    color: #fff;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}
.shop-navbar .brand { font-weight: 700; font-size: 1.2rem; }
.shop-navbar a { color: #fff; text-decoration: none; margin-left: 16px; opacity: .9; }
.shop-navbar a:hover { opacity: 1; }

.shop-hero {
    background: linear-gradient(135deg, #1e1b3a, #4f46e5, #06b6d4);
    color: #fff;
    padding: 60px 24px;
    text-align: center;
}
.shop-hero h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; }
.shop-hero p { opacity: .9; }

.shop-container { max-width: 1100px; margin: 0 auto; padding: 32px 20px; }

.shop-card {
    background: #fff;
    border-radius: var(--shop-radius);
    box-shadow: 0 2px 16px rgba(30,27,58,.08);
    padding: 24px;
}

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

.feature-card {
    background: #fff;
    border-radius: var(--shop-radius);
    padding: 22px;
    box-shadow: 0 2px 16px rgba(30,27,58,.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.feature-card h3 { margin: 0; font-size: 1.1rem; }
.feature-card .price { font-size: 1.6rem; font-weight: 700; color: var(--shop-primary); }
.feature-card .price small { font-size: .9rem; color: var(--shop-muted); font-weight: 400; }
.feature-card .original-price { text-decoration: line-through; color: var(--shop-muted); font-size: .95rem; }
.feature-card .promo-badge {
    display: inline-block;
    background: #fee2e2;
    color: #dc2626;
    font-size: .78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
}

.btn-shop-primary {
    background: linear-gradient(135deg, var(--shop-primary), var(--shop-accent));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    cursor: pointer;
}
.btn-shop-primary:hover { opacity: .92; }

.form-shop input, .form-shop select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--shop-border);
    border-radius: 10px;
    font-family: 'Kanit', sans-serif;
    margin-bottom: 12px;
}

/* --------- ป๊อปอัพประกาศ --------- */
.announcement-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.5);
    display: flex; align-items: center; justify-content: center;
    z-index: 2000;
}
.announcement-box {
    background: #fff; border-radius: var(--shop-radius);
    max-width: 440px; width: 90%; padding: 28px;
    box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.announcement-box h3 { margin-top: 0; }
.announcement-actions { display: flex; gap: 10px; margin-top: 20px; }
.announcement-actions button {
    flex: 1; padding: 10px; border-radius: 10px; border: none;
    font-family: 'Kanit', sans-serif; cursor: pointer;
}
.announcement-actions .btn-close-1h { background: #f4f5f9; color: var(--shop-text); }
.announcement-actions .btn-close-now { background: var(--shop-primary); color: #fff; }

/* --------- Dashboard: การ์ดเว็บไซต์ของลูกค้า --------- */
.website-card {
    background: #fff; border-radius: var(--shop-radius);
    padding: 20px; box-shadow: 0 2px 16px rgba(30,27,58,.08);
    margin-bottom: 16px;
}
.website-card .domain { font-weight: 600; font-size: 1.05rem; }
.badge-status { padding: 3px 10px; border-radius: 20px; font-size: .8rem; font-weight: 600; }
.badge-active { background: #d1fae5; color: #059669; }
.badge-expired { background: #fee2e2; color: #dc2626; }
