/* PAGE WRAPPER */
.cma-page {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* GRID LAYOUT */
.cma-layout {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    padding: 40px 20px;
}

/* LEFT SIDEBAR */
.cma-sidebar {
    border-right: 1px solid #eee;
}

.cma-sidebar-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.cma-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cma-menu li {
    margin-bottom: 16px;
}

.cma-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #222;
    font-size: 14px;
}

.cma-menu li.active a {
    color: #e63946;
    font-weight: 600;
}

/* RIGHT CONTENT */
.cma-content {
    width: 100%;
}

.cma-page-title {
    font-size: 28px;
    margin-bottom: 25px;
}

.cma-content-body {
    background: #fafafa;
    padding: 30px;
    min-height: 200px;
}

/* RESPONSIVE (later adjustable) */
@media (max-width: 768px) {
    .cma-layout {
        grid-template-columns: 1fr;
    }

    .cma-sidebar {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }
}
/* ORDER CARD */
.cma-order-card {
    background: #fafafa;
    padding: 30px;
    margin-bottom: 40px;
}

/* ORDER HEADER */
.cma-order-header {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    font-size: 15px;
}

/* PRODUCTS GRID */
.cma-order-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.cma-order-item img {
    /* Order list thumbnails: fixed width, keep aspect ratio */
    width: 120px;
    max-width: 120px;
    height: auto;
    object-fit: contain;
}

.cma-item-info {
    margin-top: 10px;
    font-size: 14px;
}

.cma-item-meta {
    font-size: 13px;
    color: #555;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .cma-order-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cma-order-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MAKE LEFT SIDEBAR STICKY */



/* FIX STICKY BREAKING PARENT */
.cma-layout,
.cma-page,
.cma-content {
    overflow: visible !important;
}
.cma-content {
    max-width: 820px;
}


/* STICKY LEFT SIDEBAR — FINAL */
.cma-sidebar {
    position: sticky;
    top: 200px; /* must be > header height */
    align-self: flex-start;
    height: fit-content;
     background: #fff;
    border: 1px solid #eee;
    padding: 20px;
}

/* =========================
   ORDERS — FINAL CLEAN VERSION
   ========================= */

/* Order wrapper */
/* =========================
   ORDERS – CLEAN FINAL VERSION
   ========================= */

/* Order wrapper */
.cma-order {
    padding: 22px 0;
    border-bottom: 1px solid #eaeaea;
}

/* Order header */
.cma-order-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    margin-bottom: 6px;
}

.cma-order-status {
    color: #1aa36f;
}

/* Item count */
.cma-order-count {
    font-size: 14px;
    margin-bottom: 18px;
}

/* Grid (items per order) */
.cma-order-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Item card — IMAGE LEFT, TEXT RIGHT */
.cma-order-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Image */
.cma-order-item img {
    /* Ensure list thumbnails keep aspect ratio */
    width: 120px;
    max-width: 120px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    background: #f3f3f3;
}

/* Text block */
.cma-item-info {
    flex: 1;
    font-size: 13px;
    line-height: 1.4;
}

/* Brand */
.cma-item-brand {
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 2px;
}

/* Name */
.cma-item-name {
    margin-bottom: 4px;
}

/* SKU */
.cma-item-sku {
    font-size: 12px;
    color: #777;
    margin-bottom: 4px;
}

/* Price */
.cma-item-meta {
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .cma-order-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cma-order-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cma-content {
    max-width: 100%;
}

/* =========================
   TRACKING (Frontend)
   ========================= */

.cma-order-tracking {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 14px;
}

.cma-order-tracking--view {
    margin: 10px 0 22px;
}

.cma-track-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    background: #f2f2f2;
    color: #222;
}

.cma-track-badge--stage {
    background: #eef2ff;
    color: #2639b3;
}

.cma-track-badge--item {
    background: #ecfdf5;
    color: #0f766e;
}

.cma-stage-cancelled,
.cma-stage-refunded {
    background: #fff1f2;
    color: #be123c;
}

.cma-track-link {
    font-size: 13px;
    text-decoration: underline;
}

.cma-item-tracking {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cma-item-tracking-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cma-track-vendor {
    font-size: 12px;
    color: #666;
}

.cma-track-steps {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Item-level tracking as vertical timeline (Order detail page) */
.cma-track-steps--item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-wrap: nowrap;
    margin-top: 10px;
    padding-left: 18px;
}

@keyframes cma-track-pulse-shadow {
    0% { box-shadow: 0 0 0 0 rgba(19, 138, 54, 0.35); }
    70% { box-shadow: 0 0 0 10px rgba(19, 138, 54, 0); }
    100% { box-shadow: 0 0 0 10px rgba(19, 138, 54, 0); }
}

.cma-track-steps--item .cma-track-step-card {
    position: relative;
    min-width: 0;
    width: 100%;
    padding: 0 0 10px;
    border-radius: 0;
    border: none;
    background: transparent;
}

/* Left dot */
.cma-track-steps--item .cma-track-step-card:before {
    content: '';
    position: absolute;
    left: -18px;
    top: 2px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #cfd8dc;
}

/* Connector line (except last) */
.cma-track-steps--item .cma-track-step-card:after {
    content: '';
    position: absolute;
    left: -13px;
    top: 14px;
    bottom: -10px;
    width: 2px;
    background: #cfd8dc;
    border-radius: 999px;
}

.cma-track-steps--item .cma-track-step-card:last-child:after {
    display: none;
}

/* Done state */
.cma-track-steps--item .cma-track-step-card.is-done:before {
    background: #138a36;
}

.cma-track-steps--item .cma-track-step-card.is-done:after {
    background: rgba(19, 138, 54, 0.35);
}

/* Active state (live) */
.cma-track-steps--item .cma-track-step-card.is-active:before {
    background: #138a36;
    animation: cma-track-pulse-shadow 1.35s ease-out infinite;
}

.cma-track-steps--item .cma-track-step-card.is-active {
    border-color: rgba(19, 138, 54, 0.25);
    background: transparent;
}

.cma-track-steps--item .cma-track-step-title {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.cma-track-steps--item .cma-track-time {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.cma-item-track-updated {
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
}

.cma-track-step-card {
    min-width: 160px;
    padding: 10px 12px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
}

.cma-track-step-title {
    font-size: 12px;
    font-weight: 700;
    color: #444;
    margin-bottom: 4px;
}

.cma-track-time {
    font-size: 12px;
    color: #777;
}

.cma-track-step-card.is-done {
    border-color: #bfe8d8;
    background: #f1fff8;
}

.cma-track-step-card.is-active {
    border-color: #b8c0ff;
    background: #f2f4ff;
}

.cma-track-steps--order {
    margin: 0 0 28px;
}

/* Compact multi-stage steps in My Orders list */
.cma-track-steps-compact {
    list-style: none;
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 8px 0 12px;
    flex-wrap: wrap;
}
.cma-track-steps-compact .cma-track-step {
    min-width: 140px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(17,24,39,0.05);
}
.cma-track-steps-compact .cma-track-step.is-done {
    background: #ecfdf5;
    border-color: #d1fae5;
    color: #065f46;
}
.cma-track-steps-compact .cma-track-step.is-active {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #1d4ed8;
}
.cma-track-step-label { font-weight:700; }
.cma-track-step-time { font-size:12px; color:#6b7280; margin-top:4px; }
/* Image modal removed: popup no longer used */

/* Screenshot-style summary bar */
.cma-track-summary {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 18px 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    box-shadow: 0 6px 16px rgba(17,24,39,0.06);
}

.cma-track-summary--compact {
    border: none;
    border-radius: 0;
    padding: 12px 0 2px;
    background: transparent;
}

.cma-track-summary-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.cma-track-summary-title {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
}

.cma-track-summary--compact .cma-track-summary-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 0;
}

.cma-track-summary-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #111827;
    position: relative;
    flex: 0 0 auto;
    box-shadow: 0 4px 10px rgba(17,24,39,0.18);
}

.cma-track-summary-icon:before {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.cma-track-summary--compact .cma-track-summary-icon {
    display: none;
}

.cma-track-bar {
    display: grid;
    grid-template-columns: 16px 1fr 16px;
    align-items: center;
    column-gap: 12px;
    margin: 10px 0 16px;
}

.cma-track-dot {
    width: 16px;
    height: 16px;
    border-radius: 6px;
    background: #e5e7eb;
    position: relative;
}

.cma-track-dot.is-done {
    background: #10b981;
}

.cma-track-dot.is-done:before {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.cma-track-dot.is-active {
    background: #fff;
    border: 2px solid #111827;
    color: #111827;
}

@keyframes cma-track-pulse {
    0% { transform: scale(0.85); opacity: 0.65; }
    70% { transform: scale(1.7); opacity: 0; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* Live indicator: inner dot + pulsing ring */
.cma-track-dot.is-active:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    background: currentColor;
}

.cma-track-dot.is-active:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    border: 1px solid currentColor;
    opacity: 0;
    animation: cma-track-pulse 1.35s ease-out infinite;
}

.cma-track-line {
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    position: relative;
    overflow: hidden;
}

.cma-track-line-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, #111827 0%, #4b5563 100%);
}

.cma-track-bar-meta {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.cma-track-bar-col {
    flex: 1;
    min-width: 0;
}

.cma-track-bar-col.is-right {
    text-align: right;
}

.cma-track-bar-label {
    font-size: 13px;
    color: #374151;
    font-weight: 700;
}

.cma-track-bar-time {
    margin-top: 4px;
    font-size: 13px;
    color: #6b7280;
}

.cma-track-summary--compact .cma-track-bar-label {
    font-size: 13px;
}

.cma-track-summary--compact .cma-track-bar-time {
    font-size: 13px;
    margin-top: 2px;
}

.cma-track-actions {
    margin-top: 10px;
}

/* Invoice buttons (View Order sidebar) */
.cma-invoice-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin: 0 0 14px;
}

.cma-invoice-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 12px;
    border-radius:12px;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    border:1px solid rgba(17,24,39,0.14);
    background:#fff;
    color:#111;
}

.cma-invoice-btn--primary{
    background:#111827;
    border-color:#111827;
    color:#fff;
}

.cma-invoice-btn--secondary{
    background:#f3f4f6;
    border-color:#e5e7eb;
    color:#111;
}

.cma-invoice-btn:hover{
    filter:brightness(0.98);
}

/* Tone variants */
.cma-track-summary.is-cancelled .cma-track-summary-title,
.cma-track-summary.is-refunded .cma-track-summary-title {
    color: #be123c;
}

.cma-track-summary.is-cancelled .cma-track-summary-icon,
.cma-track-summary.is-refunded .cma-track-summary-icon,
.cma-track-summary.is-cancelled .cma-track-dot.is-done,
.cma-track-summary.is-refunded .cma-track-dot.is-done,
.cma-track-summary.is-cancelled .cma-track-line-fill,
.cma-track-summary.is-refunded .cma-track-line-fill {
    background: #be123c;
}

.cma-track-summary.is-cancelled .cma-track-dot.is-active,
.cma-track-summary.is-refunded .cma-track-dot.is-active {
    border-color: #be123c;
    color: #be123c;
}
/* ===== FINAL FIX FOR ITEM ALIGNMENT ===== */

/* Make grid columns flexible instead of cramped */
.cma-order-items {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Ensure item uses full column width */
.cma-order-item {
    width: 100%;
}

/* Let text breathe horizontally */
.cma-item-info {
    min-width: 0;          /* IMPORTANT for flex wrapping */
}

/* Prevent awkward word wrapping */
.cma-item-name,
.cma-item-meta {
    word-break: normal;
    white-space: normal;
}

/* VIEW ORDER */
.cma-view-order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cma-view-order-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.cma-view-order-item img {
    /* View-order large thumbnail: keep aspect ratio */
    width: auto;
    max-width: 120px;
    height: auto;
    object-fit: contain;
}

.cma-view-order-item .cma-item-info {
    font-size: 14px;
}
.cma-address-view {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 40px;
    background:#fafafa;
    padding:30px;
}

.cma-address-box address {
    font-style: normal;
    line-height:1.6;
}

.cma-edit-btn {
    display:inline-block;
    margin-top:20px;
}

.cma-address-form {
    max-width:640px;
}

.cma-address-grid {
    display:grid;
    grid-template-columns: repeat(2,1fr);
    gap:20px;
}

.form-row-wide {
    grid-column: span 2;
}

.cma-btn-primary {
    background:#e63946;
    color:#fff;
    padding:10px 18px;
    border:none;
    margin-top:20px;
}

/* CHECKBOX ROW */
.cma-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 24px;
    font-size: 14px;
    cursor: pointer;
}

/* Checkbox itself */
.cma-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

/* Label text */
.cma-checkbox span {
    line-height: 1.4;
    user-select: none;
}


/* EDIT LINK */
.cma-edit-link {
    font-size: 14px;
    text-decoration: none;
    color: #000;
}

.cma-edit-link:hover {
    text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
    .cma-address-grid {
        grid-template-columns: 1fr;
    }
}
/* VIEW ORDER LAYOUT */
.cma-view-order-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

/* LEFT */
.cma-view-order-left {
    width: 100%;
}

/* ITEM */
.cma-view-order-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.cma-view-order-item img {
    width: 120px;
    height: auto;
}

/* RIGHT SUMMARY */
.cma-view-order-summary {
    background: #fafafa;
    padding: 25px;
    border: 1px solid #eee;
    height: fit-content;
}

.cma-view-order-summary h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.cma-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cma-summary-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.cma-summary-total {
    font-weight: 600;
    border-top: 1px solid #ddd;
    padding-top: 12px;
    margin-top: 16px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .cma-view-order-layout {
        grid-template-columns: 1fr;
    }
}

/* ADDRESS BLOCKS */
.cma-view-order-addresses {
    margin-top: 30px;
    display: grid;
    gap: 20px;
}

.cma-address-box {
    background: #fafafa;
    padding: 20px;
    border: 1px solid #eee;
}

.cma-address-box h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.cma-address-box p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}
/* =========================
   ADDRESS EDIT UI (MATCH REF)
   ========================= */

/* Card wrapper */
.cma-address-card {
    background: #fafafa;
    padding: 32px;
    max-width: 640px;
}

/* Grid layout */
.cma-address-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
}

/* Full-width fields */
.cma-address-grid .form-row-wide {
    grid-column: span 2;
}

/* Field spacing */
.cma-address-form .form-row {
    margin-bottom: 18px;
}

/* Labels */
.cma-address-form label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

/* Inputs */
.cma-address-form input,
.cma-address-form select {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
}

/* Checkbox row */
.cma-address-form .woocommerce-form__label-for-checkbox {
    grid-column: span 2;
    margin: 10px 0 20px;
}

/* Actions */
.cma-address-actions {
    margin-top: 20px;
}

/* Save button */
.cma-btn-primary {
    background: #e63946;
    color: #fff;
    padding: 10px 20px;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
    .cma-address-grid {
        grid-template-columns: 1fr;
    }

    .cma-address-grid .form-row-wide {
        grid-column: span 1;
    }
}
.cma-address-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-row-wide {
    grid-column: span 2;
}


/* SIZE PROFILE CARD */
.msm-size-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 28px;
}

/* Title */
.msm-size-title {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Grid */
.msm-size-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 28px;
}

    /* Size Profile edit grid */
    .msm-size-edit-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
        margin-top: 10px;
    }

    .msm-edit-item {
        background: #fafafa;
        border: 1px solid #ececec;
        border-radius: 12px;
        padding: 10px;
    }

    .msm-edit-label {
        display: block;
        font-size: 12px;
        font-weight: 700;
        color: #111827;
        margin: 0 0 6px;
    }

    .msm-edit-item select {
        width: 100%;
        height: 40px;
        border-radius: 10px;
        border: 1px solid #e5e7eb;
        background: #fff;
        padding: 0 10px;
        font-size: 13px;
    }

    .msm-edit-actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 14px;
    }

    @media (max-width: 1100px) {
        .msm-size-edit-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    @media (max-width: 860px) {
        .msm-size-edit-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 520px) {
        .msm-size-edit-grid {
            grid-template-columns: 1fr;
        }
    }

/* Item */
.msm-size-item {
    font-size: 13px;
    line-height: 1.4;
}

/* Label */
.msm-size-label {
    color: #666;
    display: block;
}

/* Value */
.msm-size-value {
    font-weight: 500;
    color: #000;
}

/* Edit button */
.msm-edit-size {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .msm-size-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .msm-size-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Tabs */
.cma-tabs {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.cma-tab {
    padding: 10px 16px;
    text-decoration: none;
    color: #666;
    border-bottom: 2px solid transparent;
    font-weight: 500;
}

.cma-tab.active {
    color: #e53935;
    border-bottom-color: #e53935;
}

/* Promo cards */
.cma-promo-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.cma-promo-card {
    border: 1px solid #eee;
    padding: 16px;
    border-radius: 8px;
    background: #fff;
}

.cma-promo-code {
    font-size: 20px;
    font-weight: bold;
    color: #e53935;
    margin-bottom: 6px;
}

.cma-promo-desc {
    color: #444;
    margin-bottom: 8px;
}

.cma-promo-discount {
    font-weight: 600;
    margin-bottom: 6px;
}

.cma-promo-validity {
    font-size: 13px;
    color: #777;
}

.cma-empty-box {
    border: 1px dashed #ddd;
    padding: 30px;
    text-align: center;
    color: #777;
    background: #fafafa;
}

.cma-giftcard-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.cma-giftcard-card {
    border: 1px solid #eee;
    padding: 16px;
    border-radius: 8px;
    background: #fff;
}

.cma-giftcard-code {
        color: #e53935;

    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.cma-giftcard-name {
    color: #444;
    margin-bottom: 6px;
}

.cma-giftcard-balance {
    font-weight: 600;
    margin-bottom: 6px;
}

.cma-giftcard-status,
.cma-giftcard-validity {
    font-size: 13px;
    color: #777;
}

.ccart-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.ccart-tab {
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    padding-bottom: 6px;
}

.ccart-tab.active {
    border-bottom: 2px solid #000;
}

.ccart-tab-content {
    display: none;
}

.ccart-tab-content.active {
    display: block;
}
.ccart-tab.active {
    font-weight: 600;
    border-bottom: 2px solid #000;
}

