/* ============================================
   mcg - Main Stylesheet
   ============================================ */

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

:root {
    --primary: #7a00df;
    --primary-light: #ab1dfe;
    --primary-dark: #5a00a0;
    --secondary: #1a1a2e;
    --secondary-light: #16213e;
    --accent: #0f3460;
    --text: #333;
    --text-light: #666;
    --text-lighter: #888;
    --bg-light: #f8f9fa;
    --white: #fff;
    --black: #000;
    --border: #e9ecef;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --shadow: 0 5px 20px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 40px rgba(122,0,223,0.15);
    --radius: 15px;
    --transition: all 0.3s ease;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 30px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn:disabled, .btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 5px 20px rgba(122,0,223,0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(122,0,223,0.6);
    color: var(--white);
}

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

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

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

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

.btn-sm {
    padding: 10px 25px;
    font-size: 12px;
}

/* Top Bar */
.top-bar {
    background: var(--secondary);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

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

.top-links a {
    color: #aaa;
    margin-left: 20px;
}

.top-links a:hover {
    color: var(--primary-light);
}

/* Header */
.header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

.search-box {
    position: relative;
}

.search-box input {
    padding: 10px 40px 10px 15px;
    border: 1px solid var(--border);
    border-radius: 25px;
    width: 200px;
    font-size: 14px;
    transition: var(--transition);
}

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

.search-box button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

.cart-icon {
    position: relative;
    font-size: 20px;
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
}

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

.account-icon {
    font-size: 20px;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.account-icon:hover {
    color: var(--primary);
}

/* Account dropdown */
.account-icon.dropdown {
    position: relative;
}

.account-icon .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
}

.account-icon .dropdown-toggle:hover {
    color: var(--primary);
}

.account-icon .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    min-width: 180px;
    padding: 8px 0;
    display: none;
    z-index: 1001;
}

.account-icon .dropdown-menu.show {
    display: block;
}

.account-icon .dropdown-menu a,
.account-icon .dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
}

.account-icon .dropdown-menu a:hover,
.account-icon .dropdown-menu button:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.account-icon .dropdown-menu .logout-form {
    margin: 0;
}

.account-icon .dropdown-menu .logout-btn {
    color: #dc3545;
}

.account-icon .dropdown-menu .logout-btn:hover {
    background: #fff5f5;
    color: #dc3545;
}

.account-icon .dropdown-menu a i,
.account-icon .dropdown-menu button i {
    width: 16px;
    text-align: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(122,0,223,0.1)' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='rgba(122,0,223,0.1)' stroke-width='0.5'/%3E%3Ccircle cx='50' cy='50' r='20' fill='none' stroke='rgba(122,0,223,0.15)' stroke-width='0.5'/%3E%3C/svg%3E") center/cover;
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 40px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-content h1 span {
    color: var(--primary-light);
}

.hero-content .tagline {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 30px;
    color: #ccc;
}

/* Section */
.section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 38px;
    font-weight: 900;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title h2 span {
    color: var(--primary);
}

.section-title .subtitle {
    font-size: 16px;
    color: var(--text-lighter);
    font-style: italic;
}

/* Welcome */
.welcome {
    background: var(--white);
}

.welcome-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.welcome h2 {
    font-size: 42px;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.welcome p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.welcome .highlight {
    color: var(--primary);
    font-weight: 700;
}

/* Categories */
.categories {
    background: var(--bg-light);
}

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

.category-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    cursor: pointer;
    border: 1px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.category-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
}

.category-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.category-card .shop-link {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products */
.products {
    background: var(--white);
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--border);
}

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

.product-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, var(--bg-light), #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
    transition: var(--transition);
}

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

.product-image .placeholder {
    font-size: 80px;
    color: #ddd;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
}

.quick-view {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.95);
    color: var(--secondary);
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 25px;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.product-card:hover .quick-view {
    opacity: 1;
}

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

.product-info {
    padding: 20px;
    text-align: center;
}

.product-category {
    font-size: 11px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
    line-height: 1.4;
}

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

.product-price {
    font-size: 22px;
    font-weight: 900;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-price .currency {
    font-size: 14px;
    margin-right: 2px;
}

.product-price .original-price,
.product-price-detail .original-price {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-lighter);
    text-decoration: line-through;
    margin-left: 8px;
}

.product-price-detail .sale-price {
    font-size: 28px;
    font-weight: 900;
    color: #dc3545;
}

/* Features */
.features {
    background: var(--secondary);
    color: var(--white);
}

.features .section-title h2 {
    color: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(122,0,223,0.2);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    font-size: 15px;
    color: #aaa;
    line-height: 1.7;
}

/* Blog */
.blog {
    background: var(--bg-light);
}

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

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.blog-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-image .placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 50px;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.read-more {
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read-more:hover {
    color: var(--primary-light);
}

/* Newsletter */
.newsletter {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    text-align: center;
}

.newsletter h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.newsletter p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    padding: 15px 30px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-light);
}

.newsletter-message {
    font-weight: 500;
    min-height: 20px;
}

.newsletter-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background: #0d0d1a;
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

.footer-col p {
    color: #888;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

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

.footer-col ul li a {
    color: #888;
    font-size: 14px;
}

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

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #666;
    font-size: 13px;
}

.payment-methods {
    display: flex;
    gap: 15px;
}

.payment-methods i {
    font-size: 28px;
    color: #666;
    transition: var(--transition);
}

.payment-methods i:hover {
    color: var(--primary);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(122,0,223,0.4);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    display: flex;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(122,0,223,0.6);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 14px;
    color: #aaa;
}

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

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

/* Shop Page */
.shop-page {
    padding: 40px 0;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.shop-header h1 {
    font-size: 32px;
    font-weight: 900;
    color: var(--secondary);
    text-transform: uppercase;
}

.category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 25px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
}

.category-tab:hover,
.category-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 12px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 700;
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination .current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Product Detail */
.product-detail {
    padding: 40px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.product-gallery {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.product-gallery img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.product-gallery .placeholder {
    font-size: 150px;
    color: #ddd;
}

.product-info-detail h1 {
    font-size: 32px;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-lighter);
}

.product-price-detail {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

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

.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
}

.quantity-input button {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-input button:hover {
    background: var(--primary);
    color: var(--white);
}

.quantity-input input {
    width: 60px;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.quantity-input input:focus {
    outline: none;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-lighter);
    margin-bottom: 20px;
}

/* About */
.about-content {
    padding: 60px 0;
}

.about-section {
    margin-bottom: 50px;
}

.about-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.about-section p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Contact */
.contact-page {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2,
.contact-form h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

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

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 15px;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero {
        min-height: 450px;
    }

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

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

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content .tagline {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 28px;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .shop-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Flash Messages */
.flash-message {
    padding: 18px 0;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
}
.flash-message i {
    margin-right: 10px;
}
.flash-success {
    background: #d4edda;
    color: #155724;
}
.flash-error {
    background: #f8d7da;
    color: #721c24;
}

/* ============================================
   Floating Contact Widgets Container
   ============================================ */
.float-contact-widgets {
    position: fixed;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    pointer-events: none;
}

.float-contact-widgets > div {
    pointer-events: auto;
}

/* ============================================
   WhatsApp Floating Widget
   ============================================ */
.whatsapp-float {
    position: relative;
    display: inline-block;
}

.whatsapp-float-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25D366;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 240px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    display: none;
    animation: whatsapp-popup-in 0.2s ease-out;
}

.whatsapp-float-popup.show {
    display: block;
}

@keyframes whatsapp-popup-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.whatsapp-float-header {
    background: #25D366;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 14px;
}

.whatsapp-float-header i {
    margin-right: 6px;
}

.whatsapp-float-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    opacity: 0.8;
}

.whatsapp-float-close:hover {
    opacity: 1;
}

.whatsapp-float-body {
    padding: 16px;
    text-align: center;
}

.whatsapp-float-body p {
    margin: 0 0 12px;
    font-size: 13px;
    color: #555;
}

.whatsapp-float-body img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.whatsapp-float-link {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: #25D366;
    text-decoration: none;
}

.whatsapp-float-link:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .float-contact-widgets {
        right: 16px;
    }
    .whatsapp-float-btn {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    .whatsapp-float-popup {
        width: 200px;
    }
    .whatsapp-float-body img {
        width: 120px;
        height: 120px;
    }
    .telegram-float-btn {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    .telegram-float-popup {
        width: 190px;
    }
}
.telegram-float {
    position: relative;
}

.telegram-float-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #0088cc;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.telegram-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5);
}

.telegram-float-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    display: none;
    animation: telegram-popup-in 0.2s ease-out;
}

.telegram-float-popup.show {
    display: block;
}

@keyframes telegram-popup-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.telegram-float-header {
    background: #0088cc;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 14px;
}

.telegram-float-header i {
    margin-right: 6px;
}

.telegram-float-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    opacity: 0.8;
}

.telegram-float-close:hover {
    opacity: 1;
}

.telegram-float-body {
    padding: 20px 16px;
    text-align: center;
}

.telegram-float-body p {
    margin: 0 0 14px;
    font-size: 13px;
    color: #555;
}

.telegram-float-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #0088cc;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.telegram-float-link:hover {
    background: #006da3;
}

.telegram-float-link i {
    font-size: 18px;
}

@media (max-width: 480px) {
    .float-contact-widgets {
        right: 16px;
    }
    .whatsapp-float-btn {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    .whatsapp-float-popup {
        width: 200px;
    }
    .whatsapp-float-body img {
        width: 120px;
        height: 120px;
    }
    .telegram-float-btn {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    .telegram-float-popup {
        width: 190px;
    }
}
