/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER ==================== */
.main-header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(255,107,107,0.3);
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .brand {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.logo-text .tagline {
    font-size: 11px;
    color: #999;
    letter-spacing: 2px;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 5px;
}

.icon-link {
    position: relative;
    color: #dc0988;
    font-size: 24px;
    text-decoration: none;
}

.icon-link .badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #ff6b6b;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Navigation Desktop */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: #ff6b6b;
}

/* Category Dropdown */
.category-dropdown {
    position: relative;
}

.dropdown-btn {
    background: #ff6b6b;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 10px;
    z-index: 1;
}

.category-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background: #f8f9fa;
}

/* Admin Button */
.admin-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #2c3e50;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.admin-button i {
    font-size: 14px;
}

.admin-button:hover {
    background: #ff6b6b;
}

/* ==================== SLIDER HERO ==================== */
.hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    border-radius: 30px;
    padding: 40px 0;
}

.hero-slider {
    position: relative;
    min-height: 450px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 0 40px;
}

.slide.active {
    opacity: 1;
    position: relative;
}

.slide-content {
    flex: 1;
    text-align: left;
    padding-right: 30px;
}

.slide-content h2 {
    font-size: 38px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.slide-content p {
    font-size: 16px;
    margin-bottom: 0;
    color: #555;
    line-height: 1.6;
    max-width: 90%;
}

.slide-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.slide-img {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 5px solid white;
    transition: transform 0.3s ease;
}

.slide-img:hover {
    transform: scale(1.03);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 16px;
}

.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }

/* ==================== CATEGORIES ==================== */
.categories {
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.category-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.category-card h3 {
    margin-bottom: 5px;
}

/* ==================== PRODUCT GRID ==================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 16px;
    margin-bottom: 8px;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    margin-bottom: 10px;
}

.btn-add-cart {
    width: 100%;
    padding: 10px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

/* ==================== FOOTER ==================== */
footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
    flex-shrink: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    font-size: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}

/* ==================== PRODUCT DETAIL PAGE ==================== */
.product-detail-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    flex: 1;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-gallery {
    position: relative;
    top: 20px;
}

.main-image {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    aspect-ratio: 1 / 1;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
}

.thumbnail.active {
    border-color: #ff6b6b;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-detail {
    flex: 1;
}

.product-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.product-price-detail {
    font-size: 28px;
    font-weight: bold;
    color: #ff6b6b;
    margin: 15px 0;
}

.product-rating-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.stars {
    color: #ffa500;
    font-size: 18px;
}

.variant-section {
    margin: 20px 0;
}

.variant-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.variant-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.variant-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.variant-btn.active {
    border-color: #ff6b6b;
    background: #ff6b6b;
    color: white;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    border: none;
    padding: 10px 0;
    font-size: 14px;
}

.btn-add-cart, .btn-buy-now {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-add-cart {
    background: #ff6b6b;
    color: white;
}

.btn-buy-now {
    background: #2c3e50;
    color: white;
}

.btn-add-cart:hover, .btn-buy-now:hover {
    transform: translateY(-2px);
}

/* Product Details Tab */
.product-details-tab {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tab-header {
    display: flex;
    gap: 30px;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 0;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: #666;
}

.tab-btn.active {
    color: #ff6b6b;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff6b6b;
}

.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

.description-text {
    line-height: 1.8;
    color: #555;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.info-table tr td:first-child {
    width: 150px;
    font-weight: 600;
    background: #f8f9fa;
}

/* Review Section */
.reviews-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.review-header {
    display: flex;
    gap: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rating-average {
    text-align: center;
    min-width: 120px;
}

.rating-number {
    font-size: 48px;
    font-weight: bold;
    color: #ffa500;
}

.rating-stars {
    font-size: 20px;
    color: #ffa500;
}

.rating-bars {
    flex: 1;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.bar-label {
    width: 40px;
    font-size: 14px;
}

.bar-line {
    flex: 1;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #ffa500;
    border-radius: 4px;
}

.review-card {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: #ff6b6b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.reviewer-name {
    font-weight: 600;
}

.review-date {
    font-size: 12px;
    color: #999;
}

.review-stars {
    color: #ffa500;
    font-size: 14px;
    margin: 5px 0;
}

.review-text {
    margin-top: 10px;
    line-height: 1.6;
    color: #555;
}

.write-review-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-top: 30px;
}

.star-input {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.star-input i {
    font-size: 28px;
    cursor: pointer;
    color: #ddd;
    transition: color 0.3s;
}

.star-input i.active,
.star-input i:hover {
    color: #ffa500;
}

.review-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 10px 0;
    font-family: inherit;
    resize: vertical;
}

.btn-submit-review {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-submit-review:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

/* ==================== CART PAGE ==================== */
.cart-page {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    flex: 1;
}

.page-title {
    margin: 30px 0 20px;
    font-size: 28px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.cart-items {
    background: white;
    border-radius: 20px;
    padding: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr 120px 100px 50px;
    gap: 15px;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    background: #f0f0f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity button {
    width: 30px;
    height: 30px;
    background: #f0f0f0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.cart-item-price {
    font-weight: 600;
    color: #ff6b6b;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 18px;
}

.cart-summary {
    background: white;
    border-radius: 20px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.cart-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.summary-row.total {
    border-top: 2px solid #ff6b6b;
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 700;
    font-size: 18px;
}

.btn-checkout {
    display: block;
    text-align: center;
    background: #ff6b6b;
    color: white;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 20px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

/* ==================== CHECKOUT PAGE ==================== */
.checkout-page {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    flex: 1;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
}

.checkout-form,
.payment-section,
.product-info-card,
.order-summary {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b6b;
    display: inline-block;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
}

.payment-options {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.payment-option {
    flex: 1;
    text-align: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.payment-option.active {
    border-color: #ff6b6b;
    background: #fff5f5;
}

.payment-option i {
    font-size: 28px;
    margin-bottom: 8px;
    display: block;
}

.payment-option h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.cod-info {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

.bank-list {
    margin-bottom: 20px;
}

.bank-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 8px;
}

.bank-name {
    font-weight: 600;
}

.bank-number {
    font-family: monospace;
    font-size: 14px;
    color: #666;
}

.qris-section {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 20px;
}

.qrcode-box {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qrcode-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.payment-apps {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.payment-apps span {
    background: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid #ddd;
}

.upload-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.upload-label {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
}

.file-name {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.btn-order {
    width: 100%;
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

.order-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.order-item-img {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.order-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.feature {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

.feature i {
    font-size: 28px;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.feature h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.feature p {
    font-size: 12px;
    color: #666;
}

/* ==================== ORDER HISTORY PAGE ==================== */
.order-card {
    background: white;
    border-radius: 15px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.order-header {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
}

.order-id {
    font-weight: 600;
    color: #ff6b6b;
}

.order-date {
    font-size: 12px;
    color: #666;
}

.order-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-menunggu { background: #ffeaa7; color: #d4a000; }
.status-dikonfirmasi { background: #b2dfdb; color: #00695c; }
.status-diproses { background: #bbdef5; color: #1565c0; }
.status-dikirim { background: #c8e6c9; color: #2e7d32; }
.status-selesai { background: #a5d6a7; color: #1b5e20; }
.status-dibatalkan { background: #ffcdd2; color: #c62828; }

.order-body {
    padding: 20px;
}

.order-items {
    margin-bottom: 15px;
}

.order-item-row {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.order-item-img {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.order-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-detail {
    flex: 1;
}

.order-item-name {
    font-size: 14px;
    font-weight: 500;
}

.order-footer {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid #eee;
}

.order-total {
    font-weight: 700;
    font-size: 16px;
    color: #ff6b6b;
}

.btn-track,
.btn-review {
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    border: none;
}

.btn-track {
    background: #4ecdc4;
    color: white;
}

.btn-review {
    background: #ff6b6b;
    color: white;
}

.filter-status {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
}

.filter-btn.active {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

/* ==================== MODAL & NOTIFICATION ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    max-width: 400px;
    width: 90%;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-content i {
    font-size: 64px;
    color: #4ecdc4;
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.modal-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-review-now {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 10px;
}

.btn-later {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4ecdc4;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

/* ==================== HAMBURGER MENU ==================== */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
    margin-left: 15px;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    z-index: 1002;
    transition: right 0.3s ease;
    padding: 70px 25px 30px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu.open {
    right: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    display: none;
}

.menu-overlay.active {
    display: block;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    transition: color 0.3s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: #ff6b6b;
}

.mobile-menu a i {
    width: 24px;
    font-size: 18px;
}

.mobile-dropdown {
    margin-bottom: 0;
}

.mobile-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 0;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.mobile-dropdown-content {
    display: none;
    padding-left: 36px;
    margin-top: 5px;
}

.mobile-dropdown-content a {
    padding: 12px 0;
    font-size: 14px;
    border-bottom: none;
    font-weight: normal;
    color: #666;
}

.mobile-dropdown-content a:hover {
    color: #ff6b6b;
}

.mobile-dropdown.active .mobile-dropdown-content {
    display: block;
}

.mobile-dropdown.active .mobile-dropdown-btn i {
    transform: rotate(180deg);
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-menu:hover {
    color: #ff6b6b;
}
/* Style tombol download QR */
.download-qr-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px auto 0;
    transition: all 0.3s ease;
}

.download-qr-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.download-qr-btn i {
    font-size: 14px;
}

/* ==================== STICKY FOOTER - FIX KE BAWAH ==================== */
/* Konten utama yang mendorong footer */
main,
.cart-page,
.checkout-page,
.product-detail-container,
.all-products,
.categories,
.product-details-tab,
.reviews-section {
    flex: 1 0 auto;
}

/* Footer tetap di bawah */
footer {
    margin-top: auto;
    flex-shrink: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .slide-img {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    /* Header Mobile */
    .main-header .container {
        flex-direction: row;
        justify-content: space-between;
    }
     .header-icons {
        display: none !important;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .logo-text .brand {
        font-size: 18px;
    }
    
    .logo-text .tagline {
        font-size: 8px;
    }
    
    .icon-circle {
        width: 38px;
        height: 38px;
    }
    
    .badge {
        top: -5px;
        right: -8px;
        font-size: 9px;
        min-width: 16px;
        height: 16px;
    }
    
    /* Sembunyikan menu desktop & admin button */
    .nav-menu {
        display: none !important;
    }
    
    .admin-button {
        display: none !important;
    }
    
    /* Tampilkan hamburger */
    .hamburger-menu {
        display: flex !important;
    }
    
    /* Sembunyikan slider */
    .hero {
        display: none !important;
    }
    
    /* Categories */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-card {
        padding: 15px;
    }
    
    .category-icon {
        font-size: 32px;
    }
    
    .category-card h3 {
        font-size: 13px;
    }
    
    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-title {
        font-size: 13px;
    }
    
    .product-price {
        font-size: 14px;
    }
    
    .product-rating {
        font-size: 11px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Product Detail */
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }
    
    .product-name {
        font-size: 20px;
    }
    
    .product-price-detail {
        font-size: 22px;
    }
    
    .action-buttons {
        flex-wrap: wrap;
    }
    
    .review-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .rating-number {
        font-size: 36px;
    }
    
    /* Cart */
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cart-item {
        grid-template-columns: 70px 1fr;
        gap: 10px;
    }
    
    .cart-item-quantity,
    .cart-item-price,
    .cart-item-remove {
        grid-column: span 2;
    }
    
    /* Checkout */
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .payment-options {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Order History */
    .filter-status {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 12px;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .logo-text .brand {
        font-size: 16px;
    }
    
    .logo-text .tagline {
        font-size: 7px;
    }
    
    .icon-circle {
        width: 34px;
        height: 34px;
    }
    
    .hamburger-menu {
        width: 25px;
        height: 18px;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .btn-add-cart {
        padding: 8px;
        font-size: 12px;
    }
    
    .checkout-form,
    .payment-section,
    .order-summary {
        padding: 18px;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .modal-content h3 {
        font-size: 18px;
    }
    
    .btn-review-now,
    .btn-later {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-card,
.category-card {
    animation: fadeIn 0.5s ease-out;
}
/* ==================== REVIEW SECTION (LENGKAP) ==================== */
.reviews-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.review-header {
    display: flex;
    gap: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rating-average {
    text-align: center;
    min-width: 120px;
}

.rating-number {
    font-size: 48px;
    font-weight: bold;
    color: #ffa500;
}

.rating-stars {
    font-size: 20px;
    color: #ffa500;
}

.rating-bars {
    flex: 1;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.bar-label {
    width: 40px;
    font-size: 14px;
}

.bar-line {
    flex: 1;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #ffa500;
    border-radius: 4px;
}

.review-card {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: #ff6b6b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.reviewer-name {
    font-weight: 600;
}

.review-date {
    font-size: 12px;
    color: #999;
}

.review-stars {
    color: #ffa500;
    font-size: 14px;
    margin: 5px 0;
}

.review-text {
    margin-top: 10px;
    line-height: 1.6;
    color: #555;
}

.write-review-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-top: 30px;
}

.star-input {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.star-input i {
    font-size: 28px;
    cursor: pointer;
    color: #ddd;
    transition: color 0.3s;
}

.star-input i.active,
.star-input i:hover {
    color: #ffa500;
}

.review-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 10px 0;
    font-family: inherit;
    resize: vertical;
}

.btn-submit-review {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-submit-review:hover {
    background: #ff5252;
    transform: translateY(-2px);
}