/* TyresDirect24/7 header + footer, scoped to .td-chrome so it never leaks into booking pages.
   Generated from the client site navbar/footer styles. */
.td-chrome, .td-chrome * { box-sizing: border-box; }
.td-chrome { font-family: "Lato", sans-serif; }
.td-chrome ul { margin: 0; padding: 0; }
.td-chrome a { text-decoration: none; }

.td-chrome nav.navbar {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.td-chrome .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.td-chrome .logo:hover {
    transform: scale(1.04);
}

.td-chrome .logo img {
    height: 45px;
    width: 150px;
    object-fit: cover;
}

.td-chrome .nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
    border-radius: 20px
}

.td-chrome .nav-links li a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid transparent;
    letter-spacing: 0.4px;
    position: relative;
    overflow: hidden;
    transition: color 0.25s, background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.td-chrome .nav-links li a::before {
    font-size: 16px;
    content: '·';
    font-weight: 900;
    color: #3ab00a;
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
    transition: opacity 0.25s, transform 0.25s;
    display: inline-block;
}

.td-chrome .nav-links li a:hover {
    color: #1a7a00;
    background: rgba(58, 176, 10, 0.08);
    border-color: rgba(58, 176, 10, 0.35);
    box-shadow: 0 0 10px rgba(58, 176, 10, 0.15);
    transform: translateY(-2px);
}

.td-chrome .nav-links li a:hover::before {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.td-chrome .nav-links li a.active {
    color: #2a8a00;
    background: rgba(58, 176, 10, 0.08);
    border-color: rgba(58, 176, 10, 0.3);
}

.td-chrome .nav-links li.nav-btn a {
    color: #080808;
    border-radius: 20px;
}

.td-chrome .nav-links li.nav-btn a:hover {
    color: #2a9000;
}

.td-chrome .floating-contact-btn {
    --floating-edge-gap: 30px;
    position: fixed;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9999;
    -webkit-tap-highlight-color: transparent;
}

.td-chrome .floating-contact-btn:focus, .td-chrome .floating-contact-btn:active, .td-chrome .floating-contact-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.td-chrome .floating-contact-label {
    position: absolute;
    right: 72px;
    white-space: nowrap;
    background: #3ab00a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 10px;
    border-radius: 999px;
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.td-chrome .floating-phone-btn:hover .floating-contact-label, .td-chrome .floating-phone-btn.show-label .floating-contact-label {
    opacity: 1;
    transform: translateX(0);
}

.td-chrome .floating-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.td-chrome .floating-whatsapp-btn {
    right: var(--floating-edge-gap);
    left: auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.td-chrome .floating-whatsapp-btn .floating-contact-label {
    display: none;
}

.td-chrome .floating-whatsapp-btn .floating-contact-icon {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    animation: pulse 2s infinite;
}

.td-chrome .floating-whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.td-chrome .floating-phone-btn {
    left: var(--floating-edge-gap);
    right: auto;
    bottom: 30px;
}

.td-chrome .floating-phone-btn .floating-contact-icon {
    width: 60px;
    height: 60px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(58, 176, 10, 0.45);
}

.td-chrome .floating-phone-btn .floating-contact-label {
    left: 72px;
    right: auto;
    transform: translateX(-8px);
}

.td-chrome .floating-phone-btn i {
    color: #3ab00a;
    font-size: 20px;
}

.td-chrome .floating-phone-btn:hover .floating-contact-icon {
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(58, 176, 10, 0.65);
    animation: emergencyShake 0.45s ease-in-out;
}

@keyframes emergencyShake {
    0% { transform: rotate(0deg) scale(1.08); }
    25% { transform: rotate(-10deg) scale(1.12); }
    50% { transform: rotate(8deg) scale(1.12); }
    75% { transform: rotate(-6deg) scale(1.12); }
    100% { transform: rotate(0deg) scale(1.12); }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

@media (max-width: 768px) {
  .td-chrome .floating-contact-btn {
        --floating-edge-gap: 20px;
        bottom: 20px;
    }
  .td-chrome .floating-contact-label {
        right: 64px;
        font-size: 11px;
        padding: 6px 9px;
    }
  .td-chrome .floating-whatsapp-btn .floating-contact-icon {
        width: 55px;
        height: 55px;
    }
  .td-chrome .floating-phone-btn {
        left: var(--floating-edge-gap);
        right: auto;
        bottom: 20px;
    }
  .td-chrome .floating-whatsapp-btn {
        right: var(--floating-edge-gap);
        left: auto;
    }
  .td-chrome .floating-phone-btn .floating-contact-icon {
        width: 55px;
        height: 55px;
    }
  .td-chrome .floating-phone-btn .floating-contact-label {
        left: 64px;
        right: auto;
    }
  .td-chrome .floating-whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }
}

.td-chrome .nav-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: transparent;
    border: 1.5px solid #3ab00a;
    border-radius: 50px;
    text-decoration: none;
    color: #3ab00a;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 10px;
    white-space: nowrap;
    height: 38px;           
    box-sizing: border-box;
}

.td-chrome .nav-call-btn i.fa-phone {
    vertical-align: middle;
    position: relative;
    top: 0px;
}

.td-chrome .nav-call-btn:hover {
    background: rgba(58, 176, 10, 0.08);
    border-color: #2a8a00;
}

.td-chrome .nav-call-btn .call-icon {
    font-size: 14px;
    line-height: 1;
    display: inline-block;
    background: none;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

.td-chrome .nav-call-btn .call-number {
    white-space: nowrap;
    line-height: 1;
    font-size: 13px;
}

.td-chrome .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    position: relative;
    z-index: 1001;
}

.td-chrome .hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: #3ab00a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.td-chrome .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.td-chrome .hamburger.active span:nth-child(2) {
    opacity: 0;
}

.td-chrome .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
  .td-chrome nav.navbar {
        flex-wrap: wrap;
        position: relative;
    }
  .td-chrome .hamburger {
        display: flex;
        order: 1;
    }
  .td-chrome .logo {
        order: 2;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
  .td-chrome .nav-call-btn {
        order: 3;
        margin-left: auto;
        padding: 8px 10px;
        min-width: 40px;
        border-radius: 15px;
    }
  .td-chrome .nav-call-btn .call-number {
        display: none;
    }
  .td-chrome .nav-call-btn .call-icon {
        font-size: 17px;
        background: none;
        border-radius: 0;
        line-height: 1;
    }
  .td-chrome .nav-links {
        position: fixed;
        top: 55px;
        left: -100%;
        height: calc(100vh - 55px);
        width: 78%;
        max-width: 300px;
        background-color: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 30px 0 20px 0;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
        gap: 8px;
        order: 4;
        border-radius: 0;
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
    }
  .td-chrome .nav-links.active {
        left: 0;
    }
  .td-chrome .nav-links li {
        width: 90%;
        padding: 0 20px;
    }
  .td-chrome .nav-links li a {
        padding: 14px 20px;
        border-radius: 8px;
        width: 100%;
        font-size: 15px;
    }
  .td-chrome .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
  .td-chrome .nav-overlay.active {
        display: block;
        opacity: 1;
    }
}

.td-chrome .footer {
    background-color: #f9f9f9;
    padding: 20px 5px 5px;
    border-top: 1px solid #e0e0e0;
}

.td-chrome .footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 0px;
}

.td-chrome .footer-column {
    display: flex;
    flex-direction: column;
}

.td-chrome .footer-newsletter {
    max-width: 350px;
}

.td-chrome .footer-logo {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.td-chrome .footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.td-chrome .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.td-chrome .footer-links li {
    margin-bottom: 12px;
}

.td-chrome .footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.td-chrome .footer-links a:hover {
    color: #25D366;
    padding-left: 5px;
}

.td-chrome .footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 25px;
}

.td-chrome .footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .td-chrome .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
  .td-chrome .footer-content > .footer-column:first-child {
        grid-column: 1 / -1;
    }
  .td-chrome .footer-newsletter {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
  .td-chrome .footer {
        padding: 40px 20px 20px;
    }
  .td-chrome .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
  .td-chrome .footer-content > .footer-column:first-child {
        grid-column: 1 / -1;
    }
  .td-chrome .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
  .td-chrome .footer-logo {
        max-width: 220px;
    }
  .td-chrome .footer-heading {
        font-size: 15px;
    }
  .td-chrome .footer-links a {
        font-size: 13px;
    }
}

.td-chrome .footer {
    margin-top: 80px;
}
