/* Root variables from functions.php */
body {
    background: var(--body-bg);
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Header */
.tc-header {
    background: var(--nav-bg);
    color: var(--nav-text);
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
}

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

.tc-logo img {
    height: 40px;
}

.tc-store-name {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    flex-grow: 1;
}

/* Cart */
.tc-cart {
    position: relative;
    font-size: 24px;
    cursor: pointer;
}

.tc-cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--button-color);
    color: var(--button-text-color);
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 12px;
}

/* Desktop Nav */
.tc-nav-desktop ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    justify-content: center;
}

.tc-nav-desktop a {
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 600;
}

/* Mobile Toggle */
.tc-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* Mobile Nav */
.tc-nav-mobile {
    display: none;
    background: var(--nav-bg);
    padding: 20px;
}

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

.tc-nav-mobile a {
    display: block;
    padding: 10px 0;
    color: var(--nav-text);
    text-decoration: none;
    font-size: 18px;
}

/* Info Bar */
.tc-info-bar {
    background: #f7f7f7;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    font-size: 14px;
    color: #333;
}

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

.tc-info-item strong {
    font-weight: 600;
    color: #000;
}

/* HERO SECTION */
.tc-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.tc-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.tc-hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.tc-hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.tc-hero-content p {
    font-size: 20px;
}

/* HOMEPAGE BLOCKS */
.tc-home-blocks {
    padding: 60px 20px;
}

.tc-home-block {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.tc-home-block-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 8px;
}

.tc-home-block-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.tc-home-block-text p {
    font-size: 16px;
    line-height: 1.6;
}

/* Reverse layout every other block */
.tc-home-block:nth-child(even) {
    flex-direction: row-reverse;
}

/* VENDOR GRID */
.tc-vendor-grid {
    padding: 60px 20px;
    background: #fafafa;
}

.tc-vendor-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.tc-vendor-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
}

.tc-vendor-card {
    text-align: center;
}

.tc-vendor-card img {
    width: 100%;
    max-width: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.tc-vendor-card-name {
    font-weight: bold;
}

/* FOOTER */
.tc-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 50px 20px 20px;
}

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

.tc-footer-col h3 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.tc-footer-col p,
.tc-footer-col a {
    color: var(--footer-text);
    font-size: 14px;
    text-decoration: none;
}

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

.tc-footer-menu li {
    margin-bottom: 8px;
}

.tc-footer-menu a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 14px;
}

.tc-footer-menu a:hover {
    text-decoration: underline;
}

/* Social Icons */
.tc-footer-social a {
    font-size: 26px;
    margin-right: 12px;
    color: var(--footer-text);
}

.tc-footer-social a:hover {
    opacity: 0.7;
}

/* Bottom Bar */
.tc-footer-bottom {
    text-align: center;
    font-size: 13px;
    opacity: 0.8;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
}



/* Responsive */
@media (max-width: 768px) {
    .tc-nav-desktop {
        display: none;
    }

    .tc-mobile-toggle {
        display: block;
    }

    .tc-info-bar {
        flex-direction: column; gap: 10px;
    }

    .tc-home-block {
        flex-direction: column;
    }

    .tc-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tc-footer-social a {
        margin: 0 8px;
    }
}
