/* ========================================

   RESET & BASE STYLES

   ======================================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

body {

    font-family: 'Poppins', sans-serif;

    background: #fff5f5;

    color: #1e293b;

    line-height: 1.6;

    overflow-x: hidden;

}

.container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

}

/* ========================================

   HEADER & NAVIGATION

   ======================================== */

.header {

    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);

    color: white;

    padding: 1.2rem 0;

    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.2);

    position: sticky;

    top: 0;

    z-index: 1000;

}

.header .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.logo {

    font-size: 1.8rem;

    font-weight: 700;

    color: white;

    text-decoration: none;

}

.nav {

    display: flex;

    gap: 2rem;

    align-items: center;

}

.nav-link {

    color: #fee2e2;

    text-decoration: none;

    font-weight: 500;

    padding: 0.5rem 1rem;

    border-radius: 8px;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    gap: 0.5rem;

    position: relative;

}

.nav-link:hover,

.nav-link.active {

    background: rgba(255, 255, 255, 0.2);

    color: white;

}

.cart-icon {

    font-size: 1.2rem;

}

.cart-badge {

    position: absolute;

    top: -5px;

    right: -5px;

    background: #fef2f2;

    color: #dc2626;

    font-size: 0.75rem;

    padding: 2px 6px;

    border-radius: 10px;

    font-weight: 600;

}

/* ========================================

   HERO SECTION

   ======================================== */

.hero {

    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);

    color: white;

    padding: 6rem 2rem;

    text-align: center;

    position: relative;

    overflow: hidden;

}

.hero-content {

    position: relative;

    z-index: 10;

    max-width: 800px;

    margin: 0 auto;

}

.hero-title {

    font-size: 3rem;

    font-weight: 700;

    margin-bottom: 1rem;

    animation: fadeInUp 0.8s ease;

}

.hero-subtitle {

    font-size: 1.3rem;

    margin-bottom: 2rem;

    opacity: 0.95;

    animation: fadeInUp 1s ease;

}

.hero-decoration .circle {

    position: absolute;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);

}

.circle-1 {

    width: 300px;

    height: 300px;

    top: -100px;

    right: -50px;

}

.circle-2 {

    width: 200px;

    height: 200px;

    bottom: -50px;

    left: 10%;

}

.circle-3 {

    width: 150px;

    height: 150px;

    top: 50%;

    right: 20%;

}

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

/* ========================================

   BUTTONS

   ======================================== */

.btn {

    display: inline-block;

    padding: 0.75rem 1.5rem;

    font-weight: 600;

    text-decoration: none;

    border-radius: 10px;

    transition: all 0.3s ease;

    cursor: pointer;

    border: none;

    font-family: 'Poppins', sans-serif;

    font-size: 1rem;

    text-align: center;

}

.btn-primary {

    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);

    color: white;

    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);

}

.btn-primary:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);

}

.btn-success {

    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);

    color: white;

    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);

}

.btn-success:hover {

    transform: translateY(-2px);

    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);

}

.btn-warning {

    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);

    color: white;

    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);

}

.btn-danger {

    background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);

    color: white;

    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);

}

.btn-outline {

    background: transparent;

    border: 2px solid #dc2626;

    color: #dc2626;

}

.btn-outline:hover {

    background: #dc2626;

    color: white;

}

.btn-large {

    padding: 1rem 2.5rem;

    font-size: 1.1rem;

}

.btn-block {

    display: block;

    width: 100%;

}

.btn-small {

    padding: 0.5rem 1rem;

    font-size: 0.875rem;

}

/* ========================================

   FEATURES SECTION

   ======================================== */

.features {

    padding: 5rem 0;

    background: white;

}

.feature-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 2rem;

    margin-top: 3rem;

}

.feature-card {

    text-align: center;

    padding: 2rem;

    border-radius: 15px;

    background: #fef2f2;

    transition: all 0.3s ease;

    border: 2px solid #fee2e2;

}

.feature-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.15);

    border-color: #fecaca;

}

.feature-icon {

    font-size: 3rem;

    margin-bottom: 1rem;

    color: #dc2626;

}

.feature-card h3 {

    font-size: 1.3rem;

    margin-bottom: 0.5rem;

    color: #1e293b;

}

.feature-card p {

    color: #64748b;

}

/* ========================================

   PRODUCTS SECTION

   ======================================== */

.products-section {

    padding: 5rem 0;

}

.section-header {

    text-align: center;

    margin-bottom: 3rem;

}

.section-title {

    font-size: 2.5rem;

    font-weight: 700;

    color: #1e293b;

    margin-bottom: 0.5rem;

}

.section-subtitle {

    font-size: 1.1rem;

    color: #64748b;

}

.product-container {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

    gap: 2rem;

    margin-top: 2rem;

}

.product-card {

    background: white;

    border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.08);

    transition: all 0.3s ease;

    position: relative;

    border: 2px solid #fee2e2;

}

.product-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);

    border-color: #fecaca;

}

.product-badge {

    position: absolute;

    top: 15px;

    right: 15px;

    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);

    color: white;

    padding: 0.4rem 0.8rem;

    border-radius: 20px;

    font-size: 0.75rem;

    font-weight: 600;

    z-index: 10;

}

.product-image {

    width: 100%;

    height: 250px;

    overflow: hidden;

    background: #fef2f2;

}

.product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;

}

.product-card:hover .product-image img {

    transform: scale(1.1);

}

.product-info {

    padding: 1.5rem;

}

.product-name {

    font-size: 1.2rem;

    font-weight: 600;

    color: #1e293b;

    margin-bottom: 0.5rem;

}

.product-price {

    font-size: 1.5rem;

    font-weight: 700;

    color: #dc2626;

    margin-bottom: 1rem;

}

.empty-state {

    text-align: center;

    padding: 4rem 2rem;

    color: #64748b;

    font-size: 1.2rem;

    grid-column: 1 / -1;

}

/* ========================================

   CART PAGE

   ======================================== */

.cart-section {

    padding: 3rem 0;

    min-height: 70vh;

}

.cart-section .section-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 2rem;

}

.empty-cart {

    text-align: center;

    padding: 5rem 2rem;

    background: white;

    border-radius: 15px;

    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.08);

    border: 2px solid #fee2e2;

}

.empty-icon {

    font-size: 5rem;

    margin-bottom: 1rem;

    opacity: 0.3;

    color: #dc2626;

}

.empty-cart h3 {

    font-size: 2rem;

    color: #1e293b;

    margin-bottom: 1rem;

}

.empty-cart p {

    color: #64748b;

    margin-bottom: 2rem;

}

.cart-content {

    display: grid;

    grid-template-columns: 1fr 400px;

    gap: 2rem;

}

.cart-items {

    display: flex;

    flex-direction: column;

    gap: 1.5rem;

}

.cart-item {

    background: white;

    padding: 1.5rem;

    border-radius: 15px;

    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.08);

    display: grid;

    grid-template-columns: 100px 1fr auto auto auto;

    gap: 1.5rem;

    align-items: center;

    border: 2px solid #fee2e2;

}

.item-image {

    width: 100px;

    height: 100px;

    border-radius: 10px;

    overflow: hidden;

    background: #fef2f2;

}

.item-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.item-details {

    flex: 1;

}

.item-name {

    font-size: 1.1rem;

    font-weight: 600;

    color: #1e293b;

    margin-bottom: 0.5rem;

}

.item-price {

    color: #64748b;

    font-size: 0.95rem;

}

.item-quantity,

.item-total {

    text-align: center;

}

.qty-label,

.total-label {

    display: block;

    font-size: 0.85rem;

    color: #64748b;

    margin-bottom: 0.3rem;

}

.qty-value {

    font-weight: 600;

    font-size: 1.2rem;

    color: #1e293b;

}

.total-value {

    font-weight: 700;

    font-size: 1.2rem;

    color: #dc2626;

}

.btn-remove {

    background: #fee2e2;

    color: #dc2626;

    padding: 0.6rem;

    border-radius: 8px;

    text-decoration: none;

    transition: all 0.3s ease;

    font-size: 1.2rem;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

}

.btn-remove:hover {

    background: #dc2626;

    color: white;

}

.cart-summary {

    position: sticky;

    top: 100px;

    height: fit-content;

}

.summary-card {

    background: white;

    padding: 2rem;

    border-radius: 15px;

    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.08);

    border: 2px solid #fee2e2;

}

.summary-title {

    font-size: 1.5rem;

    font-weight: 700;

    margin-bottom: 1.5rem;

    color: #1e293b;

}

.summary-row {

    display: flex;

    justify-content: space-between;

    padding: 0.75rem 0;

    color: #64748b;

}

.summary-row span:last-child {

    font-weight: 600;

    color: #1e293b;

}

.summary-total {

    font-size: 1.3rem;

    color: #1e293b;

}

.summary-total span {

    font-weight: 700;

    color: #dc2626;

}

.summary-divider {

    height: 1px;

    background: #fee2e2;

    margin: 1rem 0;

}

.text-success {

    color: #dc2626 !important;

    font-weight: 600;

}

/* ========================================

   CHECKOUT PAGE

   ======================================== */

.checkout-section {

    padding: 3rem 0;

}

.checkout-wrapper {

    display: grid;

    grid-template-columns: 1fr 400px;

    gap: 2rem;

}

.checkout-form-container {

    background: white;

    padding: 2.5rem;

    border-radius: 15px;

    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.08);

    border: 2px solid #fee2e2;

}

.checkout-form .form-group {

    margin-bottom: 1.5rem;

}

.checkout-form label {

    display: block;

    font-weight: 600;

    margin-bottom: 0.5rem;

    color: #1e293b;

}

.checkout-form input,

.checkout-form textarea {

    width: 100%;

    padding: 0.875rem;

    border: 2px solid #fee2e2;

    border-radius: 10px;

    font-family: 'Poppins', sans-serif;

    font-size: 1rem;

    transition: all 0.3s ease;

}

.checkout-form input:focus,

.checkout-form textarea:focus {

    outline: none;

    border-color: #dc2626;

    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);

}

.checkout-form textarea {

    resize: vertical;

}

.checkout-form small {

    display: block;

    margin-top: 0.3rem;

    color: #64748b;

    font-size: 0.875rem;

}

.order-items {

    max-height: 300px;

    overflow-y: auto;

    margin-bottom: 1rem;

}

.order-item {

    display: flex;

    justify-content: space-between;

    padding: 0.75rem 0;

    border-bottom: 1px solid #fee2e2;

}

.order-item:last-child {

    border-bottom: none;

}

.order-item-info {

    display: flex;

    flex-direction: column;

    gap: 0.25rem;

}

.order-item-name {

    font-weight: 500;

    color: #1e293b;

}

.order-item-qty {

    font-size: 0.875rem;

    color: #64748b;

}

.order-item-price {

    font-weight: 600;

    color: #dc2626;

}

/* ========================================

   SUCCESS PAGE

   ======================================== */

.success-section {

    padding: 5rem 0;

    min-height: 70vh;

    display: flex;

    align-items: center;

}

.success-card {

    background: white;

    padding: 4rem 3rem;

    border-radius: 20px;

    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.15);

    text-align: center;

    max-width: 600px;

    margin: 0 auto;

    border: 2px solid #fee2e2;

}

.success-icon {

    width: 80px;

    height: 80px;

    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);

    color: white;

    font-size: 3rem;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 2rem;

    animation: scaleIn 0.5s ease;

}

@keyframes scaleIn {

    from {

        transform: scale(0);

    }

    to {

        transform: scale(1);

    }

}

.success-title {

    font-size: 2.5rem;

    color: #1e293b;

    margin-bottom: 1rem;

}

.success-message {

    font-size: 1.2rem;

    color: #64748b;

    margin-bottom: 2rem;

}

.order-info {

    background: #fef2f2;

    padding: 2rem;

    border-radius: 15px;

    margin: 2rem 0;

    text-align: left;

    border: 2px solid #fee2e2;

}

.info-row {

    display: flex;

    justify-content: space-between;

    padding: 0.75rem 0;

    border-bottom: 1px solid #fee2e2;

}

.info-row:last-child {

    border-bottom: none;

}

.info-label {

    font-weight: 500;

    color: #64748b;

}

.info-value {

    font-weight: 600;

    color: #1e293b;

}

.success-note {

    background: #fee2e2;

    padding: 1rem;

    border-radius: 10px;

    color: #991b1b;

    margin: 2rem 0;

    font-size: 0.95rem;

}

/* ========================================

   ALERTS

   ======================================== */

.alert {

    padding: 1rem 1.5rem;

    border-radius: 10px;

    margin-bottom: 1.5rem;

    font-weight: 500;

}

.alert-success {

    background: #fee2e2;

    color: #991b1b;

    border-left: 4px solid #dc2626;

}

.alert-error {

    background: #fee2e2;

    color: #7f1d1d;

    border-left: 4px solid #b91c1c;

}

/* ========================================

   ADMIN SECTION

   ======================================== */

.login-page {

    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

}

.login-container {

    width: 100%;

    padding: 2rem;

}

.login-box {

    max-width: 450px;

    margin: 0 auto;

    background: white;

    padding: 3rem;

    border-radius: 20px;

    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.3);

}

.login-header {

    text-align: center;

    margin-bottom: 2rem;

}

.login-header h2 {

    font-size: 2rem;

    color: #1e293b;

    margin-bottom: 0.5rem;

}

.login-header p {

    color: #64748b;

}

.login-form .form-group {

    margin-bottom: 1.5rem;

}

.login-form label {

    display: block;

    font-weight: 600;

    margin-bottom: 0.5rem;

    color: #1e293b;

}

.login-form input {

    width: 100%;

    padding: 0.875rem;

    border: 2px solid #fee2e2;

    border-radius: 10px;

    font-family: 'Poppins', sans-serif;

    font-size: 1rem;

    transition: all 0.3s ease;

}

.login-form input:focus {

    outline: none;

    border-color: #dc2626;

    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);

}

.login-footer {

    text-align: center;

    margin-top: 1.5rem;

}

.login-footer a {

    color: #dc2626;

    text-decoration: none;

    font-weight: 500;

}

.login-footer a:hover {

    text-decoration: underline;

}

/* Admin Layout */

.admin-layout {

    display: flex;

    min-height: 100vh;

}

.admin-sidebar {

    width: 280px;

    background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%);

    color: white;

    padding: 2rem 0;

    position: fixed;

    height: 100vh;

    overflow-y: auto;

}

.sidebar-header {

    padding: 0 2rem 2rem;

    border-bottom: 1px solid rgba(255, 255, 255, 0.2);

}

.sidebar-header h2 {

    font-size: 1.5rem;

}

.sidebar-nav {

    padding: 2rem 0;

}

.sidebar-nav .nav-item {

    display: flex;

    align-items: center;

    gap: 1rem;

    padding: 1rem 2rem;

    color: #fee2e2;

    text-decoration: none;

    transition: all 0.3s ease;

    font-weight: 500;

}

.sidebar-nav .nav-item:hover,

.sidebar-nav .nav-item.active {

    background: rgba(255, 255, 255, 0.15);

    color: white;

    border-left: 4px solid white;

}

.sidebar-nav .nav-item span {

    font-size: 1.3rem;

}

.admin-main {

    margin-left: 280px;

    flex: 1;

    padding: 2rem;

    background: #fff5f5;

    min-height: 100vh;

}

.admin-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 2rem;

}

.admin-header h1 {

    font-size: 2rem;

    color: #1e293b;

}

.admin-header p {

    color: #64748b;

    margin-top: 0.5rem;

}

/* Stats Cards */

.stats-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 2rem;

    margin-bottom: 3rem;

}

.stat-card {

    background: white;

    padding: 2rem;

    border-radius: 15px;

    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.08);

    display: flex;

    align-items: center;

    gap: 1.5rem;

    transition: all 0.3s ease;

    border: 2px solid #fee2e2;

}

.stat-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);

    border-color: #fecaca;

}

.stat-icon {

    width: 70px;

    height: 70px;

    border-radius: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 2rem;

}

.stat-primary .stat-icon {

    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);

}

.stat-success .stat-icon {

    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);

}

.stat-warning .stat-icon {

    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);

}

.stat-info h3 {

    font-size: 2rem;

    color: #1e293b;

    font-weight: 700;

}

.stat-info p {

    color: #64748b;

    font-size: 0.95rem;

}

.admin-actions {

    display: flex;

    gap: 1rem;

    flex-wrap: wrap;

}

/* Admin Table */

.table-container {

    background: white;

    border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.08);

    border: 2px solid #fee2e2;

}

.admin-table {

    width: 100%;

    border-collapse: collapse;

}

.admin-table thead {

    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);

    color: white;

}

.admin-table th {

    padding: 1.2rem;

    text-align: left;

    font-weight: 600;

}

.admin-table td {

    padding: 1.2rem;

    border-bottom: 1px solid #fee2e2;

}

.admin-table tbody tr:hover {

    background: #fef2f2;

}

.admin-table tbody tr:last-child td {

    border-bottom: none;

}

.table-img {

    width: 80px;

    height: 80px;

    object-fit: cover;

    border-radius: 10px;

}

.action-buttons {

    display: flex;

    gap: 0.5rem;

}

.text-center {

    text-align: center;

    padding: 3rem;

    color: #64748b;

}

.text-right {

    text-align: right;

}

.text-primary {

    color: #dc2626 !important;

}

/* Admin Forms */

.form-container {

    background: white;

    padding: 2.5rem;

    border-radius: 15px;

    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.08);

    max-width: 800px;

    border: 2px solid #fee2e2;

}

.admin-form .form-group {

    margin-bottom: 1.5rem;

}

.admin-form label {

    display: block;

    font-weight: 600;

    margin-bottom: 0.5rem;

    color: #1e293b;

}

.admin-form input,

.admin-form textarea,

.admin-form select {

    width: 100%;

    padding: 0.875rem;

    border: 2px solid #fee2e2;

    border-radius: 10px;

    font-family: 'Poppins', sans-serif;

    font-size: 1rem;

    transition: all 0.3s ease;

}

.admin-form input:focus,

.admin-form textarea:focus,

.admin-form select:focus {

    outline: none;

    border-color: #dc2626;

    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);

}

.admin-form small {

    display: block;

    margin-top: 0.3rem;

    color: #64748b;

    font-size: 0.875rem;

}

.preview-img {

    max-width: 200px;

    border-radius: 10px;

    margin-top: 0.5rem;

}

.form-actions {

    display: flex;

    gap: 1rem;

    margin-top: 2rem;

}

/* Detail Page */

.detail-container {

    display: grid;

    gap: 2rem;

}

.detail-card {

    background: white;

    padding: 2rem;

    border-radius: 15px;

    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.08);

    border: 2px solid #fee2e2;

}

.detail-card h3 {

    font-size: 1.5rem;

    margin-bottom: 1.5rem;

    color: #1e293b;

    border-bottom: 2px solid #fee2e2;

    padding-bottom: 1rem;

}

.detail-row {

    display: flex;

    justify-content: space-between;

    padding: 0.75rem 0;

    border-bottom: 1px solid #fee2e2;

}

.detail-row:last-child {

    border-bottom: none;

}

.detail-label {

    font-weight: 600;

    color: #64748b;

    min-width: 150px;

}

/* ========================================

   FOOTER

   ======================================== */

.footer {

    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);

    color: white;

    padding: 2rem 0;

    text-align: center;

    margin-top: 5rem;

}

.footer p {

    color: #fee2e2;

    margin: 0;

}

/* ========================================

   RESPONSIVE DESIGN

   ======================================== */

@media (max-width: 992px) {

    .admin-sidebar {

        width: 240px;

    }

    

    .admin-main {

        margin-left: 240px;

    }

    

    .cart-content,

    .checkout-wrapper {

        grid-template-columns: 1fr;

    }

    

    .cart-summary {

        position: static;

    }

}

@media (max-width: 768px) {

    .hero-title {

        font-size: 2rem;

    }

    

    .hero-subtitle {

        font-size: 1rem;

    }

    

    .nav {

        gap: 1rem;

    }

    

    .nav-link {

        padding: 0.4rem 0.8rem;

        font-size: 0.9rem;

    }

    

    .logo {

        font-size: 1.3rem;

    }

    

    .product-container {

        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

        gap: 1.5rem;

    }

    

    .section-title {

        font-size: 2rem;

    }

    

    .cart-item {

        grid-template-columns: 80px 1fr;

        gap: 1rem;

    }

    

    .item-quantity,

    .item-total,

    .item-action {

        grid-column: 2;

    }

    

    .item-image {

        width: 80px;

        height: 80px;

        grid-row: 1 / 4;

    }

    

    .admin-layout {

        flex-direction: column;

    }

    

    .admin-sidebar {

        position: static;

        width: 100%;

        height: auto;

    }

    

    .admin-main {

        margin-left: 0;

    }

    

    .admin-header {

        flex-direction: column;

        align-items: flex-start;

        gap: 1rem;

    }

    

    .stats-grid {

        grid-template-columns: 1fr;

    }

    

    .action-buttons {

        flex-direction: column;

    }

}

@media (max-width: 576px) {

    .container {

        padding: 0 15px;

    }

    

    .hero {

        padding: 4rem 1.5rem;

    }

    

    .hero-title {

        font-size: 1.8rem;

    }

    

    .product-container {

        grid-template-columns: 1fr;

    }

    

    .feature-grid {

        grid-template-columns: 1fr;

    }

    

    .header .container {

        flex-direction: column;

        gap: 1rem;

    }

    

    .nav {

        width: 100%;

        justify-content: center;

    }

    

    .login-box {

        padding: 2rem;

    }

    

    .success-card {

        padding: 2rem 1.5rem;

    }

    

    .success-title {

        font-size: 1.8rem;

    }

}

/* ========================================

   UTILITIES

   ======================================== */

.mt-1 { margin-top: 0.5rem; }

.mt-2 { margin-top: 1rem; }

.mt-3 { margin-top: 1.5rem; }

.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }

.mb-2 { margin-bottom: 1rem; }

.mb-3 { margin-bottom: 1.5rem; }

.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }

.p-2 { padding: 1rem; }

.p-3 { padding: 1.5rem; }

.p-4 { padding: 2rem; }

/* ========================================

   SCROLLBAR STYLING

   ======================================== */

::-webkit-scrollbar {

    width: 10px;

    height: 10px;

}

::-webkit-scrollbar-track {

    background: #fef2f2;

}

::-webkit-scrollbar-thumb {

    background: #fecaca;

    border-radius: 5px;

}

::-webkit-scrollbar-thumb:hover {

    background: #fca5a5;

}