* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red: #dc2626;
    --red-dark: #b91c1c;
    --yellow: #ffffff;
    --yellow-dark: #d4d4d4;
    --black: #0a0a0a;
    --dark: #171717;
    --gray: #262626;
    --gray-light: #a3a3a3;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--black);
    padding: 0 40px;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.logo i { color: var(--red); font-size: 22px; }
.logo em { font-style: normal; color: var(--yellow); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    color: var(--gray-light);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-links a:hover { color: var(--white); background: var(--gray); }
.nav-links a.active { color: var(--white); background: var(--red); }

.nav-cta { margin-left: 12px; }
.nav-cta a { background: var(--yellow); color: var(--black) !important; font-weight: 700; padding: 8px 20px !important; }
.nav-cta a:hover { background: var(--yellow-dark) !important; }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger div {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active div:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active div:nth-child(2) { opacity: 0; }
.hamburger.active div:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark) 50%, #1a0a0a 100%);
    color: var(--white);
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220,38,38,0.15) 0%, transparent 60%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(234,179,8,0.1) 0%, transparent 60%);
    border-radius: 50%;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.hero-text h1 span { color: var(--red); }
.hero-text h1 em { font-style: normal; color: var(--yellow); }
.hero-text p { font-size: 1.1rem; color: var(--gray-light); margin-bottom: 28px; max-width: 480px; }

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid var(--gray-light); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-sm { padding: 8px 18px; font-size: 13px; }

.hero-visual { display: flex; justify-content: center; align-items: center; }

.hero-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hero-icon-box {
    width: 100px;
    height: 100px;
    background: var(--gray);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.3s;
}

.hero-icon-box:hover { transform: scale(1.05); }
.hero-icon-box:nth-child(1) { color: var(--red); }
.hero-icon-box:nth-child(2) { color: var(--yellow); }
.hero-icon-box:nth-child(3) { color: var(--white); }
.hero-icon-box:nth-child(4) { color: var(--yellow); }
.hero-icon-box:nth-child(5) { color: var(--red); }
.hero-icon-box:nth-child(6) { color: var(--white); }
.hero-icon-box:nth-child(7) { color: var(--white); }
.hero-icon-box:nth-child(8) { color: var(--red); }
.hero-icon-box:nth-child(9) { color: var(--yellow); }

/* ===== SECTIONS ===== */
.section { padding: 80px 40px; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2rem; font-weight: 800; margin-bottom: 10px; }
.section-header p { color: var(--gray-light); max-width: 500px; margin: 0 auto; }
.accent-line { width: 60px; height: 4px; background: var(--red); margin: 12px auto 0; border-radius: 2px; }
.container { max-width: 1100px; margin: 0 auto; }

/* ===== SERVICE CARDS ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--off-white);
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.25s;
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.service-card .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--black);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--yellow);
}

.service-card h3 { font-size: 1rem; margin-bottom: 8px; }
.service-card p { font-size: 0.85rem; color: var(--gray-light); line-height: 1.5; }

/* ===== ABOUT ===== */
.about-snippet { background: var(--black); color: var(--white); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 { font-size: 2rem; margin-bottom: 16px; }
.about-text h2 span { color: var(--yellow); }
.about-text p { color: var(--gray-light); margin-bottom: 12px; line-height: 1.7; }

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

.about-stat {
    background: var(--gray);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.about-stat h3 { font-size: 2rem; color: var(--red); margin-bottom: 4px; }
.about-stat p { font-size: 0.85rem; color: var(--gray-light); }

/* ===== NEWS PREVIEW ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.news-card {
    background: var(--off-white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s;
}

.news-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.news-thumb {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.news-thumb.bg-red,
.news-thumb.bg-r,
.news-full-thumb.bg-red,
.news-full-thumb.bg-r { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.news-thumb.bg-yellow,
.news-full-thumb.bg-yellow { background: linear-gradient(135deg, var(--yellow), var(--yellow-dark)); color: var(--black); }
.news-thumb.bg-dark,
.news-full-thumb.bg-dark { background: linear-gradient(135deg, var(--black), var(--gray)); }

.news-body { padding: 20px; }
.news-body .date { font-size: 12px; color: var(--gray-light); margin-bottom: 8px; }
.news-body h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.4; }
.news-body p { font-size: 0.85rem; color: var(--gray-light); line-height: 1.5; }

/* ===== PAGE HERO ===== */
.page-hero {
    background: var(--black);
    color: var(--white);
    padding: 60px 40px;
    text-align: center;
}

.page-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; }
.page-hero h1 span { color: var(--red); }
.page-hero p { color: var(--gray-light); }

/* ===== SERVICES FULL ===== */
.services-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-full-card {
    background: var(--off-white);
    border-radius: 12px;
    padding: 32px 28px;
    border-left: 4px solid var(--red);
    transition: all 0.25s;
}

.service-full-card:hover {
    background: var(--white);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.service-full-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-full-card h3 i { color: var(--red); }
.service-full-card p { font-size: 0.9rem; color: var(--gray-light); line-height: 1.6; margin-bottom: 14px; }

.service-full-card ul { margin-bottom: 16px; }
.service-full-card ul li {
    font-size: 0.85rem;
    color: var(--gray-light);
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}

.service-full-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
}

/* ===== PORTFOLIO ===== */
.products-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1.5px solid var(--gray-light);
    background: transparent;
    color: var(--dark);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.products-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--off-white);
    transition: all 0.25s;
}

.products-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

.products-img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--white);
}

.products-img.bg-r { background: linear-gradient(135deg, var(--red), #991b1b); }
.products-img.bg-y { background: linear-gradient(135deg, var(--yellow), var(--yellow-dark)); color: var(--black); }
.products-img.bg-k { background: linear-gradient(135deg, var(--black), var(--gray)); }
.products-img.bg-d { background: linear-gradient(135deg, #1e3a5f, #0f172a); }

.products-body { padding: 18px; }
.products-body .tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    background: var(--red);
    color: var(--white);
    margin-bottom: 8px;
}

.products-body h3 { font-size: 1rem; margin-bottom: 4px; }
.products-body p { font-size: 0.82rem; color: var(--gray-light); }

/* ===== NEWS FULL ===== */
.news-full-grid { display: grid; gap: 24px; }

.news-full-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    background: var(--off-white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s;
}

.news-full-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }

.news-full-thumb {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    align-self: stretch;
    color: var(--white);
}

.news-full-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-full-body .meta { font-size: 12px; color: var(--gray-light); margin-bottom: 8px; }
.news-full-body .meta span { color: var(--red); font-weight: 600; }
.news-full-body h3 { font-size: 1.15rem; margin-bottom: 10px; line-height: 1.3; }
.news-full-body p { font-size: 0.9rem; color: var(--gray-light); line-height: 1.6; margin-bottom: 14px; }

/* ===== CONTACTS ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-form-card {
    background: var(--off-white);
    border-radius: 12px;
    padding: 32px;
}

.contact-form-card h2 { font-size: 1.4rem; margin-bottom: 20px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d4d4d4;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font);
    background: var(--white);
    transition: border 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 100px; }

.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }

.info-card {
    background: var(--off-white);
    border-radius: 12px;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.2s;
}

.info-card:hover { background: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }

.info-card .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.info-card h3 { font-size: 0.95rem; margin-bottom: 3px; }
.info-card p { font-size: 0.85rem; color: var(--gray-light); line-height: 1.5; }

/* ===== FOOTER ===== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 40px 40px 20px;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray);
}

.footer-brand p { color: var(--gray-light); font-size: 0.85rem; margin-top: 10px; line-height: 1.6; }

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    color: var(--yellow);
}

.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--gray-light); font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }

.footer-social { display: flex; gap: 10px; margin-top: 14px; }

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    transition: all 0.2s;
}

.footer-social a:hover { background: var(--red); color: var(--white); }

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-light);
}

.footer-bottom a { color: var(--yellow); }

/* ===== AUTH PAGES ===== */
.auth-container {
    max-width: 420px;
    margin: 0 auto;
}

.auth-card {
    background: var(--off-white);
    border-radius: 12px;
    padding: 32px;
}

.auth-card h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-align: center;
}

.auth-error {
    background: #fef2f2;
    border: 1px solid var(--red);
    color: var(--red);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.auth-links {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--gray-light);
}

.auth-links a {
    color: var(--red);
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* ===== ADMIN PANEL ===== */
.admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--off-white);
    padding-bottom: 12px;
}

.admin-tab {
    padding: 10px 20px;
    border-radius: 8px 8px 0 0;
    border: none;
    background: var(--off-white);
    color: var(--gray-light);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-tab:hover {
    background: var(--white);
    color: var(--dark);
}

.admin-tab.active {
    background: var(--red);
    color: var(--white);
}

.admin-form-card {
    background: var(--off-white);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
}

.admin-form-card h3 {
    font-size: 1.1rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-form-card h3 i {
    color: var(--red);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.admin-list h3 {
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.admin-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--off-white);
    border-radius: 8px;
    padding: 14px 18px;
    transition: background 0.2s;
}

.admin-item:hover {
    background: var(--white);
}

.admin-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-item-info strong {
    font-size: 0.95rem;
}

.admin-item-meta {
    font-size: 0.8rem;
    color: var(--gray-light);
}

.btn-delete {
    background: none;
    border: none;
    color: var(--gray-light);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.btn-delete:hover {
    background: #fef2f2;
    color: var(--red);
}

.loading-text {
    color: var(--gray-light);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-light);
    display: none;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    color: #d4d4d4;
}

.empty-state h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.empty-state p {
    font-size: 0.9rem;
    max-width: 400px;
    margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-visual { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .news-full-card { grid-template-columns: 1fr; }
    .news-full-thumb { min-height: 160px; height: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar { padding: 0 20px; }
    .nav-links {
        position: fixed;
        top: 64px;
        right: -280px;
        width: 260px;
        height: calc(100vh - 64px);
        background: var(--black);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 4px;
        transition: right 0.3s;
        z-index: 999;
    }
    .nav-links.active { right: 0; }
    .nav-links a { padding: 12px 16px; border-radius: 8px; }
    .nav-cta { margin-left: 0; margin-top: 10px; }
    .hamburger { display: flex; }
    .section { padding: 50px 20px; }
    .hero { padding: 50px 20px; }
    .hero-text h1 { font-size: 2rem; }
    .page-hero { padding: 40px 20px; }
    .page-hero h1 { font-size: 1.6rem; }
    .services-full-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer { padding: 30px 20px 15px; }
    .form-row { grid-template-columns: 1fr; }
    .admin-tabs { flex-wrap: wrap; }
    .logo-img { height: 36px; }
    .footer-logo-img { height: 40px; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.6rem; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; max-width: 260px; }
    .about-stats { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
}

/* ===== HOME PAGE THEME (moved from index.html inline <style>) ===== */
body.page-home { background: #ffffff; }
body.page-home .navbar { background: #0a0a0a; }
body.page-home .nav-links a.active { background: #dc2626; }
body.page-home .nav-cta a { background: #ffffff; }
body.page-home .nav-cta a:hover { background: #d4d4d4 !important; }
body.page-home .hero { background: linear-gradient(135deg, #000000 0%, #0a0a0a 60%, #7f1d1d 130%); }
body.page-home .hero-text h1 { font-size: 2.6rem; }
body.page-home .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 0; }
body.page-home .hero-text p { color: #e5e5e5; margin-left: auto; margin-right: auto; }
body.page-home .hero-subtitle { color: #fff; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 8px; }

/* ===== HOME: F1 ABOUT DESIGN (black / white / red) ===== */
.about-f1 { background: #fff; padding-top: 60px; padding-bottom: 60px; }
.about-f1-visual {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 60%, #3f0a0a 100%);
    border-radius: 24px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.about-f1-visual::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(220,38,38,0.35) 0%, transparent 60%);
    border-radius: 50%;
}
.about-f1-car { font-size: 6rem; color: #fff; position: relative; z-index: 1; filter: drop-shadow(0 12px 24px rgba(220,38,38,0.4)); }
.about-f1-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #dc2626;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 2;
}
.about-f1-speed { position: absolute; bottom: 26px; left: 32px; right: 32px; display: flex; gap: 8px; z-index: 1; }
.about-f1-speed span { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.15); }
.about-f1-speed span:nth-child(1) { flex: 3; background: #dc2626; }
.about-f1-speed span:nth-child(2) { flex: 2; background: rgba(255,255,255,0.5); }
.about-f1-speed span:nth-child(3) { flex: 1; background: rgba(255,255,255,0.25); }
body.page-home .hero-btns { justify-content: center; }
body.page-home .hero-icon-box {
    background: #262626;
    border-radius: 22px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
body.page-home .btn { border-radius: 999px; }
body.page-home .btn-red { background: #dc2626; }
body.page-home .btn-red:hover { background: #b91c1c; }
body.page-home .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
body.page-home .section-header h2 { letter-spacing: -0.3px; }
body.page-home .accent-line { background: #dc2626; border-radius: 3px; }
body.page-home .service-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}
body.page-home .service-card:hover { border-color: #ffffff; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12); }
body.page-home .about-snippet { background: #0a0a0a; }
body.page-home .about-stat { background: #262626; border-radius: 16px; }
body.page-home .about-stat h3 { color: #dc2626; }
body.page-home .footer { background: #0a0a0a; }
body.page-home .footer-grid { border-bottom-color: #262626; }
body.page-home .footer-social a { background: #262626; }

/* Shared thumbnail aliases: admin writes bg-red/bg-yellow/bg-dark,
   products page uses bg-r/bg-y/bg-k/bg-d */
.news-thumb.bg-red,
.news-full-thumb.bg-red { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.news-thumb.bg-yellow,
.news-full-thumb.bg-yellow { background: linear-gradient(135deg, var(--yellow), var(--yellow-dark)); color: var(--black); }
.news-thumb.bg-dark,
.news-full-thumb.bg-dark { background: linear-gradient(135deg, var(--black), var(--gray)); }
.products-img.bg-red { background: linear-gradient(135deg, var(--red), #991b1b); }
.products-img.bg-yellow { background: linear-gradient(135deg, var(--yellow), var(--yellow-dark)); color: var(--black); }
.products-img.bg-dark { background: linear-gradient(135deg, #1e3a5f, #0f172a); }

.about-f1 .about-text h2 span { color: var(--red); }
.about-f1-photo { margin: 0; padding: 0; }
.about-f1-photo img { width: 100%; height: 100%; min-height: 300px; max-height: 420px; object-fit: cover; border-radius: 24px; display: block; }
.about-f1-credit { position: absolute; bottom: 10px; right: 14px; font-size: 11px; color: rgba(255,255,255,0.75); z-index: 2; }
/* ===== HOME: F1 full-bleed banner with text over photo ===== */
.about-f1-banner { position: relative; overflow: hidden; background: #0a0a0a; }
.about-f1-bg { position: absolute; inset: 0; }
.about-f1-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-f1-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(5,5,5,0.88) 0%, rgba(5,5,5,0.65) 40%, rgba(5,5,5,0.15) 75%, rgba(5,5,5,0.35) 100%);
}
.about-f1-content { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 90px; max-width: 1100px; }
.about-f1-banner .about-f1-badge { position: static; margin-bottom: 18px; }
.about-f1-text { max-width: 560px; }
.about-f1-text h2 { color: #fff; font-size: 2rem; margin-bottom: 16px; }
.about-f1-text h2 span { color: var(--red); }
.about-f1-text p { color: #d4d4d4; margin-bottom: 12px; line-height: 1.7; }
.about-f1-banner .about-f1-credit { position: absolute; bottom: 10px; right: 14px; z-index: 3; font-size: 11px; color: rgba(255,255,255,0.6); }
@media (max-width: 768px) {
    .about-f1-content { padding-top: 60px; padding-bottom: 60px; }
    .about-f1-overlay { background: linear-gradient(180deg, rgba(5,5,5,0.85) 0%, rgba(5,5,5,0.55) 100%); }
}
/* ===== HOME: F1 reference-style section (dark banner + photo + sponsors) ===== */
.about-f1-ref { background: #0a0a0a; border-top: 4px solid var(--red); border-bottom: 4px solid var(--red); }
.about-f1-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.about-f1-ref .about-f1-badge { position: static; margin-bottom: 18px; }
.about-f1-ref .about-f1-text h2 { color: #fff; font-size: 2rem; margin-bottom: 16px; }
.about-f1-ref .about-f1-text h2 span { color: var(--red); }
.about-f1-ref .about-f1-text p { color: #d4d4d4; margin-bottom: 12px; line-height: 1.7; }
.about-f1-frame { margin: 0; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid #262626; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.about-f1-frame img { width: 100%; height: 100%; min-height: 320px; max-height: 440px; object-fit: cover; display: block; }
.about-f1-frame .about-f1-credit { position: absolute; bottom: 8px; right: 12px; font-size: 11px; color: rgba(255,255,255,0.65); }
.about-f1-sponsors { background: #111; border-top: 1px solid #262626; }
.about-f1-sponsors-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.about-f1-sponsors-row span { color: #a3a3a3; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 0.85rem; }
@media (max-width: 900px) {
    .about-f1-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 50px; padding-bottom: 50px; }
}
/* ===== HOME: F1 hero exactly like reference ===== */
.f1hero { background: #0a0a0a; }
.f1hero-redbar { height: 8px; background: var(--red); }
.f1hero-banner { position: relative; min-height: 540px; display: flex; align-items: center; overflow: hidden; }
.f1hero-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.f1hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,0.92) 0%, rgba(5,5,5,0.75) 35%, rgba(5,5,5,0.25) 65%, rgba(5,5,5,0.45) 100%); }
.f1hero-inner { position: relative; z-index: 2; }
.f1hero-kicker { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 3px; margin-bottom: 14px; }
.f1hero-kicker span { width: 10px; height: 10px; border-radius: 50%; background: var(--red); display: inline-block; }
.f1hero-inner h2 { color: #fff; font-size: 2.4rem; font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.f1hero-inner h2 span { color: var(--red); }
.f1hero-inner p { color: #d4d4d4; max-width: 520px; margin-bottom: 10px; line-height: 1.7; }
.f1hero-inner .btn { margin-top: 14px; border-radius: 999px; }
.f1hero-banner .about-f1-credit { position: absolute; bottom: 10px; right: 14px; z-index: 3; font-size: 11px; color: rgba(255,255,255,0.6); }
.f1hero-inforow { border-top: 1px solid #262626; background: #0a0a0a; }
.f1hero-inforow-in { display: flex; align-items: center; gap: 32px; padding-top: 20px; padding-bottom: 20px; }
.f1hero-info { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--red); padding-left: 12px; }
.f1hero-info strong { color: #fff; font-size: 0.9rem; }
.f1hero-info span { color: #a3a3a3; font-size: 0.78rem; }
.f1hero-inforow-in .btn { margin-left: auto; border-radius: 999px; white-space: nowrap; }
.f1hero-sponsors { background: #0d1526; border-top: 2px solid var(--red); }
.f1hero-sponsors-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.f1hero-sponsors-row span { color: #8b93a7; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 0.85rem; }
@media (max-width: 900px) {
    .f1hero-banner { min-height: 480px; }
    .f1hero-inforow-in { flex-wrap: wrap; gap: 16px; }
    .f1hero-inforow-in .btn { margin-left: 0; }
}
/* ===== Colorful contact icons ===== */
.contact-info-cards .info-card:nth-child(1) .icon-circle { background: linear-gradient(135deg, #dc2626, #7f1d1d); }
.contact-info-cards .info-card:nth-child(2) .icon-circle { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.contact-info-cards .info-card:nth-child(3) .icon-circle { background: linear-gradient(135deg, #f59e0b, #ec4899, #8b5cf6); }
/* ===== Page transitions ===== */
body { animation: pageIn 0.35s ease; }
body.page-leave { opacity: 0; transition: opacity 0.22s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { body { animation: none; } }
/* ===== Page loader (logo + spinner, covers white flash) ===== */
#pageLoader { position: fixed; inset: 0; background: #0a0a0a; display: flex; flex-direction: column; gap: 20px; align-items: center; justify-content: center; z-index: 9999; opacity: 1; transition: opacity 0.3s ease; }
#pageLoader.hidden { opacity: 0; pointer-events: none; }
#pageLoader img { height: 76px; width: auto; }
.loader-ring { width: 46px; height: 46px; border-radius: 50%; border: 4px solid #262626; border-top-color: #dc2626; animation: loaderSpin 0.8s linear infinite; }
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loader-ring { animation: none; } }
/* ===== Logo: crop empty transparent space, visible on all screens ===== */
.logo { height: 52px; overflow: hidden; display: flex; align-items: center; }
.logo-img { height: 120px; width: auto; object-fit: cover; object-position: center 42%; flex-shrink: 0; }
.footer .logo { height: 56px; }
.footer-logo-img { height: 130px; width: auto; object-fit: cover; object-position: center 42%; }
#pageLoader img { height: 120px; width: auto; object-fit: cover; object-position: center 42%; max-width: 220px; }

/* ===== Homepage white products carousel ===== */
.home-products { background: #fff; }
.home-products-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
.home-products-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-top: 20px; }
.home-carousel { position: relative; display: flex; align-items: center; gap: 12px; }
.home-carousel-card { flex: 1; }
.carousel-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #d4d4d4; background: #fff; color: #0a0a0a; font-size: 1rem; cursor: pointer; transition: all 0.2s; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.carousel-arrow:hover { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 900px) {
    .home-products-grid { grid-template-columns: 1fr; gap: 28px; }
    .logo { height: 44px; }
    .logo-img { height: 100px; }
}

/* ===== Cart ===== */
.cart-badge { display: none; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; margin-left: 6px; }
.cart-qty { display: flex; align-items: center; gap: 8px; }
.cart-qty button { width: 32px; height: 32px; border-radius: 8px; border: 1.5px solid #d4d4d4; background: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; }
.cart-qty button:hover { border-color: var(--red); color: var(--red); }
.cart-qty span { min-width: 24px; text-align: center; font-weight: 700; }
.products-body .cart-add { margin-top: 10px; }
#homeProductCard .products-card { margin: 0; }

/* ===== F1 hero readability + mobile polish ===== */
.f1hero-shade { background: linear-gradient(90deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0.35) 70%, rgba(0,0,0,0.5) 100%); }
.f1hero-inner h2, .f1hero-inner p { text-shadow: 0 2px 12px rgba(0,0,0,0.9); }
.f1hero-inner h2 { font-size: 2.6rem; }
@media (max-width: 768px) {
    body.page-home .hero-text h1 { font-size: 1.9rem; line-height: 1.2; }
    body.page-home .hero-subtitle { font-size: 0.95rem; }
    .f1hero-banner { min-height: 0; padding: 40px 0; }
    .f1hero-inner h2 { font-size: 1.7rem; }
    .f1hero-inner p { font-size: 0.92rem; }
    .f1hero-sponsors-row { justify-content: center; gap: 12px 20px; }
    .f1hero-sponsors-row span { font-size: 0.72rem; letter-spacing: 1px; }
    .home-carousel { gap: 8px; }
    .carousel-arrow { width: 38px; height: 38px; }
    .page-hero h1 { font-size: 1.5rem; }
    .contact-grid { gap: 20px; }
}

/* ===== Footer brand polish ===== */
.footer { background: #000; }
.footer-brand { text-align: left; }
.footer-brand .logo { justify-content: flex-start; }
.footer-contact-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.footer-contact-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #1a1a1a; color: #fff; font-size: 13px; font-weight: 600; border: 1px solid #2a2a2a; transition: all 0.2s; }
.footer-contact-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-col ul li a { overflow-wrap: anywhere; }
.footer-col ul li a i { margin-right: 6px; }

/* ===== F1 side-by-side 1:1 ===== */
.f1hero-side { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; padding-top: 70px; padding-bottom: 70px; }
.f1hero-textcol { display: flex; flex-direction: column; justify-content: center; }
.f1hero-textcol h2 { color: #fff; font-size: 2.2rem; margin-bottom: 16px; }
.f1hero-textcol h2 span { color: var(--red); }
.f1hero-inner p.f1hero-bold, p.f1hero-bold { color: #fff !important; font-weight: 700; line-height: 1.7; margin-bottom: 12px; }
.f1hero-photocol { display: flex; }
.f1hero-photocol img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 16px; border: 1px solid #262626; display: block; }
@media (max-width: 900px) { .f1hero-side { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; padding-bottom: 40px; } }

/* ===== Translucent readability box behind about text ===== */
.f1hero-inner { background: rgba(0, 0, 0, 0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; padding: 36px 40px; max-width: 640px; }

/* ===== Mobile touch + spacing fixes ===== */
@media (max-width: 768px) {
    .f1hero-inner { padding: 24px 20px; border-radius: 14px; }
    .f1hero-banner img { object-position: center center; }
    .carousel-arrow { width: 44px; height: 44px; }
    .cart-qty { flex-wrap: wrap; }
    .admin-item { flex-wrap: wrap; gap: 10px; }
    .home-products-actions .btn { width: 100%; justify-content: center; }
}

/* 2026 storefront refresh */
:root { --red: #e33229; --red-dark: #b91f1b; --off-white: #f3f2ef; --font: Inter, 'Segoe UI', system-ui, sans-serif; }
body { background: var(--off-white); color: #171717; }
.navbar { height: 76px; padding-inline: clamp(20px, 4vw, 72px); border-bottom: 1px solid #303030; }
.nav-links { gap: 8px; }
.nav-links a { font-weight: 650; letter-spacing: .01em; border-radius: 999px; }
.nav-links a.active { background: transparent; box-shadow: inset 0 -2px var(--red); border-radius: 0; }
.nav-cta a { background: var(--red); color: #fff !important; border-radius: 999px; }
.nav-cta a:hover { background: var(--red-dark) !important; }
.hero { min-height: 500px; display: flex; align-items: center; background: radial-gradient(circle at 80% 30%, #511a18 0, transparent 36%), linear-gradient(125deg,#090909,#1c1c1c 70%); }
.hero-inner { width: 100%; max-width: 1240px; }
.hero-inner::after { content: ''; display: block; width: 100%; min-height: 340px; grid-column: 2; grid-row: 1; border-radius: 22px; background: linear-gradient(140deg, transparent 45%, rgba(0,0,0,.45)), url('images/f1-verstappen.jpg') center/cover; box-shadow: 0 24px 65px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15); transform: rotate(2deg); }
.hero-text { position: relative; z-index: 1; }
.hero-text h1 { letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; }
.hero-subtitle { max-width: 48ch; }
.page-hero { background: linear-gradient(110deg,#111,#262626); padding-block: clamp(52px,7vw,100px); }
.page-hero h1, .section-header h2 { letter-spacing: -.035em; text-wrap: balance; }
.section { padding-block: clamp(50px,6vw,90px); }
.btn { border-radius: 999px; min-height: 44px; font-weight: 700; box-shadow: none; }
.products-card, .news-full-card, .contact-form-card, .admin-panel { border: 1px solid #e4e2df; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 30px rgba(0,0,0,.045); }
.products-card, .news-full-card { transition: transform .2s ease, box-shadow .2s ease; }
.products-card:hover, .news-full-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.11); }
.products-body, .news-full-body { padding: 24px; }
input, textarea, select { border-radius: 10px; }
input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #f4a19d; outline-offset: 3px; }
.footer { border-top: 4px solid var(--red); }
@media (max-width: 768px) { .navbar { height: 66px; } .hero { min-height: 390px; } .hero-inner::after { display: none; } .section { padding-block: 48px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Keep the homepage hero on its intended single centered column. */
body.page-home .hero-inner { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 0; }
body.page-home .hero-inner::after { content: none; display: none; }
body.page-home .nav-links a.active { background: transparent; box-shadow: inset 0 -2px var(--red); border-radius: 0; }
body.page-home .nav-cta a { background: var(--red); color: #fff !important; }
body.page-home .nav-cta a:hover { background: var(--red-dark) !important; }

/* Match the admin workspace to the shared storefront card and button system. */
.admin-tabs { border: 0; padding: 0; gap: 10px; }
.admin-tab { border-radius: 999px; background: #e9e7e4; color: #4a4a4a; padding: 10px 18px; }
.admin-tab:hover { background: #dedbd7; }
.admin-tab.active { background: var(--red); color: #fff; }
.admin-panel { background: #fff; padding: clamp(18px, 3vw, 32px); overflow: visible; }
.admin-form-card { background: #f7f6f4; border: 1px solid #e8e6e3; border-radius: 16px; }
.admin-item { border: 1px solid #e8e6e3; border-radius: 12px; }
.admin-form-card .btn { border-radius: 999px; }
.f1hero-sponsors { background: #111; border-top: 1px solid #303030; }
.f1hero-sponsors-row { justify-content: center; gap: 10px; }
.f1hero-sponsors-row span { color: #dedbd7; background: #1c1c1c; border: 1px solid #343434; border-radius: 999px; padding: 8px 14px; font-size: .75rem; letter-spacing: .08em; }
.footer-grid { grid-template-columns: minmax(0, 1.6fr) minmax(150px, .8fr) minmax(240px, 1.2fr); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Product editorial refresh */
.catalog-section { background: #f4f3f0; }
.catalog-section .container { max-width: 1320px; }
.catalog-section .products-filters { justify-content: flex-start; margin-bottom: 30px; }
.catalog-section .filter-btn { border-radius: 2px; border-color: #d4d1cb; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.catalog-section .products-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.products-card { background: #fff; border: 1px solid #e5e2dd; border-radius: 2px; box-shadow: none; }
.products-card:hover { transform: none; box-shadow: 0 12px 30px rgba(17,17,17,.08); }
.products-img, .home-carousel-card .products-img { height: 310px; background: #eae8e3; }
.products-img.product-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.products-img.product-placeholder { background: #252525; color: #e33229; }
.products-body { padding: 22px; }
.products-body .tag { background: transparent; color: #b52a23; border-radius: 0; padding: 0; text-transform: uppercase; letter-spacing: .12em; }
.products-body h3 { font-size: 1.18rem; line-height: 1.3; margin: 8px 0; }
.products-body p { min-height: 2.7em; line-height: 1.5; }
.product-title-link { color: inherit; text-decoration: none; }
.product-title-link:hover, .product-view:hover { color: var(--red); }
.product-view { display: inline-flex; gap: 14px; align-items: center; color: #181818; font-size: .82rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; margin: 18px 0; }
.products-card .cart-add { display: block; border-radius: 2px; }
#productDetail[hidden], #productsGrid[hidden], #productsFilters[hidden], .page-hero[hidden] { display: none !important; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr); gap: clamp(32px,5vw,80px); align-items: start; padding: 12px 0 40px; }
.detail-stage { height: min(65vw,640px); min-height: 340px; background: #eae8e3; display: grid; place-items: center; overflow: hidden; }
.detail-image { width: 100%; height: 100%; object-fit: contain; }
.detail-fallback { width: 100%; height: 100%; display: grid; place-items: center; font-size: 5rem; }
.detail-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.detail-thumbs button { flex: 0 0 84px; height: 84px; padding: 0; border: 2px solid transparent; background: #dedbd5; cursor: pointer; }
.detail-thumbs button.active { border-color: var(--red); }
.detail-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs span { font-weight: 850; letter-spacing: .1em; }
.detail-copy { padding-top: 16px; }
.detail-back { color: #57534d; text-decoration: none; font-size: .86rem; }
.detail-eyebrow { color: var(--red); font-weight: 800; font-size: .72rem; letter-spacing: .2em; margin: 48px 0 14px; }
.detail-copy h1 { color: #1b1b1b; font-size: clamp(2.1rem,4vw,4rem); line-height: 1.04; letter-spacing: -.045em; }
.detail-category { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin: 18px 0 26px; color: #777; }
.detail-description { color: #444; line-height: 1.75; white-space: pre-line; border-top: 1px solid #d5d1cb; padding-top: 26px; }
.detail-add { border-radius: 2px; margin-top: 32px; display: inline-flex; gap: 30px; }
.detail-note { color: #777; font-size: .83rem; margin-top: 14px; }
.media-editor { margin: 24px 0; padding: 20px; border: 1px solid #ddd9d3; background: #f7f6f3; }
.media-label { display: block; font-weight: 800; margin-bottom: 6px; }
.media-hint { font-size: .84rem; color: #666; margin-bottom: 14px; }
.media-editor-list { display: grid; gap: 8px; margin-top: 14px; }
.media-edit-row { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px; background: #fff; border: 1px solid #e6e3df; }
.media-edit-row img, .media-3d { width: 48px; height: 48px; object-fit: cover; flex: none; }
.media-3d { display: grid; place-items: center; background: #222; color: #fff; font-size: .7rem; font-weight: 800; }
.media-edit-row input { min-width: 0; flex: 1; }
.media-edit-row button { border: 0; background: #f0efec; cursor: pointer; font-size: 1.1rem; padding: 8px 10px; }
.media-edit-row.pending span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.product-edit { background: #eee; color: #222; margin-left: auto; }
@media (max-width: 800px) { .detail-layout { grid-template-columns: 1fr; } .detail-stage { height: 65vw; min-height: 300px; } .detail-eyebrow { margin-top: 25px; } }
