/* Extra styles for full shop */
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--cyan); }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-detail-img .fake-product.large { width: 100%; height: 360px; font-size: 120px; display: flex; align-items: center; justify-content: center; background: var(--soft); border-radius: var(--radius); }
.product-detail-info h1 { margin: 10px 0; font-size: 28px; }
.product-price.large { font-size: 24px; margin: 15px 0; }
.product-price.large del { font-size: 18px; color: var(--muted); margin-left: 10px; }
.product-price.large mark { background: #e4f8ed; color: #17643d; padding: 4px 10px; border-radius: 6px; font-size: 14px; margin-left: 10px; }
.badge.deal, label.deal { background: #ff5a5a; color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 4px; }
.add-to-cart-form { display: flex; gap: 15px; align-items: end; margin-top: 20px; }
.add-to-cart-form input[type=number] { width: 80px; padding: 10px; border: 1px solid #ccd8dd; border-radius: 7px; }
.short-desc { color: var(--muted); font-size: 15px; }
.stock { margin: 15px 0; }

.cart-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.cart-table th, .cart-table td { padding: 12px; text-align: left; border-bottom: 1px solid #e8eef2; }
.cart-table th { background: var(--soft); }
.cart-actions { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; justify-content: space-between; margin-top: 20px; }
.cart-total { text-align: right; }
.cart-total small { display: block; color: var(--muted); }

.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.checkout-form label, .auth-form label, .admin-form label { display: block; margin-bottom: 14px; font-weight: 600; }
.checkout-form input, .auth-form input, .admin-form input, .admin-form select, .admin-form textarea {
    width: 100%; padding: 11px; border: 1px solid #ccd8dd; border-radius: 7px; margin-top: 5px; font-size: 15px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.checkout-summary { background: var(--soft); padding: 25px; border-radius: var(--radius); }
.checkout-summary ul { list-style: none; padding: 0; margin: 0; }
.checkout-summary li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #dde5ea; }
.checkout-summary .total { display: flex; justify-content: space-between; margin-top: 15px; font-size: 18px; }
.note { font-size: 13px; color: var(--muted); }

.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 800px; }
.auth-form { background: var(--soft); padding: 25px; border-radius: var(--radius); }

.btn { display: inline-block; background: var(--cyan); color: #fff; padding: 12px 22px; border-radius: 8px; border: none; font-weight: 700; cursor: pointer; font-size: 15px; }
.btn:hover { background: var(--cyan2); }
.btn-secondary { background: var(--navy); }
.btn-link { background: none; border: none; color: #c0392b; cursor: pointer; text-decoration: underline; font-size: 14px; }
.notice { padding: 14px 18px; border-radius: 8px; margin: 15px 0; }
.notice.success { background: #e4f8ed; color: #17643d; }
.notice.error { background: #fde8e8; color: #8b1c1c; }

.install { background: var(--soft); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.install-card { background: #fff; padding: 40px; border-radius: 16px; width: 100%; max-width: 440px; box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.install-card .brand { font-size: 22px; margin-bottom: 10px; }
.install-card .brand span { color: var(--cyan); }
.install-card .brand b { color: var(--navy); }
.install-card h1 { margin: 0 0 8px; color: var(--navy); }
.install-card label { display: block; font-weight: 700; margin: 14px 0 0; }
.install-card input { width: 100%; padding: 12px; border: 1px solid #ccd8dd; border-radius: 7px; margin-top: 6px; }

@media (max-width: 800px) {
    .product-detail-grid, .checkout-grid, .auth-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* Hero with background image */
.hero.has-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero.has-image .hero-art { display: none; }

/* Promo with background image */
.promo.has-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}
.promo.has-image strong,
.promo.has-image span,
.promo.has-image b { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.4); }

/* Product images */
.product-img { position: relative; overflow: hidden; }
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-detail-img img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
}
.deal-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Hero: SCORESHOP in cyan */
.hero h1 strong {
    color: var(--cyan, #09bfe8);
    font-weight: inherit;
}

/* Product gallery */
.gallery img#main-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); display: block; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumb { border: 2px solid transparent; padding: 0; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.thumb img { width: 64px; height: 64px; object-fit: cover; display: block; }
.thumb:hover, .thumb:focus { border-color: var(--cyan); }
.sku { color: var(--muted); font-size: 13px; }
.long-desc { margin: 12px 0; line-height: 1.6; }
.variant-row label { font-weight: 600; }
