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

a, a:hover, a:focus, a:active {
    text-decoration: none !important;
}

/* Allow underlines in content areas */
.cms-content a,
.page-content a {
    text-decoration: underline !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #fafafa;
    color: #262626;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

:root {
    --primary-color: #0095f6;
    --secondary-color: #00376b;
    --accent-color: #ed4956;
    --background-color: #fafafa;
    --white: #ffffff;
    --text-primary: #262626;
    --text-secondary: #8e8e8e;
    --border-color: #dbdbdb;
    --hover-color: #f5f5f5;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --overlay-color: rgba(0, 0, 0, 0.7);
    --like-color: #ed4956;
    --story-gradient: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    --save-color: #262626;
}

[data-theme="dark"] {
    --primary-color: #0095f6;
    --secondary-color: #85d4ff;
    --accent-color: #ed4956;
    --background-color: #000000;
    --white: #121212;
    --text-primary: #f5f5f5;
    --text-secondary: #a8a8a8;
    --border-color: #333333;
    --hover-color: #1f1f1f;
    --shadow-color: rgba(255, 255, 255, 0.05);
    --overlay-color: rgba(0, 0, 0, 0.8);
    --like-color: #ed4956;
    --save-color: #f5f5f5;
}

[data-theme="dark"] .skeleton-item {
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
}

[data-theme="dark"] body {
    background-color: var(--background-color);
    color: var(--text-primary);
}

[data-theme="dark"] .search-input {
    background: var(--white);
    color: var(--text-primary);
}

[data-theme="dark"] .search-input:focus {
    background: var(--hover-color);
}

*,
*::before,
*::after {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header,
.categories-nav,
.product-card,
.cart-sidebar,
.product-modal,
.mobile-bottom-nav,
.stories-wrapper,
.profile-banner {
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ===== HEADER (Instagram-style) ===== */
.header {
    background: var(--white);
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 0 var(--border-color);
}

.header-inner {
    max-width: 975px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header-left {
    flex: 0 0 auto;
    min-width: 0;
}

.header-logo {
    font-size: 26px;
    font-weight: 600;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    letter-spacing: -0.5px;
}

.header-center {
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 268px;
}

.search-input {
    width: 100%;
    padding: 7px 16px 7px 36px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--background-color);
    font-size: 14px;
    outline: none;
}

.search-input:focus {
    border-color: var(--text-secondary);
    background: var(--white);
}

.search-input::placeholder {
    color: var(--text-secondary);
    text-align: center;
    font-size: 14px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 12px;
    pointer-events: none;
}

.header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-icon-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s;
}

.header-icon-btn:hover {
    opacity: 0.6;
}

.header-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-count {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ===== STORIES BAR ===== */
.stories-wrapper {
    background: var(--white);
    padding: 16px 0;
    box-shadow: 0 1px 0 var(--border-color);
}

.stories-bar {
    max-width: 975px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stories-bar::-webkit-scrollbar {
    display: none;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-shrink: 0;
    min-width: 66px;
}

.story-avatar {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    padding: 3px;
    background: var(--story-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s;
}

.story-avatar:hover {
    transform: scale(1.05);
}

.story-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--white);
    background: var(--white);
}

.story-avatar-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-name {
    font-size: 12px;
    color: var(--text-secondary);
    max-width: 66px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    font-weight: 400;
}

/* ===== PROFILE BANNER ===== */
.profile-banner {
    background: var(--white);
    
    padding: 28px 0;
}

.profile-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.brand-name {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.stats {
    display: flex;
    gap: 40px;
    margin-bottom: 8px;
}

.stat-item {
    font-size: 17px;
    color: var(--text-primary);
}

.stat-item strong {
    font-weight: 600;
}

.bio {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.4;
}

/* ===== CATEGORIES NAV ===== */
.categories-nav {
    background: var(--white);
    padding: 12px 0;
    box-shadow: 0 1px 0 var(--border-color);
}

.categories-list {
    max-width: 975px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-list::-webkit-scrollbar {
    display: none;
}

.category-btn {
    background: none;
    border: none;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    white-space: nowrap;
    font-weight: 500;
    transition: background 0.15s;
}

.category-btn:hover {
    background: var(--hover-color);
}

.category-btn.active {
    background: var(--text-primary);
    color: var(--white);
    font-weight: 600;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    padding: 0;
    flex: 1;
}

/* ===== LOADING STATE ===== */
.loading-state {
    margin-bottom: 0;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 1100px;
    margin: 0 auto;
}

.skeleton-item {
    aspect-ratio: 1;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== PRODUCTS GRID (Instagram Profile Style) ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

/* ===== PRODUCT CARD (Instagram Post Style) ===== */
.product-card {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    background: var(--background-color);
    display: block;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.product-card .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
    will-change: transform;
}

.product-card:hover .product-image {
    filter: brightness(0.8);
    transform: scale(1.03);
}

.product-card:active .product-image {
    transform: scale(0.98);
}

/* -- Overlay on hover (like/comment counts) -- */
.product-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    backdrop-filter: blur(1px);
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.overlay-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.overlay-stat i {
    font-size: 20px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

/* -- Wishlist heart (always visible, top-right like Instagram save) -- */
.product-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #1a1a1a;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    opacity: 0;
}

.product-card:hover .product-wishlist-btn,
.product-wishlist-btn.liked {
    opacity: 1;
}

.product-wishlist-btn:hover {
    transform: scale(1.12);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.product-wishlist-btn:active {
    transform: scale(0.92);
}

.product-wishlist-btn.liked {
    opacity: 1;
    color: #ed4956;
    background: rgba(255,255,255,0.95);
}

.product-wishlist-btn.liked i {
    font-weight: 900;
    animation: wishPulse 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes wishPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

[data-theme="dark"] .product-wishlist-btn {
    background: rgba(30,30,30,0.88);
    color: #e4e4e7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

[data-theme="dark"] .product-wishlist-btn:hover {
    background: #2a2a2a;
}

[data-theme="dark"] .product-wishlist-btn.liked {
    color: #ed4956;
    background: rgba(30,30,30,0.95);
}

/* -- Badges (discount + new) -- */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

.product-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.3px;
    display: inline-block;
}

.product-badge-discount {
    background: #ed4956;
    color: #fff;
}

.product-badge-new {
    background: #0095f6;
    color: #fff;
}

/* -- Caption bar below image (mobile feed style) -- */
.product-caption {
    display: none;
    padding: 11px 12px 12px;
    background: var(--white);
}

.product-caption-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
}

.product-caption-price {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 400;
}

.product-caption-price .old-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    margin-right: 6px;
    font-size: 12px;
}

[data-theme="dark"] .product-caption {
    background: #121212;
}

/* -- Like count on the image (mobile) -- */
.product-mobile-like {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    pointer-events: none;
    background: rgba(0,0,0,0.25);
    padding: 3px 8px;
    border-radius: 12px;
    backdrop-filter: blur(2px);
}

.product-mobile-like i {
    font-size: 12px;
    margin-right: 4px;
}

/* ===== NO RESULTS ===== */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
    max-width: 1100px;
    margin: 0 auto;
}

.no-results i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

/* ===== MODAL (Instagram Post View) ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.product-modal {
    position: relative;
    display: flex;
    max-width: 1000px;
    max-height: 92vh;
    width: 100%;
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    margin: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.modal-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
    z-index: 10;
    pointer-events: none;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    pointer-events: all;
    transition: background 0.15s;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    display: flex;
    width: 100%;
    min-height: 520px;
}

.modal-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    min-width: 0;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-info {
    width: 400px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-color);
}

.modal-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    
}

.modal-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.modal-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-username {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-details {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.modal-details h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.modal-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.modal-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.modal-actions {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-like-btn {
    background: none;
    border: none;
    font-size: 30px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: transform 0.15s;
}

.modal-like-btn:hover {
    transform: scale(1.1);
}

.modal-like-btn.liked {
    color: var(--like-color);
}

.modal-like-btn.liked i {
    font-weight: 900;
}

.add-to-cart-btn {
    flex: 1;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s;
}

.add-to-cart-btn:hover {
    background: #0077e6;
}

/* ===== CART SIDEBAR ===== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -460px;
    width: 460px;
    height: 100vh;
    background: var(--white);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 20px;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 22px;
    font-weight: 600;
}

.cart-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-secondary);
}

.cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.cart-empty i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    
}

.cart-item:last-child {
}

.cart-item-image {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    font-size: 22px;
    margin-bottom: 15px;
    text-align: center;
}

.checkout-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.checkout-btn:hover {
    background: #0077e6;
}

.checkout-btn:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--white);
    margin-top: 40px;
    padding: 40px 0 20px;
    box-shadow: 0 -1px 0 var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 30px;
    max-width: 1100px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--background-color);
    color: var(--text-secondary);
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* ===== MOBILE BOTTOM NAV (Instagram-style) ===== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 1000;
    display: none;
}

.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 12px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 10px;
    padding: 6px 8px;
    border-radius: 8px;
    transition: all 0.2s;
    min-width: 50px;
}

.mobile-nav-item.active {
    color: var(--text-primary);
}

.mobile-nav-item i {
    font-size: 26px;
    margin-bottom: 2px;
}

.mobile-nav-item span {
    font-weight: 500;
}

.mobile-nav-item:hover {
    background: var(--hover-color);
}

.mobile-profile-pic {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--text-primary);
}

.mobile-profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-nav-item.active .mobile-profile-pic {
    border-color: var(--text-primary);
}

/* ===== LEFT SIDEBAR (Instagram Desktop) ===== */
.page-wrapper {
    background: var(--background-color);
    min-height: 100vh;
    display: flex;
}

.left-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: var(--white);
    border-right: 1px solid var(--border-color);
    z-index: 200;
    display: none;
    flex-direction: column;
    padding: 20px 0;
}

.sidebar-header {
    padding: 0 20px 30px;
    margin-bottom: 20px;
}

.sidebar-logo h2 {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-primary);
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-list {
    list-style: none;
    padding: 0;
}

.nav-item {
    margin-bottom: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 0;
    margin: 0;
    transition: all 0.15s;
    position: relative;
    font-weight: 400;
}

.nav-link:hover {
    background: var(--hover-color);
}

.nav-link.active {
    font-weight: 700;
    background: none;
    color: var(--text-primary);
}

.nav-link i {
    font-size: 24px;
    margin-right: 16px;
    width: 24px;
    text-align: center;
}

.nav-link span {
    font-size: 18px;
}

.nav-badge {
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.sidebar-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: 12px;
}

.theme-toggle {
    cursor: pointer;
}

.main-layout {
    flex: 1;
    margin-left: 0;
    transition: margin-left 0.3s ease;
}

@media (min-width: 1024px) {
    .left-sidebar {
        display: flex;
    }
    .main-layout {
        margin-left: 280px;
    }
}

/* ===== PC CONTAINER ===== */
.pc-container {
    background: var(--white);
    min-height: 100vh;
}
/* Mobile Styles (Default) */
@media (max-width: 767px) {
    .left-sidebar {
        display: none !important;
    }
    .main-layout {
        margin-left: 0 !important;
    }
    .mobile-bottom-nav {
        display: block;
    }
    .main-content {
        padding-bottom: 70px;
    }
    .footer {
        display: none;
    }

    /* Header Mobile */
    .header {
        height: 50px;
    }
    .header-inner {
        padding: 0 12px;
    }
    .header-logo {
        font-size: 20px;
    }
    .header-center {
        display: none;
    }
    .header-right {
        gap: 10px;
    }
    .header-icon-btn {
        font-size: 22px;
    }
    .header-avatar {
        width: 26px;
        height: 26px;
    }
    .search-container {
        display: none;
    }

    /* Stories Mobile */
    .stories-wrapper {
        padding: 12px 0;
    }
    .stories-bar {
        gap: 14px;
        padding: 0 16px;
    }
    .story-avatar {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    .story-name {
        font-size: 11px;
    }

    /* Profile Banner Mobile */
    .profile-banner {
        display: none;
    }

    /* Categories Mobile */
    .categories-nav {
        padding: 10px 0;
    }
    .categories-list {
        padding: 0 16px;
        gap: 6px;
    }
    .category-btn {
        font-size: 13px;
        padding: 6px 14px;
    }

    /* Products Grid Mobile - 3 columns like Instagram */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
        padding: 0;
    }
    .skeleton-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
        padding: 0;
    }
    .skeleton-item {
        border-radius: 0;
        margin: 0;
    }
    .product-card {
        border-radius: 0;
        overflow: hidden;
        margin: 0;
    }
    .product-card-overlay {
        display: none;
    }
    .product-wishlist-btn {
        top: 6px;
        right: 6px;
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .product-caption {
        display: block;
    }
    .product-mobile-like {
        display: flex;
        align-items: center;
    }

    /* Modal Mobile */
    .product-modal {
        margin: 0;
        max-height: 100vh;
        border-radius: 0;
        flex-direction: column;
    }
    .modal-content {
        flex-direction: column;
        min-height: auto;
    }
    .modal-image {
        flex: none;
        height: auto;
        max-height: 50vh;
    }
    .modal-info {
        width: 100%;
        border-left: none;
    }
    .modal-navigation {
        padding: 0 4px;
    }
    .nav-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .modal-close {
        width: 28px;
        height: 28px;
        font-size: 12px;
        top: 8px;
        right: 8px;
    }

    /* Cart Mobile */
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    .cart-header h3 {
        font-size: 16px;
    }
    .cart-content {
        padding: 15px;
    }
    .cart-footer {
        padding: 15px;
    }

    /* No Results Mobile */
    .no-results {
        padding: 40px 20px;
    }
    .no-results i {
        font-size: 36px;
        margin-bottom: 15px;
    }
    .no-results h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    .no-results p {
        font-size: 14px;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1023px) {
    .left-sidebar {
        display: none !important;
    }
    .main-layout {
        margin-left: 0 !important;
    }
    .mobile-bottom-nav {
        display: none;
    }
    .footer {
        display: block;
    }

    .profile-banner {
        padding: 16px 0;
    }
    .profile-banner-inner {
        gap: 30px;
    }
    .profile-avatar {
        width: 70px;
        height: 70px;
    }
    .brand-name {
        font-size: 18px;
    }
    .stats {
        gap: 20px;
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3px;
    }
    .skeleton-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3px;
    }

    .modal-content {
        min-height: auto;
    }
    .modal-image {
        flex: none;
        height: auto;
        max-height: 55vh;
    }
    .modal-info {
        width: 100%;
        border-left: none;
    }
    .modal-info {
        width: 300px;
    }

    .cart-sidebar {
        width: 400px;
        right: -400px;
    }

    .footer-content {
        grid-template-columns: 1fr 1.5fr;
        gap: 35px;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .footer-section:last-child {
        grid-column: span 2;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    body {
        background: var(--background-color);
    }
    .pc-container {
        display: block;
    }
    .mobile-bottom-nav {
        display: none;
    }
    .footer-content {
        grid-template-columns: 1fr 2fr;
    }
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
    .brand-name {
        font-size: 20px;
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    .skeleton-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    .modal-content {
        min-height: 450px;
    }
    .modal-info {
        padding: 0;
    }
    .cart-sidebar {
        width: 460px;
        right: -460px;
    }
    .footer {
        display: block;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
    }
    .skeleton-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
    }
}

/* Extra Large Desktop */
@media (min-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
    }
    .skeleton-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
    }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .skeleton-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .profile-avatar img,
    .product-image,
    .cart-item-image,
    .header-avatar img,
    .story-avatar-inner img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* System Dark Mode Preference */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --background-color: #000000;
        --white: #121212;
        --text-primary: #f5f5f5;
        --text-secondary: #a8a8a8;
        --border-color: #333333;
        --hover-color: #1f1f1f;
    }
    body:not([data-theme]) {
        background-color: var(--background-color);
        color: var(--text-primary);
    }
}

/* Print Styles */
@media print {
    .header-actions,
    .categories-nav,
    .modal-overlay,
    .cart-sidebar,
    .cart-overlay,
    .stories-wrapper,
    .mobile-bottom-nav,
    .left-sidebar {
        display: none !important;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}

/* Focus Styles for Accessibility */
@media (prefers-reduced-motion: no-preference) {
    .search-input:focus,
    .category-btn:focus,
    .header-icon-btn:focus,
    .product-card:focus,
    .add-to-cart-btn:focus,
    .checkout-btn:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .product-card-overlay {
        display: none;
    }
    .product-wishlist-btn {
        top: 6px;
        right: 6px;
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .product-caption {
        display: block;
    }
    .category-btn,
    .header-icon-btn,
    .add-to-cart-btn,
    .checkout-btn {
        min-height: 44px;
        min-width: 44px;
    }
    .nav-btn,
    .modal-close,
    .cart-close {
        min-height: 44px;
        min-width: 44px;
    }
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--like-color);
    color: #fff;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}
.announcement-bar {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: #fff !important;
}
.announcement-bar a { color: inherit; text-decoration: underline; }
@media (max-width: 767px) {
    .footer { display: none; }
}

/* ================================================================
   DARK MODE - Comprehensive Bootstrap & Custom Overrides
   ================================================================ */

[data-theme="dark"] {
    --bs-body-bg: #000;
    --bs-body-color: #f5f5f5;
    --bs-border-color: #333;
}

/* ---- Buttons ---- */
[data-theme="dark"] .btn-dark { background: #e4e4e7; color: #0a0a0a; border-color: #e4e4e7; }
[data-theme="dark"] .btn-dark:hover { background: #d4d4d8; color: #0a0a0a; }
[data-theme="dark"] .btn-outline-dark { color: #e4e4e7; border-color: #52525b; }
[data-theme="dark"] .btn-outline-dark:hover { background: #e4e4e7; color: #0a0a0a; border-color: #e4e4e7; }
[data-theme="dark"] .btn-outline-danger { color: #f87171; border-color: #f87171; }
[data-theme="dark"] .btn-outline-danger:hover { background: #f87171; color: #0a0a0a; }
[data-theme="dark"] .btn-success { background: #16a34a; border-color: #16a34a; color: #fff; }
[data-theme="dark"] .btn-success:hover { background: #15803d; }
[data-theme="dark"] .btn-danger { background: #dc2626; border-color: #dc2626; }
[data-theme="dark"] .btn-close { filter: invert(1); }

/* ---- Forms ---- */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select { background: #1a1a1a; border-color: #333; color: #e4e4e7; }
[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus { background: #1a1a1a; border-color: var(--primary-color); color: #e4e4e7; box-shadow: 0 0 0 0.2rem rgba(0,149,246,0.25); }
[data-theme="dark"] .form-control::placeholder { color: #71717a; }
[data-theme="dark"] .form-control:disabled,
[data-theme="dark"] .form-control[readonly] { background: #1f1f1f; opacity: 0.6; }
[data-theme="dark"] .form-label { color: #d4d4d8; }
[data-theme="dark"] .form-text { color: #a1a1aa; }
[data-theme="dark"] .form-check-input { background-color: #1a1a1a; border-color: #52525b; }
[data-theme="dark"] .form-check-input:checked { background-color: var(--primary-color); border-color: var(--primary-color); }
[data-theme="dark"] .form-check-label { color: #d4d4d8; }
[data-theme="dark"] .input-group-text { background: #27272a; border-color: #333; color: #d4d4d8; }

/* ---- Tables ---- */
[data-theme="dark"] .table { color: #e4e4e7; border-color: #333; }
[data-theme="dark"] .table th,
[data-theme="dark"] .table td { background: transparent; border-color: #333; }
[data-theme="dark"] .table-sm th,
[data-theme="dark"] .table-sm td { border-color: #333; }

/* ---- Cards & Containers ---- */
[data-theme="dark"] .card { background: #121212; border-color: #333; }
[data-theme="dark"] .card-header { background: #1a1a1a; border-color: #333; color: #e4e4e7; }
[data-theme="dark"] .card-body { background: #121212; color: #e4e4e7; }
[data-theme="dark"] .card-footer { background: #1a1a1a; border-color: #333; }

/* ---- Alerts ---- */
[data-theme="dark"] .alert { border: 1px solid #333; }
[data-theme="dark"] .alert-danger { background: #1a0a0a; color: #fca5a5; border-color: #7f1d1d; }
[data-theme="dark"] .alert-success { background: #0a1a0a; color: #86efac; border-color: #14532d; }
[data-theme="dark"] .alert-warning { background: #1a1a0a; color: #fde68a; border-color: #713f12; }
[data-theme="dark"] .alert-info { background: #0a1a2a; color: #93c5fd; border-color: #1e3a5f; }
[data-theme="dark"] .alert-dismissible .btn-close { filter: invert(1); }

/* ---- Badges ---- */
[data-theme="dark"] .badge.bg-secondary { background: #3f3f46 !important; color: #e4e4e7 !important; }
[data-theme="dark"] .badge.bg-light { background: #27272a !important; color: #e4e4e7 !important; }
[data-theme="dark"] .badge.bg-warning { background: #854d0e !important; color: #fde68a !important; }
[data-theme="dark"] .badge.text-dark { color: #e4e4e7 !important; }

/* ---- Breadcrumb ---- */
[data-theme="dark"] .breadcrumb { background: transparent; }
[data-theme="dark"] .breadcrumb-item a { color: #a1a1aa; }
[data-theme="dark"] .breadcrumb-item.active { color: #e4e4e7; }
[data-theme="dark"] .breadcrumb-item+.breadcrumb-item::before { color: #52525b; }

/* ---- Pagination ---- */
[data-theme="dark"] .page-link { background: #1a1a1a; border-color: #333; color: #e4e4e7; }
[data-theme="dark"] .page-link:hover { background: #27272a; color: #fff; }
[data-theme="dark"] .page-item.active .page-link { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
[data-theme="dark"] .page-item.disabled .page-link { background: #0f0f0f; color: #52525b; }

/* ---- Dropdown ---- */
[data-theme="dark"] .dropdown-menu { background: #1a1a1a; border-color: #333; }
[data-theme="dark"] .dropdown-item { color: #e4e4e7; }
[data-theme="dark"] .dropdown-item:hover { background: #27272a; color: #fff; }
[data-theme="dark"] .dropdown-divider { border-color: #333; }
[data-theme="dark"] .dropdown-item-text { color: #a1a1aa; }

/* ---- Nav ---- */
[data-theme="dark"] .nav-link { color: #a1a1aa; }
[data-theme="dark"] .nav-link:hover { color: #e4e4e7; }
[data-theme="dark"] .nav-link.active { color: #e4e4e7; }

/* ---- Text utilities ---- */
[data-theme="dark"] .text-muted { color: #a1a1aa !important; }
[data-theme="dark"] .text-success { color: #4ade80 !important; }
[data-theme="dark"] .text-danger { color: #f87171 !important; }
[data-theme="dark"] .text-warning { color: #fbbf24 !important; }
[data-theme="dark"] .text-dark { color: #e4e4e7 !important; }

/* ---- Background utilities ---- */
[data-theme="dark"] .bg-light { background: #1f1f1f !important; }
[data-theme="dark"] .bg-white { background: #121212 !important; }
[data-theme="dark"] .bg-body { background: #000 !important; }

/* ---- Borders ---- */
[data-theme="dark"] .border { border-color: #333 !important; }
[data-theme="dark"] .border-top { border-top-color: #333 !important; }
[data-theme="dark"] .border-bottom { border-bottom-color: #333 !important; }
[data-theme="dark"] .border-start { border-left-color: #333 !important; }
[data-theme="dark"] .border-end { border-right-color: #333 !important; }
[data-theme="dark"] hr { border-color: #333 !important; opacity: 1; }

/* ---- Modal ---- */
[data-theme="dark"] .modal-content { background: #1a1a1a; border-color: #333; color: #e4e4e7; }
[data-theme="dark"] .modal-header { border-color: #333; }
[data-theme="dark"] .modal-footer { border-color: #333; }

/* ---- List Group ---- */
[data-theme="dark"] .list-group-item { background: #121212; border-color: #333; color: #e4e4e7; }

/* ---- Custom App Classes (checkout, payment, success/fail, account) ---- */
[data-theme="dark"] .checkout-section,
[data-theme="dark"] .order-summary,
[data-theme="dark"] .order-summary .summary-items { background: #121212; }
[data-theme="dark"] .result-card { background: #121212 !important; box-shadow: 0 4px 30px rgba(0,0,0,0.3) !important; }
[data-theme="dark"] .result-card.success .result-icon { color: #4ade80; }
[data-theme="dark"] .result-card.fail .result-icon { color: #f87171; }
[data-theme="dark"] .order-number-box { background: #1f1f1f !important; }
[data-theme="dark"] .order-number-box span { color: #a1a1aa !important; }
[data-theme="dark"] .payment-card { background: #121212 !important; box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important; }
[data-theme="dark"] .payment-header { background: #1a1a1a !important; }
[data-theme="dark"] .payment-footer { background: #1f1f1f !important; }
[data-theme="dark"] .payment-container .loading-overlay { background: rgba(0,0,0,0.9) !important; }
[data-theme="dark"] .order-info { background: #1f1f1f !important; }
[data-theme="dark"] .test-notice { background: #1a1a0a !important; color: #fde68a !important; }
[data-theme="dark"] .saved-addresses .address-option,
[data-theme="dark"] .address-card { background: #121212; border-color: #333; }
[data-theme="dark"] .cart-summary,
[data-theme="dark"] .cart-item { background: #121212; }
[data-theme="dark"] .section-title { color: #e4e4e7; }
[data-theme="dark"] .section-desc { color: #a1a1aa; }
[data-theme="dark"] .section-header { color: #e4e4e7; }
[data-theme="dark"] .cms-content p { color: #a1a1aa !important; }
[data-theme="dark"] .review-card { background: #1f1f1f !important; }
[data-theme="dark"] .review-form-card { background: #1f1f1f !important; }
[data-theme="dark"] .product-guide { background: #1f1f1f !important; }
[data-theme="dark"] .product-meta { border-color: #333 !important; }
[data-theme="dark"] .account-page .card { background: #121212; }
[data-theme="dark"] .coupon-message.text-success { color: #4ade80 !important; }
[data-theme="dark"] .coupon-message.text-danger { color: #f87171 !important; }
[data-theme="dark"] .free-shipping-notice { background: #1f1f1f; }

/* ---- Standalone pages ---- */
[data-theme="dark"] body { color: #f5f5f5; }
[data-theme="dark"] .payment-container body { background: inherit; }

/* ---- Summary rows ---- */
[data-theme="dark"] .summary-row { border-color: #333; }
[data-theme="dark"] .summary-total { border-color: #333; color: #e4e4e7; }

/* ---- Footer ---- */
[data-theme="dark"] .footer { background: #121212; border-color: #333; }
[data-theme="dark"] .footer h3,
[data-theme="dark"] .footer h4,
[data-theme="dark"] .footer h5 { color: #e4e4e7; }
[data-theme="dark"] .footer a { color: #a1a1aa; }
[data-theme="dark"] .footer a:hover { color: #e4e4e7; }
[data-theme="dark"] .footer-bottom { background: #121212; border-color: #333; }

/* ---- Spinner ---- */
[data-theme="dark"] .spinner-border { border-color: #333; border-right-color: transparent; }

/* ---- Size buttons ---- */
[data-theme="dark"] .size-selector,
[data-theme="dark"] .size-filter { background: #121212; border-color: #333; }
[data-theme="dark"] .size-option { background: #1f1f1f; border-color: #333; color: #e4e4e7; }

/* ---- Product list / filters ---- */
[data-theme="dark"] .filter-link { color: #e4e4e7; }
[data-theme="dark"] .filter-link:hover { background: #27272a; }
[data-theme="dark"] .filter-link.active { background: #e4e4e7; color: #0a0a0a; }

/* ---- Quantity selector ---- */
[data-theme="dark"] .quantity-selector .qty-btn { background: #27272a; border-color: #333; color: #e4e4e7; }
[data-theme="dark"] .quantity-selector .qty-input { background: #1a1a1a; border-color: #333; color: #e4e4e7; }

/* ---- Cookie consent ---- */
[data-theme="dark"] .cookie-consent-banner { background: #1a1a1a !important; border-color: #333 !important; color: #e4e4e7 !important; }
[data-theme="dark"] .cookie-consent-banner p { color: #a1a1aa !important; }

/* ---- Product gallery ---- */
[data-theme="dark"] .product-gallery,
[data-theme="dark"] .main-image { background: #0a0a0a; }

/* ---- Announcement ---- */
[data-theme="dark"] .announcement-bar { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important; }

/* ---- Search modal ---- */
[data-theme="dark"] .search-modal-content { background: #121212; }
[data-theme="dark"] .search-results { background: #121212; }
[data-theme="dark"] .search-result-item:hover { background: #1f1f1f; }

/* ---- Flash messages ---- */
[data-theme="dark"] .flash-message { background: #1a1a1a; }

/* ---- Checkout custom classes ---- */
[data-theme="dark"] .checkout-page { color: #e4e4e7; }
[data-theme="dark"] .page-title { color: #e4e4e7; }
[data-theme="dark"] .register-toggle,
[data-theme="dark"] .register-fields { color: #e4e4e7; }
[data-theme="dark"] .saved-addresses { background: #121212; }
[data-theme="dark"] .address-list .address-option { background: #121212; border-color: #333; color: #e4e4e7; }
[data-theme="dark"] .payment-methods { background: #121212; }
[data-theme="dark"] .payment-option { background: #1f1f1f; border-color: #333; color: #e4e4e7; }
[data-theme="dark"] .payment-option:hover { background: #27272a; }
[data-theme="dark"] .bank-info { background: #1f1f1f; }
[data-theme="dark"] .summary-item { border-color: #333; }
[data-theme="dark"] .item-info { color: #e4e4e7; }
[data-theme="dark"] .item-price { color: #e4e4e7; }
[data-theme="dark"] .item-image { background: #1a1a1a; }
[data-theme="dark"] .item-qty { color: #a1a1aa; }

/* ---- Account sidebar ---- */
[data-theme="dark"] .account-sidebar { background: #121212; border-color: #333; }
[data-theme="dark"] .account-sidebar .nav-link.text-muted { color: #a1a1aa !important; }
[data-theme="dark"] .account-card { background: #121212; border-color: #333; }

/* ---- Product detail ---- */
[data-theme="dark"] .product-category-label { color: #a1a1aa; }
[data-theme="dark"] .product-price-detail .price-old { color: #71717a; }
[data-theme="dark"] .product-price-detail .price-current { color: #e4e4e7; }
[data-theme="dark"] .meta-item { color: #a1a1aa; }
[data-theme="dark"] .meta-item i { color: #71717a; }

/* ---- Quantity selector ---- */
[data-theme="dark"] .quantity-selector { background: transparent; }
[data-theme="dark"] .qty-btn { background: #27272a; border-color: #52525b; color: #e4e4e7; }
[data-theme="dark"] .qty-btn:hover { background: #3f3f46; }
[data-theme="dark"] .qty-input { background: #1a1a1a; border-color: #52525b; color: #e4e4e7; }

/* ---- Promo banners ---- */
[data-theme="dark"] .promo-card { background: #1f1f1f !important; }

/* ---- Features ---- */
[data-theme="dark"] .feature-card { background: #121212; border-color: #333; }
[data-theme="dark"] .feature-icon { color: #e4e4e7; }

/* ---- Product overlay improvements ---- */
[data-theme="dark"] .product-card-overlay { background: rgba(0,0,0,0.6); }

/* ---- General link fixes ---- */
[data-theme="dark"] a.text-decoration-none { color: inherit; }

/* ---- Pagination active color fix ---- */
[data-theme="dark"] .page-item.active .page-link { background: #e4e4e7; color: #0a0a0a; border-color: #e4e4e7; }

/* ---- Inline code / kbd ---- */
[data-theme="dark"] kbd { background: #27272a; color: #e4e4e7; border-color: #333; }

/* ---- Instagram Explore Grid ---- */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}
.instagram-grid .product-card {
    aspect-ratio: 1;
}
.instagram-grid .product-caption {
    display: none !important;
}
.instagram-grid .product-mobile-like {
    display: none !important;
}
.instagram-grid .product-wishlist-btn {
    top: 8px;
    right: 8px;
}
@media (max-width: 767px) {
    .instagram-grid {
        gap: 2px;
        margin: 0 calc(-15px + var(--bs-gutter-x, 0px));
        width: auto;
    }
    .instagram-grid .product-wishlist-btn {
        top: 5px;
        right: 5px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}



/* ---- Size Options (Instagram-style pill buttons) ---- */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.size-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.size-btn:hover {
    border-color: var(--text-primary);
    background: var(--hover-color);
}
.size-btn.active {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: var(--white);
    font-weight: 600;
}
.size-btn.disabled,
.size-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}
[data-theme="dark"] .size-btn {
    background: #1a1a1a;
    border-color: #333;
    color: #e4e4e7;
}
[data-theme="dark"] .size-btn:hover {
    border-color: #52525b;
    background: #27272a;
}
[data-theme="dark"] .size-btn.active {
    background: #e4e4e7;
    color: #0a0a0a;
    border-color: #e4e4e7;
}

/* ===== INSTAGRAM-STYLE HOMEPAGE ===== */
.insta-home {
    max-width: 975px;
    margin: 0 auto;
    padding: 0 0 24px;
}

/* -- Section headers -- */
.home-section {
    margin-bottom: 24px;
}
.section-header-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 12px;
    font-size: 14px;
}
.section-label {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 15px;
}
.section-see-all {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* -- Stories / Reels -- */
.home-reels {
    padding: 16px 0 4px;
}
.reels-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.reels-scroll::-webkit-scrollbar { display: none; }
.reel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 56px;
}
.reel-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    padding: 3px;
    background: var(--story-gradient);
    transition: transform 0.2s;
}
.reel-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--white);
}
.reel-item:hover .reel-avatar { transform: scale(1.05); }
.reel-all-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--story-gradient);
    color: #fff;
    font-size: 18px;
}
.reel-name {
    font-size: 11px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 56px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.reel-add { cursor: pointer; }
.reel-add-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    border: 2px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
    transition: all 0.2s;
}
.reel-add:hover .reel-add-icon { border-color: var(--text-primary); color: var(--text-primary); }

/* -- Collections Scroll -- */
.collections-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.collections-scroll::-webkit-scrollbar { display: none; }
.collection-card {
    flex-shrink: 0;
    width: 200px;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s;
}
.collection-card:hover { transform: scale(1.02); }
.collection-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}
.collection-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
}
.collection-name {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}
.collection-count {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    margin-top: 2px;
}

/* -- Promo Grid -- */
.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 16px;
}
.promo-card-instagram {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s;
}
.promo-card-instagram:hover { transform: translateY(-2px); }
.promo-bg {
    padding: 20px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}
.promo-label {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
}
.promo-sub {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 12px;
}
.promo-cta {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
}

/* -- Bottom CTA -- */
.home-cta {
    position: relative;
    margin: 24px 16px 0;
    border-radius: 16px;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    align-items: center;
}
.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 30%, #dc2743 60%, #cc2366 80%, #bc1888 100%);
    opacity: 0.9;
}
.cta-content {
    position: relative;
    z-index: 1;
    padding: 32px 28px;
    color: #fff;
}
.cta-content h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.cta-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.5;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #1a1a1a;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    color: #1a1a1a;
}

/* -- Override grid for homepage context -- */
.insta-home .instagram-grid {
    padding: 0 16px;
}

/* -- Dark mode -- */
[data-theme="dark"] .section-label,
[data-theme="dark"] .section-see-all { color: #e4e4e7; }
[data-theme="dark"] .section-see-all { color: var(--primary-color); }
[data-theme="dark"] .reel-all-avatar { background: #1f1f1f; color: #a1a1aa; }
[data-theme="dark"] .collection-card { box-shadow: 0 2px 8px rgba(0,0,0,0.3); }

/* -- Responsive -- */
@media (max-width: 767px) {
    .insta-home { padding: 0 0 16px; }
    .home-reels { padding: 12px 0 0; }
    .reels-scroll { gap: 14px; padding: 0 12px; }
    .reel-avatar, .reel-add-icon { width: 52px; height: 52px; }
    .section-header-line { padding: 16px 12px 10px; }
    .insta-home .instagram-grid { padding: 0 12px; }
    .collections-scroll { padding: 0 12px; }
    .collection-card { width: 160px; height: 220px; }
    .promo-grid { padding: 0 12px; gap: 8px; }
    .promo-bg { padding: 16px; min-height: 110px; }
    .promo-label { font-size: 15px; }
    .home-cta { margin: 16px 12px 0; border-radius: 12px; min-height: 160px; }
    .cta-content { padding: 24px 20px; }
    .cta-content h3 { font-size: 20px; }
}

/* ===== EXPLORE PAGE (Instagram-style) ===== */
.explore-page {
    max-width: 975px;
    margin: 0 auto;
    padding: 0 0 24px;
}

/* -- Category Tabs -- */
.explore-categories {
    padding: 12px 0;
    box-shadow: 0 1px 0 var(--border-color);
    background: var(--white);
}
.explore-cats-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.explore-cats-scroll::-webkit-scrollbar { display: none; }
.explore-cat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 24px;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.2s;
}
.explore-cat:hover {
    background: var(--hover-color);
    border-color: var(--text-secondary);
    color: var(--text-primary);
}
.explore-cat.active {
    background: var(--text-primary);
    color: var(--white);
    border-color: var(--text-primary);
    font-weight: 600;
}
.explore-cat-icon i {
    font-size: 14px;
    width: 16px;
    text-align: center;
}
[data-theme="dark"] .explore-cat {
    background: #1a1a1a;
    border-color: #333;
}
[data-theme="dark"] .explore-cat:hover {
    background: #27272a;
    border-color: #52525b;
}
[data-theme="dark"] .explore-cat.active {
    background: #e4e4e7;
    color: #0a0a0a;
}

/* -- Search Info -- */
.explore-search-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}
.explore-clear {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--hover-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.15s;
}
.explore-clear:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

/* -- Empty State -- */
.explore-empty {
    text-align: center;
    padding: 80px 20px;
}
.explore-empty-icon {
    font-size: 64px;
    color: var(--text-secondary);
    opacity: 0.25;
    margin-bottom: 20px;
}
.explore-empty h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.explore-empty p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}
.explore-empty-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s;
}
.explore-empty-btn:hover {
    opacity: 0.85;
    color: #fff;
}

/* -- Highlight Section -- */
.explore-highlight {
    margin-bottom: 8px;
}
.highlight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 16px 12px;
}
.highlight-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}
.highlight-see-all {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

/* -- Divider -- */
.explore-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 700;
}
.explore-divider::before,
.explore-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* -- All Products -- */
.explore-all {
    margin-top: 4px;
}

/* -- Pagination (Instagram-style) -- */
.explore-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 16px 16px;
}
.pagination-info {
    font-size: 13px;
    color: var(--text-secondary);
}
.pagination-pages {
    display: flex;
    gap: 6px;
}
.page-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}
.page-btn:hover {
    background: var(--hover-color);
    border-color: var(--text-secondary);
}
.page-btn.active {
    background: var(--text-primary);
    color: var(--white);
    border-color: var(--text-primary);
    font-weight: 600;
}
[data-theme="dark"] .page-btn {
    background: #1a1a1a;
    border-color: #333;
    color: #e4e4e7;
}
[data-theme="dark"] .page-btn:hover {
    background: #27272a;
    border-color: #52525b;
}
[data-theme="dark"] .page-btn.active {
    background: #e4e4e7;
    color: #0a0a0a;
    border-color: #e4e4e7;
}

/* -- Responsive -- */
@media (max-width: 767px) {
    .explore-page { padding: 0 0 16px; }
    .explore-categories { padding: 10px 0; }
    .explore-cats-scroll { padding: 0 12px; gap: 6px; }
    .explore-cat { padding: 7px 14px; font-size: 12px; gap: 6px; }
    .explore-highlight .instagram-grid,
    .explore-all .instagram-grid { padding: 0 12px; }
    .highlight-header { padding: 12px 12px 10px; }
    .explore-divider { padding: 12px 12px 10px; }
    .explore-search-info { padding: 12px; font-size: 13px; }
    .explore-empty { padding: 60px 20px; }
    .explore-pagination { padding: 24px 12px 16px; }
}

/* ===== PRODUCT DETAIL PAGE (Instagram-style) ===== */
.product-detail-page {
    max-width: 975px;
    margin: 0 auto;
    padding: 0 16px 32px;
}

/* -- Layout -- */
.detail-layout {
    display: flex;
    gap: 32px;
    padding: 20px 0;
}
.detail-gallery {
    flex: 1;
    min-width: 0;
    position: sticky;
    top: 80px;
    align-self: flex-start;
}
.detail-main-img {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: var(--background-color);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.detail-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}
.detail-badge-new { background: #0095f6; }
.detail-badge-sale { background: #ed4956; }
.detail-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.detail-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    flex-shrink: 0;
    border: 2px solid transparent;
}
.detail-thumb:hover { opacity: 1; border-color: var(--border-color); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* -- Info -- */
.detail-info {
    width: 400px;
    flex-shrink: 0;
}
.detail-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 13px;
}
.detail-category {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.detail-dot { color: var(--text-secondary); }
.detail-brand { color: var(--text-secondary); font-weight: 500; }
.detail-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 12px;
}
.detail-price {
    margin-bottom: 16px;
}
.detail-price-current {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}
.detail-price-old {
    font-size: 16px;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-left: 10px;
    font-weight: 400;
}
.detail-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* -- Form -- */
.detail-form { margin-bottom: 20px; }
.detail-field {
    margin-bottom: 16px;
}
.detail-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.detail-qty {
    display: inline-flex;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}
.detail-qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    font-size: 16px;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.15s;
}
.detail-qty-btn:hover { background: var(--hover-color); }
.detail-qty-input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 600;
    background: none;
    color: var(--text-primary);
    -moz-appearance: textfield;
}
.detail-qty-input::-webkit-outer-spin-button,
.detail-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.detail-actions { margin-top: 4px; }
.detail-cart-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: var(--primary-color);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.detail-cart-btn:hover { background: #0077e6; }
.detail-cart-btn:active { transform: scale(0.98); }
.detail-cart-btn.added { background: #16a34a; }
.detail-cart-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.detail-metas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}
.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}
.detail-meta-item i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--hover-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
    flex-shrink: 0;
}
.detail-meta-item strong { display: block; font-size: 13px; color: var(--text-primary); }
.detail-meta-item span { font-size: 12px; color: var(--text-secondary); }

.detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 12px;
    color: var(--text-secondary);
}
.detail-stats i { margin-right: 4px; color: var(--text-secondary); }

/* -- Section Blocks -- */
.detail-section {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
}
.detail-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0 4px;
    user-select: none;
}
.detail-section-header i.bi-chevron-down,
.detail-section-header i.bi-chevron-up { font-size: 14px; color: var(--text-secondary); }
.detail-section-body {
    display: none;
    padding: 20px 4px 4px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}
.detail-section-body.open { display: block; }
.review-count {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 4px;
}

/* -- Guide / Specs -- */
.detail-section-body p { margin-bottom: 8px; }

/* -- Reviews (Instagram Comments) -- */
.ig-comments { margin-bottom: 12px; }
.ig-comment {
    display: flex;
    gap: 10px;
    padding: 10px 0;
}
.ig-comment + .ig-comment { border-top: 1px solid #efefef; }
[data-theme="dark"] .ig-comment + .ig-comment { border-top-color: #222; }

.ig-c-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #0095f6;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ig-c-content { flex: 1; min-width: 0; }
.ig-c-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
    flex-wrap: wrap;
}
.ig-c-username {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
.ig-c-rating {
    font-size: 9px;
    color: #f59e0b;
    letter-spacing: 1px;
}
.ig-c-time {
    font-size: 11px;
    color: #8e8e8e;
    flex-shrink: 0;
    margin-left: auto;
}
[data-theme="dark"] .ig-c-time { color: #71717a; }
.ig-c-text {
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.ig-c-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}
.ig-c-action {
    background: none;
    border: none;
    font-size: 12px;
    color: #8e8e8e;
    cursor: pointer;
    padding: 0;
    font-weight: 600;
}
.ig-c-action:hover { color: var(--text-secondary); }
.ig-c-like { font-size: 14px; }
.ig-c-action-sep { color: #c7c7c7; font-size: 12px; }
.ig-comments-empty {
    padding: 28px 0;
    text-align: center;
    font-size: 13px;
    color: #8e8e8e;
}

/* -- Comment Form (Instagram) -- */
.ig-c-form {
    display: flex;
    gap: 10px;
    padding: 12px 0 0;
    border-top: 1px solid #efefef;
    margin-top: 4px;
}
[data-theme="dark"] .ig-c-form { border-top-color: #222; }
.ig-cf-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #e4e4e7;
    color: #71717a;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
[data-theme="dark"] .ig-cf-avatar { background: #27272a; color: #a1a1aa; }
.ig-cf-body { flex: 1; min-width: 0; }
.ig-cf-stars {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 12px;
    color: #8e8e8e;
}
.ig-cf-stars-select { display: flex; gap: 1px; }
.ig-cf-stars-select input { display: none; }
.ig-cf-stars-select label {
    font-size: 14px;
    cursor: pointer;
    color: #d1d5db;
    transition: color 0.15s;
}
.ig-cf-stars-select label:hover,
.ig-cf-stars-select label:hover ~ label,
.ig-cf-stars-select input:checked ~ label { color: #f59e0b; }
[data-theme="dark"] .ig-cf-stars-select label { color: #3f3f46; }
.ig-cf-input-row { display: flex; gap: 8px; }
.ig-cf-textarea {
    flex: 1;
    border: none;
    background: none;
    padding: 0;
    font-size: 13px;
    color: var(--text-primary);
    outline: none;
    resize: none;
    min-height: 20px;
    max-height: 80px;
    font-family: inherit;
    line-height: 1.4;
}
.ig-cf-textarea::placeholder { color: #8e8e8e; }
[data-theme="dark"] .ig-cf-textarea::placeholder { color: #52525b; }
.ig-cf-submit {
    padding: 0;
    border: none;
    background: none;
    color: #0095f6;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.15s;
}
.ig-cf-submit:hover { opacity: 0.7; }
.ig-cf-submit:disabled { opacity: 0.3; cursor: default; }
.ig-cf-submit.success { color: #16a34a; }
.ig-c-login-prompt {
    padding: 14px 0 0;
    font-size: 13px;
    text-align: center;
    border-top: 1px solid #efefef;
    margin-top: 4px;
}
[data-theme="dark"] .ig-c-login-prompt { border-top-color: #222; }
.ig-c-login-prompt a { color: #0095f6; font-weight: 600; }

/* -- Dark mode -- */
[data-theme="dark"] .detail-qty-btn:hover { background: #27272a; }
[data-theme="dark"] .detail-qty-input { color: #e4e4e7; border-color: #333; }
[data-theme="dark"] .detail-cart-btn:hover { background: #0077e6; }
[data-theme="dark"] .detail-meta-item i { background: #27272a; color: #a1a1aa; }
[data-theme="dark"] .rf-input { background: #1a1a1a; border-color: #333; color: #e4e4e7; }
[data-theme="dark"] .rf-input:focus { border-color: #52525b; }
[data-theme="dark"] .rf-stars label { color: #333; }

/* -- Responsive -- */
@media (max-width: 767px) {
    .product-detail-page { padding: 0 0 24px; }
    .detail-layout { flex-direction: column; gap: 16px; padding: 0; }
    .detail-gallery { position: static; }
    .detail-main-img { border-radius: 0; }
    .detail-thumbs { padding: 8px 12px; margin: 0; gap: 6px; }
    .detail-thumb { width: 56px; height: 56px; }
    .detail-info { width: 100%; padding: 0 12px; }
    .detail-title { font-size: 18px; }
    .detail-price-current { font-size: 20px; }
    .detail-form { margin-bottom: 12px; }
    .detail-section { padding: 16px 12px; }
}

/* ---- Instagram Icons - Thin Style ---- */
.fas, .far, .fab, .bi {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.nav-link i, .mobile-nav-item i {
    font-weight: 100;
}
.header-icon-btn i, .mobile-nav-item i {
    font-weight: 100;
}

/* ---- Bootstrap Icons Global Sizing ---- */
.bi { font-size: inherit; vertical-align: -0.125em; }
.nav-link .bi { font-size: 22px; }
.header-icon-btn .bi { font-size: 22px; }
.mobile-nav-item .bi { font-size: 24px; }
.overlay-stat .bi { font-size: 19px; }
.feed-action-btn .bi { font-size: 22px; }
.explore-cat-icon .bi { font-size: 15px; }
.ig-c-action .bi { font-size: 13px; }
.detail-meta-item .bi { font-size: 14px; }

/* ---- Instagram Story Slider ---- */
.insta-slider {
    position: relative;
    width: 100%;
    max-width: 975px;
    margin: 0 auto 8px;
    aspect-ratio: 2/1;
    overflow: hidden;
}
@media (max-width: 767px) {
    .insta-slider { aspect-ratio: 4/3; max-width: 100%; }
}
.insta-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.insta-slide {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}
.insta-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
}
.insta-slide-content {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    color: #fff;
    z-index: 1;
}
.insta-slide-sub {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 6px;
    display: block;
}
.insta-slide-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.15;
    max-width: 500px;
}
.insta-slide-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: #fff;
    color: #1a1a1a;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s;
}
.insta-slide-btn:hover { transform: translateY(-2px); color: #1a1a1a; }

.insta-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.insta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}
.insta-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #fff;
}

@media (max-width: 767px) {
    .insta-slide-content { bottom: 20px; left: 20px; right: 20px; }
    .insta-slide-title { font-size: 20px; margin-bottom: 12px; max-width: 100%; }
    .insta-slide-btn { padding: 8px 20px; font-size: 12px; }
}

/* ---- Preloader ---- */
.insta-loader {
    position: fixed;
    inset: 0;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.4s, visibility 0.4s;
}
.insta-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.insta-loader-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: instaPulse 1.5s ease-in-out infinite;
}
@keyframes instaPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.insta-loader-bar {
    width: 60px;
    height: 3px;
    background: #dbdbdb;
    border-radius: 3px;
    overflow: hidden;
}
.insta-loader-bar span {
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, #0095f6, #bc1888);
    border-radius: 3px;
    animation: instaBar 1.2s ease-in-out infinite;
}
@keyframes instaBar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(250%); }
}
[data-theme="dark"] .insta-loader { background: #000; }
[data-theme="dark"] .insta-loader-bar { background: #333; }

/* ---- Navbar Scroll Effect ---- */
.header {
    transition: box-shadow 0.2s, background 0.2s;
}
.header.scrolled {
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}
[data-theme="dark"] .header.scrolled {
    box-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.product-caption-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 3px;
    font-size: 10px;
    color: #f59e0b;
}
.product-caption-stars span {
    color: var(--text-secondary);
    margin-left: 4px;
    font-size: 10px;
}

/* ---- Checkout Page Styles ---- */
.checkout-page { background: var(--background-color); }
.checkout-section {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid var(--border-color);
}
.checkout-section .section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* Address selection */
.saved-addresses .form-label { font-weight: 600; font-size: 13px; margin-bottom: 10px; }
.address-list { display: flex; flex-direction: column; gap: 8px; }
.address-option { cursor: pointer; }
.address-option input[type="radio"] { display: none; }
.address-card {
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: border-color 0.15s;
    background: var(--white);
}
.address-option input[type="radio"]:checked + .address-card,
.address-card:hover { border-color: var(--text-primary); }
.address-card strong { display: block; font-size: 14px; color: var(--text-primary); }
.address-card p { margin: 4px 0; font-size: 12px; color: var(--text-secondary); }
.address-card small { font-size: 11px; color: var(--text-secondary); }
.new-address { display: flex; align-items: center; gap: 10px; justify-content: center; }
.new-address i { font-size: 20px; color: var(--text-secondary); }
.new-address span { font-size: 14px; font-weight: 500; color: var(--text-secondary); }

/* Register toggle */
.register-toggle { border-radius: 10px; }
.register-fields { padding: 12px 0 0; }

/* Payment methods */
.payment-methods { display: flex; flex-direction: column; gap: 8px; }
.payment-option { cursor: pointer; }
.payment-option input[type="radio"] { display: none; }
.payment-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: border-color 0.15s;
    background: var(--white);
}
.payment-option input[type="radio"]:checked + .payment-card,
.payment-card:hover { border-color: var(--text-primary); }
.payment-card i { font-size: 24px; color: var(--text-primary); width: 32px; text-align: center; }
.payment-card span { font-size: 14px; font-weight: 600; color: var(--text-primary); display: block; }
.payment-card small { font-size: 11px; color: var(--text-secondary); display: block; margin-top: 2px; }

/* Bank info */
.bank-info { border-radius: 10px; }

/* Order summary */
.order-summary {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
    top: 80px;
}
.summary-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.summary-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; max-height: 300px; overflow-y: auto; }
.summary-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}
.summary-item:last-child { border-bottom: none; padding-bottom: 0; }
.item-image { position: relative; width: 50px; height: 50px; flex-shrink: 0; }
.item-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.item-qty {
    position: absolute; top: -6px; right: -6px;
    background: var(--primary-color); color: #fff;
    width: 18px; height: 18px; border-radius: 50%;
    font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.item-info { flex: 1; min-width: 0; }
.item-info h6 { font-size: 13px; font-weight: 600; color: var(--text-primary); margin: 0 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-info small { font-size: 11px; color: var(--text-secondary); }
.item-price { font-size: 14px; font-weight: 600; color: var(--text-primary); flex-shrink: 0; }
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-primary);
}
.summary-total { font-size: 18px; font-weight: 700; padding-top: 12px; border-top: 1px solid var(--border-color); }

/* ---- Cart Page ---- */
.cart-item-line {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color);
}
.cart-item-line:last-child { border-bottom: none; padding-bottom: 0; }
.cart-item-line-img { width: 80px; height: 80px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.cart-item-line-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-line-info { flex: 1; min-width: 0; }
.cart-item-line-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 2px;
}
.cart-item-line-name:hover { opacity: 0.7; }
.cart-item-line-meta { font-size: 12px; color: var(--text-secondary); margin-bottom: 2px; }
.cart-item-line-price { font-size: 14px; color: var(--text-primary); font-weight: 500; }
.cart-item-line-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}
.cart-item-line-total { font-size: 15px; font-weight: 700; color: var(--text-primary); white-space: nowrap; }
.cart-item-line-remove {
    background: none; border: none; color: var(--text-secondary);
    font-size: 16px; cursor: pointer; padding: 4px;
}
.cart-item-line-remove:hover { color: var(--accent-color); }

/* -- Cart Qty Selector (Instagram-style) -- */
.cart-qty {
    display: inline-flex;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}
.cart-qty-btn {
    width: 32px; height: 32px;
    border: none; background: none;
    font-size: 15px; color: var(--text-primary);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
.cart-qty-btn:hover { background: var(--hover-color); }
.cart-qty-value {
    width: 32px; text-align: center; font-size: 13px; font-weight: 600;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-primary); background: none;
}

/* -- Cart Coupon -- */
.coupon-box { padding: 12px 0; }
.coupon-row { display: flex; gap: 6px; }
.coupon-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    background: var(--white);
    color: var(--text-primary);
    outline: none;
}
.coupon-input:focus { border-color: var(--text-secondary); }
.coupon-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: var(--text-primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
}
.coupon-btn:hover { opacity: 0.8; }
.coupon-msg { font-size: 12px; margin-top: 6px; }
.coupon-applied {
    display: flex; align-items: center; gap: 8px;
    margin-top: 8px; padding: 6px 8px;
    background: var(--hover-color); border-radius: 6px;
}

/* -- Shipping notice -- */
.shipping-notice {
    background: var(--hover-color);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* -- Checkout CTA -- */
.checkout-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 16px;
    transition: opacity 0.15s;
}
.checkout-cta:hover { opacity: 0.85; color: #fff; }
.checkout-secure {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 10px;
}

[data-theme="dark"] .coupon-input { background: #1a1a1a; border-color: #333; color: #e4e4e7; }
[data-theme="dark"] .coupon-input:focus { border-color: #52525b; }
[data-theme="dark"] .coupon-applied { background: #1f1f1f; }

/* ---- Wishlist Badge (same style as cart-count) ---- */
.wishlist-count {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ---- Avatar fallback (gradient initial) ---- */
.reel-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--story-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

/* ===================== DEFAULT PRODUCT CARD ===================== */
.product-card.animate-on-scroll {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    background: var(--background-color, #fafafa);
    display: block;
    text-decoration: none;
    border: 1px solid var(--border-color, #dbdbdb);
}

[data-theme="dark"] .product-card.animate-on-scroll {
    background: var(--background-color, #000);
    border-color: var(--border-color, #333);
}

.product-card.animate-on-scroll:hover {
    border-color: var(--border-color, #dbdbdb);
}

.product-card.animate-on-scroll .product-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.product-card.animate-on-scroll .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s, filter 0.3s;
    display: block;
}

.product-card.animate-on-scroll:hover .product-image img {
    filter: brightness(0.8);
    transform: scale(1.03);
}

.product-card.animate-on-scroll .product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.product-card.animate-on-scroll .badge-new,
.product-card.animate-on-scroll .badge-sale {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.product-card.animate-on-scroll .badge-new {
    background: var(--primary-color, #0095f6);
    color: #fff;
}

.product-card.animate-on-scroll .badge-sale {
    background: var(--accent-color, #ed4956);
    color: #fff;
}

.product-card.animate-on-scroll .product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.product-card.animate-on-scroll:hover .product-actions {
    opacity: 1;
}

.product-card.animate-on-scroll .btn-quick-view,
.product-card.animate-on-scroll .btn-wishlist {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-primary, #262626);
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

[data-theme="dark"] .product-card.animate-on-scroll .btn-quick-view,
[data-theme="dark"] .product-card.animate-on-scroll .btn-wishlist {
    background: rgba(18,18,18,0.9);
    color: var(--text-primary, #f5f5f5);
}

.product-card.animate-on-scroll .btn-quick-view:hover,
.product-card.animate-on-scroll .btn-wishlist:hover {
    background: var(--accent-color, #ed4956);
    color: #fff;
    transform: scale(1.1);
}

.product-card.animate-on-scroll .btn-wishlist.active {
    color: var(--accent-color, #ed4956);
}

.product-card.animate-on-scroll .btn-wishlist.active:hover {
    color: #fff;
}

.product-card.animate-on-scroll .product-cart-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.35));
    padding: 20px;
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.product-card.animate-on-scroll:hover .product-cart-overlay {
    opacity: 1;
}

.product-card.animate-on-scroll .btn-add-cart {
    padding: 8px 20px;
    border-radius: 8px;
    background: var(--primary-color, #0095f6);
    color: #fff;
    font-weight: 600;
    font-size: 0.82rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.product-card.animate-on-scroll .btn-add-cart:hover {
    background: #1877f2;
    transform: translateY(-1px);
}

.product-card.animate-on-scroll .product-info {
    display: none;
}
