.site-shell {
    background: #ffffff;
    color: #222;
    min-height: 100vh;
    overflow-x: hidden;
}

.app-header,
.app-footer {
    background: #fff;
}

.topbar-strip {
    background: #f5f5f5;
    border-bottom: 1px solid #ececec;
}

.topbar,
.navbar-row,
.search-row,
.footer-grid {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.topbar {
    color: #4a4a4a;
    font-size: 12px;
    gap: 18px;
    padding: 7px 0;
}

.topbar strong,
.topbar-contact span {
    color: #f44336;
}

.topbar-tools,
.main-nav,
.utility-links,
.social-dots {
    display: flex;
    gap: 18px;
}

.social-dots i {
    color: #777;
}

.navbar-row {
    padding: 18px 0 14px;
}

.brand-text {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.brand-word {
    color: #202020;
}

.brand-accent {
    color: #f44336;
}

.main-nav a,
.nav-account a,
.utility-links a,
.utility-links span,
.utility-links strong {
    color: #2f2f2f;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.main-nav a.active,
.main-nav a:hover,
.nav-account a.active,
.nav-account a:hover,
.utility-links a.active,
.utility-links a:hover {
    color: #f44336;
}

.nav-account {
    align-items: center;
    display: flex;
    gap: 8px;
}

.search-row {
    gap: 24px;
    padding: 4px 0 26px;
}

.search-box {
    align-items: stretch;
    border: 1px solid #ececec;
    display: flex;
    flex: 1;
    min-height: 46px;
}

.category-select,
.search-button {
    border: 0;
    font-size: 12px;
    font-weight: 700;
    padding: 0 18px;
    text-transform: uppercase;
}

.category-select {
    background: #fff;
    border-right: 1px solid #ececec;
    color: #444;
}

.search-box input {
    border: 0;
    flex: 1;
    font-size: 13px;
    min-width: 0;
    padding: 0 16px;
}

.search-button {
    background: #f44336;
    color: #fff;
}

.utility-links {
    align-items: center;
    flex-shrink: 0;
}

.utility-links a {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}

.storefront-hero,
.deal-category-section,
.contact-section,
.admin-section,
.inner-hero {
    padding-bottom: 40px;
}

.hero-layout {
    display: grid;
    gap: 18px;
    grid-template-columns: 170px minmax(0, 1fr);
}

.department-panel {
    border: 1px solid #ececec;
}

.department-title {
    background: #f44336;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 14px 16px;
    text-transform: uppercase;
}

.department-title i {
    margin-right: 10px;
}

.department-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.department-list li {
    font-size: 12px;
}

.department-link {
    align-items: center;
    color: #222;
    display: flex;
    gap: 10px;
    padding: 9px 14px;
}

.department-link:hover {
    background: #fff4f2;
    color: #f44336;
}

.department-list i {
    color: #4f4f4f;
    width: 12px;
}

.department-link:hover i {
    color: #f44336;
}

.hero-main {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
}

.hero-banner {
    background: linear-gradient(90deg, #f8fbfd 0%, #ecf8ff 100%);
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(260px, 1.1fr);
    min-height: 332px;
    overflow: hidden;
}

.hero-copy {
    padding: 64px 24px 32px 44px;
}

.eyebrow {
    color: #f44336;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero-banner h1,
.inner-hero h1 {
    color: #111;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    margin: 16px 0 12px;
}

.hero-copy p {
    color: #666;
    font-size: 13px;
    margin-bottom: 18px;
}

.price-row {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.old-price {
    color: #666;
    text-decoration: line-through;
}

.price-row strong {
    color: #f44336;
    font-size: 20px;
}

.outline-button {
    border: 2px solid #f44336;
    border-radius: 999px;
    color: #f44336;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 24px;
    text-transform: uppercase;
}

.hero-image-wrap {
    align-items: flex-end;
    display: flex;
    justify-content: center;
}

.hero-image-wrap img {
    height: 100%;
    max-height: 332px;
    object-fit: cover;
    width: 100%;
}

.side-promos {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.promo-card {
    background: #f7f7fb;
    min-height: 160px;
    overflow: hidden;
    padding: 18px 16px;
    position: relative;
}

.promo-card img {
    bottom: 0;
    max-height: 120px;
    position: absolute;
    right: 0;
    width: auto;
}

.promo-copy {
    max-width: 58%;
    position: relative;
    z-index: 1;
}

.promo-copy span,
.micro-label {
    color: #f44336;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.promo-copy h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 8px;
}

.deal-category-layout {
    display: grid;
    gap: 18px;
    grid-template-columns: 170px minmax(0, 1fr);
}

.section-title {
    border-bottom: 1px solid #ececec;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 10px;
    position: relative;
}

.section-title::after {
    background: #f44336;
    bottom: -1px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 44px;
}

.section-title-red {
    font-size: 20px;
}

.deal-card {
    border: 1px solid #f44336;
    padding: 14px 12px 16px;
    position: relative;
}

.deal-card h3 {
    font-size: 17px;
    line-height: 1.35;
    margin: 8px 0 12px;
}

.discount-badge {
    background: #f44336;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    position: absolute;
    right: 12px;
    top: 120px;
}

.quick-view {
    background: #f5f5fa;
    color: #222;
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin: 10px 0 14px;
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
}

.deal-price {
    color: #f44336;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.deal-meta {
    border-top: 1px solid #ececec;
    display: flex;
    font-size: 11px;
    justify-content: space-between;
    padding-top: 10px;
}

.deal-meta strong {
    color: #f44336;
}

.countdown-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 14px;
}

.countdown-grid div {
    background: #f5f5fa;
    padding: 10px 4px;
    text-align: center;
}

.countdown-grid strong {
    display: block;
    font-size: 18px;
}

.countdown-grid span {
    color: #666;
    font-size: 10px;
}

.category-strip {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-bottom: 28px;
}

.top-category-card {
    background: #f7f7fb;
    min-height: 118px;
    padding: 14px;
    text-align: center;
}

.top-category-card img {
    height: 74px;
    object-fit: contain;
}

.top-category-card h3 {
    font-size: 14px;
    margin-top: 10px;
}

.tab-headings {
    border-bottom: 1px solid #ececec;
    display: flex;
    gap: 26px;
    margin-bottom: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
    white-space: nowrap;
}

.tab-headings button {
    flex: 0 0 auto;
    background: transparent;
    border: 0;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    padding: 0 0 12px;
    position: relative;
}

.tab-headings button.active {
    color: #111;
    font-weight: 700;
}

.tab-headings button.active::after {
    background: #2a6fe3;
    bottom: -1px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    width: 42px;
}

.homepage-tab-panel {
    display: none;
}

.homepage-tab-panel.is-active {
    display: grid;
}

.product-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-card,
.store-product-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    min-height: 290px;
    padding: 14px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card {
    box-shadow: 0 12px 30px rgba(26, 34, 56, 0.05);
    height: 100%;
    padding-top: 52px;
}

.product-card:hover,
.store-product-card:hover {
    border-color: #ffd5d1;
    box-shadow: 0 18px 38px rgba(26, 34, 56, 0.08);
    transform: translateY(-3px);
}

.product-card h3,
.store-product-card h3 {
    font-size: 16px;
    line-height: 1.35;
    margin: 10px 0 12px;
    min-height: 60px;
}

.product-card img,
.store-product-card img {
    height: 150px;
    margin: 12px auto 0;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.product-card .price {
    color: #f44336;
    font-size: 20px;
    font-weight: 800;
    margin: 10px 0 8px;
}

.product-copy {
    color: #697081;
    line-height: 1.65;
    margin: 0;
}

.product-badge,
.product-sale-badge {
    background: #f44336;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    position: absolute;
    right: 14px;
    top: 94px;
}

.product-badge {
    right: 14px;
    top: 18px;
}

.favorite-form {
    margin: 0;
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
}

.favorite-button {
    align-items: center;
    background: #fff6f5;
    border: 1px solid #ffd5d1;
    border-radius: 999px;
    color: #d54a3b;
    display: inline-flex;
    font-size: 15px;
    height: 36px;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    width: 36px;
}

.favorite-button:hover,
.favorite-button:focus {
    background: #ffe3e0;
    box-shadow: 0 8px 18px rgba(213, 74, 59, 0.18);
    color: #c33a2c;
    transform: scale(1.04);
}

.favorite-button.is-active {
    background: #f44336;
    border-color: #f44336;
    color: #fff;
}

.product-actions {
    margin-top: 16px;
}

.product-actions form {
    margin: 0;
}

.product-cart-button,
.saved-item-secondary {
    background: #111;
    border: 0;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    justify-content: center;
    min-height: 40px;
    padding: 10px 18px;
    text-transform: uppercase;
}

.product-cart-button {
    width: 100%;
}

.saved-item-secondary {
    background: #eef1f7;
    color: #23304a;
}

.saved-items-grid {
    display: grid;
    gap: 18px;
}

.saved-item-card {
    align-items: center;
    background: #fff;
    border: 1px solid #eceef5;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(26, 34, 56, 0.05);
    display: grid;
    gap: 20px;
    grid-template-columns: 140px minmax(0, 1fr) auto;
    padding: 20px;
}

.saved-item-card img {
    border-radius: 14px;
    height: 120px;
    object-fit: contain;
    width: 140px;
}

.saved-item-copy h3 {
    font-size: 20px;
    margin: 8px 0;
}

.saved-item-copy p {
    color: #f44336;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 14px;
}

.saved-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.saved-item-actions form {
    margin: 0;
}

.saved-item-actions .admin-icon-button {
    min-width: 110px;
}

.saved-items-empty {
    text-align: center;
}

.saved-items-empty p {
    color: #697081;
    margin-bottom: 18px;
}

.cart-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 280px;
}

.cart-summary-card {
    align-self: start;
    position: sticky;
    top: 24px;
}

.cart-summary-card h3 {
    margin-top: 0;
}

.cart-line-total {
    text-align: right;
}

.cart-line-total strong {
    color: #111;
    display: block;
    font-size: 20px;
}

.cart-line-total span {
    color: #697081;
    font-size: 13px;
}

.cart-quantity-form {
    align-items: center;
    display: flex;
    gap: 10px;
}

.cart-quantity-input {
    max-width: 90px;
}

.review-summary-strip {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 24px;
}

.reviews-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
}

.review-form-card {
    margin: 0;
    max-width: none;
}

.review-form-note {
    color: #697081;
    line-height: 1.6;
    margin: 0 0 16px;
}

.reviews-feed {
    display: grid;
    gap: 18px;
}

.review-card {
    background: #fff;
    border: 1px solid #eceef5;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(26, 34, 56, 0.05);
    padding: 24px;
}

.review-card-header {
    align-items: start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.review-card h3 {
    font-size: 20px;
    margin: 0 0 6px;
}

.review-card span,
.review-card small {
    color: #697081;
}

.review-card p {
    color: #23304a;
    line-height: 1.7;
    margin: 0 0 14px;
}

.review-rating {
    color: #f5a623;
    font-size: 18px;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.admin-reviews-feed {
    margin-top: 18px;
}

.admin-review-actions {
    margin-top: 18px;
}

.admin-review-card .review-card-header > div:first-child,
.saved-item-copy,
.review-card > p,
.review-card > small {
    min-width: 0;
}

.admin-review-card .review-card-header span,
.saved-item-copy h3,
.review-card h3,
.review-card p {
    overflow-wrap: anywhere;
}

.contact-card,
.stats-card {
    background: #fff;
    border: 1px solid #eceef5;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(26, 34, 56, 0.05);
    padding: 28px;
}

.info-section,
.auth-section {
    padding: 0 0 56px;
}

.info-grid,
.support-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
    background: #fff;
    border: 1px solid #eceef5;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(26, 34, 56, 0.05);
    padding: 28px;
}

.info-card i {
    color: #f44336;
    display: inline-block;
    font-size: 26px;
    margin-bottom: 14px;
}

.info-card h3 {
    font-size: 18px;
    margin: 0 0 10px;
}

.info-card p {
    color: #697081;
    line-height: 1.7;
    margin: 0;
}

.deal-highlight {
    align-items: center;
    background: linear-gradient(135deg, #fff8f2 0%, #f6fbff 100%);
    border: 1px solid #eceef5;
    border-radius: 20px;
    display: grid;
    gap: 24px;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
    padding: 36px;
}

.deal-highlight h2 {
    font-size: 32px;
    margin: 12px 0;
}

.deal-highlight p {
    color: #697081;
    margin-bottom: 18px;
}

.deal-highlight img {
    max-height: 280px;
    object-fit: contain;
    width: 100%;
}

.auth-card {
    background: #fff;
    border: 1px solid #eceef5;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(26, 34, 56, 0.06);
    margin: 0 auto;
    max-width: 520px;
    padding: 34px;
}

.auth-card-compact {
    max-width: 680px;
    padding: 24px;
}

.store-toast {
    position: fixed;
    right: 24px;
    top: 24px;
    z-index: 1000;
    max-width: 420px;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.store-toast.is-hiding {
    opacity: 0;
    transform: translateY(-10px);
}

.auth-card h2 {
    font-size: 28px;
    margin: 0 0 20px;
}

.auth-message {
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 16px;
    padding: 14px 16px;
}

.auth-message-error {
    background: #fff1f0;
    border: 1px solid #ffcbc7;
    color: #8b2f25;
}

.auth-message-success {
    background: #eafaf0;
    border: 1px solid #b6e3c3;
    box-shadow: 0 18px 40px rgba(26, 34, 56, 0.12);
    color: #23613a;
    margin-bottom: 0;
}

.auth-form .form-control {
    border: 1px solid #dfe4ef;
    border-radius: 12px;
    box-shadow: none;
    min-height: 50px;
    padding: 12px 16px;
}

.auth-form textarea.form-control {
    min-height: 120px;
}

.auth-button {
    border-radius: 999px;
    font-weight: 700;
    min-height: 48px;
    padding: 0 26px;
}

.footer-grid {
    gap: 32px;
    grid-template-columns: 1.6fr 1fr 1fr;
    padding: 44px 0 22px;
}

.footer-brand,
.footer-column {
    min-width: 0;
}

.footer-logo {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.footer-brand p {
    color: #5d6472;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 16px;
}

.footer-column h4 {
    color: #151923;
    font-size: 16px;
    font-weight: 700;
    margin: 8px 0 16px;
}

.footer-contact {
    color: #303542;
    display: flex;
    flex-direction: column;
    font-size: 13px;
    gap: 8px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-links span {
    color: #5d6472;
    font-size: 14px;
}

.footer-links a:hover {
    color: #f44336;
}

.copyright {
    border-top: 1px solid #eceef5;
    color: #707789;
    font-size: 13px;
    margin: 0;
    padding: 18px 0 28px;
}

.product-copy {
    color: #697081;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 0;
}

.department-product-list {
    margin-top: 34px;
}

.admin-hero {
    background: #202531;
    color: #fff;
}

.admin-login-shell {
    align-items: center;
    background: linear-gradient(135deg, #fff8f2 0%, #f7fbff 100%);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.admin-login-card {
    max-width: 560px;
}

.admin-hint {
    background: #fff6ec;
    border: 1px solid #ffd7ba;
    border-radius: 14px;
    color: #6b4a2f;
    line-height: 1.7;
    margin: 16px 0 20px;
    padding: 14px 16px;
}

.admin-topbar {
    background: #151923;
    color: #fff;
    padding: 24px 0;
}

.admin-topbar .footer-logo {
    margin-bottom: 6px;
}

.admin-topbar-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.admin-subtitle {
    color: #b8c0d1;
    margin: 0;
}

.admin-actions {
    align-items: center;
    display: flex;
    gap: 18px;
}

.admin-actions a,
.admin-actions span {
    color: #fff;
    font-size: 13px;
}

.admin-dashboard {
    background: #f5f7fb;
    padding: 30px 0 60px;
}

.admin-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: 260px minmax(0, 1fr);
}

.admin-sidebar {
    align-self: start;
    background: #fff;
    border: 1px solid #e6ebf3;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(26, 34, 56, 0.05);
    padding: 22px 18px;
    position: sticky;
    top: 24px;
}

.admin-sidebar-group + .admin-sidebar-group {
    border-top: 1px solid #eef2f8;
    margin-top: 18px;
    padding-top: 18px;
}

.admin-sidebar-group h4 {
    color: #151923;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.admin-sidebar-group a {
    color: #4e5668;
    display: block;
    font-size: 14px;
    padding: 8px 10px;
}

.admin-sidebar-group a:hover {
    background: #fff4f2;
    border-radius: 10px;
    color: #f44336;
}

.sidebar-sub-link {
    padding-left: 22px !important;
}

.admin-content {
    min-width: 0;
}

.admin-alert {
    border-radius: 14px;
    margin-bottom: 20px;
    padding: 14px 16px;
}

.admin-alert.success {
    background: #eafaf0;
    border: 1px solid #b6e3c3;
    color: #23613a;
}

.admin-alert.error {
    background: #fff1f0;
    border: 1px solid #ffcbc7;
    color: #8b2f25;
}

.admin-summary-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 24px;
}

.admin-panel {
    background: #fff;
    border: 1px solid #e6ebf3;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(26, 34, 56, 0.05);
    margin-bottom: 24px;
    padding: 24px;
}

.admin-panel-header {
    margin-bottom: 18px;
}

.admin-panel-header h2 {
    font-size: 24px;
    margin: 0 0 6px;
}

.admin-panel-header p {
    color: #697081;
    margin: 0;
}

.admin-panel-header.small {
    margin-top: 22px;
}

.admin-panel-header.small h3 {
    font-size: 20px;
    margin: 0;
}

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

.admin-form-grid .form-group {
    margin-bottom: 0;
}

.admin-form-grid label,
.admin-table label {
    color: #394152;
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.admin-save-button {
    justify-self: start;
    margin-top: 8px;
}

.admin-table {
    display: grid;
    gap: 18px;
}

.admin-table-row {
    background: #f9fbff;
    border: 1px solid #e7edf6;
    border-radius: 16px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 18px;
}

.admin-table-row .form-group {
    margin-bottom: 0;
}

.admin-table-row.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.span-two {
    grid-column: span 2;
}

.admin-inline-action {
    align-items: end;
    display: flex;
}

.admin-create-form {
    border-top: 1px solid #eef2f8;
    margin-top: 24px;
    padding-top: 22px;
}

.admin-delete-button {
    border-radius: 999px;
    font-weight: 700;
}

.admin-product-manager {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.75fr) 360px;
}

.admin-product-manager-wide {
    grid-template-columns: minmax(0, 1fr);
}

.admin-product-column,
.admin-product-column .admin-panel {
    min-width: 0;
}

.admin-product-list {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.admin-product-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,250,255,0.95) 100%);
    border: 1px solid #e9eef8;
    border-radius: 26px;
    box-shadow: 0 16px 34px rgba(26, 34, 56, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-product-media {
    background: radial-gradient(circle at top left, rgba(83, 132, 255, 0.18), transparent 45%), #f7faff;
    min-height: 250px;
    padding: 24px;
    position: relative;
}

.admin-product-media img {
    display: block;
    height: 210px;
    margin: 0 auto;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.admin-product-flag {
    background: #3276f5;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    left: 18px;
    letter-spacing: 0.08em;
    padding: 8px 12px;
    position: absolute;
    text-transform: uppercase;
    top: 18px;
}

.admin-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
}

.admin-product-fields {
    display: grid;
    gap: 14px;
}

.admin-product-fields .form-group {
    margin-bottom: 0;
}

.admin-field-hint {
    color: #7b8497;
    display: block;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 8px;
    word-break: break-word;
}

.admin-product-fields textarea.form-control {
    min-height: 112px;
    resize: vertical;
}

.admin-product-actions {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: auto;
}

.admin-text-button {
    background: transparent;
    border: 0;
    color: #3276f5;
    font-size: 13px;
    font-weight: 700;
    margin-right: auto;
    padding: 0;
}

.admin-icon-button {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f2;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(26, 34, 56, 0.06);
    color: #31415f;
    display: inline-flex;
    font-size: 16px;
    height: 46px;
    justify-content: center;
    width: 46px;
}

.admin-icon-button.primary {
    background: #3276f5;
    border-color: #3276f5;
    color: #fff;
}

.admin-icon-button.danger {
    color: #ea4d5c;
}

.admin-create-side-panel {
    align-self: start;
    position: sticky;
    top: 20px;
}

.admin-create-card-form {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.admin-form-grid.single-column {
    grid-template-columns: 1fr;
}

.admin-shell {
    background:
        radial-gradient(circle at top left, rgba(255, 156, 115, 0.55), transparent 28%),
        radial-gradient(circle at top right, rgba(255, 98, 162, 0.4), transparent 30%),
        radial-gradient(circle at bottom center, rgba(83, 132, 255, 0.22), transparent 28%),
        linear-gradient(135deg, #b86f6d 0%, #c08aa5 38%, #d7c3a8 100%);
    min-height: 100vh;
    padding: 34px 0;
}

.admin-dashboard {
    padding: 0 0 40px;
}

.admin-surface {
    backdrop-filter: blur(10px);
    background: rgba(250, 252, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 34px;
    box-shadow: 0 28px 70px rgba(42, 31, 54, 0.22);
    overflow: hidden;
}

.admin-sidebar {
    background: rgba(255, 255, 255, 0.8);
    border-right: 1px solid #edf1f7;
    border-radius: 0;
    box-shadow: none;
    min-height: 100%;
    padding: 28px 18px 26px;
}

.admin-brand-block {
    margin-bottom: 18px;
    padding: 8px 10px 18px;
}

.admin-nav-link {
    align-items: center;
    display: flex !important;
    gap: 12px;
}

.admin-nav-link i {
    font-size: 15px;
    width: 16px;
}

.admin-nav-link.active {
    background: #eef5ff;
    border-radius: 14px;
    color: #3276f5;
}

.admin-sidebar-group a {
    padding: 10px 12px;
}

.admin-sidebar-group a:hover {
    background: #eef5ff;
    border-radius: 14px;
    color: #3276f5;
}

.admin-sidebar-footer {
    border-top: 1px solid #eef2f8;
    margin-top: 22px;
    padding-top: 18px;
}

.admin-content {
    padding: 22px 24px 26px;
}

.admin-mobile-toggle {
    align-items: center;
    background: #fff;
    border: 1px solid #edf1f7;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(22, 35, 68, 0.06);
    color: #24304a;
    display: none;
    font-size: 18px;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.admin-toolbar {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 22px;
}

.admin-toolbar-search {
    align-items: center;
    background: #fff;
    border: 1px solid #eef2f8;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(22, 35, 68, 0.06);
    display: flex;
    flex: 1;
    gap: 12px;
    max-width: 480px;
    padding: 0 18px;
}

.admin-toolbar-search i {
    color: #98a2b8;
}

.admin-toolbar-search input {
    background: transparent;
    border: 0;
    min-height: 50px;
    outline: none;
    width: 100%;
}

.admin-toolbar-search-static input[readonly] {
    color: #5a657c;
    cursor: default;
}

.admin-toolbar-actions {
    align-items: center;
    display: flex;
    gap: 14px;
}

.admin-toolbar-chip {
    align-items: center;
    background: #3276f5;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 16px 28px rgba(50, 118, 245, 0.25);
    color: #fff;
    display: inline-flex;
    gap: 10px;
    min-height: 50px;
    padding: 0 18px;
}

.admin-toolbar-chip.muted {
    background: #fff;
    border: 1px solid #edf1f7;
    box-shadow: 0 12px 28px rgba(22, 35, 68, 0.06);
    color: #3e495e;
}

.admin-user-pill {
    align-items: center;
    background: #fff;
    border: 1px solid #edf1f7;
    border-radius: 18px;
    display: flex;
    gap: 12px;
    min-height: 58px;
    padding: 8px 14px;
}

.admin-user-pill strong {
    color: #1d2433;
    display: block;
    font-size: 14px;
}

.admin-user-pill span {
    color: #8a93a6;
    display: block;
    font-size: 12px;
}

.admin-user-avatar {
    align-items: center;
    background: linear-gradient(135deg, #6aa8ff 0%, #3f6ff1 100%);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 16px;
    font-weight: 800;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.admin-page-intro {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
}

.admin-page-intro h1 {
    color: #1a2030;
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 6px;
}

.admin-page-intro p {
    color: #7b8497;
    margin: 0;
}

.admin-page-badges {
    display: flex;
    gap: 10px;
}

.admin-page-badges span {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #edf1f7;
    border-radius: 999px;
    color: #566178;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 14px;
}

.admin-summary-grid .stats-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(247,250,255,0.9) 100%);
    border: 1px solid #e8edf7;
    border-radius: 22px;
    box-shadow: 0 16px 30px rgba(26, 34, 56, 0.06);
}

.admin-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-stat-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.admin-shortcuts-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-shortcut-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(247,250,255,0.94) 100%);
    border: 1px solid #e8edf7;
    border-radius: 22px;
    box-shadow: 0 16px 30px rgba(26, 34, 56, 0.05);
    color: #23304b;
    display: block;
    min-height: 180px;
    padding: 22px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-shortcut-card:hover {
    box-shadow: 0 22px 36px rgba(26, 34, 56, 0.1);
    transform: translateY(-2px);
}

.admin-shortcut-card i {
    align-items: center;
    background: rgba(50, 118, 245, 0.12);
    border-radius: 14px;
    color: #2d6ef4;
    display: inline-flex;
    font-size: 18px;
    height: 46px;
    justify-content: center;
    margin-bottom: 18px;
    width: 46px;
}

.admin-shortcut-card strong,
.admin-shortcut-card span {
    display: block;
}

.admin-shortcut-card strong {
    color: #192133;
    font-size: 18px;
    margin-bottom: 6px;
}

.admin-shortcut-card span {
    color: #778198;
    line-height: 1.6;
}

.admin-panel {
    border-radius: 26px;
    box-shadow: 0 18px 34px rgba(26, 34, 56, 0.06);
}

.admin-panel-header h2 {
    font-size: 28px;
}

.admin-table-row {
    background: #fbfcff;
    border: 1px solid #edf1f7;
    border-radius: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-table-row:hover {
    box-shadow: 0 16px 28px rgba(26, 34, 56, 0.06);
    transform: translateY(-1px);
}

.admin-form-grid .form-control,
.admin-table .form-control {
    background: #fff;
    border: 1px solid #e2e8f2;
    border-radius: 14px;
    box-shadow: none;
    min-height: 48px;
}

.admin-table textarea.form-control {
    min-height: 110px;
}

@media (max-width: 1199px) {
    .category-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-shortcuts-grid,
    .admin-table-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-product-manager {
        grid-template-columns: 1fr;
    }

    .admin-product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-create-side-panel {
        position: static;
    }
}

@media (max-width: 991px) {
    .topbar,
    .navbar-row,
    .search-row,
    .footer-grid,
    .main-nav,
    .topbar-tools,
    .utility-links {
        display: block;
    }

    .main-nav a,
    .nav-account a,
    .utility-links span,
    .utility-links strong {
        display: inline-block;
        margin: 8px 14px 0 0;
    }

    .topbar {
        text-align: center;
    }

    .topbar-contact,
    .topbar-tools {
        margin-top: 8px;
    }

    .navbar-row {
        gap: 14px;
        text-align: center;
    }

    .main-nav {
        margin-top: 4px;
    }

    .nav-account {
        justify-content: center;
    }

    .search-row {
        gap: 14px;
    }

    .utility-links {
        margin-top: 4px;
    }

    .hero-layout,
    .deal-category-layout,
    .hero-main,
    .footer-grid,
    .admin-form-grid,
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-mobile-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    .admin-surface {
        overflow: hidden;
        position: relative;
    }

    .admin-sidebar {
        background: rgba(255, 255, 255, 0.98);
        bottom: 0;
        left: 0;
        max-width: 320px;
        position: absolute;
        top: 0;
        transform: translateX(-102%);
        transition: transform 0.25s ease;
        width: calc(100% - 34px);
        z-index: 20;
    }

    .admin-surface.sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-toolbar,
    .admin-page-intro,
    .admin-toolbar-actions,
    .admin-page-badges {
        display: block;
    }

    .admin-toolbar-search {
        margin-bottom: 14px;
        max-width: none;
    }

    .admin-toolbar-chip,
    .admin-user-pill,
    .admin-page-badges span {
        display: inline-flex;
        margin: 10px 10px 0 0;
    }

    .hero-banner {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 34px 22px 18px;
    }

    .hero-image-wrap {
        min-height: 240px;
    }

    .hero-image-wrap img {
        height: auto;
        max-height: 280px;
        object-fit: contain;
    }

    .side-promos,
    .category-strip,
    .product-grid,
    .info-grid,
    .support-grid,
    .deal-highlight,
    .review-summary-strip,
    .reviews-layout,
    .cart-layout,
    .admin-shortcuts-grid,
    .admin-product-list,
    .admin-table-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-topbar-inner,
    .admin-actions {
        display: block;
    }

    .admin-actions a,
    .admin-actions span {
        display: inline-block;
        margin: 10px 14px 0 0;
    }

    .admin-sidebar {
        position: absolute;
    }

    .saved-item-card {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .saved-item-card img {
        height: 110px;
        width: 120px;
    }

    .cart-line-total {
        grid-column: 1 / -1;
        padding-top: 4px;
        text-align: left;
    }

    .review-card-header {
        flex-direction: column;
    }

    .review-rating {
        align-self: flex-start;
    }
}

@media (max-width: 640px) {
    .topbar {
        gap: 10px;
        padding: 10px 0;
    }

    .brand-text {
        font-size: 24px;
    }

    .navbar-row {
        padding: 14px 0 10px;
    }

    .main-nav a,
    .nav-account a,
    .utility-links a,
    .utility-links span,
    .utility-links strong {
        margin-right: 10px;
    }

    .search-row {
        padding: 0 0 20px;
    }

    .search-box {
        display: block;
    }

    .category-select,
    .search-button,
    .search-box input {
        min-height: 46px;
        width: 100%;
    }

    .search-box input {
        padding: 12px 16px;
    }

    .search-button {
        margin-top: 1px;
    }

    .side-promos,
    .category-strip,
    .product-grid,
    .countdown-grid,
    .info-grid,
    .support-grid,
    .deal-highlight,
    .review-summary-strip,
    .reviews-layout,
    .cart-layout,
    .admin-shortcuts-grid,
    .admin-product-list,
    .admin-table-row {
        grid-template-columns: 1fr;
    }

    .saved-item-card {
        grid-template-columns: 1fr;
    }

    .saved-item-card img {
        height: 180px;
        width: 100%;
    }

    .saved-item-actions,
    .cart-quantity-form,
    .admin-review-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .saved-item-actions form,
    .cart-quantity-form .saved-item-secondary,
    .saved-item-actions .saved-item-secondary,
    .saved-item-actions .product-cart-button,
    .admin-review-actions form,
    .admin-review-actions .admin-icon-button {
        width: 100%;
    }

    .cart-quantity-input {
        max-width: none;
        width: 100%;
    }

    .utility-links a,
    .utility-links strong {
        display: inline-flex;
        margin: 8px 14px 0 0;
    }

    .review-card,
    .saved-item-card,
    .auth-card,
    .info-card {
        padding: 20px;
    }

    .cart-line-total {
        text-align: left;
    }

    .hero-banner h1,
    .inner-hero h1 {
        font-size: 28px;
    }

    .hero-copy {
        padding: 28px 18px 12px;
    }

    .hero-copy p,
    .inner-hero p,
    .topbar-promo,
    .topbar-contact {
        overflow-wrap: anywhere;
    }

    .promo-card {
        min-height: 180px;
    }

    .promo-copy {
        max-width: 65%;
    }

    .promo-card img {
        max-height: 110px;
        max-width: 42%;
    }

    .deal-meta {
        flex-direction: column;
        gap: 6px;
    }

    .section-title {
        font-size: 20px;
    }

    .tab-headings {
        gap: 18px;
    }

    .nav-account {
        display: block;
    }

    .admin-shell {
        padding: 16px 0;
    }

    .admin-content {
        padding: 16px;
    }

    .admin-toolbar-actions {
        display: grid;
        gap: 10px;
    }

    .admin-toolbar-chip,
    .admin-user-pill,
    .admin-page-badges span {
        margin: 0;
        width: 100%;
    }

    .admin-summary-grid {
        grid-template-columns: 1fr;
    }

    .admin-page-intro h1 {
        font-size: 30px;
    }

    .store-toast {
        left: 16px;
        right: 16px;
        top: 16px;
        max-width: none;
    }
}
