/**
 * New Demolition Traders Style
 * Based on original website design
 */

:root {
    --primary-color: #2f3192;
    --primary-dark: #262775;
    --primary-light: #6d6fb3;
    --secondary-color: #ffca0d;
    --secondary-dark: #d9ac0b;
    --accent-color: #ffca0d;
    --dark-color: #2f3192;
    --darker-color: #212266;
    --light-color: #f6f6f6;
    --light-bg: #f6f6f6;
    --bg-color: #f6f6f6;
    --card-bg: #ffffff;
    --input-bg: #ffffff;
    --border-color: #d1d1d1;
    --text-color: #000000;
    --text-light: #666666;
    --text-on-primary: #ffffff;
    --text-on-secondary: #1a1a2e;
    --text-on-dark: #ffffff;
    --link-color: #2f3192;
    --heading-color: #2f3192;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    --dt-header-offset: 285px; /* fallback; JS will set exact visible header height */
    --dt-bottom-nav-height: 0px;
}

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

body {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    background-color: var(--bg-color, #ffffff);
    line-height: 1.6;
    padding-top: var(--dt-header-offset, 285px);
}

a {
    text-decoration: none;
    color: var(--link-color, var(--primary-color));
    transition: all 0.3s ease;
}

a:hover {
    color: var(--text-color);
}

/* Hide spinner arrows on number inputs */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Yellow Top Bar - Always fixed, slide up when scrolling */
.header-top {
    background: var(--secondary-color);
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1002;
    transform: translate3d(0, 0, 0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    backface-visibility: hidden;
}

.header-top.hidden {
    transform: translateY(-100%);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 600;
}

.header-top-left a {
    position: relative;
    font-family: 'Rubik', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.05em;
    color: var(--text-color);
    background: transparent !important;
    transition: color 0.2s;
}

.header-top-left a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    z-index: 2;
}

.header-top-left a:hover::after {
    transform: scaleX(1);
}

.header-top-left a:hover {
    color: var(--heading-color, var(--primary-color));
}

.header-top-left a i {
    font-size: 16px;
    color: var(--heading-color, var(--primary-color));
}

/* Opening Hours Status Badge */
#opening-hours-display {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

#opening-hours-display .status-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1;
}

#opening-hours-display .status-badge.open {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

#opening-hours-display .status-badge.closed {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

#opening-hours-display .hours-text {
    font-weight: 600;
    color: var(--text-color);
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 600;
}

.header-top-right a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-top-right a i {
    font-size: 18px;
}

/* Top Navigation Dropdown */
.top-nav-dropdown {
    position: relative;
}

.top-nav-dropdown .dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.top-nav-dropdown .dropdown-toggle:hover {
    color: var(--heading-color, var(--primary-color));
}

.top-nav-dropdown .dropdown-toggle i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.top-nav-dropdown:hover .dropdown-toggle i,
.top-nav-dropdown .dropdown-menu.show + .dropdown-toggle i {
    transform: rotate(180deg);
}

.top-nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg, #ffffff);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 8px 0;
    min-width: 200px;
    z-index: 1000;
    display: none;
    margin-top: 8px;
}

.top-nav-dropdown:hover .dropdown-menu,
.top-nav-dropdown .dropdown-menu.show {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.top-nav-dropdown .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 13px;
    text-transform: none;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.top-nav-dropdown .dropdown-menu a:hover {
    background: var(--light-bg, #f8f9fa);
    color: var(--heading-color, var(--primary-color));
    border-left-color: var(--heading-color, var(--primary-color));
    padding-left: 25px;
}

/* ======== STICKY HEADER ======== */
/* When scrolled - slide header up */
.site-header.sticky {
    transform: translateY(-40px);
    padding: 15px 0;
}

.main-nav.sticky {
    transform: translateY(calc(-233px - 100%));
}

 

.header-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
}

.header-top-right a {
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-top-right a i {
    font-size: 16px;
}

.header-top-right a:hover {
    color: var(--heading-color, var(--primary-color));
}

/* Main Header - Always fixed, adjusts position based on scroll */
.site-header {
    background: #eaeaf4 !important;
    padding: 25px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    position: fixed;
    top: var(--dt-topbar-height, 40px);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
    transform: translate3d(0, 0, 0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    backface-visibility: hidden;
}

.site-header .container {
    max-width: 1250px;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Wrapper for mobile header row; no-op on desktop */
.header-row {
    display: contents;
}

.logo {
    text-align: center;
}

.logo img {
    height: 80px;
    width: auto;
}

/* Mobile-only header elements: hidden by default (desktop/tablet) */
.mobile-hamburger,
.mobile-header-icons,
.location-short,
.mobile-bottom-nav {
    display: none;
}

.location-full {
    display: inline;
}

.header-center {
    width: 100%;
    max-width: 900px;
}

.header-search {
    width: 100%;
}

.header-search form {
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
}

/* Search Autocomplete - TradeMe Style */
.search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 500px;
    overflow-y: auto;
    z-index: 10005;
    margin-top: 0;
}

.autocomplete-section {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.autocomplete-section:last-of-type {
    border-bottom: none;
}

.autocomplete-section-title {
    padding: 8px 20px 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.autocomplete-item {
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: background 0.2s;
}

.autocomplete-item:hover {
    background: var(--light-bg, #f8f9fa);
}

.autocomplete-item i {
    color: var(--text-light);
    font-size: 14px;
    min-width: 16px;
    margin-top: 2px;
}

.autocomplete-item.category-item i {
    color: var(--heading-color, var(--primary-color));
}

.autocomplete-item span {
    flex: 1;
    font-size: 14px;
    color: var(--text-color);
}

.autocomplete-item strong {
    color: var(--text-color);
    font-weight: 600;
}

.category-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.category-name {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
}

.category-breadcrumb {
    font-size: 12px;
    color: var(--text-light);
}

.autocomplete-footer {
    padding: 12px 20px;
    border-top: 1px solid #f0f0f0;
    background: var(--light-bg, #fafafa);
}

.browse-all-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--heading-color, var(--primary-color));
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.browse-all-link:hover {
    text-decoration: underline;
}

.browse-all-link i {
    font-size: 12px;
}


.search-input {
    flex: 1;
    padding: 14px 25px;
    border: none;
    font-size: 15px;
    outline: none;
    background: var(--input-bg, #ffffff);
    color: var(--text-color);
}

.search-button {
    padding: 14px 35px;
    background: var(--secondary-color);
    color: var(--text-on-secondary);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0 50px 50px 0;
    transition: all 0.3s;
}

.search-button:hover {
    background: var(--secondary-dark);
}

/* BÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»Ãƒâ€šÃ‚Â tagline */
.tagline {
    display: none;
}

/* BÃƒÆ’Ã‚Â¡Ãƒâ€šÃ‚Â»Ãƒâ€šÃ‚Â header-info boxes */
.header-info {
    display: none;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    transition: all 0.3s;
    background: var(--card-bg, #ffffff);
    white-space: nowrap;
    font-size: 12px;
    flex-shrink: 0;
}

.info-box:hover {
    border-color: var(--heading-color, var(--primary-color));
    transform: translateY(-2px);
}

.info-box i {
    font-size: 20px;
    color: var(--heading-color, var(--primary-color));
    flex-shrink: 0;
}

.info-box div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    gap: 2px;
}

.info-box strong {
    font-size: 11px;
    font-weight: 600;
}

.info-box span {
    font-size: 11px;
    color: var(--heading-color, var(--primary-color));
    font-weight: 500;
}

#location-btn {
    cursor: pointer;
    background: var(--card-bg, #ffffff);
}

.info-box strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
}

.info-box span {
    font-size: 14px;
    color: var(--heading-color, var(--primary-color));
    font-weight: 500;
}

/* Opening Hours Modal */
.opening-hours-box {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.dropdown-icon {
    font-size: 14px;
    color: var(--heading-color, var(--primary-color));
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.opening-hours-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.opening-hours-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.opening-hours-dropdown {
    position: relative;
    background: var(--card-bg, #ffffff);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(47, 49, 146, 0.25);
    width: 90%;
    max-width: 400px;
    z-index: 10001;
    overflow: hidden;
    transform: scale(0.9) translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.opening-hours-modal.active .opening-hours-dropdown {
    transform: scale(1) translateY(0);
}

.dropdown-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1f2182 100%);
    padding: 16px 20px;
    border-bottom: 3px solid var(--secondary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-on-primary);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-on-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.opening-hours-list {
    padding: 10px;
    max-height: 70vh;
    overflow-y: auto;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
    background: var(--card-bg, #ffffff);
    position: relative;
    overflow: hidden;
}

.hours-item::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    z-index: 2;
}

.hours-item:hover::after,
.hours-item.today::after {
    transform: scaleX(1);
}

.hours-item:first-child {
    border-radius: 8px 8px 0 0;
}

.hours-item:last-of-type {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.hours-item:hover {
    background: var(--light-bg, #f8f9fa);
}

.hours-item.today {
    background: var(--light-bg, #e8e7f5);
    border-left: 4px solid var(--primary-color);
}

.day-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
}

.hours-item.today .day-name {
    font-weight: 700;
    color: var(--heading-color, var(--primary-color));
}

.day-hours {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
}

.hours-item.today .day-hours {
    font-weight: 700;
    color: var(--heading-color, var(--primary-color));
}

/* Status Button */
.status-button {
    margin-top: 20px;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.status-button.open {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.status-button.closed {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Status Badge (Open/Closed) */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
}

.status-badge.open {
    background: #28a745;
    color: white;
}

.status-badge.closed {
    background: #dc3545;
    color: white;
}

/* Status Dot (in modal list) */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.status-dot.open {
    background: #28a745;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.6);
}

.status-dot.closed {
    background: #dc3545;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.6);
}

/* Location Map Modal */
.location-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.location-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.modal-backdrop-location {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
}

.location-map-container {
    position: relative;
    background: var(--card-bg, #ffffff);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(47, 49, 146, 0.25);
    width: 90%;
    max-width: 600px;
    z-index: 10001;
    overflow: hidden;
    transform: scale(0.9) translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-modal.active .location-map-container {
    transform: scale(1) translateY(0);
}

.location-map-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1f2182 100%);
    padding: 16px 20px;
    border-bottom: 3px solid var(--secondary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-map-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-on-primary);
}

.location-map-content {
    padding: 20px;
}

.location-map-content iframe {
    border-radius: 8px;
    margin-bottom: 15px;
}

.location-details {
    background: var(--light-bg, #f8f9fa);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.location-details p {
    margin: 5px 0;
    font-size: 14px;
    color: var(--text-color);
}

.location-details p strong {
    font-weight: 600;
    color: var(--heading-color, var(--primary-color));
}

.location-details a {
    color: var(--heading-color, var(--primary-color));
    text-decoration: none;
    font-weight: 500;
}

.location-details a:hover {
    text-decoration: underline;
}

.btn-google-maps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1f2182 100%);
    color: var(--text-on-primary);
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    width: 100%;
    cursor: pointer;
    font-size: 14px;
}

.btn-google-maps span {
    color: var(--text-on-primary);
    font-weight: 500;
}

.btn-google-maps:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 49, 146, 0.3);
}

.btn-google-maps i {
    font-size: 18px;
    color: var(--secondary-color);
}

.day-hours {
    font-size: 15px;
    color: var(--heading-color, var(--primary-color));
    font-weight: 600;
    text-align: right;
}

.loading {
    padding: 30px;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--heading-color, var(--primary-color));
    cursor: pointer;
}

/* Mobile menu bar - hidden on desktop */
.mobile-menu-bar {
    display: none;
}

/* Mobile menu wrapper - hidden by default */
#mobile-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    background: rgba(0, 0, 0, 0.5);
}

#mobile-menu-wrapper:not(.d-none) {
    display: block;
}

.mobile-nav-dropdown {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: var(--card-bg, #ffffff);
    overflow-y: auto;
    overflow-x: hidden;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
}

.mobile-nav-dropdown.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--light-bg, #f8f9fa);
    position: sticky;
    top: 0;
}

.mobile-nav-header h3 {
    margin: 0;
    font-size: 16px;
    color: var(--text-color);
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-content {
    padding: 10px 0;
}

/* Mobile drawer views: hamburger Menu vs bottom-tab Categories */
#mobile-menu-wrapper .mobile-nav-view--menu,
#mobile-menu-wrapper .mobile-nav-view--categories {
    display: none;
}

#mobile-menu-wrapper[data-view="categories"] .mobile-nav-view--categories {
    display: block;
}

#mobile-menu-wrapper:not([data-view]) .mobile-nav-view--menu,
#mobile-menu-wrapper[data-view="menu"] .mobile-nav-view--menu {
    display: block;
}

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

.mobile-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}

.mobile-nav-link:hover {
    background: var(--light-bg, #f8f9fa);
    color: var(--heading-color, var(--primary-color));
}

.mobile-nav-sublist {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--light-bg, #f8f9fa);
}

.mobile-nav-sublist li {
    border-bottom: 1px solid #e8e8e8;
}

.mobile-nav-sublist li:last-child {
    border-bottom: none;
}

.mobile-nav-sublist a {
    display: block;
    padding: 10px 20px 10px 40px;
    color: var(--text-light);
    font-size: 13px;
    text-decoration: none;
}

.mobile-nav-sublist a:hover {
    background: var(--card-bg, #ffffff);
    color: var(--heading-color, var(--primary-color));
}

.mobile-nav-divider {
    height: 8px;
    background: var(--border-color);
    margin: 8px 0;
    border: none;
}

/* Navigation Menu - Always fixed */
/* ======== MAIN NAVIGATION ======== */
.main-nav {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-bottom: 3px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 0;
    position: fixed;
    top: calc(var(--dt-topbar-height, 40px) + var(--dt-siteheader-height, 193px));
    left: 0;
    right: 0;
    width: 100%;
    /* Keep above page content (e.g. hero video) but below modal overlays (10000+) */
    z-index: 2000;
    /* Avoid creating a containing block that breaks fixed-position dropdown overlays */
    transform: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* When all categories are shown, allow horizontal scroll instead of a "MORE" bucket */
.main-nav .container {
    /* Use full viewport width for the nav so right-most items aren't clipped */
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
    padding: 0 50px;
    overflow-x: visible;
    overflow-y: visible;
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
    text-align: center;
}

/*
    IMPORTANT:
    Non-visible overflow (e.g. overflow-x:auto) can clip positioned descendants.
    We only relax overflow while a dropdown/mega-menu is open to avoid layout
    surprises (e.g. right-most items appearing/disappearing on hover).
*/

/* When a dropdown/mega-menu is JS-open, keep overflow visible even if hover momentarily drops */
.main-nav.nav-overflow-open .container {
    overflow-x: visible;
    overflow-y: visible;
}

.main-nav .container::-webkit-scrollbar {
    display: none;
}

.nav-menu {
    list-style: none;
    display: inline-flex;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    min-width: max-content;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.nav-menu > li:last-child::after {
    display: none;
}

.nav-menu > li > a {
    display: block;
    color: var(--text-on-primary);
    padding: 12px clamp(6px, 1.1vw, 10px);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

/* Make it easier to move from the top item into the dropdown without triggering flicker */
.mega-menu::before,
.dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.nav-menu > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu > li > a:hover::before,
.nav-menu > li.active > a::before {
    width: 80%;
}

.nav-menu > li > a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary-color);
}

/* Mega Menu Styles - Multi-column dropdown */
.nav-item.has-mega > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 8px;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
    opacity: 0.7;
}

.nav-item.has-mega:hover > a::after {
    transform: rotate(180deg);
    opacity: 1;
}

/* Mega Menu Container */
.mega-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    
    /* CSS Grid - Flexible columns */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
    justify-content: start;
    gap: 12px;
    
    background: var(--card-bg, #ffffff);
    padding: 16px;
    min-width: 320px;
    max-width: min(900px, calc(100vw - 24px));
    
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    border-top: 3px solid var(--secondary-color);
    
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2001;
}

/* Prevent right-edge mega menus from overflowing off-screen (common on the last items) */
.nav-menu > li:nth-last-child(-n+2) .mega-menu {
    left: auto;
    right: 0;
    transform: translateY(-10px);
}

.nav-menu > li:nth-last-child(-n+2).nav-item.has-mega:hover .mega-menu,
.nav-menu > li:nth-last-child(-n+2).nav-item.has-mega.is-open .mega-menu {
    transform: translateY(0);
}

.nav-item.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-item.has-mega.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Mega Menu Columns */
.mega-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--heading-color, var(--primary-color));
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary-color);
}

.mega-column a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 4px;
    border-left: 3px solid transparent;
    font-weight: 700; /* Sub categories bold */
}

.mega-column a:hover {
    background: var(--light-bg, #f8f9fa);
    color: var(--heading-color, var(--primary-color));
    border-left-color: var(--secondary-color);
    padding-left: 16px;
    transform: translateX(2px);
}

/* Nested Categories Styling */
.mega-nested {
    margin-left: 16px;
    margin-top: 4px;
    border-left: 2px solid var(--border-color);
    padding-left: 12px;
}

.mega-nested a {
    font-size: 13px;
    padding: 6px 10px;
    color: var(--text-light);
    font-weight: 400; /* Sub-sub categories not bold */
}

.mega-nested a:hover {
    color: var(--heading-color, var(--primary-color));
    background: var(--light-bg, #f8f9fa);
}

/* Multi-level nesting */
.mega-nested .mega-nested {
    margin-left: 12px;
    border-left: 2px solid #f0f0f0;
}

.mega-nested .mega-nested a {
    font-size: 12px;
    padding: 4px 8px;
    color: var(--text-light);
    font-weight: 400;
}

/* Single-column mega menu: keep content visually centered (avoid left indent/border looking off-centre) */
.mega-menu.mega-menu--single {
    justify-content: center;
}

.mega-menu.mega-menu--single .mega-column {
    align-items: center;
}

.mega-menu.mega-menu--single .mega-column a {
    text-align: center;
    border-left: none;
}

.mega-menu.mega-menu--single .mega-column a:hover {
    border-left: none;
    padding-left: 12px;
    transform: none;
}

.mega-menu.mega-menu--single .mega-nested {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
}

.mega-menu.mega-menu--single .mega-nested a {
    text-align: center;
}

/* Level indicators (optional - for visual hierarchy) */
.mega-link.level-0 {
    font-weight: 500;
}

.mega-link.level-1 {
    font-size: 13px;
    padding-left: 20px;
}

.mega-link.level-2 {
    font-size: 12px;
    padding-left: 32px;
    color: var(--text-light);
}

.mega-link.level-3 {
    font-size: 12px;
    padding-left: 44px;
    color: var(--text-light);
}

/* Alternative: Force 3 columns (uncomment if needed) */
/*
.mega-menu {
    grid-template-columns: repeat(3, 1fr);
}
*/

/* Alternative: Force 4 columns (uncomment if needed) */
/*
.mega-menu {
    grid-template-columns: repeat(4, 1fr);
}
*/

/* Old Dropdown Menus - Keep for backward compatibility with "MORE" items */
.has-dropdown > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 8px;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
    opacity: 0.7;
}

.has-dropdown:hover > a::after {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--card-bg, #ffffff);
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    list-style: none;
    padding: 8px 0;
    z-index: 2001;
    border-top: 3px solid var(--secondary-color);
}

.dropdown.shop-dropdown {
    min-width: 720px;
    padding: 12px;
    left: 0;
    transform: translateY(-10px);
    border-radius: 10px;
}

.shop-mega {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 1fr;
    gap: 12px;
}

.shop-mega-item {
    padding: 0;
}

.shop-col {
    background: var(--card-bg, #ffffff);
    border-radius: 8px;
    padding: 8px 6px;
}

.shop-col-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--heading-color, var(--primary-color));
    padding: 6px 10px 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.shop-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-list li a {
    display: block;
    padding: 8px 10px;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 400;
    border-left: 3px solid transparent;
}

.shop-list li.is-active > a,
.shop-list li a:hover {
    background: var(--light-bg, #f8f9fa);
    color: var(--heading-color, var(--primary-color));
    border-left-color: var(--secondary-color);
}

/* Prevent right-edge dropdowns from overflowing off-screen */
.nav-menu > li:nth-last-child(-n+2) .dropdown {
    left: auto;
    right: 0;
    transform: translateY(-10px);
}

.nav-menu > li:nth-last-child(-n+2).has-dropdown:hover .dropdown,
.nav-menu > li:nth-last-child(-n+2).has-dropdown.is-open .dropdown {
    transform: translateY(0);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.has-dropdown:hover .shop-dropdown,
.has-dropdown.is-open .shop-dropdown {
    transform: translateY(0);
}

.dropdown li {
    margin: 0;
    padding: 0;
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown li a:hover {
    background: var(--light-bg, #f8f9fa);
    color: var(--heading-color, var(--primary-color));
    border-left-color: var(--secondary-color);
    padding-left: 24px;
}

.dropdown .dropdown-sublist {
    list-style: none;
    margin: 4px 0 8px;
    padding: 0;
}

.dropdown .dropdown-sublist a {
    display: block;
    padding: 8px 20px 8px 32px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 400;
    border-left: 2px solid transparent;
}

.dropdown .dropdown-sublist a:hover {
    background: var(--light-bg, #f8f9fa);
    color: var(--heading-color, var(--primary-color));
    border-left-color: var(--secondary-color);
    padding-left: 34px;
}

.dropdown .dropdown-sublist .dropdown-sublist a {
    padding-left: 44px;
    font-size: 11.5px;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: var(--light-color, #f0f0f0);
}

.hero-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sound-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(47, 49, 146, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sound-toggle:hover {
    background: rgba(47, 49, 146, 1);
    transform: scale(1.1);
}

.sound-toggle.active {
    background: rgba(255, 202, 13, 0.9);
    color: var(--heading-color, var(--primary-color));
}

.sound-toggle.active:hover {
    background: rgba(255, 202, 13, 1);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 60px;
    text-align: center;
    max-width: 900px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content.minimized {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
}

.minimize-toggle {
    position: absolute;
    top: 20px;
    right: 80px;
    width: 50px;
    height: 50px;
    background: rgba(47, 49, 146, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.minimize-toggle:hover {
    background: rgba(47, 49, 146, 1);
    transform: scale(1.1);
}

.hero-content h1 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 400;
    color: var(--heading-color, var(--primary-color));
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--text-color);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.hero-buttons a {
    display: inline-block;
    padding: 15px 40px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s;
}

.hero-buttons a:first-child {
    background: var(--secondary-color);
    color: var(--text-color);
}

.hero-buttons a:first-child:hover {
    background: #e6b60c;
    transform: translateY(-2px);
}

.hero-buttons a.alt {
    background: var(--primary-color);
    color: var(--text-on-primary);
}

.hero-buttons a.alt:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Section Titles */
h3.center {
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    padding: 50px 0 10px;
    position: relative;
}

h3.center span {
    position: relative;
    display: inline-block;
    padding: 0 15px;
    background: var(--bg-color, #ffffff);
}

h3.center span:before,
h3.center span:after {
    content: '';
    position: absolute;
    top: 50%;
    display: block;
    width: 50px;
    height: 1px;
    background: var(--dark-color, #231f20);
}

h3.center span:before {
    right: 100%;
}

h3.center span:after {
    left: 100%;
}

h3.blue {
    color: var(--heading-color, var(--primary-color));
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

p.small.center {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 30px;
}

/* Featured Products Section */
.featured-products {
    padding: 40px 0;
    background: var(--bg-color, #ffffff);
}

.products-carousel {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 0 0 40px;
}

.product-card {
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    background-color: #f2f2f2;
}

/* No-image placeholder shown when img fails to load */
.product-image.no-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #f2f2f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' fill='%23e8e8e8'/%3E%3Cpath d='M20 44l10-14 7 10 5-6 10 10z' fill='%23ccc'/%3E%3Ccircle cx='42' cy='22' r='5' fill='%23ccc'/%3E%3C/svg%3E") center/50% no-repeat;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: all 0.3s;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-actions a {
    width: 35px;
    height: 35px;
    background: var(--card-bg, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-actions a:hover {
    background: var(--primary-color);
    color: white;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.product-badges .badge {
    position: static;
    margin: 0;
    display: inline-block;
}

.badge-new {
    background: var(--secondary-color);
    color: var(--text-color);
}

.badge-recycled {
    background: #4caf50;
    color: white;
}

.badge-out-of-stock {
    background: #dc3545;
    color: #fff;
}

.badge-packlot {
    background: var(--primary-color);
    color: #fff;
    left: auto;
    right: 10px;
    z-index: 2;
}

.product-info {
    padding: 15px;
    background: var(--card-bg, #f3f4f6);
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h3,
.product-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    min-height: 60px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-color, #333);
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--heading-color, var(--primary-color));
    margin: auto auto 12px;
    text-align: center;
    background: linear-gradient(135deg, rgba(47, 49, 146, 0.08) 0%, rgba(47, 49, 146, 0.12) 100%);
    border-radius: 6px;
    padding: 8px 28px;
    display: inline-block;
    width: auto;
    letter-spacing: 0.02em;
}

.product-price small {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

/* Info Boxes Section */
.info-boxes-section {
    padding: 40px 0;
    background: var(--bg-color, #ffffff);
}

.info-boxes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-box-item {
    text-align: center;
    padding: 20px;
}

.info-box-item h2 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: none;
    padding: 0;
}

.info-box-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* CTA Panels */
.cta-panels {
    padding: 60px 0;
    background: #e8e8f0;
}

.cta-panels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.cta-panel {
    text-align: center;
}

.cta-panel h3 {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cta-panel h2 {
    font-size: 28px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding: 0;
}

.cta-panel p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cta-panel .button-wrap {
    margin-bottom: 20px;
}

.cta-panel img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--text-on-primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s;
}

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

/* Popular Ranges */
.popular-ranges {
    padding: 60px 0;
    background: var(--bg-color, #ffffff);
}

.ranges-grid {
    display: grid;
    grid-template-columns: repeat(var(--pr-per-row, 6), minmax(0, 1fr));
    gap: var(--pr-gap, 15px);
    margin-top: 30px;
}

.ranges-grid + .ranges-grid {
    margin-top: 20px;
}

.range-card {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: all 0.3s;
}

.range-card:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.range-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.range-title {
    position: relative;
    z-index: 1;
    color: white;
    font-size: clamp(12px, 1.1vw, 16px);
    font-weight: 600;
    text-transform: uppercase;
    padding: 15px 10px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--secondary-color);
    padding: 25px 0;
    text-align: center;
}

.newsletter-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.newsletter-section h3 {
    color: var(--heading-color, var(--primary-color));
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    flex: 0 1 auto;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
    padding: 10px 15px;
    border: none;
    font-size: 13px;
    font-family: 'Rubik', Arial, sans-serif;
    width: 220px;
}

.newsletter-form .btn-subscribe {
    background: var(--primary-color);
    color: var(--text-on-primary);
    border: none;
    padding: 10px 35px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Rubik', Arial, sans-serif;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form .btn-subscribe:hover {
    background: var(--primary-dark);
}

/* Footer */
.site-footer {
    background: var(--dark-color, #204659);
    color: var(--text-on-dark);
    padding: 60px 0 40px;
}

/* Mobile footer layout (matches screenshot) */
.footer-mobile {
    display: none;
}

/* Base styles for mobile footer (safe globally because .footer-mobile is hidden on desktop) */
.footer-mobile-section {
    padding: 2px 0 6px;
}

.footer-mobile-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text-on-dark);
}

.footer-mobile-title i {
    color: var(--secondary-color);
    font-size: 14px;
}

.footer-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-mobile-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.95;
}

.footer-mobile-item i {
    width: 16px;
    text-align: center;
    font-size: 13px;
    opacity: 0.95;
}

.footer-mobile-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 10px 0;
}

.footer-mobile-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    padding: 10px;
    max-width: 100%;
}

.footer-mobile-map {
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.12);
    max-width: 100%;
}

.footer-mobile-map iframe {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    border: 0;
    height: 150px;
}

.footer-mobile-address {
    font-size: 13px;
    font-weight: 500;
    margin: 8px 0 8px;
    color: #fff;
    opacity: 0.95;
}

.footer-mobile-directions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    color: var(--text-color);
    font-weight: 700;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    width: fit-content;
    max-width: 100%;
}

.footer-mobile-meta {
    margin-top: 10px;
    text-align: center;
    opacity: 0.85;
}

.footer-mobile-copy {
    color: rgba(255, 255, 255, 0.70);
    font-size: 11px;
    line-height: 1.5;
    margin: 0 0 8px;
}

.footer-mobile-copy a {
    color: rgba(255, 255, 255, 0.70);
    text-decoration: none;
}

.footer-mobile-social {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.footer-mobile-social a {
    color: rgba(255, 255, 255, 0.80);
    font-size: 18px;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 16px 0 12px;
    }

    .site-footer .container {
        padding: 0 14px;
    }

    .site-footer .footer-grid {
        display: none !important;
    }

    .footer-base {
        display: none !important;
    }

    .site-footer .footer-mobile {
        display: block !important;
    }
}

@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
    .site-footer .footer-mobile {
        display: none !important;
    }
}

/* Mobile landscape: many phones exceed 768px width when rotated.
   If it's a touch device (coarse pointer), keep using the mobile footer layout. */
@media (max-width: 1024px) and (hover: none) and (pointer: coarse) {
    .site-footer {
        padding: 16px 0 12px;
        overflow-x: hidden;
    }

    .site-footer .container {
        padding: 0 14px;
    }

    .site-footer .footer-grid {
        display: none !important;
    }

    .site-footer .footer-base {
        display: none !important;
    }

    .site-footer .footer-mobile {
        display: block !important;
    }
}

/* Phone landscape fallback: compact header for small landscape screens */
@media (orientation: landscape) and (max-width: 1024px) and (max-height: 500px) {
    :root {
        --dt-bottom-nav-height: 44px;
    }

    body {
        padding-top: 0 !important;
        padding-bottom: calc(var(--dt-bottom-nav-height, 44px) + env(safe-area-inset-bottom, 0px));
    }

    /* Non-fixed header to maximize content space */
    .header-top {
        padding: 4px 0;
        position: relative !important;
        top: auto !important;
    }

    .header-top .container {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 0 16px;
        overflow: hidden;
    }

    .header-top-left {
        width: 100%;
        flex-wrap: nowrap;
        gap: 10px;
        font-size: 12px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
    }

    .header-top-right {
        display: none !important;
    }

    .location-full {
        display: none;
    }

    .location-short {
        display: inline;
    }

    /* Ultra-compact site header */
    .site-header {
        padding: 4px 0;
        position: relative !important;
        top: auto !important;
    }

    .site-header .container {
        padding: 0 16px;
    }

    .site-header .header-content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-header .header-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        min-height: 36px;
    }

    .mobile-hamburger {
        display: inline-flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border: none;
        background: transparent;
        color: var(--heading-color, var(--primary-color));
        font-size: 20px;
        cursor: pointer;
    }

    .site-header .header-row .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    .site-header .logo img {
        height: 30px;
        width: auto;
    }

    .mobile-header-icons {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
    }

    .mobile-icon-link {
        position: relative;
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--heading-color, var(--primary-color));
        text-decoration: none;
    }

    .mobile-icon-link i {
        font-size: 18px;
    }

    .mobile-icon-badge {
        position: absolute;
        top: -3px;
        right: -3px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 999px;
        background: var(--secondary-color);
        color: var(--text-color);
        font-size: 10px;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    /* Compact search bar in landscape */
    .site-header .header-search {
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-header .header-search input.search-input {
        padding: 4px 10px !important;
        font-size: 12px !important;
        height: 28px !important;
    }

    .site-header .header-search button.search-button {
        padding: 4px 10px !important;
        font-size: 12px !important;
        height: 28px !important;
    }

    /* No scroll animation/effects on phone landscape */
    .header-top,
    .site-header {
        transition: none !important;
        transform: none !important;
        will-change: auto !important;
    }

    /* Hide the desktop blue nav bar on phone landscape */
    .main-nav {
        display: none !important;
    }

    /* Ultra-compact bottom nav */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: var(--dt-bottom-nav-height, 44px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: var(--card-bg, #fff);
        border-top: 1px solid var(--border-color);
        z-index: 1003;
    }

    .mobile-bottom-link {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        text-decoration: none;
        font-weight: 600;
        font-size: 9px;
        -webkit-tap-highlight-color: transparent;
        min-height: 36px;
        gap: 1px;
    }

    .mobile-bottom-link i {
        font-size: 16px;
        color: var(--text-light);
    }

    .mobile-bottom-link:active,
    .mobile-bottom-link:active i {
        color: var(--heading-color, var(--primary-color));
    }

    .back-to-top {
        bottom: calc(var(--dt-bottom-nav-height, 44px) + 12px) !important;
    }

    /* Header map modal: prevent oversized modal/iframe on phone landscape */
    .location-map-container {
        width: 96% !important;
        max-width: 96% !important;
        max-height: calc(100vh - 24px);
        border-radius: 12px;
    }

    .location-map-header {
        padding: 10px 12px;
    }

    .location-map-header h3 {
        font-size: 15px;
    }

    .location-map-content {
        padding: 10px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        max-height: calc(100vh - 60px);
    }

    .location-map-content iframe {
        height: 160px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .location-details {
        padding: 10px;
        margin-bottom: 10px;
    }

    .location-details p {
        font-size: 13px;
    }

    .btn-google-maps {
        padding: 10px 14px;
        font-size: 13px;
    }

    .site-footer {
        padding: 28px 0 22px;
        overflow-x: hidden;
    }

    .site-footer .container {
        padding: 0 18px;
    }

    .site-footer .footer-grid {
        display: none !important;
    }

    .site-footer .footer-base {
        display: none !important;
    }

    .site-footer .footer-mobile {
        display: block !important;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 260px 1fr 1fr 240px;
    gap: 40px;
    align-items: start;
}

.footer-logo-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    max-width: 260px;
    height: auto;
}

.footer-tagline {
    max-width: 260px;
    height: auto;
}

.footer-nav,
.footer-contact,
.footer-location {
    display: flex;
    flex-direction: column;
}

.footer-nav h4,
.footer-contact h4,
.footer-location h4 {
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 20px;
}

.footer-contact .opening-hours-section {
    margin-bottom: 30px;
}

.footer-contact .hours-line {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 8px;
    line-height: 1.8;
    gap: 12px;
}

.footer-contact .day-label {
    font-weight: 400;
    min-width: 90px;
}

.footer-contact .time-value {
    font-weight: 300;
    text-align: left;
}

.footer-contact .hours-note {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    line-height: 1.6;
}

.footer-contact h4 ~ h4 {
    margin-top: 10px;
}

.footer-contact a {
    color: white;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-location {
    text-align: left;
}

.footer-map {
    width: 240px;
    height: 240px;
    margin-bottom: 10px;
    display: block;
}

.footer-location a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-location a:hover {
    color: var(--secondary-color);
}

/* Footer Base */
.footer-base {
    background: var(--darker-color, #1a3d4d);
    padding: 20px 0;
    text-align: center;
}

.footer-base .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-base p {
    color: var(--text-light);
    font-size: 13px;
    margin: 0;
}

.footer-base a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-base a:hover {
    color: var(--secondary-color);
}

/* ================================================
   RESPONSIVE DESIGN - Original Demolition Traders Template
   Based on template.responsive.css compiled from SCSS
   ================================================ */

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .header-info {
            display: none !important;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --dt-bottom-nav-height: 64px;
    }

    body {
        padding-bottom: calc(var(--dt-bottom-nav-height, 64px) + env(safe-area-inset-bottom, 0px));
    }
    :root {
        --dt-bottom-nav-height: 64px;
    }

    body {
        padding-bottom: calc(var(--dt-bottom-nav-height, 64px) + env(safe-area-inset-bottom, 0px));
    }

    /* Top bar: single line, compact like the mock */
    .header-top {
        padding: 6px 0;
    }

    .header-top .container {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 0 16px;
        overflow: hidden;
    }

    .header-top-left {
        width: 100%;
        flex-wrap: nowrap;
        gap: 10px;
        font-size: 12px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
    }

    .header-top-left a {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.02em;
    }

    .header-top-left a::after {
        display: none;
    }

    .header-top-left a:not(:last-child)::before {
        content: '\00B7';
        position: absolute;
        right: -8px;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(0, 0, 0, 0.5);
        font-size: 14px;
        font-weight: 900;
    }

    .header-top-left .status-badge {
        display: inline-flex;
    }

    .header-top-left .hours-text {
        display: none;
    }

    .header-top-right {
        display: none !important;
    }

    .location-full {
        display: none;
    }

    .location-short {
        display: inline;
    }

    /* Mobile header: row (hamburger + centered logo + icons) + search bar below */
    .site-header {
        padding: 10px 0;
    }

    .site-header .container {
        padding: 0 16px;
    }

    .site-header .header-content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .site-header .header-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        min-height: 44px;
    }

    .mobile-hamburger {
        display: inline-flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: none;
        background: transparent;
        color: var(--heading-color, var(--primary-color));
        font-size: 22px;
        cursor: pointer;
    }

    .site-header .header-row .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    .site-header .logo img {
        height: 56px;
        width: auto;
    }

    .mobile-header-icons {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
    }

    .mobile-icon-link {
        position: relative;
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--heading-color, var(--primary-color));
        text-decoration: none;
    }

    .mobile-icon-link i {
        font-size: 20px;
    }

    .mobile-icon-badge {
        position: absolute;
        top: -2px;
        right: -2px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 999px;
        background: var(--secondary-color);
        color: var(--text-color);
        font-size: 11px;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    /* Show search bar on mobile (full width) */
    .site-header .header-search {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0;
    }

    .site-header .header-search form {
        border-radius: 50px;
    }

    .site-header .header-search input {
        padding: 12px 14px;
    }

    .site-header .header-search button {
        padding: 12px 16px;
    }

    /* Hide the blue fixed nav bar on mobile (bottom nav is used instead) */
    .main-nav {
        display: none !important;
    }

    /* Fixed bottom nav like the mock */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: var(--dt-bottom-nav-height, 64px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: var(--card-bg, #fff);
        border-top: 1px solid var(--border-color);
        z-index: 1003;
    }

    .mobile-bottom-link {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: var(--text-light);
        text-decoration: none;
        font-weight: 600;
        font-size: 12px;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-bottom-link i {
        font-size: 20px;
        color: var(--text-light);
    }

    .mobile-bottom-link:active,
    .mobile-bottom-link:active i {
        color: var(--heading-color, var(--primary-color));
    }

    /* Keep back-to-top above bottom nav */
    .back-to-top {
        bottom: calc(var(--dt-bottom-nav-height, 64px) + 20px) !important;
    }

    /* Home: Info Boxes should not be 3 skinny columns on mobile */
    .info-boxes-section {
        padding: 24px 0;
    }

    .info-boxes-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .info-box-item {
        padding: 12px 10px;
    }

    .info-box-item h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .info-box-item p {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Home: Popular Ranges as mobile carousel */
    .popular-ranges {
        padding: 28px 0;
    }

    .ranges-grid {
        display: block;
        margin-top: 16px;
    }

    .range-card {
        height: 210px;
        border-radius: 16px;
        align-items: center;
        justify-content: center;
    }

    .range-title {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: auto;
        font-size: 16px;
        padding: 0;
    }

    /* Reset range-title positioning for featured/new-arrivals cards */
    #featured-products .range-title,
    #new-arrivals .range-title {
        position: absolute;
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        transform: none;
        width: 100%;
        text-align: center;
        background: none;
        padding: 10px 12px;
        font-size: 15px;
        box-sizing: border-box;
        text-shadow: 0 2px 8px rgba(0,0,0,1), 0 1px 3px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.7);
    }
    
    /* Autocomplete full width (if any page still shows search) */
    .search-autocomplete {
        right: 0 !important;
        border-radius: 0 0 8px 8px;
    }
    /* Dropdown should always be visible */
    .header-top-left .top-nav-dropdown {
        display: flex;
    }
    .header-top-left a {
        padding: 2px 0;
    }
    .header-top-left a,
    .header-top-right a {
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
    .header-top-right {
        justify-content: flex-start;
    }
    
    .container {
        padding: 0 16px;
    }

    html, body {
        overflow-x: hidden !important;
        font-size: 14px !important;
    }
    
    /* Mobile font size reductions */
    h1 { font-size: 20px !important; }
    h2 { font-size: 18px !important; }
    h3 { font-size: 16px !important; }
    h4 { font-size: 15px !important; }
    h5 { font-size: 14px !important; }
    h6 { font-size: 13px !important; }
    
    p { font-size: 13px !important; }
    a { font-size: 13px !important; }
    button { font-size: 13px !important; }
    input, textarea, select { font-size: 13px !important; }
    label { font-size: 12px !important; }
    small { font-size: 11px !important; }
    
    /* Mobile header layout */
    .site-header {
        padding: 15px 0 0;
    }
    
    .header-content {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    /* Top row: Logo center, Info below */
    .header-top-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .header-top-row .logo {
        width: 100%;
        text-align: center;
        padding: 0;
    }
    
    .header-top-row .logo img {
        max-height: 55px !important;
        width: auto;
    }
    
    /* Header info - show all 3 on mobile, centered below logo */
    .header-top-row .header-info {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    
    .header-info .info-box {
        display: flex !important;
        font-size: 12px;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 5px 10px;
        gap: 8px;
        background: var(--light-bg, #f8f8f8);
        border-radius: 4px;
        border: 1px solid var(--border-color);
    }
    
    .header-info .info-box i {
        font-size: 14px;
        flex-shrink: 0;
        color: var(--heading-color, var(--primary-color));
    }
    
    .header-info .info-box div {
        display: flex;
        flex-direction: column;
        gap: 0;
        line-height: 1.3;
    }
    
    .header-info .info-box strong {
        font-size: 10px;
        font-weight: 600;
        white-space: nowrap;
    }
    
    .header-info .info-box span {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .header-info .dropdown-icon {
        font-size: 10px;
        margin-left: auto;
    }
    
    /* Search section - full width */
    .header-center {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 15px;
    }
    
    .header-search {
        width: 100%;
    }
    
    .header-search form {
        width: 100%;
    }
    
    .header-search form {
        display: flex;
        width: 100%;
        border-radius: 12px;
        overflow: hidden;
    }

    .search-input {
        font-size: 14px;
        padding: 12px 14px;
        min-width: 0;
    }
    
    .search-button {
        width: auto;
        height: auto;
        padding: 12px 16px;
        white-space: nowrap;
        border-radius: 0 12px 12px 0;
        flex: 0 0 auto;
    }
    
    .tagline {
        display: none;
    }
    
    /* Mobile menu: show the menu bar + slide-in drawer */
    .mobile-menu-toggle {
        display: none !important;
    }
    
    /* Mobile menu bar - 3 buttons */
    .main-nav {
        order: 4;
        position: fixed;
        left: 0;
        right: 0;
        top: calc(var(--dt-topbar-height, 0px) + var(--dt-siteheader-height, 0px));
        z-index: 1000;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin-top: 0;
    }
    
    .main-nav .container {
        padding: 0;
    }
    
    /* Hide desktop menu */
    .nav-menu {
        display: none !important;
    }
    
    /* Show mobile menu bar */
    .mobile-menu-bar {
        display: flex !important;
        background: var(--primary-color);
        height: 44px;
        align-items: stretch;
    }
    
    .mobile-menu-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        color: #fff;
        font-size: 13px;
        font-weight: 500;
        text-transform: uppercase;
        border: none;
        border-right: 1px solid #5052a4;
        background: transparent;
        cursor: pointer;
        transition: background 0.3s;
        text-decoration: none;
    }
    
    .mobile-menu-btn:last-child {
        border-right: 0;
    }
    
    .mobile-menu-btn:active {
        background: rgba(255,255,255,0.15);
    }
    
    .mobile-menu-btn i {
        font-size: 16px;
    }
    
    .mobile-menu-btn span {
        font-size: 11px;
        display: inline-block;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Product detail: prevent action buttons/tabs overflowing */
    .tabs {
        flex-wrap: wrap;
    }

    .tab-button {
        flex: 1 1 160px;
        padding: 12px 16px;
        font-size: 14px;
        justify-content: center;
    }

    .product-actions {
        padding: 16px;
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }

    .product-actions > button {
        width: 100%;
        margin-right: 0 !important;
    }

    .product-actions > button:not(:first-child) {
        margin-right: 0 !important;
    }

    .btn-buy-now {
        padding: 14px 16px;
        font-size: 16px;
    }

    .btn-add-cart {
        width: 100%;
    }

    .btn-wishlist {
        width: 100%;
        height: 48px;
    }

    /* Ensure user name is visible when logged in */
    #mobile-login-btn span {
        max-width: none !important;
    }
    
    .mobile-menu-btn-group {
        flex: 1;
        display: flex;
        border-right: 1px solid #5052a4;
    }
    
    .mobile-menu-btn-group .mobile-menu-btn {
        flex: 1;
        border-right: 1px solid #5052a4;
    }
    
    .mobile-menu-btn-group .mobile-menu-btn:last-child {
        border-right: 0;
    }
    
    /* Mobile navigation dropdown - inside fullscreen wrapper */
    .mobile-nav-dropdown {
        position: relative !important;
        background: var(--card-bg, #ffffff) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
        background: var(--light-bg, #f8f9fa);
        position: sticky;
        top: 0;
    }
    
    .mobile-nav-header h3 {
        margin: 0;
        font-size: 16px;
        color: var(--text-color);
    }
    
    .mobile-nav-close {
        background: none;
        border: none;
        font-size: 24px;
        color: var(--text-color);
        cursor: pointer;
        padding: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-nav-content {
        padding: 0;
    }
    
    .mobile-nav-item {
        border-bottom: 1px solid #e0e1e2;
    }
    
    .mobile-nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
        color: var(--text-color);
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
        text-decoration: none;
        background: var(--card-bg, #ffffff);
        transition: background 0.2s;
    }
    
    .mobile-nav-link:active {
        background: var(--card-bg, #f5f5f5);
    }
    
    .mobile-nav-link .toggle-icon {
        font-size: 12px;
        transition: transform 0.3s;
    }
    
    .mobile-nav-item.has-dropdown.open .toggle-icon {
        transform: rotate(-135deg);
    }
    
    .mobile-nav-submenu {
        display: none;
        background: var(--light-bg, #f9f9f9);
        border-left: 3px solid var(--primary-color);
    }
    
    .mobile-nav-item.has-dropdown.open .mobile-nav-submenu {
        display: block;
    }
    
    .mobile-nav-submenu a {
        display: block;
        padding: 10px 20px 10px 35px;
        color: var(--text-light);
        font-size: 13px;
        text-decoration: none;
        text-transform: none;
        font-weight: 400;
        background: var(--light-bg, #f9f9f9);
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-nav-submenu a:active {
        background: var(--light-bg, #f8f9fa);
    }
    
    .mobile-nav-submenu {
        display: none;
        background: var(--light-bg, #f9f9f9);
    }

    .mobile-nav-item.active .mobile-nav-submenu {
        display: block;
    }
    
    .mobile-nav-submenu a {
        display: block;
        padding: 12px 20px 12px 40px;
        color: var(--text-light);
        font-size: 13px;
        text-decoration: none;
        border-top: 1px solid #e8e8e8;
        transition: background 0.2s;
    }
    
    .mobile-nav-submenu a:active {
        background: var(--light-bg, #f8f9fa);
    }
    
    .container {
        padding: 0 16px;
    }
    
    .mobile-nav-dropdown.active {
        display: block;
    }
    
    .mobile-nav-dropdown > li {
        border-bottom: 1px solid #e0e1e2;
    }
    
    .mobile-nav-dropdown > li > a {
        display: block;
        padding: 12px 20px;
        color: var(--text-color);
        font-weight: 700;
        text-transform: uppercase;
        font-size: 12px;
    }
    
    .mobile-nav-dropdown .dropdown {
        display: none;
        background: var(--light-bg, #f9f9f9);
    }

    .mobile-nav-dropdown .dropdown.active {
        display: block;
    }
    
    .mobile-nav-dropdown .dropdown li {
        border-top: 1px solid #e0e1e2;
        border-bottom: 0;
    }
    
    .mobile-nav-dropdown .dropdown a {
        padding: 10px 20px 10px 40px;
        font-weight: 400;
        text-transform: none;
    }
    
    .mobile-nav-dropdown .has-dropdown > a {
        position: relative;
        padding-right: 40px;
    }
    
    .mobile-nav-dropdown .has-dropdown > a::after {
        content: '+';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        font-weight: 400;
        transition: transform 0.2s;
    }
    
    .mobile-nav-dropdown .has-dropdown.open > a::after {
        transform: translateY(-50%) rotate(45deg);
    }
    
    /* User menu and cart/wishlist icons in mobile bar */
    .header-top-right {
        display: flex !important;
        position: absolute;
        right: 0;
        top: 0;
        background: var(--primary-color);
        height: 40px;
        z-index: 10;
    }
    
    .header-top-right a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        padding: 0 15px;
        color: #fff;
        font-size: 18px;
        border-left: 1px solid #5052a4;
        transition: background 0.3s;
    }
    
    .header-top-right a:hover {
        background: rgba(255,255,255,0.1);
    }
    
    .header-top-right a i {
        margin-right: 0;
    }
    
    .header-top-right a span {
        font-size: 11px;
        margin-left: 3px;
    }

    /* Keep the yellow bar layout for mobile instead of floating icons */
    .header-top-right {
        display: none !important; /* Hide login/logout/wishlist/cart in top bar on mobile (already in bottom bar) */
    }
    
    /* Footer responsive */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-section {
        width: 100% !important;
        margin-bottom: 30px;
    }
    
    .footer-logo img {
        max-width: 200px !important;
        margin: 0 auto;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    /* Even smaller fonts for tiny screens */
    html, body {
        font-size: 12px !important;
    }
    
    h1 { font-size: 18px !important; }
    h2 { font-size: 16px !important; }
    h3 { font-size: 14px !important; }
    h4 { font-size: 13px !important; }
    h5 { font-size: 12px !important; }
    h6 { font-size: 11px !important; }
    
    p { font-size: 12px !important; }
    a { font-size: 12px !important; }
    button { font-size: 12px !important; }
    input, textarea, select { font-size: 12px !important; }
    label { font-size: 11px !important; }
    small { font-size: 10px !important; }
    
    .nav-menu.active {
        display: flex;
        left: 0;
    }
    
    body.menu-open {
        overflow: hidden !important;
    }
    .nav-menu > li > a {
        font-size: 17px;
        padding: 16px 24px;
        border-bottom: 1px solid var(--primary-dark);
    }
    
    .nav-menu > li.has-dropdown > a {
        position: relative;
    }
    
    .nav-menu > li.has-dropdown > a::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: 24px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-menu > li.has-dropdown.open > a::after {
        transform: rotate(180deg);
    }
    
    .nav-menu > li > ul.dropdown {
        position: static;
        display: none;
        background: var(--primary-dark, #23246a);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }
    
    .nav-menu > li.open > ul.dropdown {
        display: block;
    }
    
    .nav-menu > li > ul.dropdown > li > a {
        font-size: 15px;
        padding: 12px 32px;
    }
    .header-info {
        width: 100%;
        order: 2;
        margin-top: 15px;
        margin-bottom: 10px;
    }
    
    .header-info .info-box {
        font-size: 11px;
        padding: 8px 0;
        width: 100%;
    }
    
    .header-info .info-box i {
        font-size: 16px;
    }
    
    .header-info .info-box strong {
        font-size: 12px;
    }
    
    .header-info .info-box span {
        font-size: 11px;
    }
    
    .opening-hours-box {
        cursor: pointer;
    }
    .hero-banner,
    .hero-content,
    .sound-toggle,
    .minimize-toggle {
        display: none !important;
    }
    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 12px !important;
        box-sizing: border-box;
    }
    .site-footer {
        padding: 30px 0 20px 0 !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .footer-logo-column, .footer-nav, .footer-contact, .footer-location {
        align-items: center !important;
        text-align: center !important;
    }
    
    .footer-logo-column {
        margin-bottom: 20px;
    }
    
    .footer-logo,
    .footer-tagline {
        max-width: 180px !important;
        margin: 0 auto;
    }
    
    .footer-base .container {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center;
    }
}

.content-section h3 {
    font-size: 24px;
    color: var(--heading-color, var(--primary-color));
    margin: 30px 0 15px;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-section ul {
    margin: 15px 0 15px 30px;
    line-height: 1.8;
}

.lead {
    font-size: 20px;
    color: var(--text-light);
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.content-main {
    background: var(--card-bg, #ffffff);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* Keep sidebar in normal layout flow; optionally stick below the fixed header while scrolling */
    position: sticky;
    top: calc(var(--dt-topbar-height, 40px) + var(--dt-siteheader-height, 193px) + 20px);
    align-self: start;
    height: fit-content;
    background: var(--card-bg, #ffffff);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-box h3 {
    color: var(--heading-color, var(--primary-color));
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

/* Contact Form */
.contact-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Rubik', Arial, sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--heading-color, var(--primary-color));
}

.form-group textarea {
    resize: vertical;
}

.form-group input[type="checkbox"] {
    margin-right: 8px;
}

/* Address verification helper */
.address-verify {
    border: 1px dashed #d5d5d5;
    border-radius: 8px;
    padding: 12px;
    background: var(--light-bg, #fafafa);
    margin-bottom: 14px;
}

.address-verify .verify-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--heading-color, var(--primary-color));
}

.address-verify .lookup-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.address-verify .lookup-row.combined input[type="text"] {
    flex: 1;
}

.address-verify .btn-hidden {
    display: none;
}

.address-verify input[type="text"] {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.address-verify .link-btn {
    background: none;
    border: none;
    color: var(--heading-color, var(--primary-color));
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.address-helper-text {
    font-size: 12px;
    color: var(--text-light);
    margin: 6px 0;
}

.address-status {
    font-size: 12px;
    margin-bottom: 6px;
}

.address-status.success { color: #198754; }
.address-status.info { color: #0d6efd; }
.address-status.warning { color: #d98c00; }
.address-status.error { color: #c0392b; }
.address-status.muted { color: var(--text-light); }

.address-suggestions {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg, #ffffff);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-height: 220px;
    overflow-y: auto;
}

.address-suggestion {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: none;
    background: transparent;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
}

.address-suggestion:last-child {
    border-bottom: none;
}

.address-suggestion:hover {
    background: var(--light-bg, #f4f6ff);
}

.address-suggestion .address-main {
    display: block;
    font-size: 13px;
    color: var(--text-color);
    margin-bottom: 3px;
}

.address-suggestion .address-meta {
    font-size: 12px;
    color: var(--text-light);
}

/* Info Boxes */
.info-box-yellow {
    background: var(--light-bg, #fffbea);
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    margin: 25px 0;
}

.info-box-yellow h4 {
    color: var(--heading-color, var(--primary-color));
    margin-bottom: 15px;
}

/* Icon Grid */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.icon-box {
    text-align: center;
    padding: 30px 20px;
    background: var(--card-bg, #ffffff);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.icon-box i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.icon-box h4 {
    color: var(--heading-color, var(--primary-color));
    margin-bottom: 10px;
}

/* Numbered List */
.numbered-list {
    counter-reset: item;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.numbered-list li {
    counter-increment: item;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
}

.numbered-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--secondary-color);
    color: var(--heading-color, var(--primary-color));
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg, #ffffff);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--light-bg, #f8f8f8);
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    color: var(--heading-color, var(--primary-color));
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.8;
}

/* Cabins Grid */
.cabins-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.cabin-card {
    background: var(--card-bg, #ffffff);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cabin-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.cabin-card h3 {
    color: var(--heading-color, var(--primary-color));
    font-size: 24px;
    margin: 20px 20px 10px;
}

.cabin-card p {
    padding: 0 20px;
    color: var(--text-light);
}

.cabin-card ul {
    list-style: none;
    padding: 10px 20px;
}

.cabin-card ul li {
    padding: 5px 0 5px 25px;
    position: relative;
}

.cabin-card ul li::before {
    content: 'ÃƒÆ’Ã‚Â¢Ãƒâ€¦Ã¢â‚¬Å“ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.cabin-card .btn {
    margin: 20px;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0;
    padding: 40px 0;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
}

.stat-box {
    text-align: center;
}

.stat-box i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-box h3 {
    font-size: 32px;
    color: var(--heading-color, var(--primary-color));
    margin: 10px 0;
}

.stat-box p {
    color: var(--text-light);
    margin: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
}

.feature-box i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-box h4 {
    color: var(--heading-color, var(--primary-color));
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    background: var(--light-bg, #f8f8f8);
    padding: 60px;
    border-radius: 8px;
    margin: 40px 0;
}

.cta-section.center {
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 24px;
    color: var(--secondary-color);
    width: 30px;
    margin-top: 5px;
}

.contact-item strong {
    display: block;
    color: var(--heading-color, var(--primary-color));
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
}

/* Hours Table */
.hours-table {
    width: 100%;
}

.hours-table tr {
    border-bottom: 1px solid #eee;
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 10px 0;
}

.hours-table td:first-child {
    font-weight: 500;
}

.hours-table td:last-child {
    text-align: right;
}

/* Social Links Large */
.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links-large a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--light-bg, #f8f8f8);
    border-radius: 4px;
    color: var(--heading-color, var(--primary-color));
    text-decoration: none;
    transition: background 0.3s;
}

.social-links-large a:hover {
    background: var(--secondary-color);
    color: var(--heading-color, var(--primary-color));
}

.social-links-large i {
    font-size: 20px;
}

/* Map Section */
.map-section {
    margin: 60px 0 0;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 30px 0;
}

.directions-info {
    text-align: center;
    padding: 30px;
    background: var(--light-bg, #f8f8f8);
    border-radius: 8px;
}

/* Shop Page */
.shop-section {
    padding: 40px 0;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.shop-sidebar {
    background: var(--card-bg, #ffffff);
    padding: 25px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.filter-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section h3 {
    font-size: 18px;
    color: var(--heading-color, var(--primary-color));
    margin-bottom: 15px;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    padding: 8px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.category-list a:hover,
.category-list a.active {
    background: var(--primary-color);
    color: white;
}

.filter-checkbox {
    display: block;
    margin-bottom: 10px;
}

.filter-checkbox input {
    margin-right: 8px;
}

.filter-section select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--card-bg, #ffffff);
    border-radius: 8px;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options select {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination button,
.pagination span {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    background: var(--card-bg, #ffffff);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--heading-color, var(--primary-color));
}

.pagination button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--heading-color, var(--primary-color));
}

/* Wishlist */
.wishlist-container {
    max-width: 1200px;
    margin: 0 auto;
}

.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.wishlist-grid .product-card .product-info .product-actions {
    margin-top: auto;
    position: static !important;
    opacity: 1 !important;
    display: flex !important;
    justify-content: center;
    padding: 10px 15px;
    background: transparent;
    width: auto;
}

.empty-wishlist {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.empty-wishlist i {
    font-size: 80px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.empty-wishlist h3 {
    color: var(--heading-color, var(--primary-color));
    margin-bottom: 10px;
}

.btn-remove-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-remove-wishlist:hover {
    background: #d32f2f;
    color: white;
}

/* Responsive Updates */
@media (max-width: 1024px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        top: auto;
        height: auto;
    }
    
    .shop-layout {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar {
        position: static;
    }
    
    .icon-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cabins-grid {
        grid-template-columns: 1fr;
    }
    
    .wishlist-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .icon-grid,
    .features-grid,
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Staff Page Styles */
.staff-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.staff-intro h2 {
    font-size: 36px;
    color: var(--heading-color, var(--primary-color));
    margin-bottom: 20px;
}

.staff-intro .lead {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.staff-card {
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.staff-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.staff-image {
    background: linear-gradient(135deg, var(--primary-color), #3d42a8);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
}

.staff-info {
    padding: 30px;
}

.staff-info h3 {
    font-size: 24px;
    color: var(--heading-color, var(--primary-color));
    margin-bottom: 5px;
}

.staff-role {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.staff-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.staff-contact {
    font-size: 14px;
    color: var(--heading-color, var(--primary-color));
    display: flex;
    align-items: center;
    gap: 8px;
}

.staff-contact i {
    color: var(--secondary-color);
}

.staff-cta {
    background: linear-gradient(135deg, var(--primary-color), #3d42a8);
    color: white;
    padding: 60px;
    border-radius: 12px;
    text-align: center;
}

.staff-cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: white;
}

.staff-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.staff-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.staff-cta .btn-secondary {
    background: var(--card-bg, #ffffff);
    color: var(--heading-color, var(--primary-color));
}

.staff-cta .btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--heading-color, var(--primary-color));
}

@media (max-width: 768px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }
    
    .staff-cta {
        padding: 40px 30px;
    }
    
    .staff-cta .cta-buttons {
        flex-direction: column;
    }
}

/* Advanced Filter Styles */
.filter-box {
    background: linear-gradient(135deg, rgba(47, 49, 146, 0.08) 0%, rgba(47, 49, 146, 0.12) 100%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.filter-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.filter-row,
.filter-row-2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.filter-select,
.filter-input {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 13px;
    background: var(--input-bg, #ffffff);
    color: var(--text-color);
    width: 100%;
    height: 44px;
    box-sizing: border-box;
}

.filter-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666666' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--heading-color, var(--primary-color));
    box-shadow: 0 0 0 2px rgba(47, 49, 146, 0.1);
}

.price-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-select-sm {
    padding: 10px 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 13px;
    flex: 1;
    min-width: 0;
}

.price-range span {
    color: var(--text-light);
    font-weight: 600;
}

/* Shop Page Layout */
.shop-page {
    padding: 40px 0;
}

.shop-page .container {
    max-width: 1250px;
}

/* Filter box full width at top */
.shop-page .filter-box {
    width: 100%;
    margin-bottom: 30px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
}

/* Shop Header with Sort */
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.results-info {
    font-size: 14px;
    color: var(--text-light);
}

.shop-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-controls label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.shop-controls select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 13px;
    background: var(--input-bg, #ffffff);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Shop listing thumbnails: show full image instead of cropping */
.shop-page .products-grid .product-image img {
    /* 1:1 thumbnails: fill the square, no letterboxing */
    object-fit: cover;
    object-position: center;
}

/* Skeleton cards (Shop + other product grids) */
.product-card.is-skeleton {
    border-color: var(--border-color, #eee);
}

.product-card.is-skeleton .product-image {
    background: linear-gradient(90deg, #f2f3f5 0%, #e9eaee 35%, #f2f3f5 70%);
    background-size: 200% 100%;
    animation: dt-skeleton-shimmer 1.2s ease-in-out infinite;
}

.product-card.is-skeleton .product-info {
    padding: 14px 12px;
}

.product-card.is-skeleton .dt-skel-line {
    height: 12px;
    border-radius: 6px;
    background: var(--light-bg, #e9eaee);
    margin: 8px 0;
}

.product-card.is-skeleton .dt-skel-line.short {
    width: 55%;
}

@keyframes dt-skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 1200px) {
    .filter-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .filter-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .shop-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    /* Mobile: compact product cards on Shop */
    .shop-page .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 24px;
    }

    .shop-page .product-info {
        padding: 10px;
    }

    .shop-page .product-name {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.25;
        margin: 0 0 6px;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .shop-page .product-price {
        font-size: 14px;
        margin: 0;
    }
}

@media (max-width: 360px) {
    .shop-page .products-grid {
        grid-template-columns: 1fr;
    }
}

.btn-search {
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    background: var(--primary-color);
    color: white;
}

.btn-search:hover {
    background: var(--primary-dark, #1f2182);
}

.filter-keywords {
    margin-top: 10px;
}

.filter-keywords label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 8px;
    display: block;
}

@media (max-width: 1200px) {
    .filter-row,
    .filter-row-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .filter-row,
    .filter-row-2 {
        grid-template-columns: 1fr;
    }
}

/* Product Detail Page Styles */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: start;
}

.product-layout .product-info {
    background: var(--card-bg, #f3f4f6);
    padding: 30px;
    border-radius: 8px;
}

@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.product-images .main-image {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-bg, #f9f9f9);
    margin-bottom: 15px;
    aspect-ratio: 1 / 1;
}

.product-images .main-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.product-images .image-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-images .thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.product-images .thumbnail:hover {
    opacity: 1;
    border-color: var(--heading-color, var(--primary-color));
    transform: scale(1.05);
}

.product-images .thumbnail.active {
    opacity: 1;
    border-color: var(--heading-color, var(--primary-color));
    box-shadow: 0 0 8px rgba(47, 49, 146, 0.3);
}

.product-info {
    padding: 20px 0;
    position: relative;
    width: 100%;
}

.product-title {
    font-size: 32px;
    color: var(--heading-color, var(--primary-color));
    margin-bottom: 10px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .product-title {
        font-size: 20px;
    }
    
    .product-price .price {
        font-size: 28px;
    }
    
    .product-price .compare-price {
        font-size: 18px;
    }
    
    .product-sku {
        font-size: 12px;
    }
    
    .product-stock {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 18px;
    }
    
    .product-price .price {
        font-size: 24px;
    }
    
    .product-price .compare-price {
        font-size: 16px;
    }
}

.product-sku {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.product-price {
    margin-bottom: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.product-price .price {
    font-size: 40px;
    font-weight: 700;
    color: var(--heading-color, var(--primary-color));
}

.product-price .compare-price {
    font-size: 24px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 15px;
}

.product-stock {
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 600;
}

.in-stock {
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 8px;
}

.in-stock i {
    font-size: 20px;
}

.out-of-stock {
    color: #dc3545;
    display: flex;
    align-items: center;
    gap: 8px;
}

.out-of-stock i {
    font-size: 20px;
}

.product-actions {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    margin: 30px 0;
    padding: 25px;
    background: var(--light-bg, #f8f9fa);
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.quantity-control {
    margin-bottom: 20px;
}

.quantity-control label {
    font-weight: 600;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg, #ffffff);
}

.qty-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: var(--card-bg, #ffffff);
    font-size: 20px;
    font-weight: bold;
    color: var(--heading-color, var(--primary-color));
    cursor: pointer;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-input input {
    width: 70px;
    height: 45px;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    background: var(--input-bg, #ffffff);
    color: var(--text-color);
}

.btn-buy-now {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 700;
    background: var(--secondary-color);
    color: var(--heading-color, var(--primary-color));
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.3s;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-buy-now:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-buy-now i {
    font-size: 20px;
}

.btn-add-cart {
    flex: 1;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart:hover {
    background: var(--primary-dark, #252896);
}

.btn-wishlist {
    width: 55px;
    height: 55px;
    padding: 0;
    font-size: 20px;
    background: var(--card-bg, #ffffff);
    color: var(--heading-color, var(--primary-color));
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.btn-wishlist:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 49, 146, 0.3);
}

.btn-wishlist.active {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.btn-wishlist.active:hover {
    background: #c82333;
    border-color: #c82333;
}

.btn-wishlist i {
    transition: all 0.3s ease;
}

.btn-wishlist.heart-beat {
    animation: heartBeat 0.6s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(0.9); }
    20%, 40% { transform: scale(1.1); }
    50% { transform: scale(1.15); }
}

@keyframes slideInRight {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(400px); opacity: 0; }
}

.product-actions > button:not(:first-child) {
    display: inline-flex;
    margin-right: 10px;
}

.out-of-stock-message {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.product-meta {
    margin-top: 30px;
    padding: 20px;
    background: var(--light-bg, #f8f9fa);
    border-radius: 8px;
}

.meta-row {
    margin-bottom: 12px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-row:last-child {
    margin-bottom: 0;
}

.meta-label {
    font-weight: 600;
    color: var(--heading-color, var(--primary-color));
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-row a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.meta-row a:hover {
    text-decoration: underline;
}

.meta-value {
    color: var(--text-light);
}

.product-description,
.product-specs {
    margin-top: 30px;
}

.product-description h3,
.product-specs h3 {
    font-size: 20px;
    color: var(--heading-color, var(--primary-color));
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-description .desc-content,
.product-specs .specs-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    white-space: pre-line;
}

.product-tabs {
    margin-top: 60px;
    border-top: 2px solid var(--border-color);
    padding-top: 40px;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-button {
    background: var(--light-bg, #f8f9fa);
    border: 2px solid var(--border-color);
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-button:hover {
    background: var(--light-bg, #e9ecef);
    border-color: var(--heading-color, var(--primary-color));
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--heading-color, var(--primary-color));
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.product-tabs .info-box {
    background: var(--light-bg, #f8f9fa);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    display: block;
    white-space: normal;
    max-width: 100%;
}

.product-tabs .info-box h4 {
    font-size: 18px;
    color: var(--heading-color, var(--primary-color));
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-tabs .info-box p {
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 10px;
    overflow-wrap: anywhere;
}

.product-tabs .info-box p:last-child {
    margin-bottom: 0;
}

.product-tabs .info-box a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
}

.product-tabs .info-box a:hover {
    text-decoration: underline;
}

.loading,
.error {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--text-light);
}

.error {
    color: #dc3545;
}

@media (max-width: 968px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-price .price {
        font-size: 32px;
    }
    
    .product-price .compare-price {
        font-size: 18px;
    }
    
    .product-sku {
        font-size: 12px;
    }
    
    .product-stock {
        font-size: 14px;
    }
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
    background: var(--card-bg, #ffffff);
    position: relative;
    overflow: hidden;
}

.hours-item::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    z-index: 2;
}

.hours-item:hover::after,
.hours-item.today::after {
    transform: scaleX(1);
}

.hours-item:first-child {
    border-radius: 8px 8px 0 0;
}

.hours-item:last-of-type {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.hours-item:hover {
    background: var(--light-bg, #f8f9fa);
}

.hours-item.today {
    background: var(--light-bg, #e8e7f5);
    border-left: 4px solid var(--primary-color);
}

.day-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
}

.hours-item.today .day-name {
    font-weight: 700;
    color: var(--heading-color, var(--primary-color));
}

.day-hours {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
}

.hours-item.today .day-hours {
    font-weight: 700;
    color: var(--heading-color, var(--primary-color));
}
/* ============================================
   MEGA MENU RESPONSIVE STYLES
   ============================================ */

/* Tablet - 2 columns */
@media (max-width: 992px) {
    .mega-menu {
        grid-template-columns: repeat(2, 1fr);
        min-width: 500px;
        padding: 20px;
        gap: 20px;
    }
}

/* Mobile - Single column, hide desktop mega menu */
@media (max-width: 768px) {
    .nav-menu .mega-menu {
        display: none;
    }
}

/* Large screens - auto-fit columns */
@media (min-width: 993px) {
    .mega-menu {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Extra large screens - limit max width */
@media (min-width: 1200px) {
    .mega-menu {
        max-width: 1000px;
    }
}

/* Extra phone tuning (frontend) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .product-actions {
        padding: 14px;
    }

    .qty-btn {
        width: 40px;
        height: 40px;
    }

    .quantity-input input {
        width: 60px;
        height: 40px;
        font-size: 16px;
    }

    .product-images .thumbnail {
        width: 64px;
        height: 64px;
    }
}

/* Phone landscape: reduce header height to preserve vertical space */
@media (max-height: 480px) and (orientation: landscape) {
    .header-top {
        padding: 6px 0;
    }

    .header-top-left,
    .header-top-right {
        font-size: 10px;
    }

    .site-header {
        padding: 10px 0;
    }

    .site-header .logo img {
        height: 44px;
    }

    .header-search input {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    .header-search button {
        padding: 10px 14px !important;
        font-size: 13px !important;
    }
}

/* ================================================
   MINIMAL HEADER (logo + search only)
   Only when scrolled (sticky state)
   ================================================ */

:root {
    --dt-sticky-duration: 300ms;
    --dt-sticky-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Unify timing for yellow + blue bars */
.header-top {
    transition: transform var(--dt-sticky-duration) var(--dt-sticky-ease),
                opacity var(--dt-sticky-duration) var(--dt-sticky-ease) !important;
}

.header-top.hidden {
    opacity: 0;
}

.main-nav {
    transition: transform var(--dt-sticky-duration) var(--dt-sticky-ease),
                opacity var(--dt-sticky-duration) var(--dt-sticky-ease) !important;
}

.main-nav.sticky {
    opacity: 0;
    pointer-events: none;
}

/* Desktop: keep main nav visible even when sticky */
@media (min-width: 769px) {
    .main-nav.sticky {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) !important;
    }
}

@media (max-width: 768px) {
    .main-nav.sticky {
        opacity: 1;
        pointer-events: auto;
    }
}

/* When sticky, collapse header to single row and hide nav/menu */
.site-header.sticky {
    top: 0 !important;
    transform: translateY(0) !important;
    padding: 10px 0 !important;
}



/* Keep nav in DOM so it can animate out (don't hard-hide) */
/* (intentionally no override here; visibility is controlled by .d-none) */

/* Reduce reserved space once sticky (topbar + nav are hidden) */
.header-top.hidden ~ .site-header {
    top: 0 !important;
}

/* Non-home pages: always compact header, hide topbar/nav completely */
body:not([data-header-mode="expandable"]) .header-top {
    display: none !important;
}

body:not([data-header-mode="expandable"]) {
    --dt-topbar-height: 0px;
    --dt-siteheader-height: 70px;
    --dt-nav-height: 52px;
    --dt-header-offset: 122px;
}

body:not([data-header-mode="expandable"]) .site-header {
    top: 0 !important;
    padding: 10px 0 !important;
    transition: none !important;
    background: #eaeaf4 !important;
    min-height: var(--dt-siteheader-height, 70px);
    box-sizing: border-box;
}

/* Desktop-only: compact row layout for non-homepage */
@media (min-width: 1025px) {
    body:not([data-header-mode="expandable"]) .main-nav {
        display: block !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transition: none !important;
    }

    body:not([data-header-mode="expandable"]).dt-scrolled .main-nav {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    body:not([data-header-mode="expandable"]) .site-header .header-content {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center;
        gap: 12px !important;
    }

    body:not([data-header-mode="expandable"]) .site-header .logo {
        text-align: left !important;
        flex: 0 0 auto;
    }

    body:not([data-header-mode="expandable"]) .site-header .logo img {
        height: 36px !important;
        width: auto;
        mix-blend-mode: multiply;
    }

    body:not([data-header-mode="expandable"]) .site-header .header-search {
        flex: 1 1 auto;
        max-width: none !important;
    }
}

/* Desktop: when scrolled, hide the main nav bar to save space (search stays in header) */
@media (min-width: 769px) {
    body.dt-scrolled .main-nav {
        transform: translateY(-110%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* Desktop-only: compact row layout when header-top scrolls away */
@media (min-width: 1025px) {
    .header-top.hidden ~ .site-header .header-content {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center;
        gap: 12px !important;
    }

    .header-top.hidden ~ .site-header .logo {
        text-align: left !important;
        flex: 0 0 auto;
    }

    .header-top.hidden ~ .site-header .logo img {
        height: 36px !important;
        width: auto;
    }

    .header-top.hidden ~ .site-header .header-search {
        flex: 1 1 auto;
        max-width: none !important;
    }
}

@media (max-width: 768px) {
    .header-top.hidden ~ .site-header .container {
        padding: 0 16px;
    }

    .header-top.hidden ~ .site-header .logo img {
        height: 30px !important;
    }

    .header-top.hidden ~ .site-header .header-search input {
        font-size: 13px !important;
        padding: 10px 12px !important;
    }

    .header-top.hidden ~ .site-header .header-search button {
        padding: 10px 14px !important;
        font-size: 13px !important;
    }

    body:not([data-header-mode="expandable"]) .site-header .container {
        padding: 0 16px;
    }

    body:not([data-header-mode="expandable"]) .site-header .logo img {
        height: 30px !important;
        mix-blend-mode: multiply;
    }

    body:not([data-header-mode="expandable"]) .site-header .header-search input {
        font-size: 13px !important;
        padding: 10px 12px !important;
    }

    body:not([data-header-mode="expandable"]) .site-header .header-search button {
        padding: 10px 14px !important;
        font-size: 13px !important;
    }
}

/* ======================================================
   HOME PAGE: native sticky search bar
   Yellow bar + logo scroll away with the page naturally.
   The site-header (containing the search bar) sticks to
   the top of the viewport when it reaches the top edge.
   All JS compact/animate logic is bypassed on this page.
   ====================================================== */
body[data-header-mode="expandable"] {
    padding-top: 0 !important;
}

/* Yellow top bar — in normal flow, scrolls with page */
body[data-header-mode="expandable"] .header-top {
    position: relative !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
    top: auto !important;
}

/* Neutralise JS-toggled .hidden class so it has no visual effect */
body[data-header-mode="expandable"] .header-top.hidden {
    transform: none !important;
    opacity: 1 !important;
    display: block !important;
}

/* Site header (logo + search) — partially sticky.
   top: -120px = padding-top(25) + logo-height(80) + flex-gap(15).
   Logo scrolls above the viewport; search bar sticks at top edge.
   z-index 2001 ensures it paints above main-nav (z-index 2000). */
body[data-header-mode="expandable"] .site-header {
    position: sticky !important;
    top: -120px !important;
    z-index: 2001 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
}

/* Neutralise JS-toggled .sticky class */
body[data-header-mode="expandable"] .site-header.sticky {
    transform: none !important;
    padding: 25px 0 !important;
    top: -120px !important;
}

/* Blue nav bar — in normal flow, scrolls away with the page */
body[data-header-mode="expandable"] .main-nav {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: none !important;
    will-change: auto !important;
}

/* Neutralise dt-scrolled and .sticky states on nav for home page */
body[data-header-mode="expandable"].dt-scrolled .main-nav,
body[data-header-mode="expandable"] .main-nav.sticky {
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* ======== NAV QUICK ICONS (Login/Wishlist/Cart on blue bar) ======== */
/* Only show when header-top is hidden (non-homepage compact mode) */
body[data-header-mode="expandable"] .nav-quick-icons {
    display: none !important;
}

.nav-quick-icons {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.main-nav .container {
    position: relative;
}

.nav-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: rgba(255,255,255,0.85);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.2s ease;
    font-size: 15px;
    text-decoration: none;
}

.nav-icon-link:hover {
    background: rgba(255,255,255,0.15);
    color: var(--secondary-color);
}

.nav-icon-badge {
    position: absolute;
    top: 2px;
    right: 0;
    background: var(--secondary-color);
    color: var(--text-on-secondary, #1a1a6e);
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 99px;
    padding: 0 3px;
}

/* Hide badge when count is 0 */
.nav-icon-badge:empty,
.nav-icon-badge[data-count="0"] {
    display: none;
}

/* ======== FLOATING CART PANEL ======== */
.floating-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.floating-cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.floating-cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: var(--card-bg, #fff);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 24px rgba(0,0,0,0.2);
}

.floating-cart-panel.open {
    transform: translateX(0);
}

.floating-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    flex-shrink: 0;
}

.floating-cart-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.floating-cart-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.floating-cart-close:hover {
    background: rgba(255,255,255,0.3);
}

.floating-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.floating-cart-loading,
.floating-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: center;
}

.floating-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.floating-cart-item:hover {
    background: var(--light-color, #fafafa);
}

.floating-cart-item-img {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--light-color, #f5f5f5);
}

.floating-cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-cart-item-info {
    flex: 1;
    min-width: 0;
}

.floating-cart-item-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.floating-cart-item-price {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 2px;
}

.floating-cart-item-total {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--heading-color, var(--primary-color));
    margin-top: 2px;
}

.floating-cart-item-remove {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 8px;
    font-size: 14px;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
}

.floating-cart-item-remove:hover {
    color: #dc2626;
    background: #fee2e2;
}

.floating-cart-footer {
    flex-shrink: 0;
    padding: 16px 20px;
    border-top: 2px solid var(--border-color, #f0f0f0);
    background: var(--light-color, #fafafa);
}

.floating-cart-totals {
    margin-bottom: 14px;
}

.floating-cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
}

.btn-view-cart,
.btn-checkout {
    display: block;
    text-align: center;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 8px;
}

.btn-view-cart {
    background: var(--light-color, #f0f0f0);
    color: var(--text-color);
}

.btn-view-cart:hover {
    background: var(--border-color);
}

.btn-checkout {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-on-primary);
    margin-bottom: 0;
}

.btn-checkout:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Mobile: hide nav quick icons, use mobile-header-icons instead */
@media (max-width: 768px) {
    .nav-quick-icons {
        display: none;
    }

    .floating-cart-panel {
        width: 100vw;
        max-width: 100vw;
    }
}

/* ============================================================
   COMPREHENSIVE RESPONSIVE OVERHAUL
   Mobile, Tablet (portrait & landscape)
   Does NOT affect desktop (>1024px)
   ============================================================ */

/* -------- TABLET PORTRAIT (768px - 1024px) -------- */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    /* === TABLET HEADER: Use mobile-style layout === */
    .site-header .header-content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .site-header .header-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        min-height: 44px;
    }

    .mobile-hamburger {
        display: inline-flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: none;
        background: transparent;
        color: var(--heading-color, var(--primary-color));
        font-size: 22px;
        cursor: pointer;
    }

    .site-header .header-row .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    .site-header .logo img {
        height: 60px;
        width: auto;
    }

    .mobile-header-icons {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 12px;
    }

    .mobile-icon-link {
        position: relative;
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--heading-color, var(--primary-color));
        text-decoration: none;
    }

    .mobile-icon-link i {
        font-size: 20px;
    }

    .mobile-icon-badge {
        position: absolute;
        top: -2px;
        right: -2px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 999px;
        background: var(--secondary-color);
        color: var(--text-color);
        font-size: 11px;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    /* Hide desktop blue nav on tablet - use hamburger instead */
    .main-nav {
        display: none !important;
    }

    /* Hide header-info on tablet */
    .header-info {
        display: none !important;
    }

    .header-top-right {
        display: none !important;
    }

    .location-full {
        display: none;
    }

    .location-short {
        display: inline;
    }

    /* Hero banner - reduce for tablet */
    .hero-banner {
        height: 380px;
    }

    .hero-content {
        padding: 35px 40px;
        max-width: 680px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    /* Products carousel - 3 columns on tablet */
    .products-carousel {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    /* Info boxes - 3 columns still OK, reduce gap */
    .info-boxes-grid {
        gap: 20px;
    }

    /* CTA panels - stack on tablet portrait */
    .cta-panels-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-panels {
        padding: 40px 0;
    }

    /* Newsletter - wrap */
    .newsletter-section .container {
        flex-wrap: wrap;
        gap: 16px;
    }

    .newsletter-section h3 {
        white-space: normal;
        text-align: center;
        width: 100%;
        font-size: 18px;
    }

    .newsletter-form {
        width: 100%;
        justify-content: center;
    }

    .newsletter-form input[type="text"],
    .newsletter-form input[type="email"] {
        flex: 1;
        min-width: 0;
        width: auto;
    }

    /* Ranges grid - 3 columns on tablet */
    .ranges-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* Footer - 2x2 grid on tablet */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-mobile {
        display: none;
    }

    /* Stats/features - 2 cols */
    .stats-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* CTA section padding */
    .cta-section {
        padding: 40px 30px;
    }

    /* Two-column layout (contact, about) - still 2-col but smaller sidebar */
    .two-column-layout {
        gap: 30px;
    }

    .sidebar {
        min-width: 220px;
    }

    /* Product layout - 2 cols still, but tighter */
    .product-layout {
        gap: 30px;
    }

    /* Search autocomplete cap */
    .search-autocomplete {
        max-height: 60vh;
    }

    /* Shop filters - 3 columns */
    .filter-row {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* -------- TABLET LANDSCAPE (1025px - 1280px) -------- */
@media (min-width: 1025px) and (max-width: 1280px) {
    .container {
        padding: 0 30px;
    }

    .hero-banner {
        height: 420px;
    }

    .hero-content {
        padding: 40px 50px;
        max-width: 750px;
    }

    .products-carousel {
        grid-template-columns: repeat(4, 1fr);
    }

    .ranges-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* -------- MOBILE (max 768px) ENHANCEMENTS -------- */
@media (max-width: 768px) {
    /* Fix iOS auto-zoom on inputs - must be >= 16px */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="number"],
    input[type="search"],
    input[type="url"],
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Products carousel - 2 columns */
    .products-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* CTA panels - stack */
    .cta-panels-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-panels {
        padding: 30px 0;
    }

    .cta-panel h2 {
        font-size: 22px;
    }

    .cta-panel h3 {
        font-size: 15px;
    }

    .cta-panel p {
        font-size: 14px;
    }

    /* Newsletter - full stack */
    .newsletter-section {
        padding: 20px 0;
    }

    .newsletter-section .container {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-section h3 {
        white-space: normal;
        font-size: 16px;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input[type="text"],
    .newsletter-form input[type="email"] {
        width: 100%;
        font-size: 16px;
    }

    .newsletter-form .btn-subscribe {
        width: 100%;
        padding: 12px;
    }

    /* Info boxes - stack */
    .info-boxes-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .info-box-item {
        padding: 16px;
    }

    /* CTA section padding */
    .cta-section {
        padding: 30px 20px;
        margin: 24px 0;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }

    /* Content pages (contact, about) - stack */
    .two-column-layout {
        flex-direction: column;
        gap: 24px;
    }

    .content-main {
        padding: 20px !important;
    }

    .sidebar {
        padding: 16px !important;
    }

    /* Contact form rows - stack */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        width: 100% !important;
    }

    /* Map section */
    .map-container iframe {
        height: 280px;
    }

    /* Search autocomplete - cap height */
    .search-autocomplete {
        max-height: 50vh;
        overflow-y: auto;
    }

    /* Product detail - improve touch targets */
    .product-actions .btn,
    .product-actions button {
        min-height: 48px;
        font-size: 15px;
    }

    .qty-btn {
        min-width: 44px;
        min-height: 44px;
    }

    /* Touch-friendly filter checkboxes */
    .filter-checkbox {
        min-width: 20px;
        min-height: 20px;
    }

    .filter-checkbox + label,
    .filter-label {
        padding: 8px 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Product info on detail page */
    .product-layout .product-info {
        padding: 20px 16px;
    }

    /* Tabs - horizontal scroll on mobile */
    .tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
    }

    .tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-button {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 12px 16px;
        font-size: 13px;
    }

    /* Product card actions - always visible on touch */
    .product-actions {
        opacity: 1;
    }

    .product-card .product-actions {
        opacity: 1;
        position: static;
        display: flex;
        justify-content: center;
        padding: 8px;
        gap: 8px;
    }

    .product-card .product-actions a {
        width: 40px;
        height: 40px;
    }

    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Features grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Staff grid */
    .staff-grid {
        grid-template-columns: 1fr;
    }

    /* CTA staff section */
    .staff-cta {
        padding: 30px 20px;
    }

    /* Icon grid */
    .icon-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Filter box compact */
    .filter-box {
        padding: 16px;
    }

    .filter-row {
        gap: 12px !important;
    }

    #dimension-row {
        flex-direction: column !important;
        gap: 12px !important;
    }

    /* Page header compact */
    .page-header {
        padding: 20px 0;
    }

    .page-header h1 {
        font-size: 22px;
    }

    .breadcrumb {
        font-size: 12px;
    }

    /* Body fallback padding - prevent excessive top space */
    body {
        padding-top: var(--dt-header-total-height, 120px);
    }
}

/* -------- SMALL PHONE (max 480px) ENHANCEMENTS -------- */
@media (max-width: 480px) {
    /* Products carousel single col at very small */
    .products-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-card .product-name {
        font-size: 13px;
    }

    .product-card .product-price {
        font-size: 15px;
    }

    /* Floating cart - bigger touch targets */
    .floating-cart-item {
        padding: 12px;
        gap: 10px;
    }

    .floating-cart-item-remove {
        padding: 10px;
        font-size: 16px;
    }

    .floating-cart-close {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    /* Info box item */
    .info-box-item h2 {
        font-size: 17px;
    }

    .info-box-item p {
        font-size: 13px;
    }

    /* Range cards - taller for touch */
    .range-card {
        height: 180px;
    }

    /* Feature box */
    .feature-box {
        padding: 20px 16px;
    }

    .feature-box i {
        font-size: 36px;
    }
}

/* -------- LANDSCAPE PHONE MODE -------- */
@media (orientation: landscape) and (max-width: 926px) and (max-height: 500px) {
    /* Ultra-compact header */
    .site-header {
        padding: 4px 0;
    }

    .site-header .header-content {
        gap: 0;
    }

    .site-header .header-row {
        min-height: 36px;
    }

    .site-header .logo img {
        height: 30px;
    }

    /* Make header non-fixed in landscape to free space */
    .site-header {
        position: relative !important;
        top: auto !important;
    }

    .header-top {
        position: relative !important;
        top: auto !important;
    }

    body {
        padding-top: 0 !important;
    }

    /* Bottom nav - ultra compact in landscape */
    .mobile-bottom-nav {
        height: 44px !important;
    }

    .mobile-bottom-link {
        font-size: 9px;
        gap: 1px;
    }

    .mobile-bottom-link i {
        font-size: 16px;
    }

    body {
        padding-bottom: 48px;
    }

    /* Hero banner - much smaller in landscape phone */
    .hero-banner {
        height: 250px;
    }

    /* Search autocomplete - limited */
    .search-autocomplete {
        max-height: 40vh;
    }

    /* Reduce padding everywhere */
    .container {
        padding: 0 16px;
    }

    .content-main {
        padding: 16px !important;
    }

    /* Page header - ultra compact in landscape */
    .page-header {
        padding: 8px 0 !important;
    }

    .page-header h1 {
        font-size: 16px !important;
    }

    .breadcrumb {
        font-size: 10px;
    }

    /* Products grid - 3 cols landscape phone */
    .products-carousel,
    .shop-page .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Product layout - side by side in landscape */
    .product-layout {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* CTA panels side by side */
    .cta-panels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cta-panels {
        padding: 16px 0;
    }

    .cta-panel h3 {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .cta-panel h2 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .cta-panel p {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .cta-panel .button-wrap {
        margin-bottom: 8px;
    }

    .cta-panel .btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Info boxes - 3 col compact */
    .info-boxes-section {
        padding: 14px 0;
    }

    .info-boxes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .info-box-item {
        padding: 8px 6px;
    }

    .info-box-item h2 {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .info-box-item p {
        font-size: 11px;
        line-height: 1.4;
    }

    /* Product cards compact */
    .product-card .product-name {
        font-size: 13px;
    }

    .product-card .product-price {
        font-size: 15px;
    }

    .product-card .product-actions {
        padding: 4px;
        gap: 4px;
    }

    .product-card .product-actions a {
        width: 30px;
        height: 30px;
    }

    /* Two column stays side by side */
    .two-column-layout {
        flex-direction: row;
    }

    /* Opening hours modal */
    .opening-hours-modal .modal-content {
        max-height: 80vh;
        overflow-y: auto;
    }

    /* Floating cart - narrower in landscape */
    .floating-cart-panel {
        width: 380px;
        max-width: 60vw;
    }

    /* ---- Footer compact in landscape ---- */
    .site-footer {
        padding: 10px 0 8px !important;
    }

    .footer-mobile-section {
        padding: 0 0 4px;
    }

    .footer-mobile-title {
        font-size: 13px;
        margin: 0 0 4px;
        gap: 6px;
    }

    .footer-mobile-title i {
        font-size: 12px;
    }

    .footer-mobile-list {
        gap: 4px;
    }

    .footer-mobile-item {
        font-size: 11px;
        gap: 6px;
    }

    .footer-mobile-item i {
        font-size: 11px;
        width: 14px;
    }

    .footer-mobile-divider {
        margin: 6px 0;
    }

    .footer-mobile-card {
        padding: 6px;
        border-radius: 6px;
    }

    .footer-mobile-map iframe {
        height: 100px;
    }

    .footer-mobile-address {
        font-size: 11px;
        margin: 4px 0;
    }

    .footer-mobile-directions {
        font-size: 11px;
        padding: 5px 10px;
        border-radius: 6px;
    }

    .footer-mobile-meta {
        margin-top: 6px;
    }

    .footer-mobile-copy {
        font-size: 10px;
        margin: 0 0 4px;
    }

    .footer-mobile-social {
        gap: 10px;
    }

    .footer-mobile-social a {
        font-size: 14px;
    }

    /* ---- Wishlist compact in landscape ---- */
    .wishlist-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }

    .wishlist-header {
        margin-bottom: 12px;
    }

    .wishlist-header h1 {
        font-size: 18px !important;
    }

    .empty-wishlist {
        padding: 30px 20px !important;
    }

    .empty-wishlist i {
        font-size: 40px !important;
    }
}

/* -------- LANDSCAPE TABLET -------- */
@media (orientation: landscape) and (min-width: 927px) and (max-width: 1366px) and (max-height: 800px) {
    .hero-banner {
        height: 350px;
    }

    .hero-content {
        padding: 30px 40px;
        max-width: 600px;
    }

    .hero-content h2 {
        font-size: 26px;
    }
}

/* -------- SAFE AREA (notch phones) -------- */
@supports (padding: env(safe-area-inset-bottom)) {
    @media (max-width: 768px) {
        .mobile-bottom-nav {
            padding-bottom: env(safe-area-inset-bottom);
        }

        .floating-cart-footer {
            padding-bottom: calc(16px + env(safe-area-inset-bottom));
        }

        body {
            padding-bottom: calc(var(--dt-bottom-nav-height, 64px) + env(safe-area-inset-bottom));
        }
    }
}

/* -------- HOVER vs TOUCH devices -------- */
@media (hover: none) and (pointer: coarse) {
    /* Always show product actions on touch */
    .product-card .product-actions {
        opacity: 1;
    }

    /* Range card - no hover transform on touch */
    .range-card:hover {
        transform: none;
    }

    /* Larger touch targets for links */
    .breadcrumb a,
    .breadcrumb span {
        padding: 4px 2px;
        min-height: 32px;
        display: inline-flex;
        align-items: center;
    }

    /* Pagination - bigger touch targets */
    .pagination button,
    .pagination a {
        min-width: 44px;
        min-height: 44px;
        padding: 10px 14px;
    }
}

/* -------- PRINT (hide nav, footer, floating elements) -------- */
@media print {
    .header-top,
    .main-nav,
    .mobile-bottom-nav,
    .floating-cart-panel,
    .floating-cart-overlay,
    .back-to-top,
    .nav-quick-icons,
    .site-footer,
    .footer-mobile {
        display: none !important;
    }

    body {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}
