/* ============================================
   Theme: THE Gift HUB - OpenCart integration
   ============================================ */
#container {
    padding: 0;
    max-width: none;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* Ensure main and inner pages (cart, checkout, etc.) have visible layout */
main {
    display: block;
    min-height: 40vh;
    flex: 1 0 auto;
    padding-bottom: 60px;
}
/* Hero: full-width layout so banner text aligns like html/index.html */
.hero {
    width: 100%;
}

/* ============================================
   Reset & Base Styles (no universal margin/padding - keeps Bootstrap & OC layout working)
   ============================================ */
* {
    box-sizing: border-box;
}

:root {
    --primary-color: #e93538;
    --primary-dark: #c42d30;
    --primary-light: #f05a5d;
    --secondary-color: #363435;
    --secondary-light: #4a4849;
    --accent-color: #e93538;
    --text-dark: #363435;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --success-color: #10B981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

.top-bar a i {
    margin-right: 5px;
}

/* ============================================
   Header
   ============================================ */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-img {
        height: 45px;
        max-width: 200px;
    }
}

/* ============================================
   Main Navigation Menu
   ============================================ */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu a {
    display: block;
    padding: 10px 15px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
    width: calc(100% - 30px);
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
}

@media (min-width: 993px) {
    .main-nav {
        display: flex;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn,
.wishlist-btn,
.cart-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-dark);
    cursor: pointer;
    position: relative;
    padding: 8px;
    transition: color 0.3s;
}

.search-btn:hover,
.wishlist-btn:hover,
.cart-btn:hover {
    color: var(--primary-color);
}

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

.search-bar {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.search-bar.active {
    max-height: 100px;
    padding: 15px 0;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-submit {
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-submit:hover {
    background: var(--primary-dark);
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 400px;
    padding: 20px 0;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 10px;
}

.mobile-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--primary-color);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--secondary-color) 100%);
    padding: 80px 0 100px;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-gift,
.floating-heart {
    position: absolute;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.gift-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gift-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 10px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gift-3 {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 10px;
    top: 40%;
    right: 5%;
    animation-delay: 4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.heart-1,
.heart-2,
.heart-3 {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    transform: rotate(45deg);
    position: relative;
}

.heart-1::before,
.heart-1::after,
.heart-2::before,
.heart-2::after,
.heart-3::before,
.heart-3::after {
    content: '';
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    border-radius: 50% 50% 0 0;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
}

.heart-1 {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.heart-2 {
    top: 50%;
    right: 8%;
    animation-delay: 3s;
}

.heart-3 {
    top: 70%;
    right: 25%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: white;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn {
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

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

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.hero-image {
    position: relative;
}

.hero-products-showcase {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    perspective: 1000px;
}

.showcase-item {
    position: relative;
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatShowcase 6s ease-in-out infinite;
}

.showcase-item:nth-child(1) {
    animation-delay: 0s;
    transform: translateY(0) rotateY(-10deg);
}

.showcase-item:nth-child(2) {
    animation-delay: 2s;
    transform: translateY(0) rotateY(0deg);
}

.showcase-item:nth-child(3) {
    animation-delay: 4s;
    transform: translateY(0) rotateY(10deg);
}

.showcase-item:hover {
    transform: translateY(-15px) scale(1.05) rotateY(0deg) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    transition: transform 0.3s;
}

.showcase-item:hover .showcase-img {
    transform: scale(1.1);
}

.showcase-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}

.showcase-item:hover .showcase-label {
    opacity: 1;
}

@keyframes floatShowcase {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 768px) {
    .hero-products-showcase {
        gap: 15px;
    }
    
    .showcase-item {
        width: 120px;
        height: 120px;
        padding: 10px;
    }
    
    .showcase-label {
        font-size: 10px;
        padding: 4px 10px;
        bottom: -20px;
    }
}

.hero-slide {
    display: none;
    position: relative;
    z-index: 1;
    width: 100%;
}
.hero-slide.active {
    display: flex;
    align-items: center;
    width: 100%;
}
/* Match HTML: container and hero-content full width so text/image grid aligns like html/index.html */
.hero .hero-slide .container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}
.hero .hero-slide .hero-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

/* Hide hero carousel indicators on desktop */
@media (min-width: 769px) {
    .hero-indicators {
        display: none !important;
    }
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   Promotional Banner
   ============================================ */
.promo-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 30px 0;
    color: white;
}

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

.promo-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 5px;
}

.promo-text p {
    font-size: 16px;
    opacity: 0.9;
}

/* ============================================
   Categories Section
   ============================================ */
.categories {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.title-decoration {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    margin: 0 auto 15px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.category-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    transition: transform 0.3s;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.category-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.category-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.category-link:hover {
    gap: 10px;
}

/* ============================================
   Featured Products Section
   ============================================ */
.featured {
    padding: 80px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--success-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-badge.hot {
    background: var(--primary-color);
}

.product-badge.new {
    background: var(--accent-color);
}

.product-image {
    width: 100%;
    height: 250px;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.quick-view,
.add-to-wishlist {
    padding: 10px 15px;
    background: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.3s;
}

.quick-view:hover,
.add-to-wishlist:hover {
    transform: scale(1.05);
}

.product-overlay a.quick-view,
.product-overlay a.add-to-wishlist {
    color: var(--text-dark);
    text-decoration: none;
}

.add-to-wishlist {
    padding: 10px;
    font-size: 18px;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 14px;
}

.product-rating i {
    color: #F59E0B;
}

.product-rating span {
    color: var(--text-light);
    margin-left: 5px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.old-price {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
}

/* ============================================
   Custom Cards Section
   ============================================ */
.custom-cards {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light), white);
}

.custom-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.custom-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.custom-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.custom-features {
    list-style: none;
    margin-bottom: 30px;
}

.custom-features li {
    padding: 10px 0;
    font-size: 16px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-features i {
    color: var(--success-color);
    font-size: 20px;
}

.custom-image {
    position: relative;
}

.custom-preview {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.preview-card {
    width: 80%;
    height: 80%;
    background: white;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-rating {
    color: #F59E0B;
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   Footer - match HTML design, override stylesheet conflicts
   ============================================ */
/* Override stylesheet.css footer (border, bg, etc) */
footer,
.footer {
    position: relative !important;
    bottom: auto !important;
    flex-shrink: 0;
    margin-top: auto;
    border: none !important;
    border-top: none !important;
    padding-top: 60px;
}

.footer {
    background: var(--text-dark) !important;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img,
.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 14px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white !important;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    transition: all 0.3s;
}

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

/* Newsletter - match HTML (form or subscribe link) */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
}

.footer .btn-primary {
    background: white !important;
    color: var(--primary-color) !important;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.footer .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

/* ============================================
   Breadcrumb - professional, clean design
   ============================================ */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0 0 24px 0;
    padding: 14px 0;
    list-style: none;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e8eaed;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    text-shadow: none;
    white-space: nowrap;
}

.breadcrumb-item:after {
    display: none !important;
}

.breadcrumb-item + .breadcrumb-item:before {
    content: "/";
    padding: 0 12px;
    color: #c4c8cc;
    font-size: 12px;
    font-weight: 300;
}

.breadcrumb-item a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.breadcrumb-item:last-child a,
.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 500;
}

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

/* ============================================
   WhatsApp Float Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 100px;
    right: 20px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   Category & Product Pages - HTML design colors
   ============================================ */
#product-category,
#product-info {
    padding: 30px 0 60px;
    min-height: 50vh;
    background: var(--bg-light);
}

#product-category h1,
#product-info h1 {
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
}

#product-category h3,
#product-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

#product-category .breadcrumb,
#product-info .breadcrumb {
    margin-bottom: 20px;
}

#product-category #content,
#product-info #content {
    padding-bottom: 40px;
}

/* ============================================
   Column-left sidebar - HTML design colors
   ============================================ */
#column-left {
    padding-right: 24px;
}

#column-left .list-group {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

#column-left .list-group-item {
    background: var(--bg-white);
    border-color: var(--border-color);
    color: var(--text-dark);
    padding: 12px 16px;
    transition: all 0.2s;
}

#column-left .list-group-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    border-color: var(--border-color);
}

#column-left .list-group-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    color: white;
}

#column-left .list-group-item.active:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
}

/* Column-left card (filter module) */
#column-left .card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

#column-left .card-header {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-weight: 600;
    padding: 14px 16px;
}

#column-left .card-header i {
    color: var(--primary-color);
    margin-right: 8px;
}

#column-left .list-group-flush .list-group-item {
    border-color: var(--border-color);
}

#column-left .card-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 12px 16px;
}

/* Filter checkboxes - primary color */
#column-left .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#column-left .form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(233, 53, 56, 0.15);
}

#column-left .form-check-label {
    color: var(--text-dark);
}

#column-left .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: white;
}

#column-left .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
}

/* Category page - refine links & subcategories */
#product-category ul li a,
#product-info ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

#product-category ul li a:hover,
#product-info ul li a:hover {
    color: var(--primary-color);
}

/* Category page toolbar - same height, alignment, gap */
#product-category .category-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

#product-category .category-toolbar-btn,
#product-category .category-toolbar-btn-group .btn,
#product-category .category-toolbar-input-group {
    height: 42px;
}

#product-category .category-toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    line-height: 42px;
}

#product-category .category-toolbar-btn-group .btn {
    width: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#product-category .category-toolbar-input-group .form-select,
#product-category .category-toolbar-input-group .input-group-text {
    height: 42px;
    min-height: 42px;
    line-height: 1.5;
    padding: 8px 14px;
}
#product-category #compare-total, #product-category .btn-primary{
    font-size: 14px;
}
.fa-arrow-right-arrow-left, .fa-exchange{
    margin-right: 5px;
}
#product-category .category-toolbar-input-group .input-group-text {
    display: flex;
    align-items: center;
}

/* Category page - compare, sort, limit (HTML colors) */
#product-category #compare-total,
#product-category .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
}

#product-category #compare-total:hover,
#product-category .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
}

#product-category .btn-light,
#product-info .btn-light {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

#product-category .btn-light:hover,
#product-info .btn-light:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Sort/Limit inputs - theme colors */
#product-category .input-group-text,
#product-info .input-group-text {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
}

#product-category .form-select,
#product-info .form-select {
    border: 1px solid var(--border-color);
}

#product-category .form-select:focus,
#product-info .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(233, 53, 56, 0.15);
}

/* Product thumb - match HTML product-card */
#product-category .product-thumb,
#product-info .product-thumb {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

#product-category .product-thumb:hover,
#product-info .product-thumb:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

#product-category .product-thumb .image,
#product-info .product-thumb .image {
    background: #f8f9fa;
}

#product-category .product-thumb .image a:hover,
#product-info .product-thumb .image a:hover {
    opacity: 1;
}

#product-category .product-thumb .description h4 a,
#product-info .product-thumb .description h4 a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
}

#product-category .product-thumb .description h4 a:hover,
#product-info .product-thumb .description h4 a:hover {
    color: var(--primary-color);
}

#product-category .product-thumb .description p,
#product-info .product-thumb .description p {
    color: var(--text-light);
    font-size: 14px;
}

#product-category .price-new,
#product-info .price-new {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

#product-category .price-old,
#product-info .price-old {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 14px;
}

#product-category .product-thumb .button button,
#product-info .product-thumb .button button {
    background: var(--bg-light);
    border: none;
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    color: var(--text-light);
    transition: all 0.2s;
}

#product-category .product-thumb .button button:hover,
#product-info .product-thumb .button button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

#product-category .product-thumb .button button:first-child,
#product-info .product-thumb .button button:first-child {
    border-left: none;
}

/* Rating stars - HTML amber */
#product-category .rating .fa-star,
#product-info .rating .fa-star {
    color: #F59E0B;
}

/* Pagination - primary colors */
#product-category .pagination .page-link,
#product-info .pagination .page-link {
    color: var(--text-dark);
    border-color: var(--border-color);
}

#product-category .pagination .page-link:hover,
#product-info .pagination .page-link:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

#product-category .pagination .page-item.active .page-link,
#product-info .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
}

/* No results / continue */
#product-category .btn-primary,
#product-info .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
}

#product-category .btn-primary:hover,
#product-info .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
}

/* Category image/description section */
#product-category .img-thumbnail,
#product-info .img-thumbnail {
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

#product-category hr,
#product-info hr {
    border-color: var(--border-color);
}

/* Results text */
#product-category .text-end,
#product-info .text-end {
    color: var(--text-light);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .header-actions {
        gap: 10px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .promo-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .custom-content {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 32px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

