/* Manhattan Decor - Urban Outfitters Style */

:root {
    /* STRICTLY BLACK AND WHITE ONLY */
    --black: 0 0% 0%;               /* #000000 */
    --white: 0 0% 100%;             /* #FFFFFF */
    --light-gray: 0 0% 90%;         /* #E6E6E6 - Very light gray for borders */
    --medium-gray: 0 0% 70%;        /* #B3B3B3 - Medium gray for subtle elements */
    
    /* Typography */
    --font-headers: 'Helvetica', Arial, sans-serif;
    --font-text: Arial, sans-serif;
    
    /* Spacing and Layout */
    --container-max-width: 1440px;
    --border-radius: 0px;
    --box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --transition: all 0.2s ease;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-text);
    background-color: hsl(var(--white));
    color: hsl(var(--black));
    line-height: 1.5;
    margin: 0;
    padding: 0;
    font-size: 18px;
}

/* Typography - Black and White Only */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headers);
    font-weight: bold;
    color: hsl(var(--black));
    margin-bottom: 1rem;
    letter-spacing: 0;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: 0;
    font-weight: bold;
}

h2 {
    font-size: 2.5rem;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

h3 {
    font-size: 2rem;
    font-weight: bold;
}

h4 {
    font-size: 1.5rem;
    font-weight: bold;
}

h5 {
    font-size: 1.25rem;
    font-weight: bold;
}

h6 {
    font-size: 1.125rem;
    font-weight: bold;
}

.display-font {
    font-family: var(--font-headers);
    font-weight: bold;
    letter-spacing: 0;
}

p, span, div, li, a {
    font-size: 18px;
    line-height: 1.6;
}

/* Header and Navigation - Black and White Only */
.navbar {
    background: hsl(var(--white));
    border-bottom: 2px solid hsl(var(--black));
    box-shadow: none;
    padding: 1rem 0;
    z-index: 1030 !important;
}

/* Mobile Navigation Adjustments */
@media (max-width: 991px) {
    .navbar {
        border-bottom: none;
        padding: 0.5rem 0;
    }
}

/* Black and white borough images on all devices */
.borough-card {
    filter: grayscale(100%) !important;
}

/* Ensure equal height for all borough cards */
.borough-cards-row {
    display: flex;
    flex-wrap: wrap;
}

.borough-cards-row .col {
    display: flex;
}

.borough-cards-row .borough-card {
    width: 100%;
    min-height: 350px;
}

/* Large Favorites heading and subtitle for desktop and tablet */
@media (min-width: 768px) {
    .favorites-section .section-title {
        font-size: 4.5rem !important;
        font-weight: 700 !important;
        line-height: 0.9 !important;
        margin-bottom: 2rem !important;
    }
    
    .favorites-section .text-muted {
        font-size: 1.5rem !important;
        margin-bottom: 3rem !important;
    }
}

/* Large Favorites subtitle for mobile */
@media (max-width: 767px) {
    .favorites-section .text-muted {
        font-size: 1.25rem !important;
        margin-bottom: 2rem !important;
    }
}

/* Large Featured Posters heading for desktop and tablet */
@media (min-width: 768px) {
    .featured-section .section-title {
        font-size: 4.5rem !important;
        font-weight: 700 !important;
        line-height: 0.9 !important;
        margin-bottom: 2rem !important;
    }
}

/* Large Featured Posters heading for mobile */
@media (max-width: 767px) {
    .featured-section .section-title {
        font-size: 3.5rem !important;
        font-weight: 700 !important;
        line-height: 0.9 !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Mobile-specific borough card alignment */
@media (max-width: 767px) {
    .borough-cards-row .borough-card .d-flex {
        justify-content: flex-start !important;
        align-items: flex-start !important;
        padding-top: 2rem !important;
    }
    
    .borough-cards-row .borough-card .d-flex > div:first-child {
        flex-grow: 0 !important;
        justify-content: flex-start !important;
        margin-bottom: 2rem !important;
    }
    
    .borough-cards-row .borough-card .btn {
        position: absolute !important;
        bottom: 1.5rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-top: 0 !important;
    }
}

/* Explore Our Collections - Equal height cards */
.collections-section .row {
    display: flex;
    flex-wrap: wrap;
}

.collections-section .card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 350px !important;
}

.collections-section .card-body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.collections-section .card-text {
    flex: 1 !important;
    margin-bottom: 1rem !important;
}

/* Mobile Perfect for Any Frame Section */
@media (max-width: 767px) {
    /* Reduce hero section top padding on mobile */
    .hero-section {
        padding-top: 0 !important;
    }
    .perfect-frame-section .btn-outline-primary {
        margin-bottom: 35px;
    }
    
    /* Hide Explore Our Collections section on mobile */
    .collections-section {
        display: none !important;
    }
    
    /* Hide New Arrivals section on mobile */
    .new-arrivals-section {
        display: none !important;
    }
    
    /* Mobile Category Page Modifications */
    .category-header .lead,
    .category-header .breadcrumb {
        display: none !important;
    }
    
    .category-header h1 {
        font-weight: bold !important;
        margin-bottom: 1rem !important;
    }
    
    .category-sidebar {
        display: none !important;
    }
    
    .mobile-category-dropdown {
        display: block !important;
        margin-bottom: 1.5rem;
    }
    
    /* Adjust main content area when sidebar is hidden */
    .col-lg-9 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    /* Hide sorting controls on mobile */
    .category-sorting-controls {
        display: none !important;
    }
    
    /* Reduce space between dropdown and products */
    .mobile-category-dropdown {
        margin-bottom: 0.1rem !important;
    }
    
    .category-header {
        margin-bottom: 0.1rem !important;
    }
    
    /* Minimal space before first product */
    .row.mb-5 {
        margin-bottom: 0.25rem !important;
    }
    
    /* Reduce space between navigation and category heading */
    .container.py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    /* Product page mobile spacing */
    .row.g-5 {
        gap: 1rem !important;
    }
    
    /* Reduce space between image and product name */
    .product-detail-spacing {
        margin-top: 0.5rem !important;
    }
    
    /* Product page badges styling to match product cards */
    .product-detail-badges .badge {
        background-color: #FFD854 !important;
        color: #000 !important;
        padding: 0.5rem 1rem !important;
        border-radius: 0 !important;
        font-size: 14px !important;
        font-weight: bold !important;
        text-transform: uppercase !important;
        margin-right: 0.5rem !important;
        margin-bottom: 0.5rem !important;
        display: inline-block !important;
    }
    
    /* Remove rounded edges from product image on mobile */
    .product-detail-image {
        border-radius: 0 !important;
    }
    
    /* Mobile Footer Complete Redesign */
    .footer {
        padding: 1.5rem 0 1rem !important;
        margin-top: 2rem !important;
    }
    
    .footer .container {
        max-width: 100% !important;
        padding: 0 1rem !important;
    }
    
    /* Hide all footer columns except first one on mobile */
    .footer .col-md-2 {
        display: none !important;
    }
    
    .footer .col-md-4 {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
    }
    
    .footer .col-md-4 h5 {
        font-size: 1.3rem !important;
        margin-bottom: 0.75rem !important;
        font-weight: bold !important;
    }
    
    .footer .col-md-4 p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
        padding: 0 1rem !important;
    }
    
    .footer .social-links {
        display: flex !important;
        justify-content: center !important;
        gap: 1.5rem !important;
        margin: 1rem 0 !important;
    }
    
    .footer .social-links a {
        font-size: 1.5rem !important;
        margin: 0 !important;
        transition: transform 0.2s ease !important;
    }
    
    .footer .social-links a:hover {
        transform: scale(1.1) !important;
    }
    
    /* Make all footer links white in all states */
    .footer a {
        color: white !important;
        text-decoration: none !important;
    }
    
    .footer a:hover {
        color: white !important;
        text-decoration: underline !important;
    }
    
    .footer a:visited {
        color: white !important;
    }
    
    .footer a:active {
        color: white !important;
    }
    
    .footer a:focus {
        color: white !important;
    }

/* Hide Login, Register, and Search from navigation - FORCE HIDE */
.search-container,
.search-container *,
button#searchToggle,
.search-form {
    display: none !important;
    visibility: hidden !important;
}

/* FORCE HIDE login and register nav items with multiple selectors */
.navbar-nav .nav-item.auth-item,
.navbar-nav .nav-item.auth-item *,
.navbar-nav .nav-item .nav-link[href*="login"],
.navbar-nav .nav-item .nav-link[href*="register"],
.navbar-nav li:nth-last-child(2):not(.cart-item),
.navbar-nav li:nth-last-child(1):not(.cart-item),
a[href*="/login"],
a[href*="/register"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Mobile navigation hiding */
.mobile-auth-item,
.mobile-auth-item *,
.mobile-nav-link[href*="login"],
.mobile-nav-link[href*="register"] {
    display: none !important;
    visibility: hidden !important;
}
    
    /* Simplified copyright section */
    .footer hr {
        margin: 1.5rem 0 1rem !important;
        border-color: rgba(255,255,255,0.3) !important;
    }
    
    .footer .row.align-items-center {
        text-align: center !important;
    }
    
    .footer .row.align-items-center .col-md-6 {
        width: 100% !important;
        margin-bottom: 0.5rem !important;
    }
    
    .footer .row.align-items-center p {
        font-size: 0.75rem !important;
        margin-bottom: 0.25rem !important;
        opacity: 0.9 !important;
    }
    
    /* Remove rounded edges from product badges on mobile */
    .product-badge.featured,
    .product-badge.new {
        border-radius: 0 !important;
    }
    
    /* Adjust badge positioning on mobile */
    .product-badge {
        padding: 0.4rem 0.8rem !important;
        font-size: 12px !important;
    }
    
    .product-badge.featured {
        top: 10px !important;
        left: 10px !important;
    }
    
    .product-badge.new {
        top: 48px;
        left: 10px !important;
    }
    
    /* Override for category page badges on mobile */
    .product-badge {
        left: 12px !important;
        padding: 0.4rem 0.8rem !important;
        font-size: 12px !important;
    }
    
    .product-badge.featured {
        top: 12px !important;
        left: 12px !important;
    }
    
    .product-badge.new {
        top: 50px;
        left: 12px !important;
    }
    
    /* Fix image cropping on mobile category pages */
    .product-image {
        height: auto !important;
        min-height: auto !important;
        background: white !important;
        padding: 0.5rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .product-image img {
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        width: 100% !important;
        aspect-ratio: auto !important;
    }
    
    /* Fix mobile favorites section image cropping */
    .mobile-product-card {
        height: auto !important;
        min-height: 300px !important;
        border: none !important;
        background: transparent !important;
    }
    
    .mobile-product-card .product-image {
        height: auto !important;
        min-height: 220px !important;
        background: white !important;
        padding: 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: visible !important;
        flex: 1 !important;
    }
    
    .mobile-product-card .product-image img,
    .mobile-product-card img.img-fluid {
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center !important;
        width: 100% !important;
        aspect-ratio: auto !important;
        background: white !important;
    }
    
    /* Also apply to mobile favorites grid images */
    .mobile-favorites-grid .product-image {
        background: white !important;
        padding: 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: auto !important;
        min-height: 220px !important;
    }
    
    .mobile-favorites-grid .product-image img {
        object-fit: contain !important;
        object-position: center !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        background: white !important;
        aspect-ratio: auto !important;
    }
    
    .mobile-product-info {
        height: auto !important;
        min-height: 80px !important;
        padding: 0.75rem !important;
        flex-shrink: 0 !important;
    }
    
    /* Make Favorites "View All" button match mobile hero design on mobile only */
    .favorites-view-all-btn {
        background: hsl(var(--white)) !important;
        border: 2px solid hsl(var(--black)) !important;
        color: hsl(var(--black)) !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        padding: 0.75rem 1.25rem !important;
        border-radius: 0 !important;
        width: auto !important;
        font-size: 0.9rem !important;
    }
    
    .favorites-view-all-btn:hover {
        background: hsl(var(--black)) !important;
        color: hsl(var(--white)) !important;
        border-color: hsl(var(--black)) !important;
    }
    
    .product-card {
        height: auto !important;
        min-height: auto !important;
    }
    
    /* Make product names much larger on mobile category pages */
    .product-title,
    h3.product-title,
    .product-info .product-title,
    .product-card .product-title {
        font-size: 2.2rem !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Product page mobile styling */
    .product-details h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    /* Hide breadcrumbs on mobile */
    nav[aria-label="breadcrumb"] {
        display: none !important;
    }
    
    /* Minimal space between header and product section */
    .container.py-5 {
        padding-top: 0.5rem !important;
    }
    
    /* Eliminate space between zoom text and product heading on mobile */
    .mt-3 {
        margin-top: 0 !important;
    }
    
    .row.g-5 .col-lg-4 + .col-lg-8 {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .product-detail-spacing {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    /* Mobile specifications cards styling */
    .mobile-specs-grid .card {
        border: 1px solid #dee2e6 !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
        transition: transform 0.2s ease !important;
    }
    
    .mobile-specs-grid .card:hover {
        transform: translateY(-2px) !important;
    }
    
    .mobile-specs-grid .card-title {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .mobile-specs-grid .card-text {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
    
    .mobile-specs-grid .card-body {
        padding: 1rem 0.75rem !important;
    }
    
    .mobile-specs-grid .fa-2x {
        font-size: 1.5rem !important;
    }
    
    /* Mobile Related Products Styling */
    .mobile-related-products .mobile-product-card {
        border: 1px solid #000 !important;
        border-radius: 0 !important;
        transition: transform 0.2s ease !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    .mobile-related-products .mobile-product-card:hover {
        transform: translateY(-2px) !important;
    }
    
    .mobile-related-products .mobile-product-img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        background: white !important;
        padding: 0.75rem !important;
        border-bottom: 1px solid #eee !important;
        aspect-ratio: auto !important;
    }
    
    .mobile-related-products .mobile-product-title {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.2 !important;
    }
    
    .mobile-related-products .mobile-product-price {
        font-size: 0.9rem !important;
        font-weight: bold !important;
        margin-bottom: 0.5rem !important;
        color: #000 !important;
    }
    
    .mobile-related-products .mobile-product-btn {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.5rem !important;
        border-color: #000 !important;
        color: #000 !important;
        width: 100% !important;
    }
    
    .mobile-related-products .mobile-badge {
        position: absolute !important;
        top: 5px !important;
        left: 5px !important;
        background-color: #FFD854 !important;
        color: #000 !important;
        font-size: 0.6rem !important;
        padding: 0.2rem 0.4rem !important;
        border-radius: 3px !important;
        font-weight: bold !important;
        text-transform: uppercase !important;
        z-index: 2 !important;
    }
    
    .mobile-related-products .mobile-badge.new {
        top: 25px !important;
    }
}

.navbar-brand {
    font-size: 2rem;
    font-weight: bold;
    color: hsl(var(--black)) !important;
    text-transform: uppercase;
    letter-spacing: 0;
    font-family: var(--font-headers);
}

.navbar-nav .nav-link {
    color: hsl(var(--black)) !important;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0;
    padding: 1rem 1.5rem !important;
    transition: var(--transition);
    font-size: 18px;
    text-decoration: none;
}

.navbar-nav .nav-link:hover {
    color: hsl(var(--medium-gray)) !important;
    transform: none;
}

/* Ensure Cart link matches navigation styling */
.navbar .nav-link {
    color: hsl(var(--black)) !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
    padding: 1rem 1.5rem !important;
    transition: var(--transition) !important;
    font-size: 18px !important;
    text-decoration: none !important;
    font-family: var(--font-headers) !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.navbar .nav-link:hover {
    color: hsl(var(--medium-gray)) !important;
    transform: none !important;
}

.navbar .nav-link i {
    font-size: 16px !important;
    flex-shrink: 0 !important;
}

/* Cart badge styling */
.cart-badge {
    background-color: #FFD854 !important;
    color: #000 !important;
    font-size: 12px !important;
    font-weight: bold !important;
    padding: 3px 8px !important;
    border-radius: 0 !important;
    border: none !important;
    margin-left: 0.5rem !important;
    position: relative !important;
    top: -1px !important;
}

.mobile-cart-badge {
    background-color: #FFD854 !important;
    color: #000 !important;
    font-size: 12px !important;
    font-weight: bold !important;
    padding: 3px 8px !important;
    border-radius: 0 !important;
    border: none !important;
    margin-left: 0.5rem !important;
    position: relative !important;
    top: -1px !important;
}

.dropdown-menu {
    border: 2px solid hsl(var(--black));
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background: hsl(var(--white));
}

.dropdown-item {
    font-size: 18px;
    padding: 1rem;
    color: hsl(var(--black));
    font-weight: bold;
}

.dropdown-item:hover {
    background-color: hsl(var(--black));
    color: hsl(var(--white));
}

/* Mega Dropdown Styles */
.mega-dropdown {
    position: static !important;
}

.mega-dropdown-menu {
    width: 100%;
    left: 0 !important;
    right: 0 !important;
    border: 2px solid hsl(var(--black));
    border-top: none;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 2rem 15px;
    margin-top: 0;
    background: hsl(var(--white));
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

.mega-dropdown-section {
    padding: 0 2rem;
    border-right: 2px solid hsl(var(--light-gray));
}

.mega-dropdown-section:last-child {
    border-right: none;
}

.mega-dropdown-header {
    font-size: 1.1rem;
    font-weight: bold;
    color: hsl(var(--black));
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid hsl(var(--black));
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-headers);
}

.mega-dropdown-header i {
    margin-right: 0.75rem;
    color: hsl(var(--black));
    font-size: 1.2rem;
}

.mega-dropdown-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mega-dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: hsl(var(--black));
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 16px;
}

.mega-dropdown-item:hover,
.mega-dropdown-item:focus,
.mega-dropdown-item:active,
.mega-dropdown-item.active {
    background-color: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
    text-decoration: none !important;
    border-color: hsl(var(--black)) !important;
}

.mega-dropdown-item i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
    color: hsl(var(--medium-gray));
    font-size: 1.1rem;
}

.mega-dropdown-item:hover i,
.mega-dropdown-item:focus i,
.mega-dropdown-item:active i,
.mega-dropdown-item.active i {
    color: hsl(var(--white)) !important;
}

.featured-item {
    background: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
    font-weight: bold;
    border: 2px solid hsl(var(--black));
}

.featured-item:hover,
.featured-item:focus,
.featured-item:active,
.featured-item:visited {
    background: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
    border-color: hsl(var(--black)) !important;
    text-decoration: none !important;
}

.featured-item i {
    color: hsl(var(--white)) !important;
}

.featured-item:hover i,
.featured-item:focus i,
.featured-item:active i,
.featured-item:visited i {
    color: hsl(var(--white)) !important;
}

/* Mobile dropdown menu items styling */
.mobile-nav-link:hover,
.mobile-nav-link:focus,
.mobile-nav-link:active,
.mobile-nav-link.active {
    background-color: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
    text-decoration: none !important;
}

.mobile-nav-link:hover i,
.mobile-nav-link:focus i,
.mobile-nav-link:active i,
.mobile-nav-link.active i {
    color: hsl(var(--white)) !important;
}

/* Mobile Navigation Modal */
.mobile-nav-modal {
    background: hsl(var(--white));
    border: none;
    border-radius: 0;
    height: 100vh !important;
    max-height: 100vh !important;
}

.mobile-nav-modal .modal-header {
    background: hsl(var(--black));
    color: hsl(var(--white));
    border-bottom: none;
    padding: 1rem 1.5rem;
    flex-shrink: 0;
}

.mobile-nav-modal .modal-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: hsl(var(--white));
}

.mobile-nav-modal .btn-close {
    filter: invert(1);
    font-size: 1rem;
}

.mobile-nav-modal .modal-body {
    padding: 1rem 1.5rem;
    background: hsl(var(--white));
    height: calc(100vh - 80px) !important;
    overflow: hidden !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mobile-nav {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100%;
}

.mobile-nav-list > li {
    margin: 0;
    flex: 0 0 auto;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    color: hsl(var(--black));
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid hsl(var(--light-gray));
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: hsl(var(--black));
    text-decoration: none;
    padding-left: 1rem;
}

.mobile-nav-link i {
    margin-right: 0.75rem;
    width: 18px;
    text-align: center;
    font-size: 1rem;
}

.mobile-nav-section {
    margin: 0;
    flex: 0 0 auto;
}

.mobile-nav-header {
    font-size: 0.9rem;
    font-weight: bold;
    color: hsl(var(--black));
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid hsl(var(--black));
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.mobile-nav-sublink {
    display: flex;
    align-items: center;
    padding: 0.5rem 0 0.5rem 0.75rem;
    color: hsl(var(--black));
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid hsl(var(--light-gray));
    transition: all 0.3s ease;
}

.mobile-nav-sublink:hover {
    color: hsl(var(--black));
    text-decoration: none;
    padding-left: 1.5rem;
}

.mobile-nav-sublink i {
    margin-right: 0.5rem;
    width: 14px;
    text-align: center;
    font-size: 0.8rem;
}

.mobile-nav-featured {
    margin: 0;
    flex: 0 0 auto;
}

.mobile-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
    padding: 1rem;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.mobile-nav-cta:hover,
.mobile-nav-cta:focus,
.mobile-nav-cta:active,
.mobile-nav-cta:visited {
    background: #333 !important;
    color: white !important;
    text-decoration: none;
    border: none !important;
}

.mobile-nav-cta i {
    margin-right: 0.5rem;
    font-size: 1rem;
    color: white !important;
}

.mobile-cart-badge {
    background: hsl(var(--black));
    color: hsl(var(--white));
    border-radius: 50%;
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
    margin-left: auto;
    min-width: 18px;
    text-align: center;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        display: none !important;
    }
    
    .modal-fullscreen {
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
    
    .modal-fullscreen .modal-content {
        height: 100vh !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        border: none !important;
        display: flex !important;
        flex-direction: column !important;
    }
}
    
    .mega-dropdown-menu {
        position: relative;
        width: 100%;
        padding: 1rem 0;
        box-shadow: none;
        border: none;
        max-height: none;
    }
    
    .mega-dropdown-section {
        padding: 1rem;
        border-right: none;
        border-bottom: 1px solid hsl(var(--light-gray));
    }
    
    .mega-dropdown-section:last-child {
        border-bottom: none;
    }
    
    .mega-dropdown-header {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
}

.search-form {
    max-width: 300px;
}

.search-form .form-control {
    background-color: hsl(var(--white));
    border: 2px solid hsl(var(--black));
    color: hsl(var(--black));
    border-radius: 0;
    font-size: 18px;
    padding: 0.75rem 1rem;
}

.search-form .form-control::placeholder {
    color: hsl(var(--medium-gray));
}

.search-form .form-control:focus {
    border-color: hsl(var(--black));
    box-shadow: none;
    background-color: hsl(var(--white));
}

.search-form .btn {
    border-radius: 0;
    border: 2px solid hsl(var(--black));
    background-color: hsl(var(--black));
    color: hsl(var(--white));
    font-size: 18px;
    font-weight: bold;
}

.search-form .btn:hover {
    background-color: hsl(var(--white));
    color: hsl(var(--black));
}

.cart-badge {
    background-color: hsl(var(--black));
    color: hsl(var(--white));
    border-radius: 0;
    padding: 0.25rem 0.5rem;
    font-size: 16px;
    font-weight: bold;
    margin-left: 0.5rem;
    min-width: 24px;
    text-align: center;
    border: 2px solid hsl(var(--black));
}

/* Hero Section - Black and White Only */
.hero-section {
    background: hsl(var(--white));
    color: hsl(var(--black));
    padding: 3rem 0 6rem 0;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    text-shadow: none;
    font-weight: bold;
    letter-spacing: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 1;
    font-weight: normal;
}

.hero-cta {
    background: hsl(var(--black));
    color: hsl(var(--white));
    border: 3px solid hsl(var(--black));
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: none;
}

.hero-cta:hover {
    background: hsl(var(--white));
    color: hsl(var(--black));
    transform: none;
    box-shadow: none;
}

/* Product Cards - Black and White Only */
.product-card {
    background: hsl(var(--white));
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: none;
    transition: var(--transition);
    height: 100%;
    position: relative;
    border: 3px solid hsl(var(--black));
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.product-card:hover {
    transform: none;
    box-shadow: none;
    border-color: hsl(var(--black));
    background: hsl(var(--light-gray));
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* NYC Subway category - show full image height without cropping */
body.category-nyc-subway .product-image {
    height: 100% !important;
    aspect-ratio: unset !important;
    flex: 1 !important;
    padding-bottom: 20px !important;
}

body.category-nyc-subway .product-image img,
body.category-nyc-subway .product-image-container img,
body.category-nyc-subway .product-image .img-fluid,
body.category-nyc-subway .product-image-container .img-fluid,
body.category-nyc-subway .img-fluid[alt*="NYC"],
body.category-nyc-subway .img-fluid[alt*="Subway"] {
    object-fit: contain !important;
    background: hsl(var(--white)) !important;
    padding: 0.75rem !important;
    box-sizing: border-box !important;
}

/* Adjust card layout for NYC subway category */
body.category-nyc-subway .product-card {
    min-height: 700px !important;
}

body.category-nyc-subway .product-info {
    padding: 1rem !important;
    flex-shrink: 0 !important;
}

/* Disable hover scaling for NYC subway category */
body.category-nyc-subway .product-card:hover .product-image img {
    transform: none !important;
}

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

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #FFD854 !important;
    color: #000 !important;
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 0;
}

.product-badge.featured {
    background-color: #FFD854 !important;
    color: #000 !important;
    top: 12px;
    left: 12px;
}

.product-badge.new {
    background-color: #FFD854 !important;
    color: #000 !important;
    top: 52px;
    left: 12px;
}

.product-info {
    padding: 1.5rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1.25rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: hsl(var(--black));
    line-height: 1.3;
    font-family: var(--font-headers);
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: hsl(var(--black));
    margin-bottom: 1rem;
}

.product-description {
    color: hsl(var(--black));
    font-size: 18px;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* Buttons - Black and White Only */
.btn-primary {
    background: hsl(var(--black));
    border: 3px solid hsl(var(--black));
    color: hsl(var(--white)) !important;
    padding: 1rem 2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 18px;
}

/* Ensure all icons in primary buttons are white */
.btn-primary i,
.btn-primary .fas,
.btn-primary .far,
.btn-primary .fab {
    color: hsl(var(--white)) !important;
}

.btn-primary:hover {
    background: hsl(var(--white));
    border-color: hsl(var(--black));
    color: hsl(var(--black)) !important;
    transform: none;
    box-shadow: none;
}

/* Ensure icons change color on hover */
.btn-primary:hover i,
.btn-primary:hover .fas,
.btn-primary:hover .far,
.btn-primary:hover .fab {
    color: hsl(var(--black)) !important;
}

/* Product card specific button styling */
.product-card .btn-primary,
.product-info .btn-primary {
    color: hsl(var(--white)) !important;
}

/* Profile page black background buttons - always white text */
.profile-card .btn-primary,
.profile-card .btn-primary:link,
.profile-card .btn-primary:visited,
.profile-tabs .nav-link.active,
.profile-tabs .nav-link:hover,
.profile-tabs .nav-link:focus,
.profile-tabs .nav-link:active {
    background: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
    border-color: hsl(var(--black)) !important;
}

.profile-card .btn-primary:hover,
.profile-card .btn-primary:focus,
.profile-card .btn-primary:active,
.profile-card .btn-primary.active {
    background: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
    border-color: hsl(var(--black)) !important;
}

/* Profile page tab styling - force white text on black background */
.profile-tabs .nav-link.active,
.profile-tabs .nav-link.active:hover,
.profile-tabs .nav-link.active:focus,
.profile-tabs .nav-link.active:active {
    background: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
    border-color: hsl(var(--black)) !important;
}

/* Cart page button styling - consistent black background with white text */
.cart-item .btn-outline-danger,
.cart-item .btn-outline-danger:link,
.cart-item .btn-outline-danger:visited {
    background: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
    border-color: hsl(var(--black)) !important;
}

.cart-item .btn-outline-danger:hover,
.cart-item .btn-outline-danger:focus,
.cart-item .btn-outline-danger:active,
.cart-item .btn-outline-danger.active {
    background: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
    border-color: hsl(var(--black)) !important;
    text-decoration: none !important;
}

.cart-item .btn-outline-danger i {
    color: hsl(var(--white)) !important;
}

/* Cart Continue Shopping button styling */
.btn-outline-primary {
    border: 3px solid hsl(var(--black));
    color: hsl(var(--black));
    background: hsl(var(--white));
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0;
    padding: 1rem 2rem;
    transition: var(--transition);
    font-size: 18px;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
    background-color: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
    border-color: hsl(var(--black)) !important;
    transform: none;
}

.btn-outline-primary i {
    color: inherit !important;
}

/* Cart quantity buttons styling */
.cart-item .btn-outline-secondary,
.cart-item .btn-outline-secondary:link,
.cart-item .btn-outline-secondary:visited {
    background: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
    border-color: hsl(var(--black)) !important;
}

.cart-item .btn-outline-secondary:hover,
.cart-item .btn-outline-secondary:focus,
.cart-item .btn-outline-secondary:active,
.cart-item .btn-outline-secondary.active {
    background: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
    border-color: hsl(var(--black)) !important;
    text-decoration: none !important;
}

.cart-item .btn-outline-secondary i {
    color: hsl(var(--white)) !important;
}

/* Cart empty state buttons styling */
.btn-dark,
.btn-dark:link,
.btn-dark:visited {
    background: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
    border-color: hsl(var(--black)) !important;
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active,
.btn-dark.active {
    background: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
    border-color: hsl(var(--black)) !important;
    text-decoration: none !important;
}

.btn-dark i {
    color: hsl(var(--white)) !important;
}

/* Cart empty state outline buttons */
.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-outline-dark:active,
.btn-outline-dark.active {
    background: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
    border-color: hsl(var(--black)) !important;
    text-decoration: none !important;
}

.btn-outline-dark:hover i,
.btn-outline-dark:focus i,
.btn-outline-dark:active i,
.btn-outline-dark.active i {
    color: hsl(var(--white)) !important;
}

.product-card .btn-primary i,
.product-info .btn-primary i {
    color: hsl(var(--white)) !important;
}

/* Force equal width buttons in product cards */
.product-info .d-grid .btn,
.product-info .d-grid form {
    width: 100% !important;
}

.product-info .d-grid form .btn {
    width: 100% !important;
    display: block !important;
}

/* Clickable product images */
.product-image-container a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.product-image-container a:hover {
    cursor: pointer;
}

/* Ensure New Arrivals images are clickable */
.new-arrivals-section .product-image-container a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    z-index: 1 !important;
    pointer-events: auto !important;
}

.new-arrivals-section .product-image-container img {
    pointer-events: none !important;
}

/* Ensure Featured Posters images are clickable */
#featured .product-image-container a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    z-index: 1 !important;
    pointer-events: auto !important;
}

#featured .product-image-container img {
    pointer-events: none !important;
}

/* Hero feature headings - larger font for desktop and tablet */
@media (min-width: 768px) {
    .hero-section .feature-item strong {
        font-size: 1.25rem !important;
        font-weight: bold !important;
    }
    
    .hero-section .feature-item small {
        font-size: 1rem !important;
    }
}

/* NYC DIFFERENCE section button styling */
.nyc-difference-btn {
    color: #fff !important;
    text-decoration: none !important;
}

.nyc-difference-btn:hover,
.nyc-difference-btn:focus,
.nyc-difference-btn:active,
.nyc-difference-btn:visited {
    background: #333 !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* Product badge positioning - increased spacing from edges */
.product-badge {
    position: absolute !important;
    left: 20px !important;
    z-index: 10 !important;
    display: block !important;
    width: auto !important;
    white-space: nowrap !important;
    background-color: #FFD854 !important;
    color: #000 !important;
    padding: 0.5rem 1rem !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
}

.product-badge.featured {
    top: 20px !important;
}

.product-badge.new {
    top: 70px;
}

/* Consistent badge positioning for all sections - desktop/tablet */
@media (min-width: 768px) {
    .new-arrivals-section .product-badge.featured,
    #featured .product-badge.featured,
    .favorites-section .product-badge.featured,
    .category-page .product-badge.featured {
        top: 20px !important;
        left: 20px !important;
    }
    
    .new-arrivals-section .product-badge.new,
    #featured .product-badge.new,
    .favorites-section .product-badge.new,
    .category-page .product-badge.new {
        top: 70px !important;
        left: 20px !important;
    }
    
    /* Ensure View Details button stays single line on category pages */
    .category-page .btn {
        white-space: nowrap !important;
        font-size: 0.9rem !important;
        border-radius: 0 !important;
    }
    
    /* Remove rounded corners from sort dropdown */
    .category-page .form-select,
    .category-page .input-group-text {
        border-radius: 0 !important;
    }
}

.product-badge.featured {
    top: 15px !important;
    left: 15px !important;
    background-color: #FFD854 !important;
    color: #000 !important;
}

div[id="favoritesCarousel"] .product-badge.featured {
display: none !important;}

.product-badge.new {
    top: 70px;
    left: 20px !important;
    background-color: #FFD854 !important;
    color: #000 !important;
}

.product-image {
    position: relative !important;
}

/* Override all Bootstrap badge classes with yellow background */
.badge,
.badge.bg-primary,
.badge.bg-secondary,
.badge.bg-success,
.badge.bg-danger,
.badge.bg-warning,
.badge.bg-info,
.badge.bg-light,
.badge.bg-dark {
    background-color: #FFD854 !important;
    color: #000 !important;
    border-color: #FFD854 !important;
}

/* Product detail page badge styling - no rounded edges, proper padding */
.product-detail-badge {
    background-color: #FFD854 !important;
    color: #000 !important;
    border-radius: 0 !important;
    padding: 0.5rem 1rem !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    margin-right: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

/* Product page buttons - no rounded corners */
.product-details .btn,
.product-card .btn {
    border-radius: 0 !important;
}

/* Product specifications cards - no rounded corners */
.spec-item.card {
    border-radius: 0 !important;
}

/* Override uppercase for More to Like heading on product page */
.product-card .section-title {
    text-transform: none !important;
}

/* More to Like section - prevent image cropping on desktop/tablet */
@media (min-width: 768px) {
    .product-card {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 500px !important;
    }
    
    .product-card .card-img-top {
        object-fit: contain !important;
        background-color: white !important;
        height: 380px !important;
        padding: 25px !important;
        width: 100% !important;
        flex-shrink: 0 !important;
    }
    
    .product-card .card-body {
        padding: 1.25rem !important;
        flex-grow: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        min-height: 120px !important;
    }
}

/* Product badges specific override */
.product-badges .badge,
.product-card .badge {
    background-color: #FFD854 !important;
    color: #000 !important;
    border-color: #FFD854 !important;
}

/* Full width buttons for Favorites carousel cards */
#favoritesCarousel .product-info .d-flex {
    flex-direction: column !important;
    gap: 0.5rem !important;
}

#favoritesCarousel .product-info .d-flex .btn,
#favoritesCarousel .product-info .d-flex .flex-fill,
#favoritesCarousel .product-info .d-flex form {
    width: 100% !important;
    flex: none !important;
}

#favoritesCarousel .product-info .d-flex form .btn {
    width: 100% !important;
}

/* Favorites Carousel Styles */
.favorites-carousel-outer {
    position: relative;
}

.favorites-carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

/* Favorites section - prevent image cropping on desktop */
#favoritesCarousel .product-image {
    background: white !important;
    padding: 1.5rem 1rem 1rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    min-height: 280px !important;
    aspect-ratio: unset !important;
}

#favoritesCarousel .product-image img {
    object-fit: contain !important;
    object-position: center !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    background: white !important;
    aspect-ratio: auto !important;
}

#favoritesCarousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 0.25rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Ensure Favorites carousel cards have proper height */
#favoritesCarousel .product-card {
    min-height: 450px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Ensure product info area doesn't compress the image */
#favoritesCarousel .product-info {
    flex-shrink: 0 !important;
    min-height: auto !important;
    padding: 1rem !important;
}

#favoritesCarousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Mobile Favorites Grid Styles */
.mobile-favorites-grid {
    padding: 0 0.5rem;
}

.mobile-product-card {
    background: transparent;
    border-radius: var(--border-radius);
    overflow: visible;
    box-shadow: none;
    transition: var(--transition);
    height: auto;
    min-height: auto;
    position: relative;
    border: none;
    display: flex;
    flex-direction: column;
}

.mobile-product-card:hover {
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

.mobile-product-card .product-image {
    position: relative;
    overflow: visible;
    height: auto;
    min-height: 200px;
    width: 100%;
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.mobile-product-card .product-image img {
    width: 100%;
    height: auto;
    max-height: none;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: var(--transition);
    background: white;
    aspect-ratio: auto;
}

.mobile-product-card:hover .product-image img {
    transform: scale(1.05);
}

.mobile-badge {
    position: absolute;
    left: 12px;
    background-color: #FFD854 !important;
    color: #000 !important;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 0;
    display: block;
    margin-bottom: 8px;
}

.mobile-badge:first-of-type {
    top: 12px;
}

.mobile-badge:nth-of-type(2) {
    top: 56px;
}

.mobile-product-info {
    padding: 0.5rem;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 80px;
}

.mobile-product-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: hsl(var(--black));
    line-height: 1.3;
    font-family: var(--font-headers);
    height: 2.6rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mobile-product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: hsl(var(--black));
    margin-bottom: 0.75rem;
}

.mobile-show-more-btn {
    background: #000;
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    margin: 0 auto;
}

.mobile-show-more-btn:hover {
    background: #333;
    transform: scale(1.05);
}

#favoritesCarousel .col-lg-3 {
    flex: 0 0 auto;
    width: calc(25% - 0.1875rem);
    min-width: 250px;
}

@media (max-width: 991px) {
    #favoritesCarousel .col-lg-3 {
        width: calc(50% - 0.125rem);
        min-width: 280px;
    }
}

@media (max-width: 767px) {
    #favoritesCarousel .col-lg-3 {
        width: 280px;
        min-width: 280px;
    }
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: black;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-nav:hover {
    background: #333;
    transform: translateY(-50%) scale(1.05);
}

.carousel-nav-prev {
    left: -70px;
}

.carousel-nav-next {
    right: -70px;
}

@media (max-width: 767px) {
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .carousel-nav-prev {
        left: -55px;
    }
    
    .carousel-nav-next {
        right: -55px;
    }
}



/* Hero Section Above the Fold */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-image: url('../images/subway-map-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    filter: grayscale(100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.90);
    z-index: 1;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

/* Mobile Hero Styles - All iPhone Devices */
@media (max-width: 767px) {
    .hero-section {
        min-height: 100vh;
        background: hsl(var(--white));
        filter: none;
        padding-top: 1rem !important;
        padding-bottom: 0;
        margin-top: -3rem !important;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .hero-section .container {
        padding-top: 0 !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .mobile-hero {
        padding: 0 !important;
        margin-top: -2rem !important;
    }
    
    .mobile-hero .row {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .mobile-hero-content {
        padding-top: 0 !important;
        margin-top: -1rem !important;
        padding-bottom: 0 !important;
    }
}

/* Specific iPhone targeting */
@media only screen and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 2) {
    .hero-section {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .mobile-hero-title {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
    
    .mobile-hero-title {
        font-size: 4.5rem;
        font-weight: 700;
        color: hsl(var(--black));
        margin-bottom: 0.5rem;
        margin-top: 0;
        padding-top: 0;
        line-height: 0.85;
        letter-spacing: -0.03em;
        text-align: left;
        word-spacing: -0.2em;
    }
    
    .mobile-hero-subtitle {
        font-size: 1.9rem;
        font-weight: 400;
        color: hsl(var(--black));
        margin-bottom: 0.8rem;
        line-height: 1.2;
        line-height: 1.3;
        text-align: left;
    }
    
    .mobile-hero-layout {
        display: flex;
        gap: 1rem;
        margin-top: 1rem;
        align-items: flex-start;
    }
    
    .mobile-hero-left {
        flex: 1;
        min-width: 0;
    }
    
    .mobile-hero-right {
        flex: 1;
        min-width: 0;
    }
    
    .mobile-hero-buttons {
        margin-bottom: 1rem;
    }
    
    .mobile-design-btn {
        background-color: #000000 !important;
        border: 2px solid #000000 !important;
        color: #ffffff !important;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 0.75rem 1.25rem;
        border-radius: 0;
        width: 100%;
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
        text-decoration: none !important;
    }
    
    /* Ensure white text on mobile hero black button */
    .mobile-design-btn,
    .mobile-design-btn:link,
    .mobile-design-btn:visited {
        color: #ffffff !important;
    }
    
    .mobile-design-btn:hover,
    .mobile-design-btn:focus,
    .mobile-design-btn:active,
    .mobile-design-btn:visited {
        background-color: #000000 !important;
        color: #ffffff !important;
        border-color: #000000 !important;
        text-decoration: none !important;
    }
    
    .mobile-design-btn * {
        color: #ffffff !important;
    }
    
    .mobile-see-btn {
        background: hsl(var(--white)) !important;
        border: 2px solid hsl(var(--black)) !important;
        color: hsl(var(--black)) !important;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 0.75rem 1.25rem;
        border-radius: 0;
        width: 100%;
        font-size: 0.9rem;
    }
    
    .mobile-download-icon {
        text-align: center;
    }
    
    .download-circle {
        background: hsl(var(--black));
        color: hsl(var(--white));
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        font-size: 1.2rem;
    }
    
    .mobile-poster-preview {
        text-align: center;
    }
    
    .mobile-poster-image {
        width: 100%;
        height: auto;
        border-radius: 0;
        box-shadow: none;
    }
    
    .mobile-station-list {
        background: hsl(var(--black));
        color: hsl(var(--white));
        padding: 1.5rem 1rem;
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .station-item {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 0.95rem;
        font-weight: 500;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }
    
    .station-item:last-child {
        border-bottom: none;
    }
    
    /* Mobile hamburger button */
    .btn-link {
        color: hsl(var(--black)) !important;
        text-decoration: none;
        border: none;
        background: none;
    }
    
    .btn-link:hover {
        color: hsl(var(--black)) !important;
    }
}

.btn-outline-primary {
    border: 3px solid hsl(var(--black));
    color: hsl(var(--black));
    background: hsl(var(--white));
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0;
    padding: 1rem 2rem;
    transition: var(--transition);
    font-size: 18px;
}

.btn-outline-primary:hover {
    background-color: hsl(var(--black));
    color: hsl(var(--white));
    transform: none;
}

.btn-secondary {
    background: hsl(var(--white));
    border: 3px solid hsl(var(--black));
    color: hsl(var(--black));
    font-weight: bold;
    font-size: 18px;
    padding: 1rem 2rem;
}

.btn-secondary:hover {
    background: hsl(var(--black));
    color: hsl(var(--white));
}

.btn-danger {
    background-color: hsl(var(--black));
    border: 3px solid hsl(var(--black));
    color: hsl(var(--white));
    font-weight: bold;
    font-size: 18px;
    padding: 1rem 2rem;
}

.btn-danger:hover {
    background: hsl(var(--white));
    color: hsl(var(--black));
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 16px;
}

.btn-lg {
    padding: 1.5rem 3rem;
    font-size: 20px;
}

/* Section Styling - Black and White Only */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-weight: bold;
    letter-spacing: 0;
    font-size: 3rem;
    text-transform: uppercase;
    font-family: var(--font-headers);
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: hsl(var(--black));
    margin: 1rem auto;
    border-radius: 0;
}

/* Category Sidebar */
.category-sidebar h5 {
    color: hsl(var(--black));
    border-bottom: 2px solid hsl(var(--black));
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.category-sidebar .list-group-item {
    border: none;
    border-left: 3px solid transparent;
    transition: var(--transition);
    background: transparent;
}

.category-sidebar .list-group-item:hover,
.category-sidebar .list-group-item.active {
    background-color: rgba(46, 139, 255, 0.1);
    border-left-color: hsl(var(--primary-blue));
    color: hsl(var(--primary-blue));
    font-weight: bold;
}

/* Product Detail Page */
.product-detail-image {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    cursor: zoom-in;
    transition: var(--transition);
}

.product-detail-image:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.product-specs {
    background-color: hsl(var(--white));
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 2rem;
}

.product-specs h4 {
    color: hsl(var(--black));
    border-bottom: 2px solid hsl(var(--primary-orange));
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.size-options .btn {
    margin: 0.25rem;
    border: 2px solid hsl(var(--medium-gray));
    color: hsl(var(--medium-gray));
    background: transparent;
}

.size-options .btn.active,
.size-options .btn:hover {
    border-color: hsl(var(--primary-blue));
    color: hsl(var(--primary-blue));
    background-color: rgba(46, 139, 255, 0.1);
}

/* Cart Styles */
.cart-item {
    background-color: hsl(var(--white));
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
}

.cart-total {
    background: hsl(var(--black));
    color: hsl(var(--white));
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 3px solid hsl(var(--black));
}

.cart-total h3 {
    color: hsl(var(--white));
    margin-bottom: 1rem;
}

/* Forms - Black and White Only */
.contact-form {
    background-color: hsl(var(--white));
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: none;
    border: 4px solid hsl(var(--black));
}

.form-control {
    border: 3px solid hsl(var(--black));
    border-radius: var(--border-radius);
    padding: 1rem;
    transition: var(--transition);
    font-size: 18px;
    background-color: hsl(var(--white));
    color: hsl(var(--black));
    font-family: var(--font-text);
}

.form-control:focus {
    border-color: hsl(var(--black));
    box-shadow: none;
    outline: none;
    background-color: hsl(var(--light-gray));
}

.billingAddress p {color: #fff !important;}

.form-label {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0;
    color: hsl(var(--black));
    margin-bottom: 1rem;
    font-family: var(--font-headers);
}

/* Footer - Black and White Only */
.footer {
    background: hsl(var(--black));
    color: hsl(var(--white));
    padding: 4rem 0 3rem;
    margin-top: 0rem;
    border-top: 4px solid hsl(var(--black));
}

.footer h5 {
    color: hsl(var(--white));
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0;
    font-family: var(--font-headers);
}

.footer a {
    color: hsl(var(--white)) !important;
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
    font-weight: normal;
}

.footer a:hover {
    color: hsl(var(--white)) !important;
    text-decoration: underline;
}

.footer a:visited {
    color: hsl(var(--white)) !important;
}

.footer a:active {
    color: hsl(var(--white)) !important;
}

.footer a:focus {
    color: hsl(var(--white)) !important;
}

/* Ensure Create Now button always has white text - FORCE WHITE */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:visited,
.btn-dark,
.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active,
.btn-dark:visited,
a.btn-primary,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active,
a.btn-primary:visited,
a.btn-dark,
a.btn-dark:hover,
a.btn-dark:focus,
a.btn-dark:active,
a.btn-dark:visited {
    color: white !important;
    background-color: black !important;
    border-color: black !important;
}

/* Specific targeting for CREATE NOW button */
a[href*="subway_poster_designer"],
.hero-section .btn-primary,
.hero-section a.btn-primary {
    color: white !important;
    background-color: black !important;
    border-color: black !important;
}

/* Subway Poster Designer Add to Cart button */
#add-to-cart-poster,
#add-to-cart-poster:hover,
#add-to-cart-poster:focus,
#add-to-cart-poster:active,
#add-to-cart-poster:visited,
#add-to-cart-poster:disabled {
    color: white !important;
    background-color: black !important;
    border-color: black !important;
}

/* Ensure Custom Poster Designer link in navigation has white text */
.mega-dropdown-item.featured-item,
.mega-dropdown-item.featured-item:hover,
.mega-dropdown-item.featured-item:focus,
.mega-dropdown-item.featured-item:active,
.mega-dropdown-item.featured-item:visited {
    color: white !important;
}

/* FORCE all footer links to be white */
.footer a,
.footer a:link,
.footer a:hover,
.footer a:focus,
.footer a:active,
.footer a:visited,
.footer ul a,
.footer ul li a,
.footer .list-unstyled a,
.footer .list-unstyled li a,
.footer .social-links a,
footer a,
footer a:link,
footer a:hover,
footer a:focus,
footer a:active,
footer a:visited,
footer ul a,
footer ul li a {
    color: white !important;
    text-decoration: none !important;
}

.footer a:hover,
.footer ul a:hover,
footer a:hover {
    color: #f8f9fa !important;
    text-decoration: underline !important;
}

.footer p {
    font-size: 18px;
    color: hsl(var(--white));
}

/* Alerts - Black and White Only */
.alert {
    border: 3px solid hsl(var(--black));
    border-radius: var(--border-radius);
    font-weight: bold;
    font-size: 18px;
    padding: 1.5rem;
}

.alert-success {
    background-color: hsl(var(--white));
    color: hsl(var(--black));
    border-color: hsl(var(--black));
}

.alert-danger {
    background-color: hsl(var(--black));
    color: hsl(var(--white));
    border-color: hsl(var(--black));
}

.alert-info {
    background-color: hsl(var(--light-gray));
    color: hsl(var(--black));
    border-color: hsl(var(--black));
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .search-form {
        margin-top: 1rem;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 1.25rem 2.5rem;
        font-size: 18px;
    }
    
    .product-title {
        font-size: 1.125rem;
    }
    
    .product-price {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .cart-item {
        padding: 1rem;
    }
}

/* Loading and Animation Effects */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.zoom-hover:hover {
    transform: scale(1.02);
    transition: var(--transition);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: hsl(var(--light-gray));
}

::-webkit-scrollbar-thumb {
    background: hsl(var(--medium-gray));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--dark-gray));
}

/* Authentication Styles */
.auth-card {
    background: white;
    border: 3px solid black;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 2rem;
}

.auth-card .card-body {
    padding: 2.5rem;
}

.auth-card h1 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    color: black;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.auth-form .form-label {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.auth-form .form-control,
.auth-form .form-select {
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    border: 2px solid black;
    background: white;
    color: black;
    padding: 0.75rem;
    border-radius: 0;
}

.auth-form .form-control:focus,
.auth-form .form-select:focus {
    border-color: black;
    box-shadow: none;
    background: white;
}

.auth-form .form-control.is-invalid {
    border-color: black;
}

.auth-form .invalid-feedback {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: black;
    font-weight: bold;
}

.auth-form .btn-primary {
    background: black;
    border: 2px solid black;
    color: white;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 2rem;
    border-radius: 0;
    transition: all 0.3s ease;
    width: 100%;
}

.auth-form .btn-primary:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
}

.auth-link {
    color: black;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    text-decoration: underline;
    text-transform: uppercase;
}

.auth-link:hover {
    color: black;
    text-decoration: none;
}

/* Profile Styles */
.profile-card {
    background: white;
    border: 3px solid black;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 2rem;
}

.profile-card .card-body {
    padding: 2.5rem;
}

.profile-card h1 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    color: black;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.profile-tabs .nav-link {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid black;
    border-radius: 0;
    background: white;
    margin-right: 0.5rem;
    padding: 0.75rem 1.5rem;
}

.profile-tabs .nav-link.active {
    background: black;
    color: white;
    border-color: black;
}

.profile-tabs .nav-link:hover {
    background: black;
    color: white;
    border-color: black;
}

.profile-label {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 1rem;
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.profile-value {
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    color: black;
    padding: 0.75rem;
    border: 2px solid black;
    background: white;
    margin-bottom: 1rem;
}

.btn-outline-dark {
    border: 2px solid black;
    color: black;
    background: white;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 2rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background: black;
    color: white;
    border-color: black;
    transform: translateY(-2px);
}

/* Search Toggle Styles */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-toggle:hover {
    color: white;
    transform: scale(1.1);
}

.search-form {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background: white;
    border: 2px solid black;
    border-radius: 0;
    padding: 0.25rem;
    z-index: 1000;
    width: 300px;
}

.search-form.active {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    visibility: visible;
}

.search-form .input-group {
    margin: 0;
}

.search-form .form-control {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    border: none;
    background: white;
    color: black;
    padding: 0.5rem;
    border-radius: 0;
}

.search-form .form-control:focus {
    border: none;
    box-shadow: none;
    background: white;
    outline: none;
}

.search-form .btn-search {
    background: black;
    border: none;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

.search-form .btn-search:hover {
    background: white;
    color: black;
}

@media (max-width: 768px) {
    .search-form {
        width: 250px;
    }
    
    .search-form.active {
        transform: translateY(-50%) translateX(-20px);
    }
}

/* Product Image Watermark */
.product-image-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.product-image-container::after {
    content: "Manhattan Living";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-family: var(--font-headers);
    font-size: 2rem;
    font-weight: bold;
    color: white;
    opacity: 0.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    pointer-events: none;
    z-index: 2;
    white-space: nowrap;
}

.product-image-container img {
    position: relative;
    z-index: 1;
}

/* Responsive watermark sizing */
@media (max-width: 768px) {
    .product-image-container::after {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 576px) {
    .product-image-container::after {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }
}

/* Admin Table Styles */
.admin-table {
    font-family: Arial, sans-serif;
    border: 2px solid black;
    background: white;
}

.admin-table th {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 1rem;
    color: white;
    background: black;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem;
    border: none;
}

.admin-table td {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: black;
    padding: 1rem;
    border-bottom: 1px solid black;
    border-left: none;
    border-right: none;
    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table .btn-sm {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.375rem 0.75rem;
    border-radius: 0;
}

.btn-outline-danger {
    border: 2px solid black;
    color: black;
    background: white;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background: black;
    color: white;
    border-color: black;
}

.btn-outline-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.badge {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Blog Content Styles */
.blog-content h2 {
    font-family: var(--font-headers);
    font-size: 1.8rem;
    font-weight: bold;
    color: hsl(var(--black));
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid hsl(var(--black));
    padding-bottom: 0.5rem;
}

.blog-content h3 {
    font-family: var(--font-headers);
    font-size: 1.4rem;
    font-weight: bold;
    color: hsl(var(--black));
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    text-transform: capitalize;
    letter-spacing: 0.25px;
}

.blog-content p {
    font-family: var(--font-text);
    font-size: 1.25rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.blog-content p:first-child {
    font-size: 1.375rem;
    font-weight: normal;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #555;
}

.text-success {
    color: black !important;
    font-weight: bold;
}

/* Internal blog link styling */
.internal-blog-link {
    color: #007bff;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.internal-blog-link:hover {
    color: #0056b3;
    text-decoration-style: solid;
    background-color: rgba(0, 123, 255, 0.1);
    padding: 1px 2px;
    border-radius: 2px;
}

/* Subway Poster Maker Promotion */
.subway-maker-promo {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #007bff !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transition: all 0.3s ease;
}

.subway-maker-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.25);
}

.subway-maker-promo h3 {
    font-weight: 600;
    color: #0056b3 !important;
}

.subway-maker-promo p {
    color: #495057;
    font-size: 1rem;
}

.subway-maker-promo .btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.subway-maker-promo .btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Clean Hero Content - Minimal Design */
.hero-content {
    padding: 2rem 0;
}

.hero-content h1 {
    color: #000000;
    font-size: 4.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.0;
}

.hero-content .hero-subtitle {
    font-size: 1.2rem;
    color: #000000;
    font-weight: 700;
}

.subway-features.row {
    background: transparent;
    border-radius: 10px;
    padding: 1rem 0;
    margin-top: 2rem;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    max-width: 100%;
}

.subway-features [class*="col-"] {
    padding: 0 !important;
    margin: 0 !important;
    width: auto;
    max-width: none;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    background: #ffffff;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 280px;
    width: 100%;
    box-sizing: border-box;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #000000;
}

.feature-item i {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: #000000;
    color: #ffffff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0 !important;
    flex-shrink: 0;
    box-sizing: border-box;
    line-height: 1;
}

.feature-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #343a40;
    font-size: 1.25rem;
    font-weight: 600;
}

.hero-content .btn-primary {
    background: #000000;
    border: none;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    min-width: 200px;
}

.hero-content .btn-primary:hover {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.secondary-cta {
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.hero-content .btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    min-width: 200px;
}

.hero-content .btn-outline-primary:hover {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.secondary-cta .btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.secondary-cta .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    transform: translateY(-1px);
}

/* Poster Preview Styling */
.poster-preview {
    position: relative;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.poster-example {
    max-width: 100%;
    border-radius: 0 !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid #fff;
}

.poster-example:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.2) !important;
}

.poster-caption {
    font-style: italic;
    margin-top: 1rem;
}

/* Responsive adjustments for subway hero */
.subway-maker-hero .row {
    align-items: flex-start;
}

.subway-maker-hero .col-lg-7 {
    text-align: left;
}

/* Hero section text alignment */
.hero-content {
    text-align: left !important;
}

.hero-content h1,
.hero-content .hero-subtitle,
.hero-content p {
    text-align: left !important;
}

/* Mobile hero text alignment */
.mobile-hero-content,
.mobile-hero-title,
.mobile-hero-subtitle,
.mobile-hero-left {
    text-align: left !important;
}

.mobile-hero-content h1,
.mobile-hero-content p {
    text-align: left !important;
}

@media (max-width: 991px) {
    .subway-maker-hero .col-lg-7 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .subway-maker-hero h1 {
        font-size: 2.5rem;
    }
    
    .feature-item {
        text-align: center !important;
        padding: 1.5rem 0.75rem;
    }
    
    .feature-item strong {
        font-size: 1rem;
    }
    
    .feature-item i {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .feature-item {
        padding: 1rem 0.5rem;
    }
    
    .feature-item strong {
        font-size: 0.9rem;
    }
    
    .feature-item i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .feature-item small {
        font-size: 0.75rem;
    }
}

.text-danger {
    color: black !important;
    font-weight: bold;
}

/* Image Upload Styles */
.current-image-preview {
    border: 2px solid black;
    padding: 1rem;
    background: white;
    text-align: center;
}

.current-image-preview img {
    border: 2px solid black;
    background: white;
}

.form-text {
    font-family: Arial, sans-serif;
    font-size: 0.875rem;
    color: black;
    margin-top: 0.5rem;
}

input[type="file"] {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    border: 2px solid black;
    background: white;
    color: black;
    padding: 0.5rem;
}

input[type="file"]:focus {
    border-color: black;
    box-shadow: none;
    outline: none;
}

/* STRICT BLACK AND WHITE ENFORCEMENT */
/* Override all Bootstrap and default colors */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:visited {
    background-color: hsl(var(--black)) !important;
    border-color: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
}

.btn-outline-primary,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: hsl(var(--white)) !important;
    border-color: hsl(var(--black)) !important;
    color: hsl(var(--black)) !important;
}

.btn-outline-primary:hover {
    background-color: hsl(var(--black)) !important;
    color: hsl(var(--white)) !important;
}

/* ALL LINKS MUST BE BLACK */
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus,
.nav-link,
.nav-link:hover,
.nav-link:focus,
.nav-link:active,
.navbar-nav .nav-link,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus {
    color: black !important;
    text-decoration: none !important;
}

/* Remove any blue or colored elements */
.text-primary,
.bg-primary,
.border-primary {
    color: black !important;
    background-color: white !important;
    border-color: black !important;
}

/* Ensure no focus outlines have color */
*:focus {
    outline: 2px solid black !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
}

/* Mobile Instruction Alert Bubble */
.instruction-alert {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #333;
    border-radius: 20px;
    padding: 12px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    animation: slideDownFade 0.5s ease-out;
    max-width: 300px;
    min-width: 250px;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Arimo', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.alert-icon {
    font-size: 18px;
    animation: pointDown 2s ease-in-out infinite;
}

.alert-text {
    flex: 1;
    line-height: 1.2;
}

.alert-close {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.alert-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUpFade {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

@keyframes pointDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(3px);
    }
}

/* Hide alert on desktop */
@media (min-width: 768px) {
    .instruction-alert {
        display: none;
    }
}

/* Product Grid Layout - Consistent Heights and Landscape Images */
.product-grid .row {
    display: flex;
    flex-wrap: wrap;
}

.product-grid .col-md-4,
.product-grid .col-lg-4,
.product-grid .col-xl-3,
.featured-products .col-md-4,
.new-arrivals .col-md-4,
.category-products .col-md-4,
.catalog-products .col-md-4 {
    display: flex;
    align-items: stretch;
    margin-bottom: 2rem;
}

.product-grid .product-card,
.featured-products .product-card,
.new-arrivals .product-card,
.category-products .product-card,
.catalog-products .product-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Force all product listing images to be landscape with consistent height */
.featured-products .product-image,
.new-arrivals .product-image,
.category-products .product-image,
.catalog-products .product-image,
.products-section .product-image,
.row .product-image {
    aspect-ratio: 16/9 !important;
    height: 250px !important;
    overflow: hidden;
}

.featured-products .product-image img,
.new-arrivals .product-image img,
.category-products .product-image img,
.catalog-products .product-image img,
.products-section .product-image img,
.row .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Ensure consistent card structure */
.featured-products .product-info,
.new-arrivals .product-info,
.category-products .product-info,
.catalog-products .product-info,
.products-section .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .featured-products .product-image,
    .new-arrivals .product-image,
    .category-products .product-image,
    .catalog-products .product-image,
    .products-section .product-image,
    .row .product-image {
        height: 200px !important;
    }
}

/* Cart Layout Fixes */
.cart-item {
    background: white;
    border: 2px solid black;
    border-radius: 0;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.cart-item .row {
    align-items: flex-start;
}

/* Cart Summary Sidebar - Fix z-index */
.cart-summary.sticky-top {
    z-index: 1020 !important;
    top: 120px !important;
}

.cart-summary {
    background: white;
    border: 2px solid black;
    border-radius: 0;
    padding: 1.5rem;
}

/* Shipping options radio button styling */
.shipping-options .form-check-label {
    text-align: left !important;
    width: 100% !important;
}

.shipping-options .form-check-label span:first-child {
    text-align: left !important;
}

.shipping-options .form-check-label span:last-child {
    text-align: right !important;
}

.cart-item .product-image-container {
    position: relative;
    z-index: 1;
}

.cart-item .product-image-container::after {
    z-index: 1 !important;
}

.cart-item .product-details {
    position: relative;
    z-index: 2;
    background: white;
}

.cart-item .product-title {
    position: relative;
    z-index: 10 !important;
    background: white;
    margin-bottom: 0.5rem;
    padding: 0;
    display: block !important;
    width: 100%;
    clear: both;
}

.cart-item .product-title a {
    color: black !important;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 1.5rem;
    display: block;
    position: relative;
    z-index: 11 !important;
}

.cart-item .product-title {
    font-size: 1.5rem;
}

.cart-item .quantity-price-section {
    position: relative;
    z-index: 2;
    background: white;
    padding: 1rem 0;
}

.cart-item .product-description {
    width: 100%;
    max-width: 100%;
}

.cart-item .product-description p {
    word-wrap: break-word;
    line-height: 1.4;
}

.cart-item .quantity-section {
    flex: 1;
}

.cart-item .price-actions-section {
    min-width: 150px;
}

.cart-item .product-image img {
    max-height: 180px;
    object-fit: cover;
    width: 100%;
}

/* Mobile cart layout */
@media (max-width: 768px) {
    .cart-item .quantity-price-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cart-item .price-actions-section {
        text-align: center !important;
        min-width: auto;
    }
    
    .cart-item .quantity-section {
        text-align: center;
    }
}

/* Mobile admin styling */
@media (max-width: 768px) {
    .auth-card {
        margin: 0.5rem;
        border-radius: 8px;
    }
    
    .auth-card .card-body {
        padding: 1.5rem;
    }
    
    .container.mt-5 {
        margin-top: 2rem !important;
        padding: 0 1rem;
    }
    
    /* Form labels and inputs */
    .form-label {
        font-size: 0.95rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }
    
    .form-control, .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem;
    }
    
    /* Button styling */
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1.1rem;
    }
    
    /* Row spacing */
    .row.g-3 > * {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* Current image preview */
    .current-image-preview img {
        max-width: 100%;
        height: auto;
    }
    
    /* Art pricing section */
    #artPricingSection .card {
        padding: 1rem !important;
    }
    
    .input-group-text {
        font-size: 0.95rem;
    }
}

/* Medium screen adjustments */
@media (max-width: 992px) and (min-width: 769px) {
    .col-md-10.col-lg-8 {
        flex: 0 0 auto;
        width: 90%;
    }
}

/* Mobile profile and admin styling */
@media (max-width: 768px) {
    /* Profile tabs */
    .profile-tabs {
        flex-direction: column;
    }
    
    .profile-tabs .nav-link {
        text-align: center;
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    /* Profile values */
    .profile-value {
        font-size: 1rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid #e9ecef;
    }
    
    /* Admin tables mobile view */
    .admin-table {
        font-size: 0.85rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.5rem 0.25rem;
        word-wrap: break-word;
    }
    
    /* Stack action buttons vertically on mobile */
    .admin-table td form {
        display: block;
        margin-bottom: 0.25rem;
    }
    
    .admin-table .btn-sm {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
        width: 100%;
    }
    
    /* Header with action button */
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }
    
    .d-flex.justify-content-between h3 {
        margin-bottom: 0;
        font-size: 1.25rem;
    }
    
    /* Mobile table responsiveness */
    .table-responsive {
        border: none;
    }
    
    /* Badge adjustments */
    .badge {
        font-size: 0.7rem;
        display: block;
        margin: 0.25rem 0;
        text-align: center;
    }
    
    /* Bulk delete controls */
    .bulk-actions {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .bulk-actions .btn-sm {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }
}

/* Bulk delete interface styling */
.bulk-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.selected-count {
    color: #6c757d;
    font-size: 0.9rem;
}

#bulkDeleteBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Checkbox styling */
.form-check-input {
    margin-top: 0.2rem;
}

.admin-table th input[type="checkbox"] {
    margin: 0;
}

/* Mobile bulk delete adjustments */
@media (max-width: 576px) {
    .bulk-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .bulk-actions .btn,
    .bulk-actions .btn-group {
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    .bulk-actions .btn-group .btn {
        flex: 1;
        margin-bottom: 0;
    }
    
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }
    
    .selected-count {
        text-align: center;
    }
}

/* Button group styling for better mobile experience */
@media (max-width: 768px) {
    .btn-group .btn-sm {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .bulk-actions .btn-group {
        display: flex;
        width: 100%;
    }
}

/* Admin product thumbnails and info styling */
.admin-product-thumbnail {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    overflow: hidden;
    position: relative;
}

.admin-product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-product-placeholder {
    width: 80px;
    height: 80px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.2rem;
}

.product-thumbnail {
    padding: 0.5rem !important;
    vertical-align: middle;
}

.product-name-cell {
    vertical-align: middle;
    min-width: 230px;
}

.product-description-cell {
    vertical-align: middle;
    max-width: 330px;
    word-wrap: break-word;
}

.product-type-category-cell {
    vertical-align: middle;
    text-align: center;
    min-width: 150px;
}

.product-actions-cell {
    vertical-align: middle;
    padding: 0.5rem !important;
    min-width: 120px;
}

.product-actions-cell .d-grid {
    gap: 0.25rem !important;
}

.product-name {
    margin-bottom: 0.5rem;
}

.product-badges .badge {
    font-size: 0.7rem;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    display: inline-block;
}

.product-description-text {
    line-height: 1.4;
    color: #495057;
    font-size: 0.9rem;
    max-height: 60px;
    overflow-y: auto;
}

.product-excerpt-text {
    line-height: 1.4;
    color: #495057;
    font-size: 0.9rem;
    max-height: 50px;
    overflow-y: auto;
}

.product-description-cell {
    max-height: 120px;
    overflow-y: auto;
}

/* Expanded admin table styling */
.admin-table {
    table-layout: fixed;
    width: 100%;
    min-width: 1800px;
}

/* Search and filter controls styling */
.product-filters {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.product-filters .form-control,
.product-filters .form-select {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 0.5rem 0.75rem;
}

.product-filters .form-control:focus,
.product-filters .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.admin-table th,
.admin-table td {
    padding: 0.75rem 0.5rem;
    vertical-align: middle;
}

.admin-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

/* Mobile adjustments for expanded product table */
@media (max-width: 768px) {
    .admin-table {
        min-width: 1400px;
        font-size: 0.85rem;
    }
    
    .product-filters {
        padding: 0.75rem;
    }
    
    .product-filters .col-md-4,
    .product-filters .col-md-3,
    .product-filters .col-md-2 {
        margin-bottom: 0.5rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.5rem 0.25rem;
    }
    
    .admin-product-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .admin-product-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .admin-product-placeholder {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
    
    .product-name-cell {
        min-width: 180px;
    }
    
    .product-description-cell {
        max-width: 250px;
    }
    
    .product-type-category-cell .badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .product-actions-cell .btn {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .product-name strong {
        font-size: 0.9rem;
    }
    
    .product-description-text {
        font-size: 0.8rem;
        max-height: 50px;
    }
    
    .product-excerpt-text {
        font-size: 0.8rem;
        max-height: 40px;
    }
    
    .product-description-cell {
        max-height: 100px;
    }
    
    .product-badges .badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }
}

@media (max-width: 576px) {
    .admin-table {
        min-width: 1000px;
        font-size: 0.8rem;
    }
    
    .product-description-text {
        font-size: 0.75rem;
        max-height: 50px;
    }
    
    .product-type-category-cell .badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.3rem;
    }
    
    .product-actions-cell .btn {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
    
    .admin-product-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .admin-product-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .admin-product-placeholder {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }
}

/* SEO Keyword Badge Styles */
.keyword-badge {
    margin: 2px;
    padding: 6px 12px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    user-select: none;
}

.keyword-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Title keyword badges - blue theme */
.keyword-badge.bg-outline-primary {
    background-color: transparent;
    border-color: #0d6efd;
    color: #0d6efd;
}

.keyword-badge.bg-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

/* Content keyword badges - secondary/green theme */
.keyword-badge.bg-outline-secondary {
    background-color: transparent;
    border-color: #6c757d;
    color: #6c757d;
}

.keyword-badge.bg-success {
    background-color: #198754;
    border-color: #198754;
    color: white;
}

/* Highlighted keyword effect */
.keyword-badge.highlighted {
    animation: highlightPulse 0.5s ease-in-out;
}

@keyframes highlightPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* SEO sections styling */
#contentSeoKeywords {
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#generatedSubject {
    border-left: 4px solid #0d6efd;
}

/* Category inline editing styles */
.editable-name, .editable-description, .editable-type {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.editable-name:hover, .editable-description:hover, .editable-type:hover {
    background-color: #f8f9fa !important;
    border-radius: 4px;
}
