* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-weight: 500;
    margin: 0;
    padding: 0;
    background: #f7f5f1;
    color: #1f1f1f;
    line-height: 1.8;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font-family: inherit;
}

.container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e0d8;
    padding: 18px 0;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-self: end;
}

.brand a {
    color: #1f1f1f;
    text-decoration: none;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand span {
    color: #8a6f45;
    font-size: 14px;
    font-weight: 600;
}

.main-nav-wrap {
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 16px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    color: #333333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
}

.main-nav a:hover {
    color: #8a6f45;
}

.nav-account-link {
    width: 44px;
    height: 44px;
    margin-right: 8px;
    border-radius: 50%;
    border: 1px solid #d8d0c4;
    background: #ffffff;
    color: #1f1f1f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.nav-account-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.nav-account-link:hover {
    border-color: #8a6f45;
    color: #8a6f45;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(138, 111, 69, 0.12);
}

.nav-account-link-active {
    background: #f3efe8;
    color: #8a6f45;
    border-color: #e2d8ca;
}

.header-tools {
    display: flex;
    align-items: center;
    justify-self: start;
    min-width: 96px;
}

.header-tools-spacer {
    display: inline-block;
    width: 96px;
    height: 1px;
}

.header-account-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 96px;
    background: #1f1f1f;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #1f1f1f;
    transition: all 0.25s ease;
}

.header-account-button:hover {
    background: #8a6f45;
    border-color: #8a6f45;
}

.header-account-button-light {
    background: #ffffff;
    color: #1f1f1f;
    border: 1px solid #d8d0c4;
}

.header-account-button-light:hover {
    color: #ffffff;
}

.flash-messages {
    padding: 18px 0 0;
}

.flash-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.flash-message-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 700;
}

.flash-success {
    background: #edf8f1;
    color: #1d6a39;
    border: 1px solid #cfe9d8;
}

.flash-success .flash-message-icon {
    background: #1d6a39;
    color: #ffffff;
}

.flash-error {
    background: #fff0f0;
    color: #a53333;
    border: 1px solid #f0c9c9;
}

.flash-error .flash-message-icon {
    background: #a53333;
    color: #ffffff;
}

.flash-info {
    background: #f4f1eb;
    color: #5c4c3b;
    border: 1px solid #e4dbcf;
}

.flash-info .flash-message-icon {
    background: #8a6f45;
    color: #ffffff;
}

.eyebrow {
    color: #8a6f45;
    font-size: 14px;
    letter-spacing: 5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1f1f1f;
    color: #ffffff;
    padding: 13px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    border: 1px solid #1f1f1f;
    transition: all 0.25s ease;
    cursor: pointer;
}

.primary-button:hover {
    background: #8a6f45;
    border-color: #8a6f45;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #1f1f1f;
    padding: 13px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    border: 1px solid #d8d0c4;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.25s ease;
}

.secondary-button:hover {
    border-color: #8a6f45;
    color: #8a6f45;
}

.home-hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
    padding: 70px 0 80px;
    background: radial-gradient(circle at center, #ffffff 0%, #f7f5f1 70%);
}

.home-hero-content {
    text-align: center;
    max-width: 1120px;
    margin: 0 auto;
}

.home-hero-content h1 {
    font-size: 64px;
    line-height: 1.2;
    margin: 0 0 18px;
    color: #171717;
    font-weight: 800;
}

.home-hero-text {
    max-width: 760px;
    margin: 0 auto 34px;
    font-size: 20px;
    color: #555555;
    font-weight: 600;
}

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1120px;
    height: 540px;
    margin: 0 auto 34px;
    border-radius: 32px;
    overflow: hidden;
    background: #eee8df;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.10);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: nelwiSlider 15s infinite;
}

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

.slide-1 {
    animation-delay: 0s;
}

.slide-2 {
    animation-delay: 5s;
}

.slide-3 {
    animation-delay: 10s;
}

@keyframes nelwiSlider {
    0% {
        opacity: 0;
        transform: scale(1.02);
    }

    6% {
        opacity: 1;
        transform: scale(1);
    }

    28% {
        opacity: 1;
        transform: scale(1);
    }

    33% {
        opacity: 0;
        transform: scale(1.02);
    }

    100% {
        opacity: 0;
        transform: scale(1.02);
    }
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.instagram-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.home-intro {
    padding: 80px 0 100px;
    background: #ffffff;
}

.section-heading {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.section-heading h2 {
    font-size: 42px;
    line-height: 1.4;
    margin: 0 0 14px;
    color: #171717;
    font-weight: 800;
}

.section-heading p {
    font-size: 18px;
    color: #555555;
    margin: 0;
    font-weight: 600;
}

.products-page {
    padding: 70px 0 90px;
}

.page-heading {
    text-align: center;
    margin-bottom: 46px;
}

.page-heading h1 {
    font-size: 40px;
    margin: 0 0 14px;
    color: #171717;
    font-weight: 800;
}

.page-heading p {
    color: #555555;
    font-size: 17px;
    margin: 0;
    font-weight: 600;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #eee8df;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.10);
}

.product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #f1eee8;
}

.product-card-body {
    padding: 26px 24px 28px;
    text-align: center;
}

.product-card-body h2 {
    font-size: 26px;
    line-height: 1.3;
    margin: 0 0 14px;
    color: #171717;
    font-weight: 800;
}

.product-card-body p {
    color: #555555;
    font-size: 15px;
    margin: 0 0 16px;
    font-weight: 600;
}

.product-price {
    display: inline-block;
    color: #8a6f45;
    font-weight: 700;
    font-size: 17px;
}

.empty-message {
    grid-column: 1 / -1;
    background: #ffffff;
    border: 1px solid #eee8df;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: #666666;
    font-weight: 600;
}

.product-detail-page {
    padding: 70px 0 90px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #eee8df;
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.07);
}

.product-detail-image {
    overflow: hidden;
    border-radius: 18px;
    background: #f1eee8;
}

.product-detail-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.product-detail-content {
    text-align: right;
}

.product-detail-content h1 {
    font-size: 46px;
    line-height: 1.3;
    margin: 0 0 22px;
    color: #171717;
    font-weight: 800;
}

.product-detail-description {
    font-size: 18px;
    color: #555555;
    margin: 0 0 24px;
    font-weight: 600;
}

.product-detail-price {
    font-size: 24px;
    font-weight: 800;
    color: #8a6f45;
    margin-bottom: 30px;
}

.site-footer {
    background: #ffffff;
    border-top: 1px solid #e5e0d8;
    padding: 24px 0;
    text-align: center;
    color: #777777;
    font-size: 14px;
    font-weight: 600;
}

.simple-page {
    padding: 90px 0 110px;
    background: radial-gradient(circle at center, #ffffff 0%, #f7f5f1 72%);
}

.simple-page-card {
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #eee8df;
    border-radius: 24px;
    padding: 54px 48px;
    text-align: center;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.07);
}

.simple-page-card h1 {
    font-size: 44px;
    line-height: 1.35;
    margin: 0 0 18px;
    color: #171717;
    font-weight: 800;
}

.simple-page-card p {
    font-size: 18px;
    color: #555555;
    margin: 0 auto 18px;
    max-width: 720px;
    font-weight: 600;
}

.contact-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.order-form {
    margin-top: 28px;
    display: grid;
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 8px;
    text-align: right;
}

.form-field label {
    font-size: 14px;
    color: #4b4036;
    font-weight: 700;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(43, 35, 28, 0.16);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    background: #fff;
    color: #2b231c;
    outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(43, 35, 28, 0.45);
}

.full-width-button {
    width: 100%;
}

.auth-card {
    max-width: 760px;
}

.auth-card-compact {
    max-width: 760px;
}

.auth-subtitle {
    margin-bottom: 10px;
}

.verify-phone-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
    font-size: 20px;
    color: #3f352d;
    font-weight: 700;
}

.verify-phone-line strong {
    color: #1f1f1f;
    font-weight: 800;
}

.verify-phone-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

.verify-phone-badge.success {
    background: #1f7a45;
    color: #ffffff;
}

.verify-phone-badge.error {
    background: #bb3e3e;
    color: #ffffff;
}

.small-muted {
    color: #7a6e63 !important;
    font-size: 15px !important;
    margin-bottom: 14px !important;
    font-weight: 600 !important;
}

.inline-status-message {
    max-width: 520px;
    margin: 0 auto 14px;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
}

.inline-status-message.success {
    background: #edf8f1;
    color: #1d6a39;
    border: 1px solid #cfe9d8;
}

.inline-status-message.error {
    background: #fff0f0;
    color: #a53333;
    border: 1px solid #f0c9c9;
}

.otp-form {
    margin-top: 18px;
}

.otp-narrow-field {
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
}

.otp-button-wrap {
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
}

.otp-submit-button {
    width: 100%;
}

.otp-secondary-wrap {
    margin-top: 16px;
}

.otp-secondary-button {
    min-width: 220px;
}

.success-redirect-text {
    color: #1d6a39 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

@media (max-width: 900px) {
    .header-inner {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .brand {
        justify-self: center;
        align-items: center;
    }

    .main-nav-wrap {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-tools {
        justify-self: center;
    }

    .home-hero-content h1 {
        font-size: 46px;
    }

    .home-hero-text {
        font-size: 17px;
    }

    .hero-slider {
        height: 360px;
        border-radius: 24px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .product-detail-image img {
        height: 380px;
    }
}

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

    .home-hero {
        padding: 50px 0 60px;
    }

    .home-hero-content h1 {
        font-size: 34px;
    }

    .hero-slider {
        height: 240px;
        border-radius: 20px;
    }

    .home-hero-text {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .page-heading h1 {
        font-size: 32px;
    }

    .product-detail {
        padding: 22px;
    }

    .product-detail-content h1 {
        font-size: 34px;
    }

    .simple-page {
        padding: 60px 0 80px;
    }

    .simple-page-card {
        padding: 34px 24px;
    }

    .simple-page-card h1 {
        font-size: 34px;
    }

    .simple-page-card p {
        font-size: 16px;
    }

    .verify-phone-line {
        font-size: 17px;
    }

    .otp-narrow-field,
    .otp-button-wrap {
        max-width: 100%;
    }

    .header-account-button {
        width: 100%;
    }
}

/* Modern header restore */
.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.brand {
    justify-self: end;
}

.main-nav {
    justify-self: center;
}

.header-actions {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-icon-link {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ded6ca;
    background: #ffffff;
    color: #1f1f1f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.header-icon-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.header-icon-link:hover {
    color: #8a6f45;
    border-color: #8a6f45;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(138, 111, 69, 0.14);
}

.cart-count-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #8a6f45;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
}

.account-menu {
    position: relative;
}

.account-trigger {
    padding: 0;
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 250px;
    padding: 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #eee8df;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    text-align: right;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 20;
}

.account-menu:hover .account-dropdown,
.account-menu:focus-within .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-dropdown-title {
    color: #8a6f45 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    margin: 0 0 8px !important;
}

.account-dropdown p {
    margin: 0 0 8px !important;
    color: #2b231c !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.account-dropdown a {
    display: inline-flex;
    margin-top: 10px;
    color: #bb3e3e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.product-title-link {
    color: inherit;
    text-decoration: none;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

.add-cart-icon-button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #d8d0c4;
    background: #ffffff;
    color: #1f1f1f;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.add-cart-icon-button:hover {
    background: #1f1f1f;
    color: #ffffff;
    border-color: #1f1f1f;
    transform: translateY(-1px);
}

.cart-page-card {
    max-width: 860px;
}

.cart-items {
    display: grid;
    gap: 16px;
    margin: 30px 0;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    border: 1px solid #eee8df;
    border-radius: 18px;
    background: #fffdf9;
    text-align: right;
}

.cart-item h2 {
    font-size: 20px;
    margin: 0 0 6px;
}

.cart-item p {
    margin: 0 !important;
    font-size: 14px !important;
}

.cart-item-price {
    display: grid;
    gap: 8px;
    text-align: left;
}

.cart-remove-link {
    color: #bb3e3e;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.cart-total-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    margin: 24px 0;
    border-radius: 18px;
    background: #f3efe8;
    color: #2b231c;
    font-weight: 800;
}

@media (max-width: 900px) {
    .header-inner {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .brand,
    .main-nav,
    .header-actions {
        justify-self: center;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cart-item,
    .cart-total-box {
        flex-direction: column;
        text-align: center;
    }

    .cart-item-price {
        text-align: center;
    }
}

/* Header final layout fix */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e0d8;
    padding: 18px 0;
}

.header-inner {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 24px !important;
}

.brand {
    justify-self: start !important;
    align-items: flex-start !important;
    text-align: right !important;
}

.brand a {
    font-size: 26px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

.brand span {
    font-size: 14px !important;
    font-weight: 400 !important;
}

.main-nav {
    justify-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 24px !important;
}

.main-nav a {
    color: #333333 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 400 !important;
}

.main-nav a:hover {
    color: #8a6f45 !important;
}

.header-actions {
    justify-self: end !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.header-icon-link {
    position: relative !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: 1px solid #ded6ca !important;
    background: #ffffff !important;
    color: #111111 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    padding: 0 !important;
}

.header-icon-link svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
}

.header-icon-link:hover {
    color: #111111 !important;
    border-color: #111111 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10) !important;
}

.cart-count-badge {
    position: absolute !important;
    top: -5px !important;
    left: -5px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    background: #111111 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 18px !important;
    text-align: center !important;
}

.account-menu {
    position: relative !important;
}

.account-trigger {
    border: 1px solid #ded6ca !important;
}

.account-dropdown {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: 0 !important;
    width: 255px !important;
    padding: 18px !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 1px solid #eee8df !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12) !important;
    text-align: right !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;
    transition: all 0.2s ease !important;
    z-index: 50 !important;
}

.account-menu:hover .account-dropdown,
.account-menu:focus-within .account-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.account-dropdown-title {
    color: #8a6f45 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin: 0 0 8px !important;
}

.account-dropdown p {
    margin: 0 0 8px !important;
    color: #2b231c !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.account-dropdown a {
    display: inline-flex !important;
    margin-top: 10px !important;
    color: #bb3e3e !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

@media (max-width: 900px) {
    .header-inner {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
    }

    .brand,
    .main-nav,
    .header-actions {
        justify-self: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    .main-nav {
        flex-wrap: wrap !important;
    }
}

/* Cart image layout fix */
.cart-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;
    padding: 18px !important;
    border: 1px solid #eee8df !important;
    border-radius: 18px !important;
    background: #fffdf9 !important;
    text-align: right !important;
}

.cart-item-product {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.cart-item-image {
    width: 86px;
    height: 86px;
    border-radius: 16px;
    overflow: hidden;
    background: #f3efe8;
    flex-shrink: 0;
    text-decoration: none;
}

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

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

.cart-item-info h2 {
    margin: 0 0 6px !important;
    font-size: 20px !important;
    line-height: 1.5 !important;
}

.cart-item-info h2 a {
    color: #111111;
    text-decoration: none;
}

.cart-item-info h2 a:hover {
    color: #8a6f45;
}

.cart-item-info p {
    margin: 0 !important;
    color: #555555 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.cart-item-price {
    display: grid !important;
    gap: 8px !important;
    text-align: left !important;
    white-space: nowrap;
}

.cart-item-price strong {
    color: #111111;
    font-size: 16px;
    font-weight: 800;
}

.cart-remove-link {
    color: #bb3e3e !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

@media (max-width: 700px) {
    .cart-item {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
    }

    .cart-item-product {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .cart-item-price {
        text-align: center !important;
    }
}

/* Product card action buttons */
.product-price-dark {
    color: #111111 !important;
    font-weight: 800 !important;
}

.product-card-actions {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 10px;
    margin-top: 18px;
}

.product-card-actions form {
    margin: 0;
}

.product-action-button {
    width: 100%;
    min-height: 44px;
    border-radius: 999px;
    padding: 10px 16px;
    border: 1px solid #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
}

.product-action-primary {
    background: #111111;
    color: #ffffff;
}

.product-action-primary:hover {
    background: #8a6f45;
    border-color: #8a6f45;
    color: #ffffff;
}

.product-action-secondary {
    background: #ffffff;
    color: #111111;
}

.product-action-secondary:hover {
    background: #111111;
    color: #ffffff;
}

@media (max-width: 600px) {
    .product-card-actions {
        grid-template-columns: 1fr;
    }
}

/* Product card action buttons */
.product-price-dark {
    color: #111111 !important;
    font-weight: 800 !important;
}

.product-card-actions {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 10px;
    margin-top: 18px;
}

.product-card-actions form {
    margin: 0;
}

.product-action-button {
    width: 100%;
    min-height: 44px;
    border-radius: 999px;
    padding: 10px 16px;
    border: 1px solid #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
}

.product-action-primary {
    background: #111111;
    color: #ffffff;
}

.product-action-primary:hover {
    background: #8a6f45;
    border-color: #8a6f45;
    color: #ffffff;
}

.product-action-secondary {
    background: #ffffff;
    color: #111111;
}

.product-action-secondary:hover {
    background: #111111;
    color: #ffffff;
}

@media (max-width: 600px) {
    .product-card-actions {
        grid-template-columns: 1fr;
    }
}

/* Select field style */
.form-field select {
    width: 100%;
    border: 1px solid rgba(43, 35, 28, 0.16);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    background: #ffffff;
    color: #2b231c;
    outline: none;
}

.form-field select:focus {
    border-color: rgba(43, 35, 28, 0.45);
}

/* Select field style */
.form-field select {
    width: 100%;
    border: 1px solid rgba(43, 35, 28, 0.16);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    background: #ffffff;
    color: #2b231c;
    outline: none;
}

.form-field select:focus {
    border-color: rgba(43, 35, 28, 0.45);
}

/* Product added to cart badge */
.product-card-image-wrap {
    position: relative;
}

.product-added-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

/* Modern invoice page */
.invoice-page {
    padding: 80px 0 110px;
    background:
        radial-gradient(circle at top, #ffffff 0%, #f7f5f1 62%),
        #f7f5f1;
}

.invoice-shell {
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #eee8df;
    border-radius: 30px;
    padding: 38px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.08);
}

.invoice-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid #eee8df;
}

.invoice-label {
    display: inline-flex;
    color: #8a6f45;
    font-size: 13px;
    letter-spacing: 5px;
    font-weight: 800;
    margin-bottom: 10px;
}

.invoice-header h1 {
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.3;
    color: #111111;
    font-weight: 900;
}

.invoice-header p {
    margin: 0;
    color: #5f5a54;
    font-size: 16px;
    font-weight: 600;
}

.invoice-status-box {
    min-width: 190px;
    border-radius: 22px;
    background: #111111;
    color: #ffffff;
    padding: 18px 20px;
    text-align: center;
}

.invoice-status-box span {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 6px;
}

.invoice-status-box strong {
    display: block;
    font-size: 16px;
    font-weight: 900;
}

.invoice-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 26px 0;
}

.invoice-meta-card {
    border: 1px solid #eee8df;
    background: #fffdf9;
    border-radius: 20px;
    padding: 18px;
}

.invoice-meta-card span,
.invoice-info-item span,
.invoice-item-row span,
.invoice-summary-row span {
    display: block;
    color: #82776d;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.invoice-meta-card strong,
.invoice-info-item strong,
.invoice-item-row strong,
.invoice-summary-row strong {
    color: #111111;
    font-size: 15px;
    font-weight: 900;
}

.invoice-section {
    margin-top: 24px;
    border: 1px solid #eee8df;
    border-radius: 24px;
    padding: 24px;
    background: #ffffff;
}

.invoice-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.invoice-section-title h2 {
    margin: 0;
    font-size: 22px;
    color: #111111;
    font-weight: 900;
}

.invoice-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.invoice-info-item {
    background: #fffdf9;
    border: 1px solid #f0e7dc;
    border-radius: 18px;
    padding: 16px;
    text-align: right;
}

.invoice-info-full {
    grid-column: 1 / -1;
}

.invoice-items {
    display: grid;
    gap: 12px;
}

.invoice-item-row {
    display: grid;
    grid-template-columns: 1.4fr 0.55fr 0.9fr 0.9fr;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    background: #fffdf9;
    border: 1px solid #f0e7dc;
}

.invoice-item-main,
.invoice-item-small,
.invoice-item-total {
    text-align: right;
}

.invoice-item-total {
    padding: 12px;
    border-radius: 14px;
    background: #f3efe8;
}

.invoice-summary-wrap {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 20px;
    margin-top: 24px;
    align-items: stretch;
}

.invoice-payment-note {
    border-radius: 24px;
    border: 1px solid #eee8df;
    background: linear-gradient(135deg, #fffdf9, #f7f2eb);
    padding: 24px;
}

.invoice-payment-note h2 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #111111;
    font-weight: 900;
}

.invoice-payment-note p {
    margin: 0;
    color: #5f5a54;
    font-size: 15px;
    font-weight: 600;
}

.invoice-summary {
    border-radius: 24px;
    background: #111111;
    color: #ffffff;
    padding: 22px;
}

.invoice-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.invoice-summary-row span {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.invoice-summary-row strong {
    color: #ffffff;
    font-size: 15px;
}

.invoice-summary-final {
    border-bottom: none;
    padding-top: 18px;
}

.invoice-summary-final span {
    color: #ffffff;
    font-size: 16px;
}

.invoice-summary-final strong {
    font-size: 22px;
    color: #ffffff;
}

.invoice-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

@media (max-width: 800px) {
    .invoice-shell {
        padding: 24px;
        border-radius: 24px;
    }

    .invoice-header {
        flex-direction: column;
    }

    .invoice-status-box {
        width: 100%;
    }

    .invoice-meta-grid,
    .invoice-info-grid,
    .invoice-summary-wrap {
        grid-template-columns: 1fr;
    }

    .invoice-item-row {
        grid-template-columns: 1fr;
    }

    .invoice-item-total {
        text-align: right;
    }

    .invoice-header h1 {
        font-size: 34px;
    }
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-brand strong {
    font-size: 22px;
    letter-spacing: 1px;
}

.footer-brand span {
    color: #8a6f45;
    font-size: 14px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 22px;
}

.footer-links a {
    color: #444444;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.footer-links a:hover {
    color: #8a6f45;
}

.legal-page-card h2 {
    margin: 28px 0 8px;
    font-size: 22px;
    color: #171717;
}

.legal-page-card p {
    color: #555555;
    font-weight: 600;
}

.contact-page-card {
    max-width: 860px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 30px 0 22px;
}

.contact-info-item {
    background: #f7f5f1;
    border: 1px solid #eee8df;
    border-radius: 18px;
    padding: 18px 20px;
}

.contact-info-item span {
    display: block;
    color: #8a6f45;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
}

.contact-info-item strong {
    color: #1f1f1f;
    font-size: 16px;
    font-weight: 800;
}

.contact-note {
    background: #ffffff;
    border: 1px dashed #d8d0c4;
    border-radius: 18px;
    color: #5c4c3b;
    font-size: 15px;
    font-weight: 700;
    padding: 16px 18px;
    margin-bottom: 28px;
}

@media (max-width: 680px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

.my-orders-card {
    max-width: 980px;
}

.my-orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

.my-order-item {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
    gap: 14px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #eee8df;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.05);
}

.my-order-main,
.my-order-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.my-order-main span,
.my-order-meta span {
    color: #8a6f45;
    font-size: 13px;
    font-weight: 800;
}

.my-order-main strong,
.my-order-meta strong {
    color: #1f1f1f;
    font-size: 15px;
    font-weight: 800;
}

.my-order-link {
    white-space: nowrap;
}

@media (max-width: 900px) {
    .my-order-item {
        grid-template-columns: 1fr 1fr;
    }

    .my-order-link {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .my-order-item {
        grid-template-columns: 1fr;
    }
}

.account-dropdown a {
    display: block;
    color: #1f1f1f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    margin-top: 12px;
}

.account-dropdown a:hover {
    color: #8a6f45;
}

.account-dropdown a + a {
    border-top: 1px solid #eee8df;
    padding-top: 12px;
}

.account-dropdown .account-dropdown-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100%;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #eee8df;
}

.account-dropdown .account-dropdown-link {
    display: block !important;
    width: 100% !important;
    color: #1f1f1f !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
    padding: 8px 0;
    margin: 0 !important;
    text-align: right;
}

.account-dropdown .account-dropdown-link + .account-dropdown-link {
    border-top: 1px solid #eee8df;
    margin-top: 6px !important;
    padding-top: 12px;
}

.account-dropdown .account-dropdown-link:hover {
    color: #8a6f45 !important;
}

.account-dropdown .account-dropdown-logout {
    color: #1f1f1f !important;
}

.account-dropdown .account-dropdown-title {
    color: #1f1f1f !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    margin-bottom: 10px !important;
}

.account-dropdown .account-dropdown-logout {
    color: #c0392b !important;
}

.account-dropdown .account-dropdown-logout:hover {
    color: #8f241b !important;
}



/* Stock status UI */
.product-stock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.product-stock-in {
    color: #1f7a4d;
    background: rgba(31, 122, 77, 0.10);
}

.product-stock-out {
    color: #b03232;
    background: rgba(176, 50, 50, 0.10);
}

.product-detail-stock {
    width: fit-content;
    margin: 1rem 0 0;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
}

.product-action-disabled,
.button-disabled {
    cursor: not-allowed;
    opacity: 0.55;
    pointer-events: none;
    box-shadow: none;
}

.cart-stock-warning {
    margin-top: 0.35rem;
    color: #b03232;
    font-weight: 800;
}


/* Home fullscreen hero redesign */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
}

.main-menu {
    position: relative;
}

.main-menu summary {
    list-style: none;
}

.main-menu summary::-webkit-details-marker {
    display: none;
}

.main-menu-trigger {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(20, 20, 20, 0.12);
    border-radius: 0;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 11px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.72);
}

.main-menu-trigger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #161616;
}

.main-menu .main-nav {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    min-width: 220px;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(20, 20, 20, 0.10);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    z-index: 80;
}

.main-menu[open] .main-nav,
.main-menu:hover .main-nav {
    display: flex;
}

.main-menu .main-nav a {
    padding: 0.75rem 0.85rem;
    color: #111;
    font-weight: 700;
}

.main-menu .main-nav a:hover {
    background: rgba(0, 0, 0, 0.05);
}

.home-full-hero {
    position: relative;
    min-height: calc(100vh - 86px);
    overflow: hidden;
    background: #111;
}

.home-full-slider,
.home-full-slide,
.home-full-slide picture,
.home-full-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-full-slide {
    opacity: 0;
    animation: homeHeroFade 18s infinite;
}

.home-full-slide-1 {
    opacity: 1;
    animation-delay: 0s;
}

.home-full-slide-2 {
    animation-delay: 6s;
}

.home-full-slide-3 {
    animation-delay: 12s;
}

.home-full-slide img {
    object-fit: cover;
    transform: scale(1.04);
    animation: homeHeroZoom 18s infinite;
}

.home-full-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.16) 52%, rgba(0, 0, 0, 0.06)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 42%);
    z-index: 2;
}

.home-full-content {
    position: relative;
    z-index: 3;
    min-height: calc(100vh - 86px);
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 7rem 0 5.5rem;
    color: #fff;
    direction: rtl;
    text-align: right;
}

.home-full-kicker {
    margin: 0 0 1rem;
    letter-spacing: 0.26em;
    font-size: 0.78rem;
    font-weight: 900;
}

.home-full-content h1 {
    margin: 0;
    max-width: 680px;
    font-size: clamp(3.2rem, 8vw, 7.5rem);
    line-height: 0.95;
    font-weight: 950;
    letter-spacing: -0.08em;
}

.home-full-content p:not(.home-full-kicker) {
    max-width: 560px;
    margin: 1.25rem 0 0;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 2;
    color: rgba(255, 255, 255, 0.86);
}

.home-full-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

.home-full-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.35rem;
    border-radius: 0;
    font-weight: 900;
}

.home-full-button-primary {
    color: #111;
    background: #fff;
}

.home-full-button-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.08);
}

.home-category-section {
    padding: 5rem 0;
    background: #f4f0ea;
}

.home-category-heading {
    margin-bottom: 1.8rem;
}

.home-category-heading h2 {
    margin: 0.35rem 0 0;
    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: -0.05em;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(0, 0, 0, 0.14);
}

.home-category-card {
    min-height: 280px;
    padding: 1.4rem;
    background: #fffaf4;
    color: #151515;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 0;
    transition: transform 0.25s ease, background 0.25s ease;
}

.home-category-card:hover {
    transform: translateY(-4px);
    background: #111;
    color: #fff;
}

.home-category-card span {
    font-size: 0.85rem;
    font-weight: 900;
    opacity: 0.55;
}

.home-category-card strong {
    font-size: clamp(1.55rem, 2.6vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.05em;
}

.home-category-card small {
    font-size: 0.95rem;
    opacity: 0.72;
}

@keyframes homeHeroFade {
    0% { opacity: 0; }
    4% { opacity: 1; }
    31% { opacity: 1; }
    36% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes homeHeroZoom {
    0% { transform: scale(1.04); }
    100% { transform: scale(1.10); }
}

@media (max-width: 760px) {
    .site-header {
        background: rgba(255, 255, 255, 0.96);
    }

    .home-full-hero,
    .home-full-content {
        min-height: calc(100vh - 76px);
    }

    .home-full-overlay {
        background:
            linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.12) 62%),
            linear-gradient(90deg, rgba(0, 0, 0, 0.38), transparent);
    }

    .home-full-content {
        width: min(100% - 1.25rem, 540px);
        padding: 5rem 0 3.2rem;
    }

    .home-full-content h1 {
        font-size: clamp(2.8rem, 16vw, 5rem);
    }

    .home-full-actions {
        width: 100%;
    }

    .home-full-button {
        flex: 1;
        min-width: 150px;
    }

    .home-category-section {
        padding: 3rem 0;
    }

    .home-category-grid {
        grid-template-columns: 1fr;
    }

    .home-category-card {
        min-height: 190px;
    }
}


/* home-redesign-refine-v2 */
.header-inner {
    position: relative;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
}

.main-menu {
    position: absolute;
    right: 0;
    z-index: 6;
}

.header-actions {
    position: absolute;
    left: 0;
    z-index: 6;
}

.home-full-content {
    padding-bottom: 4rem;
}

.home-full-content p:not(.home-full-kicker) {
    max-width: 500px;
}

.home-category-section {
    padding: 4rem 0;
    background: #f7f4ef;
}

.home-category-heading {
    margin-bottom: 1.25rem;
}

.home-category-heading .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
}

.home-category-heading h2 {
    margin: 0.25rem 0 0;
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
    letter-spacing: -0.03em;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    background: transparent;
}

.home-category-card {
    background: #ffffff;
    border-radius: 0;
    min-height: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: none;
    color: #111;
}

.home-category-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    color: #111;
}

.home-category-media {
    aspect-ratio: 4 / 5;
    background: #f2f2f2;
    overflow: hidden;
}

.home-category-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-category-info {
    padding: 0.9rem 0.95rem 1rem;
    text-align: right;
}

.home-category-info strong {
    display: block;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 76px;
    }

    .brand a {
        font-size: 1.7rem;
    }

    .main-menu {
        right: 0.25rem;
    }

    .header-actions {
        left: 0.25rem;
    }

    .home-full-content {
        padding-bottom: 2.75rem;
    }

    .home-category-section {
        padding: 2.5rem 0;
    }

    .home-category-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .home-category-media {
        aspect-ratio: 16 / 12;
    }

    .home-category-info strong {
        font-size: 1rem;
    }
}


/* home-refine-v3 */
.brand a {
    font-size: 2rem;
    font-weight: 950;
    letter-spacing: 0.04em;
}

.brand span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.main-menu {
    right: 1rem;
}

.main-menu-trigger {
    width: 46px;
    height: 46px;
    padding: 0 10px;
    border-color: rgba(0, 0, 0, 0.22);
    background: rgba(255, 255, 255, 0.88);
}

.main-menu-trigger span {
    height: 3px;
    background: #070707;
    border-radius: 999px;
}

.main-menu:hover .main-nav,
.main-menu[open] .main-nav {
    display: flex;
}

.main-menu .main-nav {
    right: 0;
    padding: 0.95rem;
}

.main-menu .main-nav a {
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.home-full-content h1 {
    font-size: clamp(2.25rem, 5vw, 4.7rem);
    font-weight: 850;
    letter-spacing: -0.055em;
    line-height: 1.08;
    font-family: Georgia, "Times New Roman", serif;
}

.home-full-content p:not(.home-full-kicker) {
    font-size: clamp(0.92rem, 1.25vw, 1.05rem);
    line-height: 2;
}

.home-category-info {
    text-align: center;
    padding: 1rem 0.95rem 1.15rem;
}

.home-category-info strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    background: #080808;
    color: #fff;
    font-size: clamp(0.95rem, 1.15vw, 1.08rem);
    font-weight: 950;
    letter-spacing: -0.015em;
}

.home-category-heading h2 {
    font-size: clamp(1.25rem, 2vw, 1.85rem);
}

@media (max-width: 760px) {
    .brand a {
        font-size: 1.75rem;
    }

    .brand span {
        font-size: 0.62rem;
    }

    .main-menu {
        right: 0.75rem;
    }

    .main-menu-trigger {
        width: 42px;
        height: 42px;
    }

    .home-full-content h1 {
        font-size: clamp(2.15rem, 11vw, 3.7rem);
        line-height: 1.12;
    }

    .home-category-info strong {
        min-width: 118px;
        font-size: 0.95rem;
    }
}


/* home-refine-v4-hover-menu-news */
.main-menu {
    position: absolute;
    right: 1rem;
    z-index: 20;
}

.main-menu-trigger {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 4px;
    cursor: pointer;
}

.main-menu-trigger span {
    height: 4px;
    background: #050505;
    border-radius: 999px;
}

.main-menu:hover .main-nav,
.main-menu:focus-within .main-nav {
    display: flex;
}

.main-menu .main-nav {
    top: calc(100% + 0.6rem);
    right: 0;
}

.main-menu .main-nav a {
    font-weight: 1000;
    font-size: 1.02rem;
    color: #050505;
}

.home-art-news-section {
    padding: 4.5rem 0 5.5rem;
    background: #fbfaf7;
}

.home-art-news-heading {
    text-align: center;
    margin-bottom: 1.6rem;
}

.home-art-news-heading h2 {
    font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.home-art-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.home-art-news-card {
    color: #111;
    display: block;
}

.home-art-news-media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eee;
}

.home-art-news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.home-art-news-card:hover .home-art-news-media img {
    transform: scale(1.04);
}

.home-art-news-info {
    padding-top: 1rem;
    text-align: right;
}

.home-art-news-info strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 950;
    margin-bottom: 0.45rem;
}

.home-art-news-info small {
    display: block;
    max-width: 90%;
    color: rgba(0, 0, 0, 0.72);
    line-height: 1.8;
    font-size: 0.92rem;
}

@media (max-width: 760px) {
    .main-menu {
        right: 0.75rem;
    }

    .main-menu-trigger {
        width: 40px;
        height: 40px;
    }

    .main-menu .main-nav {
        min-width: 190px;
    }

    .home-art-news-section {
        padding: 3rem 0 4rem;
    }

    .home-art-news-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .home-art-news-info {
        text-align: center;
    }

    .home-art-news-info small {
        max-width: 100%;
    }
}


/* home-refine-v5-menu-hover-fix */
.main-menu {
    position: absolute;
    right: 1rem;
    z-index: 80;
    padding-bottom: 0.75rem;
}

.main-menu-trigger {
    appearance: none;
    -webkit-appearance: none;
    border: 0 !important;
    outline: 0;
    background: transparent !important;
    box-shadow: none !important;
    width: 44px;
    height: 44px;
    padding: 0 3px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.main-menu-trigger span {
    display: block;
    width: 100%;
    height: 4px !important;
    background: #050505 !important;
    border-radius: 999px;
}

.main-menu .main-nav {
    display: flex !important;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    padding: 0.9rem;
    flex-direction: column;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.main-menu:hover .main-nav,
.main-menu:focus-within .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.main-menu .main-nav a {
    font-weight: 1000 !important;
    font-size: 1.05rem;
    padding: 0.85rem 1rem;
    color: #050505;
}

@media (max-width: 760px) {
    .main-menu {
        right: 0.75rem;
    }

    .main-menu .main-nav {
        min-width: 190px;
    }
}


/* home-header-overlay-v1 */
.site-header-overlay {
    position: absolute !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 120;
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.site-header-overlay .header-inner {
    min-height: 96px;
}

.site-header-overlay .brand a {
    color: #ffffff;
    font-size: 2.35rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.site-header-overlay .header-icon-link {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
}

.site-header-overlay .header-icon-link svg {
    fill: #ffffff;
}

.site-header-overlay .main-menu-trigger {
    background: transparent !important;
}

.site-header-overlay .main-menu-trigger span {
    background: #ffffff !important;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

.site-header-overlay .main-menu .main-nav {
    background: rgba(255, 255, 255, 0.96);
}

.site-header-overlay .cart-count-badge {
    background: #ffffff;
    color: #111111;
}

.site-header-overlay + .home-full-hero,
.site-header-overlay ~ .home-full-hero {
    min-height: 100vh;
}

.site-header-overlay + .home-full-hero .home-full-content,
.site-header-overlay ~ .home-full-hero .home-full-content {
    min-height: 100vh;
    padding-top: 8rem;
}

@media (max-width: 760px) {
    .site-header-overlay .header-inner {
        min-height: 82px;
    }

    .site-header-overlay .brand a {
        font-size: 2rem;
    }

    .site-header-overlay + .home-full-hero .home-full-content,
    .site-header-overlay ~ .home-full-hero .home-full-content {
        padding-top: 6.5rem;
    }
}


/* home-hero-full-viewport-v2 */
.home-full-hero {
    min-height: 100vh !important;
    height: 100vh;
}

.home-full-content {
    min-height: 100vh !important;
}

.home-full-slider,
.home-full-slide,
.home-full-slide picture,
.home-full-slide img {
    min-height: 100vh;
}

@supports (height: 100svh) {
    .home-full-hero {
        min-height: 100svh !important;
        height: 100svh;
    }

    .home-full-content {
        min-height: 100svh !important;
    }

    .home-full-slider,
    .home-full-slide,
    .home-full-slide picture,
    .home-full-slide img {
        min-height: 100svh;
    }
}


/* home-header-final-polish-v1 */
.site-header-overlay .brand a {
    font-size: 2.85rem;
    font-weight: 1000;
    letter-spacing: 0.075em;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1;
}

.site-header-overlay .header-actions {
    gap: 0.7rem;
}

.site-header-overlay .header-icon-link,
.site-header-overlay .account-trigger {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    width: 42px;
    height: 42px;
}

.site-header-overlay .header-icon-link svg,
.site-header-overlay .account-trigger svg {
    fill: #ffffff !important;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.32));
}

.site-header-overlay .cart-count-badge {
    top: 2px;
    right: 2px;
    background: #ffffff;
    color: #111111;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

@media (max-width: 760px) {
    .site-header-overlay .brand a {
        font-size: 2.25rem;
        letter-spacing: 0.055em;
    }

    .site-header-overlay .header-icon-link,
    .site-header-overlay .account-trigger {
        width: 38px;
        height: 38px;
    }
}

/* NELWI final visible modern header logo */
header.site-header.site-header-overlay .brand a {
    color: #ffffff !important;
    text-decoration: none !important;
}

header.site-header.site-header-overlay .brand a .nelwi-header-logo {
    display: inline-block !important;
    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 2.55rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -0.09em !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
    transform: scaleX(0.86) !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25) !important;
}

/* Home journal section */
.home-journal-section {
    background: #f7f5f1;
    padding: 6rem 0;
}

.home-journal-heading {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}

.home-journal-heading h2 {
    margin: 0.35rem 0 0.75rem;
    color: #151515;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.home-journal-heading p:last-child {
    margin: 0;
    color: #68645f;
    font-size: 1rem;
    line-height: 2;
}

.home-journal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.home-journal-card {
    background: #ffffff;
    border: 1px solid rgba(20, 20, 20, 0.12);
    overflow: hidden;
}

.home-journal-media {
    aspect-ratio: 4 / 3;
    background: #e7e3dd;
    overflow: hidden;
}

.home-journal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(8%);
    transition: transform 0.5s ease;
}

.home-journal-card:hover .home-journal-media img {
    transform: scale(1.04);
}

.home-journal-info {
    padding: 1.4rem 1.35rem 1.55rem;
}

.home-journal-info span {
    display: block;
    margin-bottom: 0.75rem;
    color: #8b7a62;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-journal-info h3 {
    margin: 0 0 0.75rem;
    color: #171717;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
}

.home-journal-info p {
    margin: 0;
    color: #6b6864;
    font-size: 0.92rem;
    line-height: 2;
}

@media (max-width: 900px) {
    .home-journal-grid {
        grid-template-columns: 1fr;
    }

    .home-journal-section {
        padding: 4.5rem 0;
    }
}

/* Journal detail page */
.journal-detail-section {
    background: #f7f5f1;
    padding: 7rem 0 6rem;
}

.journal-detail-container {
    max-width: 980px;
}

.journal-back-link {
    display: inline-flex;
    margin-bottom: 2rem;
    color: #7d6b52;
    font-size: 0.95rem;
    text-decoration: none;
}

.journal-back-link:hover {
    color: #171717;
}

.journal-detail-article {
    background: #ffffff;
    border: 1px solid rgba(20, 20, 20, 0.1);
    padding: clamp(1.5rem, 4vw, 3.5rem);
}

.journal-detail-header {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.journal-detail-header h1 {
    margin: 0.5rem 0 1rem;
    color: #151515;
    font-size: clamp(2.1rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.05em;
}

.journal-detail-summary {
    margin: 0;
    color: #68645f;
    font-size: 1.05rem;
    line-height: 2;
}

.journal-detail-image {
    margin: 0 0 2.5rem;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e7e3dd;
}

.journal-detail-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.journal-detail-content {
    max-width: 760px;
    margin: 0 auto;
    color: #302d29;
    font-size: 1.03rem;
    line-height: 2.25;
}

.journal-detail-content p {
    margin: 0 0 1.4rem;
}

.journal-detail-video {
    max-width: 760px;
    margin: 2.5rem auto 0;
}

.journal-detail-video a {
    display: inline-flex;
    color: #ffffff;
    background: #171717;
    padding: 0.85rem 1.35rem;
    text-decoration: none;
    font-size: 0.95rem;
}

@media (max-width: 700px) {
    .journal-detail-section {
        padding: 5rem 0 4rem;
    }

    .journal-detail-article {
        padding: 1.25rem;
    }

    .journal-detail-image {
        aspect-ratio: 4 / 3;
    }
}

/* Home journal cards as links */
.home-journal-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.home-journal-card:hover {
    text-decoration: none;
}

/* Product category filter */
.product-category-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto 2.8rem;
}

.product-category-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.55rem 1.15rem;
    border: 1px solid rgba(20, 20, 20, 0.14);
    border-radius: 999px;
    color: #171717;
    background: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.product-category-filter a:hover,
.product-category-filter a.is-active {
    color: #ffffff;
    background: #171717;
    border-color: #171717;
}

/* nelwi-header-premium-v1 */
.site-header:not(.site-header-overlay) {
    border-bottom: 1px solid rgba(18, 18, 18, 0.07);
    box-shadow: 0 10px 30px rgba(15, 15, 15, 0.035);
}

.site-header:not(.site-header-overlay) .brand a {
    color: #050505 !important;
    font-size: clamp(1.75rem, 2.4vw, 2.35rem) !important;
    font-weight: 950 !important;
    letter-spacing: 0.06em;
    line-height: 1;
}

.site-header:not(.site-header-overlay) .brand a .nelwi-header-logo {
    color: #050505 !important;
}

.main-menu .main-nav {
    min-width: 260px !important;
    padding: 0.72rem !important;
    border-radius: 26px !important;
    background:
        radial-gradient(circle at 20% 0%, rgba(207, 177, 121, 0.18), transparent 34%),
        rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(18, 18, 18, 0.08) !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.16) !important;
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.main-menu .main-nav a {
    min-height: 58px;
    padding: 0.6rem 0.7rem !important;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 0.72rem;
    color: #080808 !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.01em;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.main-menu .main-nav a:hover {
    background: rgba(12, 12, 12, 0.055) !important;
    transform: translateX(-3px);
}

.main-nav-icon {
    width: 38px;
    height: 38px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    color: #111;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(243, 238, 229, 0.95));
    border: 1px solid rgba(18, 18, 18, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 10px 22px rgba(0,0,0,0.06);
}

.main-nav-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-header-overlay .brand a,
.site-header-overlay .brand a .nelwi-header-logo {
    color: #ffffff !important;
}

@media (max-width: 760px) {
    .site-header:not(.site-header-overlay) .brand a {
        font-size: 1.55rem !important;
    }

    .main-menu .main-nav {
        min-width: 238px !important;
        border-radius: 22px !important;
    }

    .main-menu .main-nav a {
        min-height: 54px;
        font-size: 0.96rem !important;
    }
}

/* nelwi-menu-alignment-fix-v1 */
.main-menu .main-nav a {
    width: 100%;
    display: grid !important;
    grid-template-columns: 40px 1fr;
    align-items: center;
    column-gap: 0.72rem;
    direction: rtl;
    text-align: right;
    justify-content: stretch;
}

.main-menu .main-nav a > span:last-child {
    display: block;
    line-height: 1.4;
    color: #050505;
    text-align: right;
}

.main-nav-icon {
    color: #050505 !important;
    background: rgba(255, 255, 255, 0.92);
}

.main-nav-icon svg {
    color: #050505 !important;
    stroke: #050505 !important;
}

.main-nav-icon svg path {
    stroke: #050505 !important;
}

@media (max-width: 760px) {
    .main-menu .main-nav a {
        grid-template-columns: 38px 1fr;
        column-gap: 0.65rem;
    }
}

/* nelwi-luxury-menu-v2 */
header.site-header:not(.site-header-overlay) .brand a,
header.site-header:not(.site-header-overlay) .brand a .nelwi-header-logo {
    color: #050505 !important;
    font-size: 2.35rem !important;
    font-weight: 950 !important;
    letter-spacing: 0.045em !important;
    line-height: 1 !important;
}

header.site-header:not(.site-header-overlay) .header-inner {
    min-height: 104px;
}

.main-menu-trigger {
    width: 48px !important;
    height: 48px !important;
    border-radius: 18px !important;
    padding: 0 7px !important;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.site-header:not(.site-header-overlay) .main-menu-trigger {
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06) !important;
}

.main-menu-trigger:hover {
    transform: translateY(-1px);
}

.main-menu-trigger span {
    height: 3px !important;
    border-radius: 999px !important;
}

.main-menu .main-nav {
    width: 292px !important;
    min-width: 292px !important;
    padding: 1rem !important;
    border-radius: 30px !important;
    gap: 0.48rem !important;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.98), rgba(247,244,238,0.96)) !important;
    border: 1px solid rgba(8, 8, 8, 0.075) !important;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.17),
        inset 0 1px 0 rgba(255,255,255,0.9) !important;
}

.main-menu .main-nav::before {
    content: "NELWI MENU";
    display: block;
    padding: 0.25rem 0.65rem 0.55rem;
    color: rgba(5, 5, 5, 0.42);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-align: left;
    direction: ltr;
}

.main-menu .main-nav a {
    min-height: 62px !important;
    display: grid !important;
    grid-template-columns: 44px 1fr !important;
    column-gap: 1.05rem !important;
    align-items: center !important;
    padding: 0.62rem 0.72rem !important;
    border-radius: 21px !important;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid transparent;
    color: #050505 !important;
    text-align: right !important;
    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.main-menu .main-nav a:hover {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(5, 5, 5, 0.07);
    transform: translateX(-4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.055);
}

.main-nav-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 17px !important;
    color: #050505 !important;
    background: #ffffff !important;
    border: 1px solid rgba(5, 5, 5, 0.08) !important;
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.055),
        inset 0 1px 0 rgba(255,255,255,0.96) !important;
}

.main-nav-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke: #050505 !important;
    color: #050505 !important;
    stroke-width: 2 !important;
}

.main-nav-icon svg path {
    stroke: #050505 !important;
}

.main-menu .main-nav a > span:last-child {
    color: #050505 !important;
    font-size: 1.02rem !important;
    font-weight: 950 !important;
    line-height: 1.35 !important;
    white-space: nowrap;
}

.site-header-overlay .main-menu .main-nav {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.97), rgba(248,246,241,0.95)) !important;
}

@media (max-width: 760px) {
    header.site-header:not(.site-header-overlay) .header-inner {
        min-height: 92px;
    }

    header.site-header:not(.site-header-overlay) .brand a,
    header.site-header:not(.site-header-overlay) .brand a .nelwi-header-logo {
        font-size: 2rem !important;
    }

    .main-menu .main-nav {
        width: 264px !important;
        min-width: 264px !important;
        border-radius: 26px !important;
    }

    .main-menu .main-nav a {
        min-height: 58px !important;
        grid-template-columns: 42px 1fr !important;
        column-gap: 0.95rem !important;
    }

    .main-nav-icon {
        width: 42px !important;
        height: 42px !important;
    }
}

/* nelwi-premium-scroll-rails-v1 */
.nelwi-auto-rail {
    direction: ltr;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}

.nelwi-auto-rail::-webkit-scrollbar {
    display: none;
}

.nelwi-auto-rail:active {
    cursor: grabbing;
}

.home-category-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(190, 157, 102, 0.18), transparent 34%),
        #f7f4ef;
    overflow: hidden;
}

.home-category-heading {
    text-align: center;
    margin-bottom: 1.75rem !important;
}

.home-category-heading h2 {
    font-size: clamp(1.65rem, 3.2vw, 3rem) !important;
    font-weight: 950;
    letter-spacing: -0.045em;
}

.home-category-grid {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    gap: 1.25rem !important;
    padding: 0.35rem max(1.25rem, calc((100vw - 1180px) / 2)) 1rem;
    margin-inline: calc(50% - 50vw);
}

.home-category-card {
    direction: rtl;
    flex: 0 0 clamp(280px, 34vw, 430px);
    scroll-snap-align: center;
    border-radius: 32px !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(20, 20, 20, 0.08) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.085) !important;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.home-category-card:hover {
    transform: translateY(-7px) !important;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.13) !important;
}

.home-category-media {
    aspect-ratio: 4 / 5 !important;
}

.home-category-info {
    text-align: center !important;
    padding: 1.05rem 1rem 1.25rem !important;
}

.home-category-info strong {
    background: #050505 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    min-width: 150px;
    padding: 0.62rem 1.4rem !important;
}

.home-journal-section {
    overflow: hidden;
    background:
        linear-gradient(180deg, #f7f5f1 0%, #efebe4 100%) !important;
}

.home-journal-grid {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    gap: 1.35rem !important;
    padding: 0.4rem max(1.25rem, calc((100vw - 1180px) / 2)) 1.25rem;
    margin-inline: calc(50% - 50vw);
}

.home-journal-card {
    direction: rtl;
    flex: 0 0 clamp(300px, 38vw, 520px);
    scroll-snap-align: center;
    border-radius: 34px !important;
    border: 1px solid rgba(20, 20, 20, 0.09) !important;
    box-shadow: 0 22px 65px rgba(0, 0, 0, 0.075);
    background: rgba(255, 255, 255, 0.86) !important;
    backdrop-filter: blur(14px);
}

.home-journal-media {
    aspect-ratio: 16 / 10 !important;
    border-radius: 28px;
    margin: 0.7rem 0.7rem 0;
}

.home-journal-info {
    padding: 1.25rem 1.35rem 1.55rem !important;
}

.home-journal-info span {
    display: inline-flex !important;
    width: auto;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(139, 122, 98, 0.12);
    color: #6e5b40 !important;
    letter-spacing: 0.08em !important;
}

.product-category-filter {
    direction: ltr;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    max-width: min(920px, 100%);
    padding: 0.55rem !important;
    margin-bottom: 3rem !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(20, 20, 20, 0.08);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.055);
}

.product-category-filter a {
    direction: rtl;
    flex: 0 0 auto;
    scroll-snap-align: center;
    min-width: max-content;
    border-radius: 999px !important;
    border-color: transparent !important;
    background: rgba(247, 244, 239, 0.95) !important;
    color: #151515 !important;
    font-weight: 850 !important;
    padding-inline: 1.25rem !important;
}

.product-category-filter a:hover,
.product-category-filter a.is-active {
    background: #050505 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 760px) {
    .home-category-section {
        padding: 3rem 0 !important;
    }

    .home-category-heading {
        padding-inline: 1rem;
    }

    .home-category-grid {
        gap: 1rem !important;
        padding-inline: 1rem;
    }

    .home-category-card {
        flex-basis: 78vw;
        border-radius: 28px !important;
    }

    .home-category-media {
        aspect-ratio: 4 / 5 !important;
    }

    .home-journal-section {
        padding: 4rem 0 !important;
    }

    .home-journal-grid {
        gap: 1rem !important;
        padding-inline: 1rem;
    }

    .home-journal-card {
        flex-basis: 82vw;
        border-radius: 30px !important;
    }

    .home-journal-media {
        aspect-ratio: 4 / 3 !important;
    }

    .product-category-filter {
        max-width: calc(100vw - 2rem);
        margin-inline: auto;
        padding: 0.45rem !important;
    }

    .product-category-filter a {
        min-height: 2.65rem;
        padding-inline: 1.1rem !important;
        font-size: 0.9rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nelwi-auto-rail {
        scroll-behavior: auto;
    }
}

/* nelwi-scroll-rails-refine-v2 */
.home-category-heading h2 {
    font-size: clamp(1.85rem, 3.6vw, 3.4rem) !important;
    font-weight: 950 !important;
    letter-spacing: -0.055em !important;
}

.home-category-grid {
    gap: 1rem !important;
    padding-top: 0.25rem !important;
    padding-bottom: 1.1rem !important;
}

.home-category-card {
    flex: 0 0 clamp(250px, 27vw, 350px) !important;
    border-radius: 4px !important;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.065) !important;
    border: 1px solid rgba(10, 10, 10, 0.08) !important;
}

.home-category-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.11) !important;
}

.home-category-media {
    aspect-ratio: 1 / 1 !important;
    border-radius: 0 !important;
}

.home-category-media img {
    border-radius: 0 !important;
}

.home-category-info {
    padding: 0.82rem 0.75rem 0.95rem !important;
}

.home-category-info strong {
    min-width: 126px !important;
    padding: 0.48rem 1rem !important;
    border-radius: 999px !important;
    font-size: 0.95rem !important;
}

.home-journal-grid {
    gap: 1.1rem !important;
    padding-bottom: 1rem !important;
}

.home-journal-card {
    flex: 0 0 clamp(285px, 34vw, 430px) !important;
    border-radius: 6px !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.07) !important;
}

.home-journal-media {
    margin: 0 !important;
    border-radius: 0 !important;
    aspect-ratio: 16 / 9 !important;
}

.home-journal-media img {
    border-radius: 0 !important;
}

.home-journal-info {
    padding: 1.05rem 1.15rem 1.25rem !important;
}

.product-category-filter {
    max-width: min(760px, 100%) !important;
    border-radius: 4px !important;
    padding: 0.45rem !important;
}

.product-category-filter a {
    border-radius: 4px !important;
    min-height: 2.45rem !important;
}

@media (max-width: 760px) {
    .home-category-card {
        flex-basis: 74vw !important;
        border-radius: 4px !important;
    }

    .home-category-media {
        aspect-ratio: 1 / 1 !important;
    }

    .home-journal-card {
        flex-basis: 78vw !important;
        border-radius: 5px !important;
    }

    .product-category-filter {
        border-radius: 4px !important;
    }
}

/* nelwi-rails-final-clean-v3 */
.home-category-section,
.home-journal-section {
    overflow: hidden !important;
}

.home-category-grid {
    max-width: 1180px !important;
    width: calc(100% - 2rem) !important;
    margin: 0 auto !important;
    padding: 0 0 0.8rem !important;
    display: flex !important;
    gap: 1.25rem !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
}

.home-category-card {
    flex: 0 0 calc((100% - 2.5rem) / 3) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid rgba(10, 10, 10, 0.08) !important;
    background: #fff !important;
    scroll-snap-align: start;
}

.home-category-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08) !important;
}

.home-category-media {
    aspect-ratio: 4 / 5 !important;
    border-radius: 0 !important;
}

.home-category-info {
    padding: 0.9rem 0.9rem 1rem !important;
}

.home-category-info strong {
    min-width: 132px !important;
    padding: 0.55rem 1.25rem !important;
    border-radius: 999px !important;
    font-size: 0.96rem !important;
}

.home-journal-grid {
    max-width: 1180px !important;
    width: calc(100% - 2rem) !important;
    margin: 0 auto !important;
    padding: 0 0 0.9rem !important;
    display: flex !important;
    gap: 1.25rem !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
}

.home-journal-card {
    flex: 0 0 calc((100% - 2.5rem) / 3) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    scroll-snap-align: start;
}

.home-journal-media {
    margin: 0 !important;
    border-radius: 0 !important;
    aspect-ratio: 4 / 3 !important;
}

.home-journal-info {
    padding: 1.1rem 1.15rem 1.3rem !important;
}

.product-category-filter {
    max-width: 760px !important;
    margin-inline: auto !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    scroll-snap-type: x mandatory;
    border-radius: 999px !important;
}

.product-category-filter a {
    flex: 0 0 auto !important;
    scroll-snap-align: center;
}

.nelwi-auto-rail {
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.nelwi-auto-rail::-webkit-scrollbar {
    display: none;
}

@media (max-width: 760px) {
    .home-category-grid,
    .home-journal-grid {
        width: 100% !important;
        padding-inline: 1rem !important;
        margin: 0 !important;
        gap: 1rem !important;
    }

    .home-category-card {
        flex-basis: 78vw !important;
    }

    .home-journal-card {
        flex-basis: 82vw !important;
    }

    .product-category-filter {
        max-width: calc(100vw - 2rem) !important;
    }
}

/* nelwi-rails-real-items-only-v4 */
.home-category-grid,
.home-journal-grid {
    justify-content: flex-start !important;
}

.home-category-card[aria-hidden="true"],
.home-journal-card[aria-hidden="true"],
.product-category-filter a[aria-hidden="true"] {
    display: none !important;
}

.home-category-card {
    flex: 0 0 calc((100% - 2.5rem) / 3) !important;
}

.home-journal-card {
    flex: 0 0 calc((100% - 2.5rem) / 3) !important;
}

.product-category-filter {
    width: fit-content;
    max-width: min(760px, calc(100vw - 2rem)) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    direction: rtl !important;
}

.product-category-filter a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

@media (max-width: 760px) {
    .home-category-card {
        flex: 0 0 78vw !important;
    }

    .home-journal-card {
        flex: 0 0 82vw !important;
    }

    .product-category-filter {
        width: calc(100vw - 2rem) !important;
        max-width: calc(100vw - 2rem) !important;
        margin-inline: auto !important;
        padding: 0.45rem !important;
        scroll-snap-type: x mandatory;
    }

    .product-category-filter a {
        scroll-snap-align: center;
    }
}

/* Contact page refinement */
.contact-info-grid {
    align-items: stretch;
}

.contact-phone-card,
.contact-hours-card {
    text-align: center;
}

.contact-phone-card strong,
.contact-hours-card strong {
    display: block;
    width: 100%;
    text-align: center;
}

.contact-phone-link {
    color: #111111 !important;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 700;
    display: inline-block;
}

.contact-phone-link:hover,
.contact-phone-link:focus {
    color: #111111 !important;
    text-decoration: none;
}

.contact-hours-card {
    grid-column: 1 / -1;
    max-width: 370px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .contact-hours-card {
        max-width: 100%;
    }

    .contact-phone-link {
        font-size: 1.2rem;
    }
}
