:root {
    --primary: #d63384;
    --primary-dark: #a61e6b;
    --primary-light: #f8d4e4;
    --secondary: #fdf2f5;
    --accent: #e83e8c;
    --rose: #ffc0cb;
    --blush: #ffe4ec;
    --gold: #d4a853;
    --text-dark: #2d1b24;
    --text-muted: #7a5a6a;
    --text-light: #a08090;
    --bg-light: #fdfafb;
    --bg-gray: #f8f5f7;
    --border-color: #f0e4ea;
    --white: #ffffff;
    --shadow: 0 5px 25px rgba(214, 51, 132, 0.08);
    --shadow-lg: 0 10px 50px rgba(214, 51, 132, 0.12);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-full: 50px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --whatsapp-green: #25d366;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.btn {
    padding: 10px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(214, 51, 132, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 12px;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 15px;
}

.btn-light {
    background: var(--blush);
    color: var(--primary-dark);
}
.btn-light:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #c99a3e);
    color: var(--white);
}
.btn-gold:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 168, 83, 0.3);
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: var(--white);
}
.btn-whatsapp:hover {
    background: #20bd5c;
    color: var(--white);
    transform: translateY(-2px);
}
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--rose));
    margin: 12px auto 0;
    border-radius: 2px;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 0;
}
.text-center .section-title::after {
    margin: 12px auto 0;
}

.badge-available {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    animation: pulse 2s infinite;
}
.badge-preorder {
    background: linear-gradient(135deg, #fd7e14, #ffc107);
    color: #fff;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    animation: pulse 2s infinite;
}
.badge-sale {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin-top: 0;
}
.hero-slider .swiper-slide {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: var(--bg-light);
}
.hero-slider .slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-slider .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(45,27,36,0.55) 0%, rgba(45,27,36,0.1) 100%);
}
.hero-slider .slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 60px 0;
}
.hero-slider .slide-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero-slider .slide-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 28px;
    line-height: 1.6;
    max-width: 480px;
}
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #fff;
    background: rgba(214,51,132,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}
.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: rgba(214,51,132,0.6);
}
.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 18px;
}
.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
}
.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

.section-padding {
    padding: 80px 0;
}
.section-padding-sm {
    padding: 50px 0;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.category-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s;
}
.category-card:hover img {
    transform: scale(1.08);
}
.category-card .category-info {
    padding: 20px;
    text-align: center;
}
.category-card .category-info h5 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}
.category-card .category-info .product-count {
    font-size: 13px;
    color: var(--text-muted);
}
.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45,27,36,0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.category-card:hover .category-overlay {
    opacity: 1;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-card .product-image-wrap {
    position: relative;
    overflow: hidden;
    background: var(--bg-gray);
}
.product-card .product-image-wrap img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s;
}
.product-card:hover .product-image-wrap img {
    transform: scale(1.08);
}
.product-card .product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}
.product-card .product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.product-card .product-actions .action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.product-card .product-actions .action-btn:hover {
    background: var(--primary);
    color: var(--white);
}
.product-card .product-actions .action-btn.active {
    background: var(--primary);
    color: var(--white);
}
.product-card .product-info {
    padding: 18px;
}
.product-card .product-info .product-category {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.product-card .product-info .product-name {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 48px;
}
.product-card .product-info .product-price {
    margin-bottom: 12px;
}
.product-card .product-info .product-price .current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}
.product-card .product-info .product-price .old-price {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 8px;
}
.product-card .product-info .product-rating {
    margin-bottom: 8px;
}
.product-card .add-to-cart-btn {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}
.product-card .add-to-cart-btn:hover {
    background: var(--primary);
    color: var(--white);
}
.product-card .add-to-cart-btn.in-cart {
    background: var(--primary);
    color: var(--white);
}

.stars {
    display: inline-flex;
    gap: 2px;
    font-size: 14px;
    color: #ffc107;
}
.stars .star-empty {
    color: #ddd;
}
.stars .star-half {
    position: relative;
    display: inline-block;
}
.stars .star-half::after {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #ffc107;
}
.rating-count {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 6px;
}

.product-detail-gallery {
    position: relative;
}
.product-detail-gallery .main-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-gray);
    margin-bottom: 12px;
    cursor: crosshair;
}
.product-detail-gallery .main-image-wrap img {
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
    display: block;
}
.product-detail-gallery .zoom-lens {
    position: absolute;
    border: 2px solid var(--primary);
    width: 120px;
    height: 120px;
    background-repeat: no-repeat;
    pointer-events: none;
    display: none;
    z-index: 10;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(214,51,132,0.2);
}
.product-detail-gallery .zoom-result {
    position: absolute;
    top: 0;
    left: calc(100% + 16px);
    width: 400px;
    height: 400px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    background-repeat: no-repeat;
    box-shadow: var(--shadow-lg);
    z-index: 20;
    display: none;
    background-color: #fff;
}
.product-detail-gallery .thumbnails {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.product-detail-gallery .thumbnails .thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}
.product-detail-gallery .thumbnails .thumb:hover,
.product-detail-gallery .thumbnails .thumb.active {
    border-color: var(--primary);
}
.product-detail-gallery .thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info .product-name {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.product-detail-info .product-price-box {
    margin-bottom: 16px;
}
.product-detail-info .product-price-box .current-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}
.product-detail-info .product-price-box .old-price {
    font-size: 20px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 10px;
}
.product-detail-info .product-status {
    margin-bottom: 16px;
}
.product-detail-info .product-meta {
    margin-bottom: 20px;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.product-detail-info .product-meta .meta-item {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.product-detail-info .product-meta .meta-item span {
    color: var(--text-dark);
    font-weight: 500;
}
.product-detail-info .quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 20px;
}
.product-detail-info .quantity-selector button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-detail-info .quantity-selector button:hover {
    background: var(--primary-light);
}
.product-detail-info .quantity-selector input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    background: var(--white);
    outline: none;
}
.product-detail-info .product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.product-detail-info .product-actions .btn {
    flex: 1;
    min-width: 140px;
}

.product-tabs {
    margin-top: 40px;
}
.product-tabs .nav-tabs {
    border-bottom: 2px solid var(--border-color);
    gap: 0;
}
.product-tabs .nav-tabs .nav-link {
    border: none;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 15px;
    position: relative;
    background: transparent;
}
.product-tabs .nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s;
}
.product-tabs .nav-tabs .nav-link.active {
    color: var(--primary);
    background: transparent;
}
.product-tabs .nav-tabs .nav-link.active::after {
    transform: scaleX(1);
}
.product-tabs .tab-content {
    padding: 28px 0;
}
.product-tabs .tab-content p {
    line-height: 1.8;
    color: var(--text-muted);
}
.product-tabs .tab-content .specs-table {
    width: 100%;
}
.product-tabs .tab-content .specs-table tr {
    border-bottom: 1px solid var(--border-color);
}
.product-tabs .tab-content .specs-table td {
    padding: 10px 16px;
    font-size: 14px;
}
.product-tabs .tab-content .specs-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    width: 160px;
}

.review-item {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 16px;
}
.review-item .review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.review-item .review-header .review-author {
    font-weight: 600;
    font-size: 15px;
}
.review-item .review-header .review-date {
    font-size: 13px;
    color: var(--text-muted);
}
.review-item .review-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.rating-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}
.rating-input input {
    display: none;
}
.rating-input label {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}
.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
    color: #ffc107;
}

.review-form-area {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-top: 20px;
}

.page-header {
    background: linear-gradient(135deg, var(--bg-light), var(--blush));
    padding: 50px 0;
    text-align: center;
}
.page-header h1 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 6px;
}
.page-header p {
    color: var(--text-muted);
    font-size: 16px;
}
.page-header .breadcrumb {
    background: transparent;
    justify-content: center;
    margin-bottom: 0;
    padding: 0;
}
.page-header .breadcrumb-item a {
    color: var(--primary);
}
.page-header .breadcrumb-item.active {
    color: var(--text-muted);
}

.filter-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}
.filter-sidebar .filter-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}
.filter-sidebar .filter-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.filter-sidebar .filter-title {
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    color: var(--text-dark);
    cursor: pointer;
    user-select: none;
}
.filter-sidebar .filter-title .filter-toggle {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.3s;
}
.filter-sidebar .filter-title[aria-expanded="false"] .filter-toggle {
    transform: rotate(-90deg);
}
.filter-sidebar .filter-section .collapse:not(.show) + .filter-title .filter-toggle {
    transform: rotate(-90deg);
}
.filter-sidebar .filter-list li {
    margin-bottom: 8px;
}
.filter-sidebar .filter-list li a {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.filter-sidebar .filter-list li a:hover,
.filter-sidebar .filter-list li a.active {
    color: var(--primary);
}
.filter-sidebar .filter-list li a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-color);
    transition: var(--transition);
}
.filter-sidebar .filter-list li a:hover::before,
.filter-sidebar .filter-list li a.active::before {
    background: var(--primary);
}

.sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    background: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}
.sort-bar .result-count {
    font-size: 14px;
    color: var(--text-muted);
}
.sort-bar .sort-select {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 14px;
    outline: none;
    background: var(--white);
    cursor: pointer;
    color: var(--text-dark);
}
.sort-bar .sort-select:focus {
    border-color: var(--primary);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}
.cart-table thead th {
    padding: 14px 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
}
.cart-table tbody td {
    padding: 18px 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}
.cart-table .cart-product {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cart-table .cart-product img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
}
.cart-table .cart-product .cart-product-name {
    font-weight: 600;
    color: var(--text-dark);
}
.cart-table .cart-qty {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.cart-table .cart-qty button {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--bg-light);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}
.cart-table .cart-qty button:hover {
    background: var(--primary-light);
}
.cart-table .cart-qty input {
    width: 44px;
    height: 34px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    outline: none;
}
.cart-table .cart-remove {
    color: #dc3545;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}
.cart-table .cart-remove:hover {
    color: #a71d2a;
    transform: scale(1.2);
}
.cart-table tfoot td {
    padding: 18px 16px;
    border-bottom: none;
}

.cart-totals {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.cart-totals h5 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}
.cart-totals .totals-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
}
.cart-totals .totals-row.total {
    border-top: 2px solid var(--border-color);
    margin-top: 10px;
    padding-top: 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.cart-empty {
    text-align: center;
    padding: 80px 20px;
}
.cart-empty i {
    font-size: 64px;
    color: var(--border-color);
    margin-bottom: 20px;
}
.cart-empty h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 12px;
}
.cart-empty p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.checkout-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}
.checkout-section .checkout-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border-color);
}
.checkout-section .form-label {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.checkout-section .form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 11px 16px;
    font-size: 14px;
    transition: var(--transition);
    background: var(--bg-light);
}
.checkout-section .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(214, 51, 132, 0.12);
    background: var(--white);
}
.checkout-section .form-control.is-invalid {
    border-color: #dc3545;
}
.checkout-section textarea.form-control {
    min-height: 90px;
    resize: vertical;
}
.checkout-section .order-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}
.checkout-section .order-summary-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}
.checkout-section .order-summary-item .item-info {
    flex: 1;
}
.checkout-section .order-summary-item .item-info .item-name {
    font-size: 14px;
    font-weight: 600;
}
.checkout-section .order-summary-item .item-info .item-meta {
    font-size: 13px;
    color: var(--text-muted);
}

.account-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    height: 100%;
}
.account-card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 16px;
}
.account-card h5 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.account-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.account-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.account-sidebar .sidebar-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 24px 20px;
    text-align: center;
    color: var(--white);
}
.account-sidebar .sidebar-header .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 10px;
    background: rgba(255,255,255,0.15);
}
.account-sidebar .sidebar-header h6 {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 2px;
}
.account-sidebar .sidebar-header p {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 0;
}
.account-sidebar .sidebar-nav {
    padding: 12px 0;
}
.account-sidebar .sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
}
.account-sidebar .sidebar-nav a:hover,
.account-sidebar .sidebar-nav a.active {
    background: var(--blush);
    color: var(--primary);
}
.account-sidebar .sidebar-nav a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.auth-page {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fdf2f5 0%, #f8e8ef 30%, #fdf2f5 100%);
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}
.auth-bg-decor {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214,51,132,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.auth-box {
    background: var(--white);
    border-radius: 20px;
    padding: 48px 40px 40px;
    box-shadow: 0 15px 60px rgba(214, 51, 132, 0.12);
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    border: 1px solid rgba(214, 51, 132, 0.06);
}
.auth-header {
    text-align: center;
    margin-bottom: 32px;
}
.auth-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--blush));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 30px;
    color: var(--primary);
}
.auth-header h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}
.auth-header p {
    color: var(--text-muted);
    font-size: 14px;
}
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.input-group-custom {
    position: relative;
}
.input-group-custom .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #c0a0b0;
    font-size: 15px;
    z-index: 2;
    pointer-events: none;
    transition: color 0.3s;
}
.input-group-custom:focus-within .input-icon {
    color: var(--primary);
}
.input-group-custom .form-control {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px 12px 42px;
    font-size: 14px;
    transition: all 0.3s;
    background: var(--bg-light);
    height: 50px;
}
.input-group-custom .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(214, 51, 132, 0.12);
    background: var(--white);
}
.input-group-custom .form-control::placeholder {
    color: #c0a0b0;
    font-size: 13px;
}
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin: 4px 0;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 13px;
}
.custom-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}
.forgot-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}
.forgot-link:hover {
    color: var(--primary);
    text-decoration: underline;
}
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: #fff;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(214, 51, 132, 0.3);
    cursor: pointer;
}
.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(214, 51, 132, 0.4);
    color: #fff;
}
.btn-primary-custom:active {
    transform: translateY(0);
}
.btn-register-cta {
    position: relative;
    overflow: hidden;
    font-size: 18px !important;
    padding: 16px 35px !important;
    letter-spacing: 0.5px;
}
.btn-register-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
    animation: ctaShine 3s ease-in-out infinite;
}
@keyframes ctaShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}
.btn-register-cta:hover::after {
    animation-duration: 1s;
}
.auth-divider {
    text-align: center;
    position: relative;
    margin: 24px 0;
}
.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}
.auth-divider span {
    background: var(--white);
    padding: 0 16px;
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.auth-switch {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}
.switch-link {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}
.switch-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
.back-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.back-link:hover {
    color: var(--primary);
}
.alert-custom {
    border-radius: 12px;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
}
.alert-danger-custom {
    background: #fde8ee;
    color: #b02a5e;
    border-left: 4px solid #dc3545;
}
.alert-success-custom {
    background: #e8f8ee;
    color: #1e7a44;
    border-left: 4px solid #28a745;
}

.pagination {
    gap: 6px;
    justify-content: center;
    margin-top: 30px;
}
.pagination .page-item .page-link {
    border: 2px solid var(--border-color);
    border-radius: var(--radius) !important;
    padding: 8px 16px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    background: var(--white);
    margin: 0;
}
.pagination .page-item .page-link:hover {
    background: var(--blush);
    color: var(--primary);
    border-color: var(--primary);
}
.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--whatsapp-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}
.whatsapp-float:hover {
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}

.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(214, 51, 132, 0.3);
    transition: var(--transition);
}
.back-to-top.show {
    display: flex;
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(214, 51, 132, 0.4);
    color: var(--white);
}

.site-footer {
    background: #1a0f14;
    color: rgba(255,255,255,0.7);
    position: relative;
}
.site-footer .footer-wave {
    position: relative;
    top: -2px;
    line-height: 0;
}
.site-footer .footer-wave svg {
    width: 100%;
    height: 60px;
}
.site-footer .footer-main {
    padding: 60px 0 40px;
}
.site-footer .footer-widget {
    margin-bottom: 20px;
}
.site-footer .footer-widget-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
}
.site-footer .footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}
.site-footer .footer-about {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
    opacity: 0.8;
}
.site-footer .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
}
.site-footer .footer-contact-item i {
    color: var(--primary);
    margin-top: 4px;
    min-width: 16px;
}
.site-footer .footer-links li {
    margin-bottom: 10px;
}
.site-footer .footer-links li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.site-footer .footer-links li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: var(--primary);
}
.site-footer .footer-links li a:hover {
    color: #fff;
    padding-left: 5px;
}
.site-footer .footer-social-text {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 16px;
}
.site-footer .footer-social {
    display: flex;
    gap: 10px;
}
.site-footer .footer-social .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    transition: var(--transition);
}
.site-footer .footer-social .social-icon.facebook { background: #1877f2; }
.site-footer .footer-social .social-icon.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.site-footer .footer-social .social-icon.tiktok { background: #000; }
.site-footer .footer-social .social-icon.whatsapp { background: var(--whatsapp-green); }
.site-footer .footer-social .social-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    color: #fff;
}
.site-footer .footer-payment {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.site-footer .footer-payment .payment-icon {
    width: 44px;
    height: 30px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: rgba(255,255,255,0.6);
}
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}
.site-footer .footer-bottom .copyright {
    font-size: 13px;
    opacity: 0.7;
}
.site-footer .footer-bottom .credit i {
    margin: 0 3px;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
}
.toast-custom {
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.4s ease;
    border-left: 4px solid var(--primary);
    font-size: 14px;
}
.toast-custom.toast-success { border-left-color: #28a745; }
.toast-custom.toast-success .toast-icon { color: #28a745; }
.toast-custom.toast-error { border-left-color: #dc3545; }
.toast-custom.toast-error .toast-icon { color: #dc3545; }
.toast-custom.toast-warning { border-left-color: #ffc107; }
.toast-custom.toast-warning .toast-icon { color: #ffc107; }
.toast-custom .toast-icon {
    font-size: 20px;
    color: var(--primary);
}
.toast-custom .toast-text {
    flex: 1;
}
.toast-custom .toast-close {
    background: none;
    border: none;
    font-size: 16px;
    color: var(--text-light);
    cursor: pointer;
    padding: 0 2px;
}
.toast-custom.removing {
    animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(40px); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}
.slide-up {
    animation: slideUp 0.6s ease;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
.loading-spinner-lg {
    width: 40px;
    height: 40px;
    border-width: 3px;
}
.loading-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}
.loading-dots {
    display: flex;
    gap: 8px;
}
.loading-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    animation: dotsBounce 1.2s ease-in-out infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotsBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

.modal-elegant .modal-content {
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-lg);
}
.modal-elegant .modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 24px;
}
.modal-elegant .modal-header .modal-title {
    font-family: var(--font-heading);
    font-weight: 700;
}
.modal-elegant .modal-body {
    padding: 24px;
}
.modal-elegant .modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 16px 24px;
}
.modal-elegant .btn-close:focus {
    box-shadow: none;
}

.form-elegant .form-label {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.form-elegant .form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 11px 16px;
    font-size: 14px;
    transition: var(--transition);
    background: var(--bg-light);
}
.form-elegant .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(214, 51, 132, 0.12);
    background: var(--white);
}
.form-elegant .form-control.is-invalid {
    border-color: #dc3545;
    background-image: none;
}
.form-elegant .invalid-feedback {
    font-size: 12px;
    margin-top: 4px;
}
.form-elegant textarea.form-control {
    min-height: 90px;
    resize: vertical;
}
.form-elegant .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}
.form-elegant .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(214, 51, 132, 0.12);
}

.order-table {
    width: 100%;
    border-collapse: collapse;
}
.order-table thead th {
    padding: 12px 14px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
}
.order-table tbody td {
    padding: 14px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}
.order-table .order-status {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}
.order-table .order-status.pending { background: #fff3cd; color: #856404; }
.order-table .order-status.paid { background: #d4edda; color: #155724; }
.order-table .order-status.processing { background: #cce5ff; color: #004085; }
.order-table .order-status.delivered { background: #d4edda; color: #155724; }
.order-table .order-status.cancelled { background: #f8d7da; color: #721c24; }

.wishlist-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}
.wishlist-item:last-child {
    border-bottom: none;
}
.wishlist-item img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}
.wishlist-item .wishlist-info {
    flex: 1;
}
.wishlist-item .wishlist-info h6 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}
.wishlist-item .wishlist-info .wishlist-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}
.wishlist-item .wishlist-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.confirmation-box {
    text-align: center;
    padding: 40px 20px;
}
.confirmation-box .success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #d4edda;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #28a745;
    margin: 0 auto 20px;
}
.confirmation-box h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}
.confirmation-box p {
    color: var(--text-muted);
    margin-bottom: 6px;
}
.confirmation-box .order-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.order-summary-box {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px;
}
.order-summary-box .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}
.order-summary-box .summary-row.total-row {
    border-top: 2px solid var(--border-color);
    margin-top: 8px;
    padding-top: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}
.order-summary-box .summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}
.order-summary-box .summary-item img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
}
.order-summary-box .summary-item .item-info {
    flex: 1;
    font-size: 13px;
}
.order-summary-box .summary-item .item-info .item-name {
    font-weight: 600;
}
.order-summary-box .summary-item .item-subtotal {
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 1199.98px) {
    .hero-slider .swiper-slide { min-height: 420px; }
    .hero-slider .slide-title { font-size: 42px; }
    .product-detail-gallery .zoom-result { display: none !important; }
}

@media (max-width: 991.98px) {
    .section-padding { padding: 60px 0; }
    .section-title { font-size: 30px; }
    .hero-slider .swiper-slide { min-height: 360px; }
    .hero-slider .slide-title { font-size: 34px; }
    .hero-slider .slide-content { padding: 40px 0; }
    .hero-slider .slide-subtitle { font-size: 16px; }
    .product-detail-info .product-name { font-size: 26px; }
    .page-header h1 { font-size: 30px; }
    .category-card img { height: 180px; }
}

@media (max-width: 767.98px) {
    .section-padding { padding: 40px 0; }
    .section-title { font-size: 24px; }
    .section-subtitle { font-size: 14px; }
    .hero-slider .swiper-slide { min-height: 300px; }
    .hero-slider .slide-title { font-size: 26px; }
    .hero-slider .slide-subtitle { font-size: 14px; margin-bottom: 20px; }
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev { display: none !important; }
    .hero-slider .slide-content { padding: 30px 0; }
    .product-detail-info .product-name { font-size: 22px; }
    .product-detail-info .product-price-box .current-price { font-size: 22px; }
    .product-detail-gallery .main-image-wrap img { min-height: 280px; }
    .product-card .product-image-wrap img { height: 220px; }
    .category-card img { height: 160px; }
    .page-header { padding: 30px 0; }
    .page-header h1 { font-size: 24px; }
    .filter-sidebar { margin-bottom: 24px; }
    .filter-sidebar .filter-section { margin-bottom: 16px; padding-bottom: 16px; }
    .filter-sidebar .filter-title { font-size: 14px; margin-bottom: 10px; }
    .sort-bar { flex-direction: column; align-items: flex-start; }
    .cart-table thead { display: none; }
    .cart-table tbody td { display: block; text-align: right; padding: 10px 14px; border-bottom: none; }
    .cart-table tbody td::before { content: attr(data-label); float: left; font-weight: 600; color: var(--text-muted); font-size: 13px; }
    .cart-table tbody tr { display: block; border-bottom: 2px solid var(--border-color); margin-bottom: 16px; background: var(--white); border-radius: var(--radius); padding: 10px; }
    .cart-table .cart-product { flex-direction: row-reverse; justify-content: flex-end; }
    .cart-table .cart-product img { width: 60px; height: 60px; }
    .auth-box { padding: 24px; margin: 20px; }
    .checkout-section { padding: 20px; }
    .wishlist-item { flex-wrap: wrap; }
    .wishlist-item .wishlist-actions { width: 100%; justify-content: flex-end; }
    .account-sidebar { margin-bottom: 24px; }
    .product-detail-gallery .thumbnails .thumb { width: 60px; height: 60px; }
    .toast-container { right: 10px; left: 10px; max-width: none; }
    .categories-scroll { display: flex; flex-wrap: nowrap; gap: 16px; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
    .categories-scroll::-webkit-scrollbar { height: 4px; }
    .categories-scroll::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }
    .categories-scroll .cat-item { flex: 0 0 auto; width: 100px; text-align: center; scroll-snap-align: start; }
    .categories-scroll .cat-item .cat-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; border: 3px solid var(--primary-light); transition: border-color 0.3s; display: block; }
    .categories-scroll .cat-item:hover .cat-img { border-color: var(--primary); }
    .categories-scroll .cat-item .cat-name { font-size: 13px; font-weight: 600; color: var(--text-dark); display: block; line-height: 1.2; }
    .categories-scroll .cat-item .cat-count { font-size: 11px; color: var(--text-muted); }
}

@media (max-width: 575.98px) {
    .hero-slider .swiper-slide { min-height: 260px; }
    .hero-slider .slide-title { font-size: 22px; }
    .hero-slider .slide-subtitle { font-size: 13px; }
    .product-card .product-image-wrap img { height: 160px; }
    .product-card .product-info { padding: 10px; }
    .product-card .product-info .product-name { font-size: 13px; min-height: 36px; }
    .product-card .product-info .product-price .current-price { font-size: 14px; }
    .product-card .product-info .product-price .old-price { font-size: 11px; }
    .product-card .product-info .product-category { font-size: 10px; }
    .product-card .add-to-cart-btn { font-size: 10px; padding: 6px; }
    .product-card .product-badges { top: 6px; left: 6px; gap: 4px; }
    .product-card .product-actions { top: 6px; right: 6px; gap: 4px; }
    .product-card .product-actions .action-btn { width: 28px; height: 28px; font-size: 12px; }
    .badge-available, .badge-preorder, .badge-sale { font-size: 9px; padding: 2px 7px; }
    .product-detail-gallery .main-image-wrap img { min-height: 240px; }
    .product-tabs .nav-tabs .nav-link { padding: 10px 16px; font-size: 13px; }
    .btn-lg { padding: 12px 28px; font-size: 14px; }
    .auth-page { padding: 20px 0; min-height: calc(100vh - 100px); }
    .auth-box { padding: 20px 16px; margin: 10px; }
    .auth-icon { width: 56px; height: 56px; font-size: 24px; }
    .auth-header h2 { font-size: 22px; }
    .auth-header { margin-bottom: 24px; }
    .input-group-custom .form-control { height: 44px; padding: 10px 14px 10px 36px; font-size: 13px; }
    .input-group-custom .input-icon { left: 10px; font-size: 13px; }
    .auth-options { flex-direction: column; gap: 10px; align-items: flex-start; }
    .btn-primary-custom { padding: 12px 24px; font-size: 14px; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Variation Selector */
.product-variations {
    margin-bottom: 16px;
}
.variation-group {
    margin-bottom: 8px;
}
.variation-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 6px;
}
.variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.variation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    min-width: 44px;
}
.variation-btn:hover:not(.disabled) {
    border-color: var(--primary);
    color: var(--primary);
}
.variation-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}
.variation-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: line-through;
}
.variation-stock-info {
    font-size: 13px;
    font-weight: 500;
}
.variation-sku {
    font-size: 12px;
}
#variationStockInfo .text-success { color: #28a745; }
#variationStockInfo .text-danger { color: #dc3545; }
