/*
Theme Name: My Custom Theme
Author: Taniya
Description: A premium corporate theme designed for AIPL.
Version: 1.2
*/

:root {
    /* Color Palette - Premium Corporate */
    --background: #09090b;
    --surface: #18181b;
    --primary: #ffffff;
    --primary-dark: #e2e2e2;
    --secondary: #ffffff;
    --accent: #ffffff;
    --text: #ffffff;
    --text-muted: #a1a1aa;
    --glass: rgba(9, 9, 11, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Spacing */
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;

    /* Effects */
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

/* --- Navigation & Mega Menu --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
    background: transparent;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.main-header.scrolled .logo,
.main-header.scrolled .nav-menu>.nav-item>a,
.main-header.scrolled .nav-menu>.menu-item>a {
    color: #000000 !important;
}

.main-header.scrolled .contact-btn {
    background: #000000 !important;
    color: #ffffff !important;
}

.main-header.scrolled .nav-menu>.nav-item:hover>a,
.main-header.scrolled .nav-menu>.menu-item:hover>a {
    color: #ffffff !important;
}

.main-header.scrolled .logo {
    background: none;
    -webkit-text-fill-color: #000000 !important;
    color: #000000 !important;
}

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

.logo,
.custom-logo-link {
    font-size: 1.8rem;
    color: var(--secondary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo img,
.custom-logo {
    max-height: 40px;
    width: auto;
}

.logo {
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Navigation & Menus --- */
#siteNav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-cart {
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    transition: var(--transition);
}

.cart-icon {
    font-size: 1.4rem;
}

.cart-label {
    display: none;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 2px;
}

.main-header.scrolled .header-cart {
    color: #000;
}

/* Mobile Header Cart (Hidden on Desktop) */
.mobile-header-cart {
    display: none;
}

.menu-item,
.nav-item {
    position: relative;
    padding: 0.5rem 0;
}

.menu-item>a,
.nav-item>a {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #ffffff;
    transition: var(--transition);
}

/* Dropdown Arrow for items with children (WordPress Standard) */
.menu-item-has-children>a::after {
    content: '▼';
    font-size: 0.6rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.menu-item-has-children:hover>a::after,
.menu-item-has-children.is-open>a::after {
    transform: rotate(180deg);
}

.menu-item:hover>a,
.nav-item:hover>a {
    color: var(--secondary);
}

/* Standard Dropdown (Sub-menu) - Clean Card Style */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.5rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    z-index: 1000;
}

/* Caret/Arrow for dropdown (Only on top-level submenus) */
.sub-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    transform: rotate(45deg);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

/* Dynamically align Mega Menu caret under hovered item */
.menu-item.mega>.sub-menu::before {
    left: var(--caret-pos, 20px);
    transition: left 0.2s cubic-bezier(0.2, 0, 0, 1);
}

/* Remove Caret from nested sub-menus so they don't produce double carets */
.sub-menu .sub-menu::before {
    display: none;
}

.menu-item:hover>.sub-menu,
.nav-item:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    padding: 0;
    width: 100%;
    margin: 0;
}

.sub-menu a {
    display: block;
    padding: 0.75rem 1.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1f2937;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sub-menu a:hover {
    color: #5d3fd3;
    /* Corporate Primary */
    background: #f9fafb;
    padding-left: 2rem;
}

/* Mega Menu Layout - Multi-Column structure */
.menu-item.mega,
.nav-item.mega {
    position: static !important;
}

/* Sub-menu of a .mega item becomes the mega dropdown panel */
.menu-item.mega>.sub-menu,
.nav-item.mega>.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: max-content;
    max-width: 92vw;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 0 !important;
    /* overflow: hidden removed to allow caret to show */
    box-shadow: 0 40px 60px -15px rgba(0, 0, 0, 0.25);
    z-index: 1010;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
}

/* Show via JS class (handles hover delay & click toggle) */
.menu-item.mega.is-open>.sub-menu,
.nav-item.mega.is-open>.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* Each column li inside mega sub-menu */
.menu-item.mega>.sub-menu>li:not(.featured-content) {
    min-width: 180px;
    max-width: 280px;
    background: #ffffff;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem 1.25rem;
    flex: 0 1 auto;
    list-style: none;
}

.menu-item.mega>.sub-menu>li:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

/* Featured Content column (last li with .featured-content class) */
.menu-item.mega>.sub-menu>li.featured-content {
    background: #f9fafb;
    border-right: none;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    width: 300px;
    flex-shrink: 0;
    pointer-events: none;
    list-style: none;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.menu-item.mega.is-open>.sub-menu>li.featured-content {
    pointer-events: auto !important;
}

.featured-content-inner {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Column header links inside mega (depth-1 items) */
.menu-item.mega>.sub-menu>li:not(.featured-content)>a {
    font-weight: 700;
    color: #111827 !important;
    text-transform: uppercase;
    font-size: 0.8rem !important;
    letter-spacing: 0.1em;
    padding: 0 !important;
    margin-bottom: 1rem;
    pointer-events: none;
    display: block;
    background: none !important;
}

/* Nested sub-menus inside mega (depth-2 items list) */
.menu-item.mega>.sub-menu>li:not(.featured-content)>.sub-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: hidden;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    transform: none !important;
    min-width: unset !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem;
    list-style: none;
    pointer-events: none;
}

/* Show them only when the mega menu is open */
.menu-item.mega.is-open>.sub-menu>li:not(.featured-content)>.sub-menu {
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Nested sub-menu links (depth-2) */
.menu-item.mega>.sub-menu>li>.sub-menu a {
    padding: 0.4rem 0 !important;
    color: #4b5563 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center;
    gap: 0.85rem;
    background: none !important;
    text-transform: none;
    pointer-events: none;
    transition: var(--transition);
    line-height: 1.2;
}

.menu-item.mega.is-open>.sub-menu>li>.sub-menu a {
    pointer-events: auto !important;
}

.menu-item.mega>.sub-menu>li>.sub-menu a:hover {
    color: #5d3fd3 !important;
    transform: translateX(5px);
}

/* Icons & Labels */
.menu-icon {
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.menu-icon img-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.menu-label {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.menu-title {
    display: block;
    font-weight: 600;
    color: #111827;
    font-size: 15px;
}

.menu-desc {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    font-weight: 400;
    line-height: 1.4;
}

/* Featured Content Block Styling */
.featured-content img,
.featured-content-inner img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
    object-fit: cover;
    max-height: 180px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.featured-content h4,
.featured-content-inner h4 {
    margin: 0 0 0.75rem 0 !important;
    font-size: 1.1rem !important;
    line-height: 1.35 !important;
    color: #111827 !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
    pointer-events: none;
}

.featured-content p,
.featured-content-inner p {
    color: #4b5563;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    pointer-events: none;
}

.featured-content a,
.featured-content-inner a {
    color: #5d3fd3 !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    pointer-events: none;
    display: inline-block;
}

.menu-item.mega.is-open .featured-content a,
.menu-item.mega.is-open .featured-content-inner a {
    pointer-events: auto !important;
}

.featured-content a:hover,
.featured-content-inner a:hover {
    text-decoration: underline;
    color: #4a2fa0 !important;
}

/* Keep non-mega sub-menus with original dropdown style */
.menu-item:not(.mega)>.sub-menu,
.nav-item:not(.mega)>.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.5rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    z-index: 1000;
}

.menu-item:not(.mega).is-open>.sub-menu,
.nav-item:not(.mega).is-open>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item:not(.mega)>.sub-menu li {
    padding: 0;
    width: 100%;
    margin: 0;
    list-style: none;
}

.menu-item:not(.mega)>.sub-menu a {
    display: block;
    padding: 0.75rem 1.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1f2937;
    font-weight: 500;
    transition: all 0.2s ease;
    background: none;
}

.menu-item:not(.mega)>.sub-menu a:hover {
    color: #5d3fd3;
    background: #f9fafb;
    padding-left: 2rem;
}


/* --- Hero Slider --- */
.hero-slider-wrapper {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
    background-size: cover;
    background-position: center;
    z-index: 1;
    padding: 0;
    /* Override previous padding */
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
}

.hero-subtitle {
    color: var(--secondary) !important;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
    color: #fff;
    -webkit-text-fill-color: initial;
    /* Reset gradient clip */
    background: none;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Slider Nav (Bottom) */
.slider-nav-section {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 2rem 0;
    background: linear-gradient(to top, rgba(9, 9, 11, 0.8), transparent);
}

.slider-nav-container {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-slide-item {
    flex: 1;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.nav-slide-item h3 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-slide-item.active h3 {
    color: #fff;
}

.nav-slide-item.active .progress-bar {
    width: 100%;
    transition: width 6s linear;
}

.progress-bar {
    position: absolute;
    top: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: var(--background);
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--accent);
}

.btn-secondary:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 0.625rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #09090b;
    transition: var(--transition);
}

.contact-btn:hover {
    background: #e2e2e2;
    transform: translateY(-2px);
}

.header-logout-btn {
    display: none;
}

.header-mobile-user-links {
    display: none;
}

.mobile-menu-icon {
    display: none;
}

/* --- Utility --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Added from WordPress Additional CSS --- */
.hero-title {
    font-size: 2.5rem !important;
    text-align: left !important;
    margin-bottom: 2rem !important;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 1) !important;
    max-width: 500px !important;
}

.hero-content {
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-left: 10% !important;
    padding: 0 !important;
}

.hero-btns {
    justify-content: flex-start !important;
}

.hero-slide {
    background-size: cover !important;
    background-position: center !important;
}

/* Fix Mega Menu Hiding */
.mega-featured-column,
.featured-content {
    display: none !important;
}

.menu-item.mega:hover .mega-featured-column,
.menu-item.mega.is-open .mega-featured-column,
.menu-item.mega:hover .featured-content,
.menu-item.mega.is-open .featured-content {
    display: flex !important;
}

.menu-item.mega:hover>.sub-menu,
.menu-item.mega.is-open>.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    transform: translateX(-50%) translateY(0px) !important;
}

/* --- Added For Pervasive Section Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 0.75;
    /* tall portrait aspect roughly matching the visual */
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

/* Gradient overlay so the text is always legible */
.card-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(9, 9, 11, 0.9) 0%, rgba(9, 9, 11, 0.5) 40%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.card-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 1.35rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    z-index: 2;
    color: #ffffff;
    transition: transform 0.3s;
}

.card-item:hover .card-item-title {
    transform: translateY(-2px);
}

/* --- Design the Future Section --- */
.df-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

@media (min-width: 768px) {
    .df-grid {
        flex-direction: row;
        justify-content: space-between;
        gap: 6rem;
    }

    .df-col {
        flex: 1;
    }
}

.df-col-title {
    font-size: 1.6rem;
    font-weight: 300;
    color: #374151;
    margin-bottom: 2.5rem;
}

.df-items {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.df-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
    padding: 1.5rem;
    border-radius: 8px;
    margin: -1.5rem;
    /* Negative margin offsets padding so it visually aligns with header */
}

.df-item:hover {
    background-color: #f9fafb;
    transform: translateX(10px);
}

.df-item-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.df-item-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.df-item-title {
    font-size: 1.15rem;
    font-weight: 300;
    color: #1f2937;
    margin: 0;
}

.df-item-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

/* --- What's New Section --- */
.news-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    /* Space for the arrows */
}

.news-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 1rem;
}

.news-carousel::-webkit-scrollbar {
    display: none;
}

.news-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    text-align: left;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s;
}

@media (min-width: 768px) {
    .news-card {
        flex: 0 0 calc((100% - 2rem) / 2);
    }
}

@media (min-width: 1024px) {
    .news-card {
        flex: 0 0 calc((100% - 4rem) / 3);
    }
}

.news-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.news-img-link {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.news-badge {
    background: #8b5cf6;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.news-date {
    font-size: 0.85rem;
    color: #6b7280;
}

.news-title {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 2rem;
    color: #111827;
}

.news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.news-title a:hover {
    color: var(--primary, #3b82f6);
}

.news-readmore {
    margin-top: auto;
    font-size: 0.95rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
}

.news-readmore:hover {
    text-decoration: underline;
}

.news-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #374151;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.news-nav:hover {
    border-color: #9ca3af;
    background: #f9fafb;
    color: #111827;
}

.news-prev {
    left: -10px;
}

.news-next {
    right: -10px;
}

/* --- Ecosystem Partners Section --- */
.partner-logos-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1rem 0;
    /* extra padding to not cut off shadows */
}

.partner-logos {
    display: flex;
    align-items: center;
}

/* When Marquee is DISABLED */
.partner-logos-wrapper:not(.marquee-enabled) .partner-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 3.5rem;
}

@media (min-width: 768px) {
    .partner-logos-wrapper:not(.marquee-enabled) .partner-logos {
        justify-content: space-between;
        gap: 2rem;
    }
}

/* When Marquee is ENABLED */
.partner-logos-wrapper.marquee-enabled .partner-logos {
    flex-wrap: nowrap;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
    gap: 0;
}

.partner-logos-wrapper.marquee-enabled:hover .partner-logos {
    animation-play-state: paused;
}

.partner-logos-wrapper.marquee-enabled .partner-logo {
    margin-right: 5rem;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-25%);
        /* Translating 1 out of 4 duplicated blocks */
    }
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

.partner-logo img {
    max-width: 150px;
    max-height: 45px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease, filter 0.35s ease;
    transform-origin: center center;
}

.partner-logo:hover img {
    transform: scale(2);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18));
}

/* --- Support & Careers Section --- */
.support-careers-section {
    position: relative;
    z-index: 5;
}

.sc-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: flex-start;
    gap: 8rem;
    padding: 3rem 0;
}

.sc-col {
    text-align: left;
}

.sc-divider {
    width: 1px;
    height: auto;
    align-self: stretch;
    background: #e5e7eb;
    margin: 1.5rem 0;
}

.sc-title {
    font-size: 2.2rem;
    font-weight: 300;
    color: #1f2937;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.02em;
}

.sc-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 95%;
    font-weight: 300;
}

.sc-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.sc-link:hover {
    color: #5d3fd3;
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .sc-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .sc-col {
        text-align: center;
    }

    .sc-divider {
        display: none;
    }

    .sc-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- boAt Style Tabbed Product Grid --- */
.boat-tabbed-section {
    padding: 80px 0;
    background-color: #fcfcfc;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
}

.boat-tabbed-section .container {
    max-width: 1600px;
}


.boat-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 0 5%;
}

.boat-section-title {
    font-size: 1.85rem;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.boat-section-title .underlined {
    position: relative;
    display: inline-block;
}

.boat-section-title .underlined::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ff0000;
    border-radius: 2px;
}

.boat-view-all {
    color: #007bff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.boat-view-all:hover {
    text-decoration: underline;
}

/* Tabs Navigation */
.boat-tabs-nav {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
    padding: 0 5%;
    border-bottom: 1px solid #f0f0f0;
}

.boat-tab-btn {
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.boat-tab-btn.active {
    color: #000;
    font-weight: 700;
}

.boat-tab-btn::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #ff0000;
    transition: width 0.3s ease;
}

.boat-tab-btn.active::after {
    width: 30px;
    /* Small dash under active tab in image */
}

/* Tab Content Panels */
.boat-tab-panel {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.boat-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.boat-product-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    padding: 0 5%;
}

@media (min-width: 640px) {
    .boat-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .boat-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .boat-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}


.boat-product-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* Deeper shadow */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #ddd;
    /* Darker border for visibility */
    display: flex;
    flex-direction: column;
}


.boat-product-card:hover {
    transform: translateY(-10px);
    /* Slightly more lift */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    /* Stronger hover shadow */
    border-color: #000;
    /* Darker border on hover for focus */
}


.boat-card-image-wrapper {
    position: relative;
    aspect-ratio: 1/1;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boat-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.boat-badges-top {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 5;
    pointer-events: none;
}

.boat-badge {
    padding: 3px 8px;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 4px;
    text-transform: uppercase;
}

.boat-badge-extra {
    background: #000;
    color: #fff;
}

.boat-badge-main {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    backdrop-filter: blur(4px);
}

.boat-feature-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #facc15;
    /* Yellow banner */
    color: #000;
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 4;
}

.boat-rating {
    background: #fff;
    padding: 1px 6px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.7rem;
}

.boat-star {
    color: #000;
}

.boat-card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.boat-product-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #1a1a1a;
    line-height: 1.25;
}

.boat-product-title a {
    color: inherit;
}

.boat-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.boat-prices .price-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.boat-current-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #000;
}

.boat-discount {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 700;
}

.boat-old-price {
    font-size: 0.75rem;
    text-decoration: line-through;
    color: #9ca3af;
    display: block;
    margin-top: -2px;
}

.boat-colors {
    display: flex;
    align-items: center;
    gap: 6px;
}

.boat-dots {
    display: flex;
    gap: -4px;
}

.boat-dots .dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #000;
    box-shadow: 0 0 0 1px #eee;
}

.boat-dots .dot.darker {
    background: #2b2b2b;
    margin-left: -5px;
}

.boat-color-count {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
}

/* --- Shop Page Specifics --- */
.boat-shop-page {
    background-color: #ffffff;
    min-height: 100vh;
}

.boat-shop-page .container {
    max-width: 1600px;
    width: 95%;
}

.boat-shop-page .boat-section-header {
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 1.5rem;
    margin-bottom: 4rem;
    padding-top: 100px;
    /* Offset for sticky header */
}


.boat-shop-page .woocommerce-ordering {
    margin: 0;
}

.boat-shop-page .woocommerce-result-count {
    margin: 0;
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
}

.boat-shop-page .woocommerce-pagination {
    margin-top: 60px;
    margin-bottom: 100px;
    text-align: center;
    width: 100%;
}

.boat-shop-page .woocommerce-pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    justify-content: center;
}

.boat-shop-page .woocommerce-pagination ul li {
    padding: 0;
}

.boat-shop-page .woocommerce-pagination ul li span.current {
    background: #000;
    color: #fff;
    border-color: #000;
}

.boat-shop-page .woocommerce-pagination ul li a,
.boat-shop-page .woocommerce-pagination ul li span {
    display: block;
    padding: 10px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
    text-decoration: none;
}

.boat-shop-page .woocommerce-pagination ul li a:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* --- Single Product Page Styling --- */
.boat-single-product-page {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: #09090b;
    /* Dark theme as per theme root */
    color: #ffffff;
}

.boat-product-breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #a1a1aa;
}

.boat-product-breadcrumb a {
    color: #ffffff;
    opacity: 0.7;
}

.boat-product-breadcrumb a:hover {
    opacity: 1;
}

.boat-single-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

@media (min-width: 1024px) {
    .boat-single-main-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

/* Gallery Styling */
.boat-single-gallery {
    position: relative;
    background: #18181b;
    border-radius: 12px;
    overflow: hidden;
    padding: 20px;
}

.boat-single-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* Summary Styling */
.boat-summary-header {
    margin-bottom: 25px;
}

.boat-single-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #27272a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.boat-single-rating .boat-star {
    color: #facc15;
}

.boat-single-rating .review-count {
    color: #a1a1aa;
    font-weight: 400;
}

.boat-single-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.1;
    color: #ffffff;
}

.boat-single-price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.boat-single-price-row .price {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    gap: 12px;
    align-items: center;
}

.boat-single-price-row .price del {
    font-size: 1.25rem;
    color: #a1a1aa;
    font-weight: 400;
}

.boat-single-price-row .price ins {
    text-decoration: none;
    color: #ffffff;
}

.boat-single-discount {
    background: #10b981;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
}

.boat-single-short-desc {
    color: #a1a1aa;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Add to Cart Section */
.boat-single-add-to-cart {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #27272a;
}

.boat-single-add-to-cart form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.boat-single-add-to-cart .quantity {
    display: flex;
    align-items: center;
    border: 1px solid #3f3f46;
    border-radius: 6px;
    overflow: hidden;
}

.boat-single-add-to-cart .quantity input {
    background: transparent;
    color: #fff;
    border: none;
    width: 60px;
    height: 44px;
    text-align: center;
    font-size: 1.1rem;
    padding: 0;
}

.boat-single-add-to-cart .single_add_to_cart_button {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 35px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-grow: 1;
}

.boat-single-add-to-cart .single_add_to_cart_button:hover {
    background: #e4e4e7;
    transform: translateY(-2px);
}

/* Meta Section */
.boat-single-meta {
    font-size: 0.9rem;
    color: #71717a;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.boat-single-meta span {
    display: block;
}

.boat-single-meta strong,
.boat-single-meta span.sku_wrapper,
.boat-single-meta span.posted_in {
    color: #a1a1aa;
}

.boat-single-meta a {
    color: #ffffff;
}

/* Tabs Section */
.boat-single-tabs-section {
    margin-top: 80px;
}

.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    border-bottom: 1px solid #27272a;
}

.woocommerce-tabs ul.tabs li {
    padding: 0;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 15px 0;
    color: #a1a1aa;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #ffffff;
}

.woocommerce-tabs ul.tabs li.active a::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ff0000;
    border-radius: 2px;
}

.woocommerce-Tabs-panel {
    background: #18181b;
    padding: 40px;
    border-radius: 12px;
    color: #a1a1aa;
    line-height: 1.8;
}

.woocommerce-Tabs-panel h2 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.75rem;
}

/* Related Products */
.related.products,
.upsells.products {
    margin-top: 100px;
}

.related.products h2,
.upsells.products h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #ffffff;
    text-align: left;
}

/* --- Shubham Style (Mobile Shop) --- */
.boat-single-product-page.shubham-style {
    background-color: #f4f7f6;
    color: #333;
    padding-top: 100px;
}

.shubham-style .boat-product-breadcrumb {
    color: #666;
}

.shubham-style .boat-product-breadcrumb a {
    color: #333;
    opacity: 1;
}

.shubham-style .boat-single-main-grid {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.shubham-style .boat-single-gallery {
    background: #fff;
    padding: 0;
}

.shubham-style .shubham-rating-wishlist {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.shubham-style .shubham-rating {
    font-size: 1.2rem;
    color: #facc15;
}

.shubham-style .wishlist-btn {
    background: none;
    border: 1px solid #ddd;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #3b82f6;
    transition: all 0.2s;
}

.shubham-style .shubham-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.shubham-style .shubham-price-section label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #666;
}

.shubham-style .shubham-price-box {
    display: inline-block;
    border: 2px solid #10b981;
    padding: 8px 20px;
    border-radius: 4px;
    background: #f0fdf4;
}

.shubham-style .shubham-price-box .price {
    color: #10b981 !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
}

.shubham-style .shubham-price-box ins {
    color: #10b981 !important;
    text-decoration: none;
}

.shubham-style .shubham-price-box del {
    font-size: 0.9rem;
    color: #999;
    margin-left: 10px;
}

.shubham-style .shubham-add-to-cart {
    margin: 25px 0;
}

.shubham-style .single_add_to_cart_button {
    background: #10b981 !important;
    color: #fff !important;
    padding: 10px 30px !important;
    font-size: 1rem !important;
    border-radius: 4px !important;
    text-transform: none !important;
}

/* Why Shop Section */
.shubham-style .why-shop-section {
    margin: 30px 0;
}

.shubham-style .why-shop-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}

.shubham-style .why-shop-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.shubham-style .why-shop-item .icon {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.shubham-style .why-shop-item strong {
    display: block;
    font-size: 0.95rem;
    color: #111;
}

.shubham-style .why-shop-item p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* Description & Meta */
.shubham-style .shubham-description h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.shubham-style .shubham-description .content {
    font-size: 0.95rem;
    color: #444;
}

.shubham-style .shubham-meta {
    margin-top: 20px;
    font-size: 0.95rem;
}

/* Tabs & Bottom */
.shubham-style .boat-single-tabs-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

.shubham-style .woocommerce-tabs ul.tabs {
    border-bottom: 2px solid #eee;
}

.shubham-style .woocommerce-tabs ul.tabs li.active a {
    color: #10b981;
}

.shubham-style .woocommerce-tabs ul.tabs li.active a::after {
    background: #10b981;
}

.shubham-style .woocommerce-Tabs-panel {
    background: #fff;
    color: #444;
}

/* --- Shopping Cart Visuals --- */
.header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s;
    margin: 0 5px;
}

.header-cart:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background: #ff0000;
    color: #fff !important;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.main-header.scrolled .header-cart {
    color: #000;
}

/* Single Product Cart Notice Styling */
.shubham-style .added_to_cart {
    display: inline-block !important;
    margin-left: 15px !important;
    background: #ffffff !important;
    color: #10b981 !important;
    padding: 8px 15px !important;
    border: 2px solid #10b981 !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    vertical-align: middle;
}

.shubham-style .added_to_cart:hover {
    background: #f0fdf4 !important;
}

.woocommerce-message {
    padding: 1.5rem !important;
    margin-bottom: 30px !important;
    background-color: #f0fdf4 !important;
    border-left: 5px solid #10b981 !important;
    color: #166534 !important;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.woocommerce-message .button.wc-forward {
    background: #10b981 !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

/* --- WooCommerce Specific Styles (Shop & Product Pages) --- */
body.woocommerce .main-header,
body.woocommerce-page .main-header {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0 !important;
}

body.woocommerce .main-header .logo,
body.woocommerce-page .main-header .logo {
    background: none !important;
    -webkit-text-fill-color: #000000 !important;
    color: #000000 !important;
}

body.woocommerce .main-header a,
body.woocommerce-page .main-header a {
    color: #000000 !important;
}

body.woocommerce .main-header .contact-btn,
body.woocommerce-page .main-header .contact-btn {
    background: #000000 !important;
    color: #ffffff !important;
    border: none !important;
}

/* --- WooCommerce Cart: Proceed to Checkout Button --- */
/* MAX SPECIFICITY - overrides all WooCommerce & theme defaults */
body.woocommerce-cart .woocommerce a.checkout-button,
body.woocommerce-cart a.checkout-button,
.wc-proceed-to-checkout a.checkout-button,
.woocommerce .wc-proceed-to-checkout .checkout-button,
.woocommerce .checkout-button,
.woocommerce-cart .checkout-button,
a.checkout-button.button.alt.wc-forward {
    display: block !important;
    width: 100% !important;
    background: #22c55e !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.35) !important;
    margin-top: 1rem !important;
}

body.woocommerce-cart .woocommerce a.checkout-button:hover,
body.woocommerce-cart a.checkout-button:hover,
.wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce .checkout-button:hover,
.woocommerce-cart .checkout-button:hover,
a.checkout-button.button.alt.wc-forward:hover {
    background: #16a34a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.45) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}



/* --- WooCommerce BLOCKS Cart: Proceed to Checkout Button --- */
.wc-block-cart__submit-button,
.wc-block-components-button.wc-block-cart__submit-button,
a.wc-block-cart__submit-button {
    background-color: #22c55e !important;
    background: #22c55e !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 18px rgba(34, 197, 94, 0.4) !important;
}

.wc-block-cart__submit-button:hover,
a.wc-block-cart__submit-button:hover {
    background-color: #16a34a !important;
    background: #16a34a !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.55) !important;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER — Login Button & User Menu Dropdown
═══════════════════════════════════════════════════════════════ */
.header-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff !important;
    padding: 0.625rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    white-space: nowrap;
}

.header-login-btn:hover {
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.45);
}

/* User menu wrapper */
.header-user-menu {
    position: relative;
}

.header-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.45rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.header-user-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.main-header.scrolled .header-user-btn {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
    color: #000;
}

.user-avatar {
    font-size: 1rem;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
}

/* Dropdown */
.header-user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 200px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2000;
}

.header-user-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.25rem;
    font-size: 0.9rem;
    color: #1f2937 !important;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.header-user-dropdown a:hover {
    background: #f3f4f6;
    color: #7c3aed !important;
    padding-left: 1.5rem;
}

.user-dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 0.4rem 0;
}

.user-logout {
    color: #ef4444 !important;
}

.user-logout:hover {
    background: #fef2f2 !important;
    color: #ef4444 !important;
}

/* ═══════════════════════════════════════════════════════════════
   AUTH PAGE — Login & Register Form Styles
═══════════════════════════════════════════════════════════════ */
.mytheme-auth-wrapper {
    max-width: 520px;
    margin: 5rem auto 6rem;
    padding: 0 1.5rem;
    font-family: 'Inter', sans-serif;
}

/* Tab Switcher */
.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 2rem;
    gap: 4px;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 9px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.auth-tab.active {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.auth-tab:hover:not(.active) {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
}

/* Panel */
.auth-panel {
    display: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    animation: authFadeIn 0.35s ease forwards;
}

.auth-panel.active {
    display: block;
}

@keyframes authFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    animation: authIconBounce 0.6s ease;
}

@keyframes authIconBounce {
    0% {
        transform: scale(0);
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.auth-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.auth-header p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    margin: 0;
}

/* Form Fields */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .auth-fields-row {
        grid-template-columns: 1fr;
    }
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.02em;
}

.auth-field input {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    font-size: 0.95rem;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.auth-field input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.auth-field input:focus {
    border-color: #7c3aed;
    background: rgba(124, 58, 237, 0.08);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    padding-right: 3rem !important;
}

.toggle-pwd {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.toggle-pwd:hover {
    color: rgba(255, 255, 255, 0.9);
}

.field-hint {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.2rem;
}

/* Options row */
.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.auth-remember input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #7c3aed;
}

.auth-forgot {
    font-size: 0.875rem;
    color: #a78bfa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-forgot:hover {
    color: #c4b5fd;
    text-decoration: underline;
}

/* Buttons */
.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    border: 2px solid transparent;
    font-family: 'Inter', sans-serif;
}

.auth-btn-primary {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    border-color: transparent;
    width: 100%;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.auth-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
    color: #fff;
}

.auth-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.auth-btn-outline:hover {
    border-color: #a78bfa;
    background: rgba(124, 58, 237, 0.15);
    color: #fff;
}

.auth-btn-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.auth-btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #fff;
}

/* Switch link */
.auth-switch {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.auth-switch a,
.switch-tab {
    color: #a78bfa;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-switch a:hover,
.switch-tab:hover {
    color: #c4b5fd;
    text-decoration: underline;
}

/* Messages */
.auth-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: authFadeIn 0.3s ease;
}

.auth-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: authFadeIn 0.3s ease;
}

/* Footer note */
.auth-footer-note {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.auth-footer-note p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* Already Logged in panel */
.mytheme-already-logged {
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.mytheme-already-logged .auth-avatar {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

.mytheme-already-logged h2 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.mytheme-already-logged>p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
}

.auth-logged-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}




/* ---------------------------------------------------------------
   WOOCOMMERCE ARCHIVE � Interactive Sorting & Results Count
--------------------------------------------------------------- */
.woocommerce .woocommerce-result-count {
    color: rgba(0, 0, 0, 0.6);
    font-weight: 500;
    font-size: 0.95rem;
    margin-right: 1.5rem;
    padding: 0.5rem 0;
}

.woocommerce .woocommerce-ordering {
    margin-bottom: 0;
}

.woocommerce .woocommerce-ordering select {
    appearance: none;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%236b7280" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1.2rem;
}

.woocommerce .woocommerce-ordering select:hover {
    border-color: #7c3aed;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.15);
    transform: translateY(-1px);
}

.woocommerce .woocommerce-ordering select:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.woocommerce-products-header .page-title {
    display: inline-block;
    position: relative;
    padding-bottom: 0.3rem;
}

.woocommerce-products-header .page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #7c3aed);
    border-radius: 2px;
}

/* Align shop header items correctly */
@media (min-width: 768px) {
    .woocommerce-products-header {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .woocommerce-products-header .page-title {
        margin-bottom: 0;
    }

    .shop-header-actions {
        display: flex;
        align-items: center;
    }
}

/* Interactive Shop Toolbar */
.boat-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: #f9fafb;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.boat-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 1rem;
}

.boat-section-title {
    margin-bottom: 0 !important;
}

/* Enhancing the dropdown & count inside the toolbar */
.boat-header-actions .woocommerce-result-count {
    margin: 0;
    padding: 0 1rem 0 0;
    border-right: 2px solid #e5e7eb;
    color: #4b5563;
    font-weight: 600;
}

.boat-header-actions .woocommerce-ordering {
    margin: 0;
}

.boat-header-actions form.woocommerce-ordering select {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 0.5rem;
    color: #7c3aed !important;
    cursor: pointer;
    font-weight: 700;
}

.boat-header-actions form.woocommerce-ordering select:hover {
    color: #6d28d9 !important;
    transform: none;
}


/* ---------------------------------------------------------------
   WOOCOMMERCE CART � Interactive & Modern Styling
--------------------------------------------------------------- */
.woocommerce-cart .woocommerce {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Empty Cart View */
.woocommerce-cart .cart-empty {
    text-align: center;
    background: linear-gradient(135deg, #1f2937, #111827);
    padding: 4rem 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.woocommerce-cart .cart-empty::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.woocommerce-cart .cart-empty {
    color: #f9fafb !important;
    font-size: 1.25rem;
    font-weight: 500;
}

.woocommerce-cart .return-to-shop {
    text-align: center;
    margin-top: 2rem;
}

.woocommerce-cart .return-to-shop .button {
    background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
    color: #fff !important;
    padding: 0.75rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3) !important;
}

.woocommerce-cart .return-to-shop .button:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 15px 25px rgba(124, 58, 237, 0.5) !important;
}

/* Fix weird sad face if it's an img or icon */
.woocommerce-cart .cart-empty::before {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
}

/* Dark mode fix for cart page overall text */
.woocommerce-cart h1.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    background: -webkit-linear-gradient(45deg, #a855f7, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* ---------------------------------------------------------------
   PREMIUM INTERACTIVE WOOCOMMERCE CART (BLOCKS & SHORTCODE)
--------------------------------------------------------------- */

/* Remove default dark block background on the cart page if any */
.wp-block-woocommerce-cart {
    background: transparent !important;
    max-width: 1200px;
    margin: 0 auto;
}

/* WOOCOMMERCE BLOCKS - Empty State Container */
.wc-block-components-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.8), rgba(10, 10, 15, 0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 5rem 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    margin: 3rem auto 4rem auto !important;
    position: relative;
    overflow: hidden;
    animation: cartFadeIn 0.8s ease-out forwards;
}

@keyframes cartFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add an animated premium floating background orb */
.wc-block-components-empty-state::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbPulse 6s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 0;
}

@keyframes orbPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 1;
    }
}

/* Hide the ugly default SVG sad face */
.wc-block-components-empty-state .wc-block-components-empty-state__icon,
.wc-block-components-empty-state svg {
    display: none !important;
}

/* Create a new premium glowing Cart Icon / Emoji */
.wc-block-components-empty-state::after {
    content: '??';
    font-size: 5rem;
    line-height: 1;
    display: block;
    margin-bottom: 2rem;
    z-index: 1;
    position: relative;
    text-shadow: 0 0 30px rgba(124, 58, 237, 0.8), 0 0 60px rgba(168, 85, 247, 0.5);
    animation: floatCart 3s infinite ease-in-out;
}

@keyframes floatCart {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(-5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Typography Enhancements */
.wc-block-components-empty-state p,
.wc-block-components-empty-state span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    z-index: 1;
    position: relative;
    margin-bottom: 2rem;
}

/* The Empty Cart Heading (if any) */
.wc-block-components-empty-state h1,
.wc-block-components-empty-state h2,
.wc-block-components-empty-state h3 {
    color: #fff !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    background: -webkit-linear-gradient(45deg, #a855f7, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
    position: relative;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

/* Modern Animated Button Return to Shop */
.wc-block-components-empty-state a.wp-block-button__link,
.wc-block-components-empty-state .wc-block-components-button {
    background: linear-gradient(135deg, #7c3aed, #ec4899) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 1rem 2.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    z-index: 1;
    position: relative;
    display: inline-block !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wc-block-components-empty-state a.wp-block-button__link:hover,
.wc-block-components-empty-state .wc-block-components-button:hover {
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 20px 35px rgba(236, 72, 153, 0.5) !important;
}

/* Title 'Cart' Alignment fix for Blocks */
.wp-block-woocommerce-cart h1 {
    text-align: center;
    font-size: 3rem !important;
    margin-bottom: 3rem !important;
    font-weight: 900;
}


/* --- Footer Customizable --- */
.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu li a:hover {
    color: #fff;
    padding-left: 5px;
}

/* -------------------------------------------------------------------------- */
/* WEBINARS PREMIUM STYLING */
/* -------------------------------------------------------------------------- */
.webinars-hero {
    background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.1), transparent),
        radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.05), transparent) !important;
}

.webinar-card {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.webinar-card:hover .webinar-thumb {
    transform: scale(1.05);
}

.webinar-thumb {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.video-container iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.webinar-sidebar>div {
    border: 1px solid var(--glass-border) !important;
    background: var(--surface) !important;
}

.btn-primary.webinar-reg {
    background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
    border: none !important;
    transition: var(--transition) !important;
}

.btn-primary.webinar-reg:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}


/* -------------------------------------------------------------------------- */
/* TRADESHOWS PREMIUM STYLING */
/* -------------------------------------------------------------------------- */
.tradeshows-hero {
    background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.1), transparent) !important;
}

.tradeshow-card {
    transition: var(--transition) !important;
}

.ts-thumb {
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.tradeshow-card:hover .ts-thumb {
    transform: scale(1.1);
}


/* -------------------------------------------------------------------------- */
/* PREMIUM INTERACTIVE PRODUCT GRID */
/* -------------------------------------------------------------------------- */
.boat-product-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px !important;
    padding: 15px !important;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
    position: relative;
    overflow: hidden;
}

.boat-product-card:hover {
    transform: translateY(-15px) rotateX(5deg) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6) !important;
}

.boat-card-image-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
}

.boat-card-image {
    transition: transform 0.8s ease !important;
}

.boat-product-card:hover .boat-card-image {
    transform: scale(1.1) !important;
}

.boat-product-title a {
    color: #fff !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.boat-product-card:hover .boat-product-title a {
    color: var(--primary) !important;
}

.boat-current-price {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #fff !important;
}

.boat-discount {
    background: #ff0055 !important;
    color: #fff !important;
    padding: 2px 8px !important;
    border-radius: 5px !important;
    font-size: 0.7rem !important;
    font-weight: 900 !important;
    margin-left: 10px !important;
}

.boat-product-grid {
    gap: 30px !important;
}


/* -------------------------------------------------------------------------- */
/* RELATED PRODUCTS FIX */
/* -------------------------------------------------------------------------- */
.related.products {
    margin-top: 50px !important;
    padding-top: 40px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    clear: both !important;
}

.related.products h2 {
    font-size: 2rem !important;
    margin-bottom: 30px !important;
    color: #fff !important;
    text-align: left !important;
}

.related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
}

.related.products ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    background: rgba(255, 255, 255, 0.03) !important;
    padding: 15px !important;
    border-radius: 12px !important;
}

.related.products ul.products li.product img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
}

.related.products .woocommerce-loop-product__title {
    font-size: 1rem !important;
    color: #fff !important;
}


/* -------------------------------------------------------------------------- */
/* PREMIUM INTERACTIVE FORMS & BUTTONS */
/* -------------------------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100% !important;
    padding: 15px 20px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #fff !important;
    font-size: 1rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
}

input:focus,
textarea:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #007bff !important;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.02) !important;
    transform: translateY(-2px) !important;
}

/* Premium Submit Buttons */
button[type="submit"],
input[type="submit"],
.woocommerce #respond input#submit {
    background: linear-gradient(135deg, #007bff, #00d2ff) !important;
    color: #fff !important;
    padding: 15px 35px !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3) !important;
    display: inline-block !important;
}

button[type="submit"]:hover,
input[type="submit"]:hover {
    transform: scale(1.05) translateY(-3px) !important;
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.5) !important;
    letter-spacing: 2px !important;
}

button[type="submit"]:active {
    transform: scale(0.98) !important;
}

/* Star Rating Enhancement */
.woocommerce p.stars a {
    color: #ff9800 !important;
    font-size: 1.5rem !important;
    transition: transform 0.2s ease !important;
}

.woocommerce p.stars a:hover {
    transform: scale(1.3) !important;
}


/* -------------------------------------------------------------------------- */
/* PREMIUM SOLID INTERACTIVE BUTTON (NO GRADIENT) */
/* -------------------------------------------------------------------------- */
button[type="submit"],
input[type="submit"],
.woocommerce #respond input#submit {
    background: #007bff !important;
    /* Solid Premium Blue */
    color: #fff !important;
    border: 2px solid #007bff !important;
    border-radius: 8px !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

button[type="submit"]::before,
input[type="submit"]::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: #000 !important;
    /* Black fill on hover */
    transition: all 0.4s cubic-bezier(0.7, 0, 0.2, 1) !important;
    z-index: -1 !important;
}

button[type="submit"]:hover::before,
input[type="submit"]:hover::before {
    left: 0 !important;
}

button[type="submit"]:hover,
input[type="submit"]:hover {
    color: #007bff !important;
    background: transparent !important;
    border-color: #007bff !important;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4) !important;
}


/* -------------------------------------------------------------------------- */
/* INPUT TEXT COLOR FIX */
/* -------------------------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    color: #000 !important;
    /* Force Black text for visibility on light themes */
    background: #fff !important;
    /* Solid White background for inputs */
    border: 1px solid #ccc !important;
}


/* -------------------------------------------------------------------------- */
/* QUANTITY & ADD TO CART BUTTON ENHANCEMENT */
/* -------------------------------------------------------------------------- */
.quantity {
    display: inline-flex !important;
    align-items: center !important;
    margin-right: 15px !important;
}

.quantity input.qty {
    width: 60px !important;
    height: 50px !important;
    border-radius: 8px !important;
    border: 2px solid #eee !important;
    background: #fff !important;
    color: #333 !important;
    font-weight: 700 !important;
    text-align: center !important;
    font-size: 1.1rem !important;
    padding: 0 !important;
    margin: 0 !important;
}

.single_add_to_cart_button {
    background: #007bff !important;
    /* Premium Blue */
    color: #fff !important;
    height: 50px !important;
    padding: 0 40px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2) !important;
}

.single_add_to_cart_button:hover {
    background: #0056b3 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.4) !important;
}


/* -------------------------------------------------------------------------- */
/* PRODUCT GRID TITLE VISIBILITY FIX */
/* -------------------------------------------------------------------------- */
.boat-product-title a {
    color: #333 !important;
    /* Dark color for readability on white cards */
}

.boat-single-product-page .product-main-title,
.shubham-title {
    color: #333 !important;
    /* Also for single product page if light theme */
}

.boat-product-card:hover .boat-product-title a {
    color: #007bff !important;
    /* Blue on hover */
}


/* -------------------------------------------------------------------------- */
/* PRICE VISIBILITY FIX */
/* -------------------------------------------------------------------------- */
.boat-current-price,
.shubham-price-box .amount,
.price .amount {
    color: #333 !important;
    /* Dark Grey for price visibility */
    font-weight: 800 !important;
}

.boat-old-price {
    color: #999 !important;
    text-decoration: line-through !important;
}



/* -------------------------------------------------------------------------- */
/* AMAZON STYLE PRODUCT GALLERY (VERTICAL THUMBNAILS LEFT) */
/* -------------------------------------------------------------------------- */
.boat-single-gallery .woocommerce-product-gallery {
    display: flex !important;
    flex-direction: row-reverse !important;
    gap: 15px;
    align-items: flex-start;
}

.boat-single-gallery .woocommerce-product-gallery .flex-viewport {
    width: 82% !important;
    flex: 1;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fff;
}

.boat-single-gallery .woocommerce-product-gallery .flex-control-nav {
    width: 18% !important;
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.boat-single-gallery .woocommerce-product-gallery .flex-control-nav li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.boat-single-gallery .woocommerce-product-gallery .flex-control-nav li img {
    width: 100% !important;
    height: auto !important;
    cursor: pointer;
    border: 2px solid #f0f0f0;
    border-radius: 6px;
    transition: all 0.2s ease;
    opacity: 0.8;
    display: block;
}

.boat-single-gallery .woocommerce-product-gallery .flex-control-nav li img.flex-active,
.boat-single-gallery .woocommerce-product-gallery .flex-control-nav li img:hover {
    border-color: #007bff !important;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .boat-single-gallery .woocommerce-product-gallery {
        flex-direction: column !important;
    }

    .boat-single-gallery .woocommerce-product-gallery .flex-viewport,
    .boat-single-gallery .woocommerce-product-gallery .flex-control-nav {
        width: 100% !important;
    }

    .boat-single-gallery .woocommerce-product-gallery .flex-control-nav {
        flex-direction: row !important;
        overflow-x: auto;
        padding: 10px 0;
        white-space: nowrap;
    }

    .boat-single-gallery .woocommerce-product-gallery .flex-control-nav li {
        width: 70px !important;
        flex-shrink: 0;
    }
}

.click-to-view {
    text-align: center;
    color: #007bff;
    font-size: 1.1rem;
    margin-top: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s ease;
}

.click-to-view:hover {
    color: #0056b3;
    text-decoration: underline;
}


/* -------------------------------------------------------------------------- */
/* PRODUCT MAIN IMAGE � FILL FULL GALLERY CONTAINER */
/* -------------------------------------------------------------------------- */

/* Make the gallery wrapper take full height */
.shubham-style .boat-single-gallery {
    background: #fff;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Flex-viewport (Flexslider main image container) fills all space */
.shubham-style .boat-single-gallery .woocommerce-product-gallery {
    display: flex !important;
    flex-direction: row-reverse !important;
    gap: 12px;
    align-items: stretch !important;
    width: 100%;
}

/* Main image container stretches vertically */
.shubham-style .boat-single-gallery .woocommerce-product-gallery .flex-viewport {
    flex: 1 1 auto !important;
    width: 82% !important;
}

/* The slides list and each slide fill the viewport height */
.shubham-style .boat-single-gallery .woocommerce-product-gallery .slides,
.shubham-style .boat-single-gallery .woocommerce-product-gallery .slides li {
    height: 100% !important;
}

/* The actual image inside each slide fills width & height fully */
.shubham-style .boat-single-gallery .woocommerce-product-gallery .slides li img,
.shubham-style .boat-single-gallery .woocommerce-product-gallery img {
    width: 100% !important;
    height: 480px !important;
    object-fit: contain !important;
    background: #f9f9f9;
    border-radius: 8px;
    display: block;
}

/* Make the WooCommerce product gallery div fill grid column */
.shubham-style .boat-single-main-grid {
    align-items: stretch;
}

/* Ensure gallery column stretches */
.shubham-style .boat-single-gallery {
    min-height: 480px;
}

/* Thumbnails column on left */
.shubham-style .boat-single-gallery .flex-control-nav {
    width: 18% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
}

.shubham-style .boat-single-gallery .flex-control-nav li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.shubham-style .boat-single-gallery .flex-control-nav li img {
    width: 100% !important;
    height: 70px !important;
    object-fit: cover !important;
    cursor: pointer;
    border: 2px solid #f0f0f0;
    border-radius: 6px;
    transition: all 0.2s ease;
    opacity: 0.75;
    display: block;
}

.shubham-style .boat-single-gallery .flex-control-nav li img.flex-active,
.shubham-style .boat-single-gallery .flex-control-nav li img:hover {
    border-color: #007bff !important;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}


/* ============================================================ */
/* FINAL FIX � MAIN PRODUCT IMAGE FILLS FULL GALLERY AREA     */
/* ============================================================ */

/* The WooCommerce gallery div wrapper */
.shubham-style .boat-single-gallery .woocommerce-product-gallery {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
}

/* Thumbnail list on the LEFT, vertical */
.shubham-style .boat-single-gallery .woocommerce-product-gallery .flex-control-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 80px !important;
    flex-shrink: 0;
    order: 1;
}

.shubham-style .boat-single-gallery .woocommerce-product-gallery .flex-control-nav li {
    width: 70px !important;
    height: 70px !important;
    float: none !important;
    display: block !important;
}

.shubham-style .boat-single-gallery .woocommerce-product-gallery .flex-control-nav li img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    border: 2px solid #eee !important;
    cursor: pointer;
    opacity: 0.75;
    transition: all 0.2s;
    display: block !important;
}

.shubham-style .boat-single-gallery .woocommerce-product-gallery .flex-control-nav li img.flex-active,
.shubham-style .boat-single-gallery .woocommerce-product-gallery .flex-control-nav li img:hover {
    border-color: #007bff !important;
    opacity: 1;
}

/* Main image flex-viewport takes remaining space */
.shubham-style .boat-single-gallery .woocommerce-product-gallery .flex-viewport {
    flex: 1 !important;
    width: auto !important;
    order: 2;
}

/* Main image fills the viewport fully */
.shubham-style .boat-single-gallery .woocommerce-product-gallery .flex-viewport img,
.shubham-style .boat-single-gallery .woocommerce-product-gallery img.wp-post-image {
    width: 100% !important;
    height: 450px !important;
    max-height: 500px !important;
    object-fit: contain !important;
    background: #f9f9f9;
    border-radius: 8px;
    display: block !important;
}

/* Remove any default WC height restrictions */
.shubham-style .boat-single-gallery .woocommerce-product-gallery .woocommerce-product-gallery__image a,
.shubham-style .boat-single-gallery .woocommerce-product-gallery .woocommerce-product-gallery__image {
    display: block;
    width: 100% !important;
    height: 450px !important;
}

.shubham-style .boat-single-gallery .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 450px !important;
    object-fit: contain !important;
}


/* ============================================================ */
/* AIPL CUSTOM PRODUCT GALLERY � Amazon Style Layout           */
/* ============================================================ */

.aipl-gallery-wrap {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
}

/* Left: Thumbnail Column */
.aipl-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 75px;
    flex-shrink: 0;
}

.aipl-thumb {
    width: 70px;
    height: 70px;
    border: 2px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
    opacity: 0.7;
    flex-shrink: 0;
}

.aipl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aipl-thumb.active,
.aipl-thumb:hover {
    border-color: #007bff;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

/* Right: Main Image */
.aipl-main-img-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#aipl-main-img {
    width: 100%;
    height: 430px;
    object-fit: contain;
    background: #f9f9f9;
    border-radius: 8px;
    display: block;
    border: 1px solid #eee;
    transition: opacity 0.2s ease;
}

#aipl-fullview-link.click-to-view {
    text-align: center;
    color: #007bff;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 4px 0;
}

#aipl-fullview-link.click-to-view:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
    .aipl-gallery-wrap {
        flex-direction: column;
    }

    .aipl-thumbs {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .aipl-thumb {
        flex-shrink: 0;
    }

    #aipl-main-img {
        height: 280px;
    }
}

/* ============================================================ */
/* GLOBAL MOBILE RESPONSIVENESS (ADDED)                         */
/* ============================================================ */

/* Hide mobile buttons by default on desktop */
.mobile-menu-btn,
.mobile-close-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--secondary, #333);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.main-header.scrolled .mobile-menu-btn {
    color: #000;
}

@media (max-width: 1024px) {

    /* Header & Navigation */
    .mobile-menu-btn {
        display: block;
        order: 2;
        position: relative;
        z-index: 1010;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .mobile-header-cart {
        display: flex !important;
        order: 1;
        margin-left: auto;
        margin-right: 1.5rem;
        position: relative;
        text-decoration: none;
        color: var(--secondary, #333);
        font-size: 1.4rem;
        transition: var(--transition);
    }

    .main-header.scrolled .mobile-header-cart {
        color: #000 !important;
    }

    .mobile-header-cart .cart-count {
        position: absolute;
        top: -8px;
        right: -10px;
        background: #ef4444;
        color: #fff;
        font-size: 0.7rem;
        font-weight: 700;
        min-width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        padding: 2px;
        border: 1px solid rgba(255, 255, 255, 0.8);
    }

    #siteNav {
        position: fixed;
        top: 0;
        right: 0;
        width: 320px;
        height: 100vh;
        background: #ffffff;
        z-index: 1000;
        padding: 2.5rem 1.5rem;
        display: flex;
        flex-direction: column;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.15);
        margin-top: 0;
        border-top: none;
        overflow-y: auto;
        gap: 0;
        /* Items will be spaced via margins/flex-grow */
    }

    #siteNav.mobile-open {
        transform: translateX(0);
    }

    .mobile-close-btn {
        display: block;
        align-self: flex-end;
        margin-bottom: 1.5rem;
        color: #333;
        font-size: 2.5rem;
        line-height: 1;
        transition: transform 0.3s ease;
    }

    .mobile-close-btn:hover {
        transform: rotate(90deg);
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin-bottom: 2rem;
    }

    .header-right-actions {
        margin-top: auto;
        padding-top: 2rem;
        border-top: 1px solid #eee;
        flex-direction: column;
        align-items: flex-start !important;
        width: 100%;
        gap: 1.25rem !important;
    }

    .header-right-actions a,
    .header-right-actions .header-user-btn {
        width: 100%;
        justify-content: flex-start;
    }

    .header-right-actions .contact-btn {
        background: #000 !important;
        color: #fff !important;
        padding: 1rem !important;
        border-radius: 8px;
    }

    .menu-item>a,
    .nav-item>a {
        color: #333 !important;
        padding: 0.8rem 1.5rem !important;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        box-sizing: border-box;
        gap: 12px;
    }

    /* RESET: High-specificity override for mobile drawer content */
    #siteNav .sub-menu,
    #siteNav .menu-item.mega>.sub-menu,
    #siteNav .nav-item.mega>.sub-menu {
        position: static !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        border: none !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    #siteNav .menu-item.is-open>.sub-menu {
        max-height: 5000px !important;
    }

    /* Hierarchy Padding (Applied to links to prevent cutting) */
    #siteNav .nav-menu>li>a {
        padding: 0.8rem 1.5rem !important;
        /* Level 1 */
        font-weight: 600;
    }

    #siteNav .sub-menu li>a {
        padding: 0.7rem 1.5rem 0.7rem 2.5rem !important;
        /* Level 2 */
        font-size: 0.95rem;
        color: #555 !important;
    }

    #siteNav .sub-menu .sub-menu li>a {
        padding-left: 3.5rem !important;
        /* Level 3 */
        font-size: 0.9rem;
        color: #777 !important;
    }

    /* Mega Menu Column Overrides */
    #siteNav .menu-item.mega>.sub-menu>li {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
    }

    /* Caret/Arrow Reset for Mobile Drawer */
    #siteNav .sub-menu::before {
        display: none !important;
    }

    .header-right-actions {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        order: 1;
        /* Keep actions visible on mobile header if possible, or hide them and move inside siteNav */
    }

    /* Hide actions in header but show in mobile menu if you prefer */
    /* For now, let's keep the contact button visible in header for accessibility */
    .header-right-actions .header-login-btn,
    .header-right-actions .header-logout-btn,
    .header-right-actions .header-cart,
    .header-right-actions .header-user-menu {
        display: none;
    }

    /* Move login/user actions to bottom of mobile menu */
    #siteNav .header-right-actions {
        margin-top: auto;
        display: flex !important;
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
        border-top: 2px solid #eee;
        gap: 0.75rem !important;
    }

    #siteNav .header-right-actions .header-logout-btn,
    #siteNav .header-right-actions .header-user-link {
        display: flex !important;
        width: 100%;
        background: #f4f4f5;
        color: #18181b;
        padding: 0.8rem 1.2rem;
        border-radius: 12px;
        font-weight: 600;
        justify-content: flex-start;
        align-items: center;
        transition: var(--transition);
        font-size: 1rem;
        gap: 12px;
        text-decoration: none;
    }

    #siteNav .header-right-actions .header-login-btn {
        display: flex !important;
        width: 100%;
        background: linear-gradient(135deg, #7c3aed, #a855f7);
        /* Premium Purple */
        color: #ffffff !important;
        padding: 0.8rem 1.2rem;
        border-radius: 12px;
        font-weight: 600;
        justify-content: flex-start;
        align-items: center;
        transition: var(--transition);
        font-size: 1rem;
        gap: 12px;
        text-decoration: none;
    }

    .header-mobile-user-links {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    #siteNav .header-right-actions .header-login-btn:hover,
    #siteNav .header-right-actions .header-logout-btn:hover {
        background: #e4e4e7;
    }

    #siteNav .header-right-actions .header-cart {
        display: flex !important;
        width: 100%;
        background: #ffffff;
        color: #18181b;
        padding: 0.8rem 1.2rem;
        border-radius: 12px;
        font-weight: 600;
        justify-content: flex-start;
        align-items: center;
        transition: var(--transition);
        font-size: 1rem;
        border: 1px solid #e4e4e7;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        text-decoration: none;
        box-sizing: border-box;
        margin-bottom: 0.5rem;
    }

    #siteNav .header-right-actions .header-cart .cart-icon {
        font-size: 1.2rem;
    }

    #siteNav .header-right-actions .header-cart .cart-label {
        display: inline-block;
        margin-left: 12px;
    }

    #siteNav .header-right-actions .header-cart .cart-count {
        position: static;
        margin-left: auto;
        background: #ef4444;
        color: #fff;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        font-size: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Adjust Hero Section */
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-content {
        padding: 0 1rem;
        margin-top: 5rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
        margin: 0 !important;
    }

    /* Slider Nav Tabs */
    .slider-nav-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .nav-slide-item {
        flex: 0 0 auto;
        width: 220px;
        margin-right: 1rem;
    }

    /* Generic Container */
    .container {
        width: 90%;
    }

    /* Support Careers Section */
    .sc-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .sc-divider {
        display: none;
    }

    /* Partner Logos */
    .partner-logos {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* News Carousel */
    .news-carousel {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .news-card {
        width: 100%;
        margin-bottom: 1rem;
    }

    .news-nav {
        display: none;
        /* Hide arrows on mobile since it stacks */
    }

    .mobile-menu-icon {
        display: inline-flex !important;
        margin-right: 12px;
        font-size: 1.2rem;
        width: 24px;
        justify-content: center;
    }
}

@media (max-width: 768px) {

    /* More aggressive adjustments for smaller phones */
    .hero-title {
        font-size: 2rem !important;
    }

    /* Design Future Grid */
    .df-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .df-items {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ============================================================ */
/* FOOTER RESPONSIVENESS                                        */
/* ============================================================ */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
    text-align: left;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Responsive Default Page Container */
.default-page-container {
    padding-top: 10rem;
    padding-bottom: 6rem;
}

.default-page-article {
    background: var(--surface);
    padding: 4rem;
    border-radius: 0.75rem;
    border: 1px solid var(--glass-border);
}

.default-page-title {
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
    letter-spacing: -0.04em;
}

@media (max-width: 768px) {
    .default-page-container {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    /* Reduce horizontal padding significantly to make forms/fields wider on mobile */
    .default-page-article {
        padding: 1.5rem 0.5rem;
    }

    .default-page-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    /* Fix the Login/Auth form squishing on mobile */
    .mytheme-auth-wrapper {
        margin: 1.5rem auto 2rem;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    .auth-panel {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .mytheme-already-logged {
        padding: 2rem 1rem;
        border-radius: 12px;
    }

    .auth-field input {
        padding: 1rem;
    }

    /* WOOCOMMERCE CART MOBILE PRICE & LAYOUT FIX */
    .woocommerce-cart .woocommerce,
    .wp-block-woocommerce-cart {
        padding-left: 8px !important;
        padding-right: 8px !important;
        overflow-x: hidden !important;
    }

    /* Force Cart Table to behave for Mobile */
    .wc-block-cart-items__row,
    .woocommerce-cart .cart_item {
        display: grid !important;
        grid-template-columns: 80px 1fr !important;
        grid-template-areas: 
            "image product"
            ". total" !important;
        gap: 10px 15px !important;
        padding: 1.5rem 0.5rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        align-items: start !important;
        background: transparent !important;
    }

    .wc-block-cart-item__image,
    .woocommerce-cart .product-thumbnail {
        grid-area: image !important;
        width: 80px !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
    }

    .wc-block-cart-item__product,
    .woocommerce-cart .product-name {
        grid-area: product !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        width: 100% !important;
    }

    /* Subtotal & Savings Badge Area */
    .wc-block-cart-item__total,
    .woocommerce-cart .product-subtotal {
        grid-area: total !important;
        display: flex !important;
        flex-direction: row-reverse !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        border: none !important;
    }

    /* Fix for the standalone currency symbol issue */
    .wc-block-formatted-money-amount,
    .amount {
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        font-weight: 700 !important;
    }

    /* Savings Badge Mobile Fix */
    .wc-block-components-sale-badge,
    [class*="discount-badge"],
    [class*="savings"] {
        font-size: 0.75rem !important;
        padding: 4px 8px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 4px !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }

    /* Hide redundant labels that take up space */
    .wc-block-cart-items__header,
    .woocommerce-cart thead {
        display: none !important;
    }
}