/**
 * Sensei E-commerce CSS Styles
 */

/* ===========================================
   Auth Pages (Login, Register)
   =========================================== */
.auth-section {
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 0;
    display: flex;
    align-items: center;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.auth-card {
    padding: 50px;
}

.auth-header {
    margin-bottom: 35px;
    text-align: center;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.auth-header p {
    color: #666;
    font-size: 14px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap i:first-child {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

.input-icon-wrap input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-icon-wrap input:focus {
    border-color: #d61818;
    outline: none;
    box-shadow: 0 0 0 3px rgba(214, 24, 24, 0.1);
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group.half {
    flex: 1;
}

.form-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c00;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 15px;
}

.btn-auth {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #d61818, #b01515);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214, 24, 24, 0.4);
}

.auth-footer {
    margin-top: 25px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.auth-footer p {
    color: #666;
    font-size: 14px;
}

.auth-footer a {
    color: #d61818;
    font-weight: 600;
    text-decoration: none;
}

.auth-side {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.auth-side-content {
    text-align: center;
    color: #fff;
}

.auth-side-content img {
    max-width: 200px;
    margin-bottom: 30px;
}

.auth-side-content h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

.auth-side-content p {
    opacity: 0.8;
    font-size: 15px;
}

/* ===========================================
   Cart Page
   =========================================== */
.cart-section {
    padding: 50px 0;
    min-height: 60vh;
    background: #f8f9fc;
}

.cart-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.cart-empty i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.cart-empty h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.cart-empty p {
    color: #666;
    margin-bottom: 25px;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}

.cart-items-container {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.cart-header-row {
    display: grid;
    grid-template-columns: 2fr 1fr 120px 1fr 50px;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 120px 1fr 50px;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.col-product {
    display: flex;
    gap: 15px;
    align-items: center;
}

.item-image {
    width: 70px;
    height: 70px;
    background: #f8f8f8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-image img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.item-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.item-part {
    font-size: 12px;
    color: #888;
    font-family: monospace;
}

.item-brand {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 5px;
}

.col-price, .col-total {
    font-weight: 600;
    color: #333;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.quantity-control button {
    width: 35px;
    height: 35px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

.quantity-control button:hover {
    background: #f0f0f0;
}

.quantity-control input {
    width: 45px;
    text-align: center;
    border: none;
    font-size: 14px;
    font-weight: 600;
}

.btn-remove {
    width: 40px;
    height: 40px;
    border: none;
    background: #fff5f5;
    color: #c00;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-remove:hover {
    background: #c00;
    color: #fff;
}

.cart-summary {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 14px;
    color: #666;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}

.summary-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 10px 0;
}

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #d61818, #b01515);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214, 24, 24, 0.4);
    color: #fff;
}

.btn-continue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: transparent;
    color: #666;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 14px;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s;
}

.btn-continue:hover {
    border-color: #333;
    color: #333;
}

/* ===========================================
   Checkout Page
   =========================================== */
.checkout-section {
    padding: 50px 0;
    background: #f8f9fc;
    min-height: 60vh;
}

.login-required {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.login-required i {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
}

.login-required h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.login-required p {
    color: #666;
    margin-bottom: 25px;
}

.login-buttons {
    display: flex;
    gap: 15px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.checkout-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.checkout-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-card h3 i {
    color: #d61818;
}

.checkout-card .form-group {
    margin-bottom: 18px;
}

.checkout-card label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.checkout-card input,
.checkout-card textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.checkout-card input:focus,
.checkout-card textarea:focus {
    border-color: #d61818;
    outline: none;
}

.checkout-summary {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.checkout-summary h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.order-items {
    max-height: 250px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.order-item .item-name {
    color: #333;
}

.order-item .item-price {
    font-weight: 600;
}

.btn-place-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #d61818, #b01515);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-place-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214, 24, 24, 0.4);
}

.checkout-note {
    margin-top: 15px;
    font-size: 12px;
    color: #888;
    text-align: center;
}

.checkout-note i {
    margin-right: 5px;
}

/* ===========================================
   Profile Page
   =========================================== */
.profile-section {
    padding: 50px 0;
    background: #f8f9fc;
    min-height: 60vh;
}

.profile-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    align-items: start;
}

.profile-sidebar {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.profile-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}

.profile-nav-item:hover {
    background: #f5f5f5;
    color: #333;
}

.profile-nav-item.active {
    background: linear-gradient(135deg, #d61818, #b01515);
    color: #fff;
}

.profile-nav-item.logout {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    color: #c00;
}

.profile-tab {
    display: none;
}

.profile-tab.active {
    display: block;
}

.profile-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.profile-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.profile-card .form-group {
    margin-bottom: 18px;
}

.profile-card label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.profile-card input,
.profile-card textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.profile-card input:focus,
.profile-card textarea:focus {
    border-color: #d61818;
    outline: none;
}

.profile-card input[readonly] {
    background: #f5f5f5;
    color: #888;
}

.form-message {
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 15px;
}

.form-message.success {
    background: #e6f7e6;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.form-message.error {
    background: #fee;
    color: #c00;
    border: 1px solid #fcc;
}

.orders-loading {
    text-align: center;
    padding: 30px;
    color: #888;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-card {
    background: #f8f9fc;
    border-radius: 12px;
    padding: 20px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.order-number {
    font-weight: 600;
    color: #333;
}

.order-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending { background: #fff3e0; color: #e65100; }
.status-confirmed { background: #e3f2fd; color: #1565c0; }
.status-processing { background: #fff9c4; color: #f9a825; }
.status-shipped { background: #e8f5e9; color: #2e7d32; }
.status-delivered { background: #e8f5e9; color: #1b5e20; }
.status-cancelled { background: #fce4ec; color: #c62828; }

.order-info {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #666;
}

.order-info i {
    margin-right: 5px;
}

.no-orders {
    text-align: center;
    color: #888;
    padding: 30px;
}

/* ===========================================
   Order Success Page
   =========================================== */
.order-success-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.success-card {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.success-icon i {
    font-size: 50px;
    color: #fff;
}

.success-card h1 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.success-message {
    color: #666;
    font-size: 15px;
    margin-bottom: 30px;
}

.order-number-box {
    background: #f8f9fc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.order-number-box span {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.order-number-box strong {
    font-size: 20px;
    color: #1a1a2e;
    font-family: monospace;
}

.success-info {
    text-align: left;
    margin-bottom: 30px;
}

.success-info .info-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fc;
    border-radius: 10px;
    margin-bottom: 10px;
}

.success-info .info-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #d61818, #b01515);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-info .info-item h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.success-info .info-item p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ===========================================
   Common Buttons
   =========================================== */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #d61818, #b01515);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214, 24, 24, 0.4);
    color: #fff;
}

.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: #333;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary-custom:hover {
    border-color: #333;
    color: #333;
}

/* ===========================================
   Header Cart & User Menu
   =========================================== */
.header-cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.header-cart-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #d61818;
}

#cartBadge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #d61818;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

#userMenuContainer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.3s;
}

.auth-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #d61818;
}

.auth-link.register {
    background: #d61818;
    color: #fff;
}

.auth-link.register:hover {
    background: #b01515;
}

.user-dropdown {
    position: relative;
}

.user-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: #333;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
}

.user-dropdown-btn .fa-chevron-down {
    font-size: 10px;
    transition: transform 0.3s;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1000;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s;
}

.user-dropdown-menu a:hover {
    background: #f5f5f5;
}

.user-dropdown-menu a i {
    width: 18px;
    color: #888;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}

/* ===========================================
   Cart Notification
   =========================================== */
.cart-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #333;
    color: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
}

.cart-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.cart-notification.success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.cart-notification.error {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
}

.cart-notification i {
    font-size: 18px;
}

/* ===========================================
   Add to Cart Button (Product Pages)
   =========================================== */
.add-to-cart-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.add-to-cart-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

.add-to-cart-qty {
    display: flex;
    align-items: center;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
}

.add-to-cart-qty button {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}

.add-to-cart-qty input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 15px;
    font-weight: 600;
}

.btn-add-to-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 25px;
    background: linear-gradient(135deg, #d61818, #b01515);
    color: #fff;
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214, 24, 24, 0.4);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 15px;
}

.product-price .currency {
    font-size: 18px;
    color: #888;
}

.product-price .amount {
    font-size: 32px;
    font-weight: 700;
    color: #d61818;
}

/* ===========================================
   Loading Spinner
   =========================================== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-top-color: #d61818;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===========================================
   Responsive
   =========================================== */
@media (max-width: 992px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-side {
        display: none;
    }
    
    .cart-grid,
    .checkout-grid,
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-summary-container,
    .checkout-summary-container {
        order: -1;
    }
    
    .profile-sidebar {
        order: -1;
    }
    
    .profile-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .profile-nav-item.logout {
        margin-top: 0;
        border-top: none;
        padding-top: 14px;
    }
}

@media (max-width: 768px) {
    .cart-header-row {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .col-product {
        order: 1;
    }
    
    .col-price {
        order: 2;
    }
    
    .col-quantity {
        order: 3;
    }
    
    .col-total {
        order: 4;
    }
    
    .col-action {
        order: 5;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
}

/* Address Management */
.saved-addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.address-card {
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.address-card:hover {
    border-color: #d61818;
    background: #fffafa;
}

.address-card.selected {
    border-color: #d61818;
    background: #fffafa;
    box-shadow: 0 0 0 3px rgba(214, 24, 24, 0.1);
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.address-body p {
    margin: 0 0 5px;
    font-size: 13px;
    color: #666;
}
