/*
Theme Name: U and World Theme
Theme URI: http://example.com/my-custom-theme
Author: Steq
Author URI: http://example.com
Description: A minimal custom WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: u-and-world
*/
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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

.mobile-menu {
    display: none;
    background-color: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 20px;
}

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

.mobile-account-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-account-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #4A90E2;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-account-link:last-child {
    border-bottom: none;
}

.mobile-account-link:hover {
    color: #357ABD;
}

.mobile-account-link:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

.mobile-cart-count-inline {
    margin-left: 8px;
    color: #ff4444;
    font-weight: bold;
}

.header-main {
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo Section */
.site-branding {
    flex: 0 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.site-logo {
    height: 40px !important;
    width: auto !important;
    max-width: 200px !important;
    max-height: 40px !important;
}

.site-header .site-logo,
.woocommerce .site-header .site-logo,
.woocommerce-page .site-header .site-logo {
    height: 40px !important;
    width: auto !important;
    max-width: 200px !important;
    max-height: 40px !important;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* Wrapper */
.account-menu {
  position: relative;
  display: inline-block;
}

.account-menu .account-link {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 6px 10px;
  transition: color 0.3s;
}

.account-menu .account-link:hover {
  color: #0073e6;
}

.account-menu .user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

/* Dropdown submenu */
.account-menu .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.account-menu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Links inside submenu */
.account-menu .submenu li {
  list-style: none;
  border-bottom: 1px solid #f2f2f2;
}

.account-menu .submenu li:last-child {
  border-bottom: none;
}

.account-menu .submenu a {
  display: block;
  padding: 10px 14px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.account-menu .submenu a:hover {
  background: #f5f8ff;
  color: #0073e6;
}

/* Search Bar */
.header-search {
    flex: 1;
    max-width: 500px;
    margin: 0 40px;
}

.search-form {
    width: 100%;
}

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

.search-icon {
    position: absolute;
    left: 15px;
    width: 16px;
    height: 16px;
    z-index: 2;
}

.search-field {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    background-color: #f8f9fa;
    outline: none;
    transition: all 0.3s ease;
}

.search-field:focus {
    border-color: #4A90E2;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.search-field::placeholder {
    color: #999;
}

/* Menu */
.header-account {
    flex: 0 0 auto;
}

.account-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.account-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #4A90E2;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.account-link:hover {
    color: #357ABD;
}

.account-link:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

.user-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 5px;
    object-fit: cover;
}

.cart-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-right: 5px;
}

.cart-icon {
    width: 16px;
    height: 16px;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #ff4444;
    color: white;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
    min-width: 14px;
    line-height: 1;
}

@media (max-width: 1024px) {
    .header-content {
        padding: 0 15px;
    }
    
    .header-search {
        margin: 0 20px;
        max-width: 400px;
    }
    
    .account-links {
        gap: 15px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .header-main {
        padding: 12px 0;
    }
    
    .header-content {
        flex-wrap: nowrap;
        gap: 15px;
        padding: 0 15px;
    }
    
    .site-branding {
        order: 1;
        flex: 0 0 auto;
    }
    
    .header-search {
        order: 2;
        flex: 1;
        margin: 0 15px;
        max-width: none;
    }
    
    .desktop-account {
        display: none;
    }
    
    .mobile-menu-toggle {
        order: 3;
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
		color: #4D89C7 !important;
		background: #fff !important;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        width: 24px;
        height: 18px;
        justify-content: space-between;
    }
    
    .hamburger-line {
        width: 100%;
        height: 2px;
        background-color: #333;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .site-logo {
        height: 35px;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .header-main {
        padding: 10px 0;
    }
    
    .header-content {
        padding: 0 10px;
        gap: 10px;
    }
    
    .site-logo {
        height: 30px;
    }
    
    .desktop-tablet-search {
        display: none;
    }
    
    .mobile-menu-search {
        display: block;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .mobile-menu-search .search-field {
        padding: 12px 15px 12px 45px;
        font-size: 14px;
    }
    
    .mobile-menu-search .search-icon {
        left: 15px;
        width: 18px;
        height: 18px;
    }
    
    .account-links {
        gap: 8px;
    }
    
    .user-avatar {
        width: 18px;
        height: 18px;
    }
    
    .cart-icon {
        width: 14px;
        height: 14px;
    }
    
    .cart-count {
        width: 12px;
        height: 12px;
        font-size: 7px;
        top: -5px;
        right: -5px;
        min-width: 12px;
    }
}

@media (max-width: 360px) {
    .header-content {
        padding: 0 8px;
    }
    
    .account-links {
        gap: 6px;
    }
    
    .search-field {
        padding: 8px 10px 8px 30px;
        font-size: 12px;
    }
    
    .search-icon {
        left: 8px;
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .header-main {
        padding: 8px 0;
    }
    
    .header-content {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
    }
    
    .header-search {
        order: 2;
        flex: 1;
        margin: 0 10px;
    }
    
    .header-account {
        order: 3;
    }
}

/* Footer Styles */
.site-footer {
    margin-top: auto;
}

.footer-background {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}


.footer-content {
    display: flex;
    flex-direction: column;
    padding: 60px 0 40px;
    position: relative;
    z-index: 2;
}

.footer-logo-section {
    text-align: left;
    max-width: 80%;
    margin: 0 auto;
    margin-bottom: 0;
}

.footer-sections {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 32px;
    justify-items: center;
    text-align: center;
    max-width: 80%;
    margin-right: 10%;
    margin: 0 auto;
}

.footer-logo-section .footer-logo-link {
    display: inline-block;
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    color: white;
    margin-bottom: 20px;
}

.footer-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
}


.footer-section {
    grid-column: span 1;
}

.footer-heading {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 20px 0;
    font-family: 'manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #D0E0F0;
}

.footer-icon {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-label {
    font-size: 14px;
    margin-right: 8px;
    color: #D0E0F0;
    font-family: 'manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer-value {
    font-size: 14px;
    color: #D0E0F0;
    font-family: 'manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #D0E0F0;
    text-decoration: none;
    font-size: 14px;
    font-family: 'manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-separator {
    height: 1px;
    background-color: white;
    margin: 20px auto;
    width: 60%;
    position: relative;
    z-index: 2;
}

.footer-copyright {
    text-align: center;
    padding: 20px 0 40px;
    position: relative;
    z-index: 2;
}

.footer-copyright p {
    color: #D0E0F0;
    font-size: 14px;
    margin: 0;
    font-family: 'manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

@media (max-width: 1200px) {
    .footer-sections {
        gap: 8px;
        max-width: 700px;
    }
    
    .footer-logo-section {
        max-width: 700px;
    }
    
    .footer-content {
        padding: 50px 0 30px;
    }
}

@media (max-width: 992px) {
    .footer-content {
        padding: 40px 0 30px;
    }
    
    .footer-logo-section {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .footer-sections {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 15px;
        max-width: 600px;
    }
    
    .footer-logo {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: 30px 0 25px;
    }
    
    .footer-logo-section {
        text-align: center;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-sections {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 20px;
        max-width: 500px;
    }
    
    .footer-logo {
        width: 120px;
        height: 120px;
    }
    
    .footer-heading {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-contact-item {
        margin-bottom: 12px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 25px 0 20px;
    }
    
    .footer-logo-section {
        text-align: center;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 400px;
    }
    
    .footer-logo {
        width: 100px;
        height: 100px;
    }
    
    .footer-heading {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .footer-contact-item {
        margin-bottom: 10px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-copyright {
        padding: 15px 0 25px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
}

/* Search Results Container */
.search-results-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Search Result Cards */
.search-result-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    margin-bottom: 0;
}

.search-result-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(74, 144, 226, 0.3);
}

/* Product Search Results */
.search-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.search-product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.search-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) saturate(1.1);
}

.search-result-card:hover .search-product-image img {
    transform: scale(1.08);
    filter: brightness(1.05) saturate(1.2);
}

.search-product-info {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1rem;
}

.search-product-header {
    margin-bottom: 0.5rem;
}

.search-product-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1e293b;
}

.search-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-product-title a:hover {
    color: #4A90E2;
    text-decoration: none;
}

.search-product-category {
    font-size: 0.875rem;
    color: #4A90E2;
    font-weight: 500;
    margin: 0;
}

.search-product-summary {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
}

.search-product-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.search-product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #4A90E2;
    margin-bottom: 1rem;
}

.search-product-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.search-view-product-btn,
.search-add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.search-view-product-btn {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    flex: 1;
    justify-content: center;
}

.search-view-product-btn:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2c5aa0 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
    color: white;
    text-decoration: none;
}

.search-add-to-cart-btn {
    background: transparent;
    color: #4A90E2;
    border-color: #4A90E2;
    flex: 1;
    justify-content: center;
}

.search-add-to-cart-btn:hover {
    background: #4A90E2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
    text-decoration: none;
}

.search-out-of-stock {
    color: #ef4444;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    text-align: center;
    background: #fef2f2;
    border-radius: 12px;
    border: 1px solid #fecaca;
    flex: 1;
}

/* Content Search Results (Posts/Pages) */
.search-content-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.search-content-header {
    margin-bottom: 1rem;
}

.search-content-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1e293b;
}

.search-content-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-content-title a:hover {
    color: #4A90E2;
    text-decoration: none;
}

.search-content-meta {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.search-content-summary {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
    flex: 1;
    margin-bottom: 1.5rem;
}

.search-content-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.search-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.search-read-more-btn:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2c5aa0 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
    color: white;
    text-decoration: none;
}

/* Sale Badge */
.sale-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Search Results Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.page-title span {
    color: #4A90E2;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* No Results Styling */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    margin: 2rem 0;
}

.search-suggestions {
    margin-top: 2rem;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.search-suggestions h3 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-suggestions li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #64748b;
    font-size: 0.95rem;
}

.search-suggestions li:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .search-results-container {
        padding: 0 1.5rem;
    }
    
    .search-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .search-results-container {
        padding: 0 1rem;
    }
    
    .search-results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .search-product-info,
    .search-content-card {
        padding: 1.5rem;
    }
    
    .search-product-actions {
        flex-direction: column;
    }
    
    .search-view-product-btn,
    .search-add-to-cart-btn {
        flex: none;
    }
}

@media (max-width: 480px) {
    .search-results-container {
        padding: 0 0.5rem;
    }
    
    .page-header {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .search-product-info,
    .search-content-card {
        padding: 1rem;
    }
    
    .search-product-title,
    .search-content-title {
        font-size: 1.125rem;
    }
    
    .search-product-price {
        font-size: 1.25rem;
    }
}

.modern-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.modern-404::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: linear-gradient(45deg, rgba(74, 144, 226, 0.05) 0%, rgba(53, 122, 189, 0.05) 100%);
    transform: rotate(15deg);
    z-index: 0;
}

.modern-404::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -15%;
    width: 35%;
    height: 180%;
    background: linear-gradient(-45deg, rgba(74, 144, 226, 0.03) 0%, rgba(53, 122, 189, 0.03) 100%);
    transform: rotate(-12deg);
    z-index: 0;
}

.error-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    width: 100%;
    padding: 0 2rem;
}

.error-number {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    color: #4A90E2;
    text-shadow: 0 4px 20px rgba(74, 144, 226, 0.3);
    animation: float 3s ease-in-out infinite;
}

.error-4, .error-0 {
    display: inline-block;
    transition: transform 0.3s ease;
}

.error-0 {
    color: #357ABD;
    transform: scale(1.1);
    margin: 0 0.5rem;
}

.error-4:hover, .error-0:hover {
    transform: scale(1.1) rotate(5deg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.page-header {
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.error-description {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    max-width: 500px;
    margin: 0 auto;
}

.error-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    color: white;
}


.categories-section {
    text-align: left;
}

.categories-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #1e293b;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-item:hover {
    border-color: #4A90E2;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.15);
    color: #4A90E2;
}

.category-name {
    font-weight: 600;
    font-size: 1rem;
}

.category-count {
    background: #f1f5f9;
    color: #64748b;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-item:hover .category-count {
    background: #4A90E2;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-404 {
        padding: 2rem 0;
        margin: 1rem 0;
    }
    
    .error-number {
        font-size: 6rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .error-description {
        font-size: 1.125rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .error-number {
        font-size: 4rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .error-description {
        font-size: 1rem;
    }
    
    .error-content {
        padding: 0 1rem;
    }
}

/* Store Listing - Address and Description side by side, vertically aligned */
.dokan-seller-wrap .store-address-description-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.dokan-seller-wrap .store-address-description-wrapper .store-address {
    flex: 1;
    margin: 0;
    text-align: left;
}

.dokan-seller-wrap .store-address-description-wrapper .store-description {
    flex: 1;
    margin: 0;
    text-align: right;
}

/* Language Switcher Styles */
.u-and-world-language-switcher {
    position: relative;
    display: inline-block;
}

.language-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

.language-flags {
    display: flex;
    gap: 8px;
}

.language-flag {
    font-size: 24px;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.language-flag:hover,
.language-flag.active {
    opacity: 1;
}

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

.language-list li {
    margin: 5px 0;
}

.language-link {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: background 0.3s;
}

.language-link:hover,
.language-link.active {
    background: #f0f0f0;
}

.language-switcher-message {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
}

.language-switcher-message.success {
    background: #d4edda;
    color: #155724;
}

.language-switcher-message.error {
    background: #f8d7da;
    color: #721c24;
}

/* Language Switcher - Desktop Header (Default Location - Dropdown) */
.desktop-language-switcher {
    display: flex;
    align-items: center;
    margin-left: 10px; /* Spacing from account menu */
}

/* Dropdown select styling for header */
.desktop-language-switcher .language-select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    min-width: 150px;
}

.desktop-language-switcher .language-select:focus {
    outline: none;
    border-color: #4A90E2;
}

/* Compact flags format (alternative) */
.desktop-language-switcher .language-flag {
    font-size: 20px;
    margin: 0 3px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.desktop-language-switcher .language-flag:hover {
    opacity: 1;
}

/* Language Switcher - Mobile Menu (Default Location - Dropdown) */
.mobile-language-switcher {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.mobile-language-switcher .language-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 16px;
    cursor: pointer;
}

.mobile-language-switcher .language-select:focus {
    outline: none;
    border-color: #4A90E2;
}

/* List format (alternative for mobile) */
.mobile-language-switcher .language-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-language-switcher .language-link {
    display: block;
    padding: 12px 0;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-language-switcher .language-link:last-child {
    border-bottom: none;
}

.mobile-language-switcher .language-link.active {
    color: #4A90E2;
    font-weight: 600;
}