/* ========================================
   BOUTIQUE PREMIUM - Custom Styles
   ======================================== */

/* --- GLOBAL RESETS & TYPOGRAPHY --- */
body {
    font-family: 'Inter', sans-serif;
    color: #1a1a2e;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a2e;
}

a {
    text-decoration: none;
    transition: color 0.2s ease;
}

p {
    color: #555;
    line-height: 1.7;
}

/* --- BUTTONS --- */
.btn {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 24px;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
}

.btn-dark {
    border-radius: 8px;
    border: none;
}

.btn-dark:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline-dark {
    border-radius: 8px;
    border-width: 1.5px;
}

.btn-outline-dark:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.8rem;
    border-radius: 6px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 10px;
}

/* --- CARDS --- */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* --- FORM INPUTS --- */
.form-control {
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: #1a1a2e;
}

.form-control:focus {
    border-color: var(--outline-bg-color, #344767);
    box-shadow: 0 0 0 3px rgba(52, 71, 103, 0.1);
}

.form-control::placeholder {
    color: #aaa;
    font-weight: 400;
}

.form-select {
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    padding: 10px 14px;
    font-size: 0.9rem;
}

/* --- BADGES --- */
.badge {
    border-radius: 20px;
    padding: 5px 12px;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
}

/* --- NAVBAR PREMIUM --- */
.navbar-premium-header {
    position: fixed;
    width: 100%;
    z-index: 20;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.navbar-premium-header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 16px;
}

.navbar-brand img {
    height: 48px;
    transition: opacity 0.2s ease;
}

/* Center menu (desktop) */
.navbar-center-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--main-text-color, #1a1a2e);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav-menu-link:hover {
    color: var(--link-bg-color, #344767);
    background: rgba(0, 0, 0, 0.03);
}

.nav-menu-link.active {
    color: var(--link-bg-color, #344767);
    font-weight: 600;
}

/* Dropdown in center menu */
.nav-menu-dropdown {
    position: relative;
}

.nav-menu-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
}

.nav-menu-dropdown:hover .nav-menu-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-link {
    display: block;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #555;
    border-radius: 8px;
    transition: all 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

.nav-dropdown-link:hover {
    background: #f5f5f5;
    color: #1a1a2e;
}

.nav-dropdown-link.active {
    background: var(--outline-bg-color, #1a1a2e);
    color: var(--outline-text-color, #fff);
}

/* Right action buttons */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-action-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-text-color, #1a1a2e);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
}

.navbar-action-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--link-bg-color, #344767);
}

.navbar-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    font-size: 0.55rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--link-bg-color, #e74c3c);
    color: #fff;
    padding: 0 3px;
}

/* Expandable search bar */
.navbar-search-expanded {
    border-top: 1px solid #f0f0f0;
    padding: 8px 0;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from { opacity: 0; margin-top: -10px; }
    to { opacity: 1; margin-top: 0; }
}

.navbar-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 8px 14px;
}

.navbar-search-form input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    outline: none;
    color: #1a1a2e;
}

.navbar-search-form input::placeholder {
    color: #aaa;
}

.navbar-search-close {
    border: none;
    background: none;
    color: #999;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px;
}

.navbar-search-close:hover {
    color: #1a1a2e;
}

/* Mobile offcanvas nav */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    border-radius: 8px;
    transition: all 0.15s ease;
    text-decoration: none;
}

.mobile-nav-link i {
    width: 18px;
    text-align: center;
    font-size: 0.8rem;
    color: #999;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: #f5f5f5;
    color: var(--link-bg-color, #1a1a2e);
}

.mobile-nav-link.active i {
    color: var(--link-bg-color, #1a1a2e);
}

.mobile-nav-sublink {
    display: block;
    padding: 6px 12px 6px 40px;
    font-size: 0.78rem;
    color: #888;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.mobile-nav-sublink:hover,
.mobile-nav-sublink.active {
    color: var(--link-bg-color, #1a1a2e);
    background: #f8f9fa;
}

/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
    background: var(--outline-bg-color, #1a1a2e);
    color: var(--outline-text-color, #fff);
    text-align: center;
    padding: 8px 16px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* --- FLOATING BUTTONS --- */
.floating-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: floatingEntrance 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.floating-btn:nth-child(1) { animation-delay: 0.6s; }
.floating-btn:nth-child(2) { animation-delay: 0.8s; }

@keyframes floatingEntrance {
    from {
        opacity: 0;
        transform: scale(0.3) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.floating-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.floating-btn:active {
    transform: scale(0.95);
}

/* Cart floating button */
.floating-btn-cart {
    background: var(--outline-bg-color, #1a1a2e);
    color: var(--outline-text-color, #fff);
}

.floating-btn-cart:hover {
    color: var(--outline-text-color, #fff);
}

.floating-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #1a1a2e;
    padding: 0 5px;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* WhatsApp button */
.floating-btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.floating-btn-whatsapp:hover {
    background: #20bd5a;
    color: #fff;
}

/* --- FOOTER PREMIUM --- */
.footer-premium {
    padding: 50px 0 20px;
}

.footer-premium h6 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-premium .footer-link {
    display: block;
    padding: 4px 0;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.footer-premium .footer-link:hover {
    opacity: 1;
    padding-left: 4px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.footer-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
    font-size: 0.9rem;
}

.footer-social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    font-size: 0.75rem;
    opacity: 0.6;
}

/* --- HERO / CAROUSEL --- */
.hero-carousel .carousel-item {
    position: relative;
}

.hero-carousel .image-cover {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.05) 60%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-text-wrap {
    max-width: 520px;
    padding-left: 3%;
}

.hero-subtitle {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-btn {
    padding: 12px 28px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: #fff;
}

.carousel-item.active .hero-subtitle,
.carousel-item.active .hero-title,
.carousel-item.active .hero-btn {
    animation: heroFadeUp 0.6s ease forwards;
}

.carousel-item.active .hero-subtitle { animation-delay: 0.15s; opacity: 0; }
.carousel-item.active .hero-title { animation-delay: 0.3s; opacity: 0; }
.carousel-item.active .hero-btn { animation-delay: 0.45s; opacity: 0; }

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-carousel .carousel-indicators {
    margin-bottom: 24px;
    gap: 6px;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 0.4;
    transition: all 0.3s ease;
    border: none;
}

.hero-carousel .carousel-indicators .active {
    width: 28px;
    border-radius: 4px;
    opacity: 1;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 0.8;
}

/* --- PRODUCT CARDS PREMIUM --- */
.product-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: #e0e0e0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.product-card .product-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: #f8f8f8;
}

.product-card .product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.05);
}

.product-card .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #e74c3c;
    color: #fff;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
}

.product-card .product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 2;
}

.product-card:hover .product-actions {
    transform: translateY(0);
}

.product-card .product-actions .btn {
    width: 100%;
    border-radius: 8px;
    font-size: 0.8rem;
    padding: 10px;
    backdrop-filter: blur(4px);
}

.product-card .product-info {
    padding: 14px 16px 18px;
}

.product-card .product-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a1a2e;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-card .product-name a {
    color: inherit;
}

.product-card .product-name a:hover {
    color: var(--link-bg-color, #344767);
}

.product-card .product-price {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}

.product-card .product-price-original {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
    font-weight: 400;
}

/* --- CATEGORY CARDS --- */
.category-card-link {
    text-decoration: none;
    display: block;
}

.category-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 220px;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card .category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.05) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 60%);
}

.category-card .category-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    margin-bottom: 2px;
}

.category-card .category-cta {
    color: rgba(255,255,255,0.7);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transform: translateX(-5px);
    opacity: 0;
    transition: all 0.3s ease;
}

.category-card .category-cta i {
    font-size: 0.55rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-cta {
    opacity: 1;
    transform: translateX(0);
}

.category-card:hover .category-cta i {
    transform: translateX(3px);
}

/* --- BREADCRUMB --- */
.breadcrumb-premium {
    background: #f8f9fa;
    padding: 40px 0;
    text-align: center;
}

.breadcrumb-premium h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.breadcrumb-premium .breadcrumb {
    justify-content: center;
    margin-bottom: 0;
}

.breadcrumb-premium .breadcrumb-item {
    font-size: 0.8rem;
    font-weight: 500;
}

.breadcrumb-premium .breadcrumb-item a {
    color: #888;
}

/* --- SHOP SIDEBAR --- */
.shop-sidebar {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: 4px;
}

.shop-sidebar::-webkit-scrollbar {
    width: 3px;
}

.shop-sidebar::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.shop-sidebar::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.shop-sidebar .sidebar-section,
.shop-offcanvas .sidebar-section {
    margin-bottom: 28px;
}

.shop-sidebar .sidebar-title,
.shop-offcanvas .sidebar-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    color: #999;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.shop-sidebar .category-list,
.shop-offcanvas .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar .category-list > li,
.shop-offcanvas .category-list > li {
    margin-bottom: 2px;
}

/* Category link row */
.shop-cat-row {
    display: flex;
    align-items: center;
}

.shop-cat-link {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    padding: 8px 10px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #555;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    min-width: 0;
}

.shop-cat-link:hover {
    background: #f8f9fa;
    color: var(--link-bg-color, #1a1a2e);
}

.shop-cat-link.active {
    background: var(--outline-bg-color, #1a1a2e);
    color: var(--outline-text-color, #fff);
    font-weight: 600;
}

.shop-cat-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-cat-count {
    margin-left: auto;
    font-size: 0.7rem;
    color: #bbb;
    font-weight: 400;
    flex-shrink: 0;
}

.shop-cat-link.active .shop-cat-count {
    color: inherit;
    opacity: 0.7;
}

.shop-cat-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 5px;
    flex-shrink: 0;
}

.shop-cat-icon.small {
    width: 18px;
    height: 18px;
}

/* Toggle subcategories */
.shop-cat-toggle {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #bbb;
    cursor: pointer;
    border-radius: 6px;
    font-size: 0.65rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.shop-cat-toggle:hover {
    background: #f0f0f0;
    color: #555;
}

.shop-cat-toggle.open i {
    transform: rotate(180deg);
}

.shop-cat-toggle i {
    transition: transform 0.25s ease;
}

/* Subcategory list */
.shop-sub-list {
    list-style: none;
    padding: 2px 0 4px 12px;
    margin: 0;
    display: none;
    border-left: 2px solid #f0f0f0;
    margin-left: 20px;
}

.shop-sub-list .shop-cat-link {
    font-size: 0.8rem;
    padding: 6px 10px;
}

/* Price filter */
.shop-price-filter {
    padding: 0;
}

.shop-price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-price-field {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s ease;
}

.shop-price-field:focus-within {
    border-color: var(--outline-bg-color, #1a1a2e);
}

.shop-price-prefix {
    padding: 0 0 0 10px;
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
}

.shop-price-input {
    width: 100%;
    border: none;
    outline: none;
    padding: 8px 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #1a1a2e;
    background: transparent;
}

.shop-price-input::placeholder {
    color: #ccc;
}

.shop-price-separator {
    color: #ccc;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.shop-btn-filter {
    font-size: 0.78rem;
    padding: 8px 16px;
    border-radius: 8px;
}

/* Shop toolbar */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.shop-toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.shop-toolbar-right {
    flex-shrink: 0;
}

.shop-result-count {
    font-size: 0.8rem;
    color: #888;
}

.shop-sort-select {
    width: auto;
    font-size: 0.8rem;
    padding: 7px 32px 7px 12px;
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    background-color: #fff;
    cursor: pointer;
}

.shop-sort-select:focus {
    border-color: var(--outline-bg-color, #1a1a2e);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

/* Mobile filter button */
.shop-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.shop-filter-btn:hover {
    border-color: var(--outline-bg-color, #1a1a2e);
    color: var(--outline-bg-color, #1a1a2e);
}

/* Active filter chips */
.shop-active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.shop-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #f5f5f5;
    color: #555;
    transition: all 0.2s ease;
    text-decoration: none;
}

.shop-filter-chip:hover {
    background: #eee;
    color: #e74c3c;
}

.shop-filter-chip .fa-times {
    font-size: 0.6rem;
    opacity: 0.5;
}

.shop-filter-chip .fa-tag,
.shop-filter-chip .fa-dollar-sign {
    font-size: 0.6rem;
    color: var(--outline-bg-color, #888);
}

.shop-clear-all {
    font-size: 0.75rem;
    color: #e74c3c;
    font-weight: 500;
    text-decoration: none;
    margin-left: 4px;
    transition: opacity 0.2s ease;
}

.shop-clear-all:hover {
    opacity: 0.7;
    color: #e74c3c;
}

/* Empty state */
.shop-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fafafa;
    border-radius: 12px;
    border: 1.5px dashed #e0e0e0;
}

.shop-empty-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
    font-size: 1.3rem;
    color: #bbb;
}

.shop-empty-state h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.shop-empty-state p {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 16px;
}

/* Shop offcanvas */
.shop-offcanvas {
    max-width: 320px;
}

.shop-offcanvas .offcanvas-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 20px;
}

.shop-offcanvas .offcanvas-body {
    padding: 20px;
}

/* --- PRODUCT DETAIL --- */
.detail-breadcrumb {
    font-size: 0.78rem;
}

.detail-breadcrumb .breadcrumb-item a {
    color: #999;
    transition: color 0.2s ease;
}

.detail-breadcrumb .breadcrumb-item a:hover {
    color: var(--link-bg-color, #1a1a2e);
}

.detail-gallery-wrap {
    position: sticky;
    top: 100px;
}

.detail-gallery {
    border-radius: 14px;
    overflow: hidden;
    background: #f8f8f8;
    position: relative;
}

.detail-gallery .main-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    padding: 24px;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.detail-badge-discount {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    background: #e74c3c;
    color: #fff;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.detail-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.7rem;
    z-index: 3;
    opacity: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-gallery:hover .detail-nav-btn {
    opacity: 1;
}

.detail-nav-btn:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.detail-nav-prev { left: 12px; }
.detail-nav-next { right: 12px; }

.detail-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.detail-thumbnails .thumb {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    background: #f8f8f8;
}

.detail-thumbnails .thumb:hover {
    border-color: #ddd;
}

.detail-thumbnails .thumb.active_item_select,
.detail-thumbnails .thumb.active {
    border-color: var(--outline-bg-color, #1a1a2e);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

.detail-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Detail info */
.detail-category-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--outline-bg-color, #888);
    background: rgba(0,0,0,0.04);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.detail-category-badge:hover {
    background: var(--outline-bg-color, #1a1a2e);
    color: var(--outline-text-color, #fff);
}

.detail-product-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 10px;
    color: #1a1a2e;
    letter-spacing: -0.01em;
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.detail-stars .fa-star {
    color: #ffc107;
    font-size: 0.8rem;
}

.detail-rating-count {
    font-size: 0.78rem;
    color: #999;
}

/* Price */
.detail-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.detail-price-current {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.02em;
}

.detail-price-old {
    font-size: 1rem;
    color: #bbb;
    text-decoration: line-through;
    font-weight: 400;
}

.detail-discount-tag {
    display: inline-block;
    background: #fff0f0;
    color: #e74c3c;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
}

.detail-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 16px 0 20px;
}

.detail-short-desc {
    color: #666;
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.detail-option-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.detail-variants-section {
    margin-bottom: 20px;
}

/* Action row */
.detail-action-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.detail-btn-cart {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 10px;
    min-width: 180px;
    transition: all 0.3s ease;
}

.detail-btn-cart:hover:not(.disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.detail-btn-cart.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.detail-btn-remove {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1.5px solid #f0f0f0;
    background: #fff;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.detail-btn-remove:hover {
    border-color: #e74c3c;
    color: #e74c3c;
    background: #fff5f5;
}

/* Trust row */
.detail-trust-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-top: 1px solid #f0f0f0;
}

.detail-trust-item {
    font-size: 0.75rem;
    color: #999;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-trust-item i {
    font-size: 0.7rem;
    color: var(--outline-bg-color, #1a1a2e);
}

/* Tabs */
.detail-tabs-section {
    margin-top: 20px;
    margin-bottom: 50px;
}

.detail-tabs {
    border: none;
    gap: 4px;
    margin-bottom: 0;
}

.detail-tab-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    border: 1.5px solid #f0f0f0;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    background: #fafafa;
    text-decoration: none;
    transition: all 0.2s ease;
}

.detail-tab-link:hover {
    color: #1a1a2e;
    background: #f5f5f5;
}

.detail-tab-link.active {
    color: var(--outline-text-color, #fff) !important;
    background: var(--outline-bg-color, #1a1a2e) !important;
    border-color: var(--outline-bg-color, #1a1a2e) !important;
}

.detail-tab-link i {
    font-size: 0.7rem;
}

.detail-tab-count {
    background: rgba(0,0,0,0.08);
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    margin-left: 2px;
}

.detail-tab-link.active .detail-tab-count {
    background: rgba(255,255,255,0.2);
}

.detail-tab-content {
    border: 1.5px solid #f0f0f0;
    border-radius: 0 12px 12px 12px;
    background: #fff;
}

.detail-tab-body {
    padding: 28px;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #555;
}

.detail-no-reviews {
    color: #bbb;
    font-size: 0.85rem;
    text-align: center;
    padding: 20px 0;
}

/* Reviews */
.detail-review-card {
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f5;
}

.detail-review-card:last-child {
    border-bottom: none;
}

.detail-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.detail-review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--outline-bg-color, #1a1a2e);
    color: var(--outline-text-color, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.detail-review-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0;
}

.detail-review-date {
    font-size: 0.7rem;
    color: #bbb;
}

.detail-review-stars {
    display: flex;
    gap: 2px;
}

.detail-review-stars .fa-star {
    font-size: 0.65rem;
    color: #ffc107;
}

.detail-review-text {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
    padding-left: 50px;
}

/* Review form */
.detail-review-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.detail-review-form-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.detail-star-select .fa-star {
    font-size: 1.1rem;
    color: #ddd;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-right: 2px;
}

.detail-star-select .fa-star.fas {
    color: #ffc107;
}

.detail-star-select .fa-star:hover {
    transform: scale(1.15);
}

/* Related products */
.detail-related-section {
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

/* Quantity selector premium */
.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.qty-selector button {
    width: 42px;
    height: 42px;
    border: none;
    background: #f8f9fa;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.qty-selector button:hover {
    background: #eee;
    color: #1a1a2e;
}

.qty-selector input {
    width: 48px;
    height: 42px;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    outline: none;
    color: #1a1a2e;
}

/* Variant pills */
.variant-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.variant-pill {
    padding: 7px 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.variant-pill:hover {
    border-color: var(--outline-bg-color, #1a1a2e);
    color: var(--outline-bg-color, #1a1a2e);
}

.variant-pill.active {
    border-color: var(--outline-bg-color, #1a1a2e);
    background: var(--outline-bg-color, #1a1a2e);
    color: var(--outline-text-color, #fff);
}

/* --- CART PREMIUM --- */
.cart-item-card {
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.4s ease forwards;
}

.cart-item-card:hover {
    border-color: #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.cart-item-card .cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8f8f8;
}

.cart-item-card .cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cart-item-card:hover .cart-item-image img {
    transform: scale(1.05);
}

.cart-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a1a2e;
    margin-bottom: 2px;
    line-height: 1.3;
}

.cart-item-name a {
    color: inherit;
    transition: color 0.2s ease;
}

.cart-item-name a:hover {
    color: var(--link-bg-color, #344767);
}

.cart-item-variant {
    display: inline-block;
    font-size: 0.72rem;
    color: #888;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.cart-item-price-unit {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.cart-price-original {
    text-decoration: line-through;
    color: #bbb;
    font-size: 0.8rem;
}

.cart-price-current {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1a1a2e;
}

.cart-discount-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #e74c3c;
    background: #fff0f0;
    padding: 1px 6px;
    border-radius: 4px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.cart-item-total {
    font-weight: 700;
    font-size: 0.95rem;
    min-width: 80px;
    text-align: right;
    color: #1a1a2e;
}

.cart-item-remove {
    color: #ccc;
    font-size: 0.8rem;
    transition: color 0.2s ease;
    padding: 4px;
}

.cart-item-remove:hover {
    color: #e74c3c;
}

/* Cart Summary */
.cart-summary {
    position: sticky;
    top: 100px;
    border: 1.5px solid #f0f0f0;
}

.cart-summary-divider {
    border-top: 1.5px solid #f0f0f0;
    padding-top: 14px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.btn-checkout-main {
    padding: 13px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-checkout-main.disabled {
    opacity: 0.5;
}

/* Trust badges */
.cart-trust-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f5f5f5;
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    color: #999;
    text-align: center;
}

.trust-badge-item i {
    font-size: 0.85rem;
    color: var(--outline-bg-color, #344767);
}

/* Empty cart */
.cart-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fafafa;
    border-radius: 12px;
    border: 1.5px dashed #e0e0e0;
}

.cart-empty-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
    font-size: 1.5rem;
    color: #bbb;
}

.cart-empty-state h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1a1a2e;
}

.cart-empty-state p {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 20px;
}

/* --- CHECKOUT PROGRESS --- */
.checkout-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 32px;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #ccc;
    transition: color 0.3s ease;
}

.checkout-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    background: #f0f0f0;
    color: #bbb;
    transition: all 0.3s ease;
}

.checkout-step.active .checkout-step-number {
    background: var(--outline-bg-color, #1a1a2e);
    color: var(--outline-text-color, #fff);
}

.checkout-step.active {
    color: var(--outline-bg-color, #1a1a2e);
    font-weight: 700;
}

.checkout-step.active .checkout-step-label {
    color: #1a1a2e;
}

.checkout-step-label {
    font-size: 0.8rem;
}

.checkout-step-divider {
    width: 50px;
    height: 2px;
    background: #eee;
    margin: 0 16px;
    border-radius: 1px;
}

/* --- ADMIN COLOR MODAL --- */
.color-config-group {
    margin-bottom: 20px;
}

.color-config-group-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
}

.color-config-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.color-config-row label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #555;
    flex: 1;
}

.color-config-row input[type="color"] {
    width: 36px;
    height: 36px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    padding: 2px;
    transition: border-color 0.2s ease;
}

.color-config-row input[type="color"]:hover {
    border-color: #aaa;
}

.color-config-preview {
    display: flex;
    gap: 6px;
    margin-top: 16px;
    margin-bottom: 12px;
}

.color-config-preview .preview-swatch {
    flex: 1;
    height: 6px;
    border-radius: 3px;
}

/* --- ORDERS --- */
.order-card {
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.order-card:hover {
    border-color: #ddd;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.order-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.order-status-pending {
    background: #fff8e1;
    color: #f59e0b;
}

.order-status-approved {
    background: #e8f5e9;
    color: #2dce89;
}

.order-status-rejected {
    background: #fce4ec;
    color: #e74c3c;
}

/* --- SECTION TITLES --- */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-title p {
    color: #888;
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
}

.section-overline {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--outline-bg-color, #888);
    margin-bottom: 6px;
}

/* --- HOME SECTIONS --- */
.home-categories-section {
    padding: 60px 0 40px;
}

.home-products-section {
    padding: 50px 0;
}

.home-products-section:nth-child(even) {
    background: #fafafa;
}

/* --- INFO SECTION --- */
.home-info-section {
    padding: 50px 0;
    border-top: 1px solid #f0f0f0;
}

.home-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
}

.home-info-card:hover {
    border-color: #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.home-info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--outline-bg-color, #1a1a2e);
    color: var(--outline-text-color, #fff);
    font-size: 1rem;
}

.home-info-text h6 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 3px;
    color: #1a1a2e;
}

.home-info-text p {
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Admin section card */
.admin-section-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.admin-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

/* --- LOGIN/REGISTER MODALS --- */
.modal-premium .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.modal-premium .modal-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 24px;
}

.modal-premium .modal-body {
    padding: 24px;
}

.modal-premium .modal-footer {
    border-top: none;
    padding: 0 24px 24px;
}

/* --- PAGINATION --- */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 3px;
    border: none;
    color: #555;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px 14px;
}

.pagination .page-item.active .page-link {
    background: var(--outline-bg-color, #1a1a2e);
    color: var(--outline-text-color, #fff);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes badgeBounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.4); }
    50%  { transform: scale(0.9); }
    70%  { transform: scale(1.15); }
    100% { transform: scale(1); }
}

@keyframes btnBounce {
    0%   { transform: translateY(0) scale(1); }
    30%  { transform: translateY(-6px) scale(1.08); }
    50%  { transform: translateY(0) scale(0.96); }
    70%  { transform: translateY(-2px) scale(1.02); }
    100% { transform: translateY(0) scale(1); }
}

.badge-bounce {
    animation: badgeBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-bounce {
    animation: btnBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.animate-fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .navbar-brand img {
        height: 40px;
    }

    .hero-carousel .image-cover {
        height: 340px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.7rem;
    }

    .hero-text-wrap {
        max-width: 350px;
    }

    .category-card {
        height: 160px;
    }

    .home-categories-section {
        padding: 40px 0 20px;
    }

    .home-products-section {
        padding: 36px 0;
    }

    .home-info-section {
        padding: 36px 0;
    }

    .detail-product-title {
        font-size: 1.2rem;
    }

    .detail-price-current {
        font-size: 1.4rem;
    }

    .detail-gallery-wrap {
        position: static;
    }
}

@media (max-width: 576px) {
    .hero-carousel .image-cover {
        height: 260px;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .hero-text-wrap {
        max-width: 280px;
        padding-left: 2%;
    }

    .hero-btn {
        padding: 9px 20px;
        font-size: 0.78rem;
    }

    .category-card {
        height: 130px;
    }

    .category-card .category-name {
        font-size: 0.8rem;
    }

    .home-info-card {
        padding: 14px;
        gap: 12px;
    }

    .home-info-icon {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .product-card .product-info {
        padding: 10px 12px 14px;
    }

    .product-card .product-name {
        font-size: 0.8rem;
    }

    .product-card .product-price {
        font-size: 0.9rem;
    }

    .floating-buttons {
        bottom: 16px;
        right: 16px;
        gap: 8px;
    }

    .floating-btn {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .floating-btn svg {
        width: 18px;
        height: 18px;
    }

    .breadcrumb-premium {
        padding: 24px 0;
    }

    .breadcrumb-premium h1 {
        font-size: 1.3rem;
    }

    .cart-item-card {
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px;
    }

    .cart-item-card .cart-item-image {
        width: 70px;
        height: 70px;
    }

    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
        padding-top: 8px;
        border-top: 1px solid #f8f8f8;
    }

    .cart-trust-badges {
        gap: 10px;
    }

    .checkout-step-label {
        font-size: 0.7rem;
    }

    .checkout-step-divider {
        width: 25px;
        margin: 0 8px;
    }

    /* Detail responsive */
    .detail-product-title {
        font-size: 1.1rem;
    }

    .detail-price-current {
        font-size: 1.3rem;
    }

    .detail-action-row {
        gap: 8px;
    }

    .detail-btn-cart {
        min-width: 140px;
        padding: 10px 16px;
        font-size: 0.82rem;
    }

    .detail-trust-row {
        gap: 14px;
    }

    .detail-trust-item {
        font-size: 0.7rem;
    }

    .detail-tab-link {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .detail-tab-body {
        padding: 20px 16px;
    }

    .detail-review-text {
        padding-left: 0;
    }

    .detail-thumbnails .thumb {
        width: 56px;
        height: 56px;
    }

    /* Shop responsive */
    .shop-toolbar {
        gap: 8px;
        padding-bottom: 12px;
    }

    .shop-result-count {
        font-size: 0.72rem;
    }

    .shop-active-filters {
        margin-bottom: 14px;
    }

    .shop-filter-chip {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .product-card .product-actions .btn {
        font-size: 0.7rem;
        padding: 8px;
    }
}
