/* -----------------------------
   Page Specific Styles
----------------------------- */

/* Common Page Styles */
.page-content {
    padding: 30px 20px 80px;
}

.breadcrumb {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 30px;
}

.breadcrumb a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb i {
    font-size: 10px;
    margin: 0 10px;
}

.breadcrumb span {
    color: var(--dark-black);
    font-weight: 600;
}

/* Products Listing Page */
.shop-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.shop-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #FFF;
    border: 1px solid #E0E0E0;
    border-radius: 15px;
    padding: 25px;
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #EEE;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--dark-black);
}

.filter-group ul {
    list-style: none;
}

.filter-group ul li {
    margin-bottom: 10px;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #444;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-inputs input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #CCC;
    border-radius: 6px;
    outline: none;
}

.btn-apply {
    width: 100%;
    background: var(--dark-black);
    color: #FFF;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.shop-main {
    flex: 1;
}

.shop-product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: #F8F9FA;
    padding: 15px 25px;
    border-radius: 12px;
}

.shop-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.sort-by select {
    padding: 8px 15px;
    border: 1px solid #CCC;
    border-radius: 6px;
    margin-left: 10px;
    outline: none;
    font-family: 'Outfit';
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #E0E0E0;
    background: #FFF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.page-btn.active, .page-btn:hover {
    background: var(--primary-red);
    color: #FFF;
    border-color: var(--primary-red);
}

/* Product Detail Page */
.product-detail-layout {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
    background: #FFF;
}

.product-gallery {
    width: 45%;
    flex-shrink: 0;
}

.main-image {
    background: #F8F9FA;
    border-radius: 20px;
    padding: 40px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid #EEE;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnail-list {
    display: flex;
    gap: 15px;
}

.thumb {
    width: 80px;
    height: 80px;
    background: #F8F9FA;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumb.active {
    border-color: var(--primary-red);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    flex: 1;
}

.pd-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.pd-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.pd-rating .stars {
    color: #FFB300;
}

.pd-rating span {
    color: var(--gray-text);
    font-size: 14px;
}

.pd-price-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.pd-price {
    font-size: 32px;
    font-weight: 900;
    color: var(--dark-black);
}

.pd-mrp {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.pd-discount {
    background: var(--primary-red);
    color: #FFF;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(215, 32, 39, 0.15);
}

.pd-seller {
    background: #F5F7FA;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 25px;
}

.pd-desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.pd-options {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.color-options {
    display: flex;
    gap: 10px;
}

.color-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    position: relative;
}

.color-btn.active::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border: 2px solid var(--primary-red);
    border-radius: 50%;
}

/* Hide HTML5 input number spinners globally */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
input[type=number] {
    -moz-appearance: textfield;
}

.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid #D5D9D9;
    border-radius: 100px;
    background: #F0F2F2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    width: 120px;
    overflow: hidden;
}

.qty-selector button {
    width: 35px;
    height: 38px;
    background: #F0F2F2;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    color: #0F1111;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-selector button:hover {
    background: #E3E6E6;
}

.qty-selector input {
    width: 50px;
    height: 38px;
    border: none;
    background: #FFF;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #0F1111;
    outline: none;
    border-left: 1px solid #D5D9D9;
    border-right: 1px solid #D5D9D9;
}
}

.pd-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-add-cart, .btn-buy-now {
    flex: 1;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart {
    background: linear-gradient(to bottom, #FFD814 0%, #F7CA00 100%);
    border: 1px solid #F0C14B;
    border-radius: 10px;
    color: #111;
    box-shadow: 0 4px 12px rgba(247, 202, 0, 0.15);
}

.btn-add-cart:hover {
    background: linear-gradient(to bottom, #F7DF15 0%, #E2B400 100%);
    border-color: #A88734;
    box-shadow: 0 6px 16px rgba(247, 202, 0, 0.25);
    color: #111;
}

.btn-buy-now {
    background: var(--primary-red);
    border: 2px solid var(--primary-red);
    color: #FFF;
}

.btn-buy-now:hover {
    background: var(--dark-black);
    border-color: var(--dark-black);
}

.pd-features {
    display: flex;
    justify-content: space-between;
    padding-top: 25px;
    border-top: 1px solid #EEE;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
    text-align: center;
}

.feature i {
    font-size: 24px;
    color: var(--primary-red);
}

.pd-tabs-section {
    margin-top: 50px;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #EEE;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    color: var(--primary-red);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-red);
}

.tab-content h3 {
    margin-bottom: 20px;
}

.tab-content p {
    color: #555;
    margin-bottom: 20px;
}

.tab-content ul {
    padding-left: 20px;
    color: #555;
}

/* Cart Page */
.cart-layout {
    display: flex;
    gap: 40px;
}

.cart-items-section {
    flex: 1;
}

.cart-items-section h2 {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #EEE;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #EEE;
}

.ci-image {
    width: 120px;
    height: 120px;
    background: #F8F9FA;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #E0E0E0;
}

.ci-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ci-details {
    flex: 1;
}

.ci-title {
    font-size: 18px;
    margin-bottom: 5px;
}

.ci-seller {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

.ci-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark-black);
    margin-bottom: 15px;
}

.ci-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-remove {
    background: none;
    border: none;
    color: #D32F2F;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

.btn-remove:hover {
    text-decoration: underline;
}

.cart-summary {
    width: 350px;
    background: #F8F9FA;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #E0E0E0;
    height: max-content;
}

.cart-summary h3 {
    font-size: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #DDD;
    padding-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
}

.free-text {
    color: #43A047;
    font-weight: 700;
}

.summary-divider {
    height: 1px;
    background: #DDD;
    margin: 20px 0;
}

.summary-row.total {
    font-size: 20px;
    font-weight: 800;
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    background: var(--primary-red);
    color: #FFF;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    margin-top: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-checkout:hover {
    background: var(--dark-black);
}

.secure-checkout {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: #666;
}

/* Auth Pages (Login/Register) */
.auth-body {
    padding-top: 0;
    background: #F4F6F9;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header p {
    color: #666;
    margin-top: 10px;
}

.auth-box {
    background: #FFF;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #EEE;
}

.auth-tab {
    flex: 1;
    padding: 20px;
    background: #FAFAFA;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
}

.auth-tab.active {
    background: #FFF;
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
}

.auth-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid #DDD;
    border-radius: 8px;
    outline: none;
    font-family: 'Outfit';
}

.form-group input:focus {
    border-color: var(--primary-red);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 25px;
}

.forgot-link {
    color: var(--primary-red);
    text-decoration: none;
}

.btn-auth {
    width: 100%;
    padding: 15px;
    background: var(--dark-black);
    color: #FFF;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.social-login {
    margin-top: 30px;
    text-align: center;
}

.social-login p {
    font-size: 13px;
    color: #888;
    position: relative;
    margin-bottom: 20px;
}

.social-login p::before, .social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #EEE;
}
.social-login p::before { left: 0; }
.social-login p::after { right: 0; }

.social-btns {
    display: flex;
    gap: 15px;
}

.btn-social {
    flex: 1;
    padding: 12px;
    border: 1px solid #DDD;
    background: #FFF;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-social.google { color: #DB4437; }
.btn-social.facebook { color: #4267B2; }

.vendor-link {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
}

.vendor-link a {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
}

/* Vendor Dashboard */
.dashboard-body {
    padding-top: 0;
    background: #F4F6F9;
}

.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.dashboard-sidebar {
    width: 260px;
    background: #FFF;
    box-shadow: 2px 0 10px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-logo {
    padding: 25px;
    border-bottom: 1px solid #EEE;
}

.seller-badge {
    display: inline-block;
    background: #FFEBEE;
    color: var(--primary-red);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 5px;
}

.sidebar-nav {
    padding: 20px 0;
    flex: 1;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    gap: 15px;
    border-left: 3px solid transparent;
}

.sidebar-nav li a:hover, .sidebar-nav li a.active {
    background: #F8F9FA;
    color: var(--primary-red);
    border-left-color: var(--primary-red);
}

.sidebar-nav li a i {
    width: 20px;
    text-align: center;
}

.nav-badge {
    background: var(--primary-red);
    color: #FFF;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
}

.sidebar-footer {
    padding: 20px 25px;
    border-top: 1px solid #EEE;
}

.sidebar-footer a {
    color: #888;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.dashboard-main {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    background: #FFF;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.search-bar {
    display: flex;
    align-items: center;
    background: #F4F6F9;
    padding: 10px 15px;
    border-radius: 8px;
    width: 300px;
}

.search-bar i { color: #888; margin-right: 10px; }
.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 20px;
    color: #555;
    position: relative;
    cursor: pointer;
}

.dot {
    position: absolute;
    top: 0; right: 0;
    width: 8px; height: 8px;
    background: var(--primary-red);
    border-radius: 50%;
}

.vendor-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.vendor-profile img {
    width: 35px; height: 35px;
    border-radius: 50%;
}

.dashboard-content {
    padding: 30px;
    flex: 1;
}

.page-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.btn-primary {
    background: var(--primary-red);
    color: #FFF;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #FFF;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.stat-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-info p {
    font-size: 13px;
    color: #888;
    margin-bottom: 5px;
}

.stat-info h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 5px;
}

.trend.positive { color: #43A047; font-size: 12px; font-weight: 600; }

.recent-orders {
    background: #FFF;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header a {
    color: var(--primary-red);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th, .dashboard-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #EEE;
    font-size: 14px;
}

.dashboard-table th {
    color: #888;
    font-weight: 500;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}
.status-badge.pending { background: #FFF3E0; color: #E65100; }
.status-badge.processing { background: #E3F2FD; color: #1565C0; }
.status-badge.completed { background: #E8F5E9; color: #2E7D32; }

.btn-action {
    background: none;
    border: 1px solid #CCC;
    padding: 5px 15px;
    border-radius: 6px;
    cursor: pointer;
}

/* Checkout Page */
.checkout-layout {
    display: flex;
    gap: 40px;
}
.checkout-steps {
    flex: 1;
}
.checkout-step {
    background: #FFF;
    border: 1px solid #EEE;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}
.step-header {
    background: #F8F9FA;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #EEE;
}
.step-num {
    background: var(--primary-red);
    color: #FFF;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-weight: 700;
}
.step-content {
    padding: 25px;
    display: none;
}
.checkout-step.active .step-content {
    display: block;
}
.address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.address-card {
    border: 1px solid #DDD;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}
.address-card.selected {
    border-color: var(--primary-red);
    background: #FFF5F5;
}
.address-card h4 {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}
.address-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
.address-card.add-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    border-style: dashed;
}
.address-card.add-new i {
    font-size: 24px;
    margin-bottom: 10px;
}
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border: 1px solid #EEE;
    border-radius: 8px;
    cursor: pointer;
}
.payment-option:hover {
    border-color: #CCC;
}
.po-details {
    flex: 1;
}
.po-title {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}
.po-desc {
    font-size: 13px;
    color: #888;
}
.po-icons {
    display: flex;
    gap: 10px;
    font-size: 20px;
    color: #555;
}
.checkout-summary {
    width: 350px;
    background: #F8F9FA;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 25px;
    height: max-content;
}
.summary-items {
    margin-bottom: 20px;
    border-bottom: 1px solid #DDD;
    padding-bottom: 10px;
}
.s-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.s-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 1px solid #EEE;
}
.s-item-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
}
.s-item-info p {
    font-size: 12px;
    color: #888;
}
.s-item-info .price {
    font-weight: 700;
    display: block;
    margin-top: 5px;
}

/* My Account Page */
.account-layout {
    display: flex;
    gap: 40px;
}
.account-sidebar {
    width: 280px;
    flex-shrink: 0;
}
.account-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #FFF;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    margin-bottom: 20px;
}
.account-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.ap-info h3 {
    font-size: 16px;
    margin-bottom: 2px;
}
.ap-info p {
    font-size: 13px;
    color: #888;
}
.account-nav {
    background: #FFF;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    overflow: hidden;
}
.account-nav ul {
    list-style: none;
}
.account-nav li {
    border-bottom: 1px solid #EEE;
}
.account-nav li:last-child {
    border-bottom: none;
}
.account-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: var(--transition);
}
.account-nav a:hover, .account-nav a.active {
    background: #F8F9FA;
    color: var(--primary-red);
}
.account-nav a i {
    width: 20px;
    text-align: center;
}
.account-main {
    flex: 1;
}
.account-title {
    font-size: 22px;
    margin-bottom: 25px;
}
.order-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.order-card {
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    overflow: hidden;
}
.order-header {
    background: #F8F9FA;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #EEE;
}
.oh-left {
    display: flex;
    gap: 30px;
}
.oh-detail {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}
.oh-detail span {
    color: #888;
    margin-bottom: 3px;
}
.oh-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 13px;
}
.oh-right a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    margin-top: 5px;
}
.order-body {
    padding: 20px;
    background: #FFF;
}
.ob-status {
    margin-bottom: 20px;
}
.ob-status h4 {
    font-size: 16px;
    margin-bottom: 5px;
}
.ob-status p {
    font-size: 13px;
    color: #666;
}
.ob-item {
    display: flex;
    gap: 20px;
}
.ob-item img {
    width: 80px;
    height: 80px;
    border: 1px solid #EEE;
    border-radius: 8px;
}
.ob-info h5 {
    font-size: 16px;
    margin-bottom: 5px;
}
.ob-info p {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}
.btn-outline-small {
    padding: 6px 15px;
    border: 1px solid #CCC;
    background: #FFF;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* Vendor Add Product Form */
.form-layout {
    display: flex;
    gap: 30px;
}
.form-col-main {
    flex: 2;
}
.form-col-side {
    flex: 1;
}
.panel {
    background: #FFF;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.panel h3 {
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #EEE;
    padding-bottom: 10px;
}
.form-group.half {
    flex: 1;
}
.form-row {
    display: flex;
    gap: 20px;
}
textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #DDD;
    border-radius: 8px;
    outline: none;
    font-family: 'Outfit';
    resize: vertical;
}
select {
    width: 100%;
    padding: 14px;
    border: 1px solid #DDD;
    border-radius: 8px;
    outline: none;
    font-family: 'Outfit';
    background: #FFF;
}
.required {
    color: #D32F2F;
}
.image-upload-area {
    border: 2px dashed #CCC;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    background: #FAFAFA;
    cursor: pointer;
    transition: var(--transition);
}
.image-upload-area:hover {
    border-color: var(--primary-red);
    background: #FFF5F5;
}
.image-upload-area i {
    font-size: 32px;
    color: #888;
    margin-bottom: 15px;
}
.image-upload-area p {
    font-size: 14px;
    margin-bottom: 5px;
}
.image-upload-area p span {
    color: var(--primary-red);
    font-weight: 600;
}
.image-upload-area small {
    color: #999;
}
.actions-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-outline {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Category Promotional Banner */
.category-banner {
    background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
    border-radius: 12px;
    padding: 30px 40px;
    color: #FFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(255, 87, 34, 0.2);
}

.category-banner::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.5;
}

.cb-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
}

.cb-badge {
    display: inline-block;
    background: #FFF;
    color: #FF5722;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cb-content h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cb-content h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cb-offer-box {
    display: inline-flex;
    background: #FFF;
    color: #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cb-bank {
    background: #F8F9FA;
    padding: 12px 20px;
    font-weight: 800;
    color: #1565C0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 1px dashed #CCC;
}

.cb-offer-text {
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
}

.cb-offer-text strong {
    font-size: 16px;
    color: #333;
}

.cb-offer-text span {
    font-size: 12px;
    color: #666;
}

.cb-decor {
    position: absolute;
    right: -20px;
    bottom: -40px;
    font-size: 200px;
    color: rgba(255,255,255,0.1);
    transform: rotate(-15deg);
}

@media (max-width: 992px) {
    .shop-layout, .product-detail-layout, .cart-layout {
        flex-direction: column;
    }
    .shop-sidebar { width: 100%; }
    .product-gallery { width: 100%; }
    .cart-summary { width: 100%; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-sidebar { transform: translateX(-100%); }
    .dashboard-main { margin-left: 0; }
    
    .shop-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .shop-header .sort-by {
        display: none !important;
    }
    
    .shop-header {
        padding: 12px 15px !important;
        margin-bottom: 20px !important;
    }
}

@media (max-width: 480px) {
    .shop-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .stats-grid { grid-template-columns: 1fr; }
    .pd-actions { flex-direction: column; }
    .cart-item { flex-direction: column; }
    .ci-image { width: 100%; height: 200px; }
}

/* Amazon-Style Magnifying Lens & Side Zoom Result */
.main-image {
    position: relative;
    overflow: visible !important; /* Essential to let the zoom window float adjacent to it */
    cursor: crosshair;
}

.zoom-lens {
    position: absolute;
    border: 1px solid #d4d4d4;
    width: 140px;
    height: 140px;
    background-color: rgba(255, 255, 255, 0.35);
    background-image: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(0,0,0,0.05) 100%);
    cursor: crosshair;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 10;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0,0,0,0.08);
}

.zoom-result {
    position: absolute;
    left: calc(100% + 30px);
    top: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #E5E8ED;
    background-repeat: no-repeat;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
    background-color: #FFF;
    transition: opacity 0.25s ease;
}

.main-image:hover .zoom-lens,
.main-image:hover .zoom-result {
    opacity: 1;
}

@media (max-width: 900px) {
    .zoom-result {
        display: none !important; /* Hide side zoom on tablet/mobile where there is no space on the right side! */
    }
    .zoom-lens {
        display: none !important;
    }
}

/* Premium Dashboard UI overrides matching the reference design */
.sidebar-nav li a {
    border-radius: 8px;
    margin: 4px 15px;
    padding: 12px 15px;
    border-left: none;
    transition: var(--transition);
}

.sidebar-nav li a:hover {
    background: #F4F6F9;
    color: var(--primary-red);
}

.sidebar-nav li a.active {
    background: var(--primary-red) !important;
    color: #FFF !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(215, 32, 39, 0.2);
}

.sidebar-nav li a.active i {
    color: #FFF !important;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 25px 15px;
}

.sidebar-footer {
    padding: 20px 15px;
}

.logout-btn {
    border-radius: 8px;
    margin: 0 15px;
    padding: 12px 15px;
    color: #555 !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.logout-btn:hover {
    background: #FFF0F2;
    color: var(--primary-red) !important;
}

.dashboard-split {
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .dashboard-split {
        flex-direction: column;
    }
}

/* Mobile Filter Bar styling */
.mobile-filter-bar {
    display: none; /* hidden on desktop */
}

@media (max-width: 900px) {
    .mobile-filter-bar {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
        background: #FFF;
        padding: 12px;
        border-radius: 12px;
        border: 1px solid #F0F2F5;
    }
    
    .mobile-chips-container {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .mobile-chips-container::-webkit-scrollbar {
        display: none;
    }
    
    .filter-chip {
        display: inline-block;
        padding: 8px 16px;
        background: #F0F2F5;
        color: #444;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        border: 1px solid transparent;
        transition: all 0.2s ease;
    }
    
    .filter-chip input[type="radio"] {
        display: none; /* Hide native radio */
    }
    
    .filter-chip.active {
        background: var(--primary-red) !important;
        color: #FFF !important;
        border-color: var(--primary-red) !important;
        box-shadow: 0 4px 8px rgba(215, 32, 39, 0.15);
    }
    
    .mobile-filter-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .filter-chip-wrapper {
        position: relative;
    }
    
    .filter-chip-wrapper button.filter-chip {
        border: 1px solid #D0D4DC;
        background: #FFF;
        border-radius: 8px;
        padding: 8px 14px;
        display: flex;
        align-items: center;
    }
    
    .filter-chip-wrapper button.filter-chip.active {
        background: #FFF5F5 !important;
        color: var(--primary-red) !important;
        border-color: var(--primary-red) !important;
    }
    
    .price-popover {
        position: absolute;
        top: calc(100% + 5px);
        left: 0;
        background: #FFF;
        border: 1px solid #DDD;
        border-radius: 8px;
        padding: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        z-index: 100;
        display: none; /* toggle via JS */
    }
    
    .price-popover.show {
        display: block;
    }
    
    .price-inputs {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .filter-chip-select {
        border: 1px solid #D0D4DC;
        background: #FFF;
        border-radius: 8px;
        padding: 8px 14px;
        font-size: 13px;
        font-weight: 600;
        color: #444;
        font-family: 'Outfit';
        outline: none;
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url('data:image/svg+xml;utf8,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="%23444" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 28px;
    }
    
    .filter-chip-select.active {
        background-color: #FFF5F5;
        color: var(--primary-red);
        border-color: var(--primary-red);
        background-image: url('data:image/svg+xml;utf8,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="%23D72027" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    }
}
