.wp-block-heading {
    overflow-wrap: break-word;
    hyphens: auto;
    text-wrap: balance;
}

.wp-block-heading:lang(zh),
.wp-block-heading:lang(ja),
.wp-block-heading:lang(ko),
.wp-block-heading:lang(th),
.wp-block-heading:lang(lo),
.wp-block-heading:lang(my),
.wp-block-heading:lang(km),
.wp-block-heading:lang(ar),
.wp-block-heading:lang(ur) {
    word-break: keep-all;
    hyphens: manual;
}

.wp-block-query-title {
    display: none;
}

.trp-language-switcher {
    display: none !important;
}

.headerNavBar {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.wp-block-group.has-tertiary-background-color {
    background-color: transparent !important;
}

.wc-block-components-form .wc-block-components-text-input label,
.wc-block-components-text-input label {
    color: #000000 !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    background-color: #0a0a0a;
    background-image:
        radial-gradient(ellipse at top, rgba(40, 40, 40, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse at bottom, rgba(20, 20, 20, 0.4) 0%, transparent 70%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.01) 2px,
            rgba(255, 255, 255, 0.01) 4px
        );
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #d4d4d4;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    animation: fadeIn 1s ease-in;
}

.site,
.site-content,
main {
    background: transparent;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.site-header,
header {
    background: rgba(10, 10, 10, 0.9);
    background-image: url('https://1920creations.com/wp-content/uploads/2026/01/gustavoDoreEnigmaSlowed.webp') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #333333;
    padding: 30px 20px;
    margin-bottom: 50px;
    position: relative;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #666666 50%, transparent 100%);
}

.site-title,
h1.site-title,
.custom-logo-link {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 28px;
    font-weight: normal;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 8px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.main-navigation,
nav,
.site-header nav {
    background: transparent;
    border: none;
    padding: 0;
    margin-top: 25px;
}

.main-navigation ul,
nav ul,
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
    justify-content: flex-end;
}

.main-navigation li,
nav li {
    display: inline-block;
    position: relative;
}

.main-navigation a,
nav a,
.menu a {
    color: #cccccc;
    text-decoration: none;
    font-family: 'Georgia', serif;
    font-size: 13px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 10px 0;
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

.main-navigation a:hover,
nav a:hover,
.menu a:hover {
    color: #ffffff;
    border-bottom: 1px solid #666666;
}

/* CROSS HOVER SYSTEM - POSITIVE Z-INDEX APPROACH */

.wp-block-navigation-item {
    position: relative;
    overflow: visible;
}

.wp-block-woocommerce-customer-account {
    position: relative;
    overflow: visible;
}

.wc-block-mini-cart {
    position: relative;
    overflow: visible;
}

.wp-block-navigation-item a,
.wp-block-woocommerce-customer-account a,
.wc-block-mini-cart__button,
.wc-block-product-categories-list-item a {
    position: relative;
    border-bottom: none !important;
    z-index: 2;
}

/* SVG icons stay on top */
.wc-block-mini-cart__icon,
.wc-block-customer-account__account-icon {
    position: relative;
    z-index: 3;
    color: #cccccc;
    transition: color 0.2s ease;
}

/* Vertical cross line */
.wp-block-navigation-item a::before,
.wp-block-woocommerce-customer-account a::before,
.wc-block-mini-cart__button::before,
.wc-block-product-categories-list-item a::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 75px;
    background: #cccccc;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

/* Horizontal cross line */
.wp-block-navigation-item a::after,
.wp-block-woocommerce-customer-account a::after,
.wc-block-mini-cart__button::after,
.wc-block-product-categories-list-item a::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 37.5px;
    height: 4px;
    background: #cccccc;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

/* Show cross on hover */
.wp-block-navigation-item a:hover::before,
.wp-block-navigation-item a:hover::after,
.wp-block-woocommerce-customer-account a:hover::before,
.wp-block-woocommerce-customer-account a:hover::after,
.wc-block-mini-cart__button:hover::before,
.wc-block-mini-cart__button:hover::after,
.wc-block-product-categories-list-item a:hover::before,
.wc-block-product-categories-list-item a:hover::after {
    opacity: 0.6;
}

/* Icon color change on hover */
.wc-block-mini-cart__button:hover .wc-block-mini-cart__icon,
.wp-block-woocommerce-customer-account a:hover .wc-block-customer-account__account-icon {
    color: #888888;
    cursor: pointer;
}

.wc-block-mini-cart__shopping-button {
    position: relative;
    border-bottom: none !important;
    background-color: #cccccc;
}

.wc-block-mini-cart__shopping-button:hover {
    background-color: #E3E3E3;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 5px;
    border: none;
    font-weight: normal;
    margin: 40px 0 25px 0;
}

h1 { font-size: 36px; letter-spacing: 8px; }
h2 { font-size: 28px; letter-spacing: 6px; }
h3 { font-size: 22px; letter-spacing: 4px; }

a {
    color: #b8b8b8;
    transition: all 0.3s ease;
}

a:visited {
    color: #999999;
}

a:hover {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.8);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
    background-color: #ffffff;
    border: 2px inset #808080;
    color: #000000;
    padding: 5px;
    font-family: 'Georgia', serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: 1px solid #0000ff;
    border-color: #0000ff;
}

.woocommerce-cart table.cart {
    border: 1px solid #808080;
}

.woocommerce-cart .cart-collaterals {
    background: #c0c0c0;
    border: 2px outset #808080;
    padding: 20px;
    margin-top: 30px;
}

.cart-collaterals h2,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3 {
    color: #000000;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: #c0c0c0;
    border: 2px outset #808080;
    color: #000000;
    padding: 15px 20px;
    margin: 20px 0;
    font-family: 'Georgia', serif;
}

.woocommerce-error {
    border-color: #800000;
    color: #800000;
}

.woocommerce-message {
    border-color: #008000;
}

.site-footer,
footer {
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid #333333;
    padding: 50px 20px;
    margin-top: 80px;
    text-align: center;
    color: #888888;
    font-family: 'Georgia', serif;
    font-size: 11px;
    letter-spacing: 2px;
    line-height: 0.5px;
    text-transform: uppercase;
}

.site-footer a,
footer a {
    color: #aaaaaa;
}

.site-footer a:hover,
footer a:hover {
    color: #ffffff;
}

body.single-product .site-footer {
    margin-bottom: 0 !important;
    clear: both;
}

.widget {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid #333333;
    padding: 25px;
    margin-bottom: 35px;
}

.widget-title {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.woocommerce-pagination,
.pagination {
    margin: 50px 0;
}

.woocommerce-pagination ul,
.pagination ul {
    border: none;
}

.woocommerce-pagination ul li,
.pagination li {
    border: 1px solid #333333;
    background: rgba(20, 20, 20, 0.6);
    margin: 0 5px;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span,
.pagination a,
.pagination span {
    color: #cccccc;
    background: transparent;
    padding: 10px 15px;
}

.woocommerce-pagination ul li a:hover,
.pagination a:hover {
    background: rgba(40, 40, 40, 0.8);
    color: #ffffff;
}

.woocommerce-breadcrumb {
    color: #888888;
    font-family: 'Georgia', serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.woocommerce-breadcrumb a {
    color: #aaaaaa;
}

.product-categories li {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid #333333;
    margin-bottom: 10px;
}

.product-categories li a {
    color: #cccccc;
    padding: 12px 15px;
    display: block;
    font-family: 'Georgia', serif;
    letter-spacing: 2px;
    font-size: 13px;
}

.product-categories li a:hover {
    background: rgba(30, 30, 30, 0.8);
    color: #ffffff;
}

::selection {
    background: #444444;
    color: #ffffff;
}

::-moz-selection {
    background: #444444;
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 12px;
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333333;
    border: 2px solid #0a0a0a;
}

::-webkit-scrollbar-thumb:hover {
    background: #444444;
}

.wc-block-mini-cart__icon,
.wc-block-customer-account__account-icon {
    color: #cccccc;
    transition: color 0.2s ease;
}

.wc-block-mini-cart__button:hover .wc-block-mini-cart__icon,
.wp-block-woocommerce-customer-account a:hover .wc-block-customer-account__account-icon {
    color: #888888;
    cursor: pointer;
}

/* Mini Cart Container - ensure overflow visible */
.wc-block-mini-cart {
    position: relative !important;
    overflow: visible !important;
}

/* Mini Cart Button - positioning context */
.wc-block-mini-cart__button {
    position: relative !important;
    overflow: visible !important;
    transform: none !important; /* Prevent transform creating new stacking context */
}

/* Icon - keep above hover effects */
.wc-block-mini-cart__icon {
    position: relative !important;
    z-index: 3 !important;
}

/* Badge - MINIMAL properties only */
.wc-block-mini-cart__badge {
    z-index: 4 !important; /* Above icon */
    transform: none !important; /* Critical for React updates */
    will-change: auto !important; /* Allow browser optimization */
}

.wp-block-group.is-vertical.is-content-justification-center.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-857ef822.wp-block-group-is-layout-flex {
    background-image: url('https://1920creations.com/wp-content/uploads/2026/01/gustavoDoreEnigmaSlowed.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-block-group.is-vertical.is-content-justification-center.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-857ef822.wp-block-group-is-layout-flex::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}

.wp-block-group.is-vertical.is-content-justification-center.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-857ef822.wp-block-group-is-layout-flex > * {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.woocommerce ul.products li.product:hover,
.product:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transition: all 1s ease;
}

.woocommerce ul.products li.product:hover img,
.product:hover img {
    filter: grayscale(0%) contrast(1.15) brightness(1);
}

.wp-block-button.wc-block-components-product-button.has-custom-width .wp-block-button__link {
    background-color: #999999;
    color: #272626;
}

.wp-block-button.wc-block-components-product-button.has-custom-width .wp-block-button__link:hover {
    background-color: #cccccc !important;
    color: black;
    transition: background-color 0.3s ease;
}

.wc-block-components-product-button__button span[data-wp-text] {
    display: inline-block;
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
}

.wc-block-components-product-button__button span[data-wp-text]::after {
    content: "Add to cart";
    display: inline-block;
    text-indent: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.wc-block-components-product-button__button {
    position: relative;
}

.added_to_cart {
    display: none !important;
}

body.single-product {
    position: relative;
    min-height: 100vh;
}

body.single-product main,
body.single-product .site-content,
body.single-product .woocommerce,
body.single-product div.product {
    height: auto !important;
    max-height: none !important;
    overflow: visible;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.single-product .site-footer ~ *:not(.cookieadmin_law_container) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

.wp-block-post-excerpt__excerpt {
    white-space: pre-line;
}

.woocommerce-tabs .description_tab,
.woocommerce-Tabs-panel--description {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

body.single-product .woocommerce-tabs.wc-tabs-wrapper {
    overflow: visible;
    margin-bottom: 0;
}

.wc-tabs,
ul.tabs.wc-tabs {
    display: none !important;
}

.woocommerce-Tabs-panel--additional_information,
#tab-additional_information {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
}

body.single-product .woocommerce-Tabs-panel--additional_information[style*="display: none"] {
    display: block !important;
}

body.single-product .woocommerce-Tabs-panel--description[style*="display: none"],
body.single-product .woocommerce-Tabs-panel--description[aria-hidden="true"] {
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.woocommerce table.shop_attributes {
    width: 60%;
    max-width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    font-size: 15px;
}

.woocommerce table.shop_attributes tr,
.woocommerce table.shop_attributes tr:nth-child(even),
.woocommerce table.shop_attributes tr:nth-child(odd) {
    background: transparent !important;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
    background: #c0c0c0 !important;
    padding: 10px 12px !important;
    border: 1px solid #999999;
}

.woocommerce table.shop_attributes th {
    font-weight: 600;
    text-align: left;
    width: 35%;
    font-size: 14px;
    color: #000000;
}

.woocommerce table.shop_attributes td {
    font-size: 15px;
    color: #1a1a1a;
    font-style: normal;
}

.woocommerce table.shop_attributes td p {
    margin: 0;
    padding: 0;
}

.additionalInfo {
    color: #000000;
    width: 60%;
}

/* Gallery containers - remove height restrictions */
body.single-product .woocommerce-product-gallery {
    overflow: visible;
    margin-bottom: 20px;
}

body.single-product .woocommerce-product-gallery__wrapper {
    overflow: visible;
}

body.single-product .woocommerce-product-gallery__image {
    width: 540px;
    height: 540px;
    overflow: hidden;
}

/* Main product image - square 540x540 */
.woocommerce-product-gallery__image img {
    width: 540px !important;
    height: 540px !important;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
}

/* Thumbnail gallery - align with main image */
body.single-product .woocommerce-product-gallery > ol.flex-control-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0;
    margin: 30px 0 0 0 !important;
    list-style: none;
    max-width: 540px;
}

body.single-product .woocommerce-product-gallery > ol.flex-control-thumbs > li {
    width: 150px;
    height: 140px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

body.single-product .woocommerce-product-gallery > ol.flex-control-thumbs > li > img {
    width: 150px !important;
    height: 150px !important;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Product page layout */
body.single-product .wp-block-columns {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    max-width: 100%;
    overflow: visible;
}

body.single-product .wp-block-column {
    flex: 1;
    min-width: 0;
}

/* Left column - match image width */
body.single-product .wp-block-column:first-child {
    flex-basis: 540px;
    max-width: 540px;
    flex-shrink: 0;
}

/* Disable hover effects on product page */
body.single-product .product:hover,
body.single-product .woocommerce.product:hover {
    transform: none !important;
    box-shadow: none !important;
}

.single_add_to_cart_button {
    background-color: #999999;
    color: black;
    transition: background-color 0.3s ease;
}

.single_add_to_cart_button:hover {
    background-color: #cccccc;
}

body.single-product .related.products,
body.single-product .upsells.products {
    overflow: hidden;
    margin-bottom: 0;
    clear: both;
    max-width: 100%;
}

body.single-product .related.products ul.products,
body.single-product .upsells.products ul.products {
    margin-bottom: 0;
}

body.single-product .site-footer {
    margin-bottom: 0 !important;
    padding-bottom: 50px;
    clear: both;
    position: relative;
}

body.single-product .site-footer::before {
    content: "";
    display: table;
    clear: both;
}

body.single-product .site-footer ~ * {
    display: none !important;
}

body.single-product .woocommerce-notices-wrapper,
body.single-product .woocommerce-message,
body.single-product .woocommerce-info,
body.single-product .woocommerce-error {
    max-width: 100%;
    margin-bottom: 20px;
}

body.single-product .woocommerce-breadcrumb {
    margin-bottom: 20px;
}

.woocommerce-account .woocommerce {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
}

.woocommerce-MyAccount-navigation {
    flex: 0 0 250px;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid #333333;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.woocommerce-MyAccount-navigation li {
    margin: 0;
    border-bottom: 1px solid #333333;
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 15px 20px;
    color: #cccccc !important;
    text-decoration: none !important;
    font-family: 'Georgia', serif !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-bottom: none !important;
    transition: all 0.3s ease !important;
}

.woocommerce-MyAccount-navigation a:hover {
    background: rgba(30, 30, 30, 0.8);
    color: #ffffff !important;
}

.woocommerce-MyAccount-navigation li.is-active a {
    background: rgba(40, 40, 40, 0.9);
    color: #ffffff !important;
    border-left: 3px solid #666666;
}

/* Override WooCommerce's float and 68% width */
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1 !important;
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid #333333;
    padding: 30px;
    box-sizing: border-box !important;
}

/* Consistent minimum width for ALL account content sections */
.woocommerce-MyAccount-content > div,
.woocommerce-MyAccount-content > form,
.woocommerce-MyAccount-content > section,
.woocommerce-MyAccount-content .woocommerce-Addresses,
.woocommerce-MyAccount-content .wc-block-components-notice-banner,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm,
.woocommerce-MyAccount-content .woocommerce-order-details,
.woocommerce-MyAccount-content .woocommerce-customer-details {
    min-width: 500px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Tables should be full width within their container */
.woocommerce-MyAccount-content table {
    width: 100% !important;
    min-width: auto !important; /* Override the 500px for tables */
}
