/* ========================================
   ACCOUNT PAGES - Hesabım Sayfaları
   User dashboard, orders, profile, addresses
   ======================================== */

/* Variables fallback */
:root {
    --color-cream: #f5f3ef;
    --color-olive: #2D5F2D;
    --color-olive-dark: #1E4620;
    --color-olive-light: #3E7B3E;
    --color-gold: #9E7A38;
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #666;
    --font-heading: 'DM Sans', 'Helvetica Neue', sans-serif;
}

/* ========================================
   BREADCRUMB
   ======================================== */
.account-breadcrumb {
    padding: 1.5rem 0;
    background: var(--color-cream, #f9f7f3);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb__item a {
    color: var(--color-olive, #2D5F2D);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb__item a:hover {
    color: var(--color-olive-dark, #1E4620);
    text-decoration: underline;
}

.breadcrumb__separator {
    color: #999;
}

.breadcrumb__item--active {
    color: var(--color-text-secondary, #666);
}

/* ========================================
   ACCOUNT SECTION
   ======================================== */
.account-section {
    padding: 2rem 0 5rem;
    background: #fff;
    min-height: 70vh;
}

/* ========================================
   ACCOUNT LAYOUT
   ======================================== */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 992px) {
    .account-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ========================================
   ACCOUNT SIDEBAR
   ======================================== */
.account-sidebar {
    background: var(--color-cream, #f9f7f3);
    border-radius: 20px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}

@media (max-width: 992px) {
    .account-sidebar {
        position: relative;
        top: 0;
    }
}

/* User Avatar & Info */
.account-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(45, 95, 45, 0.1);
}

.account-user__avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-olive, #2D5F2D) 0%, var(--color-olive-dark, #1E4620) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-user__avatar span {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

.account-user__info {
    flex: 1;
    min-width: 0;
}

.account-user__name {
    font-family: var(--font-heading, 'DM Sans', sans-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-olive-dark, #1E4620);
    margin: 0 0 0.25rem;
}

.account-user__email {
    font-size: 0.8125rem;
    color: var(--color-text-secondary, #666);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================
   ACCOUNT NAVIGATION
   ======================================== */
.account-nav {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.account-nav__link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-secondary, #666);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.account-nav__link:hover {
    background: rgba(45, 95, 45, 0.08);
    color: var(--color-olive-dark, #1E4620);
}

.account-nav__link.active {
    background: var(--color-olive, #2D5F2D);
    color: #fff;
}

.account-nav__link svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.account-nav__divider {
    height: 1px;
    background: rgba(45, 95, 45, 0.1);
    margin: 0.5rem 0;
}

.account-nav__link--logout {
    color: #c53030;
}

.account-nav__link--logout:hover {
    background: #fff5f5;
    color: #c53030;
}

/* ========================================
   ACCOUNT CONTENT
   ======================================== */
.account-content {
    min-height: 400px;
}

.account-title {
    font-family: var(--font-heading, 'DM Sans', sans-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--color-olive-dark, #1E4620);
    margin: 0 0 2rem;
}

/* ========================================
   STATS CARDS
   ======================================== */
.account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .account-stats {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-cream, #f9f7f3);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.stat-card__icon svg {
    width: 24px;
    height: 24px;
}

.stat-card__icon--primary {
    background: rgba(45, 95, 45, 0.1);
    color: var(--color-olive, #2D5F2D);
}

.stat-card__icon--accent {
    background: rgba(212, 168, 83, 0.15);
    color: var(--color-gold, #d4a853);
}

.stat-card__icon--success {
    background: rgba(45, 106, 79, 0.1);
    color: var(--color-olive-light, #9E8B52);
}

.stat-card__content {
    display: flex;
    flex-direction: column;
}

.stat-card__value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-olive-dark, #1E4620);
    line-height: 1.1;
}

.stat-card__label {
    font-size: 0.8125rem;
    color: var(--color-text-secondary, #666);
    margin-top: 0.25rem;
}

/* ========================================
   ACCOUNT CARD (Generic card component)
   ======================================== */
.account-card {
    background: var(--color-cream, #f9f7f3);
    border-radius: 20px;
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.account-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(45, 95, 45, 0.1);
}

.account-card__title {
    font-family: var(--font-heading, 'DM Sans', sans-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-olive-dark, #1E4620);
    margin: 0;
}

.account-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-olive, #2D5F2D);
    text-decoration: none;
    transition: color 0.3s ease;
}

.account-card__link:hover {
    color: var(--color-olive-dark, #1E4620);
}

.account-card__link svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   ORDERS LIST
   ======================================== */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-card {
    display: block;
    padding: 1.25rem;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.order-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.order-card__number {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-olive, #2D5F2D);
}

.order-card__date {
    font-size: 0.8125rem;
    color: var(--color-text-secondary, #666);
}

.order-card__products {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.order-card__image {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(45, 95, 45, 0.1);
}

.order-card__more {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream, #f9f7f3);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-secondary, #666);
}

.order-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-card__total {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-olive-dark, #1E4620);
}

/* Order Status Badges */
.order-status {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: 20px;
}

.order-status--delivered {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.order-status--processing {
    background: rgba(255, 193, 7, 0.15);
    color: #d39e00;
}

.order-status--shipped {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.order-status--cancelled {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.order-status--pending {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

/* ========================================
   QUICK ACTIONS
   ======================================== */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--color-cream, #f9f7f3);
    border-radius: 16px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.quick-action:hover {
    background: var(--color-olive, #2D5F2D);
    transform: translateY(-2px);
}

.quick-action:hover .quick-action__icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.quick-action:hover .quick-action__text {
    color: #fff;
}

.quick-action__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 95, 45, 0.1);
    border-radius: 12px;
    color: var(--color-olive, #2D5F2D);
    transition: all 0.3s ease;
}

.quick-action__icon svg {
    width: 24px;
    height: 24px;
}

.quick-action__text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-olive-dark, #1E4620);
    transition: color 0.3s ease;
}

/* ========================================
   ADDRESS CARDS (For addresses page)
   ======================================== */
.address-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .address-grid {
        grid-template-columns: 1fr;
    }
}

.address-card {
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(45, 95, 45, 0.08);
    position: relative;
    transition: border-color 0.3s ease;
}

.address-card:hover {
    border-color: var(--color-olive, #2D5F2D);
}

.address-card--default {
    border-color: var(--color-gold, #d4a853);
}

.address-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.address-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-olive-dark, #1E4620);
    margin: 0;
}

.address-card__badge {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.625rem;
    background: var(--color-gold, #d4a853);
    color: var(--color-olive-dark, #1E4620);
    border-radius: 4px;
}

.address-card__body {
    margin-bottom: 1rem;
}

.address-card__body p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary, #666);
    line-height: 1.6;
    margin: 0;
}

.address-card__phone {
    display: block;
    margin-top: 0.5rem;
    font-weight: 500;
    color: var(--color-text-primary, #1a1a1a);
}

.address-card__actions {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(45, 95, 45, 0.08);
}

.address-card__btn {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-olive, #2D5F2D);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.address-card__btn:hover {
    color: var(--color-olive-dark, #1E4620);
    text-decoration: underline;
}

.address-card__btn--delete {
    color: #c53030;
}

.address-card__btn--delete:hover {
    color: #9b2c2c;
}

/* ========================================
   PROFILE FORM (For profile page)
   ======================================== */
.profile-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-olive-dark, #1E4620);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    color: var(--color-text-primary, #1a1a1a);
    background: #fff;
    border: 1px solid rgba(45, 95, 45, 0.15);
    border-radius: 10px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-olive, #2D5F2D);
    box-shadow: 0 0 0 3px rgba(45, 95, 45, 0.08);
}

.form-group input:disabled {
    background: var(--color-cream, #f9f7f3);
    cursor: not-allowed;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--primary {
    background: var(--color-olive, #2D5F2D);
    color: #fff;
}

.btn--primary:hover {
    background: var(--color-olive-dark, #1E4620);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--color-olive, #2D5F2D);
    border: 2px solid var(--color-olive, #2D5F2D);
}

.btn--outline:hover {
    background: var(--color-olive, #2D5F2D);
    color: #fff;
}

.btn--ghost {
    background: transparent;
    color: var(--color-olive, #2D5F2D);
    padding: 0.5rem 1rem;
}

.btn--ghost:hover {
    background: rgba(45, 95, 45, 0.08);
}

/* ========================================
   EMPTY STATE
   ======================================== */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-state__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: var(--color-cream, #f9f7f3);
    border-radius: 50%;
    color: var(--color-text-secondary, #666);
}

.empty-state__icon svg {
    width: 36px;
    height: 36px;
}

.empty-state__title {
    font-family: var(--font-heading, 'DM Sans', sans-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-olive-dark, #1E4620);
    margin: 0 0 0.5rem;
}

.empty-state__text {
    font-size: 0.9375rem;
    color: var(--color-text-secondary, #666);
    margin: 0 0 1.5rem;
}

/* ========================================
   MOBILE MENU (Account mobile nav)
   ======================================== */
@media (max-width: 992px) {
    .account-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .account-nav__link {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .account-nav__link svg {
        margin-bottom: 0.25rem;
    }
    
    .account-nav__divider {
        display: none;
    }
}

@media (max-width: 576px) {
    .account-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   ORDERS TABLE (For full orders page)
   ======================================== */
.orders-table-wrapper {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.orders-table th {
    text-align: left;
    padding: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-secondary, #666);
    background: rgba(45, 95, 45, 0.03);
    border-radius: 8px;
}

.orders-table td {
    padding: 1rem;
    font-size: 0.9375rem;
    color: var(--color-text-primary, #1a1a1a);
    border-bottom: 1px solid rgba(45, 95, 45, 0.05);
    vertical-align: middle;
}

.orders-table tr:last-child td {
    border-bottom: none;
}

.orders-table tr:hover td {
    background: rgba(45, 95, 45, 0.02);
}

.orders-table .order-id {
    font-weight: 600;
    color: var(--color-olive, #2D5F2D);
}

.orders-table .order-total {
    font-weight: 600;
    color: var(--color-olive-dark, #1E4620);
}

.orders-table .order-actions a {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-olive, #2D5F2D);
    text-decoration: none;
}

.orders-table .order-actions a:hover {
    text-decoration: underline;
}

/* ========================================
   ORDER DETAIL PAGE
   ======================================== */
.order-detail {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(45, 95, 45, 0.06);
}

.order-detail__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(45, 95, 45, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.order-detail__title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.order-detail__title h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-olive-dark, #1E4620);
    margin: 0;
}

.order-detail__title .order-date {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-secondary, #666);
    margin-top: 0.25rem;
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-cream, #f9f7f3);
    border-radius: 10px;
    color: var(--color-olive, #2D5F2D);
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--color-olive, #2D5F2D);
    color: #fff;
}

/* Order Tracking */
.order-tracking {
    background: var(--color-cream, #f9f7f3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.order-tracking h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-olive-dark, #1E4620);
    margin-bottom: 1.25rem;
}

.tracking-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.tracking-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.tracking-step:last-child {
    padding-bottom: 0;
}

.tracking-step::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 28px;
    bottom: 0;
    width: 2px;
    background: rgba(45, 95, 45, 0.15);
}

.tracking-step:last-child::before {
    display: none;
}

.tracking-step--completed::before {
    background: var(--color-olive, #2D5F2D);
}

.tracking-step__icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 95, 45, 0.1);
    border-radius: 50%;
    color: var(--color-olive, #2D5F2D);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.tracking-step--completed .tracking-step__icon {
    background: var(--color-olive, #2D5F2D);
    color: #fff;
}

.tracking-step__content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 2px;
}

.tracking-step__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-olive-dark, #1E4620);
}

.tracking-step__date {
    font-size: 0.8125rem;
    color: var(--color-text-secondary, #666);
}

.tracking-step__info {
    font-size: 0.8125rem;
    color: var(--color-olive, #2D5F2D);
    margin-top: 0.25rem;
}

/* Order Detail Grid */
.order-detail__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .order-detail__grid {
        grid-template-columns: 1fr;
    }
}

.order-detail__products h2,
.order-detail__summary h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-olive-dark, #1E4620);
    margin-bottom: 1rem;
}

/* Order Products List */
.order-products-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-cream, #f9f7f3);
    border-radius: 12px;
}

.order-product-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.order-product-item__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-product-item__info .product-name {
    font-weight: 600;
    color: var(--color-olive-dark, #1E4620);
    text-decoration: none;
    transition: color 0.3s ease;
}

.order-product-item__info .product-name:hover {
    color: var(--color-olive, #2D5F2D);
}

.order-product-item__info .product-variant,
.order-product-item__info .product-qty {
    font-size: 0.8125rem;
    color: var(--color-text-secondary, #666);
}

.order-product-item__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.order-product-item__price .unit-price {
    font-size: 0.8125rem;
    color: var(--color-text-secondary, #666);
}

.order-product-item__price .total-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-olive-dark, #1E4620);
}

/* Summary Box */
.summary-box {
    background: var(--color-cream, #f9f7f3);
    border-radius: 12px;
    padding: 1.25rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 0.9375rem;
    color: var(--color-text-primary, #1a1a1a);
}

.summary-row:not(:last-child) {
    border-bottom: 1px solid rgba(45, 95, 45, 0.08);
}

.summary-row .free {
    color: #22c55e;
    font-weight: 500;
}

.summary-row--total {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--color-olive-dark, #1E4620);
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(45, 95, 45, 0.15);
}

/* Info Grid */
.order-detail__info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .order-detail__info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .order-detail__info-grid {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: var(--color-cream, #f9f7f3);
    border-radius: 12px;
    padding: 1.25rem;
}

.info-card h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-olive-dark, #1E4620);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(45, 95, 45, 0.1);
}

.info-card p {
    font-size: 0.875rem;
    color: var(--color-text-secondary, #666);
    line-height: 1.6;
    margin: 0;
    margin-bottom: 0.25rem;
}

.info-card p.name {
    font-weight: 600;
    color: var(--color-olive-dark, #1E4620);
    margin-bottom: 0.5rem;
}

.info-card .status-paid {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Order Actions */
.order-detail__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(45, 95, 45, 0.1);
}

.order-detail__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 576px) {
    .order-detail {
        padding: 1.25rem;
    }
    
    .order-detail__header {
        flex-direction: column;
    }
    
    .order-product-item {
        flex-wrap: wrap;
    }
    
    .order-product-item img {
        width: 60px;
        height: 60px;
    }
    
    .order-detail__actions {
        flex-direction: column;
    }
    
    .order-detail__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
