﻿/* Robin User Auth Plugin Styles */

.robin-auth-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.robin-form {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.robin-form h2 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

.robin-form h3 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    border-bottom: 2px solid #ac1f1f;
    padding-bottom: 8px;
}

.robin-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

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

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

.robin-form-group.robin-third {
    flex: 1;
}

.robin-form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.robin-form-group input[type="text"],
.robin-form-group input[type="email"],
.robin-form-group input[type="password"],
.robin-form-group input[type="tel"],
.robin-form-group select,
.robin-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.robin-form-group input[type="text"]:focus,
.robin-form-group input[type="email"]:focus,
.robin-form-group input[type="password"]:focus,
.robin-form-group input[type="tel"]:focus,
.robin-form-group select:focus,
.robin-form-group textarea:focus {
    border-color: #ac1f1f;
    outline: none;
}

.robin-form-group input[type="checkbox"] {
    margin-right: 8px;
}

.robin-btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.robin-btn-primary {
    background-color: #ac1f1f;
    color: #ffffff;
}

.robin-btn-primary:hover {
    background-color: #ac1f1f;
    transform: translateY(-2px);
}

.robin-btn-secondary {
    background-color: #ac1f1f;
    color: #ffffff;
}

.robin-btn-secondary:hover {
    background-color: #ac1f1f;
    transform: translateY(-2px);
}

.robin-btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.robin-myaccount-container .robin-btn:not(.robin-btn-danger) {
    background-color: #ac1f1f;
    border: 1px solid #ac1f1f;
    color: #ffffff;
}

.robin-myaccount-container .robin-btn:not(.robin-btn-danger):hover {
    background-color: #ac1f1f;
    border-color: #ac1f1f;
    color: #ffffff;
    transform: translateY(-1px);
}

.robin-myaccount-container .robin-view-order {
    font-weight: 700;
    min-width: 84px;
}

.robin-form-links {
    text-align: center;
    margin-top: 20px;
}

.robin-form-links a {
    color: #ac1f1f;
    text-decoration: none;
    font-weight: 600;
}

.robin-form-links a:hover {
    text-decoration: underline;
}

.robin-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
}

.robin-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.robin-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.robin-woocommerce-fields {
    border-top: 2px solid #e1e1e1;
    padding-top: 25px;
    margin-top: 25px;
}

#robin-shipping-fields {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e1e1e1;
}

/* My Account Styles */
.robin-myaccount-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 20px 34px;
}

.robin-myaccount-container .robin-form,
.robin-myaccount-container .robin-form-group input[type="text"],
.robin-myaccount-container .robin-form-group input[type="email"],
.robin-myaccount-container .robin-form-group input[type="password"],
.robin-myaccount-container .robin-form-group input[type="tel"],
.robin-myaccount-container .robin-form-group select,
.robin-myaccount-container .robin-form-group textarea,
.robin-myaccount-container .robin-btn,
.robin-myaccount-container .robin-address-section,
.robin-myaccount-container .robin-address-box,
.robin-myaccount-container .robin-order-details,
.robin-myaccount-container .robin-order-items-table,
.robin-myaccount-container .robin-order-totals table,
.robin-myaccount-container .robin-payment-method,
.robin-myaccount-container .robin-tracking-box {
    border-radius: 0;
}

.robin-account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e7ecf2;
    border-radius: 0;
    padding: 28px 30px;
    margin-bottom: 22px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    gap: 24px;
}

.robin-account-header h2 {
    color: #172033;
    font-size: clamp(2rem, 2vw + 1.3rem, 2.8rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0;
}

.robin-account-nav {
    background: #ffffff;
    border: 1px solid #e7ecf2;
    border-radius: 0;
    margin-bottom: 22px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    position: relative;
    padding: 16px;
}

.robin-account-nav-toggle {
    display: none;
}

.robin-account-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.robin-account-nav li {
    margin: 0;
    min-width: 0;
}

.robin-account-nav a {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e9edf2;
    border-radius: 0;
    color: #1f2937;
    display: flex;
    justify-content: center;
    min-height: 72px;
    padding: 18px 22px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.robin-account-nav a:hover,
.robin-account-nav a.active {
    color: #ac1f1f;
    background: rgba(172, 31, 31, 0.05);
    border-color: rgba(172, 31, 31, 0.28);
    box-shadow: 0 10px 24px rgba(172, 31, 31, 0.09);
    transform: translateY(-1px);
}

.robin-account-content {
    background: #ffffff;
    border: 1px solid #e7ecf2;
    border-radius: 0;
    padding: 34px 30px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.robin-tab-content {
    display: none;
}

.robin-tab-content.active {
    display: block;
}

.robin-tab-content h3 {
    color: #172033;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 26px;
    border-bottom: 1px solid #e6ebf2;
    padding-bottom: 14px;
    letter-spacing: -0.02em;
}

.robin-status-guide {
    margin-top: 18px;
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid #e1e1e1;
    border-radius: 0;
    background: #ffffff;
}

.robin-status-guide p {
    margin: 0 0 12px 0;
    color: #444;
    line-height: 1.6;
}

.robin-status-guide p:last-child {
    margin-bottom: 0;
}

.robin-status-guide ul {
    margin: 0 0 14px 0;
    padding-left: 26px;
    list-style-position: outside;
}

.robin-status-guide li {
    margin: 0 0 12px 0;
    padding-left: 2px;
    color: #444;
    line-height: 1.6;
}

.robin-status-guide li::marker {
    color: #ac1f1f;
}

.robin-status-guide li:last-child {
    margin-bottom: 0;
}

.robin-status-guide .robin-status-label {
    color: #ac1f1f;
    font-weight: 700;
}

.robin-dashboard-stats {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 24px;
}

.robin-stat-box {
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 0;
    padding: 22px 20px;
    min-width: 0;
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.robin-stat-box h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.robin-stat-box p {
    color: #ac1f1f;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.robin-addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.robin-address-box {
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 0;
    padding: 20px;
}

.robin-address-box h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 8px;
}

.robin-address-box p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.robin-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 14px;
    margin-top: 22px;
    border: none;
    border-radius: 0;
    overflow: visible;
    background: transparent;
}

.robin-orders-table th,
.robin-orders-table td {
    padding: 18px 16px;
    text-align: left;
    border-bottom: none;
    vertical-align: middle;
}

.robin-orders-table th {
    background-color: transparent;
    font-weight: 700;
    color: #344256;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.12em;
    padding: 0 16px 6px;
}

.robin-orders-table tbody tr {
    transition: transform 0.18s ease;
}

.robin-orders-table tbody td {
    background: #ffffff;
    border-top: 1px solid #e7ecf2;
    border-bottom: 1px solid #e7ecf2;
}

.robin-orders-table tbody tr:nth-child(even) td {
    background: #fcf4f4;
}

.robin-orders-table tbody td:first-child {
    border-left: 1px solid #e7ecf2;
    border-radius: 0;
}

.robin-orders-table tbody td:last-child {
    border-right: 1px solid #e7ecf2;
    border-radius: 0;
}

.robin-orders-table tbody tr:hover {
    transform: translateY(-1px);
}

.robin-orders-table tbody tr:hover td {
    background: #f8eaea;
    border-color: #edd4d4;
}

.robin-order-status {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    min-height: 34px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
    background-color: #fdf2f2;
    color: #ac1f1f;
    letter-spacing: 0.02em;
    line-height: 1;
}

.robin-order-status.completed {
    background-color: #eef8f1;
    border-color: #cdebd6;
    color: #1e824c;
}

.robin-order-status.processing {
    background-color: #fdf2f2;
    border-color: #f3cece;
    color: #ac1f1f;
}

.robin-order-status.pending {
    background-color: #fff7e8;
    border-color: #f7ddb2;
    color: #9a6700;
}

.robin-order-status.cancelled {
    background-color: #f4f5f7;
    border-color: #dde2e7;
    color: #5f6b7a;
}

.robin-order-status.on-hold {
    background-color: #fff7e8;
    border-color: #f7ddb2;
    color: #9a6700;
}

.robin-order-status.ready-pickup,
.robin-order-status.ready\ 4\ pickup {
    background-color: #fff4ea;
    border-color: #f3d4b2;
    color: #b35d16;
}

.robin-order-status.in-office {
    background-color: #f3edff;
    border-color: #d8c7ff;
    color: #6a3fb3;
}

.robin-order-status.graded {
    background-color: #fff0f7;
    border-color: #f3c9dd;
    color: #b03a72;
}

.robin-order-status.slabbed {
    background-color: #fff7e8;
    border-color: #efd8aa;
    color: #a76c11;
}

.robin-orders-table__cell--actions,
.robin-orders-table th:last-child,
.robin-orders-table td:last-child {
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .robin-myaccount-container {
        padding: 14px 12px 28px;
    }

    .robin-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .robin-form-group.robin-half,
    .robin-form-group.robin-third {
        flex: none;
    }
    
    .robin-account-header {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 22px 18px;
        text-align: center;
    }

    .robin-account-header h2 {
        font-size: 22px;
        line-height: 1.2;
    }

    .robin-account-header .robin-btn {
        width: 100%;
    }
    
    .robin-account-nav ul {
        display: none;
        grid-template-columns: 1fr;
    }
    
    .robin-account-nav.is-open ul {
        display: grid;
    }

    .robin-account-nav-toggle {
        align-items: center;
        background: #ffffff;
        border: 0;
        color: #1f2937;
        cursor: pointer;
        display: flex;
        font-size: 16px;
        font-weight: 700;
        justify-content: space-between;
        padding: 18px 18px;
        width: 100%;
    }

    .robin-account-nav-toggle__label {
        overflow: hidden;
        text-align: left;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .robin-account-nav-toggle__chevron {
        border-bottom: 2px solid currentColor;
        border-right: 2px solid currentColor;
        display: inline-block;
        flex: 0 0 auto;
        height: 8px;
        margin-left: 12px;
        transform: rotate(45deg);
        transition: transform 0.18s ease;
        width: 8px;
    }

    .robin-account-nav.is-open .robin-account-nav-toggle__chevron {
        transform: rotate(225deg);
    }

    .robin-account-nav li {
        display: block;
    }
    
    .robin-account-nav a {
        align-items: center;
        background: #ffffff;
        border: 0;
        border-bottom: 1px solid #e7ecf2;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        justify-content: flex-start;
        min-height: 64px;
        padding: 16px 18px;
        transform: none;
        width: 100%;
    }

    .robin-account-nav a.active {
        background: rgba(172, 31, 31, 0.05);
    }

    .robin-account-nav li:last-child a {
        border-bottom: none;
    }
    
    .robin-dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .robin-addresses-grid {
        grid-template-columns: 1fr;
    }
    
    .robin-account-content {
        border-radius: 0;
        padding: 20px 16px;
    }

    .robin-tab-content h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .robin-status-guide {
        padding: 16px;
    }

    .robin-orders-table {
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        display: block;
        margin-top: 16px;
        overflow: visible;
    }

    .robin-orders-table thead {
        display: none;
    }

    .robin-orders-table tbody {
        display: block;
    }

    .robin-orders-table__row {
        background: #ffffff;
        border: 1px solid #e1e1e1;
        border-radius: 0;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 14px;
        padding: 16px 14px;
    }

    .robin-orders-table__cell {
        align-items: flex-start;
        background: #ffffff;
        border: 1px solid #e8edf3 !important;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
        justify-content: space-between;
        margin-bottom: 0;
        min-height: 86px;
        padding: 12px !important;
    }

    .robin-orders-table__cell::before {
        color: #6b7280;
        content: attr(data-label);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        line-height: 1.3;
        text-transform: uppercase;
    }

    .robin-orders-table__cell--number {
        background: #ffffff;
        border-color: #f0d7d7 !important;
    }

    .robin-orders-table__cell--number,
    .robin-orders-table__cell--date,
    .robin-orders-table__cell--status,
    .robin-orders-table__cell--total {
        grid-column: span 1;
    }

    .robin-orders-table__cell--number,
    .robin-orders-table__cell--total {
        color: #172033;
        font-size: 1.08rem;
        font-weight: 700;
    }

    .robin-orders-table__cell--date {
        font-weight: 600;
    }

    .robin-orders-table__cell--actions {
        background: transparent;
        border: none !important;
        box-shadow: none;
        display: block;
        grid-column: 1 / -1;
        margin-top: 2px;
        min-height: 0;
        padding: 0 !important;
    }

    .robin-orders-table__cell--actions::before {
        content: none;
    }

    .robin-myaccount-container .robin-view-order {
        display: block;
        min-width: 0;
        padding: 13px 16px;
        width: 100%;
    }

    .robin-order-status {
        font-size: 13px;
        line-height: 1.45;
    }

    .robin-order-details {
        border-radius: 16px;
        padding: 18px 16px;
    }

    .robin-back-to-orders {
        display: block;
        width: 100%;
    }

    .robin-order-header {
        margin-bottom: 18px;
        padding-bottom: 14px;
    }

    .robin-order-header h4 {
        font-size: 22px;
        line-height: 1.2;
    }

    .robin-order-header p {
        font-size: 14px;
        line-height: 1.6;
    }

    .robin-order-items-table {
        display: block;
        border: none;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .robin-order-items-table thead {
        display: none;
    }

    .robin-order-items-table tbody {
        display: block;
    }

    .robin-order-items-table__row {
        background: #ffffff;
        border: 1px solid #e1e1e1;
        border-radius: 0;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
        display: block;
        margin-bottom: 14px;
        padding: 14px;
    }

    .robin-order-items-table__cell {
        border: none !important;
        display: block;
        padding: 0 !important;
        white-space: normal !important;
    }

    .robin-order-items-table__cell::before {
        color: #6b7280;
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        line-height: 1.3;
        margin-bottom: 8px;
        text-transform: uppercase;
    }

    .robin-order-items-table__cell--total {
        align-items: center;
        border-top: 1px solid #e7e7e7 !important;
        display: grid;
        gap: 10px;
        grid-template-columns: minmax(72px, auto) minmax(0, 1fr);
        margin-top: 14px;
        padding-top: 12px !important;
    }

    .robin-order-items-table__cell--total::before {
        margin-bottom: 0;
    }

    .robin-item-meta {
        grid-template-columns: 1fr;
        row-gap: 4px;
    }

    .robin-item-meta-key {
        color: #6b7280;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .robin-item-meta-shipping {
        margin-top: 18px !important;
    }

    .robin-address-box,
    .robin-address-section {
        padding: 16px;
    }

    .wpgraded-frontend-store-modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: calc(100vh - 20%);
    }

    #wpgraded-frontend-store-modal .wpgraded-frontend-store-detail-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Loading Animation */
.robin-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ac1f1f;
    border-radius: 50%;
    animation: robin-spin 1s linear infinite;
}

@keyframes robin-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Validation */
.robin-form-group.error input {
    border-color: #ac1f1f;
}

.robin-form-group .error-message {
    color: #ac1f1f;
    font-size: 12px;
    margin-top: 5px;
}

/* Address Sections */
.robin-address-section {
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 0;
    padding: 20px;
    margin-bottom: 20px;
}

.robin-address-section h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #ac1f1f;
    padding-bottom: 8px;
}

/* Order Details */
.robin-order-details {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 0;
    padding: 28px;
    margin-top: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.robin-order-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
}

.robin-order-header h4 {
    color: #222;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.robin-order-header p {
    color: #555;
    margin: 0;
    font-size: 15px;
}

.robin-status-text {
    color: #ac1f1f;
    font-weight: 700;
}

.robin-order-items h4 {
    color: #2b2b2b;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 15px;
}

.robin-order-items-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 0;
    overflow: hidden;
    background: #ffffff;
}

.robin-order-items-table th,
.robin-order-items-table td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e7e7e7;
}

.robin-order-items-table th {
    background-color: transparent;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.robin-order-items-table tbody tr:hover {
    background-color: transparent;
}

.robin-order-items-table tbody tr:last-child td {
    border-bottom: none;
}

.robin-order-item-name {
    display: block;
    color: #222;
    font-size: 16px;
    margin-bottom: 6px;
    line-height: 1.25;
}

.robin-item-meta {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 0;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.3;
    color: #555;
    align-items: start;
}

.robin-item-meta + .robin-item-meta {
    margin-top: 6px;
}

.robin-item-meta-shipping {
    margin-top: 38px !important;
}

.robin-item-meta-shipping + .robin-item-meta {
    margin-top: 12px;
}

.robin-item-meta-key {
    color: #2d2d2d;
    font-weight: 600;
    white-space: nowrap;
}

.robin-item-meta-value {
    color: #5c5c5c;
    word-break: break-word;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.robin-item-meta-value p {
    margin: 0 !important;
}

.robin-item-meta-value > *:first-child {
    margin-top: 0 !important;
}

.robin-item-meta-value > *:last-child {
    margin-bottom: 0 !important;
}

.robin-item-meta-value br + br {
    display: none;
}

.robin-partner-store-card-wrap {
    margin-top: 4px;
}

.robin-item-meta-partner-card {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 10px;
}

.robin-item-meta-shipping .robin-partner-store-card-wrap {
    margin-top: 0;
}

.robin-partner-store-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background: #ffffff !important;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
    font: inherit;
    text-align: left;
    color: inherit !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none !important;
}

.robin-partner-store-card:hover {
    background: #ffffff !important;
    border-color: #d4d4d4 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
    color: inherit !important;
}

.robin-partner-store-card:focus,
.robin-partner-store-card:active {
    background: #ffffff !important;
    border-color: #d4d4d4 !important;
    color: inherit !important;
    box-shadow: 0 0 0 2px rgba(172, 31, 31, 0.15) !important;
    outline: none;
}

.robin-partner-store-card-static {
    cursor: default;
}

.robin-partner-store-logo {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid #ececec;
    object-fit: cover;
    background: #ffffff;
    flex-shrink: 0;
}

.robin-partner-store-logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ac1f1f;
    background: #fafafa;
}

.robin-partner-store-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.robin-partner-store-label {
    color: #6a6a6a;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.robin-partner-store-name {
    color: #222;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

.robin-partner-store-cta {
    margin-left: 6px;
    color: #ac1f1f;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

body.robin-modal-open {
    overflow: hidden;
}

.wpgraded-frontend-store-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-overflow-scrolling: touch;
    transition: none !important;
    overflow-y: auto;
}

.wpgraded-frontend-store-modal-content {
    background-color: #fefefe;
    margin: 40px auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    min-height: 200px;
    transition: none !important;
    overflow-y: auto;
}

.wpgraded-frontend-store-modal-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
    transition: color 0.2s;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.wpgraded-frontend-store-modal-close:hover,
.wpgraded-frontend-store-modal-close:focus {
    color: #000;
    background: transparent !important;
    box-shadow: none !important;
}

.robin-modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #444;
    min-height: 180px;
}

.robin-modal-error {
    text-align: center;
    color: #ac1f1f;
    font-weight: 600;
    padding: 36px 10px;
}

#wpgraded-frontend-store-modal .wpgraded-frontend-store-details {
    padding: 2rem;
}

#wpgraded-frontend-store-modal .wpgraded-frontend-store-details-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

#wpgraded-frontend-store-modal .wpgraded-frontend-store-details-logo img {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
}

#wpgraded-frontend-store-modal .wpgraded-frontend-store-details h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem;
}

#wpgraded-frontend-store-modal .wpgraded-frontend-store-details-info {
    max-width: 500px;
    margin: 0 auto;
}

#wpgraded-frontend-store-modal .wpgraded-frontend-store-detail-item {
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    align-items: start;
}

#wpgraded-frontend-store-modal .wpgraded-frontend-store-detail-item strong {
    color: #555;
    font-weight: 600;
}

#wpgraded-frontend-store-modal .wpgraded-frontend-store-detail-item a {
    color: #ac1f1f;
    text-decoration: none;
}

#wpgraded-frontend-store-modal .wpgraded-frontend-store-detail-item a:hover {
    text-decoration: underline;
}

#wpgraded-frontend-store-modal .wpgraded-store-featured-cards h3 {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
}

.robin-order-totals {
    background: #ffffff;
    border: 1px solid #f1d0d0;
    border-radius: 0;
    padding: 18px;
    margin-top: 20px;
}

.robin-order-totals table {
    width: 100%;
    border-collapse: collapse;
}

.robin-order-totals th,
.robin-order-totals td {
    padding: 8px 15px;
    text-align: right;
    border: none;
}

.robin-order-totals th {
    font-weight: 600;
    color: #444;
}

.robin-order-totals .robin-order-total {
    border-top: 2px solid #ac1f1f;
    font-weight: 700;
    font-size: 18px;
}

.robin-order-totals .robin-order-total th,
.robin-order-totals .robin-order-total td {
    color: #ac1f1f;
    padding-top: 15px;
}

.robin-order-addresses {
    margin-top: 25px;
}

.robin-order-addresses .robin-address-box {
    background: #ffffff;
    border: 1px solid #f1d0d0;
}

.robin-order-addresses .robin-address-box h4 {
    color: #4a0000;
    border-bottom-color: #f1d0d0;
}

.robin-payment-method {
    background: #ffffff;
    border: 1px solid #f1d0d0;
    border-radius: 0;
    padding: 20px;
    margin-top: 20px;
}

.robin-payment-method h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.robin-payment-method p {
    color: #555;
    margin: 0;
}

/* Tracking Information */
.robin-tracking-info {
    background: #fff4f4;
    border: 1px solid #f0c7c7;
    border-radius: 0;
    padding: 20px;
    margin: 20px 0;
}

.robin-tracking-info h4 {
    color: #ac1f1f;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.robin-tracking-box {
    background: #ffffff;
    border: 1px solid #f0d7d7;
    border-radius: 0;
    padding: 15px;
    font-size: 16px;
    color: #333;
    font-family: inherit;
}

.robin-tracking-box strong {
    color: #ac1f1f;
}

/* Draft Order Actions */
.robin-draft-actions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #ffc107;
    background-color: #fff8e1;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
}

.robin-draft-actions .robin-btn {
    margin: 0 10px;
}

.robin-btn-danger {
    background-color: #dc3545;
    color: #ffffff;
}

.robin-btn-danger:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

.robin-order-status.checkout-draft {
    background-color: transparent;
    color: #ac1f1f;
}

