/*
Theme Name: OneWear
Theme URI: https://onewear.com.vn
Author: OneWear Tech Team
Author URI: https://onewear.com.vn
Description: Theme WordPress độc quyền OneWear - Thời Trang & Đồng Phục Doanh Nghiệp Cao Cấp.
Version: 1.1.3
Text Domain: onewear
*/

/* Strict Global Resets & Logo constraints */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
}

/* Force Header Logo Strict Sizing Across All Pages (+20% Enlargement) */
header img,
header .h-10,
header .h-11,
header .h-12,
.onewear-logo-img,
#mobileDrawer img {
    max-height: 52px !important;
    max-width: 205px !important;
    width: auto !important;
    height: 52px !important;
    object-fit: contain !important;
    display: inline-block !important;
}

/* Mobile Header elements strict sizing */
header button[onclick*="openQuickQuoteModal"],
header #mobileMenuToggleBtn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

/* Container standard */
.container-custom,
.cm-container,
.max-w-7xl {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
}

@media (min-width: 640px) {
    .container-custom,
    .cm-container,
    .max-w-7xl {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1280px) {
    .container-custom,
    .cm-container,
    .max-w-7xl {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}


/* Hide WP Admin Bar for all users */
#wpadminbar {
    display: none !important;
}
html {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
* html body {
    margin-top: 0 !important;
}
