/* === AMAZON FOOTER EXACT MATCH === */

/* Back to top bar */
.tygh-footer .amazon-back-to-top {
    padding: 0 !important;
    margin: 0 !important;
}
.tygh-footer .amazon-back-to-top .ty-wysiwyg-content {
    margin: 0 !important;
    padding: 0 !important;
}

/* Main footer links section */
.tygh-footer {
    background-color: #131921 !important;
}
.tygh-footer .ty-footer-menu.b-top {
    background-color: #232f3e !important;
    padding: 40px 0 30px !important;
    border: none !important;
}
.tygh-footer .ty-footer-menu.b-top .ty-float-left {
    float: none !important;
}

/* Footer column headers */
.tygh-footer .ty-footer-menu.b-top h4,
.tygh-footer .ty-footer-general__header {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    cursor: default !important;
}

/* Footer links */
.tygh-footer .ty-footer-menu.b-top a,
.tygh-footer .ty-footer-menu__item a,
.tygh-footer .ty-footer-general__txt-links a {
    color: #dddddd !important;
    font-size: 14px !important;
    line-height: 2.2 !important;
    text-decoration: none !important;
    display: block !important;
}
.tygh-footer .ty-footer-menu.b-top a:hover,
.tygh-footer .ty-footer-menu__item a:hover,
.tygh-footer .ty-footer-general__txt-links a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* Footer link lists - remove bullets */
.tygh-footer .ty-footer-general__txt-links,
.tygh-footer .ty-footer-menu ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.tygh-footer .ty-footer-menu__item {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Amazon footer mid section (logo + language) */
.tygh-footer .amazon-footer-mid {
    background-color: #232f3e !important;
    padding: 0 !important;
    border: none !important;
}

/* Copyright section */
.tygh-footer .footer-copyright {
    background-color: #131921 !important;
    padding: 10px 0 20px !important;
    border: none !important;
}

/* Hide UniTheme2 footer open/close icons (mobile accordion) on desktop */
@media (min-width: 768px) {
    .tygh-footer .ty-footer-menu__icon-open,
    .tygh-footer .ty-footer-menu__icon-hide,
    .tygh-footer .ty-footer-general__header::after {
        display: none !important;
    }
}

/* Full-width rows in footer */
.tygh-footer .container-fluid-row-full-width {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* RTL support */
[dir="rtl"] .tygh-footer .ty-footer-menu.b-top .ty-float-left {
    float: none !important;
    text-align: right !important;
}

/* Back to top: exact Amazon match - slightly lighter than footer links area */
.tygh-footer .container-fluid-row-full-width.amazon-back-to-top {
    background-color: #37475a !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}
.tygh-footer .container-fluid-row-full-width.amazon-back-to-top .row-fluid,
.tygh-footer .container-fluid-row-full-width.amazon-back-to-top .span16 {
    padding: 0 !important;
    margin: 0 !important;
}
.tygh-footer .container-fluid-row-full-width.amazon-back-to-top .ty-wysiwyg-content,
.tygh-footer .container-fluid-row-full-width.amazon-back-to-top .ty-float-left {
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Remove gap between content and footer */
.tygh-footer {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Footer links section - match Amazon #232f3e exactly */
.tygh-footer .container-fluid-row-full-width.ty-footer-menu.b-top {
    background-color: #232f3e !important;
    border-top: none !important;
    border-bottom: none !important;
}

/* Amazon footer mid (logo/language) - same bg as links */  
.tygh-footer .container-fluid-row-full-width.amazon-footer-mid {
    background-color: #232f3e !important;
    border: none !important;
}

/* Copyright bottom - darkest */
.tygh-footer .ty-footer-grid__full-width.footer-copyright {
    background-color: #131921 !important;
}

/* Make Back to Top bar FULLY clickable across entire width */
.tygh-footer .amazon-back-to-top .container-fluid,
.tygh-footer .amazon-back-to-top > .row-fluid,
.tygh-footer .amazon-back-to-top .row-fluid {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}
.tygh-footer .amazon-back-to-top .span16 {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
}
.tygh-footer .amazon-back-to-top .ty-wysiwyg-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}
.tygh-footer .amazon-back-to-top .ty-wysiwyg-content a {
    display: block !important;
    width: 100% !important;
    padding: 15px 0 !important;
    margin: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 13px !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}
.tygh-footer .amazon-back-to-top .ty-wysiwyg-content a:hover {
    background: #485769 !important;
}
