
:root {
    --by-green: #5a840c;
    --by-green-dark: #7DA03A;
    --by-green-light: #E8F5D4;
    --by-green-50: #F4FAE8;
    --by-black: #1A1A1A;
    --by-gray1: #333333;
    --by-gray2: #555555;
    --by-gray3: #777777;
    --by-gray4: #999999;
    --by-gray5: #BBBBBB;
    --by-gray6: #CCCCCC;
    --by-gray7: #DDDDDD;
    --by-gray8: #E8E8E8;
    --by-gray9: #F0F0F0;
    --by-gray10: #F5F5F5;
    --by-pure: #FFFFFF;
    --by-red: #E53E3E;
    --by-yellow: #F6C343;
    --by-f: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --by-f-head: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --by-maxw: 1280px;
    --by-r-xs: 4px;
    --by-r-sm: 8px;
    --by-r-md: 12px;
    --by-r-lg: 16px;
    --by-r-xl: 24px;
    --by-r-full: 9999px;
    --by-tr: 0.25s ease;
    --by-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --by-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --by-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --by-hdr-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--by-f); color: var(--by-black); background: var(--by-pure); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, select { font-family: inherit; }
.by-container { max-width: var(--by-maxw); margin: 0 auto; padding: 0 24px; }
.by-hide-md { display: flex; }
.by-hide-sm { display: inline-flex; }
.by-show-sm { display: none; }

/* ========== HEADER ========== */
.by-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--by-pure);
}
.by-header.has-sticky { box-shadow: var(--by-shadow-sm); }
.by-header-top { border-bottom: 1px solid var(--by-gray9); }
.by-header-inner {
    max-width: var(--by-maxw);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--by-hdr-h);
    display: flex;
    align-items: center;
    gap: 16px;
}
.by-header-left { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.by-burger {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--by-black);
    display: none;
    align-items: center;
    padding: 4px;
}
.by-logo {
    font-family: var(--by-f-head);
    font-size: 22px;
    font-weight: 900;
    color: var(--by-black);
    letter-spacing: -0.5px;
    white-space: nowrap;
}
.by-logo span { color: var(--by-green); }
.by-search-box {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 560px;
    margin: 0 auto;
}
.by-search-input {
    width: 100%;
    padding: 10px 44px 10px 18px;
    border: 1.5px solid var(--by-gray8);
    border-radius: var(--by-r-full);
    font-size: 14px;
    background: var(--by-gray10);
    transition: all var(--by-tr);
    outline: none;
}
.by-search-input:focus { border-color: var(--by-green); background: var(--by-pure); box-shadow: 0 0 0 3px rgba(149,191,71,0.12); }
.by-search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--by-green);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--by-tr);
}
.by-search-btn:hover { background: var(--by-green-dark); }
.by-header-right { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.by-header-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--by-r-sm);
    border: none;
    background: transparent;
    color: var(--by-gray2);
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all var(--by-tr);
}
.by-header-icon:hover { background: var(--by-green-50); color: var(--by-green); }
.cart-count {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    background: var(--by-green);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== CATEGORY NAV BAR ========== */
.by-nav-bar {
    background: var(--by-pure);
    border-bottom: 2px solid var(--by-green);
    /* overflow-x: auto; */
    scrollbar-width: none;
}
.by-nav-bar::-webkit-scrollbar { display: none; }
.by-nav-bar-inner {
    max-width: var(--by-maxw);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: stretch;
    gap: 0;
}
.by-nav-cat { position: relative; }
.by-nav-cat-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 18px;
    height: 44px;
    font-size: 14px;
    font-weight: 600;
    color: var(--by-gray2);
    white-space: nowrap;
    transition: all var(--by-tr);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.by-nav-cat-link i { font-size: 9px; transition: transform var(--by-tr); }
.by-nav-cat:hover .by-nav-cat-link { color: var(--by-green); border-bottom-color: var(--by-green); }
.by-nav-cat:hover .by-nav-cat-link i { transform: rotate(180deg); }
.by-nav-drop {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--by-pure);
    border: 1px solid var(--by-gray9);
    border-top: 2px solid var(--by-green);
    border-radius: 0 0 var(--by-r-md) var(--by-r-md);
    box-shadow: var(--by-shadow-lg);
    padding: 20px;
    display: none;
    z-index: 200;
    max-height: 500px;
    overflow-y: auto;
}
.by-nav-cat:hover .by-nav-drop { display: block; }
.by-nav-drop-inner { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.by-nav-drop-col {}
.by-nav-drop-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--by-black);
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--by-gray9);
    transition: color var(--by-tr);
}
.by-nav-drop-title:hover { color: var(--by-green); }
.by-nav-drop-link {
    display: block;
    padding: 4px 0;
    font-size: 13px;
    color: var(--by-gray3);
    transition: all var(--by-tr);
}
.by-nav-drop-link:hover { color: var(--by-green); padding-left: 4px; }

/* ========== SHOP CART POPUP ========== */
.shop-cart {
    position: absolute;
    right: 321px;  
    width: 320px;
    background: var(--by-pure);
    border: 1px solid var(--by-gray9);
    border-radius: var(--by-r-md);
    box-shadow: var(--by-shadow-lg);
    display: none;
    z-index: 200;
}
.shop-cart.show,
.by-cart-wrap:hover .shop-cart { display: block; }
.shop-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--by-gray9);
    font-weight: 600;
    font-size: 14px;
}
.shop-cart-header a { color: var(--by-green); font-size: 13px; width: fit-content; height: fit-content; }
.shop-cart-body {
    max-height: 300px;
    overflow-y: auto;
    padding: 8px 0;
}
.shop-cart-items {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    gap: 10px;
    transition: background var(--by-tr);
}
.shop-cart-items:hover { background: var(--by-gray10); }
.shop-img {
    width: 50px;
    height: 50px;
    border-radius: var(--by-r-sm);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--by-gray10);
    flex-shrink: 0;
}
.shop-img img { max-width: 90%; max-height: 90%; width: auto; height: auto; object-fit: contain; }
.shop-info { flex: 1; min-width: 0; }
.shop-info h4 { font-size: 13px; font-weight: 500; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-info h4 a { color: var(--by-black); }
.shop-info p { font-size: 12px; color: var(--by-gray3); margin: 2px 0 0; }
.shop-delete {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--by-gray10);
    color: var(--by-gray4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all var(--by-tr);
    flex-shrink: 0;
}
.shop-delete:hover { background: var(--by-red); color: #fff; }
.shop-cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid var(--by-gray9);
}
.shop-cart-subtotal { font-weight: 700; font-size: 15px; color: var(--by-green); }
.by-checkout-btn {
    padding: 8px 16px;
    background: var(--by-green);
    color: #fff;
    border: none;
    border-radius: var(--by-r-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--by-tr);
}
.by-checkout-btn:hover { background: var(--by-green-dark); }

/* ========== SIDE MENU ========== */
#jq-sideMenu {
    position: fixed;
    top: 0;
    left: -85%;
    width: 85%;
    max-width: 360px;
    height: 100%;
    background: var(--by-pure);
    z-index: 1000;
    overflow-y: auto;
    transition: left 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
}
#jq-sideMenu.active { left: 0; }
.by-side-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--by-gray9);
}
#jq-menuClose {
    width: 36px;
    height: 36px;
    border-radius: var(--by-r-sm);
    border: none;
    background: var(--by-gray10);
    font-size: 16px;
    color: var(--by-gray3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--by-tr);
}
#jq-menuClose:hover { background: var(--by-red); color: #fff; }
.by-menu-item { border-bottom: 1px solid var(--by-gray9); position: relative; }
.by-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 44px 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--by-black);
    transition: background var(--by-tr);
}
.by-menu-link:hover { background: var(--by-green-50); color: var(--by-green); }
.by-menu-item .jq-menu-arrow {
    position: absolute;
    right: 0;
    top: 0;
    height: 48px;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--by-gray4);
    cursor: pointer;
    transition: all var(--by-tr);
    z-index: 2;
}
.by-menu-item .jq-menu-arrow:hover { color: var(--by-green); background: var(--by-green-50); }
.by-menu-item .jq-menu-arrow.expanded { transform: rotate(90deg); color: var(--by-green); background: var(--by-green-50); }
.submenu {
    display: none;
    background: var(--by-gray10);
    padding: 4px 0;
}
.submenu.expanded { display: block; }
.submenu .by-menu-link {
    padding: 11px 20px 11px 32px;
    font-size: 13px;
    color: var(--by-gray2);
    font-weight: 400;
}
.submenu .submenu .by-menu-link {
    padding-left: 44px;
    font-size: 12px;
    color: var(--by-gray3);
}

/* ========== OVERLAY ========== */
#jq-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    display: none;
}
#jq-overlay.show { display: block; }

/* ========== POPUP (Quick View) ========== */
.Pop-up {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--by-pure);
    border-radius: var(--by-r-lg);
    box-shadow: var(--by-shadow-lg);
    padding: 32px;
    z-index: 1100;
    display: none;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}
#jq-close-pop {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--by-gray10);
    font-size: 14px;
    color: var(--by-gray3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--by-tr);
}
#jq-close-pop:hover { background: var(--by-red); color: #fff; }
.products_box .pro_title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.products_box .box_price { margin-bottom: 16px; }
.products_box .discount_price { font-size: 18px; font-weight: 800; color: var(--by-green); margin-right: 8px; text-decoration: line-through;}
.products_box .price { font-size: 14px; color: var(--by-gray4);  }
.products_box .sku_code { margin-bottom: 12px; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.products_box .sku_code select { padding: 6px 10px; border: 1px solid var(--by-gray8); border-radius: var(--by-r-sm); font-size: 13px; outline: none; }
.products_box .btn { display: flex; gap: 10px; margin-top: 16px; }
.products_box .button { flex: 1; padding: 12px; border-radius: var(--by-r-full); font-weight: 700; font-size: 14px; text-align: center; cursor: pointer; border: none; transition: all var(--by-tr); }
.products_box .button:first-child { background: var(--by-green); color: #fff; }
.products_box .button:first-child:hover { background: var(--by-green-dark); }
.products_box .button:last-child { background: var(--by-black); color: #fff; }
.products_box .button:last-child:hover { background: var(--by-gray1); }

/* ========== BACK TO TOP ========== */
#to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--by-green);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--by-shadow-md);
    z-index: 90;
    transition: all var(--by-tr);
}
#to-top:hover { background: var(--by-green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(149,191,71,0.4); }

/* ========== FOOTER ========== */
.by-footer {
    background: var(--by-black);
    color: rgba(255,255,255,0.75);
    padding: 64px 0 0;
}
.by-footer-inner {
    max-width: var(--by-maxw);
    margin: 0 auto;
    padding: 0 24px;
}
.by-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}
.by-footer-brand .by-logo { color: #fff; font-size: 22px; margin-bottom: 12px; display: inline-block; }
.by-footer-brand .by-logo span { color: var(--by-green); }
.by-footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 8px; color: rgba(255,255,255,0.6); }
.by-footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.by-footer-col a {
    display: block;
    padding: 5px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color var(--by-tr);
}
.by-footer-col a:hover { color: var(--by-green); }
.by-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.by-footer-copy { font-size: 13px; color: rgba(255,255,255,0.45); }
.by-footer-copy a { color: #fff; }
.by-footer-copy a:hover { color: var(--by-green); }
.by-footer-pay { display: flex; align-items: center; gap: 8px; }
.by-footer-pay i { font-size: 22px; color: rgba(255,255,255,0.4); }

/* ========== PRODUCT CARD ========== */
.by-prod-card {
    position: relative;
    border-radius: var(--by-r-lg);
    overflow: hidden;
    background: var(--by-gray10);
    transition: all var(--by-tr);
}
.by-prod-card:hover {
    box-shadow: var(--by-shadow-lg);
    transform: translateY(-4px);
}
.by-prod-img {
    aspect-ratio: 3/4;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--by-gray10);
}
.by-prod-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 600ms cubic-bezier(0.25,0.46,0.45,0.94);
}
.by-prod-card:hover .by-prod-img img { transform: scale(1.06); }
.by-prod-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: var(--by-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--by-r-full);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    z-index: 3;
}
.by-prod-badge--sale { background: var(--by-red); }
.by-prod-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateY(-8px);
    transition: all var(--by-tr);
    z-index: 3;
}
.by-prod-card:hover .by-prod-actions { opacity: 1; transform: translateY(0); }
.by-prod-actions button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    color: var(--by-gray2);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all var(--by-tr);
}
.by-prod-actions button:hover { background: var(--by-green); color: #fff; }
.by-prod-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 16px;
    background: linear-gradient(to top, #817e7ee0, rgba(26,26,26,0.5) 60%, transparent 100%);
    z-index: 2;
}
.by-prod-card:hover .by-prod-overlay {
    background: linear-gradient(to top, rgba(26,26,26,0.92) 0%, rgba(26,26,26,0.6) 70%, transparent 100%);
}
.by-prod-cat { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--by-green); margin-bottom: 4px; }
.by-prod-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 6px;
    transition: color var(--by-tr);
}
.by-prod-title:hover { color: var(--by-green); }
.by-prod-price { display: flex; align-items: baseline; gap: 8px; }
.by-prod-price .now { font-size: 16px; font-weight: 800; color: #fff; }
.by-prod-price .was { font-size: 12px; color: rgba(255,255,255,0.55); text-decoration: line-through; }
.by-prod-card--hero {
    grid-row: span 2;
    grid-column: span 2;
}
.by-prod-card--hero .by-prod-img { aspect-ratio: auto; height: 100%; }
.by-prod-card--hero .by-prod-title { font-size: 18px; -webkit-line-clamp: 2; }
.by-prod-card--hero .by-prod-price .now { font-size: 20px; }
.by-prod-card--hero .by-prod-overlay { padding: 60px 24px 24px; }
.by-prod-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 18px;
    background: var(--by-green);
    color: #fff;
    border: none;
    border-radius: var(--by-r-full);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    transform: translateY(6px);
    transition: all var(--by-tr);
}
.by-prod-card:hover .by-prod-add-btn { opacity: 1; transform: translateY(0); }
.by-prod-add-btn:hover { background: var(--by-green-dark); }

/* ========== SECTION TITLES ========== */
.by-sec-title {
    font-family: var(--by-f-head);
    font-size: 32px;
    font-weight: 800;
    color: var(--by-black);
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.by-sec-sub {
    font-size: 16px;
    color: var(--by-gray3);
    margin-top: 8px;
    max-width: 520px;
}

/* ========== BUTTONS ========== */
.by-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--by-r-full);
    font-family: var(--by-f);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all var(--by-tr);
    white-space: nowrap;
}
.by-btn-primary { background: var(--by-green); color: #fff; }
.by-btn-primary:hover { background: var(--by-green-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(149,191,71,0.35); }
.by-btn-outline { background: transparent; color: var(--by-black); border: 2px solid var(--by-black); }
.by-btn-outline:hover { background: var(--by-black); color: #fff; }
.by-btn-white { background: #fff; color: var(--by-black); }
.by-btn-white:hover { background: var(--by-green-50); }
.by-btn-ghost { background: transparent; color: var(--by-green); font-weight: 600; padding: 8px 0; }
.by-btn-ghost:hover { color: var(--by-green-dark); }
.by-btn-ghost i { transition: transform var(--by-tr); }
.by-btn-ghost:hover i { transform: translateX(3px); }

/* ========== BREADCRUMB ========== */
.by-breadcrumb {
    max-width: var(--by-maxw);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--by-gray4);
    flex-wrap: wrap;
}
.by-breadcrumb a { color: var(--by-gray3); transition: color var(--by-tr); }
.by-breadcrumb a:hover { color: var(--by-green); }
.by-breadcrumb .sep { color: var(--by-gray6); }
.by-breadcrumb .current { color: var(--by-black); font-weight: 500; }

/* ========== PAGINATION ========== */
.il-pagination, .by-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.page-item {
    min-width: 38px;
    height: 38px;
    border-radius: var(--by-r-sm);
    border: 1px solid var(--by-gray8);
    background: var(--by-pure);
    color: var(--by-gray2);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--by-tr);
}
.page-item:hover { border-color: var(--by-green); color: var(--by-green); }
.page-item.active-l { background: var(--by-green); color: #fff; border-color: var(--by-green); }

/* ========== SKELETON ========== */
.by-skel, .il-skel { background: var(--by-pure); border-radius: var(--by-r-md); overflow: hidden; border: 1px solid var(--by-gray9); }
.by-skel-img, .il-skel-img { aspect-ratio: 1; background: linear-gradient(110deg, var(--by-gray10) 30%, var(--by-gray9) 50%, var(--by-gray10) 70%); background-size: 200% 100%; animation: by-shimmer 1.5s infinite; }
.by-skel-body, .il-skel-body { padding: 14px; }
.by-skel-line, .il-skel-line { height: 12px; border-radius: 6px; background: var(--by-gray9); margin-bottom: 8px; }
.by-skel-line:last-child, .il-skel-line:last-child { width: 60%; margin-bottom: 0; }
@keyframes by-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ========== CART ITEMS (h6po80.js rendered on cart page) ========== */
.cart-items { display: flex; flex-direction: column; }
.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--by-gray9); }
.item-image {
    
    height: 90px;
    border-radius: var(--by-r-md);
    background: var(--by-gray10);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.item-image img { max-width: 90%; max-height: 90%; width: auto; height: auto; object-fit: contain; }
.item-details { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--by-black);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}
.item-sku { font-size: 12px; color: var(--by-gray4); }
.item-actions { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.quantity-control { display: flex; align-items: center;  border-radius: var(--by-r-sm); }
.quantity-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: var(--by-gray10);
    font-size: 14px;
    font-weight: 600;
    color: var(--by-gray2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--by-tr);
}
.quantity-btn:hover { background: var(--by-green-50); color: var(--by-green); }
.quantity-input {
    width: 40px;
    height: 30px;
    border: none;
    border: 1px solid var(--by-gray8);
  
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--by-black);
    outline: none;
    -moz-appearance: textfield;
}
.quantity-input::-webkit-outer-spin-button, .quantity-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.btn-remove {
    background: none;
    border: none;
    font-size: 13px;
    color: var(--by-gray4);
    cursor: pointer;
    transition: color var(--by-tr);
}
.btn-remove:hover { color: var(--by-red); }
.item-price { display: flex; flex-direction: column; align-items: flex-end; min-width: 70px; }
.price-current { font-size: 15px; font-weight: 700; color: var(--by-black); }
.price-original { font-size: 12px; color: var(--by-gray4); text-decoration: line-through; }
.total { font-weight: 700; }
.continue-shopping { text-align: center; margin-top: 10px; }
.continue-shopping-btn {
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--by-gray3);
    cursor: pointer;
    transition: color var(--by-tr);
}
.continue-shopping-btn:hover { color: var(--by-green); }

/* ========== WISHLIST ITEMS (h6po80.js rendered) ========== */
.wishlist-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.wishlist-item {
    background: var(--by-pure);
    border-radius: var(--by-r-md);
    border: 1px solid var(--by-gray9);
    overflow: hidden;
    position: relative;
    transition: all var(--by-tr);
}
.wishlist-item:hover { box-shadow: var(--by-shadow-md); }
.wishlist-item .item-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    background: var(--by-green);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--by-r-full);
}
.wishlist-item .item-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    font-size: 14px;
    color: var(--by-gray3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--by-tr);
}
.wishlist-item .item-remove:hover { background: var(--by-red); color: #fff; }
.wishlist-item img { max-width: 100%; max-height:100%; object-fit: contain; background: var(--by-gray10); }
.wishlist-item .item-details { padding: 12px; }
.wishlist-item .item-title { font-size: 14px; margin-bottom: 6px; }
.wishlist-item .price-current { font-size: 15px; font-weight: 700; }
.wishlist-item .price-original { font-size: 12px; text-decoration: line-through; color: var(--by-gray4); }
.wishlist-item .btn-add-to-cart {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--by-green);
    color: #fff;
    border: none;
    border-radius: var(--by-r-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    margin-top: 8px;
    transition: background var(--by-tr);
}
.wishlist-item .btn-add-to-cart:hover { background: var(--by-green-dark); }

/* ========== SUCCESS TOAST ========== */
.successful_title {
    text-align: center;
    padding: 10px 20px;
    background: var(--by-green);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .by-nav-bar { display: none; }
    .by-hide-md { display: none; }
    .by-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    :root { --by-hdr-h: 56px; }
    .by-header-inner { padding: 0 16px;justify-content: space-between; }
    .by-container { padding: 0 16px; }
    .by-sec-title { font-size: 24px; }
    .by-sec-sub { font-size: 14px; }
    .by-btn { padding: 11px 22px; font-size: 14px; }
    .by-footer { padding: 40px 0 0; }
    .by-footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .by-footer-bottom { flex-direction: column; align-items: flex-start; }
    .by-hide-sm { display: none !important; }
    .by-show-sm { display: flex !important; }
    .by-burger { display: flex; }
    .shop-cart { width: 280px; right: -12px; }
    .by-prod-overlay { padding: 28px 10px 10px; }
    .by-prod-title { font-size: 12px; }
    .by-prod-price .now { font-size: 14px; }
    .by-prod-badge { padding: 3px 7px; font-size: 10px; }
    .by-prod-actions button { width: 30px; height: 30px; font-size: 12px; }
    .by-prod-actions { opacity: 1; transform: none; }
    .by-prod-add-btn { opacity: 1; transform: none; padding: 6px 14px; font-size: 11px; }
    .by-prod-card--hero { grid-row: span 1; grid-column: span 1; }
    .by-prod-card--hero .by-prod-title { font-size: 14px; }
    .by-prod-card--hero .by-prod-price .now { font-size: 16px; }
    .by-breadcrumb { padding: 12px 16px; font-size: 12px; }
}
@media (max-width: 480px) {
    .by-sec-title { font-size: 20px; }
    .by-btn { padding: 10px 18px; font-size: 13px; }
    .by-prod-title { font-size: 11px; -webkit-line-clamp: 1; }
    .by-prod-price .now { font-size: 13px; }
    .by-prod-price .was { font-size: 10px; }
    .by-prod-overlay { padding: 20px 8px 8px; }
    .by-prod-cat { font-size: 9px; }
    .by-prod-add-btn { padding: 5px 10px; font-size: 10px; }
}

/* ========== SIDEBAR RECENTLY VIEWED ========== */
.jq-shop-product {
    display: flex;
    flex-direction: column;
}
.category-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    position: relative;
    border-bottom: 1px solid var(--by-gray9);
    transition: background var(--by-tr);
}
.category-product-item:last-child {
    border-bottom: none;
}
.category-product-item:hover {
    background: var(--by-green-50);
    margin: 0 -8px;
    padding: 12px 8px;
    border-radius: var(--by-r-sm);
    border-bottom-color: transparent;
}
.category-product-item:hover + .category-product-item {
    border-top: 1px solid transparent;
}
.category-product-item a {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.category-product-img {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: var(--by-r-sm);
    background: var(--by-gray10);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.category-product-img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform var(--by-tr);
}
.category-product-item:hover .category-product-img img {
    transform: scale(1.05);
}
.category-product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.category-product-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--by-black);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.category-product-price {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.category-product-price span:first-child {
    color: var(--by-gray4);
    text-decoration: line-through;
    font-weight: 500;
}
.category-product-price span:last-child {
    color: var(--by-green);
}
