@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --color-primary: #EA580C; /* Premium Orange */
  --color-primary-hover: #C2410C;
  --color-surface-base: #FFFFFF;
  --color-surface-elevated: #F9FAFB;
  --color-surface-dark: #111827;
  --color-surface-dark-elevated: #1F2937;
  --color-border: #E5E7EB;
  --color-text-main: #111827;
  --color-text-muted: #6B7280;
  --color-text-inverse: #FFFFFF;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-sticky: 0 -4px 20px rgba(0,0,0,0.08);
  
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }
body { background-color: var(--color-surface-base); color: var(--color-text-main); line-height: 1.5; -webkit-font-smoothing: antialiased; }

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }
.product-container { max-width: 600px; margin: 0 auto; padding: 0 var(--space-md); padding-bottom: 120px; }
.header-brand { padding: var(--space-md) 0; border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-xl); display: flex; justify-content: space-between; align-items: center; }
.brand-logo { font-size: 20px; font-weight: 800; letter-spacing: -0.05em; color: var(--color-text-main); text-decoration: none; }
.brand-logo span { color: var(--color-primary); }

/* TYPOGRAPHY */
h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: var(--color-text-main); margin-bottom: var(--space-sm); line-height: 1.1; }
.section-title { font-size: 18px; font-weight: 700; margin: var(--space-xl) 0 var(--space-md); color: var(--color-text-main); display: flex; align-items: center; gap: var(--space-sm); }
.section-title::before { content: ""; width: 4px; height: 16px; background: var(--color-primary); border-radius: 2px; }

/* COMPONENTS */
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; border-radius: var(--radius-md); transition: all 0.2s ease; cursor: pointer; border: none; font-size: 16px; width: 100%; padding: 18px; line-height: 1; }
.btn-primary { background-color: var(--color-primary); color: var(--color-text-inverse); box-shadow: 0 4px 14px 0 rgba(234, 88, 12, 0.39); }
.btn-primary:hover { background-color: var(--color-primary-hover); transform: translateY(-1px); }
.btn-secondary { background-color: var(--color-surface-dark); color: var(--color-text-inverse); box-shadow: 0 4px 14px 0 rgba(17, 24, 39, 0.29); }
.btn-secondary:hover { background-color: var(--color-surface-dark-elevated); transform: translateY(-1px); }

/* CATALOG GRID */
.catalog-title { text-align: center; margin-bottom: var(--space-2xl); }
.catalog-title h1 { font-size: 32px; }
.catalog-title p { color: var(--color-text-muted); font-size: 16px; }
.grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); padding-bottom: var(--space-2xl); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); } }

.card { background: var(--color-surface-base); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.2s ease; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: #D1D5DB; }
.card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--color-surface-elevated); }
.card-body { padding: var(--space-lg); display: flex; flex-direction: column; flex-grow: 1; }
.card-title { font-size: 20px; font-weight: 700; color: var(--color-text-main); margin-bottom: var(--space-xs); line-height: 1.2; letter-spacing: -0.01em; }
.card-price { font-size: 24px; font-weight: 800; color: var(--color-text-main); margin-bottom: var(--space-xs); letter-spacing: -0.02em; }
.card-meta { font-size: 14px; color: var(--color-text-muted); font-weight: 500; margin-bottom: var(--space-md); }
.card .btn-primary { margin-top: auto; padding: 14px; }

/* PRODUCT PAGE */
.hero { text-align: left; margin-bottom: var(--space-lg); padding-top: var(--space-md); }
.hero h1 { margin-bottom: var(--space-xs); }

.gallery-main { width: 100%; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--space-md); background: var(--color-surface-elevated); border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; position: relative; }
.gallery-main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; cursor: zoom-in; display: block; }
.gallery-thumbs { display: flex; gap: var(--space-sm); overflow-x: auto; padding-bottom: var(--space-xs); margin-bottom: var(--space-lg); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-md); cursor: pointer; border: 2px solid transparent; opacity: 0.5; transition: all 0.2s; }
.gallery-thumbs img.active { border-color: var(--color-primary); opacity: 1; }

.price-card { padding: var(--space-lg) 0; margin-bottom: var(--space-md); }
.price-label { font-size: 13px; color: var(--color-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-xs); display: block; }
.price-amount { font-size: 48px; font-weight: 800; color: var(--color-text-main); line-height: 1; letter-spacing: -0.04em; margin-bottom: var(--space-sm); display: flex; align-items: flex-start; }
.price-amount .currency { font-size: 24px; font-weight: 700; margin-right: 4px; margin-top: 4px; }

.delivery-badge { display: inline-flex; align-items: center; color: var(--color-text-muted); font-size: 14px; font-weight: 500; margin-bottom: var(--space-lg); }
.delivery-badge svg { margin-right: 6px; color: var(--color-text-main); }

/* DETALHES */
.details-box { display: flex; flex-direction: column; gap: var(--space-lg); }
.detail-item { background: var(--color-surface-base); }
.detail-label { font-size: 13px; font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-xs); }
.detail-value { font-size: 15px; font-weight: 500; color: var(--color-text-main); white-space: pre-line; line-height: 1.6; }

.colors-container { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.color-badge { background: var(--color-surface-elevated); padding: 8px 16px; border-radius: var(--radius-full); font-size: 14px; font-weight: 500; border: 1px solid var(--color-border); color: var(--color-text-main); }

/* PROGRESSIVE OFFER */
.offer-container { margin-top: var(--space-2xl); padding: var(--space-lg); background: var(--color-surface-elevated); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.offer-text { font-size: 16px; font-weight: 600; color: var(--color-text-main); margin-bottom: var(--space-md); }
.condition-label { display: flex; align-items: flex-start; padding: var(--space-md); background: var(--color-surface-base); border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: var(--space-md); cursor: pointer; transition: all 0.2s ease; }
.condition-label:hover { border-color: var(--color-text-muted); }
.condition-label input { margin-top: 2px; margin-right: 12px; width: 18px; height: 18px; accent-color: var(--color-surface-dark); cursor: pointer; }
.condition-text { font-size: 15px; color: var(--color-text-main); font-weight: 500; }
.offer-container .btn-secondary { padding: 14px; font-size: 15px; }
.offer-success { padding: var(--space-md); background: var(--color-surface-base); border-left: 4px solid var(--color-text-main); font-weight: 600; color: var(--color-text-main); border-radius: 0 var(--radius-md) var(--radius-md) 0; }

/* STICKY CTA */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: var(--space-md) var(--space-md); box-shadow: var(--shadow-sticky); display: flex; justify-content: space-between; align-items: center; z-index: 100; border-top: 1px solid var(--color-border); }
.sticky-info { display: flex; flex-direction: column; }
.sticky-label { font-size: 11px; color: var(--color-text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.sticky-price { font-weight: 800; font-size: 22px; color: var(--color-text-main); letter-spacing: -0.02em; }
.sticky-cta form { margin: 0; flex-shrink: 0; margin-left: var(--space-md); }
.sticky-cta .btn-primary { width: auto; padding: 14px 32px; box-shadow: none; }

/* PROVAS / IMAGENS */
.provas-container img { width: 100%; border-radius: var(--radius-lg); margin-bottom: var(--space-md); border: 1px solid var(--color-border); }

/* EMPTY STATES */
.empty-placeholder { width: 100%; aspect-ratio: 4/3; background: var(--color-surface-elevated); border: 1px dashed var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-text-muted); font-weight: 500; font-size: 14px; border-radius: var(--radius-lg); }

/* LIGHTBOX */
#lightbox { display: none; position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(17, 24, 39, 0.98); z-index:999; justify-content:center; align-items:center; }
#lightbox img { max-width: 95vw; max-height: 90vh; border-radius: var(--radius-md); object-fit: contain; }
#lightbox-close { position: absolute; top: var(--space-md); right: var(--space-md); color: white; font-size: 32px; cursor: pointer; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border-radius: var(--radius-full); }

@media (min-width: 768px) {
    .product-container { padding-top: var(--space-xl); padding-bottom: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); max-width: 1000px; align-items: start; }
    .hero { grid-column: 1 / -1; margin-bottom: 0; padding-top: 0; }
    .gallery-wrapper { grid-column: 1; position: sticky; top: var(--space-xl); }
    .content-wrapper { grid-column: 2; padding-top: var(--space-xs); }
    .price-amount { font-size: 56px; }
    .hero h1 { font-size: 40px; }
    .sticky-cta { display: none; /* Hide on desktop, CTA is highly visible anyway */ }
}

/* =========================================================
   GIRO200 ADMIN — escopo visual isolado do storefront público
   ========================================================= */
.admin-page {
    background: #F3F4F6;
    color: var(--color-text-main);
    min-height: 100vh;
}
.admin-shell {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 40px 0 72px;
}
.admin-edit-shell { max-width: 1040px; }
.admin-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
}
.admin-header-compact { align-items: center; }
.admin-brand {
    display: inline-block;
    color: var(--color-text-main);
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.05em;
    margin-bottom: 20px;
}
.admin-brand span { color: var(--color-primary); }
.admin-kicker {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 8px;
}
.admin-header h1 {
    font-size: clamp(30px, 4vw, 44px);
    margin: 0 0 8px;
    letter-spacing: -.045em;
}
.admin-lead { color: var(--color-text-muted); font-size: 15px; }
.admin-new-link { width: auto; min-width: 190px; min-height: 48px; padding: 0 22px; }
.admin-back {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.admin-back:hover { color: var(--color-text-main); }
.admin-panel,
.admin-form-wrap,
.admin-edit-form {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}
.admin-panel { padding: 26px; margin-bottom: 24px; }
.admin-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}
.admin-panel-head h2,
.admin-form-heading h2 { font-size: 24px; letter-spacing: -.03em; margin: 0; }
.admin-count {
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 700;
    background: var(--color-surface-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 6px 10px;
    white-space: nowrap;
}
.admin-product-list { display: grid; gap: 12px; margin-top: 20px; }
.admin-product-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 16px;
    background: #fff;
}
.admin-product-main { display: flex; min-width: 0; align-items: center; gap: 14px; }
.admin-product-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 800;
}
.admin-product-copy { min-width: 0; }
.admin-product-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.admin-product-title-row h3 { font-size: 16px; line-height: 1.25; margin: 0; }
.admin-product-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 5px; color: var(--color-text-muted); font-size: 13px; }
.admin-product-meta strong { color: var(--color-text-main); }
.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: var(--radius-full);
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
}
.status-active { color: #166534; background: #DCFCE7; }
.status-inactive { color: #6B7280; background: #F3F4F6; }
.admin-product-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.admin-product-actions form { margin: 0; }
.admin-action {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    color: var(--color-text-main);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    padding: 0 12px;
    cursor: pointer;
}
.admin-action:hover { border-color: #9CA3AF; background: #F9FAFB; }
.admin-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 48px 20px;
    border: 1px dashed #D1D5DB;
    border-radius: 14px;
    color: var(--color-text-muted);
}
.admin-empty-state strong { color: var(--color-text-main); }
.admin-create { margin-top: 24px; }
.admin-create > summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    background: var(--color-surface-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    border-radius: 10px;
    cursor: pointer;
}
.admin-create > summary::-webkit-details-marker { display: none; }
.admin-create[open] > summary { margin-bottom: 14px; }
.admin-form-wrap { overflow: hidden; }
.admin-form-heading { padding: 28px 30px; border-bottom: 1px solid var(--color-border); }
.admin-form-heading > p:last-child { color: var(--color-text-muted); font-size: 14px; margin-top: 6px; }
.admin-form { display: block; }
.admin-edit-form { overflow: hidden; }
.admin-form-section { padding: 30px; border-bottom: 1px solid var(--color-border); }
.admin-section-heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.admin-section-number {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    color: #fff;
    background: var(--color-surface-dark);
    font-size: 13px;
    font-weight: 800;
}
.admin-section-heading h3 { font-size: 19px; line-height: 1.2; margin: 2px 0 4px; }
.admin-section-heading p { color: var(--color-text-muted); font-size: 13px; }
.admin-fields { display: grid; gap: 18px; }
.admin-fields.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-field-wide { grid-column: 1 / -1; }
.admin-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.admin-field > span { font-size: 13px; line-height: 1.4; font-weight: 700; color: #374151; }
.admin-field small { color: var(--color-text-muted); font-size: 12px; line-height: 1.5; }
.admin-field input,
.admin-field textarea,
.admin-field select,
.money-input,
.suffix-input {
    width: 100%;
    min-height: 46px;
    border: 1px solid #D1D5DB;
    border-radius: 9px;
    background: #fff;
    color: var(--color-text-main);
    font-size: 16px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.admin-field input,
.admin-field textarea,
.admin-field select { padding: 11px 13px; }
.admin-field input[type="file"] { padding: 9px; min-height: 48px; }
.admin-field textarea { min-height: 104px; resize: vertical; }
.admin-field input:focus,
.admin-field textarea:focus,
.money-input:focus-within,
.suffix-input:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(234,88,12,.12);
}
.money-input,
.suffix-input { display: flex; align-items: center; overflow: hidden; }
.money-input > span,
.suffix-input > span { flex: 0 0 auto; color: var(--color-text-muted); font-size: 13px; font-weight: 700; padding: 0 12px; }
.money-input input,
.suffix-input input { border: 0; border-radius: 0; min-height: 44px; box-shadow: none !important; }
.help-dot {
    display: inline-grid;
    place-items: center;
    width: 19px;
    height: 19px;
    margin-left: 4px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #374151;
    font-size: 11px;
    font-weight: 800;
    cursor: help;
    vertical-align: middle;
}
.safe-price-card {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 12px;
    background: #111827;
    color: #fff;
}
.safe-price-card div { display: flex; flex-direction: column; gap: 3px; }
.safe-price-card div > span { color: #D1D5DB; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.safe-price-card strong { font-size: 24px; letter-spacing: -.03em; }
.safe-price-card .help-dot { background: rgba(255,255,255,.14); color: #fff; }
.condition-card { padding: 18px; border: 1px solid var(--color-border); border-radius: 12px; background: #F9FAFB; margin-bottom: 12px; }
.admin-check-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 18px 0;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
}
.admin-check-card input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--color-primary); }
.admin-check-card span { display: flex; flex-direction: column; gap: 4px; }
.admin-check-card strong { font-size: 14px; }
.admin-check-card small { color: var(--color-text-muted); font-size: 12px; line-height: 1.45; }
.admin-advanced { margin: 0 30px 30px; border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; }
.admin-advanced summary { list-style: none; padding: 15px 17px; background: #F9FAFB; font-size: 12px; font-weight: 800; letter-spacing: .04em; cursor: pointer; }
.admin-advanced summary::-webkit-details-marker { display: none; }
.admin-advanced[open] summary { border-bottom: 1px solid var(--color-border); }
.admin-advanced > .admin-fields { padding: 18px; }
.admin-review {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 24px 30px;
    background: #F9FAFB;
    border-top: 1px solid var(--color-border);
}
.admin-review h3 { margin: 0 0 5px; font-size: 18px; }
.admin-review > div > p:last-child { color: var(--color-text-muted); max-width: 620px; font-size: 13px; }
.admin-save { width: auto; min-width: 190px; min-height: 48px; padding: 0 22px; }
.admin-review-actions { display: flex; align-items: center; gap: 8px; }
.admin-btn-ghost { width: auto; min-height: 48px; padding: 0 18px; background: #fff; border: 1px solid var(--color-border); color: var(--color-text-main); box-shadow: none; }
.admin-alert {
    display: flex;
    gap: 8px;
    flex-direction: column;
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 12px;
    font-size: 14px;
}
.admin-alert-error { color: #7F1D1D; background: #FEF2F2; border: 1px solid #FECACA; }
.admin-alert strong { font-size: 12px; letter-spacing: .05em; }

@media (max-width: 820px) {
    .admin-shell { width: min(100% - 32px, 1240px); padding: 24px 0 48px; }
    .admin-header { align-items: stretch; flex-direction: column; gap: 18px; }
    .admin-new-link { width: 100%; }
    .admin-panel { padding: 18px; }
    .admin-product-card { grid-template-columns: 1fr; }
    .admin-product-actions { justify-content: flex-start; }
    .admin-product-actions > *, .admin-product-actions form { flex: 1 1 calc(50% - 6px); }
    .admin-action { width: 100%; min-height: 44px; }
    .admin-fields.two-columns { grid-template-columns: 1fr; }
    .admin-field-wide { grid-column: auto; }
    .admin-form-heading, .admin-form-section { padding: 22px 18px; }
    .admin-advanced { margin: 0 18px 22px; }
    .admin-review { grid-template-columns: 1fr; padding: 22px 18px; }
    .admin-save { width: 100%; }
    .admin-review-actions { flex-direction: column-reverse; align-items: stretch; }
    .admin-btn-ghost { width: 100%; }
}

@media (max-width: 480px) {
    .admin-shell { width: calc(100% - 28px); }
    .admin-panel-head { align-items: flex-start; }
    .admin-product-main { align-items: flex-start; }
    .admin-product-icon { width: 40px; height: 40px; flex-basis: 40px; }
    .admin-product-meta { flex-direction: column; gap: 2px; }
    .admin-product-actions > *, .admin-product-actions form { flex-basis: 100%; }
    .safe-price-card strong { font-size: 22px; }
}

/* ADMIN MEDIA — hero real na lista e galeria operacional na edição */
.admin-product-thumb {
    width: 64px;
    height: 52px;
    flex: 0 0 64px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: var(--color-surface-elevated);
}
.admin-current-media { display: grid; gap: 18px; margin-bottom: 22px; }
.admin-media-group { min-width: 0; }
.admin-media-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.admin-media-head strong { font-size: 13px; color: #374151; }
.admin-media-head span { font-size: 12px; font-weight: 700; color: var(--color-text-muted); }
.admin-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.admin-media-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface-elevated); }
.admin-media-empty { padding: 18px; border: 1px dashed #D1D5DB; border-radius: 10px; color: var(--color-text-muted); font-size: 13px; background: #F9FAFB; }
.admin-media-upload-fields { margin-top: 4px; }
@media (max-width: 480px) {
    .admin-product-thumb { width: 56px; height: 48px; flex-basis: 56px; }
    .admin-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

