﻿/* wwwroot/css/lustershop-theme.css */

/* ---------- Base polish ---------- */
:root {
    --ls-primary: #ff6a00;
    --ls-primary-2: #ff3d6e;
    --ls-dark: #111827;
    --ls-muted: #6b7280;
    --ls-bg: #f8fafc;
    --ls-card: #ffffff;
    --ls-border: rgba(17, 24, 39, .08);
    --ls-shadow: 0 18px 45px rgba(17, 24, 39, .10);
}

html, body {
    background: var(--ls-bg);
}

a {
    transition: .2s ease;
}

    a:hover {
        text-decoration: none;
    }

.ls-section {
    padding: 70px 0;
}

@media (max-width: 991px) {
    .ls-section {
        padding: 45px 0;
    }
}

/* ---------- Hero ---------- */
.ls-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: radial-gradient(1200px 500px at 10% 10%, rgba(255,106,0,.28), transparent 60%), radial-gradient(1000px 500px at 90% 30%, rgba(255,61,110,.22), transparent 60%), linear-gradient(180deg, #ffffff, #f6f7fb);
    border: 1px solid var(--ls-border);
    box-shadow: var(--ls-shadow);
}

.ls-hero__inner {
    padding: 42px 42px;
}

@media (max-width: 991px) {
    .ls-hero__inner {
        padding: 28px 18px;
    }
}

.ls-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 106, 0, .10);
    color: var(--ls-dark);
    border: 1px solid rgba(255,106,0,.22);
    font-size: 13px;
}

.ls-hero__title {
    margin: 14px 0 10px;
    font-size: 34px;
    line-height: 1.6;
    color: var(--ls-dark);
    font-weight: 800;
}

.ls-hero__subtitle {
    color: var(--ls-muted);
    line-height: 2;
    margin-bottom: 18px;
    font-size: 15px;
}

.ls-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.ls-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
}

.ls-btn-primary {
    background: linear-gradient(135deg, var(--ls-primary), var(--ls-primary-2));
    color: #fff;
    box-shadow: 0 14px 30px rgba(255, 90, 40, .25);
}

    .ls-btn-primary:hover {
        filter: brightness(.98);
        transform: translateY(-1px);
    }

.ls-btn-ghost {
    background: rgba(17,24,39,.04);
    border-color: rgba(17,24,39,.10);
    color: var(--ls-dark);
}

    .ls-btn-ghost:hover {
        background: rgba(17,24,39,.06);
        transform: translateY(-1px);
    }

.ls-hero__stats {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 575px) {
    .ls-hero__stats {
        grid-template-columns: 1fr;
    }
}

.ls-stat {
    border: 1px solid var(--ls-border);
    border-radius: 18px;
    background: rgba(255,255,255,.75);
    padding: 14px 14px;
}

    .ls-stat b {
        display: block;
        color: var(--ls-dark);
        font-size: 16px;
        margin-bottom: 6px;
    }

    .ls-stat span {
        color: var(--ls-muted);
        font-size: 13px;
    }

/* ---------- Cards ---------- */
.ls-card {
    border: 1px solid var(--ls-border);
    background: var(--ls-card);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(17,24,39,.08);
}

.ls-card__pad {
    padding: 22px;
}

@media (max-width: 575px) {
    .ls-card__pad {
        padding: 16px;
    }
}

.ls-card__title {
    color: var(--ls-dark);
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 10px;
}

.ls-card__muted {
    color: var(--ls-muted);
    line-height: 2;
}

.ls-divider {
    height: 1px;
    background: rgba(17,24,39,.08);
    margin: 14px 0;
}

/* ---------- Breadcrumb refresh (keep original classes) ---------- */
.breadcrumb-area {
    background: transparent !important;
}

    .breadcrumb-area .breadcrumb-content {
        background: rgba(255,255,255,.8);
        border: 1px solid var(--ls-border);
        border-radius: 18px;
        padding: 12px 18px;
        box-shadow: 0 10px 26px rgba(17,24,39,.06);
    }

/* ---------- Form polish ---------- */
.ls-form .input-style input,
.ls-form .textarea-style textarea {
    border-radius: 14px !important;
    border: 1px solid rgba(17,24,39,.12) !important;
    background: #fff !important;
}

    .ls-form .input-style input:focus,
    .ls-form .textarea-style textarea:focus {
        border-color: rgba(255,106,0,.55) !important;
        box-shadow: 0 0 0 4px rgba(255,106,0,.12) !important;
    }

.ls-form button.submit,
.ls-form .submit {
    border-radius: 14px !important;
    padding: 12px 16px !important;
    background: linear-gradient(135deg, var(--ls-primary), var(--ls-primary-2)) !important;
    box-shadow: 0 14px 30px rgba(255, 90, 40, .22);
}

/* ---------- Product tiles tiny upgrade without breaking theme ---------- */
.single-product-wrap {
    border-radius: 22px;
    border: 1px solid rgba(17,24,39,.08);
    background: #fff;
    transition: .2s ease;
}

    .single-product-wrap:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 45px rgba(17,24,39,.12);
    }

/* ---------- FAQ slider cards ---------- */
.single-testimonial {
    border-radius: 22px;
    border: 1px solid rgba(17,24,39,.08);
    background: #fff;
    box-shadow: 0 10px 30px rgba(17,24,39,.06);
}

/* ---------- Contact strip ---------- */
.contact-area.bg-gray-2 {
    background: transparent !important;
}

.contact-area .single-contact-wrap {
    border-radius: 22px;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(17,24,39,.08);
    box-shadow: 0 10px 28px rgba(17,24,39,.06);
}

/* ---------- Error page ---------- */
.ls-error {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(900px 400px at 10% 10%, rgba(255,106,0,.20), transparent 55%), radial-gradient(900px 400px at 90% 30%, rgba(255,61,110,.16), transparent 55%), linear-gradient(180deg, #fff, #f3f4f6);
}

.ls-error__box {
    width: 100%;
    border-radius: 28px;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(17,24,39,.10);
    box-shadow: var(--ls-shadow);
    padding: 26px;
}


/* ---------- Account pages polish ---------- */
.login-register-area {
    background: transparent;
}

.login-register-wrap.login-register-gray-bg {
    border-radius: 24px;
    border: 1px solid rgba(17,24,39,.10);
    background: rgba(255,255,255,.86);
    box-shadow: 0 18px 45px rgba(17,24,39,.10);
    overflow: hidden;
}

.login-register-title {
    padding: 18px 22px 10px;
}

    .login-register-title h1 {
        font-size: 20px;
        font-weight: 900;
        color: #111827;
        line-height: 1.9;
    }

.login-register-form {
    padding: 0 22px 22px;
}

.login-register-input-style.input-style-white input {
    border-radius: 14px !important;
    border: 1px solid rgba(17,24,39,.12) !important;
}

.login-register-btn button {
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--ls-primary), var(--ls-primary-2)) !important;
    box-shadow: 0 14px 30px rgba(255, 90, 40, .22);
}

.privacy-policy-wrap {
    background: rgba(255,106,0,.08);
    border: 1px solid rgba(255,106,0,.18);
    padding: 10px 12px;
    border-radius: 16px;
    margin: 12px 0 16px;
}

    .privacy-policy-wrap p {
        margin: 0;
        color: #374151;
        line-height: 2;
    }

/* Manage page (tabs + cards) */
.myaccount-page-wrapper {
    border-radius: 24px;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(17,24,39,.10);
    box-shadow: 0 18px 45px rgba(17,24,39,.10);
    overflow: hidden;
}

.myaccount-tab-menu {
    padding: 16px;
    background: rgba(17,24,39,.03);
    border-left: 1px solid rgba(17,24,39,.08);
    height: 100%;
}

    .myaccount-tab-menu a {
        border-radius: 14px;
        padding: 12px 12px;
        margin-bottom: 10px;
        font-weight: 800;
        color: #111827;
        border: 1px solid rgba(17,24,39,.08);
        background: rgba(255,255,255,.75);
    }

        .myaccount-tab-menu a.active {
            background: linear-gradient(135deg, var(--ls-primary), var(--ls-primary-2));
            color: #fff !important;
            border-color: transparent;
        }

.myaccount-content {
    padding: 18px;
}

.myaccount-table table {
    border-radius: 16px;
    overflow: hidden;
}

.myaccount-address-wrap {
    border-radius: 18px;
    border: 1px solid rgba(17,24,39,.08);
    background: #fff;
    padding: 14px;
    box-shadow: 0 10px 26px rgba(17,24,39,.06);
}

.account-info input,
.account-info textarea,
.select-style select {
    border-radius: 14px !important;
    border: 1px solid rgba(17,24,39,.12) !important;
}

.account-info-btn button {
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--ls-primary), var(--ls-primary-2)) !important;
    box-shadow: 0 14px 30px rgba(255, 90, 40, .22);
}

.UserPic {
    border-radius: 22px;
    border: 1px solid rgba(17,24,39,.10);
    box-shadow: 0 14px 34px rgba(17,24,39,.10);
    max-width: 220px;
}

/* ---------- SellerRegister fix (keep structure, only visibility/polish) ---------- */
.login-register-wrap {
    border-radius: 24px;
    border: 1px solid rgba(17,24,39,.10);
    background: rgba(255,255,255,.86);
    box-shadow: 0 18px 45px rgba(17,24,39,.10);
    overflow: hidden;
}

/* input visibility for pages that don't use input-style-white */
.login-register-input-style input,
.login-register-input-style textarea,
.login-register-input-style select {
    border-radius: 14px !important;
    border: 1px solid rgba(17,24,39,.12) !important;
    background: #fff !important;
    color: #111827 !important;
}

    .login-register-input-style input:focus,
    .login-register-input-style textarea:focus,
    .login-register-input-style select:focus {
        border-color: rgba(255,106,0,.55) !important;
        box-shadow: 0 0 0 4px rgba(255,106,0,.12) !important;
    }

    .login-register-input-style input[type="file"] {
        padding: 10px 12px !important;
        cursor: pointer;
    }

/* SellerRegister form grid breathing room */
.login-register-form form.row {
    margin-left: 0;
    margin-right: 0;
}

    .login-register-form form.row > * {
        width: 100%;
    }


/* ---------- Seller pages polish (NO structural dependency) ---------- */
.ls-seller-card {
    border-radius: 24px;
    border: 1px solid rgba(17,24,39,.10);
    background: rgba(255,255,255,.86);
    box-shadow: 0 18px 45px rgba(17,24,39,.10);
    overflow: hidden;
}

.ls-seller-pad {
    padding: 18px;
}

.ls-seller-title {
    margin: 0 0 10px;
    font-weight: 900;
    color: #111827;
    line-height: 1.9;
}

.ls-seller-note {
    background: rgba(255,106,0,.08);
    border: 1px solid rgba(255,106,0,.18);
    padding: 10px 12px;
    border-radius: 16px;
    margin: 10px 0 16px;
    color: #374151;
    line-height: 2;
}

.ls-seller-divider {
    height: 1px;
    background: rgba(17,24,39,.08);
    margin: 14px 0;
}

/* Sidebar */
.sidebar-widget.sidebar-widget-wrap.ls-seller-card {
    padding: 14px;
}

.sidebar-widget .widget-menu-style ul li a {
    border-radius: 14px;
    border: 1px solid rgba(17,24,39,.08);
    background: rgba(255,255,255,.75);
    padding: 10px 12px;
    margin-bottom: 10px;
    font-weight: 800;
    color: #111827;
}

    .sidebar-widget .widget-menu-style ul li a:hover {
        background: rgba(17,24,39,.05);
    }

/* Tables look better */
.myaccount-table table {
    border-radius: 16px;
    overflow: hidden;
}

/* Product image inputs */
.img-input {
    border-radius: 18px !important;
    border: 1px solid rgba(17,24,39,.10) !important;
    box-shadow: 0 10px 26px rgba(17,24,39,.08);
}

.upload-input {
    margin-top: 8px;
}

.color-label {
    border-radius: 12px;
    border: 1px solid rgba(17,24,39,.12);
    width: 36px;
    height: 36px;
    display: inline-block;
}

/* ---------- Product pages polish (SAFE: only styling existing classes) ---------- */

/* Product grid cards */
.single-product-wrap {
    border-radius: 22px;
    border: 1px solid rgba(17,24,39,.10);
    background: rgba(255,255,255,.92);
    box-shadow: 0 14px 34px rgba(17,24,39,.08);
    overflow: hidden;
}

    .single-product-wrap .product-img-action-wrap {
        margin-bottom: 0 !important;
    }

    .single-product-wrap .product-img {
        background: rgba(17,24,39,.02);
    }

    .single-product-wrap .product-content-wrap {
        padding: 12px 14px 14px;
    }

    .single-product-wrap .product-category a {
        font-weight: 800;
        color: #374151;
    }

    .single-product-wrap h2 a {
        font-weight: 900;
        color: #111827;
        line-height: 1.9;
    }

    .single-product-wrap .product-price {
        margin-top: 8px;
    }

/* Shop topbar + sidebar cards */
.shop-topbar-wrapper {
    border-radius: 18px;
    border: 1px solid rgba(17,24,39,.08);
    background: rgba(255,255,255,.75);
    padding: 12px 14px;
    box-shadow: 0 12px 28px rgba(17,24,39,.06);
    margin-bottom: 18px;
}

.sidebar-widget.sidebar-widget-wrap {
    border-radius: 18px;
    border: 1px solid rgba(17,24,39,.08);
    background: rgba(255,255,255,.78);
    box-shadow: 0 12px 28px rgba(17,24,39,.06);
}

/* Product detail main card */
.product-details-wrap {
    border-radius: 24px;
    border: 1px solid rgba(17,24,39,.10);
    background: rgba(255,255,255,.88);
    box-shadow: 0 18px 45px rgba(17,24,39,.10);
    overflow: hidden;
}

.product-details-content {
    padding-top: 6px;
}

.pro-details-price .new-price {
    font-weight: 900;
}

.wishlist-bottom {
    border-radius: 18px;
    border: 1px dashed rgba(17,24,39,.16);
    background: rgba(255,255,255,.72);
    padding: 10px 12px;
    margin-top: 14px;
}

/* Tabs area */
.product-details-wrap-bottom {
    border-radius: 24px;
    border: 1px solid rgba(17,24,39,.10);
    background: rgba(255,255,255,.86);
    box-shadow: 0 18px 45px rgba(17,24,39,.08);
    padding: 16px;
    margin-top: 18px;
}

/* Comments */
.single-pro-details-review {
    border-radius: 18px;
    border: 1px solid rgba(17,24,39,.08);
    background: #fff;
    box-shadow: 0 10px 26px rgba(17,24,39,.06);
    padding: 12px;
}

/* Related products section header */
.section-title-1 h2 {
    font-weight: 900;
    color: #111827;
}

/* ---------- Cart / Checkout / Wishlist polish (SAFE) ---------- */
.ls-cart-card {
    border-radius: 24px;
    border: 1px solid rgba(17,24,39,.10);
    background: rgba(255,255,255,.88);
    box-shadow: 0 18px 45px rgba(17,24,39,.10);
    overflow: hidden;
}

.ls-cart-pad {
    padding: 16px;
}

.ls-cart-title {
    margin: 0 0 12px;
    font-weight: 900;
    color: #111827;
    line-height: 1.9;
}

.ls-cart-note {
    background: rgba(255,106,0,.08);
    border: 1px solid rgba(255,106,0,.18);
    padding: 10px 12px;
    border-radius: 16px;
    margin: 10px 0 16px;
    color: #374151;
    line-height: 2;
}

.ls-cart-divider {
    height: 1px;
    background: rgba(17,24,39,.08);
    margin: 14px 0;
}

/* Cart table better */
.cart-table-content .table-content table {
    border-radius: 18px;
    overflow: hidden;
}

.cart-table-content table thead th {
    background: rgba(17,24,39,.03);
}

.cart-table-content td, .cart-table-content th {
    vertical-align: middle;
}

/* Cart quantity buttons */
.cart-quality .pro-details-action button {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid rgba(17,24,39,.12);
    background: #fff;
    box-shadow: 0 10px 22px rgba(17,24,39,.08);
}

.cart-quality span {
    display: inline-block;
    min-width: 36px;
    text-align: center;
    font-weight: 900;
    color: #111827;
}

/* Remove link */
.product-remove a, .wishlist-product-thumbnail a {
    border-radius: 12px;
    border: 1px solid rgba(17,24,39,.12);
    padding: 6px 10px;
    display: inline-block;
    background: rgba(255,255,255,.75);
}

/* Checkout cards */
.customer-zone,
.billing-info-wrap,
.payment-details-area,
.order-summary {
    border-radius: 24px;
    border: 1px solid rgba(17,24,39,.10);
    background: rgba(255,255,255,.88);
    box-shadow: 0 18px 45px rgba(17,24,39,.10);
}

.customer-zone {
    padding: 14px;
}

.billing-info-wrap {
    padding: 14px;
}

.payment-details-area {
    padding: 14px;
}

.order-summary {
    overflow: hidden;
}

.order-summary-title {
    background: rgba(17,24,39,.03);
    padding: 12px 14px;
    border-bottom: 1px solid rgba(17,24,39,.08);
}

.order-summary-top, .order-summary-middle, .order-summary-bottom {
    padding: 12px 14px;
}

.order-summary-img img {
    border-radius: 14px;
    border: 1px solid rgba(17,24,39,.10);
    box-shadow: 0 10px 22px rgba(17,24,39,.08);
}

/* Wishlist table */
.wishlist-table-content .table-content table {
    border-radius: 18px;
    overflow: hidden;
}

.wishlist-bottom {
    border-radius: 18px;
    border: 1px dashed rgba(17,24,39,.16);
    background: rgba(255,255,255,.72);
    padding: 12px;
    margin-top: 16px;
}
