:root {
    --brand-dark: #26265e;
    --brand-light: #4343AB;
    --bg-secondary: #EBEBF5;
    --white: #ffffff;
    --text-dark: #1A1A40;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-label: rgba(255, 255, 255, 0.4);
    --danger: #ff4d4d;
}

.tg-v8-wrapper { 
    background: var(--brand-dark); 
    width: 100%; 
    position: relative; 
    z-index: 9999; 
    font-family: 'Poppins', sans-serif; 
}
.tg-v8-main-line { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 15px 5%; 
    max-width: 1300px; 
    margin: 0 auto; 
    gap: 40px; 
}
.tg-v8-logo img { 
    max-height: 50px; 
    width: auto; 
    display: block; 
}
.tg-v8-search { 
    flex-grow: 1; 
    max-width: 700px; 
}
.tg-v8-search-box { 
    display: flex; 
    background: rgba(255,255,255,0.12); 
    border-radius: 8px; 
    padding: 6px 15px; 
    border: 1px solid rgba(255,255,255,0.1); 
    transition: all 0.3s ease;
}
.tg-v8-search-box input { 
    background: transparent !important; 
    border: none !important; 
    box-shadow: none !important;
    color: var(--white) !important; 
    width: 100%; 
    outline: none !important;
    padding: 8px 0; 
    font-size: 15px; 
}
.tg-v8-search-box input:focus,
.tg-v8-search-box input:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
.tg-v8-search-box:focus-within {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.3);
}
.tg-v8-search-btn { 
    background: transparent !important; 
    border: none !important; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    padding: 0;
}
.tg-v8-search-btn img { 
    width: 20px; 
    filter: brightness(0) invert(1); 
}
.tg-v8-actions { 
    display: flex; 
    gap: 25px; 
    align-items: center; 
}
.tg-v8-icon { 
    position: relative; 
    display: flex; 
    transition: transform 0.2s; 
}
.tg-v8-icon:hover { 
    transform: scale(1.1); 
}
.tg-v8-icon img { 
    width: 26px; 
    filter: brightness(0) invert(1); 
}
.tg-v8-badge { 
    position: absolute; 
    top: -6px; 
    right: -10px; 
    background: var(--danger); 
    color: var(--white); 
    font-size: 10px; 
    padding: 2px 6px; 
    border-radius: 10px; 
    font-weight: bold; 
    border: 1px solid var(--brand-dark); 
}
.tg-v8-subheader { 
    background: var(--bg-secondary); 
    width: 100%; 
    display: flex; 
    justify-content: center; 
}
.tg-v8-menu-list { 
    display: flex; 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}
.tg-v8-menu-list li a { 
    display: block; 
    padding: 16px 25px; 
    color: var(--brand-dark); 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 13px; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    transition: 0.3s; 
}
.tg-v8-menu-list li a:hover { 
    background: rgba(0,0,0,0.03); 
}
.tg-v8-hamburger { 
    display: none; 
    flex-direction: column; 
    gap: 5px; 
    padding: 15px; 
    cursor: pointer; 
}
.tg-v8-hamburger span { 
    width: 25px; 
    height: 3px; 
    background: var(--brand-dark); 
    border-radius: 4px; 
    transition: 0.4s; 
}

.menu-active .tg-v8-hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-active .tg-v8-hamburger span:nth-child(2) { opacity: 0; }
.menu-active .tg-v8-hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.tg-v8-cart-drawer { 
    position: fixed; right: -450px; top: 0; width: 360px; height: 100%; 
    background: var(--white); z-index: 10001; 
    transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1); 
    display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,0.1); 
}
.tg-v8-cart-drawer.active { right: 0; }
.tg-v8-cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 10000; display: none; }
.tg-v8-cart-overlay.active { display: block; }

.tg-v8-cart-header { 
    padding: 0 25px; background: var(--brand-dark); display: flex; 
    justify-content: space-between; align-items: center; height: 70px; flex-shrink: 0; 
}
.tg-v8-cart-title { color: var(--white); font-weight: 700; text-transform: uppercase; font-size: 15px; }
.tg-v8-close-cart { background: none; border: none; color: var(--white); font-size: 38px; cursor: pointer; line-height: 1; }

.tg-v8-body { flex-grow: 1; display: flex; flex-direction: column; overflow: hidden; }
.tg-v8-items-scroll { flex-grow: 1; overflow-y: auto; padding: 15px 25px; }
.tg-v8-item { display: flex; gap: 15px; padding: 18px 0; border-bottom: 1px solid #f0f0f0; position: relative; align-items: center; }
.tg-v8-thumb img { width: 65px; height: 65px; object-fit: cover; border-radius: 4px; }
.tg-v8-name { color: var(--text-dark); text-decoration: none; font-weight: 600; font-size: 14px; display: block; margin-bottom: 4px; }
.tg-v8-meta { font-size: 13px; color: var(--brand-dark); font-weight: 700; }
.tg-v8-item-remove { position: absolute; right: 0; color: var(--danger) !important; text-decoration: none !important; font-size: 24px; opacity: 0.4; }

.tg-v8-cart-footer { padding: 25px; background: var(--bg-secondary); border-top: 1px solid #ddd; flex-shrink: 0; }
.tg-v8-cart-total { display: flex; justify-content: space-between; margin-bottom: 20px; font-weight: 700; color: var(--brand-dark); font-size: 17px; }
.btn-checkout { 
    display: block; background: var(--brand-dark) !important; color: var(--white) !important; 
    text-align: center; padding: 18px; border-radius: 8px; text-decoration: none; 
    font-weight: 700; text-transform: uppercase; border: none; transition: 0.3s; 
}
.btn-checkout:hover { background: var(--brand-light) !important; transform: translateY(-2px); }

.footer-container {
    background-color: #26265e;
    padding: 60px 24px 20px 24px;
    width: 100%;
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
}

.footer-container *,
.footer-container *::before,
.footer-container *::after {
    box-sizing: border-box;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-column.col-brand {
    display: flex;
    flex-direction: column;
	
	justify-content: center;
	align-items: center;
}

.footer-logo-wrapper {
    margin-bottom: 20px;
}

.footer-logo-main {
    width: 150px;
    height: auto;
    display: block;
    content: none !important;
}

.footer-social-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-social-wrapper .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
    text-decoration: none;
}

.footer-social-wrapper .social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-social-wrapper .social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
}

.footer-links-list,
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a,
.footer-contact-list a {
	color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
    text-decoration: none;
    position: relative;
    width: fit-content;
    transition: color 0.3s ease;
}

.footer-links-list a::after,
.footer-contact-list a::after {
	content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #ffffff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links-list a:hover,
.footer-contact-list a:hover {
	color: #ffffff;
}

.footer-links-list a:hover::after,
.footer-contact-list a:hover::after {
    transform: scaleX(1);
}

.contact-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 4px;
    font-weight: 700;
}

/* Newsletter */
.newsletter-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.newsletter-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.newsletter-input {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
}

.newsletter-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.12);
}

.footer-container .newsletter-btn {
    width: 100%;
    padding: 12px 20px;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    color: #26265e !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

.footer-container .newsletter-btn:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 50px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .col-brand, .col-newsletter {
        grid-column: span 2;
        text-align: center;
        align-items: center;
    }
    .footer-social-wrapper {
        justify-content: center;
    }
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .col-brand, .col-newsletter {
        grid-column: span 1;
    }
    .footer-title::after {
        width: 60px;
    }
    .footer-grid .quick-access {
        grid-row-start: 2;
    }
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .col-brand, .col-newsletter { grid-column: span 2; align-items: center; text-align: center; }
}

@media (max-width: 991px) {
    .tg-v8-search { display: none; }
    .tg-v8-hamburger { display: flex; }
    .tg-v8-nav { 
        display: none; position: absolute; top: 100%; left: 0; width: 100%; 
        background: var(--white); z-index: 100; box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
    }
    .menu-active .tg-v8-nav { display: block; }
    .tg-v8-menu-list { flex-direction: column; }
    .tg-v8-menu-list li a { text-align: center; border-bottom: 1px solid #f0f0f0; color: var(--brand-dark); }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .col-brand, .col-newsletter { grid-column: span 1; }
    .footer-title::after { left: 50%; transform: translateX(-50%); }
}

.count-hidden { display: none !important; }