@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --nw-bg: #ffffff;
    --nw-bg-soft: #f6f7f8;
    --nw-ink: #111827;
    --nw-muted: #6b7280;
    --nw-accent: #15803d;
    --nw-accent-light: #dcfce7;
    --nw-line: #e5e7eb;
    --nw-white: #ffffff;
    --nw-font-serif: 'Newsreader', serif;
    --nw-font-sans: 'Inter', sans-serif;
    --nw-radius: 2px;
    --nw-tr: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--nw-font-sans);
    background: var(--nw-bg);
    color: var(--nw-ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ===== Header ===== */
.nw-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--nw-line);
}

.nw-header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nw-logo {
    font-family: var(--nw-font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--nw-ink);
}

.nw-logo img {
    max-height: 32px;
    width: auto;
}

.nw-nav {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nw-nav a {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--nw-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: var(--nw-tr);
    position: relative;
}

.nw-nav a:hover {
    color: var(--nw-accent);
}

.nw-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nw-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nw-ink);
    font-size: 0.775rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--nw-tr);
    border-radius: 50%;
}

.nw-icon-btn:hover {
    color: var(--nw-accent);
    background: var(--nw-bg-soft);
}

.nw-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nw-burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--nw-ink);
    transition: var(--nw-tr);
}

/* ===== Search Bar ===== */
.nw-search-bar {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--nw-bg);
    border-bottom: 1px solid var(--nw-line);
    padding: 20px 40px;
    z-index: 2999;
}

.nw-search-bar.open {
    display: block;
}

.nw-search-inner {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.nw-search-inner input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--nw-line);
    background: var(--nw-white);
    font-size: 0.775rem;
    color: var(--nw-ink);
    outline: none;
    border-radius: var(--nw-radius);
}

.nw-search-inner input:focus {
    border-color: var(--nw-accent);
}

.nw-search-inner button {
    padding: 12px 28px;
    background: var(--nw-ink);
    color: var(--nw-white);
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: var(--nw-radius);
}

.nw-search-inner button:hover {
    background: var(--nw-accent);
}

/* ===== Footer ===== */
.nw-footer {
    background: var(--nw-bg-soft);
    color: var(--nw-muted);
    padding: 72px 40px 28px;
    border-top: 1px solid var(--nw-line);
}

.nw-footer-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.nw-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 56px;
}

.nw-footer-logo {
    font-family: var(--nw-font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--nw-ink);
    margin-bottom: 14px;
}

.nw-footer-desc {
    font-size: 0.85rem;
    line-height: 1.8;
    max-width: 320px;
    margin-bottom: 24px;
}

.nw-footer-subscribe {
    display: flex;
    gap: 0;
}

.nw-footer-subscribe input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--nw-line);
    border-right: none;
    background: var(--nw-white);
    color: var(--nw-ink);
    font-size: 0.8rem;
    outline: none;
    border-radius: var(--nw-radius) 0 0 var(--nw-radius);
    max-width: 260px;
}

.nw-footer-subscribe input::placeholder {
    color: var(--nw-muted);
}

.nw-footer-subscribe button {
    padding: 12px 24px;
    background: var(--nw-ink);
    color: var(--nw-white);
    border: none;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 0 var(--nw-radius) var(--nw-radius) 0;
}

.nw-footer-subscribe button:hover {
    background: var(--nw-accent);
}

.nw-footer-col h4 {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--nw-ink);
    margin-bottom: 22px;
}

.nw-footer-col ul {
    list-style: none;
}

.nw-footer-col li {
    margin-bottom: 10px;
}

.nw-footer-col a {
    font-size: 0.85rem;
    color: var(--nw-muted);
    transition: color 0.3s;
}

.nw-footer-col a:hover {
    color: var(--nw-accent);
}

.nw-footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--nw-line);
    text-align: left;
    font-size: 0.8rem;
    color: var(--nw-muted);
}

.nw-footer-bottom a {
    color: var(--nw-muted);
    transition: color 0.3s;
}

.nw-footer-bottom a:hover {
    color: var(--nw-accent);
}

/* ===== h6po80.js elements ===== */
#to-top {
    width: 44px;
    line-height: 44px;
    background: var(--nw-ink);
    color: var(--nw-white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 9999;
    cursor: pointer;
    font-size: 12px;
    display: none;
    transition: var(--nw-tr);
    border-radius: 50%;
    vertical-align: middle;
    text-align: center;
}

#to-top:hover {
    background: var(--nw-accent);
}

.shop-cart {
    display: none;
    width: 360px;
    background: var(--nw-white);
    border: 1px solid var(--nw-line);
    position: absolute;
    top: 48px;
    right: -10px;
    padding: 20px;
    z-index: 1100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-radius: var(--nw-radius);
}

.shop-cart::after {
    content: '';
    position: absolute;
    top: -7px;
    right: 20px;
    width: 14px;
    height: 14px;
    background: var(--nw-white);
    transform: rotate(45deg);
    border-left: 1px solid var(--nw-line);
    border-top: 1px solid var(--nw-line);
}

.shop-cart-body {
    max-height: 320px;
    overflow-y: auto;
}

.shop-cart-total {
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--nw-line);
    margin-top: 14px;
    font-size: 0.85rem;
}

.shop-cart-subtotal {
    font-weight: 600;
}

.shop-cart-footer {
    padding-top: 10px;
}

.chekc_btn {
    background: var(--nw-ink);
    color: var(--nw-white);
    padding: 14px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--nw-tr);
    border-radius: var(--nw-radius);
}

.chekc_btn:hover {
    background: var(--nw-accent);
}

.shop-cart-icon:hover .shop-cart {
    display: block;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--nw-accent);
    color: var(--nw-white);
    font-size: 0.65rem;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 1px;
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2500;
}

.Pop-up {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--nw-white);
    z-index: 3200;
    max-width: 900px;
    width: 92%;
    max-height: 88vh;
    overflow-y: auto;
    border: 1px solid var(--nw-line);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-radius: var(--nw-radius);
}

.Pop-up .top_header {
    display: flex;
    align-items: center;
    padding: 16px;
    justify-content: flex-end;
    border-bottom: 1px solid var(--nw-line);
}

.Pop-up .products_box {
    padding: 24px;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 360px;
    height: 100%;
    background: var(--nw-bg);
    z-index: 3100;
    transition: left 0.35s ease;
    overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
    border-right: 1px solid var(--nw-line);
}

.side-menu.active {
    left: 0;
}

.menu-header {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 68px;
    background: var(--nw-bg-soft);
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-weight: 600;
    font-size: 0.775rem;
    justify-content: space-between;
}

.menu-close {
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-search {
    padding: 16px 20px;
    border-bottom: 1px solid var(--nw-line);
    display: flex;
    gap: 8px;
}

.menu-search input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--nw-line);
    background: var(--nw-white);
    font-size: 0.775rem;
    color: var(--nw-ink);
    border-radius: var(--nw-radius);
}

.menu-search button {
    padding: 10px 18px;
    background: var(--nw-ink);
    color: var(--nw-white);
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--nw-radius);
}

.menu-list {
    list-style: none;
    padding: 16px 0;
}

.menu-item {
    border-bottom: 1px solid var(--nw-line);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.menu-link,
.menu-link-sub,
.menu-link-sub-2 {
    word-break: break-word;
    overflow-wrap: anywhere;
}
.menu-link {
    display: block;
    padding: 14px 20px;
    font-size: 0.775rem;
    transition: var(--nw-tr);
    flex: 1;
}

.menu-link:hover {
    background: var(--nw-bg-soft);
    color: var(--nw-accent);
}

.menu-arrow {
    transition: transform 0.3s;
    padding: 14px 20px;
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--nw-muted);
    display: flex;
    align-items: center;
}

.menu-arrow.expanded {
    transform: rotate(90deg);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--nw-bg-soft);
    width: 100%;
}

.submenu.expanded {
    max-height: 600px;
}

.submenu .menu-link {
    padding-left: 40px;
}

.submenu .submenu .menu-link {
    padding-left: 60px;
}

/* ===== Quick View popup ===== */
.products_box .pro_title {
    font-family: var(--nw-font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--nw-ink);
}

.products_box .box_price {
    margin-bottom: 20px;
}

.products_box .discount_price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--nw-ink);
    margin-right: 12px;
    text-decoration: line-through;
}

.products_box .price {
    font-size: 1rem;
    color: var(--nw-muted);

}

.products_box .sku_code {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.products_box .sku_code select {
    padding: 10px 14px;
    border: 1px solid var(--nw-line);
    background: var(--nw-white);
    font-size: 0.775rem;
    min-width: 160px;
    cursor: pointer;
    border-radius: var(--nw-radius);
}

.products_box .quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
    border: 1px solid var(--nw-line);
    width: fit-content;
    border-radius: var(--nw-radius);
}

.products_box .quantity-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--nw-bg-soft);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nw-ink);
    transition: var(--nw-tr);
}

.products_box .quantity-btn:hover {
    background: var(--nw-line);
}

.products_box .quantity-input {
    width: 60px;
    height: 44px;
    border: none;
    border-left: 1px solid var(--nw-line);
    border-right: 1px solid var(--nw-line);
    text-align: center;
    font-size: 0.775rem;
    color: var(--nw-ink);
    -moz-appearance: textfield;
}

.products_box .quantity-input::-webkit-outer-spin-button,
.products_box .quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.products_box .btn {
    display: flex;
    gap: 12px;
}

.products_box .btn .button {
    flex: 1;
    padding: 14px 24px;
    background: var(--nw-ink);
    color: var(--nw-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid var(--nw-ink);
    text-align: center;
    cursor: pointer;
    transition: var(--nw-tr);
    border-radius: var(--nw-radius);
}

.products_box .btn .button:hover {
    background: transparent;
    color: var(--nw-ink);
}

/* ===== Shop cart items ===== */
.shop-cart-body a {
    text-decoration: none;
    color: var(--nw-ink);
}

.shop-cart-items {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--nw-line);
}

.shop-img img {
    object-fit: contain;
    width: 50px;
    height: 50px;
}

.shop-info {
    flex: 1;
}

.shop-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.shop-delete {
    background: var(--nw-accent);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    color: var(--nw-white);
    flex: none;
    font-size: 10px;
    line-height: 20px;
    cursor: pointer;
}

/* ===== Cart page ===== */
.cart-items {
    min-height: 120px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--nw-line);
}

.cart-item .item-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background: var(--nw-bg-soft);
    overflow: hidden;
    border-radius: var(--nw-radius);
}

.cart-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.cart-item .item-details {
    flex: 1;
}

.cart-item .item-title {
    display: block;
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--nw-ink);
    margin-bottom: 6px;
    text-decoration: none;
}

.cart-item .item-title:hover {
    color: var(--nw-accent);
}

.cart-item .item-sku {
    font-size: 0.8rem;
    color: var(--nw-muted);
    margin-bottom: 8px;
}

.cart-item .item-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cart-item .btn-remove {
    background: var(--nw-accent);   
    height: 20px;
    border-radius: 50%;
    text-align: center;
    color: var(--nw-white);
    font-size: 10px;
    line-height: 20px;
    cursor: pointer;
    border: none;
}

.cart-item .quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--nw-line);
    width: fit-content;
    border-radius: var(--nw-radius);
}

.cart-item .quantity-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: none;
    border: none;
    color: var(--nw-ink);
    cursor: pointer;
}

.cart-item .quantity-input {
    width: 40px;
    text-align: center;
    border: none;
    background: none;
    font-size: 13px;
    color: var(--nw-ink);
    -moz-appearance: textfield;
}

.cart-item .quantity-input::-webkit-outer-spin-button,
.cart-item .quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item .item-price {
    text-align: right;
    min-width: 80px;
}

.cart-item .price-current {
    display: block;
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--nw-ink);
}

.cart-item .price-original {
    display: block;
    font-size: 0.85rem;
    color: var(--nw-muted);
    text-decoration: line-through;
}

.continue-shopping {
    padding: 24px 0;
}

.continue-shopping-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--nw-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.continue-shopping-btn:hover {
    color: var(--nw-accent);
}

/* ===== Wishlist page ===== */
.wishlist-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.wishlist-item {
    background: var(--nw-bg);
    border: 1px solid var(--nw-line);
    border-radius: var(--nw-radius);
    overflow: hidden;
}

.wishlist-item .item-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--nw-bg-soft);
}

.wishlist-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.wishlist-item .item-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--nw-ink);
    color: var(--nw-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    border: none;
}

.wishlist-item .item-details {
    padding: 16px;
    text-align: center;
}

.wishlist-item .item-title {
    font-size: 0.775rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.wishlist-item .item-title a {
    color: var(--nw-ink);
    text-decoration: none;
}

.wishlist-item .item-title a:hover {
    color: var(--nw-accent);
}

.wishlist-item .item-price {
    margin-bottom: 12px;
}

.wishlist-item .price-current {
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--nw-ink);
    margin-right: 8px;
}

.wishlist-item .price-original {
    font-size: 0.85rem;
    color: var(--nw-muted);
    text-decoration: line-through;
}

.wishlist-item .btn-add-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--nw-ink);
    color: var(--nw-white);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: var(--nw-radius);
}

.wishlist-item .btn-add-to-cart:hover {
    background: var(--nw-accent);
}

/* ===== Successful toast ===== */
.successful_title {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3500;
    background: var(--nw-ink);
    color: var(--nw-white);
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    animation: nwToastIn 0.3s ease, nwToastOut 0.5s ease 3s forwards;
    max-width: 90%;
    border-radius: var(--nw-radius);
}

@keyframes nwToastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes nwToastOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        visibility: hidden;
    }
}

@media (max-width: 900px) {
    .nw-nav {
        display: none;
    }

    .nw-burger {
        display: flex;
    }

    .wishlist-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nw-header-inner {
        padding: 0 20px;
        height: 60px;
    }

    .nw-footer-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .nw-footer-subscribe {
        flex-direction: column;
    }

    .nw-footer-subscribe input {
        max-width: 100%;
        border-right: 1px solid var(--nw-line);
        border-radius: var(--nw-radius);
    }

    .nw-footer-subscribe button {
        border-radius: var(--nw-radius);
        margin-top: 8px;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cart-item .item-image {
        width: 80px;
        height: 80px;
    }

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

    .wishlist-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-cart-icon:hover .shop-cart {
        display: none !important;
    }

    .successful_title {
        top: 60px;
        font-size: 12px;
        padding: 12px 20px;
    }
}


/* Description image overflow fix */
.nw-pd-desc img {
    max-width: 100%;
    height: auto;
}

/* Mobile: always show action buttons */
@media (max-width: 768px) {

    .nw-product-overlay,
    .nw-related-grid .nw-product-overlay {
        transform: translateY(0) !important;
        display: flex !important;
    }
}
/* Mobile side menu link wrapping */
.side-menu a,
#jq-sideMenu a,
.submenu a {
    word-break: break-word;
    overflow-wrap: anywhere;
}
