/* Shop Frontend Styles - Shopee-like Design */
:root {
    --primary-color: #b88917;
    /* Align Bootstrap's primary variable with project primary color */
    --bs-primary: #b88917;
    --primary-hover: #f7c873;
    --secondary-color: #f7c873;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --text-color: #222;
    --text-light: #666;
    --success-color: #00bfa5;
    --warning-color: #ffbf00;
    --danger-color: #ff5722;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f5f5f5;
    color: var(--text-color);
    line-height: 1.5;
}

/* Navigation */
.navbar {
    background: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.75rem 0;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 12px;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.product-title:hover {
    color: var(--primary-color);
}

.product-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.product-old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-left: 8px;
}

.product-discount {
    background: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 8px;
}

.product-rating {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.product-rating .bi-star-fill {
    color: #ffc107;
    margin-right: 2px;
}

.product-sold {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 4px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-hover);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 4px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.bg-primary,
.text-bg-primary,
.btn-primary,
.badge.bg-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary:hover,
.bg-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}


/* Remove hover effect for section with bg-primary class */
section.bg-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Remove hover effects for buttons in the section */
.btn-light:hover {
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
    color: #212529 !important;
}

.btn-outline-light:hover {
    background-color: transparent !important;
    border-color: #f8f9fa !important;
    color: #f8f9fa !important;
}

/* Search Bar */
.search-container {
    background: white;
    padding: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    border: none;
    border-radius: 20px 0 0 20px;
    padding: 10px 20px;
    font-size: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-input:focus {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 0 0 2px rgba(184, 137, 23, 0.2);
    outline: none;
}

.search-btn {
    border-radius: 0 20px 20px 0;
    padding: 10px 20px;
    background: var(--primary-color);
    border: none;
    color: white;
    font-weight: 500;
}

/* Categories */
.category-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: var(--primary-color);
}

.category-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.category-name {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #b88917 0%, #f7c873 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Cart */
.cart-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 5px;
}

/* Checkout */
.checkout-summary {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-total {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Product Detail */
.product-gallery {
    position: relative;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.product-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--primary-color);
}

.product-detail-info {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.product-detail-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms cubic-bezier(.2,.9,.2,1), transform 600ms cubic-bezier(.2,.9,.2,1);
    will-change: opacity, transform;
}
.scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Stagger helpers (optional) */
.scroll-reveal.delay-1 { transition-delay: 80ms; }
.scroll-reveal.delay-2 { transition-delay: 160ms; }
.scroll-reveal.delay-3 { transition-delay: 240ms; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.product-detail-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.variant-selector {
    margin-bottom: 20px;
}

.variant-label {
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variant-option {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.variant-option:hover,
.variant-option.selected {
    border-color: var(--primary-color);
    background: rgba(184, 137, 23, 0.1);
    color: var(--primary-color);
}

/* Forms */
.form-control {
    border-radius: 4px;
    border: 1px solid var(--border-color);
    padding: 10px 15px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(184, 137, 23, 0.2);
}

/* Alerts */
.alert {
    border-radius: 4px;
    border: none;
}

.alert-success {
    background-color: rgba(0, 191, 165, 0.1);
    color: var(--success-color);
}

.alert-danger {
    background-color: rgba(255, 87, 34, 0.1);
    color: var(--danger-color);
}

.alert-warning {
    background-color: rgba(255, 191, 0, 0.1);
    color: var(--warning-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .product-card {
        margin-bottom: 15px;
    }

    .navbar-nav {
        text-align: center;
        margin-top: 15px;
    }

    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Badge */
.badge {
    border-radius: 10px;
    font-size: 0.75rem;
}

/* Modal */
.modal-content {
    border-radius: 8px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

/* Pagination */
.pagination {
    margin-bottom: 0;
}

.page-link {
    color: var(--primary-color);
    border-color: var(--border-color);
}

.page-link:hover,
.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Modern Hero Section */
.hero-section {
    background: linear-gradient(135deg, #b88917 0%, #f7c873 50%, #b88917 100%);
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    background: linear-gradient(45deg, #fff 0%, #f8f9fa 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.hero-image-container {
    position: relative;
    animation: fadeInRight 1.2s ease-out;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.floating-card {
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    border: none;
    z-index: 10;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Modern Search */
.search-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 20px;
    color: #666;
    z-index: 2;
    font-size: 1.1rem;
}

.search-input {
    padding-left: 50px !important;
    border-radius: 50px !important;
    border: 2px solid #e9ecef !important;
    font-size: 1.1rem !important;
    height: 60px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
}

.search-input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 20px rgba(184, 137, 23, 0.2) !important;
    transform: translateY(-2px);
}

.search-btn {
    border-radius: 0 50px 50px 0 !important;
    padding: 0 30px !important;
    height: 60px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    box-shadow: 0 4px 20px rgba(184, 137, 23, 0.3) !important;
    transition: all 0.3s ease !important;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(184, 137, 23, 0.4) !important;
}

.popular-searches {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.search-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(184, 137, 23, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* Modern Categories */
.categories-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.categories-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.category-card-modern {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: white;
    height: 100%;
}

.category-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-card-inner {
    padding: 40px 25px;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.category-card-modern:hover .category-card-inner {
    background: linear-gradient(135deg, #b88917 0%, #f7c873 100%);
    color: white;
}

.category-icon-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.category-card-modern:hover .category-icon-image {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(184, 137, 23, 0.2);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-card-modern:hover .category-img {
    transform: scale(1.05);
}

.category-name-modern {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.category-card-modern:hover .category-name-modern {
    color: var(--primary-color);
}

.category-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.category-card-modern:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Modern Products */
.featured-products-section {
    background: white;
}

.products-grid {
    max-width: 1400px;
    margin: 0 auto;
}

.product-card-modern {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.product-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image-modern {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-modern:hover .product-img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.7); /* putih transparan */
    backdrop-filter: blur(1px); /* efek blur di belakang overlay */
    -webkit-backdrop-filter: blur(1px); /* dukungan untuk Safari */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-modern:hover .product-overlay {
    opacity: 1;
}

.product-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.product-info-modern {
    padding: 15px;
}

.product-title-modern {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.product-title-modern:hover {
    color: var(--primary-color);
}

.product-price-modern {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-rating-modern {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars {
    color: #ffc107;
    font-size: 0.8rem;
}

.product-sold-modern {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Modern Features */
.features-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card-modern {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.feature-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #b88917 0%, #f7c873 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(184, 137, 23, 0.3);
}

.feature-icon {
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.feature-description {
    color: #666;
    text-align: center;
    line-height: 1.6;
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    background: linear-gradient(45deg, #b88917 0%, #f7c873 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes textGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(184, 137, 23, 0.5));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(184, 137, 23, 0.8));
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-image-wrapper {
        transform: none;
        margin-top: 2rem;
    }

    .floating-card {
        display: none;
    }

    .search-input,
    .search-btn {
        height: 50px !important;
        font-size: 1rem !important;
    }

    .category-card-inner {
        padding: 20px 15px;
    }

    .feature-card-modern {
        padding: 20px;
    }

    .popular-searches {
        flex-direction: column;
        align-items: center;
    }
}

/* View All Products Link */
.view-all-container {
    position: relative;
    display: inline-block;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(184, 137, 23, 0.05);
    border: 2px solid transparent;
}

.view-all-link:hover {
    color: var(--primary-hover);
    background: rgba(184, 137, 23, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 137, 23, 0.2);
}

.view-all-text {
    position: relative;
    z-index: 2;
}

.view-all-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.view-all-link:hover .view-all-arrow {
    background: var(--primary-hover);
    transform: translateX(3px) rotate(15deg);
    box-shadow: 0 4px 15px rgba(184, 137, 23, 0.3);
}

.view-all-arrow i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.view-all-link:hover .view-all-arrow i {
    transform: scale(1.1);
}

/* Admin Avatar Styles */
.admin-avatar {
    box-shadow: 0 2px 8px rgba(184, 137, 23, 0.2);
    transition: all 0.3s ease;
}

.admin-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(184, 137, 23, 0.3);
}

.admin-avatar-default {
    box-shadow: 0 2px 8px rgba(184, 137, 23, 0.2);
    transition: all 0.3s ease;
}

.admin-avatar-default:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(184, 137, 23, 0.3);
}

.admin-avatar-footer {
    box-shadow: 0 2px 8px rgba(184, 137, 23, 0.2);
    transition: all 0.3s ease;
}

.admin-avatar-footer:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(184, 137, 23, 0.3);
}

.admin-avatar-footer-default {
    box-shadow: 0 2px 8px rgba(184, 137, 23, 0.2);
    transition: all 0.3s ease;
}

.admin-avatar-footer-default:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(184, 137, 23, 0.3);
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Promo Label */
.promo-label {
    margin-top: 4px;
}

.promo-label .badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
}
/* Promo Badge */
.promo-badge {
    z-index: 10;
}

.promo-badge .badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%) !important;
    color: white !important;
    border: none !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3) !important;
    animation: pulse 2s infinite !important;
    border-radius: 12px !important;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}
/* Gallery Items */
/* Paksa container gambar memiliki ukuran tetap */
.gallery-image-container {
    position: relative !important;
    width: 100% !important; /* Lebar penuh kolom Bootstrap */
    height: 200px !important; /* Tinggi tetap 200px – ubah ke 250px atau 300px jika ingin lebih besar */
    overflow: hidden !important; /* Potong gambar yang melampaui */
    border-radius: 8px !important; /* Opsional: sudut melengkung */
    display: block !important;
}

/* Paksa gambar mengisi container sepenuhnya */
.gallery-image {
    width: 100% !important; /* Lebar penuh container */
    height: 100% !important; /* Tinggi penuh container */
    object-fit: cover !important; /* Potong gambar agar pas tanpa distorsi */
    transition: transform 0.3s ease !important; /* Efek hover */
    display: block !important;
    max-width: none !important; /* Hindari batas maksimal dari Bootstrap */
    max-height: none !important; /* Hindari batas maksimal dari Bootstrap */
}

/* Efek hover untuk zoom */
.gallery-image:hover {
    transform: scale(1.1) !important; /* Gambar membesar saat hover */
}

/* Pastikan overlay tidak mengganggu ukuran */
.gallery-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.gallery-image-container:hover .gallery-overlay {
    opacity: 1 !important;
}

/* Info box di bawah tetap */
.gallery-info-box {
    margin-top: 10px !important;
    text-align: center !important;
}

.gallery-item-title {
    font-size: 14px !important;
    font-weight: bold !important;
    color: #333 !important;
}