:root {
    --primary-color: #4e73df;
    --primary-color-hover: #2e59d9;
    --secondary-color: #5a5c69;
    --success-color: #1cc88a;
    --info-color: #36b9cc;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --light-color: #f8f9fc;
    --dark-color: #5a5c69;
    --body-color: #858796;
    --border-color: #e3e6f0;
    --card-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    --sidebar-width: 260px;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: #f8f9fc;
    color: var(--dark-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Modern Navbar */
.modern-navbar {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    margin-right: 10px;
}

.brand-icon i {
    color: white;
    font-size: 1.5rem;
}

.navbar-brand span {
    color: white;
    font-weight: 700;
    font-size: 1.4rem;
    margin-left: 10px;
}

.menu-toggle {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: white;
    margin: 2px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.menu-toggle:hover span:nth-child(1) {
    transform: translateY(-1px);
}

.menu-toggle:hover span:nth-child(3) {
    transform: translateY(1px);
}

.navbar-right {
    display: flex;
    align-items: center;
}

.nav-actions {
    display: flex;
    gap: 10px;
}

.nav-btn {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.primary-btn {
    background-color: white;
    color: var(--primary-color);
}

.primary-btn:hover {
    background-color: #f8f9fc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.outline-btn {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.outline-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* Search Container */
.search-container {
    background-color: #f8f9fc;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 15px;
    color: #aab2c8;
    font-size: 1.1rem;
}

.search-input {
    flex: 1;
    height: 50px;
    border: 1px solid #e3e6f0;
    border-radius: 25px;
    padding: 0 20px 0 45px;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.1);
    outline: none;
}

.search-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    height: 44px;
    border-radius: 22px;
    padding: 0 25px;
    font-weight: 600;
    margin-left: -45px;
    z-index: 1;
    transition: all 0.3s;
    cursor: pointer;
}

.search-button:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Modern Sidebar */
.modern-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 1050;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modern-sidebar.show {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-brand {
    display: flex;
    align-items: center;
}

.sidebar-brand img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.sidebar-brand h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.2rem;
}

.sidebar-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.sidebar-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-body {
    flex: 1;
    padding: 20px 0;
}

.sidebar-section {
    margin-bottom: 25px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-heading {
    padding: 0 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 0.05rem;
    display: flex;
    align-items: center;
}

.sidebar-heading i {
    margin-right: 8px;
    font-size: 1rem;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    position: relative;
}

.sidebar-link {
    padding: 12px 20px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: #f8f9fc;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.sidebar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    margin-right: 10px;
    color: inherit;
}

.sidebar-text {
    font-weight: 500;
    font-size: 0.95rem;
}

.sidebar-auth {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.sidebar-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.sidebar-btn.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.sidebar-btn.primary-btn:hover {
    background-color: var(--primary-color-hover);
    color: white;
}

.sidebar-btn.outline-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.sidebar-btn.outline-btn:hover {
    background-color: #f8f9fc;
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 767px) {
    .navbar-brand span {
        font-size: 1.2rem;
    }
    
    .brand-icon, .navbar-brand img {
        height: 35px;
        width: 35px;
    }
    
    .menu-toggle {
        margin-right: 10px;
    }
    
    .search-input {
        height: 45px;
    }
    
    .search-button {
        height: 39px;
        padding: 0 20px;
    }
    
    .modern-sidebar {
        width: 280px;
    }
    
    .sidebar-link {
        padding: 10px 15px;
    }
    
    .sidebar-icon {
        width: 20px;
    }
    
    .sidebar-text {
        font-size: 0.9rem;
    }
}

/* Sidebar */
.shop-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 1050;
    box-shadow: 3px 0 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow-y: auto;
}

.shop-sidebar.show {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    background: linear-gradient(90deg, #4e73df 0%, #224abe 100%);
    color: white;
    text-align: center;
}

.sidebar-header img {
    height: 50px;
    width: auto;
    margin-bottom: 10px;
}

.sidebar-header h5 {
    margin-bottom: 0;
    font-weight: 700;
}

.sidebar-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar-body {
    padding: 20px 0;
}

.sidebar-heading {
    padding: 10px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 0.05rem;
    display: flex;
    align-items: center;
}

.sidebar-heading i {
    margin-right: 10px;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    position: relative;
}

.sidebar-link {
    padding: 12px 20px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: var(--light-color);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.sidebar-link.disabled {
    opacity: 0.6;
    cursor: default;
    color: var(--secondary-color);
    font-style: italic;
    justify-content: center;
}

.sidebar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    margin-right: 10px;
}

.sidebar-icon i {
    font-size: 1rem;
}

.sidebar-text {
    flex: 1;
    font-size: 0.95rem;
}

.sidebar-divider {
    height: 1px;
    background-color: #e3e6f0;
    margin: 15px 0;
}

/* Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}

.sidebar-overlay.show {
    display: block;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 30px 0;
}

/* Category and Search Titles */
.category-title, .search-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.category-title::after, .search-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Product Grid Container */
.products-container {
    background-color: #f8f9fc;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.03);
}
/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color-hover));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-img-container {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fc;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fc;
    color: #cccccc;
    font-size: 2.5rem;
}

.product-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: white;
    position: relative;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto;
    min-height: 2.6rem;
    line-height: 1.3;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: auto;
}

.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    border-radius: 20px;
    padding: 5px 12px;
    background-color: var(--success-color);
    color: white;
    font-weight: 500;
    z-index: 2;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.category-badge {
    background-color: #f0f2fa;
    color: var(--primary-color);
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.product-actions {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.product-contact-buttons {
    display: flex;
    gap: 6px;
    justify-content: space-between;
    padding: 0 12px 8px;
}

.action-btn {
    flex: 1;
    border: none;
    border-radius: 5px;
    padding: 6px 0;
    font-size: 0.85rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn {
    background-color: var(--light-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.view-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.whatsapp-btn {
    background-color: var(--success-color);
    color: white;
}

.whatsapp-btn:hover {
    background-color: #18a573;
    color: white;
}

.email-btn {
    background-color: var(--info-color);
    color: white;
}

.email-btn:hover {
    background-color: #2aa3b9;
    color: white;
}

/* Floating Contact Buttons */
.floating-contact-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    color: white;
}

.floating-btn:hover::before {
    transform: scale(1);
}

.floating-btn-whatsapp {
    background: linear-gradient(45deg, #25d366, #128C7E);
}

.floating-btn-email {
    background: linear-gradient(45deg, #4e73df, #224abe);
}

.floating-btn-label {
    position: absolute;
    right: 70px;
    background: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.floating-btn:hover .floating-btn-label {
    opacity: 1;
    transform: translateX(0);
}

/* Animations for floating buttons */
.floating-btn {
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-btn.animated {
    transform: translateY(0);
    opacity: 1;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

.floating-btn.pulse {
    animation: pulse 1s ease-in-out;
}

@media (max-width: 767px) {
    .floating-contact-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Footer */
.shop-footer {
    background-color: #4267B2;
    color: white;
    padding: 15px 0;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

.shop-footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 767px) {
    .search-form {
        margin-top: 10px;
    }
    
    .category-title, .search-title {
        font-size: 1.4rem;
        padding-bottom: 0.6rem;
        margin-bottom: 0.8rem;
    }
    
    .products-container {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 1rem;
    }
    
    .product-img-container {
        height: 160px;
        padding: 10px;
    }
    
    .product-body {
        padding: 12px;
    }
    
    .product-title {
        font-size: 0.95rem;
        margin-bottom: 6px;
        min-height: 2.4rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    .stock-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
    }
    
    .floating-contact-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* Product Detail Page */
.product-breadcrumb {
    margin-bottom: 1.5rem;
}

.product-breadcrumb .breadcrumb {
    padding: 0;
    margin: 0;
    background: transparent;
}

.product-breadcrumb .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.product-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-color-hover);
}

.product-breadcrumb .breadcrumb-item.active {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.product-detail-container {
    margin-bottom: 3rem;
}

.product-detail-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 2rem;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* Product Gallery */
.product-gallery {
    position: relative;
    padding: 2rem;
    background-color: #f8f9fc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stock-badge-detail {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--success-color);
    color: white;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    z-index: 2;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.product-main-image {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f2fa;
    color: #ccc;
    font-size: 5rem;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    justify-content: center;
}

.product-thumbnail {
    width: 70px;
    height: 70px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnail.active {
    border-color: var(--primary-color);
}

/* Product Info Section */
.product-info-section {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.product-detail-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-detail-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-category {
    margin-bottom: 1.5rem;
}

.category-pill {
    display: inline-block;
    background-color: #f0f2fa;
    color: var(--primary-color);
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.product-description {
    color: var(--body-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-meta {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.meta-row {
    display: flex;
    margin-bottom: 0.8rem;
}

.meta-row:last-child {
    margin-bottom: 0;
}

.meta-label {
    width: 120px;
    font-weight: 600;
    color: var(--dark-color);
}

.meta-value {
    color: var(--body-color);
}

.in-stock-pill {
    display: inline-block;
    background-color: var(--success-color);
    color: white;
    font-size: 0.8rem;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.action-btn i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.whatsapp-btn {
    background-color: var(--success-color);
    color: white;
}

.whatsapp-btn:hover {
    background-color: #18a573;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

.email-btn {
    background-color: var(--primary-color);
    color: white;
}

.email-btn:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

/* Product Tabs */
.product-tabs-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.product-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fc;
}

.product-tab-btn {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
}

.product-tab-btn i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.product-tab-btn:hover {
    color: var(--primary-color);
}

.product-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: white;
}

.product-tab-content-container {
    padding: 2rem;
}

.product-tab-content {
    display: none;
}

.product-tab-content.active {
    display: block;
}

.tab-inner-content {
    color: var(--body-color);
    line-height: 1.7;
}

.empty-tab-content {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--secondary-color);
}

.empty-tab-content i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
    display: block;
}

/* Specifications */
.specifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.spec-item {
    background-color: #f8f9fc;
    border-radius: 10px;
    padding: 1rem;
    transition: transform 0.3s;
}

.spec-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.spec-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.spec-value {
    color: var(--body-color);
    font-size: 1rem;
}

/* Responsive Product Detail */
@media (max-width: 991px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        padding: 1.5rem;
    }
    
    .product-main-image {
        height: 350px;
    }
    
    .product-detail-title {
        font-size: 1.6rem;
    }
    
    .product-detail-price {
        font-size: 1.6rem;
    }
}

@media (max-width: 767px) {
    .product-breadcrumb {
        margin-bottom: 1rem;
    }
    
    .product-gallery {
        padding: 1rem;
    }
    
    .product-main-image {
        height: 280px;
    }
    
    .product-info-section {
        padding: 1.5rem;
    }
    
    .product-detail-title {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .product-detail-price {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .product-tab-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .product-tab-content-container {
        padding: 1.5rem;
    }
    
    .specifications-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Fix for product meta rows on mobile */
    .meta-row {
        flex-direction: column;
        margin-bottom: 1rem;
    }
    
    .meta-label {
        width: 100%;
        margin-bottom: 0.3rem;
    }
    
    .meta-value {
        width: 100%;
    }
    
    /* Fix for product short description on mobile */
    .product-short-description {
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        width: 100% !important;
        display: block !important;
    }
}

/* Related Products */
.related-products-section {
    margin-top: 40px;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--dark-color);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

@media (max-width: 767px) {
    .related-products-section {
        margin-top: 30px;
    }
    
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state-icon {
    font-size: 3.5rem;
    color: #ddd;
    margin-bottom: 1rem;
    display: inline-block;
    background-color: #f8f9fc;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.05);
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.empty-state-text {
    color: var(--body-color);
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.empty-state-btn:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

@media (max-width: 767px) {
    .empty-state {
        padding: 2rem 1rem;
    }
    
    .empty-state-icon {
        font-size: 2.5rem;
        width: 80px;
        height: 80px;
        line-height: 80px;
    }
    
    .empty-state-title {
        font-size: 1.3rem;
    }
}

/* Floating Social Media Container */
.floating-social-container {
    position: fixed;
    bottom: 190px;
    right: 30px;
    z-index: 999;
}

.social-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #6366f1, #4338ca);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.social-toggle-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.social-toggle-btn:hover::before {
    transform: scale(1);
}

.social-toggle-btn i {
    transition: transform 0.3s ease;
}

.social-toggle-btn.active i {
    transform: rotate(45deg);
}

@keyframes socialPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

.social-toggle-btn {
    animation: socialPulse 2s infinite;
}

.social-media-buttons {
    position: absolute;
    bottom: 70px;
    right: 5px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-media-buttons.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    transform: scale(1.1);
    color: white;
}

.social-btn-facebook {
    background: linear-gradient(45deg, #3b5998, #2d4373);
}

.social-btn-instagram {
    background: linear-gradient(45deg, #833AB4, #FD1D1D, #FCAF45);
}

.social-btn-twitter {
    background: linear-gradient(45deg, #1DA1F2, #0d8ecf);
}

.social-btn-youtube {
    background: linear-gradient(45deg, #FF0000, #cc0000);
}

.social-btn-linkedin {
    background: linear-gradient(45deg, #0077B5, #005582);
}

.social-btn-tiktok {
    background: linear-gradient(45deg, #000000, #25F4EE, #FE2C55);
}

@media (max-width: 767px) {
    .floating-social-container {
        bottom: 160px;
        right: 20px;
    }
    
    .social-toggle-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .social-media-buttons {
        gap: 10px;
        bottom: 60px;
    }
}

/* Hidden price styling */
.product-price-hidden {
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 5px;
} 