/* ============================================
   BEAUTY STORE — MASTER CSS v3
   ============================================ */

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    background: #f7f7f7;
    color: #2d2d2d;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ============ TOP BAR ============ */
.topbar {
    background: #2d2d2d;
    color: #ccc;
    font-size: 12.5px;
    padding: 8px 0;
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-left, .topbar-right {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.topbar a { color: #ccc; }
.topbar a:hover { color: #ff6b9d; }

/* ============ NAVBAR ============ */
.navbar {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    height: auto;
    display: block;
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo-icon { font-size: 28px; }

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #2d2d2d;
}

.logo-accent { color: #c44569; }

/* Search Bar */
.search-bar {
    flex: 1;
    display: flex;
    background: #f5f5f5;
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    max-width: 550px;
}

.search-bar:focus-within {
    border-color: #ff6b9d;
    background: white;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.search-bar button {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    border: none;
    padding: 0 25px;
    font-size: 16px;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.nav-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #fff5f9;
    border-radius: 50%;
    color: #c44569;
    font-size: 20px;
    transition: 0.3s;
}

.nav-icon-btn:hover {
    background: #ffd6e5;
}

.nav-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 220px;
    padding: 0 14px;
    border: 1px solid #ffd6e5;
    border-radius: 24px;
    background: #fff5f9;
    color: #c44569;
}

.nav-profile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: #ffd6e5;
    font-size: 16px;
}

.nav-profile-name {
    overflow: hidden;
    color: #5a2939;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid white;
}

.chat-page {
    max-width: 850px;
    margin: 40px auto;
}

.chat-box,
.admin-chat-list,
.admin-chat-conversation {
    overflow: hidden;
    border: 1px solid #f2dce4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 24px rgba(75, 32, 48, 0.08);
}

.chat-box-header,
.admin-chat-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #f3e5eb;
    background: #fff9fb;
}

.chat-box-header > div,
.admin-chat-heading {
    display: flex;
    flex-direction: column;
}

.chat-box-header strong,
.admin-chat-heading strong {
    color: #54283a;
}

.chat-box-header span:not(.chat-store-avatar),
.admin-chat-heading span {
    margin-top: 3px;
    color: #888;
    font-size: 12px;
}

.chat-store-avatar,
.admin-chat-contact-icon {
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffe8f0;
    font-size: 20px;
}

.chat-messages {
    display: flex;
    min-height: 300px;
    max-height: 55vh;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    padding: 20px;
    background: #fff;
}

.chat-empty {
    margin: auto;
    color: #999;
    font-size: 14px;
    text-align: center;
}

.chat-message {
    max-width: min(78%, 560px);
    padding: 10px 14px 8px;
    border-radius: 14px;
    overflow-wrap: anywhere;
}

.chat-message.is-mine {
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    background: #c44569;
    color: #fff;
}

.chat-message.is-store {
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    background: #f5f1f3;
    color: #333;
}

.chat-message p {
    margin: 0;
    white-space: pre-wrap;
}

.chat-message time {
    display: block;
    margin-top: 6px;
    color: currentColor;
    font-size: 10px;
    opacity: 0.72;
    text-align: right;
}

.chat-compose {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 14px;
    border-top: 1px solid #f3e5eb;
}

.chat-compose textarea {
    min-height: 46px;
    max-height: 140px;
    flex: 1;
    resize: vertical;
    padding: 12px;
    border: 1px solid #e6d7de;
    border-radius: 10px;
    font: inherit;
}

.chat-compose textarea:focus {
    border-color: #c44569;
    outline: 2px solid rgba(196, 69, 105, 0.12);
}

.chat-compose button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.chat-error {
    padding: 10px 16px;
    background: #fff0f0;
    color: #a32929;
    font-size: 13px;
}

.admin-chat-layout {
    display: grid;
    min-height: 620px;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 20px;
}

.admin-chat-list h3 {
    margin: 0;
    padding: 18px;
    border-bottom: 1px solid #f3e5eb;
    color: #54283a;
}

.admin-chat-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid #f5edf0;
    color: #444;
}

.admin-chat-contact:hover,
.admin-chat-contact.active {
    background: #fff3f7;
}

.admin-chat-contact-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.admin-chat-contact-info strong,
.admin-chat-contact-info small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-chat-contact-info small,
.chat-list-empty,
.admin-chat-no-selection {
    color: #888;
    font-size: 12px;
}

.chat-list-empty,
.admin-chat-no-selection {
    padding: 20px;
}

.admin-chat-conversation {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.admin-chat-messages {
    min-height: 420px;
    flex: 1;
    max-height: 62vh;
}

.info-page {
    max-width: 900px;
    margin: 40px auto;
}

.info-hero {
    margin-bottom: 24px;
    padding: 34px 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff2f7, #fff9fb);
    text-align: center;
}

.info-hero-icon {
    display: block;
    margin-bottom: 10px;
    font-size: 42px;
}

.info-hero h1 {
    margin: 0 0 10px;
    color: #54283a;
    font-size: 28px;
}

.info-hero p {
    margin: 0;
    color: #777;
    line-height: 1.7;
}

.info-card {
    margin-bottom: 18px;
    padding: 24px;
    border: 1px solid #f2dce4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(75, 32, 48, 0.05);
}

.info-card h2 {
    margin: 0 0 12px;
    color: #54283a;
    font-size: 19px;
}

.info-card p,
.info-card li {
    color: #666;
    line-height: 1.75;
}

.info-card a:not(.btn) {
    color: #c44569;
    font-weight: 600;
}

.info-contact-list {
    padding-left: 20px;
}

.info-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tracking-page {
    max-width: 760px;
}

.tracking-form-card form > .btn {
    width: 100%;
}

.tracking-result-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f3e5eb;
}

.tracking-result-heading h2 {
    margin: 5px 0 0;
    color: #c44569;
}

.tracking-label,
.tracking-details span {
    color: #888;
    font-size: 12px;
}

.tracking-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 20px 0;
}

.tracking-details div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tracking-details strong {
    color: #444;
    overflow-wrap: anywhere;
}

.tracking-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid #f3e5eb;
    list-style: none;
}

.tracking-progress li {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    color: #999;
    font-size: 12px;
    text-align: center;
}

.tracking-step-icon {
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 2px solid #e4d9de;
    border-radius: 50%;
    font-weight: 700;
}

.tracking-progress li.is-complete {
    color: #c44569;
    font-weight: 600;
}

.tracking-progress li.is-complete .tracking-step-icon {
    border-color: #c44569;
    background: #fff2f7;
    color: #c44569;
}

.tracking-progress li.is-current .tracking-step-icon {
    background: #c44569;
    color: #fff;
}

.tracking-cancelled {
    margin-top: 18px;
    padding: 14px;
    border-radius: 8px;
    background: #fff1f0;
    color: #a32929;
}

@media (max-width: 768px) {
    .admin-chat-layout {
        grid-template-columns: 1fr;
    }

    .admin-chat-list {
        max-height: 230px;
        overflow-y: auto;
    }

    .admin-chat-messages {
        min-height: 300px;
    }

    .chat-compose {
        align-items: stretch;
    }

    .chat-compose button {
        padding-right: 14px;
        padding-left: 14px;
    }

    .info-page {
        margin-top: 24px;
    }

    .info-hero {
        padding: 26px 18px;
    }

    .info-hero h1 {
        font-size: 23px;
    }

    .info-card {
        padding: 18px;
    }

    .tracking-details {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tracking-progress {
        gap: 4px;
    }

    .tracking-progress li {
        font-size: 10px;
    }
}

/* Kategori Bar */
.kategori-bar {
    background: white;
    border-top: 1px solid #f0f0f0;
    padding: 12px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.kategori-bar::-webkit-scrollbar { display: none; }

.kategori-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 8px;
    white-space: nowrap;
}

.kategori-bar a {
    padding: 8px 16px;
    color: #555;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 50px;
    transition: 0.25s;
}

.kategori-bar a:hover,
.kategori-bar a.active {
    background: #fff5f9;
    color: #c44569;
}

/* ============ HERO ============ */
.hero-new {
    padding: 25px 24px;
    background: #f7f7f7;
}

.hero-new-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.hero-main-banner {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.hero-main-banner::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.hero-main-content { position: relative; z-index: 1; }

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-main-content h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
}

.hero-main-content h1 .grad {
    color: #ffe4f0;
}

.hero-main-content p {
    font-size: 15px;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 400px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: white;
    color: #c44569;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    display: inline-block;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    display: inline-block;
}

.hero-main-image {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
}

.hero-main-image img {
    width: 100%;
    max-width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid rgba(255,255,255,0.2);
}

.hero-float {
    position: absolute;
    background: white;
    padding: 10px 16px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hero-float-1 { top: 20px; right: 0; }
.hero-float-2 { bottom: 20px; left: 0; }

.hero-float .hf-icon { font-size: 20px; }
.hero-float .hf-title {
    font-size: 13px;
    font-weight: 700;
    color: #2d2d2d;
}
.hero-float .hf-sub { font-size: 10.5px; color: #888; }

.hero-side {
    display: grid;
    gap: 20px;
}

.hero-side-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.hero-side-card::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ffe4f0, #ffd6e5);
    border-radius: 50%;
    top: -40px;
    right: -40px;
}

.hsc-icon { font-size: 36px; margin-bottom: 10px; position: relative; z-index: 1; }
.hsc-title {
    font-size: 16px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}
.hsc-desc {
    font-size: 12.5px;
    color: #888;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* ============ KATEGORI ICONS ============ */
.kategori-icons {
    padding: 30px 24px;
}

.kategori-icons-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
}

.kategori-icon-card {
    background: white;
    padding: 20px 12px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.04);
    border: 1px solid #f5f5f5;
    transition: 0.3s;
}

.kategori-icon-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(196,69,105,0.15);
    border-color: #ffd6e5;
}

.kategori-icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fff5f9, #ffd6e5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 12px;
}

.kategori-icon-name {
    font-size: 13px;
    font-weight: 600;
    color: #2d2d2d;
}

/* ============ FLASH SALE ============ */
.flash-sale {
    padding: 20px 24px;
}

.flash-sale-inner {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 2px solid #ffd6e5;
}

.flash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.flash-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    color: #c44569;
}

.flash-icon { font-size: 24px; }

.flash-countdown {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: #c44569;
    font-size: 14px;
}

.cd-box {
    background: #2d2d2d;
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 14px;
    min-width: 36px;
    text-align: center;
}

.flash-more {
    color: #c44569;
    font-weight: 600;
    font-size: 13px;
}

.flash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.flash-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f5f5f5;
    transition: 0.3s;
    display: block;
    color: inherit;
}

.flash-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(196,69,105,0.15);
}

.flash-img {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: #f5f5f5;
}

.flash-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flash-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
}

.flash-body { padding: 12px; }

.flash-name {
    font-size: 13px;
    font-weight: 600;
    color: #2d2d2d;
    line-height: 1.4;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
}

.fp-new {
    color: #c44569;
    font-size: 15px;
    font-weight: 800;
    display: block;
}

.fp-old {
    color: #999;
    font-size: 11.5px;
    text-decoration: line-through;
}

.fp-bar {
    height: 5px;
    background: #ffe4f0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
    margin-bottom: 4px;
}

.fp-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b9d, #c44569);
    border-radius: 10px;
}

.fp-text {
    font-size: 10.5px;
    color: #c44569;
    font-weight: 600;
}

/* ============ TRUST ============ */
.trust-section {
    padding: 30px 24px;
}

.trust-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.trust-item {
    background: white;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.04);
}

.trust-icon { font-size: 34px; margin-bottom: 10px; }
.trust-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 4px;
}
.trust-desc {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

/* ============ PRODUK SECTION ============ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px;
    flex: 1;
    width: 100%;
}

.produk-section { padding: 30px 24px 50px; }

.section-head-pro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-title-pro {
    font-size: 24px;
    font-weight: 800;
    color: #2d2d2d;
    margin-bottom: 4px;
}

.section-sub-pro {
    font-size: 13.5px;
    color: #888;
}

.link-see-all {
    color: #c44569;
    font-weight: 600;
    font-size: 13.5px;
    padding: 8px 16px;
    border-radius: 50px;
    background: #fff5f9;
}

.link-see-all:hover {
    background: #ffd6e5;
}

.produk-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.card-pro {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #f5f5f5;
    transition: 0.3s;
    display: block;
    color: inherit;
}

.card-pro:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(196,69,105,0.15);
    border-color: #ffd6e5;
}

.card-pro-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.card-pro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-pro {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    z-index: 2;
}

.badge-new {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
}

.badge-habis {
    background: #e74c3c;
    color: white;
}

.card-pro-body { padding: 12px 14px 14px; }

.card-pro-kat {
    display: inline-block;
    background: #fff5f9;
    color: #c44569;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.card-pro-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #2d2d2d;
    line-height: 1.4;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
}

.card-pro-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 11px;
}

.stars {
    color: #f39c12;
    font-size: 11px;
    letter-spacing: -1px;
}

.sold { color: #999; }

.card-pro-price {
    color: #c44569;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 6px;
}

.card-pro-loc {
    font-size: 11px;
    color: #888;
}

/* ============ CTA BANNER ============ */
.cta-banner {
    padding: 20px 24px 50px;
}

.cta-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #2d2d2d, #4a4a4a);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.cta-banner-inner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,107,157,0.3), transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -50px;
}

.cta-banner-text { position: relative; z-index: 1; }

.cta-banner-text h3 {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
}

.cta-banner-text p {
    font-size: 14px;
    color: #ccc;
}

.btn-cta-banner {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* ============ PRODUK GRID (HALAMAN PRODUK) ============ */
.produk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: 0.35s;
    display: flex;
    flex-direction: column;
    border: 1px solid #f5f5f5;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(196,69,105,0.15);
}

.card-img {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #ffeef5, #ffd6e5);
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.kategori-tag {
    display: inline-block;
    background: #fff5f9;
    color: #c44569;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    width: fit-content;
    border: 1px solid #ffd6e5;
}

.card-body h3 {
    font-size: 14.5px;
    color: #2d2d2d;
    margin-bottom: 6px;
    font-weight: 600;
    line-height: 1.4;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-body .desc {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    flex-grow: 1;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.harga {
    color: #c44569;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 22px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13.5px;
    transition: 0.25s;
    line-height: 1;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196,69,105,0.3);
}

.btn-block { width: 100%; }
.btn-outline {
    background: transparent;
    border: 2px solid #c44569;
    color: #c44569;
}
.btn-outline:hover { background: #c44569; color: white; }
.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-danger { background: #e74c3c; }
.btn-success { background: #27ae60; }

/* ============ FILTER BAR ============ */
.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-bar a {
    padding: 9px 22px;
    border-radius: 50px;
    background: white;
    color: #c44569;
    font-weight: 500;
    font-size: 13.5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #ffe4f0;
}

.filter-bar a.active,
.filter-bar a:hover {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    border-color: transparent;
}

/* ============ FORM ============ */
.form-box {
    background: white;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 4px 30px rgba(196,69,105,0.08);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #f5f5f5;
}

.form-box h3 {
    color: #2d2d2d;
    margin-bottom: 22px;
    font-size: 18px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #444;
    font-weight: 500;
    font-size: 13.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #eee;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b9d;
    background: white;
}

/* ============ TABEL ============ */
.table-wrap {
    background: white;
    border-radius: 16px;
    overflow-x: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #f5f5f5;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

table thead {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
}

table th {
    padding: 15px 18px;
    text-align: left;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
}

table td {
    padding: 15px 18px;
    font-size: 13.5px;
    color: #444;
    vertical-align: middle;
}

table tbody tr { border-bottom: 1px solid #f5f5f5; }
table tbody tr:hover { background: #fff9fb; }

/* ============ BADGE ============ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-pending { background: #fff3cd; color: #856404; }
.badge-proses { background: #cce5ff; color: #004085; }
.badge-kirim { background: #d1ecf1; color: #0c5460; }
.badge-selesai { background: #d4edda; color: #155724; }
.badge-batal { background: #f8d7da; color: #721c24; }
.badge-qris { background: #e8f4fd; color: #2980b9; }
.badge-transfer { background: #fff9e6; color: #d4a017; }
.badge-cod { background: #e8f9e8; color: #27ae60; }

/* ============ ALERT ============ */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success { background: #d4edda; color: #155724; border-left: 4px solid #27ae60; }
.alert-danger { background: #f8d7da; color: #721c24; border-left: 4px solid #e74c3c; }
.alert-info { background: #cce5ff; color: #004085; border-left: 4px solid #3498db; }
.alert-warning { background: #fff3cd; color: #856404; border-left: 4px solid #f39c12; }

/* ============ PAYMENT OPTIONS ============ */
.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 20px 0;
}

.payment-option {
    border: 2px solid #eee;
    border-radius: 14px;
    padding: 22px 15px;
    text-align: center;
    cursor: pointer;
    background: white;
    position: relative;
}

.payment-option input { display: none; }

.payment-option.selected {
    border-color: #c44569;
    background: #fff5f9;
}

.payment-option .icon { font-size: 34px; margin-bottom: 10px; }
.payment-option .name { font-weight: 700; color: #2d2d2d; font-size: 14px; margin-bottom: 4px; }
.payment-option .desc { font-size: 11.5px; color: #999; line-height: 1.4; }

/* ============ LOGIN ============ */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    padding: 20px;
}

.login-box {
    background: white;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.login-box .icon { font-size: 60px; margin-bottom: 15px; display: inline-block; }
.login-box h2 { color: #c44569; margin-bottom: 8px; font-size: 26px; }
.login-box p { color: #888; margin-bottom: 30px; font-size: 14px; }
.login-box .form-group { text-align: left; }

/* ============ ADMIN ============ */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #f5f6fa;
}

.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #c44569, #8e2c4c);
    color: white;
    padding: 25px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    flex-shrink: 0;
}

.sidebar .brand {
    padding: 0 25px 25px;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sidebar .brand-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 25px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 14px;
    border-left: 4px solid transparent;
}

.sidebar a:hover { background: rgba(255,255,255,0.1); color: white; }

.sidebar a.active {
    background: rgba(255,255,255,0.15);
    color: white;
    border-left-color: #ffd6e5;
    font-weight: 600;
}

.sidebar .menu-label {
    padding: 20px 25px 10px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    font-weight: 600;
}

.admin-content {
    flex: 1;
    padding: 35px 40px;
    overflow-x: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.admin-header h2 {
    color: #2d2d2d;
    font-size: 26px;
    font-weight: 700;
}

.admin-header .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
    font-size: 14px;
}

.admin-header .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Stat Cards */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-left: 5px solid #ff6b9d;
    position: relative;
}

.stat-card .icon-wrap {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 45px;
    height: 45px;
    background: #fff5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.stat-card .label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
}

.stat-card .value {
    font-size: 30px;
    font-weight: 700;
    color: #c44569;
}

/* ============ DETAIL PRODUK ============ */
.detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    padding: 45px;
    border-radius: 22px;
    box-shadow: 0 10px 40px rgba(196,69,105,0.08);
    border: 1px solid #f5f5f5;
}

.detail-image {
    background: linear-gradient(135deg, #ffeef5, #ffd6e5);
    border-radius: 18px;
    height: 450px;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.detail-info h1 {
    color: #2d2d2d;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 18px;
}

.detail-info .harga-besar {
    color: #c44569;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 25px;
}

.detail-info .deskripsi {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
    padding: 18px;
    background: #fff9fb;
    border-radius: 12px;
    border-left: 4px solid #ff6b9d;
}

.stok-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
}

.stok-tersedia { background: #d4edda; color: #155724; }
.stok-terbatas { background: #fff3cd; color: #856404; }
.stok-habis { background: #f8d7da; color: #721c24; }

.detail-extra {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
    padding-top: 25px;
    border-top: 2px dashed #ffd6e5;
}

.detail-extra .item {
    text-align: center;
    padding: 15px 10px;
    background: #fff9fb;
    border-radius: 12px;
}

.detail-extra .item .ic { font-size: 26px; margin-bottom: 8px; }
.detail-extra .item .txt { font-size: 12px; color: #666; font-weight: 500; }

.breadcrumb {
    font-size: 13.5px;
    color: #888;
    margin-bottom: 20px;
}

.breadcrumb a { color: #c44569; font-weight: 500; }
.breadcrumb .sep { margin: 0 8px; color: #ccc; }

/* ============ FOOTER ============ */
footer {
    background: #2d2d2d;
    color: #ccc;
    padding: 50px 24px 25px;
    margin-top: auto;
    font-size: 13.5px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-col p, .footer-col a {
    display: block;
    color: #aaa;
    font-size: 13px;
    line-height: 1.9;
}

.footer-col a:hover { color: #ff6b9d; }

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.footer-brand .logo-icon { font-size: 24px; }
.footer-brand .logo-text {
    font-size: 20px;
    font-weight: 800;
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 12.5px;
    color: #888;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .hero-new-inner { grid-template-columns: 1fr; }
    .hero-main-banner { grid-template-columns: 1fr; padding: 30px; text-align: center; }
    .hero-main-content p { margin: 0 auto 25px; }
    .hero-buttons { justify-content: center; }
    .hero-main-image { display: none; }
    .detail-wrapper { grid-template-columns: 1fr; padding: 25px; }
    .detail-image { height: 300px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
    .payment-options { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar-inner { flex-wrap: wrap; gap: 12px; }
    .search-bar { order: 3; flex-basis: 100%; max-width: 100%; }
    .logo-text { font-size: 18px; }
    .hero-main-content h1 { font-size: 30px; }
    .admin-layout { flex-direction: column; }
    .sidebar { width: 100%; height: auto; position: relative; }
    .produk-grid, .produk-grid-pro { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .card-img, .card-pro-img { height: 150px; }
    .footer-inner { grid-template-columns: 1fr; }
    .detail-extra { grid-template-columns: 1fr; }
}