/* FreshIT - hlavne styly layoutu (vytiahnute z app/Views/layouts/main.php, v2.5.2). Verzia v URL = APP_VERSION -> cache busting. */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #ff6b35;
    --dark-color: #1a1a2e;
    --light-bg: #f8f9fa;
}

/* Top Bar */
.top-bar {
    background: var(--dark-color);
    font-size: 0.85rem;
}
.top-bar a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}
.top-bar a:hover {
    color: #fff;
}

/* Header */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1100;
}
.site-logo { height: 44px; width: auto; display: block; }
@media (max-width: 575.98px) { .site-logo { height: 36px; } }
/* Pas "Autorizovany predajca": sede loga, farebne pri prejdeni */
.brand-strip .brand-item { display: inline-flex; align-items: center; height: 44px; opacity: .8; filter: grayscale(1); transition: opacity .2s, filter .2s, transform .2s; text-decoration: none; }
.brand-strip .brand-item:hover { opacity: 1; filter: none; transform: translateY(-2px); }
.brand-strip .brand-item img { height: 30px; width: auto; max-width: 130px; display: block; }
@media (max-width: 575.98px) { .brand-strip .brand-item img { height: 26px; max-width: 110px; } }
.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hotline {
    font-size: 1.1rem;
    font-weight: 600;
}
.hotline-label {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Search */
.search-box {
    max-width: 500px;
}
.search-box .form-control {
    border-radius: 25px 0 0 25px;
    border: 2px solid var(--primary-color);
    padding: 0.6rem 1.2rem;
}
.search-box .btn {
    border-radius: 0 25px 25px 0;
    padding: 0.6rem 1.5rem;
}

/* Header Icons */
.header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
}
.header-icon:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}
.header-icon i {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}
.header-icon span {
    font-size: 0.75rem;
}
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mega Menu */
.mega-menu-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}
.mega-menu-btn:hover {
    background: #0b5ed7;
    color: #fff;
}
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 700px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 1.5rem;
    border-radius: 0 0 12px 12px;
}
.mega-menu.show {
    display: block;
}
.mega-menu .row {
    display: flex;
    flex-wrap: wrap;
}
.mega-menu .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0.25rem;
}
.mega-menu-category {
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    font-size: 0.9rem;
}
.mega-menu-category:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}
.mega-menu-category i {
    font-size: 1rem;
    width: 24px;
    text-align: center;
    color: var(--primary-color);
    flex-shrink: 0;
}
/* Special category boxes */
.mega-menu-special {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}
.mega-menu-special:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #fff;
}
.mega-menu-special i {
    font-size: 1.3rem;
}
.mega-menu-sale {
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
}
.mega-menu-new {
    background: linear-gradient(135deg, #0dcaf0, #20c997);
}
.mega-menu-recommended {
    background: linear-gradient(135deg, #ffc107, #ff9800);
}
.mega-menu-clearance {
    background: linear-gradient(135deg, #6f42c1, #e91e8b);
}
/* Shipping info boxes in mega menu */
.mega-menu-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
}
.mega-menu-info i {
    font-size: 1.5rem;
}
.mega-menu-info small {
    display: block;
    opacity: 0.9;
    font-size: 0.75rem;
}
.mega-menu-shipping {
    background: linear-gradient(135deg, #198754, #20c997);
}
.mega-menu-pickup {
    background: linear-gradient(135deg, #ff6b35, #f72585);
}
@media (max-width: 768px) {
    .mega-menu {
        min-width: 280px;
        max-width: 100vw;
    }
    .mega-menu .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Nav Links */
.nav-main {
    background: var(--light-bg);
    border-top: 1px solid #e9ecef;
}
.nav-main .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.8rem 1rem;
    transition: color 0.2s;
}
.nav-main .nav-link:hover {
    color: var(--primary-color);
}
.nav-main .nav-link.text-danger:hover {
    color: #dc3545 !important;
}

/* Product Cards */
.product-card {
    position: relative;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    background: #fff;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}
.badge-sale {
    background: #dc3545;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-new {
    background: #198754;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}
.product-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #fff;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-info {
    padding: 1rem;
}
.product-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7rem;
}
.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}
.product-price-old {
    font-size: 0.85rem;
    color: #6c757d;
    text-decoration: line-through;
}
.product-stock {
    font-size: 0.8rem;
}
.stock-in {
    color: #198754;
}
.stock-out {
    color: #dc3545;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}
.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

/* Features Bar */
.features-bar {
    background: var(--light-bg);
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.feature-text h6 {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}
.feature-text p {
    margin: 0;
    font-size: 0.8rem;
    color: #6c757d;
}

/* Brand Bar */
.brand-bar {
    padding: 2rem 0;
    background: #fff;
}
.brand-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
    max-height: 40px;
}
.brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}
.brand-item {
    opacity: 0.6;
    transition: all 0.3s;
    padding: 10px 15px;
}
.brand-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Footer */
.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}
.footer-link:hover {
    color: #fff;
}
.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.payment-icons img {
    height: 30px;
    margin-right: 0.5rem;
    opacity: 0.8;
}

/* IT2Core Badge */
.it2core-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    background: #fff;
    transition: all 0.2s ease;
    opacity: 0.85;
}
.it2core-badge:hover {
    border-color: rgba(255, 255, 255, 0.6);
    opacity: 1;
    transform: translateY(-1px);
}
.it2core-badge img {
    display: block;
}

/* Sticky Header - po odscrolovani jemne priesvitna s rozmazanim pozadia */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color .25s ease, box-shadow .25s ease;
}
.sticky-header.is-scrolled {
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    backdrop-filter: saturate(160%) blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .12);
}
.sticky-header.is-scrolled .nav-main {
    background: rgba(248, 249, 250, .55);
    border-top-color: rgba(233, 236, 239, .6);
}
@supports not (backdrop-filter: blur(1px)) {
    .sticky-header.is-scrolled { background: rgba(255, 255, 255, .96); }
}

/* Quick Add Button */
.btn-quick-add {
    opacity: 0;
    transition: all 0.3s;
}
.product-card:hover .btn-quick-add {
    opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .header-icon span {
        display: none;
    }
    .hotline {
        display: none;
    }
}

/* Preloader - hidden by default, shown only on slow loads */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.visible {
    display: flex;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader-content {
    text-align: center;
}
.preloader-spinner-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}
.preloader-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-right: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.preloader-emoji {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    line-height: 1;
    z-index: 1;
}
.preloader-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.preloader-text {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 1.4em;
    transition: opacity 0.3s ease;
}
.preloader-text.fade {
    opacity: 0;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Filter collapse */
.filter-section {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.filter-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}
.filter-header:hover {
    color: var(--primary-color);
}
.filter-header .chevron {
    transition: transform 0.3s;
}
.filter-header.collapsed .chevron {
    transform: rotate(-90deg);
}
.filter-content {
    max-height: 300px;
    overflow-y: auto;
    transition: max-height 0.3s ease;
}
.filter-content.collapsed {
    max-height: 0;
    overflow: hidden;
}

/* User Dropdown */
.user-wrapper {
    position: relative;
}
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1050;
    margin-top: 10px;
}
.user-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0,0,0,0.05);
}
.user-wrapper:hover .user-dropdown,
.user-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 12px 12px 0 0;
}
.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
}
.user-info {
    flex: 1;
    min-width: 0;
}
.user-name {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-email {
    font-size: 0.75rem;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}
.user-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}
.user-dropdown-menu li a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}
.user-dropdown-menu li a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: #6c757d;
}
.user-dropdown-menu li a:hover i {
    color: var(--primary-color);
}
.user-dropdown-menu .divider {
    height: 1px;
    background: #e9ecef;
    margin: 0.5rem 0;
}
.user-dropdown-menu .logout-link {
    color: #dc3545;
}
.user-dropdown-menu .logout-link i {
    color: #dc3545;
}
.user-dropdown-menu .logout-link:hover {
    background: #fff5f5;
    color: #dc3545;
}
.user-dropdown-menu .admin-link {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff !important;
    font-weight: 500;
    border-radius: 6px;
    margin: 0.5rem 0.75rem;
    padding: 0.6rem 1rem !important;
}
.user-dropdown-menu .admin-link i {
    color: #fff !important;
}
.user-dropdown-menu .admin-link:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71d2a 100%);
    color: #fff !important;
}

/* Cart Dropdown */
.cart-wrapper {
    position: relative;
}
.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 340px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1050;
    margin-top: 10px;
}
.cart-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0,0,0,0.05);
}
.cart-wrapper:hover .cart-dropdown,
.cart-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.cart-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 12px 12px 0 0;
}
.cart-dropdown-header h6 {
    color: #fff;
}
.cart-dropdown-header .badge {
    background: rgba(255,255,255,0.2) !important;
}
.cart-dropdown-body {
    max-height: 280px;
    overflow-y: auto;
    padding: 0.5rem 0;
}
.cart-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: #6c757d;
}
.cart-empty i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
    opacity: 0.5;
}
.cart-empty p {
    margin-bottom: 1rem;
}
.cart-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    transition: background 0.2s;
}
.cart-item:hover {
    background: #f8f9fa;
}
.cart-item-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}
.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cart-item-info {
    flex: 1;
    min-width: 0;
}
.cart-item-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark-color);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}
.cart-item-name:hover {
    color: var(--primary-color);
}
.cart-item-price {
    font-size: 0.8rem;
}
.cart-item-price .qty {
    color: #6c757d;
}
.cart-item-price .price {
    font-weight: 600;
    color: var(--primary-color);
}
.cart-more {
    text-align: center;
    padding: 0.5rem;
    border-top: 1px dashed #e9ecef;
}
.cart-dropdown-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}
.cart-total strong {
    font-size: 1.1rem;
    color: var(--primary-color);
}
.cart-actions {
    display: flex;
    gap: 0.5rem;
}
.cart-actions .btn {
    flex: 1;
}

@media (max-width: 576px) {
    .cart-dropdown {
        width: 300px;
        right: -50px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9998;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Search Autocomplete */
.search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1060;
}
.search-autocomplete.show {
    display: block;
}
.search-autocomplete-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--dark-color);
    transition: background 0.2s;
}
.search-autocomplete-item:hover {
    background: #f8f9fa;
}
.search-autocomplete-item img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    margin-right: 12px;
    border-radius: 6px;
}
.search-autocomplete-item .info {
    flex: 1;
}
.search-autocomplete-item .name {
    font-weight: 500;
    font-size: 0.9rem;
}
.search-autocomplete-item .price {
    color: var(--primary-color);
    font-weight: 600;
}
.search-no-results {
    padding: 20px;
    text-align: center;
    color: #6c757d;
}

/* Free Shipping Progress */
.shipping-progress {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}
.shipping-progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}
.shipping-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #4caf50);
    border-radius: 4px;
    transition: width 0.5s ease;
}
.shipping-progress.complete {
    background: linear-gradient(135deg, #c8e6c9, #a5d6a7);
}

/* Quick View Modal */
.quick-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s;
    z-index: 15;
}
.product-card:hover .quick-view-btn {
    opacity: 1;
}
.quick-view-modal .modal-body {
    padding: 0;
}
.quick-view-modal .product-image-col {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}
.quick-view-modal .product-info-col {
    padding: 30px;
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    z-index: 15;
}
.wishlist-btn:hover {
    transform: scale(1.1);
}
.wishlist-btn.active {
    background: #ff4757;
    color: #fff;
}
.wishlist-btn i {
    font-size: 1rem;
    transition: all 0.3s;
}

/* Social Proof */
.social-proof {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--secondary-color);
    animation: pulse-soft 2s infinite;
}
.social-proof .dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}
@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.4; }
}
@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Countdown Timer */
.countdown-timer {
    display: inline-flex;
    gap: 8px;
    font-family: 'Courier New', monospace;
}
.countdown-item {
    background: var(--dark-color);
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    text-align: center;
    min-width: 50px;
}
.countdown-item .number {
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
}
.countdown-item .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Stock Notification Form */
.stock-notify-form {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 15px;
}

/* Compare Button */
.compare-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 15;
}
.product-card:hover .compare-btn {
    opacity: 1;
}
.compare-btn:hover, .compare-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Compare Bar */
.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1040;
}
.compare-bar.show {
    transform: translateY(0);
}
.compare-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
}
.compare-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Recently Viewed */
.recently-viewed-section {
    background: #f8f9fa;
    padding: 30px 0;
    margin-top: 30px;
}

/* Gift Wrap Option */
.gift-wrap-option {
    border: 2px dashed #e9ecef;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}
.gift-wrap-option:hover,
.gift-wrap-option.selected {
    border-color: var(--primary-color);
    background: rgba(13, 110, 253, 0.05);
}
.gift-wrap-option i {
    font-size: 2rem;
    color: var(--secondary-color);
}
