@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --ed-bg: #f6f8f9;
    --ed-bg-warm: #eaf1f6;
    --ed-ink: #122632;
    --ed-ink-light: #4a5e6a;
    --ed-muted: #6c7b86;
    --ed-accent: #1f8fad;
    --ed-accent-dark: #166778;
    --ed-line: #d7e2e8;
    --ed-white: #ffffff;
    --ed-font-serif: 'Playfair Display', serif;
    --ed-font-sans: 'Inter', sans-serif;
    --ed-radius: 4px;
    --ed-tr: all 0.35s ease;
}

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

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Header ===== */
.ed-header {
    position: sticky;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    /* background: rgba(250,249,247,0.95); */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ed-line);
}
.ed-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.ed-logo {
    font-family: var(--ed-font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--ed-ink);
}
.ed-logo img { max-height: 34px; width: auto; }
.ed-nav {
    display: flex;
    gap: 44px;
    align-items: center;
}
.ed-nav a {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ed-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--ed-tr);
    position: relative;
}
.ed-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ed-accent);
    transition: width 0.3s ease;
}
.ed-nav a:hover { color: var(--ed-ink); }
.ed-nav a:hover::after { width: 100%; }
.ed-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.ed-icon-btn {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ed-ink);
    font-size: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--ed-tr);
}
.ed-icon-btn:hover { color: var(--ed-accent); }
.ed-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.ed-burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ed-ink);
    transition: var(--ed-tr);
}

/* ===== Search Bar ===== */
.ed-search-bar {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--ed-bg);
    border-bottom: 1px solid var(--ed-line);
    padding: 20px 32px;
    z-index: 2999;
}
.ed-search-bar.open { display: block; }
.ed-search-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
}
.ed-search-inner input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--ed-line);
    background: var(--ed-white);
    font-size: 0.875rem;
    color: var(--ed-ink);
    outline: none;
}
.ed-search-inner input:focus { border-color: var(--ed-accent); }
.ed-search-inner button {
    padding: 12px 28px;
    background: var(--ed-ink);
    color: var(--ed-white);
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.3s;
}
.ed-search-inner button:hover { background: var(--ed-accent); }

/* ===== Footer ===== */
.ed-footer {
    background: var(--ed-ink);
    color: rgba(255,255,255,0.6);
    padding: 80px 32px 30px;
}
.ed-footer-inner { max-width: 1280px; margin: 0 auto; }
.ed-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.ed-footer-logo {
    font-family: var(--ed-font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ed-white);
    margin-bottom: 16px;
}
.ed-footer-desc {
    font-size: 0.85rem;
    line-height: 1.8;
    max-width: 320px;
    margin-bottom: 24px;
}
.ed-footer-subscribe { display: flex; gap: 8px; }
.ed-footer-subscribe input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: var(--ed-white);
    font-size: 0.8rem;
    outline: none;
    max-width: 240px;
}
.ed-footer-subscribe input::placeholder { color: rgba(255,255,255,0.4); }
.ed-footer-subscribe button {
    padding: 12px 24px;
    background: var(--ed-accent);
    color: var(--ed-white);
    border: none;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.3s;
}
.ed-footer-subscribe button:hover { background: var(--ed-accent-dark); }
.ed-footer-col h4 {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ed-white);
    margin-bottom: 24px;
}
.ed-footer-col ul { list-style: none; }
.ed-footer-col li { margin-bottom: 12px; }
.ed-footer-col a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}
.ed-footer-col a:hover { color: var(--ed-white); }
.ed-footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}
.ed-footer-bottom a { color: rgba(255,255,255,0.6); transition: color 0.3s; }
.ed-footer-bottom a:hover { color: var(--ed-white); }

/* ===== h6po80.js elements ===== */
#to-top {
    width: 44px; line-height: 44px;
    background: var(--ed-ink);
    color: var(--ed-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(--ed-tr);
    border-radius: var(--ed-radius);
        vertical-align: middle;
    text-align: center;
}
#to-top:hover { background: var(--ed-accent); }

.shop-cart {
    display: none;
    width: 360px;
    background: var(--ed-white);
    border: 1px solid var(--ed-line);
    position: absolute;
    top: 48px; right: -10px;
    padding: 20px;
    z-index: 1100;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-radius: var(--ed-radius);
}
.shop-cart::after {
    content: '';
    position: absolute;
    top: -7px; right: 20px;
    width: 14px; height: 14px;
    background: var(--ed-white);
    transform: rotate(45deg);
    border-left: 1px solid var(--ed-line);
    border-top: 1px solid var(--ed-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(--ed-line);
    margin-top: 14px;
    font-size: 0.85rem;
}
.shop-cart-subtotal { font-weight: 600; }
.shop-cart-footer { padding-top: 10px; }
.chekc_btn {
    background: var(--ed-ink);
    color: var(--ed-white);
    padding: 14px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--ed-tr);
    border-radius: var(--ed-radius);
}
.chekc_btn:hover { background: var(--ed-accent); }
.shop-cart-icon:hover .shop-cart { display: block; }
.cart-count {
    position: absolute;
    top: -6px; right: -6px;
    background: var(--ed-accent);
    color: var(--ed-white);
    font-size: 0.65rem;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2500;
}
.Pop-up {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    background: var(--ed-white);
    z-index: 3200;
    max-width: 900px;
    width: 92%;
    max-height: 88vh;
    overflow-y: auto;
    border: 1px solid var(--ed-line);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    border-radius: var(--ed-radius);
}
.Pop-up .top_header {
    display: flex;
    align-items: center;
    padding: 16px;
    justify-content: flex-end;
    border-bottom: 1px solid var(--ed-line);
}
.Pop-up .products_box { padding: 24px; }

.side-menu {
    position: fixed;
    top: 0; left: -100%;
    width: 85%;
    max-width: 360px;
    height: 100%;
    background: var(--ed-bg);
    z-index: 3100;
    transition: left 0.35s ease;
    overflow-y: auto;
    border-right: 1px solid var(--ed-line);
}
.side-menu.active { left: 0; }
.menu-header {
    height: 72px;
    background: var(--ed-bg-warm);
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-weight: 600;
    font-size: 0.875rem;
    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(--ed-line);
    display: flex;
    gap: 8px;
}
.menu-search input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--ed-line);
    background: var(--ed-white);
    font-size: 0.875rem;
    color: var(--ed-ink);
}
.menu-search button {
    padding: 10px 18px;
    background: var(--ed-ink);
    color: var(--ed-white);
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}
.menu-list { list-style: none; padding: 16px 0; }
.menu-item {
    border-bottom: 1px solid var(--ed-line);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.menu-link {
    display: block;
    padding: 14px 20px;
    font-size: 0.875rem;
    transition: var(--ed-tr);
    flex: 1;
}
.menu-link:hover { background: var(--ed-bg-warm); color: var(--ed-accent); }
.menu-arrow {
    transition: transform 0.3s;
    padding: 14px 20px;
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--ed-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(--ed-bg-warm);
    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(--ed-font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--ed-ink);
}
.products_box .box_price { margin-bottom: 20px; }
.products_box .discount_price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ed-ink);
    margin-right: 12px;
     text-decoration: line-through;
}
.products_box .price {
    font-size: 1rem;
    color: var(--ed-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(--ed-line);
    background: var(--ed-white);
    font-size: 0.875rem;
    min-width: 160px;
    cursor: pointer;
}
.products_box .quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
    border: 1px solid var(--ed-line);
    width: fit-content;
}
.products_box .quantity-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--ed-bg);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ed-ink);
    transition: var(--ed-tr);
}
.products_box .quantity-btn:hover { background: var(--ed-line); }
.products_box .quantity-input {
    width: 60px;
    height: 44px;
    border: none;
    border-left: 1px solid var(--ed-line);
    border-right: 1px solid var(--ed-line);
    text-align: center;
    font-size: 0.875rem;
    color: var(--ed-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(--ed-ink);
    color: var(--ed-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid var(--ed-ink);
    text-align: center;
    cursor: pointer;
    transition: var(--ed-tr);
    border-radius: var(--ed-radius);
}
.products_box .btn .button:hover {
    background: transparent;
    color: var(--ed-ink);
}

/* ===== Shop cart items ===== */
.shop-cart-body a { text-decoration: none; color: var(--ed-ink); }
.shop-cart-items {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--ed-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(--ed-accent);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    color: var(--ed-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(--ed-line);
}
.cart-item .item-image { width: 100px; height: 100px; flex-shrink: 0; background: var(--ed-bg-warm); overflow: hidden; border-radius: var(--ed-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.95rem; font-weight: 600; color: var(--ed-ink); margin-bottom: 6px; text-decoration: none; }
.cart-item .item-title:hover { color: var(--ed-accent); }
.cart-item .item-sku { font-size: 0.8rem; color: var(--ed-muted); margin-bottom: 8px; }
.cart-item .item-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cart-item .btn-remove {
    background: var(--ed-accent);
    width: 20px; height: 20px;
    border-radius: 50%;
    text-align: center;
    color: var(--ed-white);
    font-size: 10px;
    line-height: 20px;
    cursor: pointer;
    border: none;
}
.cart-item .quantity-control { display: flex; align-items: center; border: 1px solid var(--ed-line); width: fit-content; border-radius: var(--ed-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(--ed-ink); cursor: pointer; }
.cart-item .quantity-input { width: 40px; text-align: center; border: none; background: none; font-size: 13px; color: var(--ed-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.95rem; font-weight: 600; color: var(--ed-ink); }
.cart-item .price-original { display: block; font-size: 0.85rem; color: var(--ed-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(--ed-muted); text-decoration: none; transition: color 0.3s; }
.continue-shopping-btn:hover { color: var(--ed-accent); }

/* ===== Wishlist page ===== */
.wishlist-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.wishlist-item { background: var(--ed-bg); border: 1px solid var(--ed-line); border-radius: var(--ed-radius); overflow: hidden; }
.wishlist-item .item-image { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--ed-bg-warm); }
.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(--ed-ink);
    color: var(--ed-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.95rem; font-weight: 500; margin-bottom: 8px; }
.wishlist-item .item-title a { color: var(--ed-ink); text-decoration: none; }
.wishlist-item .item-title a:hover { color: var(--ed-accent); }
.wishlist-item .item-price { margin-bottom: 12px; }
.wishlist-item .price-current { font-size: 0.95rem; font-weight: 600; color: var(--ed-ink); margin-right: 8px; }
.wishlist-item .price-original { font-size: 0.85rem; color: var(--ed-muted); text-decoration: line-through; }
.wishlist-item .btn-add-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--ed-ink);
    color: var(--ed-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(--ed-radius);
}
.wishlist-item .btn-add-to-cart:hover { background: var(--ed-accent); }

/* ===== Successful toast ===== */
.successful_title {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3500;
    background: var(--ed-ink);
    color: var(--ed-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: edToastIn 0.3s ease, edToastOut 0.5s ease 3s forwards;
    max-width: 90%;
    border-radius: var(--ed-radius);
}
@keyframes edToastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes edToastOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}

@media (max-width: 900px) {
    .ed-nav { display: none; }
    .ed-burger { display: flex; }
    .wishlist-items { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ed-header-inner { padding: 0 20px; height: 64px; }
    .ed-footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .ed-footer-subscribe { flex-direction: column; }
    .ed-footer-subscribe input { max-width: 100%; }
    .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: 64px; font-size: 12px; padding: 12px 20px; }
}


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