* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #ffffff;
    --text: #111111;
    --muted: #666;
    --yellow: #ffcb05;
    --red: #ef4444;
    --card: #ffffff;
    --panel: rgba(0,0,0,0.08);
    --radius: 12px;
    --shadow: 0 10px 25px rgba(0,0,0,0.07);
    --font: "Oswald", sans-serif;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    border-bottom: 1px solid var(--panel);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-left a {
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 600;
    transition: .2s;
}

.nav-left a:hover {
    background: rgba(255,203,5,0.18);
    color: var(--text);
}

.brand-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-title {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--yellow), var(--red));
    padding: 6px 14px;
    border-radius: 10px;
    color: #351a00;
}

.brand-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.hero {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 26px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 38px;
    line-height: 1.05;
    margin-bottom: 12px;
}

.hero-text p {
    font-size: 16px;
    color: var(--muted);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}

.btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: .25s;
}

.btn.primary {
    background: var(--yellow);
    color: #2b1900;
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn.outline {
    border: 2px solid var(--red);
    background: transparent;
    color: var(--red);
}

.btn.outline:hover {
    background: rgba(255,0,0,.08);
}

.hero-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.img-stack {
    position: relative;
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.img-stack img {
    width: 100%;
    display: block;
    transition: transform .25s, opacity .25s;
}

.img-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.img-stack:hover .img-main {
    opacity: 0;
    transform: scale(.96);
}

.img-stack:hover .img-hover {
    opacity: 1;
    transform: scale(1.03);
}

.preview {
    display: flex;
    gap: 22px;
    padding: 20px;
    margin-top: 34px;
    border: 1px solid var(--panel);
    border-radius: var(--radius);
    background: rgba(255,255,255,.6);
}

.preview-info {
    flex: 1;
}

.preview-info p {
    color: var(--muted);
    font-size: 15px;
}

.feature-row {
    display: flex;
    gap: 14px;
    margin-top: 12px;
}

.feature-box {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--panel);
    background: rgba(255,203,5,.08);
    min-width: 150px;
}

.feature-box small {
    font-size: 12px;
    color: var(--muted);
}

.preview-side {
    min-width: 240px;
}

.promo-box {
    padding: 16px;
    border: 1px solid var(--panel);
    border-radius: var(--radius);
    background: var(--card);
}

.collections {
    margin-top: 40px;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.collection-card {
    background: var(--card);
    border: 1px solid var(--panel);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .25s;

}

.collection-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.collection-card span {
    display: block;
    padding: 14px;
    font-weight: 700;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.product-card {
    background: var(--card);
    border: 1px solid var(--panel);
    padding: 14px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
}

.product-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 12px;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.12);
}

.meta {
    display: flex;
    justify-content: space-between;
}

.price {
    font-weight: 700;
}

.about-hero {
    text-align: center;
    padding: 60px 20px 40px;
}

.about-hero h1 {
    font-size: 46px;
    margin-bottom: 10px;
}

.about-hero p {
    max-width: 700px;
    margin: auto;
    font-size: 17px;
    color: #666;
}

.about-section {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.about-section h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.about-mission ul {
    margin-left: 18px;
    line-height: 1.7;
    color: #444;
    font-size: 16px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.team-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
    transition: .25s;
}

.team-card img {
    width: 100%;
    height: 650px;
    object-fit: cover;
}

.team-card span {
    display: block;
    padding: 14px;
    font-size: 18px;
    font-weight: 700;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 30px rgba(0,0,0,0.12);
}

.contact-hero {
    text-align: center;
    padding: 60px 20px 40px;
}

.contact-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.contact-hero p {
    max-width: 650px;
    margin: auto;
    font-size: 16px;
    color: #666;
}

.contact-section {
    max-width: 1150px;
    margin: 50px auto;
    padding: 0 20px;
}

.contact-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.contact-image img {
    width: 380px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    object-fit: cover;
}

.contact-form {
    flex: 1;
    background: #fff;
    padding: 28px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 12px 25px rgba(0,0,0,0.06);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 15px;
    margin-bottom: 6px;
    color: #444;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.18);
    font-size: 15px;
    outline: none;
    transition: .25s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 4px rgba(255,203,5,0.22);
}

.contact-form button {
    width: 100%;
    margin-top: 10px;
}

.shop-hero {
    text-align: center;
    padding: 60px 20px 30px;
}

.shop-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.shop-hero p {
    max-width: 680px;
    margin: auto;
    color: #666;
    font-size: 16px;
}

.shop-filter {
    width: 100%;
    max-width: 1180px;
    margin: 20px auto 10px;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
}

.shop-filter select {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.2);
    font-size: 15px;
    outline: none;
    transition: .25s;
    background: #fff;
}

.shop-filter select:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255,203,5,0.25);
}

.shop-products {
    margin-top: 20px;
}

#shopGrid .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 32px rgba(0,0,0,0.12);
}

.product-card .title {
    font-weight: 700;
    font-size: 15px;
}

.site-footer {
    margin-top: 50px;
    border-top: 1px solid var(--panel);
    background: #fff;
    padding: 22px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    margin-right: 12px;
    text-decoration: none;
    font-weight: 700;
    color: var(--text);
}

.footer-copy {
    color: var(--muted);
    font-size: 14px;
}

.product-card img {
    width: 100px;
    height: auto;
}
.nav-cart {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.cart-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

#cartCount {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: 700;
}
.cart-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.cart-content {
    width: 360px;
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
    animation: pop .25s ease;
}

@keyframes pop {
    from { transform: scale(.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.cart-total {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 700;
}

.fade-in {
    opacity: 1;
    transform: translateY(22px);
    transition: .6s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .preview {
        flex-direction: column;
    }
    .preview-side {
        width: 100%;
    }
    .brand-title {
        display: none;
    }
}

@media (max-width: 950px) {
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .contact-image img {
        width: 100%;
        max-width: 450px;
    }
    .contact-form {
        width: 100%;
    }
}

@media (max-width: 850px) {
    .shop-filter {
        justify-content: center;
    }
    .shop-hero h1 {
        font-size: 32px;
    }
}

.payment-content { max-width: 520px; width: 92%; position: relative; }
.payment-content .form-group input,
.payment-content .form-group textarea,
.payment-content .form-group select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-top:6px;
    margin-bottom:6px;
}

.close-x {
    position:absolute;
    right:12px;
    top:10px;
    border:none;
    background:transparent;
    font-size:18px;
    cursor:pointer;
}

#qrisArea canvas{ 
    border-radius:6px; 
    box-shadow: 0 6px 18px rgba(0,0,0,0.06); 
}

#errorPopup .cart-content {
    animation: pop .25s ease;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background: var(--yellow);
    font-weight: 700;
    transition: 0.2s;
}

.qty-btn:hover {
    background: var(--red);
    color: #fff;
}

.qty-num {
    width: 22px;
    text-align: center;
    font-weight: bold;
}

.success-card{ max-width:760px; margin:60px auto; background:#fff; padding:22px; border-radius:12px; box-shadow:0 14px 40px rgba(0,0,0,0.06);}
    .muted{color:#666}

.qrCodeContainer{
    width: 100%;
    display: flex;
    justify-content: center;
}