:root {
    --accent: #ff4d18;
    --accent-dark: #d93a0b;
    --ink: #111111;
    --soft: #f4f5f7;
}

body {
    background: var(--soft);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

.text-accent { color: var(--accent); }
.text-white-75 { color: rgba(255,255,255,.75); }
.bg-accent { background: var(--accent) !important; }

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 700;
}

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

.hero-section {
    background:
        linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.48)),
        url("../images/products/shoe-10.svg") right center / contain no-repeat,
        #151515;
}

.min-vh-hero {
    min-height: 540px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.section-title h2,
.page-heading h1 {
    font-weight: 800;
    margin: 0;
}

.section-title a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.page-heading {
    margin-bottom: 28px;
}

.page-heading p {
    color: #666;
    margin: 6px 0 0;
}

.product-card {
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.product-card .card-img-top {
    height: 210px;
    object-fit: contain;
    background: #fff;
    padding: 18px;
}

.price {
    color: var(--accent);
    font-weight: 800;
}

.price del {
    color: #888;
    font-weight: 400;
    margin-right: 8px;
}

.category-box,
.info-box,
.form-card,
.summary-card,
.about-panel,
.success-box {
    display: block;
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.category-box {
    color: var(--ink);
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
}

.category-box:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.offer-band {
    background: var(--accent);
    color: #fff;
    padding: 58px 0;
}

.details-image {
    background: #fff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.details-image img {
    width: 100%;
    height: 420px;
    object-fit: contain;
}

.cart-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: #f8f8f8;
    border-radius: 8px;
}

.qty-control {
    display: inline-flex;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.qty-control button {
    width: 34px;
    border: 0;
    background: #eee;
    font-weight: 800;
}

.qty-control input {
    width: 58px;
    border: 0;
    text-align: center;
}

.cart-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stats-grid div {
    background: #fff;
    border-radius: 8px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.stats-grid strong {
    display: block;
    color: var(--accent);
    font-size: 34px;
}

.stats-grid span {
    font-weight: 700;
}

.footer-link {
    display: block;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-link:hover {
    color: #fff;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #111, #333);
}

.login-card {
    width: min(420px, 92vw);
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.auth-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.auth-small {
    max-width: 480px;
}

.account-stat {
    background: #fff;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.account-stat span {
    display: block;
    color: #666;
    font-weight: 700;
}

.account-stat strong {
    display: block;
    color: var(--accent);
    font-size: 28px;
    margin-top: 6px;
}

.payment-note {
    border: 1px dashed var(--accent);
    background: #fff7f4;
    border-radius: 8px;
    padding: 18px;
}

.admin-body {
    background: #eef0f3;
}

.admin-main {
    max-width: 1440px;
}

.admin-title {
    font-weight: 800;
    margin-bottom: 22px;
}

.admin-stat,
.admin-card {
    background: #fff;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.admin-stat span {
    display: block;
    color: #666;
    font-weight: 700;
}

.admin-stat strong {
    display: block;
    font-size: 36px;
    color: var(--accent);
}

.admin-product-img,
.image-preview {
    width: 76px;
    height: 76px;
    object-fit: contain;
    background: #f6f6f6;
    border-radius: 8px;
    border: 1px solid #eee;
}

@media (max-width: 767px) {
    .min-vh-hero { min-height: 460px; }
    .hero-section { background-size: 70%; background-position: right bottom; }
    .details-image img { height: 300px; }
    .cart-summary { justify-content: flex-start; }
    .stats-grid { grid-template-columns: 1fr; }
}
