/**
 * TP4R Header & Footer - Combined Styles
 * Style 4: Soft Luxury (Lavender/Dusty Pink)
 * Style 5: Fresh Vibrant (Turquoise/Yellow)
 */

/* ==================== COMMON RESET ==================== */
.tp4r-style4,
.tp4r-style5 {
    font-family: 'Heebo', sans-serif;
    line-height: 1.6;
}

.tp4r-style4 *,
.tp4r-style5 * {
    box-sizing: border-box;
}

/* ==================== STYLE 4: SOFT LUXURY ==================== */
/* .tp4r-style4 {
    --tp4r-primary: #B8A9C9;
    --tp4r-primary-light: #D4C8E0;
    --tp4r-primary-dark: #9589A8;
    --tp4r-secondary: #FDF8F9;
    --tp4r-accent: #D4A5A5;
    --tp4r-text: #4A4153;
    --tp4r-text-light: #7A7186;
    --tp4r-white: #FFFFFF;
    --tp4r-border: #e1d9e6;
    --tp4r-shadow: rgba(184, 169, 201, 0.15);
    --tp4r-gold: #C9A66B;
} */

.tp4r-style4 {
    --tp4r-primary: #E2B7C6;
    --tp4r-primary-light: #F0D6DF;
    --tp4r-primary-dark: #C99AAE;
    --tp4r-secondary: #FFF8FA;
    --tp4r-accent: #D98C9F;
    --tp4r-text: #5A3E4A;
    --tp4r-text-light: #8A6A77;
    --tp4r-white: #FFFFFF;
    --tp4r-border: #E9D3DB;
    --tp4r-shadow: rgba(226, 183, 198, 0.18);
    --tp4r-gold: #C9A66B;
}


/* Style 4 - Top Bar */
.tp4r-style4 .tp4r-top-bar {
    background: linear-gradient(90deg, var(--tp4r-primary-dark) 0%, var(--tp4r-primary) 50%, var(--tp4r-primary-dark) 100%);
    color: var(--tp4r-white);
    padding: 12px 20px;
    font-size: 14px;
    text-align: center;
}

.tp4r-style4 .tp4r-top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.tp4r-style4 .tp4r-top-bar-content i {
    color: var(--tp4r-white);
}

.tp4r-style4 .tp4r-top-bar-divider {
    color: rgba(255, 255, 255, 0.4);
}

/* Style 4 - Header */
.tp4r-style4 .tp4r-header {
    background-color: var(--tp4r-white);
    box-shadow: 0 2px 30px var(--tp4r-shadow);
}

.tp4r-style4 .tp4r-header-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--tp4r-header-padding, 0 40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Style 4 - Logo */
.tp4r-style4 .tp4r-logo {
    text-decoration: none;
    text-align: center;
}

.tp4r-style4 .tp4r-logo-img {
    max-height: 60px;
    width: auto;
}

.tp4r-style4 .tp4r-logo-name {
    font-size: 32px;
    font-weight: 300;
    color: var(--tp4r-text);
    letter-spacing: 8px;
    text-transform: uppercase;
}

/* Style 4 - Header Actions */
.tp4r-style4 .tp4r-header-left,
.tp4r-style4 .tp4r-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 200px;
}

.tp4r-style4 .tp4r-header-right {
    justify-content: flex-end;
}

.tp4r-style4 .tp4r-header-left-actions,
.tp4r-style4 .tp4r-header-right-actions {
    display: flex;
    gap: 10px;
}

.tp4r-style4 .tp4r-icon-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--tp4r-border);
    border-radius: 50%;
    color: var(--tp4r-text);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.tp4r-style4 .tp4r-icon-btn:hover {
    background-color: var(--tp4r-primary);
    border-color: var(--tp4r-primary);
    color: var(--tp4r-white);
}

/* Style 4 - Action Items (from shortcodes) */
.tp4r-style4 .tp4r-action-item {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--tp4r-border);
    border-radius: 50%;
    color: var(--tp4r-text);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.tp4r-style4 .tp4r-action-item:hover {
    background-color: var(--tp4r-primary);
    border-color: var(--tp4r-primary);
    color: var(--tp4r-white);
}

.tp4r-style4 .tp4r-action-item i {
    font-size: 18px;
}

.tp4r-style4 .tp4r-action-item .tp4r-cart-count,
.tp4r-style4 .tp4r-action-item .tpwc-cart-count,
.tp4r-style4 .tp4r-action-item .tp4r-wishlist-count {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background-color: var(--tp4r-accent);
    color: var(--tp4r-white);
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style 4 - My Account Link (inside action-item) */
.tp4r-style4 .tp4r-myaccount-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.tp4r-style4 .tp4r-myaccount-link i {
    font-size: 18px;
}

/* Style 4 - Navigation */
.tp4r-style4 .tp4r-nav-wrapper {
    border-top: 1px solid var(--tp4r-border);
    border-bottom: 1px solid var(--tp4r-border);
}

.tp4r-style4 .tp4r-nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.tp4r-style4 .tp4r-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp4r-style4 .tp4r-nav-list li {
    position: relative;
}

.tp4r-style4 .tp4r-nav-list li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 18px 28px;
    color: var(--tp4r-text);
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.tp4r-style4 .tp4r-nav-list li a:hover {
    color: var(--tp4r-primary-dark);
}

/* Style 4 - Dropdown Arrow */
.tp4r-style4 .tp4r-nav-list li.menu-item-has-children > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.tp4r-style4 .tp4r-nav-list li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Style 4 - Dropdown */
.tp4r-style4 .tp4r-nav-list li .sub-menu {
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%) translateY(10px);
    min-width: 220px;
    background-color: var(--tp4r-white);
    border: 1px solid var(--tp4r-border);
    box-shadow: 0 15px 50px var(--tp4r-shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tp4r-style4 .tp4r-nav-list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(0);
}

.tp4r-style4 .tp4r-nav-list li .sub-menu li a {
    display: block;
    padding: 14px 24px;
    color: var(--tp4r-text);
    font-size: 13px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--tp4r-border);
    text-transform: none;
}

.tp4r-style4 .tp4r-nav-list li .sub-menu li:last-child a {
    border-bottom: none;
}

.tp4r-style4 .tp4r-nav-list li .sub-menu li a:hover {
    background-color: var(--tp4r-secondary);
    color: var(--tp4r-primary-dark);
    padding-right: 28px;
}

/* Style 4 - Mobile Toggle */
.tp4r-style4 .tp4r-mobile-toggle {
    display: none;
}

/* Style 4 - Mobile Menu */
.tp4r-style4 .tp4r-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
}

.tp4r-style4 .tp4r-mobile-overlay.active {
    display: block;
}

.tp4r-style4 .tp4r-mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--tp4r-white);
    box-shadow: -5px 0 30px var(--tp4r-shadow);
    z-index: 2000;
    padding: 30px;
    overflow-y: auto;
    transition: right 0.3s ease;
}

/* Remove all bullets from mobile menu */
.tp4r-style4 .tp4r-mobile-menu ul,
.tp4r-style4 .tp4r-mobile-menu li {
    list-style: none !important;
}

.tp4r-style4 .tp4r-mobile-menu.active {
    right: 0;
}

.tp4r-style4 .tp4r-mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--tp4r-border);
}

.tp4r-style4 .tp4r-mobile-logo {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--tp4r-text);
}

.tp4r-style4 .tp4r-mobile-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--tp4r-border);
    border-radius: 50%;
    color: var(--tp4r-text);
    cursor: pointer;
}

.tp4r-style4 .tp4r-mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tp4r-style4 .tp4r-mobile-nav-list li {
    border-bottom: 1px solid var(--tp4r-border);
    list-style: none;
}

.tp4r-style4 .tp4r-mobile-nav-list li a {
    display: block;
    padding: 18px 0;
    color: var(--tp4r-text);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Remove bullets from all submenu items */
.tp4r-style4 .tp4r-mobile-nav-list ul,
.tp4r-style4 .tp4r-mobile-nav-list ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Style 4 - Footer */
.tp4r-footer.tp4r-style4 {
    background-color: var(--tp4r-text);
    color: var(--tp4r-white);
}

.tp4r-style4 .tp4r-newsletter-section {
    background: linear-gradient(135deg, var(--tp4r-primary) 0%, var(--tp4r-primary-light) 100%);
    padding: 50px 40px;
}

.tp4r-style4 .tp4r-newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.tp4r-style4 .tp4r-newsletter-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--tp4r-white);
}

.tp4r-style4 .tp4r-newsletter-title {
    font-size: 24px;
    font-weight: 300;
    color: var(--tp4r-white);
    margin-bottom: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.tp4r-style4 .tp4r-newsletter-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 14px;
}

.tp4r-style4 .tp4r-newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 450px;
    margin: 0 auto;
}

.tp4r-style4 .tp4r-newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    font-size: 14px;
    font-family: inherit;
}

.tp4r-style4 .tp4r-newsletter-form button {
    padding: 16px 32px;
    background-color: var(--tp4r-text);
    border: none;
    color: var(--tp4r-white);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.tp4r-style4 .tp4r-newsletter-form button:hover {
    background-color: #333;
}

.tp4r-style4 .tp4r-footer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.tp4r-style4 .tp4r-footer-brand {
    padding-left: 40px;
}

.tp4r-style4 .tp4r-footer-logo {
    margin-bottom: 25px;
}

.tp4r-style4 .tp4r-footer-logo-name {
    font-size: 26px;
    font-weight: 300;
    color: var(--tp4r-white);
    letter-spacing: 6px;
    text-transform: uppercase;
}

.tp4r-style4 .tp4r-footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.tp4r-style4 .tp4r-social-links {
    display: flex;
    gap: 12px;
}

.tp4r-style4 .tp4r-social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--tp4r-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.tp4r-style4 .tp4r-social-link:hover {
    background-color: var(--tp4r-primary);
    border-color: var(--tp4r-primary);
}

.tp4r-style4 .tp4r-footer-title {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
    color: var(--tp4r-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tp4r-style4 .tp4r-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tp4r-style4 .tp4r-footer-links li {
    margin-bottom: 14px;
}

.tp4r-style4 .tp4r-footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tp4r-style4 .tp4r-footer-links a:hover {
    color: var(--tp4r-primary-light);
}

.tp4r-style4 .tp4r-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.tp4r-style4 .tp4r-footer-contact-item i {
    color: var(--tp4r-primary-light);
    margin-top: 4px;
    width: 16px;
}

.tp4r-style4 .tp4r-footer-contact-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
}

.tp4r-style4 .tp4r-footer-contact-text strong {
    display: block;
    color: var(--tp4r-white);
    font-weight: 500;
    margin-bottom: 3px;
}

.tp4r-style4 .tp4r-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tp4r-style4 .tp4r-footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tp4r-style4 .tp4r-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.tp4r-style4 .tp4r-payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tp4r-style4 .tp4r-payment-methods i {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.4);
}

/* ==================== STYLE 5: FRESH VIBRANT ==================== */
.tp4r-style5 {
    --tp4r-primary: #5BBFBA;
    --tp4r-primary-light: #8DD4D0;
    --tp4r-primary-dark: #3A9A95;
    --tp4r-secondary: #F8FFFE;
    --tp4r-accent: #FFE066;
    --tp4r-accent-dark: #F5C518;
    --tp4r-text: #2D4A4A;
    --tp4r-text-light: #5A7575;
    --tp4r-white: #FFFFFF;
    --tp4r-border: #E0F0EF;
    --tp4r-shadow: rgba(91, 191, 186, 0.15);
}

/* Style 5 - Top Bar */
.tp4r-style5 .tp4r-top-bar {
    background: var(--tp4r-accent);
    color: var(--tp4r-text);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
}

.tp4r-style5 .tp4r-top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tp4r-style5 .tp4r-top-bar-marquee {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: tp4r-scroll 20s linear infinite;
}

@keyframes tp4r-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tp4r-style5 .tp4r-top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.tp4r-style5 .tp4r-top-bar-item i {
    color: var(--tp4r-primary-dark);
}

.tp4r-style5 .tp4r-top-bar-close {
    background: none;
    border: none;
    color: var(--tp4r-text);
    cursor: pointer;
    padding: 5px;
    opacity: 0.7;
}

/* Style 5 - Header */
.tp4r-style5 .tp4r-header {
    background-color: var(--tp4r-white);
    box-shadow: 0 4px 30px var(--tp4r-shadow);
}

.tp4r-style5 .tp4r-header-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--tp4r-header-padding, 0 40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Style 5 - Header Left (logo + left actions) */
.tp4r-style5 .tp4r-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tp4r-style5 .tp4r-actions-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Style 5 - Logo */
.tp4r-style5 .tp4r-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.tp4r-style5 .tp4r-logo-img {
    max-height: 52px;
    width: auto;
}

.tp4r-style5 .tp4r-logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--tp4r-primary) 0%, var(--tp4r-primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tp4r-white);
    font-size: 24px;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.tp4r-style5 .tp4r-logo:hover .tp4r-logo-icon {
    transform: rotate(0deg) scale(1.05);
}

.tp4r-style5 .tp4r-logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--tp4r-text);
}

/* Style 5 - Search */
.tp4r-style5 .tp4r-search-wrapper {
    flex: 1;
    max-width: 550px;
}

/* Style 5 - Header Actions */
.tp4r-style5 .tp4r-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tp4r-style5 .tp4r-actions-inner {
    display: flex;
    gap: 10px;
}

.tp4r-style5 .tp4r-action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background-color: var(--tp4r-secondary);
    border: 2px solid transparent;
    border-radius: 14px;
    text-decoration: none;
    color: var(--tp4r-text);
    transition: all 0.3s ease;
}

.tp4r-style5 .tp4r-action-item:hover {
    border-color: var(--tp4r-primary);
    background-color: var(--tp4r-white);
}

/* Style 5 - My Account Link (inside action-item) */
.tp4r-style5 .tp4r-myaccount-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.tp4r-style5 .tp4r-myaccount-link i {
    font-size: 18px;
}

/* Style 5 - Navigation */
.tp4r-style5 .tp4r-nav-wrapper {
    background-color: var(--tp4r-white);
    border-top: 1px solid var(--tp4r-border);
}

.tp4r-style5 .tp4r-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tp4r-style5 .tp4r-nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.tp4r-style5 .tp4r-nav-list li {
    position: relative;
}

.tp4r-style5 .tp4r-nav-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    color: var(--tp4r-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 12px 12px 0 0;
    transition: all 0.3s ease;
    position: relative;
}

.tp4r-style5 .tp4r-nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tp4r-primary), var(--tp4r-accent));
    border-radius: 3px 3px 0 0;
    transition: width 0.3s ease;
}

.tp4r-style5 .tp4r-nav-list li a:hover::after {
    width: 100%;
}

.tp4r-style5 .tp4r-nav-list li a:hover {
    color: var(--tp4r-primary-dark);
}

/* Style 5 - Dropdown Arrow */
.tp4r-style5 .tp4r-nav-list li.menu-item-has-children > a .tp4r-dropdown-arrow {
    font-size: 10px;
    margin-right: 6px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.tp4r-style5 .tp4r-nav-list li.menu-item-has-children:hover > a .tp4r-dropdown-arrow {
    transform: rotate(180deg);
}

/* Style 5 - Dropdown Arrow (CSS fallback) */
.tp4r-style5 .tp4r-nav-list li.menu-item-has-children > a::before {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    margin-right: 6px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.tp4r-style5 .tp4r-nav-list li.menu-item-has-children:hover > a::before {
    transform: rotate(180deg);
}

/* Style 5 - Dropdown */
.tp4r-style5 .tp4r-nav-list li .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 250px;
    background-color: var(--tp4r-white);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 15px 50px var(--tp4r-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tp4r-style5 .tp4r-nav-list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tp4r-style5 .tp4r-nav-list li .sub-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--tp4r-border);
    border-radius: 0;
}

.tp4r-style5 .tp4r-nav-list li .sub-menu li a::after {
    display: none;
}

.tp4r-style5 .tp4r-nav-list li .sub-menu li:last-child a {
    border-bottom: none;
}

.tp4r-style5 .tp4r-nav-list li .sub-menu li a:hover {
    background-color: var(--tp4r-secondary);
    padding-right: 25px;
}

/* Style 5 - Mobile Toggle */
.tp4r-style5 .tp4r-mobile-toggle {
    display: none;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--tp4r-primary) 0%, var(--tp4r-primary-dark) 100%);
    border: none;
    border-radius: 12px;
    color: var(--tp4r-white);
    cursor: pointer;
    font-size: 20px;
}

/* Style 5 - Mobile Menu */
.tp4r-style5 .tp4r-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
}

.tp4r-style5 .tp4r-mobile-overlay.active {
    display: block;
}

.tp4r-style5 .tp4r-mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--tp4r-white);
    box-shadow: -5px 0 30px var(--tp4r-shadow);
    z-index: 2000;
    padding: 25px;
    overflow-y: auto;
    transition: right 0.3s ease;
}

/* Remove all bullets from mobile menu */
.tp4r-style5 .tp4r-mobile-menu ul,
.tp4r-style5 .tp4r-mobile-menu li {
    list-style: none !important;
}

.tp4r-style5 .tp4r-mobile-menu.active {
    right: 0;
}

.tp4r-style5 .tp4r-mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--tp4r-border);
}

.tp4r-style5 .tp4r-mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tp4r-style5 .tp4r-mobile-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--tp4r-primary) 0%, var(--tp4r-primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tp4r-white);
    font-size: 18px;
}

.tp4r-style5 .tp4r-mobile-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--tp4r-text);
}

.tp4r-style5 .tp4r-mobile-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--tp4r-secondary);
    border: none;
    border-radius: 12px;
    color: var(--tp4r-text);
    cursor: pointer;
    font-size: 18px;
}

.tp4r-style5 .tp4r-mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tp4r-style5 .tp4r-mobile-nav-list li {
    border-bottom: 1px solid var(--tp4r-border);
    list-style: none;
}

.tp4r-style5 .tp4r-mobile-nav-list li a {
    display: block;
    padding: 16px 0;
    color: var(--tp4r-text);
    text-decoration: none;
    font-weight: 500;
}

/* Remove bullets from all submenu items */
.tp4r-style5 .tp4r-mobile-nav-list ul,
.tp4r-style5 .tp4r-mobile-nav-list ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Style 5 - Footer */
.tp4r-footer.tp4r-style5 {
    background-color: var(--tp4r-text);
    color: var(--tp4r-white);
}

/* Style 5 - Features Bar */
.tp4r-style5 .tp4r-features-bar {
    background: linear-gradient(135deg, var(--tp4r-primary-dark) 0%, var(--tp4r-primary) 100%);
}

.tp4r-style5 .tp4r-features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.tp4r-style5 .tp4r-feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 25px 20px;
    color: var(--tp4r-white);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.tp4r-style5 .tp4r-feature-item:last-child {
    border-left: none;
}

.tp4r-style5 .tp4r-feature-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.tp4r-style5 .tp4r-feature-icon {
    width: 48px;
    height: 48px;
    background-color: var(--tp4r-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tp4r-text);
    font-size: 20px;
}

.tp4r-style5 .tp4r-feature-text h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.tp4r-style5 .tp4r-feature-text p {
    font-size: 12px;
    opacity: 0.8;
    margin: 0;
}

/* Style 5 - Newsletter */
.tp4r-style5 .tp4r-newsletter-section {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 50px 40px;
}

.tp4r-style5 .tp4r-newsletter-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.tp4r-style5 .tp4r-newsletter-content {
    flex: 1;
}

.tp4r-style5 .tp4r-newsletter-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--tp4r-white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tp4r-style5 .tp4r-newsletter-title i {
    color: var(--tp4r-accent);
}

.tp4r-style5 .tp4r-newsletter-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin: 0;
}

.tp4r-style5 .tp4r-newsletter-form {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 500px;
}

.tp4r-style5 .tp4r-newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
}

.tp4r-style5 .tp4r-newsletter-form button {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--tp4r-primary) 0%, var(--tp4r-primary-dark) 100%);
    border: none;
    border-radius: 12px;
    color: var(--tp4r-white);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tp4r-style5 .tp4r-newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(91, 191, 186, 0.3);
}

/* Style 5 - Footer Main */
.tp4r-style5 .tp4r-footer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.tp4r-style5 .tp4r-footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.9;
    margin: 20px 0 25px;
}

.tp4r-style5 .tp4r-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tp4r-style5 .tp4r-footer-logo-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--tp4r-primary) 0%, var(--tp4r-primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tp4r-white);
    font-size: 20px;
}

.tp4r-style5 .tp4r-footer-logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--tp4r-white);
}

.tp4r-style5 .tp4r-social-links {
    display: flex;
    gap: 10px;
}

.tp4r-style5 .tp4r-social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--tp4r-white);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.tp4r-style5 .tp4r-social-link:hover {
    background: linear-gradient(135deg, var(--tp4r-primary) 0%, var(--tp4r-primary-dark) 100%);
    transform: translateY(-3px);
}

.tp4r-style5 .tp4r-footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--tp4r-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tp4r-style5 .tp4r-footer-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--tp4r-accent);
    border-radius: 50%;
}

.tp4r-style5 .tp4r-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tp4r-style5 .tp4r-footer-links li {
    margin-bottom: 14px;
}

.tp4r-style5 .tp4r-footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tp4r-style5 .tp4r-footer-links a:hover {
    color: var(--tp4r-primary-light);
}

.tp4r-style5 .tp4r-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.tp4r-style5 .tp4r-footer-contact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tp4r-primary-light);
    flex-shrink: 0;
}

.tp4r-style5 .tp4r-footer-contact-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.5;
}

.tp4r-style5 .tp4r-footer-contact-text strong {
    display: block;
    color: var(--tp4r-white);
    font-weight: 500;
    margin-bottom: 2px;
}

/* Style 5 - Footer Bottom */
.tp4r-style5 .tp4r-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tp4r-style5 .tp4r-footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tp4r-style5 .tp4r-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.tp4r-style5 .tp4r-payment-methods {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tp4r-style5 .tp4r-payment-icon {
    width: 50px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 22px;
}

/* ==================== RESPONSIVE - STYLE 4 ==================== */
@media (max-width: 1200px) {
    .tp4r-style4 .tp4r-nav-list li a {
        padding: 16px 20px;
    }

    .tp4r-style4 .tp4r-footer-main {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 40px;
        padding: 50px 30px;
    }
}

@media (max-width: 992px) {
    .tp4r-style4 .tp4r-top-bar-content {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tp4r-style4 .tp4r-header-main {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding: 15px 20px;
        gap: 10px;
    }

    /* Right side: Menu + Search (grid column 1) */
    .tp4r-style4 .tp4r-header-left {
        display: flex;
        align-items: center;
        gap: 10px;
        width: auto;
        justify-content: flex-start;
        grid-column: 1;
    }

    /* Make sure mobile toggle is first (rightmost in RTL) */
    .tp4r-style4 .tp4r-header-left .tp4r-mobile-toggle {
        order: -1;
    }

    /* Center: Logo (grid column 2) */
    .tp4r-style4 .tp4r-logo {
        grid-column: 2;
        justify-self: center;
        position: static;
        transform: none;
    }

    /* Left side: All other icons (grid column 3) */
    .tp4r-style4 .tp4r-header-right {
        display: flex;
        align-items: center;
        gap: 10px;
        width: auto;
        justify-content: flex-end;
        grid-column: 3;
    }

    .tp4r-style4 .tp4r-nav-wrapper {
        display: none;
    }

    .tp4r-style4 .tp4r-mobile-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 1px solid var(--tp4r-border);
        border-radius: 50%;
        color: var(--tp4r-text);
        cursor: pointer;
    }

    .tp4r-style4 .tp4r-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .tp4r-style4 .tp4r-footer-brand {
        padding-left: 0;
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .tp4r-style4 .tp4r-top-bar {
        font-size: 12px;
        padding: 10px 15px;
    }

    .tp4r-style4 .tp4r-top-bar-divider {
        display: none;
    }

    .tp4r-style4 .tp4r-header-main {
        justify-content: center;
        gap: 15px;
    }

    .tp4r-style4 .tp4r-logo-name {
        font-size: 24px;
        letter-spacing: 4px;
    }

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

    .tp4r-style4 .tp4r-footer-main {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .tp4r-style4 .tp4r-footer-brand {
        grid-column: span 1;
        text-align: center;
    }

    .tp4r-style4 .tp4r-social-links {
        justify-content: center;
    }

    .tp4r-style4 .tp4r-footer-section {
        text-align: center;
    }

    .tp4r-style4 .tp4r-footer-contact-item {
        justify-content: center;
    }

    .tp4r-style4 .tp4r-footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tp4r-style4 .tp4r-header-main {
        padding: 10px 12px;
        gap: 6px;
    }

    .tp4r-style4 .tp4r-icon-btn,
    .tp4r-style4 .tp4r-action-item {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .tp4r-style4 .tp4r-action-item i {
        font-size: 14px;
    }

    .tp4r-style4 .tp4r-mobile-toggle {
        width: 32px;
        height: 32px;
    }

    .tp4r-style4 .tp4r-logo-img {
        max-height: 40px;
    }

    .tp4r-style4 .tp4r-logo-name {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .tp4r-style4 .tp4r-logo-tagline {
        font-size: 8px;
    }

    .tp4r-style4 .tp4r-header-left,
    .tp4r-style4 .tp4r-header-right {
        gap: 5px;
    }

    .tp4r-style4 .tp4r-newsletter-section {
        padding: 30px 20px;
    }

    .tp4r-style4 .tp4r-newsletter-title {
        font-size: 20px;
    }
}

/* ==================== RESPONSIVE - STYLE 5 ==================== */
@media (max-width: 1200px) {
    .tp4r-style5 .tp4r-header-main {
        gap: 20px;
    }

    .tp4r-style5 .tp4r-nav-list li a {
        padding: 14px 16px;
    }

    .tp4r-style5 .tp4r-footer-main {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 30px;
        padding: 50px 30px;
    }
}

@media (max-width: 992px) {
    .tp4r-style5 .tp4r-top-bar-marquee {
        animation: none;
    }

    .tp4r-style5 .tp4r-header-main {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 10px;
    }

    /* Right side: Mobile toggle button + search icon (grid column 3) */
    .tp4r-style5 .tp4r-header-actions {
        grid-column: 3;
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: flex-end;
    }

    /* Make sure mobile toggle is last in header-actions (rightmost in RTL) */
    .tp4r-style5 .tp4r-header-actions .tp4r-mobile-toggle {
        order: 999;
    }

    /* Center: Logo (grid column 2) */
    .tp4r-style5 .tp4r-logo {
        grid-column: 2;
        justify-self: center;
        position: static;
        transform: none;
    }

    /* Left side: Other action icons (grid column 1) */
    .tp4r-style5 .tp4r-header-left {
        grid-column: 1;
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: flex-start;
    }

    /* Hide search wrapper in mobile - we'll use icon instead */
    .tp4r-style5 .tp4r-search-wrapper {
        display: none;
    }

    .tp4r-style5 .tp4r-nav-wrapper {
        display: none;
    }

    .tp4r-style5 .tp4r-mobile-toggle {
        display: flex;
    }

    .tp4r-style5 .tp4r-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp4r-style5 .tp4r-feature-item:nth-child(2) {
        border-left: none;
    }

    .tp4r-style5 .tp4r-newsletter-container {
        flex-direction: column;
        text-align: center;
    }

    .tp4r-style5 .tp4r-newsletter-form {
        max-width: 100%;
        width: 100%;
    }

    .tp4r-style5 .tp4r-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .tp4r-style5 .tp4r-footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .tp4r-style5 .tp4r-top-bar {
        font-size: 12px;
        padding: 8px 15px;
    }

    .tp4r-style5 .tp4r-top-bar-item {
        gap: 5px;
    }

    .tp4r-style5 .tp4r-logo-text {
        font-size: 22px;
    }

    .tp4r-style5 .tp4r-logo-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .tp4r-style5 .tp4r-action-item {
        padding: 8px 12px;
    }

    .tp4r-style5 .tp4r-features-grid {
        grid-template-columns: 1fr;
    }

    .tp4r-style5 .tp4r-feature-item {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .tp4r-style5 .tp4r-feature-item:first-child {
        border-top: none;
    }

    .tp4r-style5 .tp4r-newsletter-section {
        padding: 35px 20px;
    }

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

    .tp4r-style5 .tp4r-footer-main {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .tp4r-style5 .tp4r-footer-brand {
        grid-column: span 1;
        text-align: center;
    }

    .tp4r-style5 .tp4r-footer-logo {
        justify-content: center;
    }

    .tp4r-style5 .tp4r-social-links {
        justify-content: center;
    }

    .tp4r-style5 .tp4r-footer-section {
        text-align: center;
    }

    .tp4r-style5 .tp4r-footer-title::before {
        display: none;
    }

    .tp4r-style5 .tp4r-footer-contact-item {
        justify-content: center;
    }

    .tp4r-style5 .tp4r-footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tp4r-style5 .tp4r-action-item span {
        display: none;
    }

    .tp4r-style5 .tp4r-newsletter-title {
        font-size: 20px;
        flex-direction: column;
    }
}

